body[data-page="tir"] { --gold: #ffd35a; --gold-2: #e8a91f; --teal: #18c7a0; --ruby: #e0304f; --mint: #6ff5c4; }
.ti {
    position: relative; overflow: hidden; border-radius: var(--r-xl); height: 700px;
    background: #1b0b14;
    box-shadow: var(--sh-screen), 0 0 0 1px rgba(255,211,90,.28), 0 0 40px -8px rgba(24,199,160,.35);
    isolation: isolate; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.ti-booth { position: absolute; inset: -8px; z-index: 0; pointer-events: none;
    background: url(../assets/art/tir/booth.webp) 50% 35% / cover no-repeat;
    filter: saturate(1.05) brightness(.78); transition: filter .6s; }
.ti-booth::after { content: ''; position: absolute; inset: 0;
    background: radial-gradient(75% 60% at 50% 42%, transparent 45%, rgba(20,6,14,.6) 100%), linear-gradient(180deg, rgba(20,6,14,.25), transparent 22%); }
.ti.is-gold .ti-booth { filter: saturate(.7) brightness(.45); }

.ti-belts, .ti-goldbelt { position: absolute; inset: 0; pointer-events: none; }
.ti-belts { z-index: 2; transition: opacity .5s, filter .5s; }
.ti.is-gold .ti-belts { opacity: .28; filter: saturate(.4); }
.ti-goldbelt { z-index: 3; }
.ti-rail { position: absolute; left: 0; right: 0; height: 12px; margin-top: -3px; pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, #d9dde4 0 2.4px, #6b7280 2.8px 3.6px, transparent 4px) 0 50% / 16px 12px repeat-x,
        linear-gradient(180deg, #3b2a1e, #6a4a30 45%, #2a1c12);
    box-shadow: 0 5px 10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,220,170,.25); }
.ti-rail.r0 { top: var(--r0, 25%); }
.ti-rail.r1 { top: var(--r1, 45%); }
.ti-rail.r2 { top: var(--r2, 65%); }
.ti-rail.gold { top: var(--r1, 45%); opacity: 0; transition: opacity .6s;
    background: radial-gradient(circle at 50% 50%, #fff6cf 0 2.4px, #b8801c 2.8px 3.6px, transparent 4px) 0 50% / 16px 12px repeat-x,
                linear-gradient(180deg, #7a5212, #e8b43a 45%, #6a4308);
    box-shadow: 0 0 22px rgba(255,200,60,.7), 0 5px 10px rgba(0,0,0,.45); }
.ti.is-gold .ti-rail.gold { opacity: 1; }

.ti-tg { position: absolute; left: 0; top: 0; width: var(--tw, 90px); height: var(--th, 100px); padding: 0; border: 0; background: none;
    transform-origin: 50% 100%; pointer-events: auto; cursor: default; -webkit-tap-highlight-color: transparent; will-change: transform;
    perspective: 600px; }

.ti-tg::before { content: ''; position: absolute; inset: -12% -16% -8%; }
.ti-tg.can { cursor: crosshair; }
.ti-tg .fl { position: absolute; inset: 0 0 10% 0; display: block; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.ti-tg.open .fl { transform: rotateY(180deg); }
.ti-tg.now .fl { transition: none; }
.ti-tg .fr, .ti-tg .bk { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ti-tg .fr img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none;
    filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); transition: filter .25s, transform .25s cubic-bezier(.3,1.5,.5,1); }
.ti-tg .bk { transform: rotateY(180deg); }

.ti-tg .clip { position: absolute; left: 50%; bottom: 0; width: 12%; height: 14%; translate: -50% 0; border-radius: 3px 3px 2px 2px;
    background: linear-gradient(90deg, #6b7280, #e5e7eb 45%, #6b7280); box-shadow: 0 2px 3px rgba(0,0,0,.5); }

.ti-tg .bk b { display: grid; place-items: center; width: 92%; aspect-ratio: 1; border-radius: 50%;
    font: 800 calc(var(--th, 100px) * .23)/1 Unbounded, sans-serif; letter-spacing: -.03em; color: #2a2f38;
    background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 30%), radial-gradient(circle, #e9edf2 0 52%, #9aa3ae 53% 58%, #d4d9df 59% 70%, #7b8591 71%);
    box-shadow: 0 6px 12px rgba(0,0,0,.5), inset 0 -3px 6px rgba(0,0,0,.25); }
.ti-tg[data-tier="0"] .bk b { color: rgba(40,44,52,.55); background: radial-gradient(circle, #8b939d 0 60%, #5d646d 61% 70%, #43484f 71%); font-size: calc(var(--th, 100px) * .2); }
.ti-tg[data-tier="1"] .bk b { color: #053b31; background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 30%), radial-gradient(circle, #c9fff0 0 52%, #18c7a0 53% 58%, #9ff3dc 59% 70%, #0d7d66 71%); }
.ti-tg[data-tier="2"] .bk b { color: #3a2206; background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 30%), radial-gradient(circle, #fff3c4 0 52%, #e8a91f 53% 58%, #ffe08a 59% 70%, #a86d10 71%);
    box-shadow: 0 0 18px rgba(255,200,60,.55), 0 6px 12px rgba(0,0,0,.5); }
.ti-tg[data-tier="3"] .bk b, .ti-tg[data-tier="4"] .bk b { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.25);
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.8) 0 8%, transparent 30%), radial-gradient(circle, #ff5b7a 0 52%, #ffd35a 53% 58%, #ff8a5c 59% 70%, #8e1a33 71%);
    box-shadow: 0 0 26px 4px rgba(255,120,90,.7), 0 6px 12px rgba(0,0,0,.5); animation: tiHot 1s ease-in-out infinite; }
.ti-tg[data-tier="4"] .bk b { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.8) 0 8%, transparent 30%), conic-gradient(from 0deg, #ff5b7a, #ffd35a, #6ff5c4, #7fd4ff, #c33cff, #ff5b7a); }
@keyframes tiHot { 50% { filter: brightness(1.2); } }

.ti-tg .bk.tosha b { width: auto; aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.ti-tg .bk.tosha img { height: calc(var(--th, 100px) * 1.25); margin-top: calc(var(--th, 100px) * -.3); filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.ti-tg.open:not(.now) .bk.tosha img { animation: tiCard .6s cubic-bezier(.2,1.6,.4,1) .15s backwards; }
@keyframes tiCard { from { transform: translateY(30%) scaleY(.3); } }

.ti-tg.is-gold .fr img { filter: drop-shadow(0 0 12px rgba(255,210,80,.75)) drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.ti-tg.is-gold .bk b { background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 30%), radial-gradient(circle, #fff6cf 0 52%, #e8a91f 53% 58%, #ffe08a 59% 70%, #8a5a0c 71%);
    color: #3a2206; box-shadow: 0 0 26px 4px rgba(255,200,60,.7), 0 6px 12px rgba(0,0,0,.5); }

.ti-tg.can .fr img { animation: tiAsk 1.4s ease-in-out infinite; }
.ti-tg.can:nth-child(2n) .fr img { animation-delay: .25s; }
.ti-tg.can:nth-child(3n) .fr img { animation-delay: .5s; }
@keyframes tiAsk { 50% { filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)) drop-shadow(0 0 10px rgba(255,211,90,.7)); } }
@media (hover: hover) {
    .ti-tg.can:hover .fr img { transform: translateY(-5%) scale(1.05); animation: none;
        filter: drop-shadow(0 10px 12px rgba(0,0,0,.45)) drop-shadow(0 0 14px rgba(255,211,90,1)); }
    .ti-tg.can:hover::after { content: ''; position: absolute; left: 50%; top: 45%; width: 46%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
        border-radius: 50%; border: 2px solid rgba(255,80,80,.9); box-shadow: 0 0 10px rgba(255,80,80,.6);
        background: linear-gradient(rgba(255,80,80,.9), rgba(255,80,80,.9)) 50% 0 / 2px 30% no-repeat, linear-gradient(rgba(255,80,80,.9), rgba(255,80,80,.9)) 50% 100% / 2px 30% no-repeat,
                    linear-gradient(90deg, rgba(255,80,80,.9), rgba(255,80,80,.9)) 0 50% / 30% 2px no-repeat, linear-gradient(90deg, rgba(255,80,80,.9), rgba(255,80,80,.9)) 100% 50% / 30% 2px no-repeat; }
}
.ti-tg.can:active .fr img { transform: scale(.95); }
.ti-tg:focus-visible { outline: none; }
.ti-tg:focus-visible .fr img { filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 12px rgba(255,211,90,1)); }
.ti-tg.sel .fr img { animation: none; filter: drop-shadow(0 0 16px rgba(255,90,90,1)); }

.ti-tg.miss-show { opacity: .62; }
.ti-tg.miss-show .fl { transform: rotateY(180deg) scale(.86); }

.ti-lion { position: absolute; z-index: 4; pointer-events: none;
    left: calc(var(--lx, 150px) - var(--lh, 300px) / 2); top: calc(var(--ly, 600px) - var(--lh, 300px)); width: var(--lh, 300px); height: var(--lh, 300px); }
.ti-lion canvas, .ti-lion-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.ti-lion-poster { object-fit: contain; transition: opacity .3s; }
.ti-lion.on .ti-lion-poster { opacity: 0; }
.ti-lion::before { content: ''; position: absolute; inset: -10% -25% 0; z-index: -1;
    background: radial-gradient(45% 50% at 50% 45%, rgba(255,214,140,.2), transparent 70%); }

.ti-counter { position: absolute; left: 0; right: 0; top: var(--cy, 80%); bottom: 0; z-index: 5; pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 2px, transparent 2px 70px),
        linear-gradient(180deg, #7a3f1f, #5a2c14 40%, #3a1a0b);
    box-shadow: 0 -10px 30px rgba(0,0,0,.45); }

.ti-counter-top { position: absolute; left: 0; right: 0; top: -10px; height: 16px;
    background: linear-gradient(180deg, #d9985a, #a8622f 55%, #6d3a17); border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 0 #ffd873, 0 4px 0 #8a5a14, inset 0 2px 0 rgba(255,230,190,.5); }
.ti-counter::after { content: ''; position: absolute; left: 0; right: 0; top: 18px; bottom: 0; opacity: .5;
    background: repeating-linear-gradient(90deg, #b3202f 0 36px, #f3e4c8 36px 72px);
    -webkit-mask: linear-gradient(180deg, transparent, #000 40%); mask: linear-gradient(180deg, transparent, #000 40%); }

.ti-tosha { position: absolute; z-index: 4; right: 6%; top: var(--cy, 80%); height: calc(var(--ch, 120px) * 1.9); width: auto; pointer-events: none;
    transform: translateY(0); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.ti-tosha.on { opacity: 1; transform: translateY(-88%); animation: tiHop .6s ease-in-out .35s 3; }
@keyframes tiHop { 50% { transform: translateY(-100%) rotate(-3deg); } }

.ti-fx { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; pointer-events: none; }

.ti-board { position: absolute; z-index: 8; right: 16px; bottom: calc(var(--ch, 120px) / 2); translate: 0 50%; display: flex; align-items: center; gap: 14px; pointer-events: none;
    padding: 10px 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(40,14,8,.92), rgba(20,6,4,.95));
    box-shadow: 0 0 0 1px rgba(255,211,90,.4), 0 10px 26px -10px rgba(0,0,0,.8), inset 0 0 18px rgba(255,190,60,.12); }
.ti-corks { display: flex; gap: 6px; }
.ti-corks i { width: 16px; height: 22px; border-radius: 5px 5px 7px 7px; background: linear-gradient(90deg, #7a3a1a, #d98a4a 45%, #7a3a1a); box-shadow: 0 2px 4px rgba(0,0,0,.5), inset 0 3px 0 rgba(255,220,180,.35); transition: .3s; }
.ti-corks i.used { opacity: .22; transform: translateY(3px) scale(.85); filter: grayscale(1); }
.ti-corks i.gold { background: linear-gradient(90deg, #8a5a0c, #ffe08a 45%, #8a5a0c); box-shadow: 0 0 12px rgba(255,210,80,.9); animation: tiX .5s cubic-bezier(.2,1.6,.4,1); }
.ti-corks i.gold.used { opacity: .35; }
@keyframes tiX { from { transform: scale(.3); } }
.ti-sum { display: grid; gap: 4px; min-width: 84px; }
.ti-sum small { font: 800 10px/1 Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ti-sum b { font: 800 18px/1 Unbounded, sans-serif; color: var(--gold); text-shadow: 0 0 12px rgba(255,190,40,.45); white-space: nowrap; }

.ti-sign { position: absolute; left: 16px; top: 14px; z-index: 9; display: flex; align-items: center; gap: 9px; pointer-events: none;
    height: 40px; padding: 0 14px; border-radius: 12px; white-space: nowrap;
    background: linear-gradient(180deg, #0d4a3e, #062a23);
    box-shadow: 0 0 0 2px #e8a91f, 0 0 0 4px rgba(6,30,24,.9), 0 0 22px -2px rgba(255,190,60,.55), inset 0 0 14px rgba(24,199,160,.25); }
.ti-sign b { font: 800 17px/1 Unbounded, sans-serif; letter-spacing: .03em; text-transform: uppercase; color: #fff4d6;
    text-shadow: 0 0 6px rgba(255,211,90,.9), 0 0 18px rgba(255,160,40,.6); }
.ti-sign b span { color: var(--gold); }
.ti-bulbs { width: 24px; height: 8px; background: radial-gradient(circle, #ffe27a 0 2.6px, transparent 3px) 0 50% / 8px 8px repeat-x;
    filter: drop-shadow(0 0 3px #ffc233); animation: tiChase .7s steps(2) infinite; }
.ti-bulbs.r { animation-direction: reverse; }
@keyframes tiChase { 50% { background-position: 4px 50%; } }
.ti[data-phase="done"] .ti-bulbs, .ti[data-phase="gold"] .ti-bulbs { animation-duration: .2s; }

.ti-level { position: absolute; left: 16px; top: 64px; z-index: 9; display: flex; align-items: center; gap: 6px; pointer-events: none;
    height: 28px; padding: 0 11px; border-radius: 10px; font: 700 12px/1 Manrope, sans-serif; color: rgba(255,255,255,.85);
    background: rgba(12,20,18,.7); box-shadow: inset 0 0 0 1px rgba(255,211,90,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ti-level b { font: 800 12px/1 Unbounded, sans-serif; color: #fff; }
.ti-level i { font: 800 12px/1 Unbounded, sans-serif; font-style: normal; color: var(--gold); }
.ti[data-lv="loud"] .ti-level { box-shadow: inset 0 0 0 1px rgba(255,91,122,.5), 0 0 16px -4px rgba(255,91,122,.6); }

.ti-hud { position: absolute; right: 16px; top: 16px; z-index: 9; display: flex; justify-content: flex-end; width: min(46%, 420px); pointer-events: none; }
.ti-recent { flex: 1; min-width: 0; display: flex; justify-content: flex-end;

    flex-wrap: wrap; align-content: flex-start; gap: 40px 6px; max-height: 28px; overflow: hidden; }
.ti-recent span { flex: none; display: flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 10px;
    font: 800 11.5px/1 Unbounded, sans-serif; color: rgba(255,255,255,.6);
    background: rgba(12,20,18,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ti-recent span.part { color: #cfe; }
.ti-recent span.w { color: #05281b; background: linear-gradient(180deg, #d8fff0, var(--mint)); }
.ti-recent span.big { color: #2a1606; background: linear-gradient(180deg, #fff3c4, var(--gold)); }
.ti-recent span.s::after { content: '✦'; margin-left: 4px; color: #ffd35a; font-size: 10px; }
.ti-recent span.w.s::after, .ti-recent span.big.s::after { color: #8e1a33; }
.ti-recent span.new { animation: tiChip .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes tiChip { from { transform: translateX(24px) scale(.6); opacity: 0; } }

.ti-plus { position: absolute; z-index: 10; translate: -50% 0; pointer-events: none; white-space: nowrap;
    font: 800 16px/1 Unbounded, sans-serif; color: var(--mint); text-shadow: 0 2px 0 rgba(0,0,0,.5), 0 0 14px rgba(111,245,196,.6);
    animation: tiPlus 1.5s ease-out forwards; }
.ti-plus.t2 { color: var(--gold); font-size: 19px; text-shadow: 0 2px 0 rgba(0,0,0,.5), 0 0 16px rgba(255,190,40,.7); }
.ti-plus.t3, .ti-plus.t4 { color: #fff; font-size: 24px; text-shadow: 0 2px 0 #8e1a33, 0 0 20px rgba(255,120,90,.9); }
@keyframes tiPlus { 0% { transform: translateY(10px) scale(.6); opacity: 0; } 15% { transform: translateY(0) scale(1.1); opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(-40px); opacity: 0; } }

.ti-say { position: absolute; right: 3%; top: 76px; z-index: 10; max-width: min(34%, 300px); pointer-events: none;
    padding: 10px 14px; border-radius: 16px 16px 4px 16px; text-align: left;
    font: 700 13px/1.35 Manrope, sans-serif; color: #fff;
    background: rgba(14,28,24,.88); box-shadow: 0 10px 26px -12px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,211,90,.35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ti-say.pop { animation: tiSay .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes tiSay { from { transform: translateY(-8px) scale(.9); opacity: 0; } }

.ti-ask { position: absolute; left: 50%; top: calc(var(--cy, 80%) - 26px); z-index: 10; translate: -50% -50%;
    display: flex; align-items: baseline; gap: 10px; pointer-events: none; white-space: nowrap;
    padding: 9px 18px; border-radius: 999px;
    background: linear-gradient(180deg, rgba(10,52,43,.94), rgba(5,26,22,.94));
    box-shadow: 0 0 0 2px rgba(255,211,90,.8), 0 0 26px -2px rgba(255,190,40,.55); animation: tiAskIn .45s cubic-bezier(.2,1.5,.4,1), tiAskPulse 1.6s ease-in-out .45s infinite; }
.ti-ask b { font: 800 16px/1 Unbounded, sans-serif; color: var(--gold); text-shadow: 0 0 12px rgba(255,190,40,.6); }
.ti-ask small { font: 700 12.5px/1 Manrope, sans-serif; color: rgba(255,255,255,.8); }
.ti[data-phase="gold"] .ti-ask { background: linear-gradient(180deg, #5a3a06, #2e1c02); box-shadow: 0 0 0 2px #ffe08a, 0 0 36px rgba(255,200,60,.8); }
@keyframes tiAskIn { from { transform: translateY(14px) scale(.8); opacity: 0; } }
@keyframes tiAskPulse { 50% { box-shadow: 0 0 0 2px rgba(255,211,90,1), 0 0 36px 2px rgba(255,190,40,.7); } }

.ti-banner { position: absolute; left: 50%; top: 30%; z-index: 11; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; pointer-events: none;
    padding: 14px 28px 14px; border-radius: 20px; text-align: center;
    background: linear-gradient(180deg, rgba(74,48,8,.95), rgba(34,20,2,.95));
    box-shadow: 0 0 0 2px rgba(255,226,122,.9), 0 0 50px 6px rgba(255,190,40,.5), 0 20px 50px -16px rgba(0,0,0,.8);
    animation: tiBanner 2.2s cubic-bezier(.2,1.4,.4,1) forwards; }
.ti-banner img { height: 90px; margin-top: -60px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.ti-banner b { font: 800 36px/1 Unbounded, sans-serif;
    background: linear-gradient(180deg, #fff6cf, var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ti-banner small { font: 700 13px/1.2 Manrope, sans-serif; color: rgba(255,255,255,.9); }
@keyframes tiBanner { 0% { transform: scale(.4) rotate(-6deg); opacity: 0; } 12% { transform: scale(1.12) rotate(2deg); opacity: 1; }
    22% { transform: scale(1); } 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.9) translateY(-14px); } }

.ti-flash { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; }
.ti-flash.on { animation: tiFlash .7s ease-out; background: radial-gradient(50% 50% at var(--fx, 50%) 45%, rgba(255,220,140,.6), rgba(24,199,160,.2) 45%, transparent 75%); }
.ti-flash.on.gold { background: radial-gradient(70% 60% at var(--fx, 50%) 45%, rgba(255,236,160,.85), rgba(255,190,40,.4) 45%, transparent 80%); }
@keyframes tiFlash { 0% { opacity: 1; } 25% { opacity: .35; } 40% { opacity: .8; } 100% { opacity: 0; } }

.ti-win { position: absolute; left: 50%; top: 42%; z-index: 11; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; min-width: 240px;
    padding: 14px 26px 16px; border-radius: 22px; text-align: center; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,44,37,.95), rgba(4,20,17,.96));
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,211,90,.5), 0 0 34px -4px rgba(255,190,40,.4);
    animation: tiWin .55s cubic-bezier(.2,1.5,.4,1); }
.ti-win.out { animation: tiWinOut .3s ease-in forwards; }
@keyframes tiWin { from { transform: scale(.5); opacity: 0; } }
@keyframes tiWinOut { to { transform: scale(.85); opacity: 0; } }
.ti-win .ln { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }
.ti-win .ln i { font: 800 12px/1 Unbounded, sans-serif; font-style: normal; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; }
.ti-win .ln i.z { color: rgba(255,255,255,.45); }
.ti-win .ln i.p { color: #05281b; background: var(--mint); }
.ti-win .ln i.t { color: #3a2206; background: #d9c3ff; }
.ti-win .ln i.g { color: #3a2206; background: linear-gradient(180deg, #fff3c4, var(--gold)); box-shadow: 0 0 12px rgba(255,200,60,.6); }
.ti-win .ln em { font-style: normal; color: rgba(255,255,255,.4); font-weight: 800; }
.ti-win small { font: 700 12px/1.3 Manrope, sans-serif; color: rgba(255,255,255,.7); }
.ti-win b { font: 800 48px/1 Unbounded, sans-serif; letter-spacing: -.03em;
    background: linear-gradient(180deg, #fff, #ffe7a8 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 14px rgba(255,190,40,.45)); }
.ti-win .w { font: 800 18px/1 Unbounded, sans-serif; color: var(--mint); }
.ti-win .l { font: 700 12.5px/1 Manrope, sans-serif; color: rgba(255,255,255,.55); }
.ti-win.t3 { box-shadow: 0 0 0 2px rgba(255,212,90,.85), 0 0 60px 6px rgba(255,212,90,.45), 0 24px 60px -20px rgba(0,0,0,.9); }
.ti-win.t3 b { font-size: 60px; background: linear-gradient(180deg, #fff6cf, var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; }
.ti-win.miss b { background: none; -webkit-text-fill-color: rgba(255,255,255,.45); color: rgba(255,255,255,.45); filter: none; font-size: 38px; }

.ti-bet.is-live .field, .ti-bet.is-live .quick-row, .ti-bet.is-live .ti-lv { opacity: .45; pointer-events: none; transition: opacity .3s; }
.ti-opts { margin: 12px 0 2px; }
.ti-lv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 13px;
    background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.ti-lv button { position: relative; display: grid; justify-items: center; align-content: center; gap: 5px; height: 54px; border-radius: 10px; color: var(--dim); transition: .2s; }
.ti-lv b { font: 800 14px/1 Unbounded, sans-serif; color: var(--text); }
.ti-lv small { font: 700 10.5px/1 Manrope, sans-serif; color: var(--faint); white-space: nowrap; }
.ti-lv em { position: absolute; top: -7px; right: 8px; padding: 2px 6px; border-radius: 6px; font: 800 9px/1.2 Unbounded, sans-serif; font-style: normal;
    color: #fff; background: linear-gradient(180deg, #ff5b7a, var(--ruby)); box-shadow: 0 3px 8px -3px rgba(224,48,79,.9); }
.ti-lv button.on { background: linear-gradient(180deg, #d4fff3, var(--teal) 60%, #0d8a70); box-shadow: 0 6px 16px -8px rgba(24,199,160,.95); }
.ti-lv button.on.loud { background: linear-gradient(180deg, #ffd0da, #ff5b7a 55%, #b3203f); box-shadow: 0 6px 16px -8px rgba(224,48,79,.95); }
.ti-lv button.on b, .ti-lv button.on small { color: #06231d; }
.ti-lv button.on.loud b, .ti-lv button.on.loud small { color: #fff; }
.ti-per { margin: 10px 2px 0; font: 600 12.5px/1.3 Manrope, sans-serif; color: var(--dim); text-align: center; }
.ti-per b { color: var(--gold); font-weight: 800; }
.ti-bet .ti-go { margin-top: 12px; }
.ti-go, .dock [data-ti-go] { color: #2a1606 !important; background: linear-gradient(180deg, #fff3c4, var(--gold) 50%, var(--gold-2)) !important; box-shadow: 0 14px 30px -12px rgba(255,190,40,.95) !important; }
.ti-go.is-pick, .dock [data-ti-go].is-pick { color: #fff !important; background: linear-gradient(180deg, #ff7a94, var(--ruby) 55%, #a8173a) !important; box-shadow: 0 14px 30px -12px rgba(224,48,79,.95) !important; }
.ti-go.is-wait, .dock [data-ti-go].is-wait { opacity: .6; pointer-events: none; }
.ti-go.nudge, .dock [data-ti-go].nudge { animation: tiNudge .5s ease-in-out; }
@keyframes tiNudge { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.ti-top-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ti-top-tag { padding: 4px 8px; border-radius: 999px; font: 800 10px/1 Manrope, sans-serif; letter-spacing: .06em; color: var(--dim); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.ti-top-row { --c: 255,211,90; position: relative; overflow: hidden; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 12px 12px 10px; border-radius: 14px;
    background: linear-gradient(100deg, rgba(var(--c),.13), rgba(var(--c),.03) 55%, transparent), var(--surface-3); box-shadow: inset 0 0 0 1px rgba(var(--c),.16); }
.ti-top-row + .ti-top-row { margin-top: 8px; }
.ti-top-row.is-mult { --c: 24,199,160; }
.ti-top-row::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: rgb(var(--c)); box-shadow: 0 0 12px rgba(var(--c),.8); }
.ti-top-row i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-style: normal; background: rgba(var(--c),.1); box-shadow: inset 0 0 0 1px rgba(var(--c),.25); }
.ti-top-row svg { width: 20px; height: 20px; fill: none; stroke: rgb(var(--c)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(var(--c),.6)); }
.ti-top-row .v { min-width: 0; }
.ti-top-row small { display: block; font: 800 10px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.ti-top-row b { display: block; font: 800 17px/1 Unbounded, sans-serif; letter-spacing: -.02em; color: rgb(var(--c)); text-shadow: 0 0 16px rgba(var(--c),.35); white-space: nowrap; }
.ti-top-row em { display: grid; justify-items: end; gap: 6px; font-style: normal; min-width: 0; }
.ti-top-row .nm { display: flex; align-items: center; gap: 6px; max-width: 110px; font: 700 12px/1 Manrope, sans-serif; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ti-top-row .nm.is-empty { color: var(--faint); }
.ti-top-row .av { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; font: 800 9.5px/1 Manrope, sans-serif; color: #1b1206; background: linear-gradient(180deg, #fff1bf, rgb(var(--c))); }
.ti-top-row .px { padding: 4px 7px; border-radius: 7px; font: 800 11px/1 Manrope, sans-serif; color: var(--dim); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
.ti-top-row.is-empty b { color: var(--faint); text-shadow: none; }

@media (max-width: 1300px), (max-height: 900px) {
    .ti { height: 620px; }
}
@media (min-width: 761px) and (max-height: 800px) {
    .ti { height: calc(100vh - 110px); min-height: 440px; }
}

.ti.is-narrow .ti-say { left: 50%; right: auto; top: 46px; translate: -50% 0; max-width: calc(100% - 24px); width: max-content;
    border-radius: 14px; text-align: center; font-size: 12px; padding: 6px 12px; }
.ti.is-narrow[data-phase="done"] .ti-say, .ti.is-narrow[data-phase="aim"] .ti-say { display: none; }
.ti.is-narrow .ti-board { right: 8px; gap: 8px; padding: 7px 10px; border-radius: 12px; }
.ti.is-narrow .ti-corks i { width: 12px; height: 17px; }
.ti.is-narrow .ti-sum { min-width: 0; }
.ti.is-narrow .ti-sum b { font-size: 14px; }
.ti.is-narrow .ti-sum small { font-size: 9px; }
.ti.is-narrow .ti-ask { padding: 7px 14px; gap: 8px; }
.ti.is-narrow .ti-ask b { font-size: 13px; }
.ti.is-narrow .ti-ask small { font-size: 11px; }
.ti.is-narrow .ti-win { min-width: 0; width: calc(100% - 32px); max-width: 320px; padding: 10px 16px 12px; }
.ti.is-narrow .ti-win b { font-size: 38px; }
.ti.is-narrow .ti-win.t3 b { font-size: 44px; }
.ti.is-narrow .ti-banner { padding: 10px 18px; }
.ti.is-narrow .ti-banner b { font-size: 26px; }
.ti.is-narrow .ti-banner img { height: 64px; margin-top: -40px; }
.ti.is-narrow .ti-tosha { right: 32%; }
.ti.is-narrow .ti-plus { font-size: 13px; }

@media (max-width: 760px) {

    .ti { height: max(340px, calc(var(--free, 640px) - 10px)); border-radius: var(--r-lg); }
    .ti-sign { left: 10px; top: 10px; height: 32px; padding: 0 10px; gap: 6px; border-radius: 10px; }
    .ti-sign b { font-size: 13px; }
    .ti-bulbs { width: 12px; }
    .ti-hud { display: none; }
    .ti-level { left: auto; right: 10px; top: 12px; height: 28px; font-size: 11px; padding: 0 9px; }
    .ti-opts { margin-top: 0; }
    .ti-lv button { height: 46px; gap: 4px; }
    .ti-lv b { font-size: 13px; }
    .ti-per { display: none; }
}

.ti.is-short .ti-win { gap: 3px; padding: 8px 14px 10px; }
.ti.is-short .ti-win b, .ti.is-short .ti-win.t3 b { font-size: 30px; }
.ti.is-short .ti-win .ln i { font-size: 10.5px; padding: 4px 6px; }

.is-lite .ti-recent span, .is-lite .ti-level, .is-lite .ti-say { -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-lite .ti-tg.can .fr img { animation: none; }
.is-lite .ti-tg[data-tier="3"] .bk b, .is-lite .ti-tg[data-tier="4"] .bk b { animation: none; }
@media (prefers-reduced-motion: reduce) {
    .ti *, .ti { animation-duration: .01s !important; animation-iteration-count: 1 !important; }
}

.ti > .brandmark { z-index: 6; --bm-y: 5%; }
