/* packselect.css — question pack select (.ps-) */
.ps-root { overflow: hidden; }
.ps-root .ui-gold { left: 10px; top: 64px; }
.ps-hint { position: absolute; left: 110px; right: 12px; top: 62px; height: 44px; display: flex; align-items: center; font-size: 15px; line-height: 1.25; font-weight: 800; -webkit-text-stroke: 3px var(--navy); text-shadow: 0 1px 0 var(--navy); word-break: auto-phrase; line-break: strict; }
.ps-list { position: absolute; left: 8px; right: 8px; top: 114px; bottom: 98px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: 4px 4px 34px; -webkit-mask-image: linear-gradient(#000 calc(100% - 30px), transparent); mask-image: linear-gradient(#000 calc(100% - 30px), transparent); }
.ps-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
.ps-row { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 76px; margin: 0 0 10px; padding: 6px 10px 6px 8px; cursor: pointer;
  border: 4px solid var(--navy); border-radius: 20px; background: var(--cream); box-shadow: 0 4px 0 rgba(29,43,107,.5);
  animation: psIn .3s cubic-bezier(.3,1.5,.5,1) backwards; animation-delay: var(--d, 0s); transition: background-color .15s, box-shadow .15s; }
@keyframes psIn { 0% { transform: translateY(40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.ps-row.on { background: #fff3b8; box-shadow: 0 0 0 3px var(--yellow), 0 0 14px 4px rgba(255,210,63,.9), 0 4px 0 3px var(--navy); }
.ps-row.bad { background: #ffb3d6; }
.ps-row.lock { background: #d7d3cc; }
.ps-row.lock .ps-icon { filter: grayscale(1) opacity(.55); }
.ps-row.focus { outline: 4px solid var(--yellow); outline-offset: 2px; }
.ps-icon { flex: none; width: 64px; height: 64px; object-fit: contain; pointer-events: none; }
.ps-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.ps-name { font-size: 20px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy); font-weight: 900; -webkit-text-stroke: 0; text-shadow: none; }
.ps-sub { font-size: 14px; line-height: 18px; font-weight: 800; color: var(--navy); }
.ps-side { flex: none; width: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; pointer-events: none; }
.ps-check { position: relative; width: 44px; height: 44px; border: 4px solid var(--navy); border-radius: 50%; background: #fff; box-shadow: inset 0 3px 0 rgba(29,43,107,.15); }
.ps-row.on .ps-check { background: var(--magenta); }
.ps-row.on .ps-check::after { content: ""; position: absolute; left: 11px; top: 5px; width: 9px; height: 17px; border: solid #fff; border-width: 0 5px 5px 0; transform: rotate(45deg); }
/* prices and names: plain navy on the cream plate, no outline, so the strokes stay open */
.ps-price { display: flex; align-items: center; gap: 4px; font-size: 18px; line-height: 22px; font-weight: 800; color: var(--navy); -webkit-text-stroke: 0; text-shadow: none; letter-spacing: 0.5px; font-variant-numeric: tabular-nums; }
.ps-price img { width: 22px; height: 22px; object-fit: contain; }
.ps-lockicon { width: 28px; height: 28px; object-fit: contain; }
.ps-buy { font-size: 14px; line-height: 18px; font-weight: 800; color: var(--magenta); white-space: nowrap; }
.ps-more { margin: 8px 0 8px; text-align: center; font-size: 18px; -webkit-text-stroke: 3px var(--navy); text-shadow: 0 1px 0 var(--navy); }
.ps-row.tog { min-height: 60px; }
.ps-row.tog .ps-icon { width: 44px; height: 44px; }
.ps-start { position: absolute; left: 0; right: 0; margin: 0 auto; width: 260px; top: 620px; height: 64px; font-size: 26px; z-index: 3; }
