/* puzzle styles: c — hsr navigation compass, valorant spike timeline, fate command cards (2026-11-25) */

/* ===== Honkai: Star Rail — Xianzhou Navigation Compass =====
   Three static dials share one grid cell and stack into one compass; each draws its arrow (::after) rotated by
   hs-r0..5 and its gold mark (::before) rotated by hs-m0..5. */
.mission-grid:has(>.hs-dial){width:min(210px,100%);margin:8px auto;grid-template-columns:1fr;place-items:center}
.mission-grid .field-tile.hs-dial{grid-area:1/1;aspect-ratio:1;height:auto;min-height:0;padding:0;border-radius:50%;
  --hs-arrow:#f3e3b0;
  background:repeating-conic-gradient(from -1.5deg,#ffffff30 0 3deg,transparent 3deg 60deg),var(--hs-face);
  border:2px solid var(--hs-rim);box-shadow:0 0 0 1px #0b1620,inset 0 0 10px #00000070}
.mission-grid .field-tile.hs-ring0{width:100%;--hs-face:radial-gradient(circle,#2a2416 55%,#4a3a1c);--hs-rim:#c9a35a}
.mission-grid .field-tile.hs-ring1{width:70%;--hs-face:radial-gradient(circle,#13343a 50%,#1f5257);--hs-rim:#6fc6bb}
.mission-grid .field-tile.hs-ring2{width:40%;--hs-face:radial-gradient(circle,#2b2346 30%,#3e3366);--hs-rim:#b9a3f0}
.hs-dial .field-glyph,.hs-dial small{display:none}
.hs-dial:before,.hs-dial:after{content:"";position:absolute;pointer-events:none}
.hs-dial:before{top:0;left:46%;width:8%;height:8%;background:#ffcf6a;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
  transform-origin:50% 625%;transform:rotate(var(--m))}
.hs-dial:after{top:8%;left:45%;width:10%;background:var(--hs-arrow);clip-path:polygon(50% 0,100% 45%,64% 45%,64% 100%,36% 100%,36% 45%,0 45%);
  transform:rotate(var(--a));transition:transform .25s ease-out}
.hs-ring0:after{height:7%;transform-origin:50% 600%}
.hs-ring1:after{height:13%;transform-origin:50% 323%}
.hs-ring2:after{height:30%;transform-origin:50% 140%}
.hs-dial.hs-on{--hs-arrow:#93debc}.hs-dial.hs-on:before{background:#93debc}
.hs-r0{--a:0deg}.hs-r1{--a:60deg}.hs-r2{--a:120deg}.hs-r3{--a:180deg}.hs-r4{--a:240deg}.hs-r5{--a:300deg}
.hs-m0{--m:0deg}.hs-m1{--m:60deg}.hs-m2{--m:120deg}.hs-m3{--m:180deg}.hs-m4{--m:240deg}.hs-m5{--m:300deg}
.mission-grid .field-tile.hs-gear{grid-auto-flow:column;justify-content:center;gap:10px;min-height:42px;border-radius:21px;
  background:linear-gradient(#5a4524,#3a2c17);border:1px solid #c9a35a;border-bottom:3px solid #7a5a2a}
.mission-grid .hs-gear .field-glyph{color:#ffcf6a;font-size:20px}
.mission-grid .hs-gear small{font-size:14px;color:#f7f3d9;letter-spacing:1px}
.help-example .mission-grid:has(>.hs-dial){width:100%}
.help-example .field-tile.hs-gear{min-height:30px;gap:4px}.help-example .hs-gear small{font-size:10px;letter-spacing:0}
.help-example .hs-gear .field-glyph{font-size:14px}

/* ===== Valorant — spike defuse timeline ===== */
.mission-grid:has(>.vl-tick){gap:3px}
.mission-grid .field-tile.vl-tick{min-height:38px;background:#16232c;border:1px solid #33464f;border-radius:2px}
.vl-tick .field-glyph{font-size:15px;color:#ece8e1}
.mission-grid .vl-tick .cell-mark{left:3px;right:auto;color:#8aa0a8;font-weight:400}
.mission-grid .field-tile.vl-peek{background:#3b1820;border-color:#ff4655}
.vl-peek .field-glyph,.vl-peek small{color:#ff6b77}
.mission-grid .field-tile.vl-past{opacity:.55}
.mission-grid .field-tile.vl-now{opacity:1;outline:2px solid #3ee0c0;outline-offset:-3px}
.vl-now .field-glyph{color:#3ee0c0}
.mission-grid .field-tile.vl-last:not(.vl-past){background:#3a2414;border-color:#ff8a3d}
.vl-last:not(.vl-now) .field-glyph{color:#ff8a3d}
.mission-grid .field-tile.vl-bar{min-height:24px;padding:0;border-radius:2px;border:1px solid #4a5f68;--w:0%;
  background:linear-gradient(90deg,#ff4655 var(--w),#16232c var(--w))}
.mission-grid .field-tile.vl-bar.vl-safe{background:linear-gradient(90deg,#3ee0c0 var(--w),#16232c var(--w))}
.vl-bar:after{content:"";position:absolute;left:50%;top:-3px;bottom:-3px;width:2px;background:#ece8e1}
.vl-bar .field-glyph{display:none}
.mission-grid .vl-bar small{font-size:12px;font-weight:700;color:#ece8e1;text-shadow:0 1px 2px #000}
.vl-q0{--w:0%}.vl-q1{--w:4.17%}.vl-q2{--w:8.33%}.vl-q3{--w:12.5%}.vl-q4{--w:16.67%}.vl-q5{--w:20.83%}.vl-q6{--w:25%}
.vl-q7{--w:29.17%}.vl-q8{--w:33.33%}.vl-q9{--w:37.5%}.vl-q10{--w:41.67%}.vl-q11{--w:45.83%}.vl-q12{--w:50%}
.vl-q13{--w:54.17%}.vl-q14{--w:58.33%}.vl-q15{--w:62.5%}.vl-q16{--w:66.67%}.vl-q17{--w:70.83%}.vl-q18{--w:75%}
.vl-q19{--w:79.17%}.vl-q20{--w:83.33%}.vl-q21{--w:87.5%}.vl-q22{--w:91.67%}.vl-q23{--w:95.83%}.vl-q24{--w:100%}
.mission-grid .field-tile.vl-btn{grid-auto-flow:column;justify-content:center;gap:8px;min-height:46px;border-radius:2px}
.mission-grid .vl-btn small{font-size:15px;font-weight:700;letter-spacing:2px}
.mission-grid .field-tile.vl-defuse{background:#ff4655;border:1px solid #ff8f98;border-bottom:3px solid #a3212d}
.vl-defuse .field-glyph,.vl-defuse small{color:#0f1923}
.mission-grid .field-tile.vl-hold{background:#0f1923;border:1px solid #3ee0c0;border-bottom:3px solid #1d7d6b}
.vl-hold .field-glyph,.vl-hold small{color:#3ee0c0}
.help-example .field-tile.vl-tick{min-height:26px}.help-example .vl-tick .field-glyph{font-size:11px}
.help-example .field-tile.vl-bar{min-height:12px}.help-example .vl-bar small{font-size:9px}
.help-example .field-tile.vl-btn{min-height:28px;gap:3px}.help-example .vl-btn small{font-size:10px;letter-spacing:0}

/* ===== Fate/Grand Order — command cards ===== */
.mission-grid .field-tile.ft-foe{min-height:50px;background:radial-gradient(circle at 50% 35%,#5a2030,#22121a);border:1px solid #8a3a4a;border-radius:4px}
.ft-foe .field-glyph{font-size:22px;color:#ffe0e0}
.mission-grid .ft-foe small{color:#e8a0a8;font-size:10px}
.mission-grid .field-tile.ft-front{border-color:#ffcf6a;box-shadow:0 0 0 1px #ffcf6a}
.mission-grid .field-tile.ft-dead{opacity:.45;background:#1a1418}
.mission-grid .field-tile.ft-slot{min-height:40px;border-radius:6px;background:#132631;border:1px dashed #5d7a80}
.ft-slot .field-glyph{font-size:17px}
.ft-empty .field-glyph{color:#5d7a80}
.mission-grid .field-tile.ft-slot.ft-b{background:#7a1c22;border:1px solid #ff8a8a}
.mission-grid .field-tile.ft-slot.ft-a{background:#1b3f86;border:1px solid #8fb6ff}
.mission-grid .field-tile.ft-slot.ft-q{background:#1a6436;border:1px solid #8fe6a8}
.ft-slot:not(.ft-empty) .field-glyph{color:#fff3d0}
.mission-grid .field-tile.ft-card{min-height:70px;border-radius:7px;border:2px solid #d9b25a;padding:3px 1px;gap:2px;
  box-shadow:inset 0 0 0 1px #00000060}
.mission-grid .field-tile.ft-card.ft-b{background:linear-gradient(170deg,#e0464c,#7a1418)}
.mission-grid .field-tile.ft-card.ft-a{background:linear-gradient(170deg,#4a86f0,#132f72)}
.mission-grid .field-tile.ft-card.ft-q{background:linear-gradient(170deg,#45c870,#145a2c)}
.ft-card .field-glyph{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0d1a22cc;border:1px solid #d9b25a;
  font:700 16px "Malgun Gothic",serif;color:#ffe9a8}
.mission-grid .ft-card small{font-size:10px;font-weight:700;color:#fff;text-shadow:0 1px 1px #000}
.mission-grid .ft-card .cell-mark{color:#fff3d0;text-shadow:0 1px 1px #000}
.mission-grid .field-tile.ft-on{transform:translateY(-4px);border-color:#fff3b0;box-shadow:0 0 0 2px #ffcf6a}
.mission-grid .field-tile.ft-on:disabled{opacity:1}
.ft-on:before{position:absolute;top:-6px;left:-4px;width:17px;height:17px;border-radius:50%;background:#ffcf6a;color:#2d3634;
  font:700 11px/17px sans-serif;text-align:center}
.ft-n1:before{content:"1"}.ft-n2:before{content:"2"}.ft-n3:before{content:"3"}
.mission-grid .field-tile.ft-next{min-height:34px;padding:1px;border-width:1px;opacity:.6}
.ft-next .field-glyph{width:18px;height:18px;font-size:11px}
.mission-grid .ft-next small,.mission-grid .ft-next .cell-mark{display:none}
.help-example .field-tile.ft-card{min-height:40px}.help-example .ft-card .field-glyph{width:18px;height:18px;font-size:11px}
.help-example .ft-card small,.help-example .ft-slot small{font-size:8px}
.help-example .field-tile.ft-foe{min-height:30px}.help-example .ft-foe .field-glyph{font-size:15px}
.mission-grid:has(>.ft-next){position:relative;margin-top:18px}
.mission-grid:has(>.ft-next):before{content:"다음 턴";position:absolute;top:-16px;left:0;font-size:11px;color:var(--muted)}
.mission-grid :is(.vl-tick,.vl-btn,.ft-card,.hs-gear) .cell-mark{background:none;padding:0;border-radius:0;left:auto;right:4px;top:2px}
.mission-grid .vl-tick .cell-mark{left:3px;right:auto;color:#8aa0a8;font-weight:400}
.mission-grid .vl-hold .cell-mark{font-size:12px;color:#3ee0c0;right:6px;top:3px}
.mission-grid .ft-card .cell-mark{right:5px;top:3px;font-size:11px}
.help-example .ft-card .cell-mark{display:none}
