/* A Realm of Dragons v22.14.0 — clarity, navigation, empty/loading states and professional shell polish. */
:root{
  --display-serif:"Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --ui-sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
body{font-family:var(--ui-sans);letter-spacing:.005em}
h1,h2,h3,.brand-text strong,.house-card h2,.modal h2,.page-hero h1{font-family:var(--display-serif);letter-spacing:.012em}
.page-hero{border-radius:18px;overflow:hidden}
.page-hero>div>small,.drawer-heading small,.modal .drawer-heading small{letter-spacing:.16em}
.section-heading>div>small:not(.keep-eyebrow),.admin-card>small:first-child{display:none}
.topbar{backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.topbar-actions .save-button{min-width:112px}
.save-state{padding:6px 9px;border:1px solid transparent;border-radius:999px;transition:.2s ease}
.save-state.dirty{border-color:rgba(213,168,79,.3);background:rgba(213,168,79,.07)}
.save-state.error{border-color:rgba(198,91,95,.35);background:rgba(198,91,95,.08)}
.save-state.saving{border-color:rgba(126,159,211,.34);background:rgba(126,159,211,.08)}

/* Friendly empty states: a useful instruction rather than a blank void. */
.empty-panel,.v16-empty{position:relative;min-height:88px;padding:18px 18px 18px 54px!important;border:1px dashed rgba(203,167,94,.24)!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(203,167,94,.045),rgba(255,255,255,.018))!important;color:var(--muted)!important;display:flex;align-items:center}
.empty-panel::before,.v16-empty::before{content:"✦";position:absolute;left:18px;top:50%;transform:translateY(-50%);width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:rgba(203,167,94,.12);color:var(--gold2);font-size:12px}
.empty-panel[data-empty-kind="action"]::before{content:"＋"}.empty-panel[data-empty-kind="search"]::before{content:"⌕"}.empty-panel[data-empty-kind="success"]::before{content:"✓"}

/* Atlas skeletons visually occupy the space tiles are about to fill. */
.map-loading{gap:16px}
.map-loading .spinner{display:none}
.atlas-skeleton{display:grid;grid-template-columns:repeat(3,26px);gap:4px;transform:rotate(30deg)}
.atlas-skeleton i{width:26px;height:26px;display:block;clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%);background:linear-gradient(90deg,rgba(203,167,94,.08),rgba(203,167,94,.22),rgba(203,167,94,.08));background-size:220% 100%;animation:arodSkeleton 1.35s linear infinite}
.atlas-skeleton i:nth-child(2n){animation-delay:-.35s}.atlas-skeleton i:nth-child(3n){animation-delay:-.7s}
@keyframes arodSkeleton{to{background-position:-220% 0}}

/* Persistent, non-intrusive navigation help. */
.arod-help-fab{position:fixed;right:18px;bottom:84px;z-index:90;width:44px;height:44px;border-radius:50%;border:1px solid rgba(203,167,94,.45);background:rgba(13,12,9,.94);color:var(--gold2);font:800 18px var(--ui-sans);box-shadow:0 12px 34px rgba(0,0,0,.35);cursor:pointer}
.arod-deploy-warning{position:sticky;top:0;z-index:120;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#3b1718;border-bottom:1px solid rgba(255,170,170,.35);color:#ffe4e4;font-size:12px}
.arod-deploy-warning strong{color:#fff}.arod-deploy-warning button{white-space:nowrap}
.arod-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.arod-start-card{padding:14px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.025)}
.arod-start-card strong{display:block;color:var(--gold2);margin-bottom:4px}.arod-start-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.arod-start-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}

/* Staff focus dashboard reduces the wall of tools into today's work first. */
.arod-staff-focus{margin:0 0 16px;padding:16px;border:1px solid rgba(203,167,94,.22);border-radius:16px;background:linear-gradient(140deg,rgba(203,167,94,.07),rgba(255,255,255,.018))}
.arod-staff-focus header{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px}.arod-staff-focus header h2{margin:0}.arod-staff-focus header p{margin:3px 0 0;color:var(--muted);font-size:12px}
.arod-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.arod-focus-card{border:1px solid var(--line);border-radius:12px;background:rgba(0,0,0,.13);padding:12px;text-align:left;color:inherit;cursor:pointer}.arod-focus-card b{display:block;font:700 24px var(--display-serif);color:var(--gold2)}.arod-focus-card span{display:block;font-weight:700}.arod-focus-card small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}.arod-focus-card.zero{opacity:.68}

/* More page becomes a directory instead of a flat wall. */
#view-more .more-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#view-more .more-grid button{min-height:118px;border-radius:15px;text-align:left;align-items:flex-start}
#view-more .page-hero p{max-width:720px}

/* House deep-link/share affordance. */
.arod-share-house{margin-left:auto}.arod-share-house.copied{border-color:rgba(95,157,110,.6);color:#cce3cf}

/* Responsive simplification. */
@media (max-width:1100px){.desktop-nav .nav-item span{display:none}.desktop-nav .nav-item{min-width:42px}.arod-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#view-more .more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.brand-text small{display:none}.brand-text em{font-size:9px}.topbar-actions .realm-date{display:none}.topbar-actions .save-state{display:none}.topbar-actions .save-button{min-width:auto;padding-inline:11px}.arod-help-fab{bottom:78px;right:12px}.arod-start-grid{grid-template-columns:1fr}.arod-staff-focus header{display:block}.arod-focus-grid{grid-template-columns:1fr 1fr}#view-more .more-grid{grid-template-columns:1fr 1fr}.admin-grid{gap:10px}.admin-card{border-radius:14px}}
@media (max-width:430px){#view-more .more-grid{grid-template-columns:1fr}.arod-focus-grid{grid-template-columns:1fr}.topbar-actions #guideButton{display:none}}
