/* Field wall + case viewer (17 Nov 2026). Shared by the homepage "From the field" and the Delivery Corner.
   Everything here is fed from DIS's published field stories through /dis-api.php. */
.fw { --fw-ink:#0e0e0e; --fw-paper:#f5f0e8; --fw-card:#fbf9f5; --fw-muted:#514b45; --fw-line:rgba(14,14,14,.1); --fw-gold:#f0c842;
  --fw-go:#e0a91b; --fw-done:#23a55a; --fw-commission:#19a3b5; --fw-plan:#8a93a3; font-family: inherit; }
.fw-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(.8rem,1.4vw,1.25rem); }
.fw-grid.fw-6 { grid-template-columns:repeat(6,minmax(0,1fr)); }
@media (max-width:1280px){ .fw-grid.fw-6{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width:1000px){ .fw-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:560px){ .fw-grid,.fw-grid.fw-6{grid-template-columns:minmax(0,1fr);} }
.fw-card { position:relative; display:flex; flex-direction:column; background:var(--fw-card); border:1px solid var(--fw-line); border-radius:18px; overflow:hidden; color:var(--fw-ink); text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease, opacity .35s ease; min-width:0; }
.fw-card:hover, .fw-card:focus-visible { transform:translateY(-4px); box-shadow:0 18px 40px -18px rgba(14,14,14,.45); }
.fw-card:focus-visible { outline:3px solid var(--fw-gold); outline-offset:2px; }
.fw-card.swap { opacity:0; transform:scale(.97); }
.fw-img { position:relative; display:block; aspect-ratio:4/3; background:#1b1b1b; overflow:hidden; }
.fw-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:opacity .5s ease, transform 1.2s ease; }
.fw-card:hover .fw-img img { transform:scale(1.05); }
.fw-img::after { content:""; position:absolute; inset:auto 0 0 0; height:42%; background:linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events:none; }
.fw-chip { position:absolute; left:.7rem; top:.7rem; z-index:2; display:inline-flex; align-items:center; gap:.4rem; padding:.28rem .65rem; border-radius:99px; background:rgba(14,14,14,.78); color:#fff; font-size:.74rem; font-weight:700; backdrop-filter:blur(6px); }
.fw-chip i { width:8px; height:8px; border-radius:50%; background:var(--fw-plan); }
.g-go .fw-chip i { background:var(--fw-go); } .g-done .fw-chip i { background:var(--fw-done); } .g-commission .fw-chip i { background:var(--fw-commission); }
.fw-n { position:absolute; right:.7rem; bottom:.6rem; z-index:2; color:#fff; font-size:.74rem; font-weight:700; display:inline-flex; gap:.35rem; align-items:center; }
.fw-n svg { width:14px; height:14px; }
.fw-body { display:flex; flex-direction:column; gap:.35rem; padding:.95rem 1.05rem 1.1rem; flex:1; }
.fw-meta { font-size:.78rem; font-weight:700; color:var(--fw-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fw-t { font-size:1.02rem; font-weight:800; line-height:1.3; letter-spacing:-.01em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em; }
.fw-line { font-size:.84rem; color:var(--fw-muted); line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.5em; }
.fw-bar { margin-top:auto; display:block; height:6px; border-radius:6px; background:rgba(14,14,14,.09); overflow:hidden; }
.fw-bar i { display:block; height:100%; border-radius:6px; background:var(--fw-plan); }
.g-go .fw-bar i { background:var(--fw-go); } .g-done .fw-bar i { background:var(--fw-done); } .g-commission .fw-bar i { background:var(--fw-commission); }
.fw-pc { font-size:.78rem; font-weight:700; display:flex; justify-content:space-between; gap:.5rem; }
.fw-pc span:last-child { color:var(--fw-muted); font-weight:600; }
.fw-empty { grid-column:1/-1; padding:2.5rem 1rem; text-align:center; color:var(--fw-muted); border:1.5px dashed var(--fw-line); border-radius:18px; }
.fw-foot { display:flex; align-items:center; gap:.7rem; margin-top:1.1rem; font-size:.84rem; color:var(--fw-muted); }
.fw-pulse { width:9px; height:9px; border-radius:50%; background:var(--fw-done); box-shadow:0 0 0 0 rgba(35,165,90,.6); animation:fwp 2.2s infinite; }
@keyframes fwp { 70%{ box-shadow:0 0 0 9px rgba(35,165,90,0);} 100%{ box-shadow:0 0 0 0 rgba(35,165,90,0);} }
@media (prefers-reduced-motion:reduce){ .fw-pulse{animation:none;} .fw-card,.fw-img img{transition:none;} }

/* ── Case viewer ─────────────────────────────────────────────────────────── */
.fc { position:fixed; inset:0; z-index:2000; background:rgba(8,8,8,.86); backdrop-filter:blur(8px); display:flex; align-items:center; justify-content:center; padding:clamp(.5rem,2vw,1.5rem); }
.fc[hidden]{display:none;}
.fc-in { position:relative; width:min(1480px,100%); max-height:100%; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); background:#111; color:#f5f0e8; border:1px solid rgba(245,240,232,.14); border-radius:22px; overflow:hidden; }
.fc-x { position:absolute; right:1rem; top:1rem; z-index:6; border:0; border-radius:99px; background:rgba(14,14,14,.8); color:#fff; padding:.55rem 1rem; font-weight:700; cursor:pointer; }
.fc-x:hover{ background:#f0c842; color:#0e0e0e; }
.fc-stage { position:relative; background:#000; min-height:min(78vh,720px); display:flex; flex-direction:column; }
.fc-main { position:relative; flex:1; overflow:hidden; cursor:zoom-in; }
.fc-main img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .45s ease; }
.fc-main img.on { opacity:1; }
.fc-main.zoom { cursor:zoom-out; } .fc-main.zoom img { object-fit:contain; background:#000; }
.fc-arr { position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:46px; height:46px; border-radius:50%; border:0; background:rgba(14,14,14,.7); color:#fff; font-size:1.4rem; cursor:pointer; }
.fc-arr:hover{ background:#f0c842; color:#0e0e0e; } .fc-prev{left:.9rem;} .fc-next{right:.9rem;}
.fc-cap { position:absolute; left:1rem; bottom:.9rem; z-index:4; font-size:.82rem; font-weight:700; background:rgba(14,14,14,.72); padding:.3rem .75rem; border-radius:99px; }
.fc-thumbs { display:flex; gap:.5rem; padding:.7rem; background:#0a0a0a; overflow-x:auto; scrollbar-width:thin; }
.fc-thumbs button { flex:0 0 auto; width:88px; aspect-ratio:4/3; border:2px solid transparent; border-radius:10px; padding:0; overflow:hidden; background:#222; cursor:pointer; opacity:.6; }
.fc-thumbs button.on { border-color:#f0c842; opacity:1; } .fc-thumbs img{ width:100%; height:100%; object-fit:cover; }
.fc-tn { position:absolute; inset:0; z-index:3; display:none; background:#000; }
.fc-tn.on { display:block; } .fc-tn img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.fc-tn .after { clip-path:inset(0 0 0 var(--p,50%)); }
.fc-tn input { position:absolute; left:6%; right:6%; bottom:2.6rem; width:88%; z-index:5; accent-color:#f0c842; }
.fc-tn b { position:absolute; top:1rem; z-index:5; background:rgba(14,14,14,.75); padding:.25rem .7rem; border-radius:99px; font-size:.78rem; }
.fc-tn b:first-of-type{ left:1rem; } .fc-tn b:last-of-type{ right:1rem; top:3.6rem; }
.fc-side { padding:clamp(1.3rem,2.2vw,2.2rem); overflow-y:auto; max-height:min(92vh,860px); display:flex; flex-direction:column; gap:1.1rem; }
.fc-chip { align-self:flex-start; display:inline-flex; gap:.45rem; align-items:center; padding:.3rem .8rem; border-radius:99px; background:rgba(245,240,232,.1); font-size:.8rem; font-weight:700; }
.fc-chip i { width:9px; height:9px; border-radius:50%; background:#8a93a3; }
.fc.g-go .fc-chip i{background:#e0a91b;} .fc.g-done .fc-chip i{background:#23a55a;} .fc.g-commission .fc-chip i{background:#19a3b5;}
.fc-side h2 { font-size:clamp(1.4rem,2.1vw,2rem); line-height:1.15; letter-spacing:-.02em; font-weight:800; }
.fc-place { color:rgba(245,240,232,.7); font-size:.95rem; margin-top:-.5rem; }
.fc-prog { display:flex; align-items:center; gap:1.1rem; }
.fc-ring { --p:0; flex:0 0 92px; width:92px; height:92px; border-radius:50%; background:conic-gradient(var(--c,#8a93a3) calc(var(--p)*1%), rgba(245,240,232,.12) 0); display:grid; place-items:center; }
.fc.g-go .fc-ring{--c:#e0a91b;} .fc.g-done .fc-ring{--c:#23a55a;} .fc.g-commission .fc-ring{--c:#19a3b5;}
.fc-ring span { width:74px; height:74px; border-radius:50%; background:#111; display:grid; place-items:center; font-weight:800; font-size:1.25rem; }
.fc-prog p { color:rgba(245,240,232,.75); font-size:.95rem; line-height:1.55; }
.fc-found { background:rgba(245,240,232,.06); border-radius:14px; padding:.9rem 1rem; font-size:.95rem; line-height:1.6; }
.fc-found small { display:block; font-weight:700; color:rgba(245,240,232,.55); margin-bottom:.25rem; }
.fc-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
.fc-facts div { background:rgba(245,240,232,.06); border-radius:12px; padding:.7rem .9rem; }
.fc-facts div:last-child:nth-child(odd) { grid-column:1/-1; }
.fc-facts b { display:block; font-size:1.05rem; } .fc-facts span { font-size:.78rem; color:rgba(245,240,232,.6); }
.fc-line svg { width:100%; height:auto; display:block; } .fc-line small { color:rgba(245,240,232,.55); font-size:.78rem; }
.fc-act { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:auto; }
.fc-act button, .fc-act a { border:1.5px solid rgba(245,240,232,.3); background:transparent; color:#f5f0e8; padding:.6rem 1.05rem; border-radius:99px; font-weight:700; font-size:.88rem; cursor:pointer; text-decoration:none; }
.fc-act .gold { background:#f0c842; color:#0e0e0e; border-color:#f0c842; } .fc-act button:hover, .fc-act a:hover { border-color:#f0c842; }
@media (max-width:900px){ .fc-in{ grid-template-columns:minmax(0,1fr); overflow-y:auto; max-height:100%; } .fc-stage{ min-height:56vh; } .fc-side{ max-height:none; overflow:visible; } }
