/* dm-p1-20261013 — DM Screen P1 shell (body.dms-v2 only). Lantern Coast look bar. */
@font-face{font-family:'Cinzel';font-style:normal;font-weight:400 700;font-display:block;src:url(/fonts/woff2/s_cinzel_v26_8vIJ7ww63mVu7gt79mT7.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/woff2/s_sourcesans3_v20_nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F}
html body.dms-v2{--lc-navy:#000F17;--lc-card:#04131E;--lc-copper:#C9773B;--lc-cream:#F2D7AC;--lc-edge:#8A683C;--lc-dim:rgba(242,215,172,.72);--lc-line:rgba(138,104,60,.55);--lc-field:#020d15;--lc-sans:"Source Sans 3",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--lc-serif:"Cinzel",Georgia,serif;background:var(--lc-navy)!important;background-image:none!important;color:var(--lc-cream);display:flex;flex-direction:column;min-height:100dvh}
html body.dms-v2>:not(.site-header){--da-bg:#000F17!important;--da-bg-elevated:#04131E!important;--da-panel:#04131E!important;--da-ink:#F2D7AC!important;--da-text:#F2D7AC!important;--da-ink-muted:rgba(242,215,172,.72)!important;--da-ink-soft:rgba(242,215,172,.8)!important;--da-metal-orange:#C9773B!important;--da-metal-orange-hi:#d98a4f!important;--da-metal-blue:#8A683C!important;--da-gold:#C9773B!important;--da-gold-hi:#F2D7AC!important;--da-border:#8A683C!important;--da-font-display:"Cinzel",Georgia,serif!important;--da-font-body:var(--lc-sans)!important;font-family:var(--lc-sans)!important}
html body.dms-v2::before,html body.dms-v2::after{display:none!important}
body.dms-v2 .dmp-retired{display:none!important}
/* Old Board/Extras drawers peek beside the panels until script moves them.
   Hide that shell from the first paint. Once they sit in the tool host they are not direct children. */
body.dms-v2>main.dms-shell>.dms-drawer,body.dms-v2>main.dms-shell>#dms-drawer-left,body.dms-v2>main.dms-shell>#dms-drawer-right{display:none!important}
/* speedfix7: ids so the <=820px drawer rules in dm-screen.css cannot show them before the move; <=600px keeps the Board/Roster/Chat/Extras row's space until script adds it (no jump) */
@media (max-width:600px){body.dms-v2>main.dms-shell:not(:has(>#dms-mobile-tabstrip))::before{content:"";display:block;flex:0 0 44px;height:44px;order:0}}
body.dms-v2>:not(.site-header) h1,body.dms-v2>:not(.site-header) h2,body.dms-v2>:not(.site-header) h3{font-family:var(--lc-serif);font-weight:500;color:var(--lc-cream);letter-spacing:.01em;text-transform:none}
body.dms-v2>:not(.site-header) button,body.dms-v2>:not(.site-header) input,body.dms-v2>:not(.site-header) select,body.dms-v2>:not(.site-header) textarea{font-family:var(--lc-sans)}
/* buttons: thin copper edge + cream text; one copper filled action per view (dice Roll) */
body.dms-v2 main button.ghost,body.dms-v2 main button.primary,body.dms-v2 main .btn,body.dms-v2 .dmp-btn,body.dms-v2 main .dms-drawer-panel button:not(.dmp-linkbtn):not(.dms-reveal-x){background:transparent!important;background-image:none!important;border:1px solid var(--lc-copper)!important;color:var(--lc-cream)!important;box-shadow:none!important;border-radius:5px!important;font:500 .82rem/1.2 var(--lc-sans)!important;text-transform:none!important;letter-spacing:0!important;padding:.32rem .6rem!important;min-height:30px;text-shadow:none!important}
body.dms-v2 main button:hover:not(:disabled){border-color:var(--lc-cream)!important}
body.dms-v2 main button.is-on,body.dms-v2 main button[aria-pressed="true"]:not(.dms-die-btn),body.dms-v2 main button.is-active,body.dms-v2 main button.active{background:var(--lc-cream)!important;color:#1a0f06!important;border-color:var(--lc-cream)!important}
body.dms-v2 main #dms-dice-roll{background:var(--lc-copper)!important;color:#1a0f06!important;border-color:var(--lc-copper)!important;font-weight:600!important}
body.dms-v2 main select,body.dms-v2 main input[type=text],body.dms-v2 main input[type=number],body.dms-v2 main input:not([type]),body.dms-v2 main textarea{background:var(--lc-field)!important;color:var(--lc-cream)!important;border:1px solid var(--lc-line)!important;border-radius:5px!important;box-shadow:none!important}
body.dms-v2 main input[type=checkbox]{accent-color:var(--lc-copper)}
body.dms-v2 .dmp-dim{color:var(--lc-dim);font-weight:400}
body.dms-v2 .dmp-hint{color:var(--lc-dim);font:400 13px var(--lc-sans);text-decoration:none}
body.dms-v2 a.dmp-hint:hover{color:var(--lc-cream);text-decoration:underline}
body.dms-v2 .dmp-pad{padding:.3rem .7rem;margin:0}
/* shell */
body.dms-v2>main.dms-shell{flex:1 1 auto;--dms-left:300px;--dms-right:300px;padding:14px clamp(12px,1.6vw,22px)!important;gap:14px!important;background:var(--lc-navy)!important;grid-template-columns:var(--dms-left) minmax(0,1fr) var(--dms-right)!important;height:auto;min-height:0;max-width:none!important;margin:0!important;width:100%;box-sizing:border-box;overflow:visible!important}
/* The banner's controls move into the center panel. Hide it in CSS so the
   first frame does not reserve its height (or the old 46px footer). */
body.dms-v2>.dms-banner{display:none!important}
body.dms-v2 .dms-panel{background:var(--lc-card)!important;border:1px solid var(--lc-edge)!important;border-radius:8px!important;box-shadow:none!important;overflow:hidden;min-height:0}
body.dms-v2 .dms-panel-head{border-bottom:0!important;background:transparent!important}
body.dms-v2 #dms-left .dms-panel-head h2{font-size:1.25rem}
body.dms-v2 .dms-sheet-toggle{display:none!important}
/* center */
body.dms-v2 #dms-center{display:flex;flex-direction:column;padding:10px 12px;gap:8px;position:relative}
body.dms-v2 .dmp-strip{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;border:1px solid var(--lc-line);border-radius:6px;padding:6px 8px 6px 10px;font-size:.9rem}
body.dms-v2 .dmp-k{color:var(--lc-dim)}
body.dms-v2 .dmp-camp{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.dms-v2 .dmp-strip-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
body.dms-v2 .dmp-btn{display:inline-flex;align-items:center;text-decoration:none}
body.dms-v2 .dmp-row2{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
body.dms-v2 .dmp-row2-l{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.dms-v2 .dmp-row2 .dms-voice-cluster{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
body.dms-v2 #dms-center>.dms-panel-head{padding:0!important;justify-content:flex-start!important;flex-wrap:wrap;gap:6px!important}
body.dms-v2 #dms-center>.dms-panel-head .dms-toggle{font:500 .85rem var(--lc-sans)!important;text-transform:none!important;letter-spacing:0!important;color:var(--lc-cream)!important;display:inline-flex;gap:4px;align-items:center}
body.dms-v2 #dms-center>.dms-panel-head .dms-banner-fog{display:inline-flex;gap:6px}
body.dms-v2 #dms-center>.dms-panel-body{position:relative;flex:1 1 auto;min-height:0;padding:0!important;border:1px solid var(--lc-edge);border-radius:6px;overflow:hidden}
body.dms-v2 #dms-map-hint:empty{display:none}
/* popovers */
body.dms-v2 .dmp-pop-wrap{position:relative;display:inline-flex}
body.dms-v2 .dmp-pop{position:absolute;top:calc(100% + 4px);left:0;z-index:80;min-width:250px;max-width:min(340px,92vw);max-height:min(60vh,460px);overflow:auto;background:var(--lc-card);border:1px solid var(--lc-edge);border-radius:6px;padding:6px 0;box-shadow:0 10px 26px rgba(0,0,0,.45)}
body.dms-v2 #dmp-session-pop{left:auto;right:0}
body.dms-v2 .dmp-pop-k{margin:.4rem .7rem .25rem;font:600 13px var(--lc-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--lc-dim)}
body.dms-v2 .dmp-pop .dmp-row,body.dms-v2 main .dmp-pop button.dmp-row{display:block!important;width:100%;text-align:left;background:none!important;border:0!important;border-radius:0!important;color:var(--lc-cream)!important;padding:.42rem .75rem!important;font:400 .88rem var(--lc-sans)!important;min-height:34px;cursor:pointer}
body.dms-v2 main .dmp-pop button.dmp-row:hover,body.dms-v2 main .dmp-pop button.dmp-row:focus-visible{background:rgba(242,215,172,.08)!important}
body.dms-v2 main .dmp-pop button.dmp-row.is-on{background:rgba(242,215,172,.12)!important;color:var(--lc-cream)!important}
body.dms-v2 .dmp-list{list-style:none;margin:0;padding:0}
body.dms-v2 .dmp-chips{display:flex;gap:6px;flex-wrap:wrap;padding:.15rem .7rem .4rem}
body.dms-v2 #dmp-camp-host{padding:0 .7rem .3rem}
body.dms-v2 #dmp-camp-host .dms-campaign-switcher{display:flex!important;flex-direction:column;align-items:stretch}
body.dms-v2 #dmp-camp-host select{width:100%;max-width:none;min-height:34px}
/* tool panels over the map */
body.dms-v2 .dmp-tool{position:absolute;inset:0;z-index:60;background:var(--lc-card);display:flex;flex-direction:column;min-height:0}
body.dms-v2 .dmp-tool[hidden]{display:none!important}
body.dms-v2 .dmp-tool-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-bottom:1px solid var(--lc-line)}
body.dms-v2 .dmp-tool-head h2{font-size:1.15rem;margin:0}
body.dms-v2 .dmp-tool-host{flex:1 1 auto;min-height:0;overflow:auto;padding:4px 14px 14px}
body.dms-v2 #dmp-tool-host #dms-journal{min-height:12rem;display:block}
body.dms-v2 .dmp-tool-host .dms-drawer,body.dms-v2 #dmp-tool-host #dms-drawer-right,body.dms-v2 #dmp-tool-host #dms-drawer-left{position:static!important;transform:none!important;width:auto!important;max-width:none!important;display:none!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;inset:auto!important}
body.dms-v2 .dmp-tool-host .dms-drawer.is-open,body.dms-v2 #dmp-tool-host #dms-drawer-right.is-open,body.dms-v2 #dmp-tool-host #dms-drawer-left.is-open{display:block!important}
body.dms-v2 .dmp-tool-host .dms-drawer-tab,body.dms-v2 .dmp-tool-host .dms-drawer-nav{display:none!important}
body.dms-v2 .dmp-tool-host .dms-drawer-body{overflow:visible!important;padding:0!important}
body.dms-v2 .dmp-tool-host .dms-drawer-panel{margin-top:.4rem;color:var(--lc-cream)}
body.dms-v2 .dmp-tool-host .list-item{background:rgba(242,215,172,.03)!important;border:1px solid var(--lc-line)!important;border-radius:6px!important;color:var(--lc-cream)!important}
body.dms-v2 .dmp-tool-host .kicker{color:var(--lc-dim)!important;font-family:var(--lc-sans)!important}
/* bottom tool bar: plain buttons, no labels */
body.dms-v2 .dmp-toolbar{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
/* roster foot */
body.dms-v2 .dmp-session-items{display:flex;justify-content:space-between;gap:.5rem;margin:.6rem 0 0;padding-top:.5rem;border-top:1px solid var(--lc-line);font-size:.85rem}
body.dms-v2 .dmp-session-items a{color:var(--lc-cream)}
body.dms-v2 .dmp-session-items:empty{display:none}
/* right column */
body.dms-v2 #dms-right>.dms-panel-head{padding:10px 12px 4px!important}
body.dms-v2 .dmp-seg{display:grid;grid-template-columns:1fr 1fr;width:100%;border:1px solid var(--lc-copper);border-radius:999px;overflow:hidden}
body.dms-v2 main .dmp-seg button{border:0!important;border-radius:0!important;min-height:34px;font-weight:600!important}
body.dms-v2 .dmp-sub{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin:.35rem 0 .3rem}
body.dms-v2 .dmp-sub h2{font-size:1.1rem;margin:0}
body.dms-v2 #dms-right .dmp-chat-body{padding:4px 12px 12px!important;gap:6px;overflow:auto}
body.dms-v2 #dms-right .dmp-chat-body[hidden]{display:none!important}
body.dms-v2 #dms-right .dms-live-log{flex:1 1 140px;min-height:120px;border-top:1px solid var(--lc-line)}
body.dms-v2 #dms-right .dms-dice-tray{position:static!important;inset:auto!important;transform:none!important;width:auto!important;box-shadow:none!important;background:none!important;border:0!important;padding:0!important;display:block!important;max-height:none!important}
body.dms-v2 #dms-right .dms-dice-tray[hidden]{display:block!important}
body.dms-v2 #dms-right .dms-dice-tray-inner{display:flex;flex-direction:column;gap:6px;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
body.dms-v2 .dmp-paths{padding:4px 12px 12px;overflow:auto;flex:1 1 auto}
body.dms-v2 .dmp-paths[hidden]{display:none}
body.dms-v2 .dmp-path-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
body.dms-v2 .dmp-path{border:1px solid var(--lc-line);border-radius:6px;padding:6px 8px}
body.dms-v2 .dmp-path.is-here{border-color:var(--lc-copper)}
body.dms-v2 .dmp-path ul{list-style:none;margin:.2rem 0 0;padding:0;font-size:.85rem}
body.dms-v2 .dmp-path p{margin:.15rem 0 0;font-size:.85rem}
/* Edit screen (panel over the map) */
body.dms-v2 .dmp-edit-actions{display:inline-flex;gap:6px}
body.dms-v2 main button.dmp-cream,body.dms-v2 main #dmp-back{background:var(--lc-cream)!important;color:#1a0f06!important;border-color:var(--lc-cream)!important;font-weight:600!important}
body.dms-v2 .dmp-edit-help{margin:.5rem 0 .3rem;font-size:.85rem}
body.dms-v2 .dmp-edit-list{list-style:none;margin:0 0 .5rem;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px;min-height:30px}
body.dms-v2 .dmp-edit-item{display:flex;align-items:center;gap:8px;border:1px solid var(--lc-line);border-radius:6px;padding:2px 8px;background:var(--lc-navy)}
body.dms-v2 .dmp-edit-item.is-drag{opacity:.5}
body.dms-v2 .dmp-grip{cursor:grab;color:var(--lc-dim);letter-spacing:-.15em;user-select:none}
body.dms-v2 .dmp-linkbtn{flex:1;text-align:left;background:none;border:0;color:var(--lc-cream);font:500 .88rem var(--lc-sans);cursor:pointer;padding:5px 0;min-height:30px}
body.dms-v2 .dmp-linkbtn:hover{text-decoration:underline}
body.dms-v2 .dmp-move{display:inline-flex;gap:2px}
body.dms-v2 main button.dmp-mini{background:none!important;border:0!important;color:var(--lc-dim)!important;padding:0 .25rem!important;min-height:26px;font-size:13px!important;cursor:pointer}
body.dms-v2 main button.dmp-mini:hover,body.dms-v2 main button.dmp-mini:focus-visible{color:var(--lc-cream)!important}
body.dms-v2 .dmp-switch{position:relative;display:inline-flex;width:36px;height:20px;flex:0 0 auto;cursor:pointer}
body.dms-v2 .dmp-switch input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
body.dms-v2 .dmp-switch span{position:absolute;inset:0;border:1px solid var(--lc-edge);border-radius:999px;background:transparent;transition:background .15s}
body.dms-v2 .dmp-switch span::after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:var(--lc-edge);transition:transform .15s}
body.dms-v2 .dmp-switch input:checked+span{background:var(--lc-cream);border-color:var(--lc-cream)}
body.dms-v2 .dmp-switch input:checked+span::after{transform:translateX(16px);background:#1a0f06}
body.dms-v2 .dmp-switch input:focus-visible+span{outline:2px solid var(--lc-copper);outline-offset:2px}
@media (max-width:900px){body.dms-v2 .dmp-edit-list{grid-template-columns:1fr}body.dms-v2 .dmp-switch{width:44px;height:28px}body.dms-v2 .dmp-switch span::after{width:18px;height:18px;top:4px;left:4px}body.dms-v2 .dmp-switch input:checked+span::after{transform:translateX(16px)}body.dms-v2 main button.dmp-mini{min-width:44px}}
/* footer (same as Planner) */
body.dms-v2>.da-site-footer{position:static!important;background:var(--lc-navy)!important;border-top:1px solid var(--lc-edge)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:var(--lc-cream);padding:.55rem clamp(16px,2.6vw,2rem)!important;min-height:0!important}
body.dms-v2>.da-site-footer>*:not(.da-site-footer-inner),body.dms-v2>.da-site-footer .da-site-footer-inner>*:not(.da-site-footer-bug):not(.da-site-footer-copy){display:none!important}
body.dms-v2>.da-site-footer .da-site-footer-inner{display:flex;justify-content:space-between;width:100%;max-width:none!important;margin:0!important;padding:0!important;align-items:center}
body.dms-v2>.da-site-footer .da-site-footer-bug{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:36px;font:400 .82rem var(--lc-sans)!important;color:rgba(232,220,198,.82)!important;cursor:pointer}
body.dms-v2>.da-site-footer .da-site-footer-bug:hover{color:var(--lc-cream)!important;text-decoration:underline}
body.dms-v2>.da-site-footer .da-site-footer-copy{font:400 .82rem var(--lc-sans)!important;color:rgba(232,220,198,.82)!important;word-spacing:.15em}
html.dm-chrome-off body.dms-v2>.da-site-footer{display:none!important}
html.dm-chrome-off body.dms-v2>main.dms-shell{height:100dvh}
/* tablet */
@media (max-width:1100px){body.dms-v2>main.dms-shell{--dms-left:260px;--dms-right:260px}}
/* mobile: one column, 16px type, 44px taps, 16px side padding */
@media (max-width:900px){
  body.dms-v2>main.dms-shell{display:flex!important;flex-direction:column;height:auto!important;min-height:0;padding:12px 16px!important;gap:12px!important;overflow:visible!important}
  body.dms-v2 #dms-center{order:1;min-height:0}
  body.dms-v2 #dms-left{order:2;max-height:none!important}
  body.dms-v2 #dms-right{order:3;max-height:none!important}
  body.dms-v2 #dms-center>.dms-panel-body{height:min(62vh,480px);flex:0 0 auto}
  body.dms-v2 .dms-left .dms-panel-body,body.dms-v2 .dms-right .dms-panel-body{display:flex!important}
  body.dms-v2 #dms-left .dms-panel-body{display:block!important}
  html body.dms-v2 main button:not(.dmp-mini),html body.dms-v2 main .dmp-btn,html body.dms-v2 main select,body.dms-v2 main input:not([type=checkbox]):not([type=range]),body.dms-v2 main .dmp-linkbtn{min-height:44px!important;font-size:16px!important}
  body.dms-v2 main textarea{font-size:16px!important}
  body.dms-v2 #dms-center>.dms-panel-head .dms-toggle{min-height:44px;font-size:16px!important}
  body.dms-v2 .dmp-strip,body.dms-v2 .dmp-session-items,body.dms-v2 .dmp-pop .dmp-row{font-size:16px!important}
  body.dms-v2 .dmp-pop{position:fixed;left:16px!important;right:16px!important;top:auto;max-width:none;width:auto}
  body.dms-v2 .dmp-tool{position:fixed;inset:var(--dmp-top,64px) 0 0 0;z-index:120}
  body.dms-v2 .dmp-dice-head .dmp-hint{display:none}
}
/* polish */
body.dms-v2 main label,body.dms-v2 main .kicker{text-transform:none!important;letter-spacing:0!important;font-family:var(--lc-sans)!important}
body.dms-v2 main .dms-toggle{font:500 .85rem var(--lc-sans)!important;color:var(--lc-cream)!important}
body.dms-v2 #dms-center>.dms-panel-head button,body.dms-v2 .dmp-row2 button,body.dms-v2 .dmp-strip button,body.dms-v2 .dmp-strip .dmp-btn,body.dms-v2 .dmp-toolbar button{padding:.26rem .55rem!important;font-size:13px!important;min-height:28px}
body.dms-v2 #dmp-map-btn{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}
body.dms-v2 .dms-level-bar:empty{display:none}
body.dms-v2 main .dmp-seg button:not(.is-on){background:transparent!important;color:var(--lc-cream)!important}

body.dms-v2 #dms-right .dms-dice-quick{display:flex;flex-wrap:wrap;gap:4px}
body.dms-v2 #dms-right .dms-dice-quick button{flex:0 0 auto;min-width:0;padding:.2rem .45rem!important;font-size:13px!important}
body.dms-v2 #dms-right .dms-dice-adv{display:flex;gap:4px;flex-wrap:wrap}
body.dms-v2 #dms-right .dms-dice-custom{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}
body.dms-v2 #dms-right .dms-dice-formula-label{display:flex;flex-direction:column;flex:1 1 auto}
body.dms-v2 #dms-right .dms-dice-formula-label .kicker{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
body.dms-v2 #dms-right .dms-dice-formula-label input{min-height:30px}
body.dms-v2 #dms-right .dms-dice-result{min-height:0;padding:0}
body.dms-v2 #dms-right .dms-dice-faces{font-size:.82rem;color:var(--lc-dim)}
body.dms-v2 #dms-right .dms-dice-total{font-size:1.3rem;color:var(--lc-cream);text-shadow:none}
body.dms-v2 #dms-right .dms-dice-meta{display:flex;align-items:center;justify-content:space-between;gap:6px}
body.dms-v2 #dms-right .dms-dice-meta label{display:inline-flex;align-items:center;gap:5px;font-size:.82rem!important;font-weight:400!important}
body.dms-v2 main #dms-dice-clear-hist{border:0!important;text-decoration:underline;padding:0 .2rem!important;font-size:13px!important;color:var(--lc-dim)!important}
body.dms-v2 #dms-right .dms-dice-history{max-height:6rem;font-size:.82rem;opacity:1}
body.dms-v2 #dms-right .dms-dice-history .h-total{color:var(--lc-cream)}
body.dms-v2 #dms-right .dms-live-log{font-size:.88rem}
body.dms-v2 #dms-right .dms-live-compose{display:flex;gap:6px}
body.dms-v2 #dms-right .dms-live-compose input{flex:1 1 auto;min-width:0;min-height:30px}
body.dms-v2 #dms-right .dms-dice-meta label{white-space:nowrap;flex:0 0 auto}
body.dms-v2 #dms-right .dms-dice-result.dmp-empty{display:none}
html body.dms-v2 main button.dmp-linkbtn{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:5px 0!important;font:500 .88rem var(--lc-sans)!important;color:var(--lc-cream)!important;min-height:30px}
html body.dms-v2 main button.dmp-mini{background:none!important;border:0!important;box-shadow:none!important;color:var(--lc-dim)!important;padding:0 .25rem!important;min-height:26px;font-size:13px!important}
html body.dms-v2 main button.dmp-mini:hover,html body.dms-v2 main button.dmp-mini:focus-visible{color:var(--lc-cream)!important}
@media (max-width:900px){html body.dms-v2 main button.dmp-mini{min-width:44px;min-height:44px}html body.dms-v2 main button.dmp-linkbtn{min-height:44px;font-size:16px!important}}
@media (max-width:900px){body.dms-v2 main label:has(> input[type=checkbox]){min-height:44px;display:inline-flex;align-items:center;gap:8px}body.dms-v2 main input[type=checkbox]{width:22px;height:22px}body.dms-v2 .dms-neg-chip{border-radius:12px!important;max-width:calc(100% - 32px)}}
@media (max-width:900px){
body.dms-v2>:not(.site-header) :is(button,a,select,input:not([type=checkbox]):not([type=range]),[role=button]):not(.dmp-switch){min-width:44px!important;min-height:44px!important}
body.dms-v2>:not(.site-header) :is(p,span,label,li,a,button,select,input,textarea,small,strong,em,b,div,td,th,dt,dd,summary,legend,option,code){font-size:16px!important}
body.dms-v2>:not(.site-header) :is(h1,h2,h3){font-size:20px!important}
body.dms-v2>:not(.site-header) :is(h4,h5,h6){font-size:17px!important}
body.dms-v2 #dmp-session-items{display:inline-flex;align-items:center}
}
@media (max-width:900px){
html body.dms-v2 :is(main,footer,#dmp-tool,#dmp-edit-back,.dmp-pop) :is(button,a,label,span,input,select,textarea):not(#dmp-zz){font-size:16px!important}
html body.dms-v2 main#main.dms-shell{padding-left:16px!important;padding-right:16px!important}
html body.dms-v2 .dmp-tool-host{padding-left:16px!important;padding-right:16px!important}
html body.dms-v2 footer{padding-left:16px!important;padding-right:16px!important}
}
@media (max-width:900px){html body.dms-v2 .dmp-switch{width:56px!important;height:32px!important;min-width:56px!important;min-height:32px!important;margin:6px 0}}
@media (max-width:900px){html body.dms-v2 .dmp-switch span::after{width:22px;height:22px;top:4px;left:4px}html body.dms-v2 .dmp-switch input:checked+span::after{transform:translateX(24px)}html body.dms-v2 .dmp-switch input{min-width:0!important;min-height:0!important}}
/* ===== dm-p2-20261013: Roster does combat ===== */
body.dms-v2 .dms-round{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 6px}
body.dms-v2 .dms-turn-ctl{display:inline-flex;gap:5px;margin-left:auto}
body.dms-v2 .dms-roster-group{margin:8px 0 2px}
body.dms-v2 .dms-rg-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 5px;font:600 13px/1.3 var(--lc-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--lc-dim)}
body.dms-v2 .dms-rg-title{color:var(--lc-cream);opacity:.78}
body.dms-v2 .dms-rg-diff{text-transform:none;letter-spacing:0;color:#E39A5C;font-weight:600}
body.dms-v2 .dms-rg-actions{margin-left:auto;display:inline-flex;gap:4px}
body.dms-v2 main .dms-rg-actions button{min-height:24px;padding:.12rem .45rem!important;font-size:13px!important;text-transform:none}
body.dms-v2 .dms-roster-row{display:block!important;padding:6px 8px!important;margin:0 0 5px!important;border:1px solid rgba(138,104,60,.7)!important;border-radius:6px!important;background:var(--lc-card)!important;grid-template-columns:none}
body.dms-v2 .dms-roster-row.is-turn{border-color:#E39A5C!important;box-shadow:inset 3px 0 0 #E39A5C}
body.dms-v2 .dms-roster-row.is-token-selected{outline:1px dashed var(--lc-cream);outline-offset:1px}
body.dms-v2 .dms-rr-top{display:flex;align-items:center;gap:6px;min-width:0}
body.dms-v2 .dms-rr-top .dms-roster-name{flex:1 1 auto;min-width:0;font-weight:600;font-size:.86rem}
body.dms-v2 .dms-rr-top .dms-roster-portrait{width:30px!important;height:30px!important;border:1px solid var(--lc-edge);background:#0A2233}
body.dms-v2 .dms-roster-id{display:flex;flex-direction:column;min-width:0}
body.dms-v2 .dms-roster-fullname{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dms-v2 .dms-rr-sub{font-weight:400;font-size:13px;color:var(--lc-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dms-v2 main .dms-rr-top button{min-height:24px;padding:.1rem .4rem!important;font-size:13px!important;border-color:rgba(138,104,60,.6)!important}
body.dms-v2 .dms-rr-hp{display:flex!important;align-items:center;gap:4px;margin-top:5px;flex-wrap:nowrap}
body.dms-v2 main .dms-rr-hp > button{min-width:22px;min-height:22px;padding:0!important;line-height:1}
body.dms-v2 .dms-rr-hp .dms-hp-bar{flex:1 1 auto;min-width:40px;height:6px;background:#1a2a33}
body.dms-v2 .dms-rr-hp .dms-hp-nums{white-space:nowrap;font-size:13px;display:inline-flex;align-items:center;gap:3px}
body.dms-v2 .dms-rr-hp .dms-hp-nums input{width:3.4rem!important;min-width:0!important;padding:.05rem .25rem;font-size:13px;text-align:right;background:var(--lc-navy);border:1px solid rgba(138,104,60,.6);color:var(--lc-cream);border-radius:4px}
body.dms-v2 .dms-rr-stats{display:flex;flex-wrap:wrap;gap:3px;align-items:center;margin-top:4px}
body.dms-v2 .dms-rr-stat{display:inline-flex;align-items:center;gap:3px;font:500 .72rem/1.3 var(--lc-sans)!important;border:1px solid rgba(138,104,60,.7)!important;border-radius:4px;padding:0 4px!important;background:none!important;min-width:0!important;color:var(--lc-cream)}
body.dms-v2 .dms-rr-stat input.dms-init{width:2.6rem;border:0!important;background:none!important;padding:0!important;font:600 .74rem/1.3 var(--lc-sans)!important;color:var(--lc-cream);min-width:0}
body.dms-v2 .dms-rr-stats .dms-chip{font-size:.66rem;border:1px solid var(--lc-edge);border-radius:8px;padding:0 5px;background:none}
body.dms-v2 main .dms-rr-stats .dms-rr-cond{min-height:20px;padding:0 6px!important;font-size:.66rem!important;border-radius:8px!important;opacity:.85}
body.dms-v2 .dms-rr-more{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;padding-top:6px;border-top:1px solid rgba(138,104,60,.35)}
body.dms-v2 .dms-rr-more[hidden]{display:none}
body.dms-v2 main .dms-rr-more button,body.dms-v2 .dms-rr-more select{min-height:24px;font-size:13px!important}
body.dms-v2 .dms-rr-more .dms-roster-remove{margin-left:auto}
body.dms-v2 .dms-roster-row .dms-foe-scale{margin-top:4px}
body.dms-v2 .dms-roster-defeated{border-top:1px solid rgba(138,104,60,.45);margin-top:6px;padding-top:5px}
body.dms-v2 .dms-rd-head{text-transform:none;letter-spacing:0;font-size:13px}
body.dms-v2 .dms-rd-toggle{all:unset;cursor:pointer;color:var(--lc-cream);flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dms-v2 .dms-rd-toggle:focus-visible{outline:2px solid var(--lc-copper)}
body.dms-v2 .dms-rd-names{color:var(--lc-dim)}
body.dms-v2 .dms-roster-row.is-defeated{opacity:.72}
body.dms-v2 .dms-hp-amount,body.dms-v2 .dms-roster-add{position:fixed;z-index:400;background:var(--lc-card);border:1px solid var(--lc-copper);border-radius:8px;box-shadow:0 10px 26px rgba(0,0,0,.6);padding:10px;color:var(--lc-cream);font-family:var(--lc-sans)}
body.dms-v2 .dms-hp-amount{width:240px}
body.dms-v2 .dms-hp-amount-lab{display:flex;flex-direction:column;gap:6px;font-size:13px}
body.dms-v2 .dms-hp-amount input,body.dms-v2 .dms-roster-add-q{background:var(--lc-navy);border:1px solid var(--lc-edge);border-radius:5px;color:var(--lc-cream);padding:.4rem .5rem;font:500 .95rem var(--lc-sans)}
body.dms-v2 .dms-hp-amount-btns,body.dms-v2 .dms-roster-add-foot{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}
body.dms-v2 .dms-hp-amount button,body.dms-v2 .dms-roster-add button{background:transparent;border:1px solid var(--lc-copper);color:var(--lc-cream);border-radius:5px;padding:.3rem .6rem;font:500 13px var(--lc-sans);cursor:pointer}
body.dms-v2 .dms-hp-amount button:hover,body.dms-v2 .dms-roster-add button:hover{border-color:var(--lc-cream)}
body.dms-v2 .dms-roster-add{width:300px;max-height:420px;display:flex;flex-direction:column}
body.dms-v2 .dms-roster-add-title{margin:0 0 6px;font:500 1rem var(--lc-serif)}
body.dms-v2 .dms-roster-add-list{overflow:auto;margin-top:6px;display:flex;flex-direction:column;gap:3px;min-height:60px}
body.dms-v2 .dms-roster-add .dms-roster-add-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border-color:rgba(138,104,60,.6)}
body.dms-v2 .dms-roster-add-sub{font-size:13px;color:var(--lc-dim)}
@media (max-width:900px){
 body.dms-v2 .dms-hp-amount,body.dms-v2 .dms-roster-add{left:16px!important;right:16px!important;width:auto!important}
 body.dms-v2 .dms-rr-hp .dms-hp-nums input{width:4.2rem!important}
 body.dms-v2 .dms-rr-stat input.dms-init{width:3.2rem}
 body.dms-v2 .dms-turn-ctl{margin-left:0}
}
body.dms-v2 .dms-roster-row .dms-foe-scale-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
body.dms-v2 .dms-roster-row .mon-scale-slider-inline{flex:1 1 70px;min-width:60px}
body.dms-v2 .dms-roster-row .mon-scale-slider-inline input{width:100%}
body.dms-v2 main .dms-roster-row .dms-foe-scale button{min-height:22px;padding:.05rem .4rem!important;font-size:13px!important}
body.dms-v2 .dms-roster-row .mon-scale-pill{font-size:13px;border:1px solid rgba(138,104,60,.7);border-radius:4px;padding:0 4px}
body.dms-v2 .dms-roster-row .mon-scale-pct-label{font-size:13px}
body.dms-v2 .dms-hp-amount-lab span{font:600 .85rem/1.3 var(--lc-sans)!important;text-transform:none!important;letter-spacing:0!important;color:var(--lc-cream)}
@media (max-width:640px){body.dms-v2 .dms-hp-amount-lab span{font-size:16px!important}}
/* dm-p3: Forge panel tabs */
body.dms-v2 .dmp-forge-tabs{flex:0 0 auto;display:flex;gap:6px;flex-wrap:wrap;padding:8px 14px;border-bottom:1px solid var(--lc-line)}
body.dms-v2 .dmp-forge-tabs[hidden]{display:none}
body.dms-v2 main .dmp-forge-tabs button{min-height:32px;padding:.25rem .7rem!important;font:600 .85rem var(--lc-sans)!important;text-transform:none!important;letter-spacing:0!important;border-radius:999px!important}
@media (max-width:640px){
  body.dms-v2 .dmp-forge-tabs{flex-wrap:nowrap;overflow-x:auto;padding:8px 16px;scrollbar-width:none}
  body.dms-v2 main .dmp-forge-tabs button{flex:0 0 auto;min-height:44px;font-size:16px!important}
}
body.dms-v2 main .dms-drawer-panel .dms-forge-filters button.is-active{background:var(--lc-cream)!important;color:#1a0f06!important;border-color:var(--lc-cream)!important}
/* dm-p4-20261014: thin floor stepper on the map edge (replaces the stacked level bar) + floor-order drag */
body.dms-v2 .dms-level-bar.is-stacked{display:none!important}
.dms-floor-stepper{position:absolute;right:10px;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;align-items:center;gap:2px;width:64px;padding:4px 0;background:rgba(4,19,30,.92);border:1px solid #8A683C;border-radius:8px;color:#F2D7AC;font-family:"Source Sans 3",system-ui,sans-serif;box-shadow:0 4px 14px rgba(0,0,0,.45);user-select:none}
.dms-floor-stepper[hidden]{display:none!important}
.dms-floor-stepper .dms-fs-btn{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:40px;height:30px;border-radius:6px;cursor:pointer;color:#F2D7AC;font-size:13px;line-height:1}
.dms-floor-stepper .dms-fs-btn:hover:not([disabled]){background:rgba(242,215,172,.08)}
.dms-floor-stepper .dms-fs-btn:focus-visible{outline:2px solid #C9773B;outline-offset:1px}
.dms-floor-stepper .dms-fs-btn[disabled]{opacity:.32;cursor:default}
.dms-floor-stepper .dms-fs-cur{display:flex;flex-direction:column;align-items:center;gap:1px;max-width:60px;padding:2px 0;border-top:1px solid rgba(138,104,60,.5);border-bottom:1px solid rgba(138,104,60,.5)}
.dms-floor-stepper .dms-fs-lab{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:58px;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.15;font-size:13px;font-weight:600;text-align:center}
.dms-floor-stepper .dms-fs-n{font-size:13px;color:rgba(242,215,172,.7)}
.dms-fl-grip{cursor:grab;color:rgba(242,215,172,.6);padding:0 6px 0 0;font-size:13px;letter-spacing:-2px;align-self:center;user-select:none}
.dms-lv-row.is-dragging{opacity:.45}
.dms-lv-row.is-drop-before{box-shadow:inset 0 2px 0 #C9773B}
.dms-lv-row.is-drop-after{box-shadow:inset 0 -2px 0 #C9773B}
@media (max-width:820px){.dms-floor-stepper{right:6px;width:64px}.dms-floor-stepper .dms-fs-btn{width:44px;height:44px;font-size:14px}.dms-fl-grip{display:none}}

/* fouc1-20261014: hide the pre-shell DM layout until dm-p1.js has built the strip */
@keyframes daShellReveal{to{visibility:visible}}
/* tool1: do not hide the whole screen until the strip is built. Signed-out visitors
   were looking at a blank page while that rule waited on JavaScript. */
/* dm-p4b: small mic button + compact voice popup + talking dots */
body.dms-v2 .dms-voice-cluster{position:relative}
body.dms-v2 #dms-voice-join-map{display:none!important}
body.dms-v2 .dms-mic-btn{display:inline-flex!important;align-items:center;gap:6px;position:relative}
body.dms-v2 .dms-mic-btn .dms-mic-ico{flex:0 0 auto}
body.dms-v2 .dms-mic-btn .dms-mic-dot{display:none;position:absolute;top:3px;right:3px}
body.dms-v2 .dms-mic-btn.is-talking .dms-mic-dot{display:block}
body.dms-v2 #dms-voice-row.dms-voice-pop{position:absolute!important;top:calc(100% + 8px);left:0;z-index:80;width:300px;max-width:calc(100vw - 32px);box-sizing:border-box;display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:12px!important;margin:0!important;background:#04131E!important;border:1px solid #8A683C!important;border-radius:8px;box-shadow:0 12px 32px rgba(0,0,0,.55);flex-wrap:initial;overflow:visible}
body.dms-v2 #dms-voice-row.dms-voice-pop[hidden]{display:none!important}
body.dms-v2 #dms-voice-row.dms-voice-pop>*{min-width:0}
body.dms-v2 #dms-voice-row.dms-voice-pop #dms-voice-room{grid-column:1/-1;font:600 14px var(--lc-serif,"Cinzel",serif);color:#F2D7AC;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dms-v2 #dms-voice-row.dms-voice-pop #dms-voice-status{font:13px var(--lc-sans,"Source Sans 3",sans-serif);color:rgba(242,215,172,.72);align-self:center}
body.dms-v2 #dms-voice-row.dms-voice-pop .dms-voice-meter{width:auto!important;align-self:center}
body.dms-v2 #dms-voice-row.dms-voice-pop button{width:100%;min-height:36px;justify-content:center}
body.dms-v2 #dms-voice-row.dms-voice-pop #dms-voice-ptt,body.dms-v2 #dms-voice-row.dms-voice-pop .dms-voice-unlock,body.dms-v2 #dms-voice-row.dms-voice-pop .dms-voice-level,body.dms-v2 #dms-voice-row.dms-voice-pop .dms-voice-peers,body.dms-v2 #dms-voice-row.dms-voice-pop #dms-voice-mic{grid-column:1/-1}
body.dms-v2 #dms-voice-row.dms-voice-pop .dms-voice-level{display:grid;grid-template-columns:84px 1fr;align-items:center;gap:8px;font:13px var(--lc-sans,"Source Sans 3",sans-serif);color:#F2D7AC}
body.dms-v2 #dms-voice-row.dms-voice-pop .dms-voice-level input{width:100%}
body.dms-v2 .dms-voice-peers{display:flex;flex-wrap:wrap;gap:6px;font:13px var(--lc-sans,"Source Sans 3",sans-serif);color:#F2D7AC}
body.dms-v2 .dms-voice-peers-k{width:100%;font:600 13px var(--lc-sans,sans-serif);letter-spacing:.12em;text-transform:uppercase;color:rgba(242,215,172,.72)}
body.dms-v2 .dms-voice-peer{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border:1px solid rgba(138,104,60,.55);border-radius:12px}
body.dms-v2 .dms-voice-peer .dms-talk-dot{visibility:hidden}
body.dms-v2 .dms-voice-peer.is-talking .dms-talk-dot{visibility:visible}
body.dms-v2 .dms-talk-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#7fd07a;box-shadow:0 0 0 2px rgba(127,208,122,.25),0 0 8px rgba(127,208,122,.7)}
body.dms-v2 .dms-roster-row{position:relative}
body.dms-v2 .dms-roster-row>.dms-talk-dot{position:absolute;top:8px;left:8px;z-index:2;animation:dmsTalk 1s ease-in-out infinite alternate}
body.dms-v2 .dms-roster-row.is-talking{box-shadow:inset 0 0 0 1px rgba(127,208,122,.55)}
@keyframes dmsTalk{from{opacity:.55}to{opacity:1}}
@media (prefers-reduced-motion:reduce){body.dms-v2 .dms-roster-row>.dms-talk-dot{animation:none}}
@media (max-width:820px){body.dms-v2 #dms-voice-row.dms-voice-pop button{min-height:44px}body.dms-v2 .dms-mic-btn{min-height:44px}}
/* dm-p4b: Negotiate panel over the map */
body.dms-v2 .modal-back.dms-neg-back.dms-neg-panel{background:rgba(0,15,23,.55)!important;backdrop-filter:none;display:flex!important;align-items:stretch;justify-content:center;padding:0!important;border-radius:6px;z-index:70}
body.dms-v2 .modal-back.dms-neg-panel.is-full{position:fixed!important;inset:0!important}
body.dms-v2 .dms-neg-panel .modal-card.dms-neg-card{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;border-radius:6px!important;border:1px solid #8A683C!important;background:#04131E!important;display:flex;flex-direction:column;overflow:hidden}
body.dms-v2 .dms-neg-panel .modal-card-body{flex:1 1 auto;overflow:auto}
body.dms-v2 .dms-neg-top{display:flex;align-items:center;padding:8px 12px;border-bottom:1px solid rgba(138,104,60,.55)}
body.dms-v2 .dms-neg-top .dms-neg-backbtn{min-height:36px;font:600 14px var(--lc-sans,"Source Sans 3",sans-serif)!important}
@media (max-width:820px){body.dms-v2 .dms-neg-top .dms-neg-backbtn{min-height:44px}}
html body.dms-v2 .modal-back.dms-neg-back.dms-neg-panel:not(.is-full){position:fixed!important;inset:auto!important;left:var(--neg-l)!important;top:var(--neg-t)!important;width:var(--neg-w)!important;height:var(--neg-h)!important;right:auto!important;bottom:auto!important}

/* dmsess-20261111: on phones the cookie card sat at top:68px, over the campaign strip, so Change session and Start blank table were under it. Keep that card at the bottom on the DM Screen only. */
@media (max-width:600px){body.dms-v2 .da-consent{top:auto!important;bottom:8px!important;left:8px;right:8px;max-width:none}}
/* mux11-forge-20261115: while the site notice bar (#da-site-notices, fixed at the bottom) is up, the cookie card sits above it
   so Accept and Decline can be tapped. The bar is removed from the page when Hide is tapped, so the card drops back to 8px. */
@media (max-width:600px){body.dms-v2:has(#da-site-notices) .da-consent{bottom:calc(156px + env(safe-area-inset-bottom, 0px))!important}}
