.tg-stack{--tg-miss:#f87171;--tg-line:#f5d26b;gap:1rem;display:grid}.tg-card{background:var(--panel);border:1px solid var(--border);border-radius:.9rem;min-width:0;padding:1.2rem 1.3rem}.tg-controls{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:start;gap:1.25rem 2rem;display:grid}.tg-pick{position:relative}.tg-lbl{letter-spacing:.1em;text-transform:uppercase;color:var(--muted-dim);margin-bottom:.35rem;font-size:.74rem;font-weight:700;display:block}#tg-q{background:var(--bg);border:1px solid var(--border);width:100%;color:var(--text);font-size:1.05rem;font:inherit;border-radius:.55rem;padding:.8rem .9rem}#tg-q::placeholder{color:var(--muted-dim)}#tg-q:focus{border-color:var(--accent);outline:none}.tg-menu{background:var(--panel);border:1px solid var(--border);z-index:5;border-radius:.6rem;max-height:320px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 14px 34px #00000080}.tg-menu button{border:0;border-top:1px solid var(--border);text-align:left;cursor:pointer;width:100%;color:var(--text);font:inherit;background:0 0;justify-content:space-between;gap:1rem;padding:.55rem .9rem;display:flex}.tg-menu button:first-child{border-top:0}.tg-menu button:hover,.tg-menu button.active{background:var(--accent-soft)}.tg-menu small{color:var(--muted-dim);white-space:nowrap}.tg-linebox{grid-template-columns:auto 1fr;align-items:center;gap:1.25rem;display:grid}.tg-lineval{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:2.4rem;font-weight:800;line-height:1}.tg-lineval small{letter-spacing:.1em;text-transform:uppercase;color:var(--muted-dim);margin-bottom:.3rem;font-size:.74rem;font-weight:700;display:block}.tg-over{color:var(--tg-line)}.tg-ctl{flex-direction:column;gap:.4rem;min-width:0;display:flex}#tg-line{width:100%;accent-color:var(--tg-line);min-width:0;margin:.4rem 0 0}#tg-line:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}.tg-ticks{color:var(--muted-dim);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:.72rem;display:flex}.tg-hint{color:var(--muted-dim);font-size:.86rem}.tg-hint b{color:var(--text)}.tg-link{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;margin-left:.4rem;padding:0;font-size:.86rem}.tg-link:hover{text-decoration:underline}#tg-view{gap:1rem;display:grid}.tg-two{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.tg-name{letter-spacing:-.01em;margin:0;font-size:1.45rem;font-weight:800}.tg-name a{color:var(--text);border-bottom:1px dotted var(--muted-dim);text-decoration:none}.tg-name a:hover{color:var(--accent);border-bottom-color:var(--accent)}.tg-meta{color:var(--muted);margin:.15rem 0 0;font-size:.92rem}.tg-meta b{color:var(--text);font-weight:600}.tg-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;display:grid}.tg-tile{background:var(--bg-soft);border:1px solid var(--border);border-radius:.7rem;flex-direction:column;gap:.3rem;min-width:0;padding:.85rem .95rem;display:flex}.tg-k{letter-spacing:.1em;text-transform:uppercase;color:var(--muted-dim);font-size:.72rem;font-weight:700}.tg-v{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:1.85rem;font-weight:800;line-height:1}.tg-v span{color:var(--muted);margin-left:.3rem;font-size:1rem;font-weight:600}.tg-meter{background:var(--border);border-radius:3px;height:6px;margin-top:.2rem;display:block;overflow:hidden}.tg-meter i{background:var(--accent);border-radius:3px;height:100%;display:block}.tg-sub{color:var(--muted-dim);font-size:.78rem}.tg-trend{color:var(--muted);margin:.8rem 0 0;font-size:.92rem}.tg-trend b{color:var(--text);font-weight:600}.tg-up{color:var(--accent)}.tg-down{color:var(--tg-miss)}.tg-chart-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.6rem;display:flex}.tg-chart-head h2,.tg-lineupcard h2,.tg-defcard h2,.tg-logcard h2{margin:0 0 .5rem;font-size:1.05rem;font-weight:700}.tg-legend{color:var(--muted);flex-wrap:wrap;gap:1rem;font-size:.8rem;display:flex}.tg-legend i{vertical-align:-2px;border-radius:3px;width:12px;height:12px;margin-right:.35rem;display:inline-block}.tg-legend .hit i{background:var(--accent)}.tg-legend .miss i{background:var(--tg-miss);background-image:repeating-linear-gradient(135deg,#00000059 0 2px,#0000 2px 5px)}.tg-legend .ln i{border-top:2px dashed var(--tg-line);vertical-align:3px;border-radius:0;height:0}.tg-chart{--h:240px;grid-template-columns:2.2rem 1fr;gap:.5rem;display:grid;position:relative}.tg-yax{height:var(--h);color:var(--muted-dim);font-variant-numeric:tabular-nums;font-size:.72rem;position:relative}.tg-yax span{position:absolute;right:0;transform:translateY(50%)}.tg-plot{height:var(--h);border-bottom:1px solid var(--border);position:relative}.tg-grid{border-top:1px solid var(--border);position:absolute;left:0;right:0}.tg-cols{grid-auto-columns:1fr;grid-auto-flow:column;gap:6px;padding:0 4px;display:grid;position:absolute;inset:0}.tg-col{border-radius:6px;justify-content:center;align-items:flex-end;height:100%;display:flex;position:relative}.tg-col:hover{background:#ffffff08}.tg-bar{background:var(--accent);border-radius:4px 4px 0 0;width:min(100%,46px);min-height:2px;position:relative}.tg-bar.miss{background:var(--tg-miss);background-image:repeating-linear-gradient(135deg,#00000059 0 2px,#0000 2px 5px)}.tg-bar b{background:var(--panel);font-variant-numeric:tabular-nums;width:max-content;color:var(--text);z-index:1;border-radius:4px;padding:0 .3rem;font-size:.8rem;font-weight:700;position:absolute;top:-1.35rem;left:50%;transform:translate(-50%)}.tg-rule{border-top:2px dashed var(--tg-line);pointer-events:none;position:absolute;left:0;right:0}.tg-rule span{color:var(--tg-line);background:var(--panel);border-radius:4px;padding:0 .3rem;font-size:.74rem;font-weight:700;position:absolute;top:-1.25rem;right:0}.tg-xax{grid-template-columns:2.2rem 1fr;gap:.5rem;margin-top:.4rem;display:grid}.tg-xcols{grid-auto-columns:1fr;grid-auto-flow:column;gap:6px;padding:0 4px;display:grid}.tg-xcol{text-align:center;color:var(--muted);min-width:0;font-size:.76rem;line-height:1.25}.tg-xcol small{color:var(--muted-dim);font-size:.68rem;display:block}.tg-share{background:var(--border);border-radius:3px;max-width:46px;height:5px;margin:.35rem auto 0;display:block;overflow:hidden}.tg-share i{background:var(--muted);height:100%;display:block}.tg-pct{font-variant-numeric:tabular-nums;color:var(--text);font-size:.76rem;font-weight:600}.tg-sharelbl{color:var(--muted-dim);text-align:right;padding-top:1.55rem;font-size:.68rem;line-height:1.1}.tg-place{color:var(--muted);margin:0 0 .6rem}.tg-place b{color:var(--text)}.tg-lineup{gap:.3rem;margin:0;padding:0;list-style:none;display:grid}.tg-lineup li{border-radius:.5rem;grid-template-columns:1.6rem minmax(0,1fr) minmax(60px,.8fr) 3.6rem auto;align-items:center;gap:.6rem;padding:.4rem .5rem;font-size:.92rem;display:grid}.tg-lineup li.me{background:var(--accent-soft);outline:1px solid var(--accent)}.tg-lineup li.me .tg-ln-name,.tg-lineup li.me .tg-ln-share{color:var(--accent)}.tg-ln-place{color:var(--muted-dim);font-variant-numeric:tabular-nums;text-align:right}.tg-ln-name{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.tg-ln-name small{color:var(--muted-dim);font-weight:500}.tg-ln-bar{background:var(--border);border-radius:3px;height:6px;display:block;overflow:hidden}.tg-ln-bar i{background:var(--muted);border-radius:3px;height:100%;display:block}.tg-lineup li.me .tg-ln-bar i{background:var(--accent)}.tg-ln-share{font-variant-numeric:tabular-nums;text-align:right;font-weight:700}.tg-ln-t{color:var(--muted-dim);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.78rem}.tg-when{color:var(--muted);margin:0 0 .6rem}.tg-def-line{margin:0;font-size:1.05rem;line-height:1.5}.tg-def-line b{color:var(--accent)}.tg-defcard .tg-hint,.tg-lineupcard .tg-hint{margin:.7rem 0 0}.tg-gauge{margin-top:1.1rem;padding-top:1.4rem}.tg-gauge-bar{background:linear-gradient(90deg, var(--tg-miss), #6b7280 50%, var(--accent));border-radius:5px;height:10px;position:relative}.tg-gauge-mid{background:var(--text);opacity:.55;width:2px;margin-left:-1px;position:absolute;top:-5px;bottom:-5px}.tg-gauge-pin{background:var(--text);border:3px solid var(--panel);width:18px;height:18px;box-shadow:0 0 0 1px var(--border-2,var(--border));border-radius:50%;margin:-9px 0 0 -9px;position:absolute;top:50%}.tg-gauge-pin span{white-space:nowrap;color:var(--text);font-variant-numeric:tabular-nums;background:var(--panel);border-radius:4px;padding:0 .3rem;font-size:.78rem;font-weight:700;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.tg-gauge-ends{color:var(--muted-dim);justify-content:space-between;gap:.5rem;margin-top:.5rem;font-size:.74rem;display:flex}.tg-gauge-ends span:first-child{color:var(--tg-miss)}.tg-gauge-ends span:last-child{color:var(--accent)}.tg-gauge-note{color:var(--muted);margin:.7rem 0 0;font-size:.86rem}.tg-scroll{overflow-x:auto}.tg-log,.tg-leaders{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.9rem}.tg-log th,.tg-log td,.tg-leaders th,.tg-leaders td{text-align:right;border-bottom:1px solid var(--border);white-space:nowrap;padding:.5rem .6rem}.tg-log th,.tg-leaders th{letter-spacing:.08em;text-transform:uppercase;color:var(--muted-dim);font-size:.72rem;font-weight:700}.tg-log th:nth-child(-n+2),.tg-log td:nth-child(-n+2),.tg-leaders th:nth-child(-n+3),.tg-leaders td:nth-child(-n+3){text-align:left}.tg-log td small{color:var(--muted-dim)}.tg-log .ok{color:var(--accent);font-weight:700}.tg-log .no{color:var(--tg-miss);font-weight:700}.tg-leaders{margin-top:1rem}.tg-note{color:var(--muted);max-width:70ch;font-size:.9rem}.tg-note p+p{margin-top:.5rem}.tg-prose{color:var(--muted);max-width:70ch;margin-bottom:1rem}.tool-hero{padding:4rem 0 .75rem}.tool-hero h1{margin-bottom:.4rem}@media (width<=720px){.tg-controls,.tg-linebox,.tg-two{grid-template-columns:1fr}.tg-lineval{font-size:2rem}.tg-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-tiles .tg-tile:first-child{grid-column:span 2}.tg-card{padding:.95rem 1rem}.tg-xcol small{display:none}.tg-pct{font-size:.68rem}.tg-bar b{font-size:.7rem;top:-1.15rem}.tg-lineup li{grid-template-columns:1.4rem minmax(0,1fr) 3.4rem}.tg-ln-bar,.tg-ln-t{display:none}.tool-hero{padding-top:2.2rem}}
