/* Interactive pieces (js/interactive.js) */
.ix { margin-block: 8px; }
.ix-head { margin-bottom: 16px; }
.ix-head h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em; margin-top: 6px; }
.ix-kicker { display: block; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c, var(--accent-text)); margin-bottom: 4px; }
.ix-hint { font-size: 0.88rem; color: var(--ink-3); margin-top: 6px; }
.ix-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); background: var(--surface); }
.ix-chip:hover { border-color: var(--ink); }
.ix-chip[aria-selected="true"], .ix-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ix-chip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong); }
.ix-chip.is-right { background: var(--ok); color: #fff; border-color: var(--ok); }
.ix-chip.is-wrong { background: #e5484d; color: #fff; border-color: #e5484d; animation: ixShake 0.35s; }
.ix-chip.is-dim { opacity: 0.45; }
@keyframes ixShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.ix-round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: var(--surface); transition: background 0.2s, color 0.2s; flex: none; }
.ix-round:hover { background: var(--ink); color: var(--bg); }
.ix-tag { position: absolute; top: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 500; background: rgba(0, 0, 0, 0.6); color: #fff; pointer-events: none; }
.ix-tag--l { left: 12px; } .ix-tag--r { right: 12px; }

/* Compare */
.ix-compare { position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); aspect-ratio: 4 / 3; touch-action: pan-y; }
.ix-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--bg-2); user-select: none; -webkit-user-drag: none; }
.ix-compare__b { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ix-compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); z-index: 2; pointer-events: none; }
.ix-compare__line::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.ix-compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 4; }

/* Steps */
.ix-steps__stage { position: relative; aspect-ratio: var(--ratio, 16 / 10); border-radius: 18px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.ix-steps__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.02); transition: opacity 0.6s var(--ease), transform 1.2s var(--ease-out); }
.ix-steps__stage img.is-on { opacity: 1; transform: none; }
.ix-steps__bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ix-steps__dots { display: flex; gap: 6px; margin-left: 8px; flex-wrap: wrap; }
.ix-steps__dots button { width: 22px; height: 6px; border-radius: 4px; background: var(--line-strong); transition: background 0.3s, width 0.3s var(--ease); }
.ix-steps__dots button.is-on { background: var(--c, var(--ink)); width: 36px; }
.ix-steps__count { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-3); }
.ix-steps__cap { margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; min-height: 1.4em; }

/* Picker */
.ix-picker__stage { position: relative; margin-top: 14px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); transition: background 0.6s var(--ease); }
.ix-picker__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out); }
.ix-picker__stage img.is-on { opacity: 1; transform: none; }
.ix-picker__note { margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; min-height: 1.4em; }

/* Spin */
.ix-spin { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #f2f2f0; box-shadow: 0 0 0 1px var(--line); cursor: grab; touch-action: pan-y; user-select: none; }
.ix-spin.is-drag { cursor: grabbing; }
.ix-spin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.ix-spin img.is-on { opacity: 1; }
.ix-spin__hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 1rem; animation: ixNudge 1.8s ease-in-out infinite; }
@keyframes ixNudge { 50% { transform: translateX(calc(-50% + 10px)); } }

/* Flip */
.ix-flips { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .ix-flips { grid-template-columns: 1fr 1fr; } }
.ix-flip { position: relative; aspect-ratio: 3 / 4; perspective: 1200px; border-radius: 16px; }
.ix-flip__face { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 0.7s var(--ease-out); background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -25px rgba(0, 0, 0, 0.4); }
.ix-flip__face img { width: 100%; height: 100%; object-fit: cover; }
.ix-flip__back { transform: rotateY(180deg); background: var(--ink); color: var(--bg); }
.ix-flip[aria-pressed="true"] .ix-flip__front { transform: rotateY(-180deg); }
.ix-flip[aria-pressed="true"] .ix-flip__back { transform: rotateY(0); }
.ix-flip:hover .ix-flip__front { transform: rotateY(-8deg); }
.ix-flip[aria-pressed="true"]:hover .ix-flip__front { transform: rotateY(-180deg); }
.ix-flip__text { position: absolute; inset: auto 0 0 0; padding: 16px; text-align: left; font-size: 0.9rem; line-height: 1.4; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); color: #fff; }
.ix-flip__back:not(:has(img)) .ix-flip__text { color: var(--bg); inset: 0; display: grid; align-content: center; background: none; font-size: 1rem; padding: 22px; }
.ix-flip__text b { display: block; font-size: 1.05rem; margin-bottom: 6px; }

