/* assets/duel/duel-nav.css: the Duel Arena's own row of ways around, in the site's header on /duel and /duel/board (seo/duel.js DNAV;
   duel_select.js wires it on /duel). (30 Oct 2026, Chris: "make it more obvious with more of a row of buttons to navigate this system easily
   + go forward & backward on the main site more easily + maybe a little home page button that brings people to this page that's like some
   custom icon") The arena's emblem (ours: the arena's ring, two blades crossed over the open book) is home; Play, Ranked Arena, Ladder and
   How it works follow, the page you are on lit; the calculator at the row's end is the way back to the main site. */
.dn{display:flex;align-items:center;gap:2px;margin-left:auto;align-self:center;flex:0 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none;padding:3px;border-radius:6px;background:rgba(10,8,6,.55);box-shadow:inset 0 0 0 1px rgba(232,192,98,.28)}
.dn a{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border-radius:4px;font:700 12px/1 Cinzel,Georgia,serif;letter-spacing:.04em;color:#e8dcc0;text-decoration:none;white-space:nowrap;transition:background .12s,color .12s}
.dn a:hover{color:#fff;background:rgba(255,236,190,.07)}
.dn a:focus-visible{outline:2px solid #ffd100;outline-offset:1px}
.dn a[aria-current]{color:#ffd75e;background:linear-gradient(rgba(255,209,0,.12),rgba(255,209,0,.04));box-shadow:inset 0 -2px 0 #ffd100}
.dn .dn-rk{color:#e3c6ff}
.dn .dn-rk:hover{color:#fff;background:rgba(163,53,238,.16)}
.dn .dn-rk[aria-current]{color:#efe0ff;background:linear-gradient(rgba(163,53,238,.28),rgba(163,53,238,.08));box-shadow:inset 0 -2px 0 #a335ee}
.dn .dn-rk i{width:7px;height:7px;border-radius:50%;background:#a335ee;box-shadow:0 0 8px rgba(163,53,238,.9)}
.dn .dn-sep{flex:none;width:1px;height:22px;margin:0 4px;background:rgba(232,192,98,.28)}
.dn .dn-calc{color:#c9bfa8;font-size:12px}
.dn .dn-calc b{font-weight:700;color:#ffd100}
/* a narrower header: the row takes its own line under the name, and scrolls sideways if it must */
@media (max-width:1100px){
  .masthead:has(.dn){flex-wrap:wrap;row-gap:8px}
  .dn{order:9;flex:1 1 100%;margin-left:0;overflow-x:auto;scrollbar-width:none;justify-content:flex-start}
  .dn::-webkit-scrollbar{display:none}
}
@media (max-width:600px){
  .dn{gap:2px;padding:2px}
  .dn a{min-height:44px;padding:0 9px;font-size:12px;letter-spacing:.03em}
  .dn .dn-sep{margin:0 2px}
  .dn .dn-calc span{display:none}
}
@media (prefers-reduced-motion:reduce){.dn a{transition:none}}
/* (31 Oct 2026, the sizes sweep) a phone's speaker (duel_sound.js tf-snd-m) shares the row's line, at its end; and on any touch screen
   every way in the row is at least 44 px each way (an iPad's were 36 tall, Report a bug 33 wide) */
.masthead:has(>.tf-snd-m) .dn{flex-basis:calc(100% - 56px)}   /* (the speaker's 44 and the header's 12 px gap) */
@media (pointer:coarse){.dn a{min-height:44px}.dn .dn-bug{min-width:44px;justify-content:center}.dn .tf-snd-n{min-width:44px;min-height:44px}}
/* the ladder page's button goes to the Ranked Arena, in its purple */
.db-go a.dl-go.db-rk{color:#efe0ff;box-shadow:0 0 0 2px #a335ee,0 0 18px rgba(163,53,238,.3);text-shadow:0 0 14px rgba(190,110,255,.5)}
.db-go a.dl-go.db-rk:hover{box-shadow:0 0 0 2px #cf9bff,0 0 24px rgba(163,53,238,.45)}
/* (30 Oct 2026) the home emblem is the real glowing book now (an img, not the drawn svg) */
/* Report a bug: muted at the nav's end, gold under the pointer; the box over the page, the site's panel look */
.dn .dn-bug{display:inline-flex;align-items:center;margin-left:2px;padding-left:8px;padding-right:8px;color:#9d927c}.dn .dn-bug span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dn .dn-bug svg{width:17px;height:17px;flex:none}
.dn .dn-bug:hover,.dn .dn-bug:focus-visible{color:#ffd100}
@media (max-width:899px){.dn .dn-bug span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.dn .dn-bug svg{width:17px;height:17px}}
.dn-bugd{width:min(440px,calc(100vw - 32px));padding:0;border:0;border-radius:6px;color:#e9e3d6;background:linear-gradient(180deg,#1d1810,#110e09);box-shadow:inset 0 0 0 1px rgba(232,192,98,.45),0 18px 50px rgba(0,0,0,.7)}
.dn-bugd::backdrop{background:rgba(0,0,0,.55)}
.dn-bugd form{display:flex;flex-direction:column;gap:10px;padding:18px 18px 16px}
.dn-bugd h2{margin:0;font:700 17px/1.2 Cinzel,Georgia,serif;letter-spacing:.06em;color:#ffd100}
.dn-bugd p{margin:0;font:400 13px/1.45 'Open Sans',sans-serif;color:#cfc4ae}
.dn-bugd textarea{box-sizing:border-box;width:100%;min-height:110px;padding:10px 12px;font:400 14px/1.45 'Open Sans',sans-serif;color:#f3ecdc;background:#0a0806;border:1px solid rgba(232,192,98,.35);border-radius:4px;resize:vertical}
.dn-bugd textarea:focus{outline:none;border-color:#ffd100;box-shadow:0 0 0 2px rgba(255,209,0,.18)}
.dn-bugd .dnb-m{min-height:18px;color:#ff9b7a}.dn-bugd .dnb-m.dnb-ok{color:#9fe08a}
.dn-bugd .dnb-b{display:flex;justify-content:flex-end;gap:10px}
.dn-bugd button{min-height:40px;padding:0 18px;font:700 13px/1 Cinzel,Georgia,serif;letter-spacing:.06em;border-radius:4px;cursor:pointer}
.dn-bugd .dnb-x{color:#cfc4ae;background:transparent;border:1px solid rgba(232,192,98,.3)}
.dn-bugd .dnb-s{color:#1a1206;background:linear-gradient(#ffd75e,#d9a521);border:1px solid #000}
.dn-bugd .dnb-s:disabled{opacity:.6;cursor:default}
.dn-bugd .dnb-x:hover{color:#fff;border-color:#ffd100}.dn-bugd .dnb-s:hover:not(:disabled){filter:brightness(1.1)}
.dx-bugl{color:#d9c48a;text-decoration:underline;text-underline-offset:2px;pointer-events:auto;white-space:nowrap}   /* (31 Oct 2026, the sizes sweep: "Report a" and "bug" on two lines at 412) */.dx-bugl:hover{color:#ffd100}
/* (31 Oct 2026, Chris: "maybe we should start a little update log for the fixes coming in") Update log: muted beside the calculator, a
   gold dot until the newest entry is opened (seo/duel.js DNAV, data/duel/updates.json); the box is the bug box's panel, its list scrolls */
.dn .dn-upd{color:#a89d86;font-size:12px}
.dn .dn-upd:hover,.dn .dn-upd:focus-visible{color:#ffd100}
.dn .dn-dot{display:none;position:absolute;top:7px;right:3px;width:6px;height:6px;border-radius:50%;background:#ffd100;box-shadow:0 0 6px rgba(255,209,0,.8)}
.dn .dn-upd.dn-new .dn-dot{display:block}
.dn-updd{width:min(560px,calc(100vw - 32px));max-height:min(720px,calc(100dvh - 48px));padding:0;border:0;border-radius:6px;color:#e9e3d6;background:linear-gradient(180deg,#1d1810,#110e09);box-shadow:inset 0 0 0 1px rgba(232,192,98,.45),0 18px 50px rgba(0,0,0,.7)}
.dn-updd[open]{display:flex;flex-direction:column}
.dn-updd::backdrop{background:rgba(0,0,0,.55)}
.dnu-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 10px;border-bottom:1px solid rgba(232,192,98,.2)}
.dnu-top h2,.dnu-page h2{margin:0;font:700 17px/1.2 Cinzel,Georgia,serif;letter-spacing:.06em;color:#ffd100}
.dnu-x{min-height:40px;padding:0 16px;font:700 13px/1 Cinzel,Georgia,serif;letter-spacing:.06em;color:#cfc4ae;background:transparent;border:1px solid rgba(232,192,98,.3);border-radius:4px;cursor:pointer}
.dnu-x:hover,.dnu-x:focus-visible{color:#fff;border-color:#ffd100}
.dn-updd .dnu-list{overflow-y:auto;overscroll-behavior:contain;padding:4px 18px 18px}
.dnu-e h3{margin:14px 0 6px;font:700 13px/1.2 Cinzel,Georgia,serif;letter-spacing:.08em;color:#d9c48a}
.dnu-e ul{margin:0;padding:0 0 0 18px}
.dnu-e li{margin:0 0 6px;font:400 13.5px/1.5 'Open Sans',sans-serif;color:#d8cfbc}
.dnu-e li::marker{color:#c9a24a}
.dnu-page{max-width:720px;margin:18px auto 28px;padding:20px 22px;border-radius:6px;background:linear-gradient(180deg,rgba(29,24,16,.92),rgba(17,14,9,.92));box-shadow:inset 0 0 0 1px rgba(232,192,98,.35)}
.dnu-page>p{margin:6px 0 0;font:400 14px/1.5 'Open Sans',sans-serif;color:#cfc4ae}
.dnu-page .db-go{margin-top:20px}
@media (max-width:600px){.dnu-page{margin:12px 0 20px;padding:16px 14px}.dnu-top{padding:12px 14px 8px}.dn-updd .dnu-list{padding:2px 14px 14px}}
