.teeraktcg-game{height:100dvh;max-height:100dvh;overflow:hidden}.teeraktcg-catalog{min-height:100dvh}.trt-root{--trt-ink:#fff5f8;--trt-muted:#f4b8c8;--trt-line:#ffb6c147;--trt-panel:#300c1cb8;--trt-cute:#2dd4bf;--trt-cool:#7dd3fc;--trt-sexy:#f9a8d4;--trt-hand-gap:.32rem;--trt-card-w:min(5.5rem, calc((100vw - 2.4rem - 1.28rem) / 5));--trt-card-h:calc(var(--trt-card-w) * 1.5);box-sizing:border-box;height:100dvh;max-height:100dvh;padding:.65rem .7rem calc(3.25rem + env(safe-area-inset-bottom,0px));color:var(--trt-ink);touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:radial-gradient(80% 50% at 50% -10%,#2dd4bf47,#0000 55%),radial-gradient(50% 40% at 90% 90%,#38bdf829,#0000 50%),radial-gradient(40% 35% at 8% 80%,#f472b638,#0000 50%),#1a0812;flex-direction:column;font-family:Segoe UI,Sarabun,system-ui,sans-serif;display:flex;position:relative;overflow:hidden}.trt-frame{flex-direction:column;flex:1;gap:.35rem;width:100%;max-width:720px;min-height:0;margin:0 auto;display:flex}.trt-header{flex-wrap:nowrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.trt-brand{min-width:0}.trt-kicker{letter-spacing:.16em;text-transform:uppercase;color:var(--trt-muted);margin:0;font-size:.68rem;font-weight:700}.trt-title{letter-spacing:-.03em;margin:0;font-size:clamp(1.05rem,4.2vw,1.55rem);font-weight:800;line-height:1.1}.trt-cycle{color:var(--trt-muted);white-space:nowrap;text-overflow:ellipsis;margin:.15rem 0 0;font-size:clamp(.62rem,2.4vw,.78rem);overflow:hidden}.trt-songs{color:var(--trt-ink,inherit);flex-wrap:wrap;gap:.45rem .85rem;margin:.28rem 0 0;font-size:clamp(.7rem,2.6vw,.88rem);display:flex}.trt-song.is-next{color:var(--trt-muted)}.trt-header-meta{flex-shrink:0;align-items:center;gap:.55rem;display:flex}.trt-scoreboard{border:1px solid var(--trt-line);background:var(--trt-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.85rem;align-items:center;gap:.45rem;padding:.28rem .6rem;display:flex}.trt-score{flex-direction:column;align-items:center;min-width:1.8rem;display:flex}.trt-score-label{letter-spacing:.1em;text-transform:uppercase;color:var(--trt-muted);font-size:.55rem}.trt-score-value{font-size:clamp(1.05rem,3.5vw,1.35rem);font-weight:800;line-height:1.1}.trt-score-colon{opacity:.55;font-size:1.1rem;font-weight:800}.trt-round{letter-spacing:.06em;text-transform:uppercase;color:var(--trt-muted);white-space:nowrap;margin:0;font-size:.72rem;font-weight:700}.trt-arena{border:1px solid var(--trt-line);background:#ffffff0a;border-radius:.85rem;flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:.35rem;padding:.3rem .4rem .28rem;display:grid}.trt-arena.is-log{opacity:.82}.trt-slot{flex-direction:column;justify-content:center;align-items:center;gap:.2rem;min-height:0;display:flex}.trt-slot-label{letter-spacing:.12em;text-transform:uppercase;color:var(--trt-muted);font-size:.62rem}.trt-slot-empty{box-sizing:border-box;width:var(--trt-card-w);height:var(--trt-card-h);color:var(--trt-muted);text-align:center;border:1px dashed #ffb6c159;border-radius:.7rem;justify-content:center;align-items:center;padding:.35rem;font-size:.68rem;display:flex}.trt-vs{letter-spacing:.16em;opacity:.7;font-size:.8rem;font-weight:800}.trt-reveal{opacity:0;flex-direction:column;align-items:center;gap:.15rem;display:flex;transform:translateY(8px)scale(.96)}.trt-reveal.is-in{animation:.28s ease-out forwards trt-fade-in}.trt-effective{color:var(--trt-muted);margin:0;font-size:.68rem}.trt-log-label{letter-spacing:.12em;text-transform:uppercase;color:var(--trt-muted);font-size:.58rem;font-weight:800}.trt-log-matchup{color:var(--trt-ink);font-size:.72rem}.trt-result{text-align:center;min-height:2.4rem;max-height:none;color:var(--trt-muted);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:.12rem;margin:0;font-size:.82rem;display:flex;overflow:visible}.trt-result strong{color:var(--trt-ink);font-size:.95rem}.trt-result.is-player strong{color:#fb7185}.trt-result.is-ai strong{color:#7dd3fc}.trt-result.is-tie strong{color:#fde68a}.trt-result.is-skip{cursor:pointer;border-radius:.75rem;padding:.2rem .4rem}.trt-skip-hint{letter-spacing:.04em;opacity:.7;font-size:.64rem}.trt-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#fb7185,#f43f5e);border:0;border-radius:999px;margin:0 auto 1rem;padding:.7rem 1.4rem;font-size:.95rem;font-weight:800;display:block;box-shadow:0 10px 24px #f43f5e47}.trt-btn:hover{filter:brightness(1.06)}.trt-btn:disabled{opacity:.45;cursor:not-allowed;filter:none;box-shadow:none;transform:none}.trt-btn:active{transform:scale(.97)}.trt-btn:disabled:active{transform:none}.trt-btn-ghost{color:var(--trt-muted);cursor:pointer;background:0 0;border:0;margin:.85rem auto 0;padding:.45rem .9rem;font-weight:700;display:block}.trt-type-picks{justify-content:center;gap:.5rem;margin-top:1rem;display:flex}.trt-type-pick{color:#fff;cursor:pointer;border:0;border-radius:.75rem;justify-items:center;gap:.12rem;min-width:5.2rem;padding:.65rem .5rem;font-weight:800;display:grid}.trt-type-pick-style{letter-spacing:.04em;opacity:.85;font-size:.62rem;font-weight:700}.trt-type-pick.is-cute{background:#0d9488}.trt-type-pick.is-cool{background:#0284c7}.trt-type-pick.is-sexy{background:#db2777}.trt-hand-label{letter-spacing:.06em;color:var(--trt-muted);margin:0 0 .28rem;font-size:.68rem}.trt-player-hand{flex-shrink:0;margin-top:auto;padding-top:0;overflow:visible}.trt-hand{justify-content:center;align-items:stretch;gap:var(--trt-hand-gap);flex-wrap:nowrap;display:flex}.trt-card{box-sizing:border-box;appearance:none;width:var(--trt-card-w);min-width:var(--trt-card-w);max-width:var(--trt-card-w);height:var(--trt-card-h);min-height:var(--trt-card-h);max-height:var(--trt-card-h);flex-direction:column;flex:0 0 var(--trt-card-w);color:#fff;text-align:left;border:2px solid #0000;border-radius:.7rem;justify-content:space-between;padding:.32rem .28rem .26rem;transition:transform .18s,box-shadow .18s,filter .18s;display:flex;position:relative;overflow:visible;box-shadow:0 8px 16px #00000047}.trt-card.is-play{width:var(--trt-card-w);min-width:var(--trt-card-w);max-width:var(--trt-card-w);height:var(--trt-card-h);min-height:var(--trt-card-h);max-height:var(--trt-card-h);flex-basis:var(--trt-card-w)}.trt-card.is-alt{outline-offset:-5px;outline:1px dashed #ffffff8c}.trt-card.is-foil{box-shadow:0 10px 20px #00000047,inset 0 0 0 1px #ffffff73}.trt-card-art,.trt-card-scrim{pointer-events:none;border-radius:calc(.7rem - 2px);position:absolute;inset:0}.trt-card-art{z-index:0;overflow:hidden}.trt-card-art img{object-fit:cover;object-position:center 18%;opacity:0;width:100%;height:100%}.trt-card-art img.is-ready{opacity:1}.trt-card-scrim{z-index:1;background:linear-gradient(#0c060a6b 0%,#0000 22% 46%,#0c060ac7 100%)}.trt-card-face{z-index:2;flex-direction:column;justify-content:space-between;height:100%;min-height:0;display:flex;position:relative}.trt-card-mid{min-width:0}.trt-card.has-art .trt-card-face{justify-content:flex-start}.trt-card.has-art .trt-card-mid{margin-top:auto}.trt-card.has-art{text-shadow:0 1px 2px #000000d9}.trt-card.has-art.is-cute{background:#134e4a}.trt-card.has-art.is-cool{background:#0c4a6e}.trt-card.has-art.is-sexy{background:#9d174d}.trt-card.is-foil.has-art:after{content:"";z-index:3;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,#0000 28%,#ffffff47 48%,#0000 64%);position:absolute;inset:0}.trt-card-top{justify-content:space-between;align-items:flex-start;gap:.2rem;display:flex}.trt-card-top-meta{flex-shrink:0;justify-items:end;gap:.18rem;display:grid}.trt-specialty{color:#fff7ed;background:#00000052;border-radius:999px;place-items:center;width:.95rem;height:.95rem;display:grid}.trt-specialty svg{width:.68rem;height:.68rem;display:block}.trt-card.is-play .trt-specialty,.trt-card.is-build .trt-specialty{width:1.05rem;height:1.05rem}.trt-card.is-play .trt-specialty svg,.trt-card.is-build .trt-specialty svg{width:.74rem;height:.74rem}.trt-rarity{letter-spacing:.04em;background:#00000047;border-radius:999px;padding:.06rem .22rem;font-size:.48rem;font-weight:800}.trt-rarity.is-n{color:#e5e7eb}.trt-rarity.is-r{color:#93c5fd}.trt-rarity.is-sr{color:#fde68a}.trt-rarity.is-ur{color:#f0abfc}.trt-rarity.is-ssr{color:#fef9c3}.trt-card-flag{letter-spacing:.06em;text-transform:uppercase;opacity:.85;font-size:.48rem;font-weight:700}.trt-card-bottom{justify-content:space-between;align-items:flex-end;gap:.2rem;display:flex}.trt-card-bottom-row{justify-content:space-between;align-items:flex-end;gap:.2rem;width:100%;min-width:0;display:flex}.trt-card-number{letter-spacing:.02em;opacity:.8;font-size:.48rem;font-weight:700}.trt-card.is-clickable:hover{transform:translateY(-6px)}.trt-card.is-clickable:active{transform:translateY(-2px)scale(.98)}.trt-card.is-disabled{filter:grayscale(.25)brightness(.82)}.trt-card.has-tip:hover,.trt-card.has-tip:focus-within{z-index:8}.trt-card-tip{color:#fff5f8;text-align:left;pointer-events:none;background:#2a1020;border:1px solid #ffb6c159;border-radius:.65rem;width:max-content;max-width:min(12.5rem,70vw);padding:.4rem .5rem;line-height:1.35;display:none;position:absolute;bottom:calc(100% + .35rem);left:50%;transform:translate(-50%)}.trt-card.has-tip:hover .trt-card-tip,.trt-card.has-tip:focus-within .trt-card-tip{gap:.2rem;display:grid}.trt-card-tip strong{font-size:.64rem;font-weight:800}.trt-card-tip span{color:#f4b8c8;font-size:.58rem;font-weight:600}.trt-card.is-play .trt-card-tip{top:auto;bottom:auto;left:calc(100% + .4rem);transform:none}.trt-card.is-cute{background:linear-gradient(#5eead4 0%,#0f766e 100%);border-color:#ccfbf1}.trt-card.is-cool{background:linear-gradient(#7dd3fc 0%,#0369a1 100%);border-color:#e0f2fe}.trt-card.is-sexy{background:linear-gradient(#fda4d4 0%,#db2777 100%);border-color:#fce7f3}.trt-card.is-back,.trt-card-back{background:repeating-linear-gradient(135deg,#ffffff14 0 8px,#0000 8px 16px),linear-gradient(160deg,#4a1530,#1f0a16);border-color:#ffb6c166}.trt-card-back{flex-direction:column;justify-content:center;align-items:center;gap:.15rem;width:100%;height:100%;display:flex}.trt-card-back-mark{font-size:.8rem;font-weight:800}.trt-card-back-sub{letter-spacing:.18em;opacity:.7;font-size:.52rem}.trt-card-identity{gap:.02rem;min-width:0;display:grid}.trt-card-type{letter-spacing:.08em;text-transform:uppercase;opacity:.95;font-size:clamp(.52rem,2vw,.68rem);font-weight:800}.trt-card-style{letter-spacing:.06em;text-transform:uppercase;opacity:.78;font-size:clamp(.4rem,1.5vw,.5rem);font-weight:700}.trt-card-name{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(.62rem,2.6vw,.82rem);font-weight:800;line-height:1.15;overflow:hidden}.trt-card-trait{opacity:.92;text-overflow:ellipsis;white-space:nowrap;margin-top:.08rem;font-size:clamp(.46rem,1.7vw,.54rem);font-weight:700;line-height:1.2;overflow:hidden}.trt-card-power{align-items:baseline;gap:.18rem;display:flex}.trt-card-power-value{font-size:clamp(.95rem,3.4vw,1.35rem);font-weight:800;line-height:1}.trt-card-power-label{letter-spacing:.08em;opacity:.75;font-size:.5rem}.trt-help-btn{border:1px solid var(--trt-line);background:var(--trt-panel);color:var(--trt-ink);letter-spacing:.04em;cursor:pointer;border-radius:999px;flex-shrink:0;align-items:center;padding:.28rem .55rem;font-size:.68rem;font-weight:800;text-decoration:none;display:inline-flex}.trt-help-btn:hover{border-color:#ffb6c18c}.trt-help-overlay{z-index:50}.trt-help-modal{text-align:left;-webkit-user-select:text;user-select:text;flex-direction:column;width:min(100%,34rem);max-height:min(90dvh,44rem);padding:1.05rem 1rem .9rem;display:flex;overflow:hidden}.trt-help-head{flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.trt-help-modal h2{margin:.1rem 0 0;font-size:1.25rem}.trt-help-close{color:var(--trt-ink);cursor:pointer;background:#ffffff1a;border:0;border-radius:999px;padding:.28rem .7rem;font-size:.78rem;font-weight:800}.trt-help-tabs{flex-shrink:0;gap:.3rem;margin:.75rem 0 .65rem;display:flex}.trt-help-tab{border:1px solid var(--trt-line);color:var(--trt-muted);cursor:pointer;background:0 0;border-radius:999px;flex:1;padding:.38rem .2rem;font-size:.68rem;font-weight:800}.trt-help-tab.is-on{color:var(--trt-ink);background:#fb718538;border-color:#fb71858c}.trt-help-body{min-height:0;padding-bottom:.4rem;overflow:auto}.trt-help-badge{color:#bae6fd;background:#38bdf829;border-radius:.65rem;margin:0 0 .7rem;padding:.35rem .6rem;font-size:.72rem;font-weight:700}.trt-help-badge.is-soon{color:#fde68a;background:#fde68a1f}.trt-help-section{margin:0 0 .85rem}.trt-help-section h3{letter-spacing:.04em;margin:0 0 .35rem;font-size:.82rem}.trt-help-section p,.trt-help-section li{color:#fce7f3;font-size:.78rem;line-height:1.45}.trt-help-section ol,.trt-help-section ul{gap:.28rem;margin:0;padding-left:1.15rem;display:grid}.trt-overlay{z-index:40;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0408b8;place-items:center;padding:1.25rem;display:grid;position:fixed;inset:0}.trt-modal{border:1px solid var(--trt-line);text-align:center;background:#2a1020;border-radius:1.25rem;width:min(100%,26rem);max-height:min(88dvh,36rem);padding:1.4rem 1.25rem 1.2rem;overflow:auto}.trt-modal h2{margin:.35rem 0 .2rem;font-size:1.55rem}.trt-final-score{margin:.2rem 0 .85rem;font-size:1.8rem;font-weight:800}.trt-history{text-align:left;color:var(--trt-muted);gap:.3rem;margin:0 0 1rem;padding:0;font-size:.8rem;list-style:none;display:grid}.trt-card.is-selected{transform:translateY(-4px);box-shadow:0 0 0 2px #fff,0 8px 16px #00000047}.trt-card.is-build{cursor:pointer}.trt-setup{flex-direction:column;flex:1;gap:.7rem;width:100%;max-width:720px;min-height:0;margin:0 auto;display:flex}.trt-setup-head{flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.trt-mode-grid{gap:.75rem;margin:auto 0;display:grid}.trt-mode-card{appearance:none;border:1px solid var(--trt-line);background:var(--trt-panel);color:var(--trt-ink);text-align:left;cursor:pointer;border-radius:1.15rem;gap:.35rem;padding:1.15rem 1.1rem;display:grid}.trt-mode-card strong{font-size:1.35rem}.trt-mode-card span{color:var(--trt-muted);font-size:.82rem;line-height:1.4}.trt-mode-kicker{letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#fda4af!important;font-size:.68rem!important}.trt-mode-card.is-deck .trt-mode-kicker{color:#7dd3fc!important}.trt-mode-card:hover{border-color:#ffb6c18c}.trt-build-counts,.trt-build-check{color:var(--trt-muted);flex-shrink:0;margin:0;font-size:.78rem}.trt-build-check{color:var(--trt-ink);align-items:center;gap:.4rem;font-weight:700;display:flex}.trt-build-filters{flex-shrink:0;gap:.3rem;display:flex}.trt-build-filters .trt-help-tab{flex:1;margin:0}.trt-build-grid{--trt-card-w:min(4.5rem, calc((100% - 1.2rem) / 4));--trt-card-h:calc(var(--trt-card-w) * 1.5);grid-template-columns:repeat(4, var(--trt-card-w));flex:1;place-content:start center;gap:.4rem;min-height:0;padding:.2rem 0 .5rem;display:grid;overflow:auto}.trt-build-bar{flex-shrink:0;padding-top:.2rem}.trt-build-errors{color:#fecdd3;margin:0 0 .45rem;font-size:.72rem}.trt-build-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.trt-build-actions .trt-btn,.trt-build-actions .trt-btn-ghost{margin:0;display:inline-flex}.trt-root.is-setup{overflow:hidden}@keyframes trt-fade-in{to{opacity:1;transform:none}}@media (max-width:420px){.trt-header{gap:.4rem}.trt-round,.trt-root:not(.trt-catalog) .trt-cycle{display:none}.trt-hand{--trt-hand-gap:.22rem}}.trt-catalog.trt-root{--trt-card-w:min(5.6rem, calc((100vw - 2.2rem) / 5));--trt-card-h:calc(var(--trt-card-w) * 1.5);width:100%;height:auto;min-height:100dvh;max-height:none;overflow:visible}.trt-catalog-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.trt-catalog-filters{flex-direction:column;gap:.35rem;margin:.55rem 0 .8rem;display:flex}.trt-catalog-filters .trt-build-filters{flex-wrap:wrap}.trt-catalog-filters .trt-help-tab{flex:none;padding-inline:.55rem}.trt-catalog-grid{grid-template-columns:repeat(auto-fill, var(--trt-card-w));place-content:start center;gap:.55rem .4rem;width:100%;padding-bottom:.5rem;display:grid}.trt-catalog .trt-card{cursor:default}.trt-catalog-empty{text-align:center;color:var(--trt-muted);margin:1.5rem 0;font-size:.85rem}@media (min-width:720px){.trt-catalog.trt-root{--trt-card-w:min(6.4rem, calc((100vw - 3rem) / 8))}}@media (max-height:640px){.trt-root{--trt-card-w:min(4.8rem, calc((100vw - 2.2rem - .88rem) / 5));padding-top:.4rem}.trt-arena{padding:.22rem .35rem}.trt-result{min-height:2rem;font-size:.75rem}}