/* Candle */
.ix-candle { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0b0806; }
.ix-candle img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.28) saturate(0.6); transition: filter 1.2s var(--ease); }
.ix-candle[data-lit="true"] img { filter: brightness(1.05) saturate(1.1); }
.ix-candle__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 55%, rgba(255, 170, 70, 0.55), transparent 55%); mix-blend-mode: screen; transition: opacity 1s; }
.ix-candle[data-lit="true"] .ix-candle__glow { opacity: 1; animation: ixFlicker 2.4s infinite; }
@keyframes ixFlicker { 0%, 100% { opacity: 0.95; } 20% { opacity: 0.75; } 40% { opacity: 1; } 60% { opacity: 0.82; } 80% { opacity: 0.97; } }
.ix-candle__btn { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.92); color: #111; border: 0; }

/* Fanta */
.ix-fanta { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: linear-gradient(135deg, #ff8a00, #ff5a1f 60%, #2b1a6b); color: #fff; }
.ix-fanta__phone { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #111; box-shadow: 0 0 0 6px #111, 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.ix-fanta__poster { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transform: scale(1.05); transition: opacity 0.6s, transform 1s var(--ease-out); }
.ix-fanta__poster.is-in { opacity: 1; transform: none; }
.ix-fanta__slot { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); z-index: 2; padding: 8px 16px; border-radius: 999px; background: #ff7a00; color: #1f0f00; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); text-transform: uppercase; font-size: 0.9rem; }
.ix-fanta__slot.is-pop { animation: ixPop 0.18s; }
@keyframes ixPop { 50% { transform: translateX(-50%) scale(1.12); } }
.ix-fanta__line { font-size: 1.05rem; margin-bottom: 18px; max-width: 40ch; }
.ix-fanta .btn--primary { background: #fff; color: #111; border-color: #fff; }
.ix-fanta__result { margin-top: 16px; font-size: 1.3rem; min-height: 1.5em; font-family: var(--font-serif); font-style: italic; }
@media (max-width: 700px) { .ix-fanta { grid-template-columns: 1fr; } .ix-fanta__phone { max-width: 240px; margin: auto; } }

/* MoSCoW */
.ix-moscow__pool { display: flex; flex-wrap: wrap; gap: 8px; min-height: 60px; padding: 14px; border-radius: 16px; border: 1px dashed var(--line-strong); margin-bottom: 14px; }
.ix-moscow__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ix-moscow__bin { min-height: 130px; padding: 34px 10px 10px; border-radius: 16px; position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s; }
.ix-moscow__bin:hover { border-color: var(--ink); }
.ix-moscow__bin > span { position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.ix-moscow__bin[data-b="Must"] { background: color-mix(in srgb, #8bd17c 18%, var(--surface)); }
.ix-moscow__bin[data-b="Should"] { background: color-mix(in srgb, #5fc8c4 18%, var(--surface)); }
.ix-moscow__bin[data-b="Could"] { background: color-mix(in srgb, #f4d03f 20%, var(--surface)); }
.ix-moscow__bin[data-b="Won't"] { background: color-mix(in srgb, #f08a8a 20%, var(--surface)); }
.ix-note { padding: 8px 12px; border-radius: 6px; background: #fff7c2; color: #3a3216; font-size: 0.85rem; line-height: 1.25; box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.4); transform: rotate(-1deg); transition: transform 0.2s var(--ease), box-shadow 0.2s; cursor: grab; }
.ix-note:nth-child(even) { transform: rotate(1.2deg); }
.ix-note:hover { transform: rotate(0) translateY(-2px); }
.ix-note.is-sel { box-shadow: 0 0 0 3px var(--accent); transform: scale(1.05); }
.ix-note.is-right { background: #c9f2c0; }
.ix-note.is-wrong { background: #ffc9c9; }
.ix-moscow__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.ix-moscow__bar .ix-hint { margin: 0 auto 0 0; }
.ix-moscow__score { margin-top: 10px; font-size: 0.95rem; }

/* Coffee */
.ix-coffee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: linear-gradient(160deg, #e9e3da, #d7cfc3); color: #1d1a16; }
.ix-coffee__device { display: grid; justify-items: center; gap: 0; padding-top: 30px; }
.ix-coffee__cup { position: relative; width: 120px; height: 96px; border-radius: 0 0 40px 40px; background: #fff; box-shadow: inset -10px 0 0 rgba(0, 0, 0, 0.05); opacity: 0.25; transform: translateY(-20px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.ix-coffee__cup::after { content: ""; position: absolute; right: -26px; top: 18px; width: 30px; height: 40px; border: 8px solid #fff; border-left: 0; border-radius: 0 20px 20px 0; }
.ix-coffee[data-state="cooling"] .ix-coffee__cup, .ix-coffee[data-state="ready"] .ix-coffee__cup { opacity: 1; transform: none; }
.ix-coffee__steam { position: absolute; bottom: 100%; width: 6px; height: 40px; border-radius: 6px; background: linear-gradient(transparent, rgba(255, 255, 255, 0.9)); opacity: 0; }
.ix-coffee__steam:nth-child(1) { left: 34px; } .ix-coffee__steam:nth-child(2) { left: 56px; animation-delay: 0.4s !important; } .ix-coffee__steam:nth-child(3) { left: 78px; animation-delay: 0.8s !important; }
.ix-coffee[data-state="cooling"] .ix-coffee__steam { animation: ixSteam 1.6s ease-out infinite; }
@keyframes ixSteam { 0% { opacity: 0; transform: translateY(10px) scaleY(0.6); } 40% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-30px) scaleY(1.2); } }
.ix-coffee__plate { width: 220px; padding: 18px; border-radius: 22px; background: #3a3a3a; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ix-coffee__lcd { flex: 1; padding: 8px 10px; border-radius: 6px; background: #66d17a; color: #0d2b12; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.4; display: grid; box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25); }
.ix-coffee__leds { display: grid; gap: 8px; }
.ix-coffee__leds i { width: 12px; height: 12px; border-radius: 50%; background: #444; }
.ix-coffee[data-state="cooling"] .red { background: #ff3b30; box-shadow: 0 0 12px #ff3b30; }
.ix-coffee[data-state="ready"] .green { background: #34c759; box-shadow: 0 0 14px #34c759; animation: ixBlink 0.4s 5; }
@keyframes ixBlink { 50% { opacity: 0.3; } }
.ix-coffee__therm { width: 20px; height: 140px; border-radius: 12px; background: #fff; position: relative; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1); margin-bottom: 14px; }
.ix-coffee__therm i { position: absolute; bottom: 0; left: 0; right: 0; height: 4%; background: linear-gradient(#ff3b30, #ff9500); transition: height 0.15s linear; }
.ix-coffee[data-state="ready"] .ix-coffee__therm i { background: #34c759; }
.ix-coffee .ix-hint { color: #5d554b; }
.ix-coffee .btn { border-color: rgba(0, 0, 0, 0.25); color: #1d1a16; }
.ix-coffee .btn--primary { background: #1d1a16; color: #fff; }
@media (max-width: 700px) { .ix-coffee { grid-template-columns: 1fr; } }

/* Billboard */
.ix-bill__road { position: relative; aspect-ratio: 16 / 7; border-radius: 18px; overflow: hidden; background: linear-gradient(#9fc6e8 55%, #6b6f75 55%); }
.ix-bill__img { position: absolute; left: 50%; top: 10%; width: 62%; transform: translateX(-50%) scale(0.2); opacity: 0; border: 6px solid #222; border-bottom-width: 14px; transition: none; }
.ix-bill[data-state="driving"] .ix-bill__img { animation: ixDrive 3s linear forwards; }
@keyframes ixDrive { 0% { transform: translateX(-10%) scale(0.35); opacity: 1; } 100% { transform: translateX(-130%) scale(1.25); opacity: 1; } }
.ix-bill__road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18%; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 80px); opacity: 0.8; }
.ix-bill[data-state="driving"] .ix-bill__road::after { animation: ixLane 0.4s linear infinite; }
@keyframes ixLane { to { background-position: -80px 0; } }
.ix-bill__timer { position: absolute; top: 12px; right: 14px; font: 600 2rem/1 var(--font-sans); color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.ix-bill__cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; background: rgba(10, 20, 30, 0.6); color: #fff; padding: 20px; }
.ix-bill[data-state="driving"] .ix-bill__cover, .ix-bill[data-state="asked"] .ix-bill__cover { display: none; }
.ix-bill__quiz { margin-top: 14px; display: grid; gap: 10px; }
.ix-bill__opts { display: flex; flex-wrap: wrap; gap: 8px; }

/* Guess */
.ix-guess { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); align-items: center; }
.ix-guess__img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.ix-guess__img img { width: 100%; height: 100%; object-fit: cover; animation: ixIn 0.6s var(--ease-out); }
@keyframes ixIn { from { opacity: 0; transform: scale(1.04); } }
.ix-guess__clue { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; line-height: 1.25; margin-bottom: 16px; }
.ix-guess__clue .ix-kicker { font-style: normal; }
.ix-guess__opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ix-guess__out { min-height: 1.4em; margin-bottom: 12px; }
@media (max-width: 700px) { .ix-guess { grid-template-columns: 1fr; } }

/* Poll */
.ix-poll { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ix-poll__opt { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: left; transition: transform 0.3s var(--ease), box-shadow 0.2s; }
.ix-poll__opt:hover { transform: translateY(-3px); }
.ix-poll__opt img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.ix-poll__opt span { display: block; padding: 10px 12px; font-size: 0.85rem; color: #333; border-top: 1px solid #eee; }
.ix-poll__opt.is-mine { box-shadow: 0 0 0 3px var(--accent); }
.ix-poll__opt.is-client::after { content: "Client's pick"; position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 0.72rem; }
.ix-poll__out { margin-top: 12px; min-height: 1.4em; }

/* Memory (Recall) */
.ix-mem { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.ix-mem__card { position: relative; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-height: 280px; overflow: hidden; }
.ix-mem__day p { padding: 9px 0; border-top: 1px dashed var(--line); font-size: 0.97rem; }
.ix-mem__day p b { display: inline-block; width: 74px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--c, var(--accent)); font-weight: 500; }
.ix-mem__cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity 0.4s; }
.ix-mem[data-state="reading"] .ix-mem__cover { opacity: 0; pointer-events: none; }
.ix-mem[data-state="quiz"] .ix-mem__day { filter: blur(9px); }
.ix-mem[data-state="quiz"] .ix-mem__cover { display: none; }
.ix-mem__timer { position: absolute; top: 14px; right: 18px; font: 600 1.8rem/1 var(--font-sans); color: var(--c, var(--accent)); }
.ix-mem__quiz { display: grid; gap: 12px; }
.ix-mem__score b { font-size: 2rem; letter-spacing: -0.04em; display: block; }
@media (max-width: 760px) { .ix-mem { grid-template-columns: 1fr; } }

/* Queue (Achiever) */
.ix-q { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 14px; font-size: 0.92rem; }
.ix-q__list, .ix-q__board { border-radius: 18px; background: #fff; color: #1a1a2e; box-shadow: 0 0 0 1px var(--line); padding: 16px; }
.ix-q__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ix-q__top span { font-family: var(--font-mono); font-size: 0.72rem; color: #666666; }
.ix-q__row { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #eef1f5; transition: opacity 0.35s, transform 0.35s var(--ease); }
.ix-q__row small { display: block; color: #666666; font-size: 0.8rem; }
.ix-q__row.is-yes { transform: translateX(30px); opacity: 0; }
.ix-q__row.is-no { transform: translateX(-30px); opacity: 0; }
.ix-q__ava { width: 30px; height: 30px; border-radius: 50%; background: #e2ecf5; color: #2e77ae; display: grid; place-items: center; font-weight: 600; font-size: 0.8rem; }
.ix-q__proof { font-size: 0.72rem; padding: 3px 8px; border-radius: 999px; }
.ix-q__proof.ok { background: #e6f6ea; color: #1f7a3a; } .ix-q__proof.no { background: #fdeaea; color: #b42318; }
.ix-q__acts { display: flex; gap: 6px; }
.ix-q__acts button { width: 32px; height: 32px; border-radius: 8px; color: #fff; font-weight: 700; }
.ix-q__yes { background: #34a853; } .ix-q__no { background: #ff4747; }
.ix-q__lb { display: grid; gap: 6px; }
.ix-q__lb li { display: grid; grid-template-columns: 20px 30px 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; background: #f5f6fa; animation: ixIn 0.4s var(--ease-out); }
.ix-q__lb li:first-child { background: #fff1e4; }
.ix-q__lb li b { color: #a14c00; font-size: 0.82rem; }
.ix-q__rank { font-family: var(--font-mono); font-size: 0.75rem; color: #666666; }
.ix-q__msg { margin-top: 12px; font-size: 0.85rem; color: #444; min-height: 2.6em; }
.ix-q__done { padding: 24px 0; display: grid; gap: 10px; justify-items: start; }
@media (max-width: 760px) { .ix-q { grid-template-columns: 1fr; } }

/* Recycle (ReLoop) */
.ix-rc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ix-rc__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
.ix-rc__item { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: left; font-size: 0.92rem; transition: transform 0.2s var(--ease), border-color 0.2s, opacity 0.3s; }
.ix-rc__item:hover { transform: translateY(-2px); border-color: var(--reloop); }
.ix-rc__item.is-done { opacity: 0.45; }
.ix-rc__item.is-no { border-color: #e5484d; }
.ix-rc__emoji { font-size: 1.5rem; }
.ix-rc__panel { border-radius: 18px; padding: 18px; background: var(--reloop); color: var(--on-c); display: grid; gap: 14px; align-content: start; }
.ix-rc__scan { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.ix-rc__big { font-size: 2.6rem; }
.ix-rc__scan.is-scan::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #9dffc6; box-shadow: 0 0 12px #9dffc6; animation: ixScan 0.65s ease-in-out; }
@keyframes ixScan { from { top: 0; } to { top: 100%; } }
.ix-rc__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ix-rc__stats div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); }
.ix-rc__stats b { display: block; font-size: 1.5rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ix-rc__stats span { font-size: 0.75rem; }
.ix-rc .ix-hint { color: inherit; margin: 0; }
@media (max-width: 760px) { .ix-rc { grid-template-columns: 1fr; } }

/* Outfit (FitsEveryday) */
.ix-fit { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(16px, 3vw, 36px); align-items: center; }
.ix-fit__stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ix-fit__piece { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #f0f0ee; aspect-ratio: 4 / 4; }
.ix-fit__piece img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.45s, transform 0.6s var(--ease-out); }
.ix-fit__piece img.is-on { opacity: 1; transform: none; }
.ix-fit__piece figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #111; font-size: 0.78rem; }
.ix-swatches { display: flex; gap: 8px; margin: 6px 0 18px; flex-wrap: wrap; }
.ix-sw { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.ix-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); transform: scale(1.08); }
.ix-fit__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.75rem; }
.ix-fit__count.is-bump { animation: ixPop2 0.4s var(--ease-out); }
@keyframes ixPop2 { 40% { transform: scale(1.5); } }
@media (max-width: 760px) { .ix-fit { grid-template-columns: 1fr; } }

/* Evolve (Recall) */
.ix-evo__stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 3vw, 40px); align-items: center; padding: clamp(20px, 4vw, 44px); margin-top: 16px; border-radius: var(--radius-lg); background: var(--tint, var(--bg-2)); }
.ix-evo__stage figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.ix-evo__stage .phone { width: min(210px, 100%); }
.ix-evo__stage .phone__screen img { opacity: 0; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out); transform: translateY(6px); }
.ix-evo__stage .phone__screen img.is-on { opacity: 1; transform: none; }
.ix-evo__stage figcaption { font-size: 0.85rem; }
.ix-evo__arrow { font-size: 1.6rem; color: var(--c); }
.ix-evo__note { margin-top: 12px; color: var(--ink-2); min-height: 2.8em; }
@media (max-width: 640px) { .ix-evo__stage { grid-template-columns: 1fr 1fr; padding: 16px 10px; } .ix-evo__arrow { display: none; } }

/* Designed content blocks (brief, persona, statement) */
.ix-brief { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ix-brief__card { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ix-brief__card--wide { grid-column: 1 / -1; }
.ix-brief__card--hl { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ix-brief__card.ix-brief__card--hl :is(h3, h4) { color: var(--accent-invert); }
.ix-brief__card h3, .ix-brief__card h4 { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c, var(--accent-text)); margin-bottom: 10px; font-weight: 500; }
.ix-brief__card p { font-size: 0.98rem; line-height: 1.5; }
.ix-brief__card--hl p { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-family: var(--font-serif); font-style: italic; line-height: 1.2; }
.ix-brief__card small { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--ink-3); }
.ix-persona { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.ix-persona img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.ix-persona h3, .ix-persona h4 { font-size: 1.4rem; letter-spacing: -0.02em; }
.ix-persona__meta { font-size: 0.88rem; color: var(--ink-3); margin: 4px 0 14px; }
.ix-persona blockquote { margin: 0 0 10px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 12px 12px 0; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; line-height: 1.3; }
.ix-persona__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.ix-persona__cols h4, .ix-persona__cols h5 { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 6px; font-weight: 500; }
.ix-persona__cols li { font-size: 0.9rem; padding: 4px 0 4px 14px; position: relative; color: var(--ink-2); }
.ix-persona__cols li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 760px) { .ix-persona { grid-template-columns: 1fr; } .ix-persona img { max-width: 220px; } .ix-persona__cols { grid-template-columns: 1fr; } }

/* Marquee of screens */
.ix-screens { overflow: hidden; margin-block: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ix-screens__track { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; padding: 10px 0 30px; }
.ix-screens:hover .ix-screens__track { animation-play-state: paused; }
.ix-screens .phone { width: 150px; flex: none; }

@media (prefers-reduced-motion: reduce) { .ix-screens__track { animation: none; } .ix-spin__hint { animation: none; } }

/* Critique (Amtrak) */
.ix-crit { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.ix-crit__imgs { display: grid; gap: 10px; }
.ix-crit__imgs img { width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); animation: ixIn 0.5s var(--ease-out); }
.ix-crit__ask { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin: 4px 0 14px; }
.ix-crit__opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ix-crit__opts .ix-chip { height: auto; min-height: 36px; padding: 8px 14px; text-align: left; line-height: 1.3; }
.ix-crit__out { margin-top: 16px; display: grid; gap: 10px; }
.ix-crit__out blockquote { margin: 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.35; }
@media (max-width: 760px) { .ix-crit { grid-template-columns: 1fr; } }

/* Trophy cabinet */
.cab { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.cab__glass {
  position: relative; padding: 26px 22px 10px; border-radius: 22px;
  background: radial-gradient(120% 70% at 50% 0%, rgba(255, 236, 190, 0.22), transparent 60%), linear-gradient(180deg, #2a1f17, #1a130e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 30px 60px -30px rgba(255, 220, 160, 0.35), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.cab__glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 38%, transparent 46%); }
.cab__shelf { position: relative; padding: 0 6px 18px; margin-bottom: 18px; }
.cab__shelf::after { content: ""; position: absolute; left: -22px; right: -22px; bottom: 0; height: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05)); box-shadow: 0 10px 18px -6px rgba(0, 0, 0, 0.7); }
.cab__label { display: block; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 235, 200, 0.55); margin-bottom: 8px; }
.cab__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; min-height: 96px; }
.cab__item { position: relative; display: grid; justify-items: center; gap: 4px; padding: 4px 2px 0; transition: transform 0.35s var(--ease-out), filter 0.3s; }
.cab__item:hover, .cab__item.is-on { transform: translateY(-6px) scale(1.06); filter: drop-shadow(0 0 14px rgba(255, 214, 140, 0.55)); }
.cab__icon { width: 64px; height: 64px; display: block; }
.cab__icon svg { width: 100%; height: 100%; }
.cab__tag { font-family: var(--font-mono); font-size: 0.66rem; color: #1a130e; background: #f1dfb8; padding: 2px 7px; border-radius: 4px; }
.cab__item.is-on .cab__tag { background: #ffd36e; }
.cab__plaque { position: sticky; top: calc(var(--nav-h) + 24px); }
.cab__card { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); animation: ixIn 0.45s var(--ease-out); }
.cab__icon--lg { width: 72px; height: 72px; }
.cab__card h4 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
.cab__issuer { font-size: 0.85rem; color: var(--ink-3); margin: 2px 0 10px; }
.cab__card p:not(.cab__issuer) { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 14px; }
.cab__hint { color: var(--ink-3); }
@media (max-width: 860px) { .cab { grid-template-columns: 1fr; } .cab__plaque { position: static; } }
.cab__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cab__doc { position: relative; display: block; width: 100%; max-width: 280px; margin: 0 0 14px; padding: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.55); transform: rotate(-1.2deg); transition: transform 0.35s var(--ease-out), box-shadow 0.35s; cursor: zoom-in; }
.cab__doc:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 22px 40px -20px rgba(0, 0, 0, 0.6); }
.cab__doc img { display: block; width: 100%; max-height: 220px; object-fit: cover; object-position: center 60%; }
.cab__doc span { position: absolute; right: 8px; bottom: 8px; font-family: var(--font-mono); font-size: 0.68rem; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.7); color: #fff; }
.cab__row { gap: 10px; }
.cab__icon { width: 56px; height: 56px; }
