/* Land Bank. Copyright 2026 Luke Steuber. MIT. Dark ground, paper plots, one gold accent for the selected day; the dialog comes from ../poem-shell/modal.css. */
:root{color-scheme:dark;--ground:#0f0e0c;--paper:#e6dfce;--muted:#a39c8d;--gold:#dcb75e;--hair:#e6dfce38;
  --ui:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--ground);color:var(--paper);font:13px/1.45 var(--ui)}
main{position:fixed;inset:0;width:100vw;height:100dvh}
canvas{display:block;width:100%;height:100%;cursor:crosshair;touch-action:pinch-zoom;-webkit-tap-highlight-color:transparent}
canvas:focus{outline:none}
canvas:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#probe{position:fixed;left:0;bottom:0;width:0;height:env(safe-area-inset-bottom,0px);visibility:hidden;pointer-events:none}

/* The reading for the selected day: plain text on the ground, one hairline, no shadow. */
.tip{position:fixed;z-index:3;left:0;top:0;pointer-events:none;max-width:min(260px,calc(100vw - 16px));padding:8px 11px 9px;background:var(--ground);border:1px solid var(--hair);font:11.5px/1.6 var(--mono);color:var(--paper)}
.tip .t-row{display:flex;align-items:center;gap:8px}
.tip .t-date{color:var(--gold)}
.tip .t-muted{color:var(--muted)}
.tip .sw{flex:0 0 auto;width:9px;height:9px}
.tip .sw.first{box-shadow:inset 0 0 0 1.5px var(--paper)}
.tip .sw.back{background:var(--paper)}

.explore{position:fixed;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));z-index:4;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid #e6dfce45;background:#0f0e0ccc;color:#e6dfcebb;font:16px/1 var(--mono);cursor:pointer}
.explore:hover,.explore:focus-visible{color:var(--paper);border-color:#e6dfcea0;background:var(--ground)}

.status{position:fixed;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 48px));text-align:center;color:var(--muted);font:12px/1.8 var(--mono)}
.status p{margin:0 0 12px}.status a{color:var(--gold)}
.status.error{color:var(--paper)}

@media(max-width:400px){.tip{font-size:11px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.explore{border-color:ButtonText;color:ButtonText}canvas{border:1px solid CanvasText}.tip .sw{forced-color-adjust:none}.tip{border-color:CanvasText}}
