/* Crisp, compact console windows. Scope all overrides to the standalone city. */
.cinco-standalone {
  --dc-bg:#12271f; --dc-panel:#1c382c; --dc-edge:#91b875;
  --dc-text:#ede9cb; --dc-muted:#becbb9; --dc-gold:#f3cd70;
  color:var(--dc-text); background:#0d1916;
  font-family:ui-monospace,"Courier New",monospace;
  -webkit-text-size-adjust:100%; overscroll-behavior:none;
}
.dc-active {overflow:hidden;}
.dc-active #cincoGateway {display:none!important;}
.dc-root,.dc-dialog,.domain-panel.dc-retro {box-sizing:border-box;font-family:ui-monospace,"Courier New",monospace;}
.dc-root *, .dc-dialog *, .domain-panel.dc-retro * {box-sizing:border-box;}
.dc-root[hidden],.domain-panel.dc-retro[hidden] {display:none!important;}
.dc-root {
  position:fixed;inset:0;z-index:12000;display:flex;flex-direction:column;
  height:100vh;height:100dvh;overflow:hidden;background:var(--dc-bg);color:var(--dc-text);
  padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
}
.dc-root button,.dc-dialog button,.domain-panel.dc-retro button,
.cinco-standalone .cinco-box button {
  min-width:44px;min-height:44px;border:2px solid var(--dc-edge);border-radius:0;
  background:var(--dc-panel);color:var(--dc-text);font:inherit;font-weight:bold;
  padding:8px 12px;line-height:1.2;cursor:pointer;touch-action:manipulation;
}
.dc-root button:active,.dc-dialog button:active,.domain-panel.dc-retro button:active {background:var(--dc-edge);color:var(--dc-bg);}
.dc-root button:focus-visible,.dc-dialog :focus-visible,.domain-panel.dc-retro :focus-visible,.cinco-standalone .cinco-box :focus-visible {
  outline:3px solid var(--dc-gold);outline-offset:2px;scroll-margin:12px;
}
.dc-root button:disabled,.dc-dialog button:disabled,.domain-panel.dc-retro button:disabled {opacity:.45;cursor:not-allowed;}
.dc-hud {flex:none;padding:6px 10px 0;border-bottom:2px solid var(--dc-edge);background:var(--dc-bg);}
.dc-heading {display:flex;align-items:center;gap:12px;min-height:44px;}
.dc-brand {display:flex;flex-direction:column;flex:none;color:var(--dc-gold);letter-spacing:2px;line-height:1.2;}
.dc-brand strong {font-size:17px;}
.dc-brand small {font-size:9px;letter-spacing:.5px;}
.dc-realm-name {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;}
.dc-school {display:flex;align-items:center;gap:6px;color:var(--dc-edge);font-size:14px;font-weight:bold;white-space:nowrap;}
.dc-school img {width:28px;height:28px;image-rendering:pixelated;object-fit:contain;}
.dc-menu-button {font-size:13px!important;}
.dc-resources {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-top:4px;}
.dc-root .dc-resource {display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-top:1px solid #536653;padding:6px 2px;min-width:0;white-space:nowrap;background:transparent;}
.dc-resource-icon {width:18px;height:18px;image-rendering:pixelated;flex:none;}
.dc-resource span {min-width:0;display:flex;flex-direction:column;text-align:left;gap:2px;}
.dc-resource small {font-size:10px;color:var(--dc-muted);font-weight:normal;}
.dc-resource strong {font-size:14px;font-variant-numeric:tabular-nums;}
.dc-notice {margin:0;flex:none;background:var(--dc-panel);border-bottom:1px solid var(--dc-edge);padding:7px 12px;font-size:12px;line-height:1.4;}
.dc-notice[data-error=true],.dc-error {color:#ffb89a;}
.dc-viewport {flex:1;min-height:80px;position:relative;overflow:hidden;touch-action:none;contain:layout paint;}
.dc-canvas {position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;}
.dc-sites {position:absolute;inset:0;pointer-events:none;}
.dc-root .dc-place {position:absolute;pointer-events:auto;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;touch-action:none;}
.dc-root .dc-place:active {background:transparent;}
.dc-root .dc-place:focus-visible {outline:2px solid var(--dc-gold);outline-offset:0;}
.dc-footer {display:flex;align-items:center;flex:none;gap:6px;padding:6px 10px;min-height:56px;border-top:2px solid var(--dc-edge);background:var(--dc-bg);}
.dc-place-info {display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
.dc-place-info strong {font-size:14px;color:var(--dc-gold);}
.dc-place-info small {font-size:11px;color:var(--dc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dc-root .dc-zoom {font-size:22px;min-width:44px;padding:4px;}
.dc-open {color:var(--dc-gold)!important;}
.dc-dialog {
  width:min(640px,calc(100vw - 20px));max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);
  padding:0;border:3px solid var(--dc-edge);border-radius:0;color:var(--dc-text);background:var(--dc-bg);
  box-shadow:0 0 0 3px #0b1310,6px 6px 0 3px #0b1310;overflow:hidden;z-index:13000;
}
.dc-dialog[open] {display:flex;flex-direction:column;}
.dc-dialog::backdrop {background:rgba(4,9,7,.85);}
.dc-dialog h2 {font-size:16px;line-height:1.4;color:var(--dc-gold);margin:0;padding:12px;border-bottom:2px solid var(--dc-edge);flex:none;overflow-wrap:anywhere;}
.dc-dialog-body {padding:12px;overflow:auto;overscroll-behavior:contain;min-height:0;font-size:14px;line-height:1.5;}
.dc-dialog-body p {margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere;}
.dc-dialog-actions {padding:10px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--dc-edge);flex:none;}
.dc-accept {border-color:var(--dc-gold)!important;color:var(--dc-gold)!important;}
.dc-dialog input {width:100%;min-height:44px;background:#0c1b14;color:var(--dc-text);border:2px solid var(--dc-edge);border-radius:0;font:inherit;font-size:16px;padding:8px;margin:8px 0;}
.dc-keyboard {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:8px 0;}
.dc-keyboard button {padding:7px 1px;font-size:13px;min-width:0;}
.dc-stepper {display:flex;flex-wrap:wrap;gap:6px;}
.dc-options,.dc-menu,.dc-destinations {display:grid;gap:6px;grid-template-columns:1fr;}
.dc-options button,.dc-menu button,.dc-destinations button {text-align:left;}
.dc-options button[aria-pressed=true] {color:var(--dc-gold);border-color:var(--dc-gold);}
.dc-destinations {grid-template-columns:repeat(2,minmax(0,1fr));}
.domain-panel.dc-retro {
  position:fixed;inset:0;z-index:12100;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
  height:100vh;height:100dvh;width:100%;max-width:none;display:flex;align-items:stretch;justify-content:center;
  background:var(--dc-bg);color:var(--dc-text);overflow:hidden;
}
.domain-panel.dc-retro .dm-frame {width:100%;max-width:1100px;height:100%;max-height:none;display:flex;flex-direction:column;border:0;border-radius:0;background:var(--dc-bg);box-shadow:none;overflow:hidden;}
.domain-panel.dc-retro .dm-head {flex:none;display:flex;align-items:center;gap:10px;min-height:54px;padding:5px 10px;border-bottom:2px solid var(--dc-edge);background:var(--dc-bg);}
.domain-panel.dc-retro .dm-head b {flex:1;font-size:16px;color:var(--dc-gold);min-width:0;}
.domain-panel.dc-retro .dm-head .dm-x {position:static;flex:none;min-width:44px;min-height:44px;font-size:24px;}
.domain-panel.dc-retro .dc-return {font-size:13px;white-space:nowrap;}
.domain-panel.dc-retro .dm-main {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 14px;}
.domain-panel.dc-retro .dm-body {padding:10px 0;min-width:0;max-width:100%;font-size:14px;line-height:1.5;}
.domain-panel.dc-retro .dm-hud {display:flex;overflow-x:auto;gap:10px;padding:6px 0;scrollbar-width:thin;}
.domain-panel.dc-retro .dm-res {min-width:112px;flex:none;border:0;border-right:1px solid var(--dc-edge);padding:5px 10px;background:transparent;}
.domain-panel.dc-retro .dm-res b {font-size:16px;}
.domain-panel.dc-retro .dm-res small,.domain-panel.dc-retro .dm-res i {font-size:11px;}
.domain-panel.dc-retro nav,.domain-panel.dc-retro .dm-tabs {display:flex;overflow-x:auto;gap:6px;flex-wrap:nowrap;max-width:100%;padding:5px 2px 8px;}
.domain-panel.dc-retro nav button,.domain-panel.dc-retro .dm-tabs button {flex:none;white-space:nowrap;font-size:13px;}
.domain-panel.dc-retro input,.domain-panel.dc-retro select,.domain-panel.dc-retro textarea,
.cinco-standalone .cinco-box input,.cinco-standalone .cinco-box select {
  min-height:44px;max-width:100%;border:2px solid var(--dc-edge);border-radius:0;background:#0c1b14;color:var(--dc-text);font:inherit;font-size:16px;padding:8px;
}
.domain-panel.dc-retro input[type=number] {min-width:80px;}
.domain-panel.dc-retro .dm-actions {gap:10px;}
.domain-panel.dc-retro .dm-card,.domain-panel.dc-retro .dm-li,.domain-panel.dc-retro .dm-school {
  border:1px solid var(--dc-edge);border-radius:0;background:var(--dc-panel);box-shadow:none;padding:10px;max-width:100%;
}
.domain-panel.dc-retro .dm-card {min-width:0;}
.domain-panel.dc-retro .dm-li {overflow-wrap:anywhere;}
.domain-panel.dc-retro .dm-li small {font-size:12px;line-height:1.4;}
.domain-panel.dc-retro .dm-field {min-width:0;max-width:100%;}
.domain-panel.dc-retro .dm-schools {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.domain-panel.dc-retro .dm-school img {width:48px;height:48px;object-fit:contain;image-rendering:pixelated;}
.domain-panel.dc-retro .dm-school {padding:8px;min-width:0;}
.domain-panel.dc-retro .dm-school b {display:block;font-size:13px;}
.domain-panel.dc-retro .dm-school small {font-size:11px;line-height:1.4;}
.domain-panel.dc-retro .dm-school-gift {border:1px solid var(--dc-edge);background:var(--dc-panel);border-radius:0;max-width:100%;}
.domain-panel.dc-retro img {image-rendering:pixelated;max-width:100%;}
.domain-panel.dc-retro .dm-coach {border-radius:0;max-width:calc(100vw - 24px);}
.cinco-standalone .cinco-gateway {min-height:100vh;min-height:100dvh;padding:24px max(12px,env(safe-area-inset-left));background:var(--dc-bg);}
.cinco-standalone .cinco-box {border:2px solid var(--dc-edge);border-radius:0;background:var(--dc-panel);box-shadow:5px 5px 0 #07110d;}
.cinco-standalone .cinco-tabs button,.cinco-standalone .cinco-main-button {border-radius:0;}
.cinco-standalone .cinco-box label {font-size:14px;line-height:1.5;}
.cinco-standalone .cinco-box input[type=checkbox] {min-width:24px;min-height:24px;width:24px;height:24px;}
.cinco-standalone .cinco-terms {min-height:44px;align-items:center;}
@media (max-width:600px) {
  .dc-hud {padding:4px 6px 0;}
  .dc-heading {gap:6px;flex-wrap:wrap;}
  .dc-brand {margin-right:auto;}
  .dc-realm-name {order:4;flex-basis:100%;font-size:12px;line-height:20px;}
  .dc-school {font-size:12px;gap:3px;}
  .dc-school img {width:24px;height:24px;}
  .dc-resources {grid-template-columns:repeat(3,minmax(0,1fr));gap:0 4px;margin-top:0;}
  .dc-resource strong {font-size:13px;}
  .dc-footer {padding:5px 6px;gap:4px;}
  .dc-place-info small {display:none;}
  .dc-place-info strong {font-size:13px;line-height:1.3;}
  .dc-dialog-body {padding:8px;}
  .dc-dialog-actions {padding:8px;}
  .dc-keyboard {gap:3px;}
  .dc-keyboard button {font-size:11px;}
  .dc-destinations {grid-template-columns:1fr;}
  .domain-panel.dc-retro .dm-main {padding:6px 10px;}
  .domain-panel.dc-retro .dm-head {gap:6px;padding:4px 8px;}
  .domain-panel.dc-retro .dm-head b {font-size:14px;}
  .domain-panel.dc-retro .dm-schools {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-height:480px) and (min-width:601px) {
  .dc-heading {min-height:44px;}
  .dc-hud {padding-top:0;}
  .dc-realm-name {font-size:12px;}
  .dc-resources {margin-top:0;}
  .dc-root .dc-resource {padding:2px;}
  .dc-resource small {font-size:9px;}
  .dc-dialog {width:min(720px,calc(100vw - 20px));}
  .dc-dialog h2 {padding:8px 10px;font-size:14px;}
  .dc-dialog-body {padding:8px;}
  .dc-dialog-actions {padding:6px 10px;}
  .dc-keyboard {grid-template-columns:repeat(10,minmax(0,1fr));}
}
@media (prefers-reduced-motion:reduce) {
  .dc-root *,.dc-dialog *,.domain-panel.dc-retro * {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}

@media(max-width:380px){.dc-keyboard{grid-template-columns:repeat(6,minmax(44px,1fr));}.dc-keyboard button{min-width:44px}}
/* One compact command strip leaves the landscape city in the foreground. */
@media(min-width:700px){
 .dc-hud{display:grid;grid-template-columns:minmax(200px,1fr) minmax(420px,2fr);gap:12px;padding:4px 10px}
 .dc-resources{margin:0}.dc-root .dc-resource{border-top:0;padding:2px}
 .dc-heading{gap:8px}.dc-brand strong{font-size:13px}.dc-brand small{font-size:8px}
 .dc-school{font-size:11px}.dc-realm-name{font-size:12px}
 .dc-footer{min-height:48px;padding:2px 10px}
}
@media(min-width:700px) and (max-width:1050px){.dc-realm-name,.dc-brand small,.dc-school span{display:none}.dc-heading{justify-content:space-between}.dc-resource strong{font-size:12px}.dc-resource small{font-size:9px}}
.dc-opening .domain-panel{visibility:hidden!important}
.dc-loading{position:fixed;inset:0;z-index:12500;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:24px;background:#101c2b;color:#e8d6a8;text-align:center;font-family:monospace}
.dc-loading h2{font-size:clamp(18px,3vw,28px);margin:0}.dc-loading p{font-size:13px}.dc-loading small{letter-spacing:3px;color:#a9bbc2}
.dc-loading-seals{display:flex;gap:18px}.dc-loading-seals img{width:44px;height:44px;image-rendering:pixelated;animation:dc-seal 1.6s steps(4,end) infinite}.dc-loading-seals img:nth-child(2){animation-delay:.2s}.dc-loading-seals img:nth-child(3){animation-delay:.4s}.dc-loading-seals img:nth-child(4){animation-delay:.6s}.dc-loading-seals img:nth-child(5){animation-delay:.8s}
.dc-loading button{min-height:44px;padding:8px 24px;background:#223346;color:#efdbac;border:2px solid #b6a377;font:inherit}
@keyframes dc-seal{50%{transform:translateY(-6px);opacity:.55}}
@media(prefers-reduced-motion:reduce){.dc-loading-seals img{animation:none}}
/* Access is a game title screen, including registration and returning players. */
.cinco-standalone{--dc-bg:#101c2b;--dc-panel:#1b2d3d;--dc-edge:#a99a70}
.cinco-standalone .cinco-gateway{max-width:none;width:100%;position:relative;isolation:isolate;gap:14px;background:#101c2b;min-height:100dvh;padding:28px 20px}
.cinco-gateway:before{content:'';position:fixed;inset:0;z-index:-1;background:repeating-linear-gradient(0deg,transparent 0 3px,#080e1818 3px 4px);pointer-events:none}
#cincoPixelTitle{width:min(480px,80vw);height:auto;image-rendering:pixelated;display:block;margin:auto}
.cinco-title-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cinco-standalone .cinco-header{align-self:center}.cinco-kicker{font:10px monospace;letter-spacing:2px;color:#aebcb7}.cinco-tagline{font:13px/1.6 monospace;color:#becbc8;max-width:330px;margin:14px auto}
.cinco-standalone .cinco-box{width:min(440px,100%);padding:20px;border:2px solid #a99a70;box-shadow:0 0 0 4px #101c2b,0 0 0 5px #43515a;background:#172837;font-family:monospace}
.cinco-tabs{margin-bottom:12px}.cinco-standalone .cinco-box button,.cinco-standalone .cinco-box input,.cinco-standalone .cinco-box select{font-family:monospace;background:#1b2d3d}.cinco-standalone .cinco-box input,.cinco-standalone .cinco-box select{background:#101c2b}.cinco-standalone .cinco-tabs .selected{background:#384746;color:#f6d78e;border-color:#e3c788}
.cinco-greeting{font:18px monospace}.cinco-footer{font:10px/1.6 monospace;margin-top:4px}.cinco-presentation-tools{margin:0}.cinco-gateway #cincoNotice:empty{display:none}
@media(min-width:700px) and (max-height:650px){.cinco-standalone .cinco-gateway{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;align-items:center;gap:12px 28px;padding:18px 28px}.cinco-header{grid-column:1;grid-row:1}.cinco-box{grid-column:2;grid-row:1;max-height:calc(100dvh - 62px);overflow:auto}#cincoNotice{grid-column:2;grid-row:2;margin:0}.cinco-footer{grid-column:1;grid-row:2}.cinco-presentation-tools{grid-column:1;grid-row:2;margin-bottom:46px}.cinco-standalone .cinco-box{padding:14px}.cinco-tagline{font-size:11px}}
@media(min-width:700px) and (max-height:650px){.cinco-standalone .cinco-gateway{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#cincoPixelTitle{width:100%;max-width:480px}.cinco-header{min-width:0}.cinco-box{justify-self:stretch}.cinco-presentation-tools{gap:6px}.cinco-presentation-tools button{padding:6px 10px;font-size:11px}}
/* Console HUD: the world reaches every edge; controls float independently. */
.dc-root .dc-viewport{position:absolute;inset:0;min-height:0}
.dc-root .dc-hud,.dc-root .dc-footer{position:absolute;inset:0;z-index:2;padding:0;margin:0;display:block;background:none;border:0;pointer-events:none;min-height:0}
.dc-root .dc-heading{position:absolute;right:max(12px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));display:flex;gap:8px;min-height:44px;pointer-events:none}
.dc-root .dc-brand,.dc-root .dc-realm-name,.dc-root .dc-school span{display:none}
.dc-root .dc-school img{width:36px;height:36px;filter:drop-shadow(2px 2px 0 #0c1420)}
.dc-root .dc-menu-button{pointer-events:auto;width:48px;height:48px;min-width:48px;padding:0;font-size:24px!important;border:2px solid #b6aa7e;background:#142332e8;box-shadow:3px 3px 0 #08111b;border-radius:8px}
.dc-root .dc-resources{position:absolute;left:max(12px,env(safe-area-inset-left));top:max(10px,env(safe-area-inset-top));display:grid;grid-template-columns:repeat(3,auto);gap:5px 14px;width:auto;min-height:48px;padding:5px 8px;margin:0;border:0;background:#10202ab8;box-shadow:2px 2px 0 #0a172054;border-radius:4px;pointer-events:auto}
.dc-root .dc-resource{display:flex;gap:5px;min-height:20px;padding:0;border:0;justify-content:flex-start;background:none;color:#fff0c5;text-shadow:1px 1px #08121c}
.dc-root .dc-resource span{display:block}.dc-root .dc-resource small{display:none}.dc-root .dc-resource strong{font-size:12px;line-height:20px}.dc-root .dc-resource-icon{width:18px;height:18px}
.dc-root .dc-place-info{position:absolute;display:block;max-width:168px;width:max-content;padding:5px 8px;background:#10202ae8;border:1px solid #af9c6e;box-shadow:2px 2px 0 #07111a;pointer-events:none;text-align:center}
.dc-root .dc-place-info strong{font-size:12px;line-height:1.3}.dc-root .dc-place-info small{display:none}
.dc-root .dc-open{position:absolute;right:max(18px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:58px;height:58px;border-radius:50%;font-size:24px;padding:0;border:3px solid #e1c682;box-shadow:3px 4px 0 #08111b;background:#263748e8;pointer-events:auto}
.dc-root .dc-zoom{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:max(14px,env(safe-area-inset-left));width:44px;height:44px;min-width:44px;padding:0;border:2px solid #b5aa82;border-radius:8px;background:#142332e8;box-shadow:2px 3px 0 #08111b;pointer-events:auto}.dc-root .dc-zoom+.dc-zoom{left:66px}
.dc-root .dc-notice{position:absolute;z-index:3;top:76px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);border:1px solid var(--dc-edge);box-shadow:2px 2px #08111b}
@media(max-width:430px){.dc-root .dc-resources{gap:3px 8px;left:8px;padding:4px 6px}.dc-root .dc-resource strong{font-size:11px}.dc-root .dc-heading{right:8px;gap:4px}.dc-root .dc-school img{width:26px;height:26px}.dc-root .dc-menu-button{width:44px;height:44px;min-width:44px}}
.dc-root .dc-crossing{position:absolute;right:4px;top:calc(50% - 24px);z-index:4;min-width:44px;height:48px;padding:0;font-size:32px;background:#152838d9;border:1px solid #d6be81;border-radius:8px;box-shadow:2px 2px #08111b}
.dc-root[data-district=naipes] .dc-crossing{right:auto;left:4px}
.dc-crossing-icon{display:block;animation:dc-exit-cue 1.4s steps(2,end) infinite}
@keyframes dc-exit-cue{50%{opacity:.3;transform:translateX(-3px)}}
@media(prefers-reduced-motion:reduce){.dc-crossing-icon{animation:none}}
.dc-district-name{position:absolute;left:14px;top:18px;color:#f3cd70;background:#142332dc;padding:10px;font-size:12px;letter-spacing:1px;border:1px solid #b6aa7e}
/* 1993 console cues: bitmap lettering, stepped cursor and no browser-shaped controls. */
.dc-root .dc-menu-button,.dc-root .dc-open{width:auto;min-width:70px;height:44px;min-height:44px;padding:10px 8px;border:0;border-radius:0;background:#172434;box-shadow:inset 0 2px #f0db9b,inset 0 -2px #7c7259,2px 0 #7c7259,-2px 0 #7c7259,0 4px #0c1421}
.dc-root .dc-open{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right))}
.dc-pixel-label{display:block;width:auto;height:18px;image-rendering:pixelated}
.dc-root .dc-resources{border-radius:0;grid-template-columns:repeat(4,auto);gap:3px 10px;background:#142331;box-shadow:0 2px #8c896a,2px 0 #8c896a,-2px 0 #8c896a,0 4px #0c1421}
.dc-root .dc-resource span{white-space:nowrap}.dc-root .dc-resource strong{font-size:12px}.dc-root .dc-yield{display:inline-block;font-style:normal;font-size:9px;margin-left:4px;color:#b0b6b1}
.dc-root .dc-yield[data-sign=positive]{color:#99e68b}.dc-root .dc-yield[data-sign=negative]{color:#ff8b81}
.dc-root .dc-crossing,.dc-root .dc-crossing:active{background:transparent;border:0;border-radius:0;box-shadow:none;width:48px;height:48px;right:0;padding:12px;color:transparent}
.dc-crossing-icon{font-size:0;width:24px;height:24px;background:#ffe49a;clip-path:polygon(0 33%,42% 33%,42% 0,58% 0,58% 16%,75% 16%,75% 33%,92% 33%,92% 42%,100% 42%,100% 58%,92% 58%,92% 67%,75% 67%,75% 84%,58% 84%,58% 100%,42% 100%,42% 67%,0 67%);animation:dc-exit-cue 1.4s steps(1,end) infinite}
.dc-root[data-district=naipes] .dc-crossing{left:0;transform:scaleX(-1)}
@keyframes dc-exit-cue{50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.dc-crossing-icon{animation:none}}
@media(max-width:600px){.dc-root .dc-resources{grid-template-columns:repeat(3,auto);gap:1px 5px;left:7px;top:7px;padding:3px 5px}.dc-root .dc-resource{gap:3px}.dc-root .dc-resource strong{font-size:10px}.dc-root .dc-yield{font-size:8px;margin-left:2px}.dc-root .dc-resource-icon{width:14px;height:14px}.dc-root .dc-heading{right:7px;top:7px;gap:3px;flex-direction:column}.dc-root .dc-menu-button{min-width:60px;width:auto}.dc-root .dc-school img{width:24px;height:24px}.dc-root .dc-pixel-label{height:18px}}
/* Building interiors retain canonical action nodes, not the canonical dashboard. */
.domain-panel.dc-building{background:#08111bcc;padding:16px;align-items:center}
.domain-panel.dc-building .dm-frame{width:min(860px,100%);max-height:100%;height:auto;min-height:220px;background:var(--dc-bg);border:3px solid #d0c7a5;box-shadow:0 0 0 3px #172234,0 0 0 5px #777c7e}
.domain-panel.dc-building .dm-head{min-height:52px;padding:4px 10px;border-bottom:2px solid #777c7e;background:var(--dc-panel)}
.domain-panel.dc-building .dm-head b{text-transform:uppercase;letter-spacing:2px}
.domain-panel.dc-building .dm-head .dm-x,.domain-panel.dc-building .dm-top,.domain-panel.dc-building .dm-hud,.domain-panel.dc-building .dm-tabs,.domain-panel.dc-building .dm-hero-header>div,.domain-panel.dc-building .dm-hero-summary,.domain-panel.dc-building .dm-body nav,.domain-panel.dc-building .dm-world-head{display:none!important}
.domain-panel.dc-building .dm-main{padding:0 16px 12px;overflow:auto;min-height:0}
.domain-panel.dc-building .dm-body{padding:0;font-size:14px}
.domain-panel.dc-building .dm-hero-header{display:flex;justify-content:flex-end;border:0;padding:0;margin:0}
.domain-panel.dc-building .dc-building-caption{color:var(--dc-muted);font-size:12px;margin:12px 0}
.domain-panel.dc-building button{border:0;background:transparent;box-shadow:none;text-align:left;padding:10px 12px;color:var(--dc-text)}
.domain-panel.dc-building button:focus-visible{outline:2px solid var(--dc-gold);outline-offset:-2px;background:var(--dc-panel)}
.domain-panel.dc-building button:focus-visible::before{content:'>';color:var(--dc-gold);margin-right:5px}
.domain-panel.dc-building .dm-card,.domain-panel.dc-building .dm-li,.domain-panel.dc-building .dm-hero-line{background:transparent;border:0;border-bottom:1px solid #635f65;box-shadow:none;border-radius:0}
.domain-panel.dc-building .dm-hero-notice{border:2px solid var(--dc-edge);background:var(--dc-panel);padding:12px;margin:12px 0}
.domain-panel.dc-building h3{font-size:16px;letter-spacing:1px;color:var(--dc-gold)}
@media(max-width:600px),(max-height:450px){.domain-panel.dc-building{padding:6px}.domain-panel.dc-building .dm-frame{width:100%;max-height:100%;min-height:0}.domain-panel.dc-building .dm-head{gap:4px;padding:2px 5px}.domain-panel.dc-building .dm-head b{font-size:12px;letter-spacing:0}.domain-panel.dc-building .dm-head button{font-size:10px;padding:8px 5px}.domain-panel.dc-building .dm-main{padding:0 10px 10px}.domain-panel.dc-building .dm-body{font-size:12px}}
.dc-root[data-district=naipes] .dc-district-name{top:82px;left:12px;padding:5px 8px;font-size:10px}
.domain-panel.dc-building .dm-hero-screen>h3{margin:12px 0;padding:0 0 8px;border-bottom:2px solid #777c7e}
.domain-panel.dc-building .dm-hero-header{min-height:0}.domain-panel.dc-building .dm-hero-header button{min-height:44px;font-size:12px}
.domain-panel.dc-building .dm-hero-screen .dm-lead{font-size:13px;line-height:1.6;margin:8px 0}
.domain-panel.dc-building .dm-head b{font-family:'Pixelify Sans',monospace;text-shadow:2px 2px #090f1e}
/* Static CRT phosphor mask. No blur, flicker, canvas readback or input interception. */
.dc-screen-filter{position:fixed;inset:0;z-index:20000;pointer-events:none!important;user-select:none;contain:strict;background:repeating-linear-gradient(0deg,transparent 0 3px,#050912 3px 4px),repeating-linear-gradient(90deg,#ad493c 0 1px,#568a60 1px 2px,#487591 2px 3px);opacity:.09}
.dc-screen-filter[data-mode=strong]{opacity:.17}
.dc-screen-filter[data-mode=off]{display:none}
@media(forced-colors:active){.dc-screen-filter{display:none}}
