/* Albion Sentinel: the site's dress, laid over style.css (which every page still reads first). Charcoal ground, gold
   for what matters, green for the way in; the painted scenes (static/art/) behind each section's banner. Pages use
   the screen's whole width; text keeps a length one can read. */

:root {
  --bg: #0a0e11;
  --panel: #10161a;
  --panel-2: #161e23;
  --line: #1e282e;
  --line-strong: #34434b;
  --text: #ece7da;
  --muted: #aab1ab;
  --faint: #7b8580;
  --accent: #dcb460;
  --accent-ink: #1b1407;
  --accent-soft: rgba(220, 180, 96, 0.13);
  --go: #2f7d50;
  --go-hi: #3b9862;
  --go-line: #5fb383;
  --good: #7fc58f;
  --good-soft: rgba(127, 197, 143, 0.13);
  --warn: #e3b552;
  --warn-soft: rgba(227, 181, 82, 0.13);
  --bad: #e47c66;
  --bad-soft: rgba(228, 124, 102, 0.13);
  --radius: 14px;
  --wide: 1760px;
  --gutter: clamp(16px, 2.6vw, 44px);
  --head: "EB Garamond", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

body { background: var(--bg); }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---- buttons: green to go, gold edge when pointed at ---- */
.button.primary, button.primary {
  background: linear-gradient(180deg, var(--go-hi), var(--go)); color: #f4fbf6; border: 1px solid var(--go-line);
  box-shadow: 0 6px 18px rgba(20, 70, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.button.primary:hover, button.primary:hover { filter: brightness(1.08); }
.button.ghost { background: rgba(10, 14, 17, 0.55); border: 1px solid rgba(236, 231, 218, 0.55); color: var(--text); }
.button.ghost:hover { border-color: var(--accent); color: var(--accent); }
.button.big { font-family: var(--font); font-weight: 600; letter-spacing: 0.2px; font-size: 16px; padding: 13px 26px; border-radius: 10px; gap: 10px; }

/* ---- the bar on top ---- */
.topbar {
  background: rgba(9, 12, 15, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 180, 96, 0.16); padding: 10px var(--gutter); gap: 18px; min-height: 68px;
}
.topbar:has(.nav.rich) .brand, .topbar .brand.sn-brand { display: flex; }
.sn-brand { gap: 12px; color: var(--text); flex: none; }
.sn-brand:hover { text-decoration: none; }
.sn-brand .brand-mark { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.sn-words { display: grid; line-height: 1; font-family: var(--display); }
.sn-words b { font-weight: 700; font-size: 17px; letter-spacing: 5px; }
.sn-words b + b { color: var(--accent); margin-top: 3px; }

.nav.sn { display: flex; align-items: center; gap: 2px; margin: 0 0 0 10px; flex: 0 1 auto; min-width: 0; overflow: hidden; }
.nav.sn a { background: none; border: 0; border-radius: 8px; padding: 9px 12px; font-family: var(--font); font-weight: 500; font-size: 14.5px;
  letter-spacing: 0.1px; color: var(--text); gap: 4px; position: relative; flex: none; }
.nav.sn a span { display: inline; } .nav.sn a b { font-weight: 500; }
.nav.sn a i:not(.nav-caret), .nav.sn a img { display: none; }   /* (a tool added for some: its name only, as the rest) */
.nav.sn a:hover { color: var(--accent); background: rgba(220, 180, 96, 0.06); }
.nav.sn a.on { background: none; color: var(--accent); }
.nav.sn a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav.sn a.backroom { border: 1px solid #3b2c1c; }
.nav.sn .nav-caret { margin: 0 -4px 0 0; }
.nav-sub { background: #0f1519; border-color: rgba(220, 180, 96, 0.28); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6); }
.nav-region { background: rgba(10, 14, 17, 0.7); border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 10px; }
.top-find-box input { background: rgba(10, 14, 17, 0.7); }
.account .button.small, .account a.button { border: 1px solid rgba(236, 231, 218, 0.7); background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 600; }
.account .button.small:hover { border-color: var(--accent); color: var(--accent); }
.nav-dash { font-family: var(--font); font-weight: 600; letter-spacing: 0.2px; }

.sn-burger { display: none; flex: none; width: 44px; height: 40px; padding: 0; border-radius: 9px; background: transparent; border: 1px solid var(--line-strong);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.sn-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.sn-open .sn-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sn-open .sn-burger i:nth-child(2) { opacity: 0; }
.sn-open .sn-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* (the menu folds behind its button when it doesn't fit the bar: nav.js measures it -- a bar with more buttons
   folds sooner; on a narrow screen, always) */
.sn-fold .topbar { flex-wrap: nowrap; }
.sn-fold .sn-burger { display: inline-flex; order: 9; }
.sn-fold .nav.sn { display: none; }
.sn-fold.sn-open .nav.sn { display: grid; position: fixed; z-index: 50; top: 68px; left: 0; right: 0; margin: 0; padding: 10px var(--gutter) 18px; gap: 2px;
  background: rgba(9, 12, 15, 0.97); border-bottom: 1px solid rgba(220, 180, 96, 0.2); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  max-height: calc(100vh - 68px); overflow: auto; }
.sn-fold.sn-open .nav.sn a { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
.sn-fold.sn-open .nav.sn a.on::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
.sn-fold .nav.sn .nav-caret { display: none; }
@media (max-width: 900px) {
  .topbar { flex-wrap: nowrap; }
  .sn-burger { display: inline-flex; order: 9; }
  .nav.sn { display: none; }
  .sn-open .nav.sn { display: grid; position: fixed; z-index: 50; top: 68px; left: 0; right: 0; margin: 0; padding: 10px var(--gutter) 18px; gap: 2px;
    background: rgba(9, 12, 15, 0.97); border-bottom: 1px solid rgba(220, 180, 96, 0.2); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 68px); overflow: auto; }
  .sn-open .nav.sn a { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sn-open .nav.sn a.on::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav.sn .nav-caret { display: none; }
}
@media (max-width: 560px) {
  .sn-words b { font-size: 14px; letter-spacing: 3.5px; }
  .sn-brand .brand-mark { width: 36px; height: 36px; }
  .account .button.small { padding: 7px 10px; font-size: 13px; }
}

/* ---- the page: the whole width ---- */
main { max-width: var(--wide); padding: 28px var(--gutter); }
.front-page main.front, .front-page .fp-hero, .front-page .fp-servers { max-width: var(--wide); }
body.backroom-page main.backroom { max-width: var(--wide); }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%), var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.card-head h2 { font-family: var(--display); }
footer.sn-foot { display: block; max-width: none; padding: 0; text-align: left; margin-top: 30px; }

/* ---- a section's banner: its painted scene, the words on the dark left ---- */
.sn-banner { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid rgba(220, 180, 96, 0.16);
  min-height: clamp(220px, 24vw, 400px); display: flex; align-items: center; background: #07090b center right / cover no-repeat; }
.sn-banner::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 9, 11, 0.94) 0%, rgba(7, 9, 11, 0.78) 30%, rgba(7, 9, 11, 0.15) 62%, transparent 80%),
              linear-gradient(0deg, var(--bg) 0%, transparent 28%); }
.sn-banner-in { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 34px var(--gutter); }
.sn-kicker { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.sn-banner h1 { font-family: var(--head); font-weight: 600; font-size: clamp(32px, 3.6vw, 58px); line-height: 1.04; margin: 0 0 12px; max-width: 16ch; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.sn-banner p.sn-lead { font-size: clamp(15px, 1.15vw, 19px); line-height: 1.5; color: #e2ddd0; max-width: 46ch; margin: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.sn-banner.market { background-image: url("/static/art/market.webp"); }
.sn-banner.craft { background-image: url("/static/art/market.webp"); }
.sn-banner.killboard { background-image: url("/static/art/killboard.webp"); }
.sn-banner.party { background-image: url("/static/art/party.webp"); }
.sn-banner.guild { background-image: url("/static/art/guild.webp"); }
.sn-banner.tools { background-image: url("/static/art/tools.webp"); }
.sn-banner.workshop { background-image: url("/static/art/workshop.webp"); }
@media (max-width: 800px) {
  .sn-banner { min-height: 0; align-items: flex-end; background-position: 70% center; }
  .sn-banner::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 9, 11, 0.86) 45%, rgba(7, 9, 11, 0.35) 100%); }
  .sn-banner-in { padding-top: 120px; padding-bottom: 22px; }
  .sn-banner.market, .sn-banner.craft { background-image: url("/static/art/market-s.webp"); }
  .sn-banner.killboard { background-image: url("/static/art/killboard-s.webp"); }
  .sn-banner.party { background-image: url("/static/art/party-s.webp"); }
  .sn-banner.guild { background-image: url("/static/art/guild-s.webp"); }
  .sn-banner.tools { background-image: url("/static/art/tools-s.webp"); }
  .sn-banner.workshop { background-image: url("/static/art/workshop-s.webp"); }
}

/* ---- the front page ---- */
body.front-page { background: var(--bg); }
.sn-hero { position: relative; isolation: isolate; min-height: clamp(520px, 46vw, 820px); display: flex; align-items: center; overflow: hidden;
  background: #07090b url("/static/art/home.webp") center right / cover no-repeat; border-bottom: 1px solid rgba(220, 180, 96, 0.16); }
.sn-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 9, 11, 0.95) 0%, rgba(7, 9, 11, 0.82) 28%, rgba(7, 9, 11, 0.2) 58%, transparent 75%),
              linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.sn-hero-in { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 60px var(--gutter) 70px; }
.sn-hero .sn-kicker { display: flex; align-items: center; gap: 14px; }
.sn-hero .sn-kicker::before, .sn-hero .sn-kicker::after { content: ''; width: 34px; height: 1px; background: var(--accent); opacity: 0.7; }
.sn-hero h1 { font-family: var(--head); font-weight: 600; font-size: clamp(42px, 5.6vw, 96px); line-height: 0.98; margin: 6px 0 22px; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.65); }
.sn-hero h1 span { display: block; }
.sn-hero h1 span.gold { background: linear-gradient(180deg, #f3d48a, #c8973f); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 18px rgba(0, 0, 0, 0.6)); }
.sn-hero .sn-lead { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.5; color: #e4dfd2; max-width: 40ch; margin: 0 0 30px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75); }
.sn-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.sn-points { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #d8d2c4; font-size: 14px; }
.sn-points span { display: inline-flex; align-items: center; gap: 8px; }
.sn-points span::before { content: '◆'; color: var(--accent); font-size: 9px; }
.sn-points .dot { margin: 0; } .sn-points span:has(.dot)::before { display: none; }
.sn-here { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.sn-here b { color: var(--text); }
@media (max-width: 800px) {
  .sn-hero { min-height: 0; align-items: flex-end; background-image: url("/static/art/home-s.webp"); background-position: 72% top; background-size: auto 62%; background-color: var(--bg); }
  .sn-hero::before { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 46%, rgba(10, 14, 17, 0.8) 58%, transparent 78%); }
  .sn-hero-in { padding-top: 62vw; padding-bottom: 34px; }
  .sn-ctas .button { flex: 1 1 100%; justify-content: center; }
}

.sn-section { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter) 10px; }
.sn-section-head { text-align: center; margin: 0 auto 30px; max-width: 760px; }
.sn-section-head .sn-kicker { display: inline-flex; align-items: center; gap: 14px; }
.sn-section-head .sn-kicker::before, .sn-section-head .sn-kicker::after { content: ''; width: 46px; height: 1px; background: var(--accent); opacity: 0.6; }
.sn-section-head h2 { font-family: var(--head); font-weight: 600; font-size: clamp(30px, 3vw, 48px); line-height: 1.08; margin: 0 0 10px; }
.sn-section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

.sn-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sn-tool { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: var(--panel); color: var(--text);
  text-decoration: none; transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
.sn-tool:hover { text-decoration: none; transform: translateY(-3px); border-color: rgba(220, 180, 96, 0.6); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.sn-tool-pic { aspect-ratio: 16 / 8; background: #07090b center / cover no-repeat; position: relative; }
.sn-tool-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 0%, transparent 55%); }
.sn-tool-pic.market { background-image: url("/static/art/market-s.webp"); background-position: 62% center; }
.sn-tool-pic.killboard { background-image: url("/static/art/killboard-s.webp"); background-position: 58% center; }
.sn-tool-pic.party { background-image: url("/static/art/party-s.webp"); background-position: 66% center; }
.sn-tool-pic.guild { background-image: url("/static/art/guild-s.webp"); background-position: 66% center; }
.sn-tool-pic.tools { background-image: url("/static/art/tools-s.webp"); background-position: 70% center; }
.sn-tool-pic.workshop { background-image: url("/static/art/workshop-s.webp"); background-position: 75% center; }
.sn-tool-badge { position: absolute; z-index: 1; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #0d1215; border: 1px solid var(--accent); color: var(--accent); }
.sn-tool-badge svg { width: 24px; height: 24px; }
.sn-tool-body { padding: 32px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sn-tool h3 { font-family: var(--head); font-weight: 600; font-size: 25px; margin: 0; line-height: 1.1; }
.sn-tool p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.sn-tool .sn-go { color: var(--good); font-weight: 600; font-size: 14px; margin-top: 6px; }
.sn-tool:hover .sn-go { color: var(--accent); }
.sn-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.sn-more a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; }
.sn-more a:hover { border-color: rgba(220, 180, 96, 0.55); text-decoration: none; }
.sn-more img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.sn-more b { display: block; font-size: 15.5px; } .sn-more i { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 1280px) { .sn-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sn-more { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .sn-tools { grid-template-columns: 1fr; } }

/* the live part: what the site knows today */
.front-page main.front { padding-top: 18px; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); }
.front-page .card { border-radius: 16px; }
.front-page .fp-servers { padding: 0 var(--gutter); margin: 0 auto 6px; }

.sn-cta { position: relative; isolation: isolate; margin-top: 40px; padding: 70px var(--gutter); text-align: center; overflow: hidden;
  background: #07090b url("/static/art/guild.webp") center / cover no-repeat; border-top: 1px solid rgba(220, 180, 96, 0.16); }
.sn-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(7, 9, 11, 0.8); }
.sn-cta h2 { font-family: var(--head); font-weight: 600; font-size: clamp(30px, 3vw, 46px); margin: 0 0 10px; }
.sn-cta p { color: #ddd8cb; margin: 0 auto 24px; max-width: 54ch; font-size: 16.5px; }
.sn-foot { border-top: 1px solid var(--line); background: #080b0d; font-size: 14px; }
.front-page footer.sn-foot { margin-top: 0; }
.sn-foot-in { max-width: var(--wide); margin: 0 auto; padding: 28px var(--gutter) 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.sn-foot .sn-brand .brand-mark { width: 38px; height: 38px; }
.sn-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; flex: 1; justify-content: center; }
.sn-foot nav a { color: var(--muted); font-size: 14px; }
.sn-foot nav a:hover { color: var(--accent); }
.sn-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; color: var(--faint); font-size: 12.5px; border-top: 1px solid var(--line); padding-top: 14px; }
.sn-banner.slim { min-height: clamp(130px, 11vw, 200px); }
.sn-banner.slim h1 { font-size: clamp(26px, 2.4vw, 38px); max-width: none; margin-bottom: 6px; }
.sn-banner.slim .sn-banner-in { padding-top: 22px; padding-bottom: 22px; }
.sn-banner.slim .sn-lead { font-size: 15px; }
@media (max-width: 800px) { .sn-banner.slim .sn-banner-in { padding-top: 70px; } }
.sn-here span { display: inline-flex; align-items: center; gap: 7px; }
/* (a phone: the bar keeps the mark, the server, the search and the menu; logging in is in the page and the menu) */
html, body { overflow-x: clip; }
@media (max-width: 640px) {
  .topbar { gap: 8px; padding: 8px 12px; min-height: 60px; }
  .account .button.small, .account a.button { display: none; }   /* (in the menu instead: .sn-login-item) */
  .nav-region { max-width: 96px; padding: 7px 6px; font-size: 13px; }
  .sn-open .nav.sn { top: 60px; }
  .sn-hero .sn-kicker::before, .sn-hero .sn-kicker::after, .sn-section-head .sn-kicker::before, .sn-section-head .sn-kicker::after { display: none; }
}
@media (max-width: 400px) {
  .sn-words b { font-size: 12.5px; letter-spacing: 2.6px; }
  .sn-brand { gap: 8px; }
}
.nav.sn a.sn-login-item { display: none; }
@media (max-width: 640px) { .sn-open .nav.sn a.sn-login-item { display: flex; color: var(--good); font-weight: 600; } }

/* ---- an item's own page (/item/...): what it goes for, said first; the cities in a table; the way on ---- */
main.it { display: grid; gap: 22px; }
.it-head { display: flex; align-items: center; gap: 24px; }
.it-icon { width: 112px; height: 112px; flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); }
.it-say { font-family: var(--head); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.45; max-width: 62ch; }
.it-say b { color: var(--accent); font-weight: 600; }
.it-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.it-table th, .it-table td { text-align: left; padding: 11px 12px; border-top: 1px solid var(--line); font-size: 15px; }
.it-table thead th { border-top: 0; color: var(--faint); font-weight: 500; font-size: 13px; }
.it-table tbody th { font-weight: 600; }
.it-table td:nth-child(2), .it-table td:nth-child(3) { font-weight: 600; }
.it-table td:last-child { color: var(--muted); }
.it-note { color: var(--faint); font-size: 13px; margin: 12px 0 0; }
.it-go { display: flex; flex-wrap: wrap; gap: 14px; }
.it-family h2 { font-family: var(--display); font-size: 14.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin: 6px 0 12px; }
.it-family div { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.it-family a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.it-family a:hover { border-color: rgba(220, 180, 96, 0.55); text-decoration: none; }
.it-family i { font-style: normal; color: var(--faint); font-size: 13px; }
@media (max-width: 640px) {
  .it-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .it-icon { width: 84px; height: 84px; }
  .it-table th, .it-table td { padding: 9px 6px; font-size: 13.5px; }
  .it-go .button { flex: 1 1 100%; justify-content: center; }
}
/* (logged in, the bar holds more: the name by the picture goes first, then the menu folds sooner) */
.topbar .account span, .topbar [data-nav-account] span { white-space: nowrap; }
@media (max-width: 1780px) { .topbar .account span, .topbar [data-nav-account] span { display: none; } }
.nav-out button { border-radius: 9px; padding: 7px 12px; }

/* ---- the icon set (nav.js: snIcon) ---- */
.sn-i { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; }
.button .sn-i { width: 19px; height: 19px; }
.button.big .sn-i { width: 21px; height: 21px; }
.account a.button { gap: 8px; align-items: center; }
.nav-sub a .sub-i { width: 30px; height: 30px; padding: 6px; border-radius: 8px; color: var(--accent); background: rgba(220, 180, 96, 0.08); border: 1px solid rgba(220, 180, 96, 0.22); box-sizing: border-box; }
.nav-region-wrap { display: inline-flex; align-items: center; position: relative; flex: none; }
.nav-region-wrap .sn-i { position: absolute; left: 10px; color: var(--muted); pointer-events: none; width: 16px; height: 16px; }
.nav-region-wrap .nav-region { padding-left: 32px; text-transform: uppercase; letter-spacing: 1px; font-size: 12.5px; }

/* ---- the hero's points, with their icons ---- */
.sn-points span::before { content: none; }
.sn-points .sn-i { color: var(--accent); width: 19px; height: 19px; }
.sn-points span + span { padding-left: 22px; border-left: 1px solid rgba(236, 231, 218, 0.18); }
.sn-points .dot { margin-left: 2px; }

/* ---- the strip under the hero: three things the site is for ---- */
.sn-strip { border-bottom: 1px solid rgba(220, 180, 96, 0.16); background: linear-gradient(180deg, #0c1114, #0a0e11); }
.sn-strip-in { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sn-strip a { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 26px 18px; color: var(--text); text-decoration: none; }
.sn-strip a + a { border-left: 1px solid rgba(220, 180, 96, 0.16); }
.sn-strip .sn-i { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.3; }
.sn-strip b { display: block; font-family: var(--display); font-size: 14px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.sn-strip em { font-style: normal; font-size: 14px; color: var(--muted); }
.sn-strip a:hover em { color: var(--text); }
@media (max-width: 900px) { .sn-strip-in { grid-template-columns: 1fr; } .sn-strip a { justify-content: flex-start; padding: 16px 4px; } .sn-strip a + a { border-left: 0; border-top: 1px solid var(--line); } }

.sn-tool-badge .sn-i { width: 24px; height: 24px; }
.sn-go .sn-i { width: 15px; height: 15px; vertical-align: -2px; }

/* ---- the live part: what's said on the left, the previews on the right ---- */
.sn-live { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2.2fr); gap: 40px; align-items: start; }
.lv-say .sn-kicker { display: flex; align-items: center; gap: 12px; }
.lv-say .sn-kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.lv-say h2 { font-family: var(--head); font-weight: 600; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.06; margin: 0 0 14px; }
.lv-say > p { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.lv-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.lv-checks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.lv-checks .sn-i { color: var(--good); width: 22px; height: 22px; }
.lv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.lv-panel { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%), var(--panel); border: 1px solid var(--line-strong); border-radius: 16px; padding: 16px 18px; min-width: 0; }
.lv-market { grid-row: span 2; }
.lv-gold .card { height: 100%; margin: 0; }
.lv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lv-head .sn-i { color: var(--accent); width: 20px; height: 20px; }
.lv-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.lv-tag { margin-left: auto; color: var(--faint); font-size: 12.5px; }
.lv-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.lv-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 7px 12px; color: var(--muted); font-size: 13.5px; }
.lv-tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }
.lv-find { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 12px; background: rgba(7, 9, 11, 0.6); margin-bottom: 10px; }
.lv-find .sn-i { color: var(--faint); width: 16px; height: 16px; }
.lv-find input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; font-size: 14px; padding: 9px 0; outline: none; min-width: 0; }
.lv-rows { display: grid; gap: 2px; }
.lv-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 74px; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; color: var(--text); text-decoration: none; }
.lv-item:hover { background: var(--panel-2); text-decoration: none; }
.lv-item img { width: 40px; height: 40px; }
.lv-name { min-width: 0; }
.lv-name b { display: block; font-weight: 500; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-name i { font-style: normal; font-size: 12px; color: var(--faint); }
.lv-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.lv-change { text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.lv-change.up { color: var(--good); }
.lv-change.down { color: var(--bad); }
.lv-foot { color: var(--faint); font-size: 12.5px; margin: 10px 0 0; }
.lv-empty { font-size: 14px; color: var(--muted); padding: 18px 4px; margin: 0; }
.lv-kills { display: grid; }
.lv-krow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 58px 64px; gap: 10px; align-items: center; padding: 7px 4px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; }
.lv-krow.head { border-top: 0; color: var(--faint); font-size: 12px; padding-top: 0; }
a.lv-krow:hover { background: var(--panel-2); text-decoration: none; }
.lv-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lv-who b, .lv-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-w { width: 30px; height: 30px; flex: none; }
.lv-w.empty { display: inline-block; }
.lv-krow .num { text-align: right; font-variant-numeric: tabular-nums; }
.lv-silver { color: var(--accent); font-weight: 600; }
.lv-when { color: var(--faint); font-size: 12.5px; }
.lv-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--good); font-weight: 600; font-size: 14px; }
.lv-more .sn-i { width: 15px; height: 15px; }
.lv-daily { padding-top: 26px; }
.lv-daily:empty { display: none; }
@media (max-width: 1280px) { .sn-live { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .lv-grid { grid-template-columns: 1fr; } .lv-market { grid-row: auto; } }

/* ---- the community band: real counts, and a way in ---- */
.sn-community { position: relative; isolation: isolate; margin-top: 56px; overflow: hidden; border-top: 1px solid rgba(220, 180, 96, 0.16); border-bottom: 1px solid rgba(220, 180, 96, 0.16);
  background: #07090b url("/static/art/party.webp") center 60% / cover no-repeat; }
.sn-community::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 11, 0.86), rgba(7, 9, 11, 0.74) 50%, rgba(7, 9, 11, 0.9)); }
.sn-community-in { max-width: var(--wide); margin: 0 auto; padding: 64px var(--gutter); text-align: center; }
.sn-community .sn-kicker { display: inline-flex; align-items: center; gap: 14px; }
.sn-community .sn-kicker::before, .sn-community .sn-kicker::after { content: ""; width: 46px; height: 1px; background: var(--accent); opacity: 0.6; }
.sn-community h2 { font-family: var(--head); font-weight: 600; font-size: clamp(30px, 3vw, 48px); margin: 0 0 10px; }
.sn-community p { color: #ddd8cb; margin: 0 auto 30px; font-size: 16.5px; }
.cm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto 30px; }
.cm-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-align: left; border-radius: 14px; border: 1px solid rgba(220, 180, 96, 0.25); background: rgba(10, 14, 17, 0.72); }
.cm-tile .sn-i { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.4; }
.cm-tile b { display: block; font-family: var(--head); font-size: 28px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cm-tile span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .cm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cm-tiles { grid-template-columns: 1fr; } }

.sn-cta { margin-top: 0; background-image: url("/static/art/tools.webp"); }
.sn-cta-i { width: 46px; height: 46px; color: var(--accent); stroke-width: 1.2; margin-bottom: 8px; }

/* ---- the dashboard: one page, its parts in a side menu (the server's for its managers; the site's for its admin) ---- */
.dx { flex: 1; width: 100%; max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; }
.dx-side { position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); overflow: auto; padding: 24px 18px 24px var(--gutter);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.dx-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dx-kicker { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: var(--accent); }
.dx-side .picker-button { width: 100%; min-width: 0; }
.dx-side .picker-menu { right: 0; min-width: 0; }
.dx-nav { display: grid; gap: 18px; }
.dx-group { display: grid; gap: 2px; }
.dx-group-h { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); padding: 0 10px 6px; }
.dx-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 14.5px;
  border: 1px solid transparent; text-decoration: none; }
.dx-nav a .sn-i { width: 19px; height: 19px; color: var(--faint); }
.dx-nav a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.dx-nav a:hover .sn-i { color: var(--accent); }
.dx-nav a.on { color: var(--text); background: linear-gradient(90deg, rgba(220, 180, 96, 0.14), rgba(220, 180, 96, 0.03)); border-color: rgba(220, 180, 96, 0.3); }
.dx-nav a.on .sn-i { color: var(--accent); }
.dx-main { min-width: 0; padding: 26px var(--gutter) 40px 32px; }
.dx-main .page-head h1 { font-family: var(--head); font-weight: 600; font-size: clamp(28px, 2.4vw, 40px); margin: 0; }
.dx-main .page-head .sub { color: var(--faint); }
.dx-part .us, .dx-main .us { max-width: none; margin: 0; padding: 0; }
.dx-part .us + .us { margin-top: 22px; }
.dx-page footer.sn-foot { margin-top: 0; }
.dx-page .me { display: flex; align-items: center; gap: 10px; }
.dx-page .me img { width: 32px; height: 32px; border-radius: 50%; }
@media (max-width: 900px) {
  .dx { grid-template-columns: 1fr; }
  .dx-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px var(--gutter); }
  .dx-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .dx-group { display: flex; gap: 6px; }
  .dx-group-h { display: none; }
  .dx-nav a { white-space: nowrap; padding: 8px 12px; }
  .dx-main { padding: 20px var(--gutter) 34px; }
  .dx-page .me .name { display: none; }
}
@media (max-width: 640px) { .nav-region-wrap .nav-region { max-width: 118px; padding-left: 30px; letter-spacing: 0.5px; } .sn-points span + span { padding-left: 0; border-left: 0; } }

/* ---- the market and crafting: the window fills the screen and floats over the lower half of the section's painting
   (the painting a backdrop behind the top of the page, fading into the ground; the title on it above the window) ---- */
@media (min-width: 761px) and (min-height: 520px) {
  body.market-page { position: relative; }
  body.market-page .sn-banner { position: absolute; left: 0; right: 0; top: 68px; height: min(380px, 46vh); min-height: 0; z-index: 0; align-items: flex-start;
    border-bottom: 0; background-position: center 35%; }
  body.market-page .sn-banner::before { background: linear-gradient(90deg, rgba(7, 9, 11, 0.9) 0%, rgba(7, 9, 11, 0.55) 35%, rgba(7, 9, 11, 0.1) 70%),
    linear-gradient(0deg, var(--bg) 4%, rgba(10, 14, 17, 0.55) 45%, transparent 75%); }
  body.market-page .sn-banner-in { padding-top: 18px; padding-bottom: 0; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
  body.market-page .sn-banner .sn-kicker { margin: 0; }
  body.market-page .sn-banner h1 { font-size: clamp(24px, 2vw, 34px); margin: 0; max-width: none; }
  body.market-page .sn-banner .sn-lead { font-size: 14.5px; max-width: none; }
  body.market-page main.mk { position: relative; z-index: 1; max-width: var(--wide); padding: 74px var(--gutter) 0; }
  body.market-page .ah { box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65); }
  body.market-page footer.sn-foot { display: none; }
}

/* ---- the companion's own page: what it is, the two versions, what it reads, how to set it up -- then one's own ---- */
main.ci { display: grid; gap: 26px; }
.ci-h { font-family: var(--head); font-weight: 600; font-size: clamp(26px, 2.2vw, 36px); margin: 0 0 14px; }
.ci-cards { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.ci-card { border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); padding: 20px 22px; display: grid; gap: 10px; }
.ci-card-head { display: flex; align-items: center; gap: 12px; }
.ci-card h3 { font-family: var(--display); font-size: 20px; letter-spacing: 2px; margin: 0; color: var(--accent); }
.ci-card p { margin: 0; color: var(--muted); }
.ci-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.ci-card figure { margin: 6px 0 0; }
.ci-card figure img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-strong); display: block; }
.ci-card:first-child figure img { max-width: 360px; margin: 0 auto; }
.ci-card figcaption { color: var(--faint); font-size: 12px; margin-top: 6px; text-align: center; }
.ci-state { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.ci-state.on { color: var(--good); border-color: rgba(127, 197, 143, 0.5); background: var(--good-soft); }
.ci-state.beta { color: #c9b4f0; border-color: rgba(162, 138, 199, 0.55); background: rgba(162, 138, 199, 0.12); }
.ci-state.soon { color: var(--accent); border-color: rgba(220, 180, 96, 0.5); background: var(--accent-soft); }
.ci-state.plan { color: var(--muted); border-color: var(--line-strong); }
.ci-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ci-cols ul, .ci-cols ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.ci-cols b { color: var(--text); }
.ci-mine { display: grid; gap: 16px; max-width: 900px; }
.ci-mine:empty { display: none; }
@media (max-width: 900px) { .ci-cards, .ci-cols { grid-template-columns: 1fr; } }

/* ---- reading pages (the bot guides, the tools page): the plain face for instructions, the serif kept for headings ---- */
.doc p, .doc li { font-family: var(--font); font-size: 16px; line-height: 1.6; }
.sn-tools { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1500px) { .sn-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .sn-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sn-tools { grid-template-columns: 1fr; } }
.sn-tool p .ci-state { display: inline-block; margin-top: 6px; font-size: 11px; }
.sn-banner .sn-h { font-family: var(--head); font-weight: 600; font-size: clamp(32px, 3.6vw, 58px); line-height: 1.04; margin: 0 0 12px; max-width: 16ch; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.sn-banner.slim .sn-h { font-size: clamp(26px, 2.4vw, 38px); max-width: none; margin-bottom: 6px; }
@media (min-width: 761px) and (min-height: 520px) { body.market-page .sn-banner .sn-h { font-size: clamp(24px, 2vw, 34px); margin: 0; max-width: none; } }
.it-table td small { display: block; font-weight: 400; color: var(--faint); font-size: 12px; }

/* ---- the game's servers, under the hero: a small card each ---- */
.sn-realms { background: linear-gradient(180deg, #0b1013, #0a0e11); border-top: 1px solid rgba(220, 180, 96, 0.16); border-bottom: 1px solid rgba(220, 180, 96, 0.10); }
.sn-realms-in { max-width: var(--wide); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 18px; }
.rl-title { margin: 0; flex: none; display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.rl-title .sn-i { width: 18px; height: 18px; }
.rl-cards { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 74px; }
.rl-card { position: relative; border: 1px solid var(--line); border-radius: 12px; background: rgba(16, 22, 26, 0.85); transition: border-color 0.15s; }
.rl-card:hover { border-color: var(--line-strong); }
.rl-card.on { border-color: rgba(220, 180, 96, 0.7); box-shadow: 0 0 0 1px rgba(220, 180, 96, 0.18), 0 0 18px rgba(220, 180, 96, 0.08); }
.rl-pick { width: 100%; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; text-align: left; padding: 10px 40px 10px 14px; background: none; border: 0; color: var(--text); font: inherit; cursor: pointer; border-radius: 12px; }
.rl-card.on .rl-pick { cursor: default; }
.rl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); grid-row: 1; }
.rl-dot.good { background: var(--good); box-shadow: 0 0 8px rgba(127, 197, 143, 0.55); }
.rl-dot.warn { background: var(--warn); box-shadow: 0 0 8px rgba(227, 181, 82, 0.5); }
.rl-dot.bad { background: var(--bad); box-shadow: 0 0 8px rgba(228, 124, 102, 0.5); }
.rl-what { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.rl-name { font-family: var(--display); font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }
.rl-state { font-size: 13px; color: var(--muted); }
.rl-state.good { color: var(--good); }
.rl-state.warn { color: var(--warn); }
.rl-state.bad { color: var(--bad); }
.rl-main { grid-column: 1 / -1; font-size: 17px; font-weight: 600; letter-spacing: 0.2px; }
.rl-sub { grid-column: 1 / -1; color: var(--faint); font-size: 12.5px; }
.rl-info { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: none; border: 1px solid transparent; color: var(--faint); cursor: pointer; }
.rl-info:hover, .rl-info:focus-visible, .rl-card.open .rl-info { color: var(--accent); border-color: var(--line-strong); }
.rl-info .sn-i { width: 16px; height: 16px; }
.rl-more { display: none; position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - 32px)); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #0f1519; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55); font-size: 13px; text-align: left; }
.rl-info:hover + .rl-more, .rl-info:focus-visible + .rl-more, .rl-card.open .rl-more { display: block; }
.rl-more b { display: block; margin-bottom: 6px; color: var(--accent); font-weight: 600; }
.rl-more .rl-said { margin: 0 0 8px; color: var(--muted); }
.rl-more dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0 0 10px; }
.rl-more dt { color: var(--faint); }
.rl-more dd { margin: 0; text-align: right; }
.rl-days { display: flex; align-items: flex-end; gap: 2px; height: 26px; margin-bottom: 8px; }
.rl-days span { flex: 1; height: 100%; border-radius: 2px; background: rgba(127, 197, 143, 0.35); }
.rl-days span.none { background: var(--line); height: 30%; }
.rl-days span.down { background: var(--bad); }
.rl-more small { color: var(--faint); font-size: 11.5px; }
@media (max-width: 1100px) { .sn-realms-in { flex-direction: column; align-items: stretch; gap: 10px; } }
@media (max-width: 700px) { .rl-cards { grid-template-columns: 1fr; gap: 8px; } .rl-main { font-size: 15.5px; } }

/* ---- the front page before its figures come: kept the size they'll be, so nothing jumps ---- */
.lv-market, #lv-kills { min-height: 300px; }
.lv-wait { margin: 0; color: var(--faint); font-size: 13.5px; }
.lv-wait-box { height: 100%; min-height: 200px; }
.rl-card .rl-main { min-height: 1.2em; }

/* ---- a list that couldn't be loaded, or refreshed: said so ---- */
.mk-failed p { margin: 0 0 10px; }
.mk-stale { margin: 0 0 10px; padding: 7px 12px; border: 1px solid rgba(227, 181, 82, 0.35); border-radius: 9px; background: var(--warn-soft, rgba(227, 181, 82, 0.13)); color: var(--warn, #e3b552); font-size: 13px; }

/* ---- Report a problem ---- */
.sn-report { width: min(560px, calc(100vw - 32px)); padding: 22px 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); color: var(--text); }
.sn-report::backdrop { background: rgba(6, 8, 10, 0.75); }
.sn-report h2 { margin: 0 0 6px; font-family: var(--head); font-size: 26px; font-weight: 600; }
.sn-report-lead { margin: 0 0 14px; color: var(--muted); }
.sn-report textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 120px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(7, 9, 11, 0.6); color: var(--text); font: inherit; }
.sn-report textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sn-report-sent { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; font-size: 12.5px; color: var(--faint); }
.sn-report-sent b { color: var(--muted); font-weight: 600; }
.sn-report-note { margin: 8px 0 0; font-size: 12.5px; color: var(--faint); }
.sn-report-said { min-height: 1.2em; margin: 8px 0 0; color: var(--warn); font-size: 13px; }
.sn-report-row { display: flex; gap: 10px; margin-top: 12px; }

/* ---- the dashboard's Reports ---- */
.dx-report { padding: 12px 0; border-top: 1px solid var(--line); }
.dx-report.done { opacity: 0.55; }
.dx-report-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.dx-report-head b { color: var(--accent); }
.dx-report-head a { color: var(--text); word-break: break-all; }
.dx-report-head button { margin-left: auto; }
.dx-report-what { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
/* (a short part on a narrow screen: the menu row keeps its own height, not half the window) */
.dx { align-content: start; }

/* ---- where the keyboard is: one gold ring for everything that can be focused (a control's own style still wins) ---- */
:where(a, button, select, input, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-sub a:focus-visible, .top-hit:focus-visible { outline-offset: -2px; background: var(--accent-soft); }

/* ---- folded, the bar's own buttons are in the menu (a phone's bar has no room for them) ---- */
.nav.sn .sn-menu-extra { display: none; }
.sn-fold .topbar > a.nav-dash, .sn-fold .topbar > .nav-out { display: none; }
.sn-fold.sn-open .nav.sn .sn-menu-extra { display: flex; }
.sn-fold.sn-open .nav.sn a.sn-menu-extra { color: var(--accent); }
.sn-fold.sn-open .nav.sn .sn-menu-out button { all: unset; box-sizing: border-box; width: 100%; padding: 13px 10px; font-size: 16px; color: var(--muted); cursor: pointer; }
.sn-fold.sn-open .nav.sn .sn-menu-out button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 900px) {
  .topbar > a.nav-dash, .topbar > .nav-out { display: none; }
  .sn-open .nav.sn .sn-menu-extra { display: flex; }
  .sn-open .nav.sn a.sn-menu-extra { color: var(--accent); }
  .sn-open .nav.sn .sn-menu-out button { all: unset; box-sizing: border-box; width: 100%; padding: 13px 10px; font-size: 16px; color: var(--muted); cursor: pointer; }
  .sn-open .nav.sn .sn-menu-out button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
}
/* (a phone: the server picker is its globe alone -- the picker still opens on it, and is read as "Albion server") */
@media (max-width: 480px) {
  .nav-region-wrap { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(10, 14, 17, 0.7); }
  .nav-region-wrap .sn-i { position: static; width: 18px; height: 18px; color: var(--accent); }
  .nav-region-wrap .nav-region { position: absolute; inset: 0; width: 100%; max-width: none; padding: 0; opacity: 0; cursor: pointer; }
  .nav-region-wrap:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
}
/* ---- crafting on a narrow screen: the window as wide as the screen (not its content), and its rows' narrow
   columns said again -- plain rules later in style.css had put the wide ones back, squeezing names into overlaps ---- */
.mk { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1100px) {
  .cr-row { grid-template-columns: 38px minmax(0, 1.4fr) minmax(0, 1fr) 84px 84px; }
  .cr-step { grid-template-columns: minmax(0, 1fr) 132px 84px; }
}
@media (max-width: 640px) {
  .cr-row { grid-template-columns: 34px minmax(0, 1fr) 84px; gap: 10px; padding: 8px 10px; }
  .cr-row > :nth-child(3), .cr-row > :nth-child(8) { display: none; }
  .cr-row .mk-name b { overflow-wrap: anywhere; }
}
.ah-body { grid-template-columns: minmax(0, 1fr); }   /* (its lists as wide as the window, never wider: they wrap or scroll inside) */
.ah-pick.cr-refine { flex-wrap: wrap; row-gap: 6px; }
/* ---- the party builder on a phone: the size's twenty places scroll sideways in their box; the server line wraps ---- */
@media (max-width: 640px) {
  .pb-scales { min-width: 0; }
  .pb-size-row { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .pb-size-row .pb-frame { flex: none; }
  .pb-size-hint { white-space: normal; }
  .pb-scales-row { max-width: 100%; flex-wrap: wrap; }
  .pb-server { flex-wrap: wrap; min-width: 0; max-width: 100%; white-space: normal; }
}
@media (max-width: 900px) { .topbar #me .name, .topbar #me form { display: none; } }   /* (the dashboard's: Log out is in the menu) */

/* ---- the front page's lower pictures: none until they come near (front.js), and a phone's smaller ones ---- */
.sn-wait { background-image: none !important; }
@media (max-width: 800px) {
  .sn-community { background-image: url("/static/art/party-s.webp"); }
  .sn-cta { background-image: url("/static/art/tools-s.webp"); }
}
