.th-app{--th-gold:#ffd84a;--th-cyan:#5ceaff;--th-quiet:#9fb6d6;--th-card:linear-gradient(160deg,#0b53b1,#041c5d);--th-line:#2aa2ff55;width:100%;max-width:1180px;padding:12px 16px calc(110px + env(safe-area-inset-bottom));color:#fff;font-family:var(--font-game,inherit);box-sizing:border-box;flex-direction:column;gap:14px;margin:0 auto;display:flex}.th-app *{box-sizing:border-box}.th-hero{background:radial-gradient(circle at 12% 30%,#ffd84a33,#0000 40%),linear-gradient(#0d4597,#061d58);border:2px solid #328aff;border-radius:20px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:4px 14px;padding:14px;display:grid;box-shadow:0 4px #00133f}.th-hero-art{object-fit:contain;filter:drop-shadow(0 0 10px #ffd54b88);width:72px;height:72px}.th-hero-text h1{color:var(--th-gold);text-shadow:0 2px #7a3d00;margin:0;font-size:24px}.th-hero-text p{color:#dbe9ff;margin:4px 0 0;font-size:13.5px;line-height:1.5}.th-hero-text b{color:#fff}.th-hero-actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:8px;display:grid}.th-btn{color:#fff;min-height:46px;font:800 15px/1 var(--font-game,inherit);cursor:pointer;white-space:nowrap;background:linear-gradient(#1764bd,#052563);border:2px solid #3ea8ff;border-radius:14px;justify-content:center;align-items:center;gap:6px;padding:0 16px;text-decoration:none;display:inline-flex}.th-btn:disabled{opacity:.55;cursor:default}.th-btn img{object-fit:contain;width:22px;height:22px}.th-btn-gold{color:#3a2300;background:linear-gradient(#ffed3f,#ff9d00);border-color:#fff04b;box-shadow:0 3px #a94700}.th-btn-sm{border-radius:12px;min-height:38px;padding:0 12px;font-size:13px}.th-code{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.th-code input{color:#fff;min-width:0;min-height:46px;font:700 15px var(--font-game,inherit);text-transform:uppercase;background:#04173f;border:2px solid #328aff;border-radius:14px;padding:0 12px}.th-code input::placeholder{text-transform:none;color:#8fa6c8}.th-code button{color:#fff;background:#0b3b8a;border:2px solid #3ea8ff;border-radius:14px;min-height:46px;padding:0 14px;font-weight:800}.th-code button:disabled{opacity:.5}.th-modes{scrollbar-width:none;gap:8px;padding:2px 2px 4px;display:flex;overflow-x:auto}.th-modes::-webkit-scrollbar{display:none}.th-modes button{color:#dff2ff;min-height:44px;font:800 14px var(--font-game,inherit);cursor:pointer;background:#062a6ecc;border:2px solid #2aa2ff66;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 14px 0 8px;display:inline-flex}.th-modes button:first-child{padding-left:14px}.th-modes button img{object-fit:contain;width:28px;height:28px}.th-modes button small{color:#58efa4;background:#58efa433;border-radius:999px;min-width:20px;padding:1px 6px;font-size:11px}.th-modes button.active{color:#3a2300;background:linear-gradient(#ffed3f,#ff9d00);border-color:#fff04b}.th-modes button.active small{color:#3a2300;background:#3a230022}.th-filters{flex-wrap:wrap;gap:6px;display:flex}.th-filters button{color:#dbe9ff;min-height:36px;font:700 13px var(--font-game,inherit);cursor:pointer;background:#ffffff12;border:1px solid #fff3;border-radius:999px;padding:0 12px}.th-filters button.active{color:#c9ffe4;background:#58efa426;border-color:#58efa4}.th-section{flex-direction:column;gap:10px;display:flex}.th-sec-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.th-sec-head h2{color:var(--th-gold);text-shadow:0 2px #7a3d00;align-items:center;gap:8px;margin:0;font-size:19px;display:inline-flex}.th-sec-head h2 img{object-fit:contain;width:28px;height:28px}.th-sec-head span{color:var(--th-quiet);font-size:12px}.th-sec-note{color:#ffe7a1;margin:-4px 0 0;font-size:12.5px}.th-live-dot{background:#ff4d6d;border-radius:50%;width:11px;height:11px;animation:1.6s ease-in-out infinite th-pulse;display:inline-block;box-shadow:0 0 0 4px #ff4d6d33}@keyframes th-pulse{50%{box-shadow:0 0 0 7px #ff4d6d0f}}.th-grid{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.th-card{border:1px solid var(--th-line);background:var(--th-card);border-radius:18px;flex-direction:column;min-width:0;display:flex;overflow:hidden;box-shadow:0 3px #00133f}.th-card.is-running{border-color:#58efa4aa}.th-card.is-official{border:2px solid #ffd84aaa}.th-card.is-featured{background:radial-gradient(circle at 90% 0,#ffd84a33,#0000 45%),linear-gradient(160deg,#1556b8,#06205e);box-shadow:0 0 18px #ffd54b33,0 3px #00133f}.th-card.is-mine{box-shadow:inset 0 0 0 2px #58efa4aa,0 3px #00133f}.th-card.is-finished{opacity:.88}.th-card-main{color:inherit;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:12px 12px 8px;text-decoration:none;display:grid}.th-card-art{background:#04173f;border-radius:14px;place-items:center;width:76px;height:76px;display:grid;overflow:hidden}.th-card-cover{object-fit:cover;width:100%;height:100%}.th-card-mode{object-fit:contain;width:62px;height:62px}.th-card-body{flex-direction:column;gap:3px;min-width:0;display:flex}.th-card-chips{flex-wrap:wrap;gap:4px;display:flex}.th-mode-chip,.th-chip{color:#dff2ff;white-space:nowrap;background:#ffffff1a;border-radius:999px;align-items:center;gap:3px;padding:2px 8px 2px 4px;font-size:11px;font-weight:800;display:inline-flex}.th-chip{padding-left:8px}.th-mode-chip img{object-fit:contain;width:16px;height:16px}.th-chip.is-gold{color:#ffe98a;background:#ffd84a2e}.th-chip.is-ok{color:#9ff7c8;background:#58efa42e}.th-chip.is-hot{color:#ffc0cc;background:#ff4d6d38}.th-card-name{overflow-wrap:anywhere;font-size:17px;line-height:1.3}.th-card-host,.th-card-meta{color:#bfd6f5;font-size:12px;line-height:1.4}.th-card-money{color:#ffe98a;align-items:center;gap:4px;font-size:12px;font-weight:800;display:inline-flex}.th-card-money img{width:16px;height:16px}.th-card-foot{border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding:8px 12px 12px;display:flex}.th-when{color:#dbe9ff;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;font-size:12.5px;font-weight:700;display:inline-flex}.th-when em{color:#58efa4;font-style:normal;font-weight:900}.th-when.is-running{color:#9ff7c8}.th-card-error{color:#ffb3b3;margin:0 12px 10px;font-size:12px}.th-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.th-days button{color:#bfd6f5;min-height:64px;font-family:var(--font-game,inherit);cursor:pointer;background:#062a6ecc;border:1px solid #2aa2ff44;border-radius:14px;justify-items:center;gap:1px;padding:6px 2px;display:grid}.th-days small{white-space:nowrap;font-size:11px}.th-days b{color:#fff;white-space:nowrap;font-size:18px;line-height:1.1}.th-days em{color:#7f97bd;font-size:10.5px;font-style:normal}.th-days button.has em{color:#58efa4;font-weight:800}.th-days button.active{background:#ffd84a26;border:2px solid #fff04b}.th-more{color:#fff;min-height:42px;font:800 14px var(--font-game,inherit);cursor:pointer;background:#ffffff12;border:1px solid #fff3;border-radius:999px;align-self:center;padding:0 20px}.th-empty{text-align:center;color:var(--th-quiet);margin:0;padding:12px;font-size:14px}.th-empty-art{background:#ffffff0d;border-radius:18px;justify-items:center;gap:6px;padding:20px;display:grid}.th-empty-art img{object-fit:contain;width:110px;height:110px}.th-empty-art p{margin:0}.th-error{color:#ffc0cc;background:#ff4d6d26;border-radius:12px;margin:0;padding:8px 12px}.th-app{container-type:inline-size}@container (min-width:600px){.th-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-hero{grid-template-columns:96px minmax(0,1fr) auto}.th-hero-art{width:96px;height:96px}.th-hero-actions{grid-column:auto;grid-template-columns:auto 200px;margin-top:0}.th-hero-text h1{font-size:28px}}@container (min-width:1000px){.th-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1024px){.th-app{padding-top:20px}}@media (max-width:360px){.th-days{grid-template-columns:repeat(4,minmax(0,1fr))}.th-hero-actions{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.th-live-dot{animation:none}}:root[data-ui-theme] .th-app:not(#_) :is(.th-hero,.th-card,.th-days button,.th-modes button:not(.active),.th-filters button,.th-empty-art){background:var(--ut-surface-2)!important;border-color:var(--ut-border)!important;box-shadow:none!important;color:var(--ut-text)!important}:root[data-ui-theme] .th-app:not(#_) :is(.th-sec-head h2,.th-hero-text h1){color:var(--ut-gold-text)!important;text-shadow:none!important}:root[data-ui-theme] .th-app:not(#_) :is(.th-card-host,.th-card-meta,.th-when,.th-sec-head span,.th-hero-text p){color:var(--ut-muted)!important}:root[data-ui-theme] .th-app:not(#_) .th-card.is-official{border-color:var(--ut-accent)!important}.gd-panel.tcf-gd{max-width:620px}.tcf,.tcf-step{flex-direction:column;gap:12px;display:flex}.tcf-step[hidden]{display:none}.tcf-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.tcf-steps button{color:#bfd6f5;width:100%;min-height:44px;font:700 12px/1.25 var(--font-game,inherit);text-align:left;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff2a;border-radius:12px;align-items:center;gap:6px;padding:4px 8px;display:flex}.tcf-steps i{border:2px solid #fff4;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:12px;font-style:normal;font-weight:900;display:grid}.tcf-steps li.active button{color:#fff;background:#ffd84a1f;border-color:#ffd84a}.tcf-steps li.active i{color:#3a2300;background:#ffd84a;border-color:#ffd84a}.tcf-steps li.done i{color:#06331f;background:#58efa4;border-color:#58efa4}.tcf-name input{font-weight:800;font-size:17px!important}.tcf-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tcf-modes button{color:#fff;text-align:left;min-height:64px;font-family:var(--font-game,inherit);cursor:pointer;background:#062a6ecc;border:1px solid #2aa2ff55;border-radius:14px;grid-template-rows:auto auto;grid-template-columns:40px minmax(0,1fr);align-items:center;column-gap:8px;padding:8px;display:grid}.tcf-modes img{object-fit:contain;grid-row:1/3;width:40px;height:40px}.tcf-modes b{font-size:14px}.tcf-modes small{color:#bfd6f5;font-size:11px;line-height:1.3}.tcf-modes button.active{background:#ffd84a1f;border:2px solid #ffd84a;box-shadow:0 0 12px #ffd54b44}.tcf-foot{flex-direction:column;gap:8px;width:100%;display:flex}.tcf-summary{text-align:left;background:#ffffff10;border:1px solid #fff2;border-radius:12px;gap:1px;padding:8px 12px;display:grid}.tcf-summary small{color:#9fb6d6;letter-spacing:.04em;font-size:10.5px;font-weight:800}.tcf-summary b{color:#ffe98a;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.tcf-summary span{color:#dbe9ff;font-size:12px;line-height:1.4}.tcf-foot .tour-error{margin:0}.tcf-foot-btns{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;display:grid}.tcf-foot-btns>button{min-height:48px;font:800 15px var(--font-game,inherit);cursor:pointer;border-radius:14px}.tcf-back,.tcf-quick{color:#fff;background:#0b3b8a;border:2px solid #3ea8ff}.tcf-quick:disabled,.tcf-back:disabled{opacity:.5;cursor:default}.tcf-foot-btns .tour-primary{width:100%;margin:0}@media (max-width:380px){.tcf-steps span{font-size:10.5px}.tcf-modes{grid-template-columns:1fr}}.gd-panel.tcf-gd .gd-body a.tour-link-btn{text-decoration:none}
