/* Page 76 · TRAINING MIX. Page chrome + hub screens = 72_base.css, questions = 72_pf.css, the in-fight game parts = 74_tr.css (t74-).
   This file adds the page's own chrome (t76-) and the new game parts: the ghost thumb, the unlock pop-in, the one-tap SKIP,
   FIRE's aim ring, the small tip card and the looping mini clips. Screens are 998 x 460 game units. */
.dS { --dc: #FFF6E0; } .dE { --dc: #7CFFA3; }
.p76 .p70-step__cap .t74-time { color: var(--ink); font-size: 12.5px; }
.t76-hero { grid-template-columns: 1fr 1.08fr; padding-top: 34px; }
.t76-hero h1 { font-size: clamp(42px, 6vw, 76px); }
.t76-hero .p70-quote span { white-space: normal; }
.t76-rules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.t76-rules span { font: 400 13.5px/1.2 var(--f-display); letter-spacing: 0.04em; padding: 8px 11px 7px; border-radius: 10px; border: 2.5px solid var(--ink); box-shadow: 2px 4px 0 var(--ink); background: var(--panel-2); color: #fff; }
.t76-rules span.y { background: var(--yellow); color: var(--ink); }
.t76-rules span b { color: inherit; font-weight: 400; }
.p70-hero .t76-lead { color: var(--cream-2); font-size: 15.5px; margin: 20px 0 0; max-width: 620px; }

/* the live phone */
.t76-live .p70-dev { transform: rotate(-1.2deg); }
.t76-live .p70-dev::after { content: "LIVE"; position: absolute; right: -8px; top: -12px; font: 400 13px/1 var(--f-display); letter-spacing: 0.08em; background: #E8394A; color: #fff; border: 2.5px solid var(--ink); border-radius: 8px; padding: 4px 7px 3px; transform: rotate(5deg); box-shadow: 0 3px 0 var(--ink); z-index: 4; }
.t76-lbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; }
.t76-lbar button { font: 400 13.5px/1 var(--f-display); letter-spacing: 0.04em; padding: 8px 10px 7px; border-radius: 10px; border: 2.5px solid var(--ink); background: var(--panel-2); color: var(--cream-2); box-shadow: 1px 3px 0 var(--ink); cursor: pointer; }
.t76-lbar button.done { background: #1D3B2C; color: var(--mint); }
.t76-lbar button.on { background: var(--yellow); color: var(--ink); }
.t76-pp { margin-left: auto; font: 400 13px/1 var(--f-display); letter-spacing: 0.06em; padding: 8px 12px 7px; border-radius: 10px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); box-shadow: 1px 3px 0 var(--ink); cursor: pointer; }
.t76-pp.off { background: var(--mint); }
.t76-lcap { margin: 10px 2px 0; font-size: 14.5px; color: var(--cream-2); min-height: 1.5em; }

/* what changes */
.t76-chs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.t76-ch { border: 3px solid var(--ink); border-radius: 16px; box-shadow: 3px 6px 0 var(--ink); padding: 12px 14px 13px; background: linear-gradient(180deg, #2E2850, #1E1A33 70%); display: flex; flex-direction: column; gap: 4px; }
.t76-ch s { font: 600 12.5px/1.3 var(--f-body); color: #FFB3C2; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 90, 122, 0.85); letter-spacing: 0.02em; }
.t76-ch em { font-style: normal; font: 400 18px/1 var(--f-display); color: var(--yellow); }
.t76-ch b { font: 400 22px/1.05 var(--f-display); color: var(--mint); text-shadow: 0 2px 0 var(--ink); }
.t76-ch span { font-size: 13.5px; color: var(--cream-2); line-height: 1.35; }

/* unlock order */
.t76-order { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: 16px; }
.t76-og { border: 3px solid var(--ink); border-radius: 16px; box-shadow: 3px 6px 0 var(--ink); padding: 12px 14px 14px; background: radial-gradient(60% 90% at 0% 0%, rgba(255, 210, 63, 0.16), transparent 70%), linear-gradient(180deg, #312A57, #1E1A33); }
.t76-og.l { background: linear-gradient(180deg, #2A2545, #1E1A33); }
.t76-og small { display: block; font: 400 13px/1.1 var(--f-display); letter-spacing: 0.06em; color: var(--yellow); margin-bottom: 10px; }
.t76-og.l small { color: #FFB65C; }
.t76-og > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; }
.t76-ob { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 54px; }
.t76-ob i { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), inset 0 3px 0 rgba(255, 255, 255, 0.28); }
.t76-ob i svg { width: 24px; height: 24px; }
.t76-ob b { font: 400 13px/1 var(--f-display); letter-spacing: 0.03em; color: #fff; }
.t76-og.l .t76-ob i { border-style: dashed; }
.t76-oar { font: 400 22px/1 var(--f-display); color: var(--yellow); margin-top: -14px; }

/* boxes of rules under a flow */
.t76-box { margin-top: 20px; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 3px 6px 0 var(--ink); padding: 14px 16px; background: linear-gradient(180deg, #2E2850, #1E1A33 70%); }
.t76-box h4 { margin: 0 0 8px; font: 400 16px/1 var(--f-display); letter-spacing: 0.06em; color: var(--dc); }
.t76-box ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
.t76-box li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.4; color: var(--cream-2); }
.t76-box li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 9px; border-radius: 3px; background: var(--dc); border: 2px solid var(--ink); }
.t76-box li b { color: #fff; }
.t76-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.t76-cwrap { min-width: 0; }
.t76-fit { position: relative; width: 100%; overflow: hidden; }
.t76-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; font-family: var(--f-display); color: #fff; letter-spacing: 0.02em; }
.t76-in * { box-sizing: border-box; }
.t76-h3 { margin: 26px 0 0; font: 400 20px/1.1 var(--f-display); letter-spacing: 0.03em; color: #fff; }
.t76-h3 small { font: 600 13px/1.3 var(--f-body); color: var(--cream-3); letter-spacing: 0; margin-left: 8px; }

/* =====================================================================================================================
   GAME PARTS (998 x 460 units)
   ===================================================================================================================== */
.t76-full { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

/* the ghost thumb: a translucent thumb + its touch ripple. Its pad sits on the wrapper's (0, 0). */
.t76-gw { width: 0; height: 0; z-index: 14; pointer-events: none; will-change: transform, opacity; }
.t76-gi { position: absolute; left: -17px; top: -12px; width: 84px; height: 120px; transform-origin: 17px 12px; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.75)) drop-shadow(0 5px 0 rgba(29, 27, 36, 0.28)); }
.t76-gi svg { width: 100%; height: 100%; display: block; }
.t76-gi.L { left: -67px; transform-origin: 67px 12px; }
.t76-gi.L svg { transform: scaleX(-1); }
.t76-rip { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 50%; border: 5px solid rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 3px rgba(29, 27, 36, 0.4), 0 0 18px 4px rgba(255, 255, 255, 0.5); opacity: 0; }

/* the stick knob + FIRE's drag knob (they follow the thumb) */
.t76-knob { border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #E6E6EE); border: 4px solid var(--ink); z-index: 6; }
.t76-fknob { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3.5px solid var(--ink); z-index: 6; box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7); }

/* the unlock pop-in: burst, scale-in, NEW!, then the ring + tag */
.t76-popw { z-index: 5; animation: t76pop 5s infinite both; }
@keyframes t76pop { 0%, 3% { transform: scale(0); opacity: 0; } 10% { transform: scale(1.32); opacity: 1; } 15% { transform: scale(0.9); } 19%, 100% { transform: scale(1); opacity: 1; } }
.t76-burst { z-index: 4; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 226, 90, 0.95) 0 9deg, transparent 9deg 24deg); -webkit-mask-image: radial-gradient(circle, transparent 28%, #000 30%, #000 52%, transparent 70%); mask-image: radial-gradient(circle, transparent 28%, #000 30%, #000 52%, transparent 70%); animation: t76burst 5s infinite both; pointer-events: none; }
@keyframes t76burst { 0%, 4% { transform: scale(0.3) rotate(0deg); opacity: 0; } 10% { transform: scale(1) rotate(20deg); opacity: 1; } 26% { transform: scale(1.35) rotate(50deg); opacity: 0; } 100% { opacity: 0; } }
.t76-newb { z-index: 9; width: 68px; text-align: center; font-size: 17px; line-height: 1; padding: 5px 0 3px; border-radius: 8px; border: 3px solid var(--ink); background: #F0388E; color: #fff; letter-spacing: 0.06em; box-shadow: 0 3px 0 var(--ink); animation: t76newb 5s infinite both; }
@keyframes t76newb { 0%, 7% { transform: translateY(16px) scale(0.4) rotate(-6deg); opacity: 0; } 13% { transform: translateY(-4px) scale(1.12) rotate(-6deg); opacity: 1; } 17%, 92% { transform: translateY(0) scale(1) rotate(-6deg); opacity: 1; } 100% { opacity: 0; transform: translateY(0) scale(1) rotate(-6deg); } }
.t76-ringp { animation: t76ringp 5s infinite both; }
@keyframes t76ringp { 0%, 18% { opacity: 0; transform: scale(1.3); } 24% { opacity: 1; transform: scale(1); } 40% { transform: scale(1.06); } 56% { transform: scale(1); } 72% { transform: scale(1.06); } 88%, 100% { opacity: 1; transform: scale(1); } }
.t76-capin { animation: t76capin 5s infinite both; }
@keyframes t76capin { 0%, 16% { opacity: 0; transform: translateY(8px); } 23%, 100% { opacity: 1; transform: translateY(0); } }

/* pop words with their own box (BLOCKED! / BANG / BOOM) */
.t76-fx { z-index: 9; transform-origin: 50% 60%; opacity: 0; }

/* FIRE's aim-before-firing ring: inside it only aims, past it it fires */
.t76-thr { border-radius: 50%; border: 4px dashed #fff; box-shadow: 0 0 0 2px rgba(29, 27, 36, 0.5), inset 0 0 0 2px rgba(29, 27, 36, 0.5); z-index: 6; pointer-events: none; }
.t76-lab { z-index: 9; width: 88px; text-align: center; font-size: 16px; line-height: 1; padding: 5px 0 3px; border-radius: 8px; border: 3px solid var(--ink); background: #fff; color: var(--ink); letter-spacing: 0.04em; opacity: 0; }
.t76-lab.y { background: var(--yellow); }

/* the one-tap SKIP (every training screen, same spot) */
.t76-skip { right: 40px; top: 14px; height: 52px; padding: 0 14px 0 18px; display: flex; align-items: center; gap: 6px; border-radius: 13px; border: 4px solid var(--ink); background: #FFF6E0; color: var(--ink); box-shadow: 0 5px 0 var(--ink); font-size: 25px; letter-spacing: 0.04em; z-index: 10; white-space: nowrap; }
.t76-skip em { font-style: normal; font-size: 32px; line-height: 0.6; margin-top: -3px; }
.t76-one { z-index: 15; font-size: 18px; padding: 6px 10px 4px; border-radius: 8px; border: 3px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 2px 4px 0 var(--ink); transform: rotate(-3deg); white-space: nowrap; }
.t76-all { z-index: 7; font-size: 18px; padding: 7px 12px 5px; border-radius: 8px; border: 3px solid var(--ink); background: #7FE8A0; color: var(--ink); box-shadow: 2px 4px 0 var(--ink); transform: rotate(-2deg); white-space: nowrap; }

/* the unlock tracker (the first fight's 6 buttons) */
.t76-trk { left: 40px; top: 78px; height: 46px; display: flex; align-items: center; gap: 5px; padding: 0 8px 0 10px; border-radius: 12px; border: 3px solid var(--ink); background: rgba(29, 27, 36, 0.8); z-index: 6; }
.t76-trk small { font: 800 11px/1 var(--f-body); letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); margin-right: 3px; }
.t76-trk span { width: 30px; height: 30px; border-radius: 50%; border: 2.5px dashed rgba(255, 255, 255, 0.3); display: grid; place-items: center; }
.t76-trk span.on { border: 2.5px solid var(--ink); }
.t76-trk span svg { width: 17px; height: 17px; }
.t76-trk span.nw { animation: t76trk 5s infinite both; }
@keyframes t76trk { 0%, 5% { transform: scale(0); } 12% { transform: scale(1.35); } 18%, 100% { transform: scale(1); } }

/* the win screen's unlocked row */
.t76-wh { font-size: 26px; color: #fff; paint-order: stroke fill; -webkit-text-stroke: 5px var(--ink); letter-spacing: 0.04em; margin-bottom: 10px; }
.t76-wrow { display: flex; gap: 10px; }
.t76-wb { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 80px; }
.t76-wb i { width: 62px; height: 62px; border-radius: 50%; border: 4px solid var(--ink); display: grid; place-items: center; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), inset 0 4px 0 rgba(255, 255, 255, 0.28); }
.t76-wb i svg { width: 32px; height: 32px; }
.t76-wb b { font-weight: 400; font-size: 16px; color: #fff; paint-order: stroke fill; -webkit-text-stroke: 4px var(--ink); }
.t76-wn { margin-top: 12px; display: inline-block; white-space: nowrap; font: 800 13px/1.35 var(--f-body); letter-spacing: 0.04em; color: #1D1B24; background: rgba(255, 246, 224, 0.9); border: 3px solid var(--ink); padding: 7px 10px; }

/* the small tip card (C + E): never over the fighters, the fight keeps going */
.t76-tip { width: 430px; height: 98px; display: flex; align-items: center; gap: 12px; padding: 7px 10px 9px 8px; background: #FFF6E0; border: 4px solid var(--ink); border-radius: 14px; box-shadow: 4px 6px 0 var(--ink); color: var(--ink); z-index: 9; animation: t76tipin 6s infinite both; }
@keyframes t76tipin { 0% { transform: translateY(-16px); opacity: 0; } 5%, 93% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
.t76-tip .t76-mc { flex: none; border-radius: 9px; }
.t76-tip .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.t76-tip .tx small { align-self: flex-start; font-size: 12px; letter-spacing: 0.09em; color: #fff; background: #F0388E; border: 2.5px solid var(--ink); padding: 3px 6px 1px; border-radius: 6px; margin-bottom: 3px; }
.t76-tip .tx small.k { background: #5E5A72; }
.t76-tip .tx b { color: var(--ink); font-weight: 400; font-size: 25px; line-height: 1; }
.t76-tip .tx span { font-size: 13px; line-height: 1.08; margin-top: 2px; color: rgba(29, 27, 36, 0.82); }
.t76-tip .ok { align-self: center; flex: none; padding: 9px 11px 7px; background: linear-gradient(180deg, #7FE8A0, #2DC768); border: 3px solid var(--ink); border-radius: 10px; font-size: 17px; color: #fff; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); white-space: nowrap; box-shadow: 0 3px 0 var(--ink); }
.t76-tip .bar { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 4px; border-radius: 99px; background: rgba(29, 27, 36, 0.14); overflow: hidden; }
.t76-tip .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #F0388E; transform-origin: 0 0; animation: t76bar 6s linear infinite both; }
@keyframes t76bar { 0%, 5% { transform: scaleX(1); } 93%, 100% { transform: scaleX(0); } }

/* a mini clip: a 320 x 200 scene scaled down (the tip card, the clip wall) */
.t76-mc { position: relative; overflow: hidden; border: 3px solid var(--ink); background: linear-gradient(180deg, #8FD0EE 0, #E4F5FB 75%, #7CCB4E 75%, #7CCB4E 79%, #A9784A 79%); }
.t76-mci { position: absolute; left: 0; top: 0; width: 320px; height: 200px; transform-origin: 0 0; }
.t76-mci .t74-b { box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), inset 0 3px 0 rgba(255, 255, 255, 0.28); }
.t76-mci .t74-stick { background: rgba(29, 27, 36, 0.18); }
.t76-ammo { display: flex; gap: 6px; padding: 6px 8px; border-radius: 10px; border: 3px solid var(--ink); background: rgba(29, 27, 36, 0.85); z-index: 4; }
.t76-ammo i { width: 12px; height: 30px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #FFE27A, #D99A12); border: 2px solid var(--ink); animation: t76am 3.4s infinite both; }
.t76-ammo i:nth-child(2) { animation-name: t76am2; } .t76-ammo i:nth-child(3) { animation-name: t76am3; }
@keyframes t76am { 0%, 12% { opacity: 1; } 14%, 70% { opacity: 0.15; } 74%, 100% { opacity: 1; } }
@keyframes t76am2 { 0%, 22% { opacity: 1; } 24%, 70% { opacity: 0.15; } 74%, 100% { opacity: 1; } }
@keyframes t76am3 { 0%, 32% { opacity: 1; } 34%, 70% { opacity: 0.15; } 74%, 100% { opacity: 1; } }
.t76-rl { width: 54px; height: 54px; z-index: 4; animation: t76rl 3.4s infinite both; }
@keyframes t76rl { 0%, 36% { opacity: 0; transform: rotate(0deg) scale(0.6); } 40% { opacity: 1; transform: rotate(0deg) scale(1); } 72% { opacity: 1; transform: rotate(540deg) scale(1); } 76%, 100% { opacity: 0; transform: rotate(540deg) scale(0.6); } }
.t76-auto { z-index: 4; font-size: 17px; padding: 4px 8px 2px; border-radius: 7px; border: 2.5px solid var(--ink); background: var(--yellow); color: var(--ink); letter-spacing: 0.06em; }
.t76-orb { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFE27A, #FF8A1F); border: 3px solid var(--ink); box-shadow: 0 0 18px 6px rgba(255, 160, 40, 0.65); z-index: 3; }
.t76-flame { width: 20px; height: 34px; border-radius: 50% 50% 40% 40%; background: linear-gradient(180deg, #FFD23F, #FF5A1F 60%, transparent); z-index: 1; }
.t76-bomb { pointer-events: none; }

/* the clip wall tile */
.t76-wt { width: 146px; height: 116px; z-index: 3; }
.t76-wt .t76-mc { border-radius: 10px; }
.t76-wt > b { position: absolute; left: 4px; top: 94px; font-weight: 400; font-size: 17px; line-height: 1; }
.t76-wt > span { position: absolute; right: 2px; top: 92px; font-size: 12.5px; line-height: 1; padding: 4px 6px 2px; border-radius: 6px; border: 2.5px solid var(--ink); background: #2DC768; color: #fff; letter-spacing: 0.04em; }

@media (max-width: 1100px) { .t76-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) {
  .t76-hero { grid-template-columns: 1fr; }
  .t76-chs { grid-template-columns: 1fr 1fr; }
  .t76-order { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .t76-chs { grid-template-columns: 1fr; }
  .t76-cards { grid-template-columns: 1fr; }
  .t76-box ul { grid-template-columns: 1fr; }
  .t76-ch b { font-size: 20px; }
  .t76-lbar button { font-size: 12.5px; padding: 7px 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { .t76-live .p70-dev { transform: none; } }
