/* Araç modülüne özel yerleşim. Renkler ve kontroller ortak frontend sisteminden gelir. */
.site-main:has(> .gt-page) { max-width: none; padding: 0; }
.gt-page { min-width: 0; }
.gt-content { max-width: var(--fe-main-max); margin: 0 auto; padding: 20px var(--fe-spacing-lg) 28px; min-width: 0; }
.gt-page [hidden] { display: none !important; }
.gt-page h1, .gt-page h2, .gt-page h3, .gt-page p { margin: 0; }
.gt-breadcrumb { max-width: 100%; margin: 0 0 10px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--fe-color-border) transparent; }
.gt-breadcrumb__list { display: flex; align-items: center; gap: 8px; width: max-content; margin: 0; padding: 3px; list-style: none; font-size: 12px; line-height: 20px; }
.gt-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; white-space: nowrap; }
.gt-breadcrumb a, .gt-breadcrumb__current { display: inline-block; padding: 4px 1px; }
.gt-breadcrumb a { color: var(--fe-color-text-muted); text-decoration: none; }
.gt-breadcrumb a:hover { color: var(--fe-color-text); text-decoration: underline; text-underline-offset: 3px; }
.gt-breadcrumb a:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; border-radius: 2px; }
.gt-breadcrumb__separator { color: var(--fe-color-text-muted); }
.gt-breadcrumb__current { color: var(--fe-color-text); }
.gt-heading, .gt-section-heading, .gt-code-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gt-heading { margin-bottom: 22px; }
.gt-title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.gt-other-tools { display: inline-flex; align-items: center; gap: 5px; padding-block: 5px; color: var(--fe-color-text-muted); font-size: 12px; white-space: nowrap; text-decoration: none; }
.gt-other-tools:hover { color: var(--fe-color-text); text-decoration: underline; }
.gt-heading h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.035em; font-weight: 700; }
.gt-heading p { max-width: 690px; margin-top: 8px; line-height: 1.6; font-size: 14px; color: var(--fe-color-text-muted); }
.gt-game-link-row { margin: -10px 0 14px; min-width: 0; }
.gt-game-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; max-width: 100%; color: var(--fe-color-text); text-decoration: none; border-radius: var(--fe-radius-sm); }
.gt-game-link__cover { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; color: var(--fe-color-text-muted); }
.gt-game-link__cover img { display: block; width: 32px; height: 32px; object-fit: contain; border-radius: 3px; }
.gt-game-link__name { min-width: 0; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.gt-game-link__label { flex-shrink: 0; font-size: 12px; color: var(--fe-color-text-muted); white-space: nowrap; }
.gt-game-link:hover { color: var(--fe-color-text); }
.gt-game-link:hover .gt-game-link__name { text-decoration: underline; text-underline-offset: 3px; }
.gt-game-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.gt-hero {
    border-bottom: 1px solid #334155;
    background: radial-gradient(ellipse at 90% 0%, rgba(99, 102, 241, .12), transparent 60%), linear-gradient(135deg, #0f172a, #1e293b);
    color: #f1f5f9;
}
.gt-hero__inner { max-width: var(--fe-main-max); margin: 0 auto; padding: 22px var(--fe-spacing-lg); min-width: 0; }
.gt-hero__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.gt-hero .gt-heading { flex: 1; min-width: 0; margin: 0; }
.gt-hero .gt-heading > div { min-width: 0; }
.gt-hero .gt-heading h1 { color: #f1f5f9; font-size: clamp(24px, 2.6vw, 32px); }
.gt-hero .gt-heading p { color: #cbd5e1; margin-top: 6px; }
.gt-hero .gt-breadcrumb { margin-bottom: 8px; scrollbar-color: #64748b transparent; }
.gt-hero .gt-breadcrumb__list { padding: 0; }
.gt-hero :is(.gt-other-tools, .gt-breadcrumb a, .gt-game-link__label) { color: #cbd5e1; }
.gt-hero :is(.gt-breadcrumb__current, .gt-game-link) { color: #f1f5f9; }
.gt-hero .gt-breadcrumb__separator { color: #94a3b8; }
.gt-hero :is(.gt-other-tools, .gt-breadcrumb a, .gt-game-link):hover { color: #fff; }
.gt-hero :is(a, button):focus-visible { outline-color: #cbd5e1; }
.gt-hero .gt-game-link-row { flex: 0 1 auto; max-width: 300px; margin: 0; }
.gt-hero__links { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 0; }
.gt-hero__art { --fe-color-surface: #273449; display: block; flex: 0 0 128px; color: #a9bad8; opacity: .7; pointer-events: none; }
.gt-hero__art > svg { display: block; width: 128px; height: 90px; }
@media (max-width: 900px) {
    .gt-hero__row { flex-wrap: wrap; gap: 10px; }
    .gt-hero__links { flex: 1 0 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
    .gt-hero .gt-game-link-row { max-width: none; }
}
@media (max-width: 700px) {
    .gt-hero__inner { padding-block: 16px; }
    .gt-content { padding-top: 16px; }
    .gt-hero .gt-heading { flex-basis: 100%; }
    .gt-hero__art { display: none; }
    .gt-hero .gt-heading p { font-size: 13px; line-height: 1.55; }
    .gt-hero .gt-game-link { flex-wrap: wrap; gap: 4px 8px; }
    .gt-hero .gt-game-link__name { flex: 1; }
    .gt-hero .gt-game-link__label { display: none; }
    .gt-hero .gt-game-link__name::after { content: ' ↗'; font-weight: 400; }
}
.gt-page .gt-recipe-heading { margin-bottom: 10px; font-size: 14px; }
.gt-toolbar { display: flex; align-items: center; gap: 16px; padding-block: 14px; margin-bottom: 24px; border-block: 1px solid var(--fe-color-border); }
.gt-editions { margin: 0; padding: 3px; display: inline-flex; gap: 3px; border: 1px solid var(--fe-color-border); background: var(--fe-color-bg-alt); border-radius: var(--fe-radius-md); min-width: 0; }
.gt-editions label { position: relative; cursor: pointer; }
.gt-editions span { display: block; padding: 8px 13px; border-radius: var(--fe-radius-sm); font-size: 13px; font-weight: 600; white-space: nowrap; }
.gt-editions input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gt-editions input:checked + span { background: var(--fe-color-surface); color: var(--fe-color-text); box-shadow: var(--fe-shadow-sm); }
.gt-editions input:focus-visible + span { outline: 2px solid var(--fe-color-primary); outline-offset: 2px; }
.gt-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: 'archive builder'; gap: 24px; align-items: start; }
.gt-archive { grid-area: archive; }
.gt-builder { grid-area: builder; }
.gt-archive, .gt-builder { min-width: 0; }
.gt-section-heading { margin-bottom: 14px; }
.gt-section-heading h2 { font-size: 17px; letter-spacing: -.025em; }
.gt-section-heading > span { font-size: 12px; color: var(--fe-color-text-muted); }
.gt-filters { display: grid; grid-template-columns: minmax(0, 1fr) 175px; gap: 8px; flex: 1; min-width: 0; max-width: 640px; margin-left: auto; }
.gt-filters label { min-width: 0; }
.gt-filters .common-input, .gt-filters .common-select { font-size: 13px; min-height: 40px; }
.gt-category { position: relative; min-width: 0; }
.gt-category > summary { display: flex; align-items: center; gap: 8px; list-style: none; }
.gt-category > summary::-webkit-details-marker { display: none; }
.gt-category > summary::after { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 auto; }
.gt-category[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
#gt-category-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-category-options { position: absolute; z-index: 20; inset-inline-end: 0; top: calc(100% + 6px); width: 220px; max-width: calc(100vw - 48px); min-width: 0; max-height: min(280px, 60dvh); overflow-y: auto; margin: 0; padding: 5px; border: 1px solid var(--fe-color-border); border-radius: var(--fe-radius-md); background: var(--fe-color-surface); box-shadow: var(--fe-shadow-sm); }
.gt-category-options label { position: relative; display: block; cursor: pointer; }
.gt-category-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gt-category-options span { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 8px 10px; font-size: 14px; line-height: 1.4; border-radius: var(--fe-radius-sm); overflow-wrap: anywhere; }
.gt-category-options label:hover span, .gt-category-options input:checked + span { background: var(--fe-color-bg-alt); }
.gt-category-options input:checked + span { font-weight: 600; }
.gt-category-options input:checked + span::after { content: '✓'; color: var(--fe-color-primary); }
.gt-category-options input:focus-visible + span { outline: 2px solid var(--fe-color-primary); outline-offset: -2px; }
.gt-command-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.gt-command { padding: 16px; min-width: 0; border: 1px solid var(--fe-color-border); border-radius: var(--fe-radius-md); background: var(--fe-color-surface); }
.gt-command:nth-child(even of .gt-command:not([hidden])) { background: color-mix(in srgb, var(--fe-color-surface) 90%, var(--fe-color-text-muted)); }
.gt-command-heading { position: relative; }
.gt-command h3 { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.4; }
.gt-command h3 code { font-size: 12px; color: var(--fe-color-text-muted); background: none; padding: 0; padding-right: 82px; }
.gt-command h3 span { font-weight: 600; }
.gt-customize { position: absolute; right: 0; top: -7px; min-height: 32px; padding: 4px 0 4px 8px; border: 0; background: transparent; color: var(--fe-color-text-muted); font: inherit; font-size: 12px; cursor: pointer; }
.gt-customize:hover { color: var(--fe-color-text); text-decoration: underline; }
.gt-page :is(a, button, summary):focus-visible { outline: 2px solid var(--fe-color-primary); outline-offset: 3px; border-radius: var(--fe-radius-xs); }
.gt-command > p { margin-top: 6px; min-height: 40px; color: var(--fe-color-text-muted); line-height: 1.55; font-size: 13px; }
.gt-code-line { margin-top: 12px; padding: 8px 0 8px 10px; border: 1px solid var(--fe-color-border); border-radius: var(--fe-radius-sm); background: var(--fe-color-bg-alt); gap: 8px; min-height: 48px; }
.gt-code-line code { min-width: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.6; background: none; padding: 0; color: var(--fe-color-text); }
.gt-code-line .button { flex-shrink: 0; font-size: 11px; padding: 5px 8px; margin-right: 4px; min-height: 30px; background: transparent; border-color: transparent; }
.gt-code-line .button:hover { background: var(--fe-color-surface); border-color: var(--fe-color-border); }
.gt-command-details { margin-top: 6px; }
.gt-command summary, .gt-help summary { cursor: pointer; font-size: 12px; color: var(--fe-color-text-muted); padding-block: 7px; }
.gt-command dl { margin: 8px 0 12px; font-size: 13px; line-height: 1.6; }
.gt-command dt { font-weight: 600; margin-top: 9px; }
.gt-command dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.gt-command dd code { white-space: normal; }
.gt-builder { padding: 18px; border: 1px solid var(--fe-color-border); border-radius: var(--fe-radius-md); background: var(--fe-color-bg-alt); }
.gt-builder .gt-section-heading { margin-bottom: 7px; }
.gt-builder summary { cursor: pointer; list-style: none; }
.gt-builder summary::-webkit-details-marker { display: none; }
.gt-builder summary::after { content: '+'; font-size: 20px; font-weight: 400; }
.gt-builder[open] summary::after { content: '−'; }
.gt-builder:not([open]) .gt-section-heading { margin-bottom: 0; }
.gt-builder-intro { font-size: 12px; color: var(--fe-color-text-muted); margin-bottom: 18px !important; line-height: 1.5; }
.gt-builder .form-row { margin-bottom: 14px; }
.gt-builder .form-row label { font-size: 12px; margin-bottom: 6px; }
.gt-builder .common-select, .gt-builder .common-input { font-size: 14px; }
.gt-coordinates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gt-coordinates input { padding-inline: 8px; }
.gt-check { display: flex; align-items: start; gap: 7px; font-size: 12px; margin-bottom: 14px; line-height: 1.6; }
.gt-check input { margin-top: 4px; accent-color: var(--fe-color-primary); }
.gt-output-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin: 20px 0 7px; }
.gt-output-label span { color: var(--fe-color-text-muted); }
.gt-output { font-family: var(--fe-font-mono); font-size: 13px; min-height: 70px; line-height: 1.7; resize: vertical; }
.gt-builder-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gt-builder-actions .button { font-size: 12px; flex: 1; padding-inline: 10px; }
.gt-builder-note { margin-top: 13px !important; font-size: 11px; color: var(--fe-color-text-muted); line-height: 1.6; }
.gt-feedback { padding-top: 9px; font-size: 12px; }
.gt-feedback:empty { padding: 0; }
.gt-error { font-size: 12px; color: var(--fe-color-danger); margin-top: 8px !important; }
.gt-empty { border: 1px solid var(--fe-color-border); padding: 20px; border-radius: var(--fe-radius-md); font-size: 14px; }
.gt-help { margin-top: 24px; border-top: 1px solid var(--fe-color-border); padding-top: 20px; }
.gt-help--intro { padding: 22px 24px; border: 1px solid var(--fe-color-border); border-radius: var(--fe-card-radius); background: var(--fe-color-surface); box-shadow: var(--fe-shadow-sm); overflow-wrap: anywhere; }
.gt-help--intro > h2 { padding-bottom: 12px; border-bottom: 1px solid var(--fe-color-border); }
.gt-help--intro > h2 + p { margin-top: 14px; }
[data-theme="dark"] .gt-help--intro { background: var(--fe-color-bg); }
.gt-help h2 { font-size: 18px; }
.gt-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 12px; }
.gt-help summary { color: var(--fe-color-text); font-weight: 600; font-size: 13px; }
.gt-help p, .gt-help a { font-size: 13px; line-height: 1.65; margin-top: 9px; }
.gt-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gt-hub-grid--directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gt-hub-card {
    --gt-card-accent: #546bc1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid var(--fe-color-border);
    border-radius: var(--fe-card-radius);
    background: radial-gradient(ellipse at 90% 0%, color-mix(in srgb, var(--gt-card-accent) 9%, var(--fe-color-surface)), var(--fe-color-surface) 76%);
    color: var(--fe-color-text);
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}
.gt-hub-card--minecraft-collection, .gt-hub-card--minecraft-recipes { --gt-card-accent: #537e60; }
.gt-hub-card--valorant-collection, .gt-hub-card--valorant-sensitivity, .gt-hub-card--valorant-crosshair, .gt-hub-card--valorant-agents, .gt-hub-card--valorant-maps { --gt-card-accent: #bc5868; }
.gt-hub-card--tournament, .gt-hub-card--minecraft-stacks { --gt-card-accent: #997147; }
.gt-hub-card--minecraft-nether { --gt-card-accent: #8257ab; }
.gt-hub-card--minecraft-colors { --gt-card-accent: #b15b85; }
.gt-hub-card--minecraft-xp { --gt-card-accent: #658447; }
.gt-hub-card--minecraft-blocks { --gt-card-accent: #408184; }
@media (hover: hover) {
    .gt-hub-card:hover { color: var(--fe-color-text); text-decoration: none; box-shadow: var(--fe-card-shadow-hover); transform: translateY(var(--fe-card-lift)); }
}
.gt-hub-card:focus-visible { outline: 2px solid color-mix(in srgb, var(--fe-color-text) 42%, transparent); outline-offset: 3px; }
.gt-hub-art { display: flex; align-items: center; justify-content: flex-end; height: 108px; margin-bottom: 16px; color: var(--gt-card-accent); pointer-events: none; }
.gt-hub-art > svg { display: block; width: 164px; height: 115px; max-width: 100%; }
.gt-art-orbit { stroke: currentColor; stroke-opacity: .1; }
.gt-art-paper { fill: var(--fe-color-surface); stroke: color-mix(in srgb, currentColor 20%, var(--fe-color-border)); stroke-width: 1.2; }
.gt-art-solid { fill: currentColor; }
.gt-art-medium { fill: color-mix(in srgb, currentColor 48%, var(--fe-color-surface)); }
.gt-art-soft { fill: color-mix(in srgb, currentColor 18%, var(--fe-color-surface)); }
.gt-art-line, .gt-art-knockout { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gt-art-line--bold { stroke-width: 3; }
.gt-art-knockout { stroke: #fff; }
.gt-hub-copy { min-width: 0; overflow-wrap: anywhere; }
.gt-hub-card h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.025em; color: var(--fe-color-text); }
.gt-hub-card p { font-size: 13px; line-height: 1.65; margin-top: 8px; margin-bottom: 18px; color: var(--fe-color-text-muted); }
.gt-hub-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; min-height: 28px; font-size: 12px; font-weight: 600; color: var(--fe-color-text-muted); }
.gt-hub-arrow { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid var(--fe-color-border); border-radius: 50%; background: var(--fe-color-surface); color: var(--fe-color-text-muted); }
.gt-hub-arrow svg { display: block; width: 17px; height: 17px; }
@media (min-width: 701px) and (max-width: 1000px) {
    .gt-hub-grid--directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .gt-hub-card { transition: none; }
    .gt-hub-card:hover { transform: none; }
}
.gt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.gt-hub-grid > .gt-builder { grid-area: auto; }
.gt-utility-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gt-utility-formats { display: flex; flex-wrap: wrap; gap: 0 18px; }
.gt-utility-formats .gt-check { min-height: 32px; align-items: center; margin-bottom: 0; }
.gt-text-preview { padding: 20px; min-height: 90px; display: flex; align-items: center; justify-content: center; border-radius: var(--fe-radius-md); overflow-wrap: anywhere; font-size: 23px; color: var(--gt-preview-color, var(--fe-color-text)); background: var(--gt-preview-bg, var(--fe-color-surface)); }
.gt-text-preview.is-bold { font-weight: 700; }
.gt-text-preview.is-italic { font-style: italic; }
.gt-text-preview.is-underlined { text-decoration: underline; }
.gt-text-preview.is-strikethrough { text-decoration: line-through; }
.gt-text-preview.is-underlined.is-strikethrough { text-decoration: underline line-through; }
.gt-utility-results { margin-top: 16px; }
.gt-team-input { min-height: 220px; resize: vertical; line-height: 1.7; }
.gt-team-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.gt-team-card { min-width: 0; overflow-wrap: anywhere; }
.gt-page .gt-team-card h3 { font-size: 15px; margin-bottom: 10px; }
.gt-team-card ul { padding-left: 20px; font-size: 14px; line-height: 1.8; }
.gt-team-card li + li { margin-top: 3px; }
.gt-team-options { margin:10px 0 16px; font-size:13px; }
.gt-team-options summary { cursor:pointer;padding:8px 0;margin-bottom:8px; }
.gt-captain { display:inline-block;margin-left:8px;font-size:10px;line-height:1.4;padding:3px 6px;border-radius:4px;background:var(--fe-color-bg-alt);border:1px solid var(--fe-color-border);color:var(--fe-color-text-muted); }
.gt-team-export { margin-top: 16px; font-size: 13px; }
.gt-team-export summary { cursor: pointer; padding-block: 8px; }
.gt-calculator { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; align-items: start; }
.gt-calculator > .gt-builder { grid-area: auto; }
.gt-valorant .gt-section-heading {margin-bottom:20px;}
.gt-valorant .gt-section-heading h2 {font-size:18px;}
.gt-valorant-presets {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;}
.gt-valorant-presets button {min-height:40px;}
.gt-valorant-presets [aria-pressed="true"] {background:var(--fe-color-bg-alt);box-shadow:var(--fe-shadow-sm);}
.gt-map-workspace {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);border:1px solid var(--fe-color-border);border-radius:16px;overflow:hidden;background:var(--fe-color-surface);box-shadow:var(--fe-shadow-sm);}
.gt-map-result {display:flex;flex-direction:column;min-width:0;padding:24px;background:radial-gradient(ellipse at 40% 20%,#29374b,#111a28);color:#f1f5f9;}
.gt-map-result-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.gt-page .gt-map-result-bar h2 {font-size:14px;color:#e2e8f0;}
.gt-map-result-bar > span {font-size:10px;letter-spacing:.1em;color:#a5b4c7;}
.gt-map-empty {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;flex:1;text-align:center;gap:18px;}
.gt-map-empty > svg {color:#f05270;}
.gt-page .gt-map-empty h3 {font-size:23px;color:#f1f5f9;letter-spacing:-.03em;}
.gt-page .gt-map-empty p {font-size:13px;color:#a5b4c7;}
.gt-map-settings {padding:28px;min-width:0;}
.gt-page .gt-map-settings h2 {font-size:17px;letter-spacing:-.02em;margin-bottom:18px;}
.gt-map-modes {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px;}
.gt-map-modes button {position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;border:0;border-radius:9px;background:var(--fe-color-bg-alt);font:inherit;text-align:left;color:var(--fe-color-text);cursor:pointer;}
.gt-map-modes strong {font-size:14px;}
.gt-map-modes span {font-size:12px;color:var(--fe-color-text-muted);}
.gt-map-modes [aria-pressed="true"] {background:color-mix(in srgb,var(--fe-color-text) 9%,var(--fe-color-surface));}
.gt-map-modes [aria-pressed="true"]::after {content:'';position:absolute;top:11px;right:11px;width:5px;height:5px;border-radius:50%;background:var(--fe-color-primary);}
.gt-map-options {display:flex;gap:12px;}
.gt-map-options > div {flex:1;min-width:0;}
.gt-map-options label {display:block;font-size:12px;margin-bottom:9px;}
.gt-map-options select {width:100%;}
.gt-map-pool-count {display:flex;align-items:center;justify-content:space-between;margin:20px 0;font-size:13px;color:var(--fe-color-text-muted);}
.gt-map-pool-count strong {font-variant-numeric:tabular-nums;color:var(--fe-color-text);}
.gt-map-settings #vm-start {width:100%;justify-content:center;gap:12px;min-height:44px;}
.gt-page .gt-map-note {font-size:12px;line-height:1.65;color:var(--fe-color-text-muted);margin-top:12px;}
.gt-map-picked {position:relative;overflow:hidden;border-radius:8px;background:#ffffff08;}
.gt-map-picked img {display:block;width:100%;object-fit:cover;}
.gt-map-picked-single {flex:1;display:flex;flex-direction:column;}
.gt-map-picked-single .gt-map-picked {flex:1;min-height:220px;}
.gt-map-picked-single img {position:absolute;inset:0;height:100%;}
.gt-page .gt-map-picked h3 {position:absolute;inset:auto 0 0;padding:40px 16px 15px;color:#fff;font-size:24px;background:linear-gradient(transparent,#111a28e6);}
.gt-map-picked-multi {display:grid;gap:7px;}
.gt-map-picked-multi .gt-map-picked {height:58px;}
.gt-map-picked-multi img {height:100%;}
.gt-page .gt-map-picked-multi h3 {font-size:16px;padding:18px 14px 12px;}
.gt-map-result #vm-copy {align-self:flex-start;margin-top:14px;background:#ffffff12;color:#e2e8f0;border:0;}
.gt-page .gt-map-result :is(#vm-copy-status,#vm-result-note) {font-size:12px;color:#cbd5e1;line-height:1.6;margin-top:10px;}
.gt-map-pool,.gt-map-veto {margin-top:20px;border:1px solid var(--fe-color-border);border-radius:12px;padding:20px;background:var(--fe-color-surface);}
.gt-map-pool > summary {cursor:pointer;font-size:15px;font-weight:600;}
.gt-map-pool > summary span {float:right;font-size:12px;font-weight:400;color:var(--fe-color-text-muted);}
.gt-map-pool-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;font-size:12px;color:var(--fe-color-text-muted);}
.gt-map-pool-toolbar > div,.gt-map-veto-actions {display:flex;gap:8px;}
.gt-map-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.gt-map-card {position:relative;display:block;min-width:0;padding:0;border:0;border-radius:9px;background:var(--fe-color-bg-alt);color:var(--fe-color-text);font:inherit;cursor:pointer;text-align:left;overflow:hidden;}
.gt-map-card img {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;transition:opacity .15s;}
.gt-map-card input {position:absolute;top:10px;right:10px;z-index:1;width:16px;height:16px;accent-color:var(--fe-color-primary);}
.gt-map-card > span {display:block;padding:11px 12px;font-size:13px;font-weight:600;}
.gt-map-card:hover {background:color-mix(in srgb,var(--fe-color-text) 9%,var(--fe-color-surface));}
.gt-map-card:has(input:not(:checked)) img,.gt-map-card.is-banned img {opacity:.25;filter:grayscale(1);}
.gt-map-card.is-banned {cursor:default;}
.gt-map-card small {position:absolute;top:9px;right:9px;background:#101827d9;color:#fff;font-size:10px;padding:3px 7px;border-radius:4px;}
.gt-map-veto-heading {display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;}
.gt-page .gt-map-veto h2 {font-size:17px;}
.gt-page .gt-map-veto-heading p {font-size:13px;color:var(--fe-color-text-muted);margin-top:7px;}
.gt-map-history {display:flex;flex-wrap:wrap;gap:8px 20px;list-style:decimal inside;padding:0;font-size:11px;color:var(--fe-color-text-muted);margin:16px 0 0;}
.gt-map-history:empty {display:none;}
.gt-page .gt-map-source {margin-top:12px;font-size:11px;color:var(--fe-color-text-muted);text-align:right;}
.gt-map-source a {color:inherit;}
.gt-map-tool :is(button,input,select,summary):focus-visible,.gt-map-card:has(input:focus-visible) {outline:2px solid var(--fe-color-primary);outline-offset:3px;}
.gt-map-tool fieldset:disabled {opacity:.6;}
@media(max-width:850px) {
    .gt-map-workspace {grid-template-columns:minmax(0,1fr);}
    .gt-map-result,.gt-map-settings {padding:20px;}
    .gt-map-empty {min-height:190px;gap:13px;}
    .gt-map-empty > svg {width:42px;height:42px;}
    .gt-map-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:520px) {
    .gt-map-pool,.gt-map-veto {padding:16px;}
    .gt-map-pool > summary span {display:none;}
    .gt-map-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    .gt-map-modes button {padding:14px 11px;}
    .gt-map-modes strong {font-size:13px;}
    .gt-map-modes span {font-size:11px;}
    .gt-map-veto-heading {flex-direction:column;align-items:stretch;}
    .gt-map-veto-actions {justify-content:flex-end;}
    .gt-map-card > span {padding:10px;font-size:12px;}
}
.gt-agent-workspace {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--fe-color-border);border-radius:16px;overflow:hidden;background:var(--fe-color-surface);box-shadow:var(--fe-shadow-sm);}
.gt-agent-result {min-width:0;padding:24px;background:radial-gradient(ellipse at 40% 20%,#29374b,#111a28);color:#f1f5f9;display:flex;flex-direction:column;}
.gt-agent-result-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.gt-page .gt-agent-result-bar h2 {font-size:14px;color:#e2e8f0;}
.gt-agent-result-bar > span {font-size:10px;letter-spacing:.1em;color:#a5b4c7;}
.gt-agent-placeholder {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;flex:1;text-align:center;gap:18px;}
.gt-agent-placeholder > svg {color:#f05270;}
.gt-page .gt-agent-placeholder h3 {font-size:23px;color:#f1f5f9;letter-spacing:-.03em;}
.gt-page .gt-agent-placeholder p {font-size:13px;color:#a5b4c7;}
.gt-agent-settings {padding:28px;min-width:0;}
.gt-page .gt-agent-settings h2 {font-size:17px;letter-spacing:-.02em;margin-bottom:18px;}
.gt-agent-modes {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px;}
.gt-agent-modes button {position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;border:0;border-radius:9px;background:var(--fe-color-bg-alt);font:inherit;text-align:left;color:var(--fe-color-text);cursor:pointer;}
.gt-agent-modes strong {font-size:14px;}
.gt-agent-modes span {font-size:12px;color:var(--fe-color-text-muted);}
.gt-agent-modes [aria-pressed="true"] {background:color-mix(in srgb,var(--fe-color-text) 9%,var(--fe-color-surface));}
.gt-agent-modes [aria-pressed="true"]::after {content:'';position:absolute;top:11px;right:11px;width:5px;height:5px;border-radius:50%;background:var(--fe-color-primary);}
.gt-agent-option {min-height:83px;}
.gt-agent-option > label {display:block;font-size:13px;margin-bottom:9px;}
.gt-agent-option select {width:100%;}
.gt-agent-option .gt-check {display:flex;gap:9px;align-items:center;padding:12px 0;}
.gt-agent-option input {accent-color:var(--fe-color-primary);}
.gt-page .gt-agent-option p {font-size:12px;color:var(--fe-color-text-muted);}
.gt-agent-pool-summary {display:flex;align-items:center;justify-content:space-between;margin:18px 0;font-size:13px;color:var(--fe-color-text-muted);}
.gt-agent-pool-summary strong {font-variant-numeric:tabular-nums;color:var(--fe-color-text);}
.gt-agent-settings #va-pick {width:100%;justify-content:center;gap:12px;min-height:44px;}
.gt-page .gt-agent-note {font-size:12px;line-height:1.65;color:var(--fe-color-text-muted);margin-top:12px;}
.gt-agent-picked-single {flex:1;}
.gt-agent-picked-single .gt-agent-picked {position:relative;min-height:280px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;}
.gt-agent-picked-single img {height:280px;width:210px;object-fit:contain;object-position:top;}
.gt-agent-picked-single .gt-agent-picked > div {position:absolute;inset:auto 0 0;padding:38px 12px 10px;text-align:center;background:linear-gradient(transparent,#152032 80%);}
.gt-agent-picked-single .gt-agent-picked h3 {font-size:30px;letter-spacing:-.03em;}
.gt-agent-picked span {font-size:11px;color:#bdc9d8;}
.gt-page .gt-agent-picked h3 {color:#f1f5f9;margin-top:3px;}
.gt-agent-picked-team {display:grid;gap:6px;margin-top:16px;}
.gt-agent-picked-team .gt-agent-picked {display:flex;align-items:center;gap:14px;background:#ffffff06;border-radius:7px;overflow:hidden;}
.gt-agent-picked-team img {width:48px;height:53px;object-fit:cover;object-position:top;}
.gt-agent-picked-team h3 {font-size:15px;}
.gt-agent-result-footer {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;}
.gt-agent-result-footer button {background:#ffffff12!important;color:#e2e8f0!important;border:0!important;}
.gt-agent-result-footer span {font-size:12px;color:#cbd5e1;}
.gt-agent-pool {margin-top:20px;border:1px solid var(--fe-color-border);border-radius:12px;padding:18px 22px;background:var(--fe-color-surface);}
.gt-agent-pool > summary {cursor:pointer;font-size:15px;font-weight:600;}
.gt-agent-pool-hint {font-size:12px;font-weight:400;color:var(--fe-color-text-muted);float:right;margin-top:2px;}
.gt-agent-pool-toolbar {display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0;}
.gt-agent-pool-toolbar > input {width:260px;max-width:100%;}
.gt-agent-pool-toolbar > div {display:flex;gap:8px;flex-shrink:0;}
.gt-page .gt-agent-group h3 {font-size:13px;font-weight:600;margin:20px 0 10px;color:var(--fe-color-text-muted);}
.gt-agent-grid {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;}
.gt-agent-card {position:relative;display:block;min-width:0;padding:8px 6px 9px;border-radius:9px;background:var(--fe-color-bg-alt);cursor:pointer;text-align:center;transition:background .15s;}
.gt-agent-card:hover {background:color-mix(in srgb,var(--fe-color-text) 9%,var(--fe-color-surface));}
.gt-agent-card input {position:absolute;top:8px;right:8px;z-index:1;width:13px;height:13px;accent-color:var(--fe-color-primary);}
.gt-agent-portrait {display:block;height:86px;overflow:hidden;border-radius:5px;}
.gt-agent-portrait img {display:block;width:100%;height:130px;object-fit:contain;object-position:top;transition:opacity .15s;}
.gt-agent-name {display:block;font-size:12px;margin-top:7px;font-weight:500;}
.gt-agent-card:has(input:not(:checked)) img {opacity:.3;filter:grayscale(1);}
.gt-agent-card:has(input:not(:checked)) .gt-agent-name {color:var(--fe-color-text-muted);}
.gt-page .gt-agent-source {margin-top:12px;font-size:11px;color:var(--fe-color-text-muted);text-align:right;}
.gt-agent-source a {color:inherit;}
.gt-agent-tool :is(button,input,select,summary):focus-visible,.gt-agent-card:has(input:focus-visible) {outline:2px solid var(--fe-color-primary);outline-offset:3px;}
@media(max-width:850px) {
    .gt-agent-workspace {grid-template-columns:minmax(0,1fr);}
    .gt-agent-result,.gt-agent-settings {padding:20px;}
    .gt-agent-placeholder {min-height:200px;gap:13px;}
    .gt-agent-placeholder > svg {width:42px;height:42px;}
    .gt-page .gt-agent-placeholder h3 {font-size:21px;}
    .gt-agent-picked-single .gt-agent-picked {min-height:220px;}
    .gt-agent-picked-single img {height:220px;width:165px;}
    .gt-agent-grid {grid-template-columns:repeat(5,minmax(0,1fr));}
}
@media(max-width:520px) {
    .gt-agent-pool {padding:16px;}
    .gt-agent-pool-hint {display:none;}
    .gt-agent-pool-toolbar {flex-direction:column;align-items:stretch;gap:10px;}
    .gt-agent-pool-toolbar > input {width:100%;}
    .gt-agent-pool-toolbar > div {justify-content:flex-end;}
    .gt-agent-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
    .gt-agent-modes button {padding:14px 11px;}
    .gt-agent-modes strong {font-size:13px;}
    .gt-agent-modes span {font-size:11px;}
    .gt-agent-portrait {height:72px;}
    .gt-agent-result-footer {flex-wrap:wrap;}
}
.gt-calc-result.gt-valorant-result {background:linear-gradient(140deg,color-mix(in srgb,#bc5868 8%,var(--fe-color-surface)),var(--fe-color-surface));}
.gt-valorant-label {display:block;color:var(--fe-color-text-muted);font-size:11px;letter-spacing:.12em;font-weight:700;margin-bottom:16px;}
.gt-valorant-metrics {display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0;}
.gt-valorant-metrics dt {font-size:12px;color:var(--fe-color-text-muted);}
.gt-valorant-metrics dd {margin:6px 0 0;font-size:22px;font-weight:600;}
.gt-valorant-equation {font-size:13px;line-height:1.7;margin-bottom:16px!important;}
.gt-valorant-result > .gt-builder-note {margin-top:18px;}
.gt-valorant-result #val-copy-status:not(:empty) {margin-top:10px;}
.gt-crosshair {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"preview settings" "export export";border:1px solid var(--fe-color-border);border-radius:16px;background:var(--fe-color-surface);box-shadow:var(--fe-shadow-sm);min-width:0;}
.gt-crosshair-preview {grid-area:preview;min-width:0;padding:24px;background:var(--fe-color-bg-alt);border-radius:16px 0 0 0;}
.gt-crosshair-settings {grid-area:settings;min-width:0;padding:24px;}
.gt-crosshair-settings-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.gt-page .gt-crosshair-settings h2 {font-size:16px;letter-spacing:-.02em;}
.gt-crosshair-settings-heading .button {min-height:32px;padding:5px 10px;font-size:12px;}
.gt-crosshair-presets {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.gt-crosshair-presets button {position:relative;display:grid;gap:8px;justify-items:center;border:0;border-radius:9px;padding:10px 4px;background:var(--fe-color-bg-alt);color:var(--fe-color-text-muted);font:inherit;font-size:12px;cursor:pointer;transition:background .15s,color .15s;}
.gt-crosshair-presets button:hover,.gt-crosshair-presets button[aria-pressed="true"] {background:color-mix(in srgb,var(--fe-color-text) 9%,var(--fe-color-surface));color:var(--fe-color-text);}
.gt-crosshair-presets button[aria-pressed="true"]::after {content:'';position:absolute;right:7px;top:7px;width:5px;height:5px;border-radius:50%;background:var(--fe-color-primary);}
.gt-crosshair-preset-icon {display:grid;place-items:center;width:42px;height:38px;border-radius:7px;background:#182231;}
.gt-crosshair-stage {position:relative;display:grid;place-items:center;min-height:340px;border-radius:10px;background:radial-gradient(ellipse at 50% 40%,#2d3a4e,#101927);color:#c5d0e0;isolation:isolate;overflow:hidden;}
.gt-crosshair-stage::before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 49.8%,#ffffff05 50%,transparent 50.2%),linear-gradient(transparent 49.8%,#ffffff05 50%,transparent 50.2%);pointer-events:none;}
.gt-crosshair-stage[data-background="light"] {background:radial-gradient(ellipse at 50% 40%,#f1eee7,#c9c3b6);color:#48505b;}
.gt-crosshair-stage[data-background="mixed"] {background:linear-gradient(125deg,#c5bba6 0 42%,#65717a 42% 69%,#253344 69%);color:#f1f5f9;}
.gt-crosshair-stage > svg {display:block;width:min(300px,100%);height:auto;}
.gt-crosshair-stage-bar {position:absolute;inset:14px 14px auto;display:flex;align-items:center;justify-content:space-between;gap:8px;}
.gt-page .gt-crosshair-stage-bar h2 {font-size:12px;font-weight:500;color:inherit;}
.gt-crosshair-stage-bar select {border:0;border-radius:6px;padding:7px 9px;background:#ffffff14;color:inherit;font:inherit;font-size:12px;cursor:pointer;}
.gt-crosshair-stage-bar option {color:#172131;background:#fff;}
.gt-crosshair-stage-caption {position:absolute;bottom:17px;font-size:9px;letter-spacing:.16em;opacity:.55;}
.gt-crosshair-backgrounds {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:12px;color:var(--fe-color-text-muted);}
.gt-crosshair-backgrounds > div {display:flex;gap:3px;padding:3px;border-radius:7px;background:color-mix(in srgb,var(--fe-color-text) 5%,var(--fe-color-surface));}
.gt-crosshair-backgrounds button {border:0;border-radius:5px;background:transparent;color:inherit;min-height:32px;padding:6px 12px;font:inherit;cursor:pointer;}
.gt-crosshair-backgrounds button[aria-pressed="true"] {background:var(--fe-color-surface);color:var(--fe-color-text);box-shadow:0 1px 3px #00000012;}
.gt-page .gt-crosshair-note {font-size:11px;line-height:1.6;color:var(--fe-color-text-muted);margin-top:12px;}
.gt-crosshair-color {display:flex;align-items:center;gap:12px;margin:20px 0 16px;font-size:13px;}
.gt-crosshair-color > label {margin-right:auto;}
.gt-crosshair-swatches {display:flex;align-items:center;gap:2px;}
.gt-crosshair-swatches button {display:grid;place-items:center;width:32px;height:36px;padding:6px;border:0;background:transparent;cursor:pointer;border-radius:6px;}
.gt-crosshair-swatches button::before {content:'';width:20px;height:20px;border-radius:50%;background:var(--ch-swatch);box-shadow:inset 0 0 0 1px #0002;}
.gt-crosshair-swatches button[aria-pressed="true"]::before {outline:1px solid var(--fe-color-text-muted);outline-offset:3px;}
.gt-crosshair-color input {flex-shrink:0;width:34px;height:30px;padding:3px;cursor:pointer;border:1px solid var(--fe-color-border);border-radius:6px;background:var(--fe-color-surface);}
.gt-crosshair-toggles {display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px;}
.gt-crosshair-toggles label {display:flex;align-items:center;gap:7px;padding:8px 10px;background:var(--fe-color-bg-alt);border-radius:6px;font-size:12px;cursor:pointer;}
.gt-crosshair-toggles input {width:13px;height:13px;margin:0;accent-color:var(--fe-color-primary);}
.gt-crosshair-sliders {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:16px;}
.gt-crosshair-control {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center;font-size:12px;}
.gt-crosshair-control output {min-width:24px;padding:2px 5px;text-align:center;font-variant-numeric:tabular-nums;font-size:11px;background:var(--fe-color-bg-alt);border-radius:4px;}
.gt-crosshair-control input {appearance:none;-webkit-appearance:none;grid-column:1/-1;width:100%;height:24px;margin:0;background:transparent;cursor:pointer;}
.gt-crosshair-control input::-webkit-slider-runnable-track {height:4px;border-radius:4px;background:var(--fe-color-border);}
.gt-crosshair-control input::-webkit-slider-thumb {appearance:none;-webkit-appearance:none;width:13px;height:13px;border-radius:50%;background:var(--fe-color-primary);margin-top:-4.5px;box-shadow:0 0 0 3px var(--fe-color-surface);}
.gt-crosshair-control input::-moz-range-track {height:4px;border-radius:4px;background:var(--fe-color-border);}
.gt-crosshair-control input::-moz-range-thumb {width:13px;height:13px;border:0;border-radius:50%;background:var(--fe-color-primary);}
.gt-crosshair-control.is-disabled {opacity:.4;}
.gt-crosshair-control input:disabled {cursor:default;}
.gt-crosshair-export {grid-area:export;min-width:0;padding:18px 24px;border-top:1px solid var(--fe-color-border);}
.gt-crosshair-code-heading {display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;}
.gt-crosshair-export label {font-size:14px;font-weight:600;}
.gt-crosshair-export textarea {display:block;width:100%;resize:vertical;min-height:52px;font:11px/1.6 monospace;overflow-wrap:anywhere;background:var(--fe-color-bg-alt);}
.gt-crosshair-export #ch-copy-status:not(:empty) {margin-top:8px;}
.gt-crosshair-how {font-size:12px;line-height:1.7;margin-top:12px;color:var(--fe-color-text-muted);}
.gt-crosshair-how summary {cursor:pointer;}
.gt-page .gt-crosshair-how p {margin-top:8px;}
.gt-crosshair :is(input,button,select,textarea):focus-visible {outline:2px solid var(--fe-color-primary);outline-offset:3px;}
@media(max-width:850px) {
    .gt-crosshair {grid-template-columns:minmax(0,1fr);grid-template-areas:"preview" "settings" "export";}
    .gt-crosshair-preview {padding:16px;border-radius:16px 16px 0 0;}
    .gt-crosshair-stage {min-height:220px;}
    .gt-crosshair-stage > svg {width:200px;height:200px;}
    .gt-crosshair-settings,.gt-crosshair-export {padding:18px 16px;}
    .gt-crosshair-sliders {column-gap:16px;}
    .gt-crosshair-control {font-size:11px;}
    .gt-crosshair-backgrounds {margin-top:10px;}
    .gt-crosshair-presets {gap:6px;}
    .gt-crosshair-presets button {font-size:11px;}
}
@media(max-width:360px) {
    .gt-crosshair-color {gap:7px;}
    .gt-crosshair-swatches button {width:27px;}
    .gt-crosshair-toggles label {padding:8px;font-size:11px;}
}
.gt-calc-result { padding: 28px; border: 1px solid var(--fe-color-border); border-radius: var(--fe-radius-md); background: linear-gradient(140deg, color-mix(in srgb, #55a64f 10%, var(--fe-color-surface)), var(--fe-color-surface)); min-width: 0; overflow-wrap: anywhere; }
.gt-calc-symbol { display: block; font-size: 46px; color: #448b40; line-height: 1.2; margin-bottom: 14px; }
.gt-page .gt-calc-result h2 { font-size: 16px; }
.gt-calc-number { display: block; font-size: clamp(27px, 3vw, 40px); font-weight: 700; margin: 14px 0; color: var(--fe-color-text); }
.gt-calc-result > p { font-size: 13px; line-height: 1.7; }
.gt-calc-meter { height: 10px; border-radius: 8px; overflow: hidden; margin: 12px 0; background: var(--fe-color-border); }
.gt-calc-meter span { display: block; height: 100%; background: #55a64f; }
.gt-recipe-library { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.gt-recipe-layout { display:grid; grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr); gap:20px; align-items:start; }
.gt-recipe-layout[hidden] { display:none; }
.gt-recipe-browser { display:grid;gap:10px;min-width:0; }
.gt-recipe-browser .gt-recipe-library { grid-template-columns:repeat(2,minmax(0,1fr));max-height:520px;overflow-y:auto;align-content:start;scrollbar-gutter:stable; }
.gt-recipe-browser .gt-builder-note { margin:0; }
.gt-recipe-detail { min-width:0;margin:0; }
.gt-recipe-shortcuts {display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-bottom:20px;}
.gt-recipe-shortcuts > span {font-size:13px;color:var(--fe-color-text-muted);}
.gt-recipe-shortcuts > div {display:flex;flex-wrap:wrap;gap:8px;}
.gt-recipe-shortcuts button {min-height:40px;}
.gt-recipe-search-mode {display:flex;width:100%;box-sizing:border-box;}
.gt-recipe-search-mode label {flex:1;text-align:center;}
.gt-recipe-search-mode span {padding-inline:8px;}
.gt-recipe-browser,.gt-recipe-detail {scroll-margin-top:12px;}
.gt-recipe-return {display:none;}
.gt-recipe-guide .gt-help-grid {margin-top:12px;}
.gt-recipe-guide .button {margin-top:12px;}
.gt-recipe-layout > .gt-builder { grid-area:auto;order:0; }
.gt-recipe-detail h2 { overflow-wrap:anywhere; }
.gt-recipe-option-copy { min-width:0;overflow-wrap:anywhere; }
.gt-recipe-option-copy small {display:block;color:var(--fe-color-text-muted);font-size:11px;margin-top:3px;}
.gt-recipe-option:focus-visible,.gt-recipe-ingredient:focus-visible { outline:2px solid var(--fe-color-primary);outline-offset:2px; }
.gt-recipe-choices { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px; }
.gt-recipe-choices .form-row {min-width:0;}
.gt-recipe-detail select {width:100%;min-width:0;max-width:100%;}
.gt-crafting-grid.gt-crafting-grid--ingredients {display:flex;flex-wrap:wrap;max-width:235px;justify-content:center;}
.gt-recipe-option { display:flex; align-items:center; gap:9px; padding:12px; min-width:0; text-align:left; font:inherit; font-size:13px; color:var(--fe-color-text); background:var(--fe-color-surface); border:1px solid var(--fe-color-border); border-radius:var(--fe-radius-md); cursor:pointer; }
.gt-recipe-option[aria-pressed="true"] { background:var(--fe-color-bg-alt);box-shadow:var(--fe-shadow-sm); }
.gt-recipe-option svg,.gt-recipe-ingredient svg { width:38px; height:38px; flex:0 0 38px; }
.gt-recipe-workbench { display:flex; justify-content:center; align-items:center; gap:24px; margin:24px 0; }
.gt-crafting-grid { display:grid; grid-template-columns:repeat(3,64px); gap:5px; padding:10px; border:1px solid var(--fe-color-border); border-radius:var(--fe-radius-md); background:var(--fe-color-bg-alt); }
.gt-crafting-cell { width:64px; height:64px; border:1px solid var(--fe-color-border); display:grid; place-items:center; background:var(--fe-color-surface); border-radius:4px; }
.gt-crafting-cell svg { width:48px;height:48px; }
.gt-crafting-arrow { font-size:30px;color:var(--fe-color-text-muted); }
.gt-recipe-yield { text-align:center;font-size:13px; }
.gt-recipe-yield svg { width:80px;height:80px; }
.gt-recipe-ingredients { display:flex;flex-wrap:wrap;gap:8px;margin-top:10px; }
.gt-recipe-ingredient { display:flex;align-items:center;gap:8px;max-width:100%;overflow-wrap:anywhere;padding:7px 12px;font:inherit;font-size:13px;border:1px solid var(--fe-color-border);border-radius:var(--fe-radius-sm);background:var(--fe-color-surface);color:var(--fe-color-text); }
button.gt-recipe-ingredient { cursor:pointer;text-decoration:underline;text-underline-offset:3px; }
@media(max-width:900px) { .gt-recipe-library {grid-template-columns:repeat(3,minmax(0,1fr));} }
@media(max-width:700px) { .gt-recipe-library {grid-template-columns:repeat(2,minmax(0,1fr));} .gt-recipe-option {padding:9px;font-size:12px;} .gt-recipe-workbench {gap:10px;} .gt-crafting-grid {grid-template-columns:repeat(3,44px);gap:3px;padding:6px;} .gt-crafting-cell {width:44px;height:44px;} .gt-crafting-cell svg {width:36px;height:36px;} .gt-recipe-yield svg {width:56px;height:56px;} }
@media(max-width:900px) { .gt-recipe-layout {grid-template-columns:1fr;} .gt-recipe-browser .gt-recipe-library {max-height:250px;grid-template-columns:repeat(3,minmax(0,1fr));} .gt-recipe-return {display:inline-flex;margin-bottom:12px;} }
@media(max-width:600px) { .gt-recipe-browser .gt-recipe-library {grid-template-columns:repeat(2,minmax(0,1fr));} .gt-recipe-choices {grid-template-columns:1fr;} .gt-crafting-grid.gt-crafting-grid--ingredients {max-width:158px;} .gt-recipe-yield {max-width:90px;} }
@media (max-width:700px) { .gt-calculator { grid-template-columns: minmax(0,1fr); } .gt-calc-result { padding:20px; } }
@media (max-width: 1050px) {
    .gt-workspace { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
    .gt-command-list { grid-template-columns: minmax(0, 1fr); }
    .gt-builder { padding: 16px; }
}
@media (max-width: 700px) {
    .gt-heading { align-items: flex-start; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
    .gt-heading p { font-size: 13px; }
    .gt-toolbar { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; padding-block: 12px; }
    .gt-editions { width: 100%; }
    .gt-editions label { flex: 1; text-align: center; }
    .gt-workspace { display: flex; flex-direction: column; gap: 20px; }
    .gt-builder { order: -1; width: 100%; }
    .gt-archive { width: 100%; }
    .gt-filters { flex-basis: 100%; grid-template-columns: minmax(0, 1fr) 164px; max-width: none; }
    .gt-filters .common-input, .gt-filters .common-select, .gt-builder .common-input, .gt-builder .common-select { font-size: 16px; }
    .gt-category > summary.common-select { font-size: 14px; }
    .gt-command { padding: 14px; }
    .gt-command > p { min-height: 0; }
    .gt-code-line .button { min-height: 36px; }
    .gt-help-grid, .gt-hub-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .gt-hub-grid--directory { gap: 12px; }
    .gt-hub-card { display: grid; grid-template-columns: minmax(0, 1fr) 88px; column-gap: 10px; padding: 18px; }
    .gt-hub-copy { grid-area: 1 / 1; }
    .gt-hub-art { grid-area: 1 / 2; align-self: start; height: auto; margin: 0; }
    .gt-hub-art > svg { width: 100%; height: auto; }
    .gt-hub-card h2 { font-size: 17px; }
    .gt-hub-card p { margin-bottom: 14px; }
    .gt-hub-footer { grid-column: 1 / -1; }
    .gt-help { margin-top: 18px; }
    .gt-help--intro { padding: 16px; }
}
@media (max-width: 380px) {
    .gt-hub-card { grid-template-columns: minmax(0, 1fr) 60px; column-gap: 8px; padding: 14px; }
}
@media (max-width: 360px) {
    .gt-filters { grid-template-columns: minmax(0, 1fr); }
}

.gt-tournament { min-width:0; }
.gt-tournament > section > .gt-builder { grid-area:auto;order:0;margin-top:16px; }
.gt-tournament .gt-team-fields > h2 { margin-bottom:12px;font-size:20px; }
.gt-tournament .form-row { min-width:0;margin-bottom:14px; }
.gt-tournament .common-select,.gt-tournament .common-input { width:100%;min-width:0; }
.gt-t-actions { display:flex;flex-wrap:wrap;gap:8px;align-items:center; }
.gt-t-actions .button { white-space:normal;line-height:1.4;min-height:36px; }
.gt-tournament > .gt-t-actions { margin:8px 0 16px; }
.gt-t-group-settings { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.gt-t-point-inputs { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.gt-t-dashboard { display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0 16px;border-top:1px solid var(--fe-color-border); }
.gt-t-dashboard > div { min-width:0; }
.gt-t-dashboard > .gt-t-actions { max-width:410px;justify-content:flex-end; }
.gt-page .gt-t-dashboard h2 { font-size:23px;overflow-wrap:anywhere;line-height:1.35;margin:5px 0; }
.gt-page .gt-t-eyebrow { font-size:12px;letter-spacing:.04em;color:var(--fe-color-text-muted); }
.gt-t-progress { display:block;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;margin-bottom:22px;accent-color:var(--fe-color-primary);background:var(--fe-color-border); }
.gt-t-progress::-webkit-progress-bar { background:var(--fe-color-border); }
.gt-t-progress::-webkit-progress-value { background:var(--fe-color-primary);border-radius:6px; }
.gt-t-progress::-moz-progress-bar { background:var(--fe-color-primary); }
.gt-t-winner { display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:24px; }
.gt-t-place { display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--fe-color-border);border-radius:var(--fe-radius-md);background:var(--fe-color-surface);min-width:0; }
.gt-t-place.is-champion { background:var(--fe-color-bg-alt); }
.gt-t-place-rank { display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid var(--fe-color-border);border-radius:50%;font-size:16px;font-weight:700;color:var(--fe-color-text-muted); }
.gt-t-place-copy { display:grid;gap:5px;min-width:0;overflow-wrap:anywhere; }
.gt-t-place-copy span { font-size:11px;color:var(--fe-color-text-muted); }
.gt-t-place-copy strong { font-size:15px;line-height:1.35; }
.gt-t-navigation { display:grid;gap:12px;margin-bottom:12px; }
.gt-t-section-heading { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.gt-page .gt-t-section-heading h3 { font-size:16px;font-weight:600; }
.gt-t-stage-tabs { display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--fe-color-border);padding-bottom:12px; }
.gt-t-stage-tabs .button[aria-pressed="true"],.gt-t-round-tabs .button[aria-pressed="true"] { border-color:var(--fe-color-text-muted);box-shadow:inset 0 -2px var(--fe-color-text-muted); }
.gt-t-round-controls { display:flex;align-items:center;gap:10px;min-width:0; }
.gt-t-round-controls.is-knockout { display:none; }
.gt-t-round-tabs { display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;min-width:0;flex:1;padding:4px; }
.gt-t-round-tabs .button { flex-shrink:0;white-space:nowrap; }
.gt-t-round-controls > .gt-t-actions { flex-shrink:0;gap:5px; }
.gt-t-round-controls > .gt-t-actions .button { width:34px;padding-inline:4px; }
.gt-t-board { display:flex;gap:32px;overflow-x:auto;overscroll-behavior-x:contain;padding:12px 2px 16px;align-items:flex-start;scrollbar-width:thin; }
.gt-t-round { flex:1 0 230px;min-width:0;display:grid;gap:12px; }
.gt-page .gt-t-round h3 { font-size:13px;font-weight:600;padding:7px 0;color:var(--fe-color-text-muted); }
.gt-t-match { display:block;width:100%;min-width:0;text-align:left;font:inherit;color:var(--fe-color-text);padding:12px;border:1px solid var(--fe-color-border);border-radius:var(--fe-radius-md);background:var(--fe-color-surface); }
button.gt-t-match { cursor:pointer; }
button.gt-t-match:hover { border-color:var(--fe-color-text-muted); }
.gt-t-match.is-done { background:var(--fe-color-bg-alt); }
.gt-t-match-status { display:block;font-size:11px;color:var(--fe-color-text-muted);margin-bottom:8px; }
.gt-t-match-team { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;font-size:14px; }
.gt-t-match-team + .gt-t-match-team { border-top:1px solid var(--fe-color-border); }
.gt-t-match-team > span { min-width:0;overflow-wrap:anywhere; }
.gt-t-match-team strong { font-variant-numeric:tabular-nums;font-size:15px;min-width:22px;text-align:right;flex-shrink:0; }
.gt-t-match-team.is-winner { font-weight:700; }
.gt-t-match-team.is-winner strong::after { content:' ✓';font-size:11px; }
.gt-t-board--league .gt-t-round { flex:1; }
.gt-t-slots { display:grid;grid-template-rows:repeat(var(--bracket-slots),148px); }
.gt-t-slot { position:relative;display:flex;align-items:center;min-width:0; }
.gt-t-slot.is-upper::after,.gt-t-slot.is-lower::after { content:'';position:absolute;left:100%;width:16px;height:50%;border-right:1px solid var(--fe-color-text-muted);pointer-events:none; }
.gt-t-slot.is-upper::after { top:50%;border-top:1px solid var(--fe-color-text-muted); }
.gt-t-slot.is-lower::after { bottom:50%;border-bottom:1px solid var(--fe-color-text-muted); }
.gt-t-board:not(.gt-t-board--league) .gt-t-round:not(:first-child) .gt-t-slot::before { content:'';position:absolute;right:100%;width:16px;border-top:1px solid var(--fe-color-text-muted); }
.gt-t-third { position:absolute;top:calc(50% + 88px);width:100%; }
.gt-t-slots:has(.gt-t-third) { min-height:410px; }
.gt-t-third h3 { margin-bottom:8px; }
.gt-t-team-name { display:flex;align-items:center;gap:8px; }
.gt-t-team-name > span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.gt-t-seed { display:inline-grid;place-items:center;flex:0 0 22px;height:22px;border:1px solid var(--fe-color-border);border-radius:4px;color:var(--fe-color-text-muted);font-size:10px;font-weight:500; }
.gt-t-board--league .gt-t-slots { grid-template-rows:none;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px; }
.gt-t-board--league .gt-t-slot { grid-row:auto !important; }
.gt-t-board--league .gt-t-round > h3,.gt-t-board--league .gt-t-round > p { grid-column:1/-1; }
.gt-t-completed { margin-top:0;border-top:1px solid var(--fe-color-border); }
.gt-t-completed > .gt-t-slots { margin-top:8px; }
.gt-t-completed .gt-t-match { padding:8px 10px; }
.gt-t-completed .gt-t-match-status { margin-bottom:4px;font-size:10px; }
.gt-t-completed .gt-t-match-team { padding:4px 0;font-size:13px; }
.gt-t-completed .gt-t-match-team strong { font-size:14px; }
.gt-t-completed .gt-t-seed { flex-basis:18px;height:18px; }
.gt-t-table-wrap { margin:20px 0 12px; }
.gt-t-table { width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed; }
.gt-t-table caption { caption-side:bottom;text-align:left;padding:10px 0;font-size:12px;line-height:1.6;color:var(--fe-color-text-muted); }
.gt-t-table th,.gt-t-table td { padding:10px 6px;text-align:center;border-bottom:1px solid var(--fe-color-border);font-variant-numeric:tabular-nums;overflow-wrap:anywhere; }
.gt-t-table th:nth-child(2) { width:40%;text-align:left; }
.gt-t-table thead { background:var(--fe-color-bg-alt); }
.gt-t-table tbody th { font-weight:500; }
.gt-t-table .is-qualified { background:color-mix(in srgb,var(--fe-color-primary) 4%,var(--fe-color-surface)); }
.gt-t-table .is-qualified > :first-child { box-shadow:inset 3px 0 var(--fe-color-primary); }
.gt-t-advance { display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid var(--fe-color-border);border-radius:var(--fe-radius-md);margin-bottom:16px; }
.gt-t-advance p { font-size:14px; }
.gt-t-participants { columns:3;line-height:1.8;padding-left:24px;font-size:13px;overflow-wrap:anywhere; }
.gt-t-participants li { break-inside:avoid; }
.gt-tournament #tr-delete { margin:16px 0 6px; }
.gt-t-dialog { box-sizing:border-box;width:calc(100% - 32px);max-width:540px;max-height:85dvh;overflow:auto;margin:auto;padding:24px;border:1px solid var(--fe-color-border);border-radius:var(--fe-radius-md);background:var(--fe-color-surface);color:var(--fe-color-text);box-shadow:0 18px 80px #0004; }
.gt-t-dialog::backdrop { background:#0f172a80; }
.gt-page .gt-t-dialog h2 { font-size:20px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:12px; }
.gt-t-dialog p { line-height:1.65; }
.gt-t-dialog .gt-builder-actions { margin-top:20px; }
.gt-t-score-entry { display:grid;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr);align-items:end;gap:12px;margin:20px 0; }
.gt-t-score-entry label { display:block;font-size:13px;overflow-wrap:anywhere;margin-bottom:8px; }
.gt-t-score-entry input { text-align:center;font-size:24px;min-height:56px;font-variant-numeric:tabular-nums; }
.gt-t-score-entry > span { align-self:end;padding-bottom:16px;text-align:center; }
.gt-tournament :is(button,select,input,textarea,[tabindex]):focus-visible { outline:2px solid var(--fe-color-primary);outline-offset:3px; }
.gt-t-print { display:none; }
.gt-page .button-secondary:hover { background:var(--fe-button-secondary-bg);color:var(--fe-button-secondary-text);border-color:var(--fe-color-text-muted); }
.gt-page .button-primary:hover { background:var(--fe-color-primary);border-color:var(--fe-color-text); }
.gt-page .gt-code-line .button:hover { background:transparent; }
.gt-tournament .gt-builder-actions .button { flex:0 1 auto; }
.gt-t-toolbar { display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px; }
.gt-t-toolbar > .gt-feedback { margin:0;padding:0;line-height:1.4; }
.gt-t-more { position:relative;flex-shrink:0; }
.gt-t-more > summary { list-style:none; }
.gt-t-more > summary::-webkit-details-marker { display:none; }
.gt-t-more > .gt-t-actions { position:absolute;right:0;top:calc(100% + 6px);z-index:5;width:210px;padding:8px;border:1px solid var(--fe-color-border);border-radius:var(--fe-radius-md);background:var(--fe-color-surface);box-shadow:var(--fe-shadow-sm); }
.gt-t-more .button { width:100%;justify-content:flex-start; }
.gt-t-more .gt-builder-note { margin:0 !important; }
.gt-t-more #tr-delete { margin:0; }
@media(max-width:800px) {
    .gt-t-dashboard { flex-direction:column;align-items:stretch;gap:12px; }
    .gt-t-dashboard > .gt-t-actions { justify-content:flex-start;max-width:none; }
}
@media(max-width:650px) {
    .gt-t-round-controls.is-knockout { display:flex; }
    .gt-t-place { padding:12px; }
    .gt-t-winner { grid-template-columns:minmax(0,1fr);gap:6px; }
    .gt-t-place-copy { display:flex;justify-content:space-between;align-items:center;gap:12px;flex:1; }
    .gt-t-place-copy span { flex-shrink:0; }
    .gt-t-place-copy strong { text-align:right; }
    .gt-t-slots { display:grid;grid-template-rows:none;gap:12px; }
    .gt-t-slots:has(.gt-t-third) { min-height:0; }
    .gt-t-slot { display:block;grid-row:auto !important; }
    .gt-t-slot::before,.gt-t-slot::after { display:none; }
    .gt-t-third { position:static;margin-top:24px; }
    .gt-t-board--league .gt-t-slots { grid-template-columns:minmax(0,1fr); }
    .gt-t-toolbar { align-items:flex-start; }
    .gt-t-board { overflow:visible;display:block; }
    .gt-t-board:not(.gt-t-board--league) .gt-t-round:not(.is-selected) { display:none; }
    .gt-t-round,.gt-t-round:not(:first-child) { width:100%;border:0;padding:0; }
    .gt-t-board--league .gt-t-round { grid-template-columns:minmax(0,1fr); }
    .gt-t-table .gt-t-wide-only { display:none; }
    .gt-t-table th:nth-child(2) { width:46%; }
    .gt-t-table th,.gt-t-table td { padding:10px 4px; }
    .gt-t-participants { columns:2; }
    .gt-t-dialog { padding:18px; }
    .gt-t-dialog .common-select,.gt-t-navigation .common-select { font-size:16px; }
    .gt-t-dialog .button { white-space:normal; }
    .gt-t-advance { flex-direction:column;align-items:stretch; }
}
.gt-budget,.gt-board { border:1px solid var(--fe-color-border);border-radius:16px;overflow:hidden;background:var(--fe-color-surface); }
.gt-budget { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); }
.gt-budget-result { padding:32px;background:radial-gradient(ellipse at top left,#292336,#101827 65%);color:#f8fafc; }
.gt-budget-eyebrow { font-size:11px;letter-spacing:.15em;color:#c7b9c7;font-weight:700; }
.gt-page .gt-budget-result h2 { color:#f8fafc;font-size:20px;margin:12px 0 18px; }
#vb-remaining { display:block;font-size:clamp(28px,3.5vw,44px);line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere; }
#vb-status { font-size:14px;line-height:1.6;margin:14px 0 24px;color:#cbd5e1; }
#vb-status[data-state="warning"] { color:#fcd6a0; }
.gt-budget-result dl { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;margin:0 0 26px; }
.gt-budget-result dt { font-size:12px;color:#aab7c8;line-height:1.5;margin-bottom:4px; }
.gt-budget-result dd { font-size:19px;font-weight:650;margin:0;font-variant-numeric:tabular-nums; }
.gt-page .gt-budget-note,#vb-copy-status { color:#aab7c8;font-size:12px;line-height:1.6;margin:16px 0 0; }
.gt-budget-form { padding:28px;min-width:0; }
.gt-budget-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px; }
.gt-page .gt-budget-heading h2 { font-size:19px;margin:0; }
.gt-budget-inputs { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.gt-budget-inputs .form-row { margin:0;min-width:0; }
.gt-budget-inputs label,.gt-board label { display:block;font-size:13px;margin-bottom:8px; }
.gt-budget-inputs input { width:100%;min-height:46px;font-size:17px;font-variant-numeric:tabular-nums; }
.gt-budget-inputs .form-row:last-child { grid-column:1/-1; }
.gt-budget-form button[type="submit"] { margin-top:22px;min-height:44px;width:100%; }
.gt-page .gt-budget-hint { font-size:12px;line-height:1.6;color:var(--fe-color-text-muted);margin:14px 0 0; }
.gt-board-toolbar { display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:18px 20px;border-bottom:1px solid var(--fe-color-border); }
.gt-board-toolbar > div:first-child { width:220px;min-width:0; }
.gt-board select { width:100%;min-height:44px; }
.gt-board-actions { display:flex;flex-wrap:wrap;gap:8px; }
.gt-board .button { min-height:44px; }
.gt-board-workspace { display:grid;grid-template-columns:minmax(0,1fr) 280px; }
.gt-board-stage { position:relative;align-self:start;background:#101827;min-width:0; }
#bt-canvas { display:block;width:100%;max-width:680px;margin:auto;aspect-ratio:1;touch-action:pan-y;user-select:none; }
#bt-canvas[data-mode="draw"] { touch-action:none;cursor:crosshair; }
.bt-marker { cursor:grab;touch-action:none; }
.bt-marker:active { cursor:grabbing; }
#bt-loading:not([hidden]) { position:absolute;inset:0;display:grid;place-items:center;background:#101827;color:#cbd5e1;margin:0;padding:24px;text-align:center; }
.gt-board-controls { padding:22px;min-width:0;border-left:1px solid var(--fe-color-border); }
.gt-page .gt-board-controls h2 { font-size:19px;margin:0 0 18px; }
.gt-board-modes { display:flex;gap:4px;padding:4px;background:var(--fe-color-bg);border-radius:9px;margin-bottom:20px; }
.gt-board-modes button { flex:1;min-height:40px;border:0;border-radius:6px;background:transparent;color:var(--fe-color-text-muted);font:inherit;font-size:13px;cursor:pointer; }
.gt-board-modes button[aria-pressed="true"] { background:var(--fe-color-surface);color:var(--fe-color-text);box-shadow:0 1px 4px #0002; }
.gt-board-controls .form-row { margin:0 0 16px; }
#bt-add { width:100%; }
.gt-page .gt-board-hint,.gt-page .gt-board-status { font-size:12px;line-height:1.65;color:var(--fe-color-text-muted);margin:14px 0; }
.gt-board-list-heading { display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:22px; }
.gt-page .gt-board-list-heading h3 { font-size:13px;margin:0; }
#bt-count { font-size:12px;color:var(--fe-color-text-muted); }
#bt-list { list-style:none;padding:0;margin:10px 0 0;max-height:260px;overflow-y:auto; }
#bt-list li { display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--fe-color-border); }
#bt-list button { min-height:44px;background:transparent;border:0;color:var(--fe-color-text);font:inherit;font-size:13px;cursor:pointer; }
#bt-list button:first-child { flex:1;text-align:left;display:flex;align-items:center;gap:8px; }
#bt-list button:first-child::before { content:"";width:8px;height:8px;border-radius:50%;background:var(--bt-color);flex-shrink:0; }
#bt-list button:last-child { width:40px;font-size:20px;color:var(--fe-color-text-muted); }
#bt-list button:hover { color:var(--fe-color-primary); }
.gt-board-foot { display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid var(--fe-color-border);font-size:12px;line-height:1.6;color:var(--fe-color-text-muted); }
.gt-board :is(button,select,svg):focus-visible,.gt-budget :is(button,input):focus-visible { outline:2px solid var(--fe-color-primary);outline-offset:3px; }
@media(max-width:850px) {
    .gt-budget { grid-template-columns:minmax(0,1fr); }
    .gt-board-workspace { grid-template-columns:minmax(0,1fr); }
    .gt-board-controls { border-left:0;border-top:1px solid var(--fe-color-border); }
    #bt-list { max-height:220px; }
}
@media(max-width:480px) {
    .gt-budget-result,.gt-budget-form,.gt-board-controls { padding:20px; }
    .gt-budget-inputs { gap:14px 10px; }
    .gt-budget-inputs label { min-height:38px;font-size:12px; }
    .gt-budget-inputs .form-row:last-child label { min-height:0; }
    .gt-board-toolbar { flex-direction:column;align-items:stretch;padding:16px;gap:12px; }
    .gt-board-toolbar > div:first-child { width:100%; }
    .gt-board-actions .button { flex:1;padding-inline:8px;font-size:12px; }
    .gt-board-foot { padding:14px 16px; }
    .gt-board select { font-size:16px; }
}
@media print {
    body:has(.gt-tournament) > :not(#site-main),
    .gt-page:has(.gt-tournament) > :not(.gt-content),
    .gt-content:has(.gt-tournament) > :not(.gt-tournament),
    .gt-tournament > :not(.gt-t-print) { display:none !important; }
    body:has(.gt-tournament),body:has(.gt-tournament) #site-main,.gt-page:has(.gt-tournament),.gt-content:has(.gt-tournament) { padding:0;margin:0;max-width:none;background:#fff; }
    body .gt-tournament .gt-t-print { display:block;white-space:pre-wrap;overflow-wrap:anywhere;font:12pt/1.6 sans-serif;color:#000;background:#fff; }
}

/* Successful clipboard feedback shared by tool copy controls. */
.gt-page .button.gt-copy-success,.gt-page .button.gt-copy-success:hover{background:#16834a;border-color:#16834a;color:#fff}
.gt-page .gt-code-line.gt-copy-success,.gt-page textarea.gt-copy-success,.gt-page .cheats-copy.gt-copy-success{border-color:#16834a;background:rgba(22,131,74,.08)}
