.element-site #content .frost-page {
    --frost-ink: #edf4f2;
    --frost-muted: #b7cdd3;
    --frost-accent: #a9d8e6;
    --frost-edge: #658b9a;
    --frost-surface: #162d36;
    --frost-card: #1d3843;
    --frost-hero-wash: linear-gradient(95deg, #11252ffc 15%, #122a35eb 50%, #182e3d3b);
    --frost-found: #dcedd9;
    --frost-found-fill: #314c41;
    --frost-battle: #ffdfb8;
    --frost-battle-fill: #584336;
    display: grid;
    gap: clamp(16px, 2vw, 26px);
}

html[data-element-theme="light"] .element-site #content .frost-page {
    --frost-ink: #17333d;
    --frost-muted: #3d565f;
    --frost-accent: #215768;
    --frost-edge: #9caca8;
    --frost-surface: #faf6ea;
    --frost-card: #edf0e9;
    --frost-hero-wash: linear-gradient(95deg, #faf5e8 15%, #f8f3e7f2 51%, #edf1e86e);
    --frost-found: #244b3a;
    --frost-found-fill: #dceadd;
    --frost-battle: #68391d;
    --frost-battle-fill: #f0dfc8;
}

.element-site #content .frost-page > .help-breadcrumb { margin: 0; }
.frost-heading,
.frost-panel {
    border: 1px solid var(--frost-edge);
    border-image: url('home-frames/water-inset.webp') 64 / 5px / 1px stretch;
    padding: clamp(16px, 2.45vw, 33px);
    color: var(--frost-ink);
}
.frost-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem 2rem;
    background: var(--frost-hero-wash), url('fortress/fortress-art.webp') center 53% / cover no-repeat var(--frost-surface);
}
.element-site #content .frost-page .frost-heading h1,
.element-site #content .frost-panel h2 {
    margin: 0;
    color: var(--frost-ink);
    font: 700 clamp(1.7rem, 3.35vw, 3rem)/1.08 'Cormorant SC', Georgia, serif;
}
.element-site #content .frost-panel h2 { font-size: clamp(1.45rem, 2vw, 2rem); }
.frost-heading p, .frost-panel-head p, .frost-note {
    margin: .55rem 0 0;
    color: var(--frost-muted);
    line-height: 1.5;
}
.frost-heading .frost-kicker {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .45rem;
    color: var(--frost-accent);
    font-size: .79rem;
    font-weight: 690;
}
.frost-kicker .element-glyph { inline-size: 15px; block-size: 15px; }
.frost-panel { background: var(--frost-surface); }
.frost-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 1rem; }
.frost-page [hidden] { display: none !important; }
.frost-panel, .frost-drop-group { scroll-margin-block-start: 5rem; }
.frost-cities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.75rem), 1fr));
    gap: .75rem;
    margin: 1rem 0 .85rem;
    padding: 0;
    list-style: none;
}
.frost-city {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: .4rem .65rem;
    padding: .8rem;
    border: 1px solid var(--frost-edge);
    background: var(--frost-card);
}
.element-site #content .frost-city h3 { margin: 0; color: var(--frost-ink); font-size: 1rem; line-height: 1.4; }
.frost-status {
    padding: .12em .55em;
    background: var(--frost-surface);
    color: var(--frost-muted);
    font-size: .74rem;
    font-weight: 650;
    white-space: nowrap;
}
.frost-status[data-state="active"] { background: var(--frost-found-fill); color: var(--frost-found); }
.frost-status[data-state="battle"] { background: var(--frost-battle-fill); color: var(--frost-battle); }
.frost-city .frost-room { grid-column: 1 / -1; margin: 0; color: var(--frost-muted); font-size: .85rem; overflow-wrap: anywhere; }
.frost-city .frost-route {
    display: grid;
    grid-column: 1 / -1;
    gap: .15rem;
    margin: .15rem 0;
    padding: .35rem .5rem;
    border-inline-start: 2px solid var(--frost-edge);
    color: var(--frost-muted);
    background: var(--frost-surface);
    font-size: .8rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.frost-route strong { color: var(--frost-ink); }
.frost-city-links, .frost-sources { display: flex; flex-wrap: wrap; gap: .4rem .85rem; }
.frost-city-links { grid-column: 1 / -1; font-size: .82rem; }
.frost-panel :is(.frost-city-links, .frost-sources) a { color: var(--frost-accent); text-decoration: underline; text-underline-offset: .18em; }
.frost-panel :is(.frost-city-links, .frost-sources) .icon { width: .9em; height: .9em; }
.frost-note { font-size: .83rem; }

html[data-element-theme="light"] body.element-site.element-unified #content .frost-page .button.ghost[data-frost-refresh]:is(:hover, :focus-visible, :active) {
    color: #17333d;
    background: #e4eeec;
    border-color: #708980;
}

@media (max-width: 650px) {
    .frost-heading { background-position: right center; }
    .frost-cities { grid-template-columns: minmax(0, 1fr); }
}
