/* zsgr.org — /gaming/ftc. Theme tokens live in core.css. */
.ftc { position: relative; }
.ftc h2.mono { margin: 28px 0 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.ftc-robots { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ftc-robot { text-align: left; padding: 16px; background: #000; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 8px; font: inherit; transition: border-color .2s, box-shadow .2s; }
.ftc-robot strong { font-size: 18px; }
.ftc-robot span { color: var(--dim); font-size: 13px; min-height: 36px; }
.ftc-robot dl { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin: 0; font: 600 11px var(--f-mono); }
.ftc-robot dl div { display: flex; justify-content: space-between; }
.ftc-robot dt { color: var(--dim); } .ftc-robot dd { margin: 0; }
.ftc-robot:hover { border-color: var(--v); }
.ftc-robot[aria-pressed="true"] { border-color: var(--v); box-shadow: 0 0 22px var(--v-glow); }
.ftc-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .ftc-modes { grid-template-columns: minmax(0, 1fr); } }
.ftc-modes .card { display: flex; flex-direction: column; gap: 14px; }
.ftc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ftc-btn { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-2); background: #000; color: var(--dim); font: 600 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ftc-btn:hover { color: var(--ink); border-color: var(--v); }
.ftc-btn[aria-pressed="true"], .ftc-primary { background: var(--v); border-color: var(--v); color: #000; }
.ftc-btn:focus-visible, .ftc-robot:focus-visible { outline: 2px solid var(--v-hi); outline-offset: 2px; }
.ftc-net { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ftc-net[hidden], #ftc-menu[hidden], #ftc-game[hidden], .ftc-over[hidden] { display: none; }
.ftc-net textarea { width: 100%; background: #000; color: var(--ink); border: 1px solid var(--line-2); font: 11px var(--f-mono); padding: 8px; resize: vertical; }
.ftc-net p { margin: 0; font-size: 13px; }
.ftc-rules { margin-top: 18px; }
.ftc-rules summary { cursor: pointer; color: var(--dim); }
.ftc-rules ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; }
.ftc-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 12px; }
.ftc-score { display: flex; align-items: baseline; gap: 10px; font: 600 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.ftc-score b { font-size: clamp(28px, 6vw, 48px); font-family: var(--f-display, inherit); }
.ftc-score.red { color: #ff4d5e; } .ftc-score.blue { color: #4d8dff; justify-content: flex-end; flex-direction: row-reverse; }
.ftc-clock { text-align: center; } .ftc-clock b { display: block; font-size: clamp(24px, 5vw, 38px); }
.ftc-clock span { color: var(--dim); font-size: 11px; }
.ftc-stage { position: relative; display: grid; place-items: center; }
#ftc-canvas { max-width: 100%; border: 1px solid var(--line-2); background: #0b0b12; cursor: crosshair; touch-action: none; display: block; }
.ftc-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(0, 0, 0, .82); }
.ftc-over h2 { font-size: clamp(32px, 6vw, 56px); margin: 0; }
.ftc-over table { border-collapse: collapse; font: 13px var(--f-mono); }
.ftc-over td, .ftc-over th { padding: 5px 16px; text-align: right; border-bottom: 1px solid var(--line); }
.ftc-over td:first-child { text-align: left; color: var(--dim); }
.ftc-over th.red { color: #ff4d5e; } .ftc-over th.blue { color: #4d8dff; }
.ftc-over tr.total td { color: var(--ink); font-weight: 700; }
.ftc-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.ftc-foot .ftc-btn { margin-left: auto; }
.ftc-hold { display: flex; gap: 6px; }
.ftc-hold i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); }
.ftc-hold i.pollen { background: #ffd23f; } .ftc-hold i.red { background: #ff4d5e; } .ftc-hold i.blue { background: #4d8dff; }
.ftc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 10px 16px; background: #000; border: 1px solid var(--v); opacity: 0; pointer-events: none; transition: .25s; font: 12px var(--f-mono); z-index: 50; }
.ftc-toast.on { opacity: 1; transform: translate(-50%, 0); }
.ftc-score small { font-size: 11px; color: var(--dim); }
.ftc-code { width: 92px; min-height: 38px; text-align: center; background: #000; color: var(--ink); border: 1px solid var(--line-2); font: 700 16px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
.ftc-manual { font-size: 13px; } .ftc-manual summary { cursor: pointer; color: var(--dim); margin-bottom: 8px; }
.ftc-bigcode { font: 800 clamp(34px, 8vw, 54px) var(--f-mono); letter-spacing: .25em; color: var(--v-hi); margin: 4px 0; }
.ftc-pads { margin-bottom: 26px; display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; touch-action: none; }
.ftc-pad { position: relative; width: min(34vw, 130px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); touch-action: none; -webkit-user-select: none; user-select: none; display: grid; place-items: center; }
.ftc-pad span { position: absolute; bottom: -20px; font-size: 10px; color: var(--dim); letter-spacing: .12em; text-transform: uppercase; }
.ftc-pad i { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--v); opacity: .75; box-shadow: 0 0 18px var(--v-glow); pointer-events: none; }
.ftc-pad[data-pad="aim"] i { background: #ff4d5e; box-shadow: 0 0 18px rgba(255,77,94,.5); }
.ftc-pads[hidden] { display: none; }
