:root {
  --accent: #ff6b00;
  --ink: #182526;
  --muted: #667272;
  --paper: #e9e6e0;
  --wash: #c8c3bc;
  --yellow: #e7ed4c;
  --pink: #ef5b83;
  --edge: #dfe7e4;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0;
  background:
    linear-gradient(#e0dcd49e, #e0dcd49e),
    url('assets/classic-medium.gif') repeat;
  background-color: var(--wash);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
summary {
  outline-offset: 4px;
}
*:focus-visible {
  outline: 3px solid #a64000;
}
button:disabled {
  cursor: default;
  opacity: 0.3;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
}
button,
summary,
a {
  touch-action: manipulation;
}
.wrap {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  z-index: 300;
  background: var(--accent);
  padding: 14px;
}
.skip-link:focus {
  top: 20px;
}
.pixel-sprite {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.avatar-head {
  overflow: visible;
  image-rendering: pixelated;
}
.nav-shell {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}
.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 18px 10px 25px;
  width: min(1220px, calc(100% - 48px));
  min-height: 72px;
  margin: auto;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 7px 0 #0002,
    0 12px 35px #0002;
}
.wordmark {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -1.8px;
  white-space: nowrap;
  line-height: 1;
}
.wordmark span {
  color: var(--accent);
}
.wordmark i {
  display: inline-block;
  font-style: normal;
  color: var(--accent);
  font-size: 25px;
  vertical-align: top;
  margin-left: 4px;
}
.nav-brand {
  margin-right: auto;
}
#navigation {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-item {
  position: relative;
}
.nav-top {
  padding: 13px 15px;
  display: block;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-top:hover,
.nav-top.active,
.nav-top[aria-expanded='true'] {
  background: #ffffff13;
  color: var(--accent);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 226px;
  padding: 16px 8px 8px;
  background: var(--ink);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 18px 25px #0002;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dropdown a {
  display: block;
  padding: 11px 13px;
  border-radius: 8px;
  color: #e6eeee;
  font-size: 12px;
}
.nav-dropdown a:hover {
  background: var(--accent);
  color: var(--ink);
}
#menu-toggle {
  display: none;
}
.hero {
  height: 456px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #293b39;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('assets/header-lounge.png') center 50% / cover;
  image-rendering: pixelated;
}
.hero-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #12232495, #12232440, #12232480),
    linear-gradient(0deg, #1223248c, transparent 70%);
}
.hero-content {
  padding-top: 52px;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  margin-bottom: 17px;
}
.hero-logo {
  font-size: clamp(72px, 9vw, 124px);
  font-weight: 900;
  letter-spacing: -8px;
  line-height: 0.9;
  text-shadow: 0 6px 0 #12232475;
}
.hero-logo span {
  color: var(--accent);
}
.hero-logo sup {
  font-size: 30px;
  letter-spacing: 0;
  color: var(--yellow);
  vertical-align: top;
  display: inline-block;
  transform: rotate(12deg);
  margin-left: 8px;
}
.hero-tagline {
  font-size: 15px;
  margin: 22px 0;
  color: #edf8f4;
}
.hero-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-pills a {
  font-size: 11px;
  font-weight: 700;
  padding: 10px 17px;
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 0 #0003;
  transition:
    transform 0.18s,
    background 0.18s;
}
.hero-pills a:hover {
  transform: translateY(-3px);
  background: var(--accent);
}
.hero-pills a:first-child {
  background: var(--accent);
}
.hero-corner,
.hero-label {
  position: absolute;
  bottom: 57px;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #ffffffb0;
}
.hero-corner {
  left: 32px;
}
.hero-label {
  right: 32px;
}
.broadcast {
  position: relative;
  margin-top: -30px;
  background: var(--paper);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  gap: 20px;
  box-shadow: 0 5px 0 #dfe7e4;
  z-index: 2;
  min-height: 76px;
}
#radio-player {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.record {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #293837 0 2px, #152322 3px 5px);
  display: grid;
  place-items: center;
}
.record span {
  width: 23px;
  height: 23px;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
}
#radio-player[data-state='playing'] .record {
  animation: spin 4s linear infinite;
}
.radio-title {
  min-width: 120px;
}
.radio-title strong {
  font-size: 11px;
  letter-spacing: 1px;
  display: block;
}
.radio-title span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.radio-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}
.radio-controls button {
  width: 30px;
  height: 30px;
  padding: 8px;
  border-radius: 8px;
  background: #eff4f2;
}
.radio-controls #radio-play {
  background: var(--ink);
  color: var(--accent);
}
.radio-controls button:hover:enabled {
  background: var(--accent);
  color: var(--ink);
}
.radio-controls svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.radio-controls input {
  width: 72px;
  accent-color: #c85000;
  margin: 0;
}
.radio-controls output {
  font-size: 9px;
  min-width: 30px;
}
.radio-demo {
  font-size: 8px;
  background: #f0f4f2;
  color: var(--muted);
  padding: 5px 7px;
  border-radius: 5px;
  letter-spacing: 0.6px;
}
.broadcast-link {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.broadcast-link:hover {
  color: #a64000;
}
main.wrap {
  padding-top: 38px;
  padding-bottom: 50px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px;
}
.section-heading h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}
.section-heading a,
.text-link {
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-heading a:hover,
.text-link:hover {
  color: #a64000;
}
.section-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #65817d;
  margin-bottom: 8px;
  display: block;
}
.story-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 35px;
  overflow-x: auto;
  padding: 3px 0 8px;
  scrollbar-width: thin;
}
.stories-title {
  min-width: 115px;
}
.stories-title strong {
  font-size: 17px;
  display: block;
}
.stories-title span {
  font-size: 10px;
  color: var(--muted);
}
.story {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  flex: 1 0 158px;
  padding: 0;
}
.story-portrait {
  width: 51px;
  height: 51px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 0 5px white;
  transition: transform 0.2s;
  overflow: hidden;
}
.story:nth-child(3n) .story-portrait {
  box-shadow:
    0 0 0 2px var(--pink),
    0 0 0 5px white;
}
.story-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.story strong {
  display: block;
  font-size: 11px;
}
.story small {
  font-size: 9px;
  color: var(--muted);
}
.story:hover .story-portrait {
  transform: rotate(-7deg) scale(1.06);
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 302px;
  gap: 30px;
  align-items: start;
}
.main-feed,
.side-feed {
  min-width: 0;
}
.side-feed {
  display: grid;
  gap: 24px;
}
.feed-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.feed-heading h2 {
  font-size: 29px;
  letter-spacing: -1px;
}
.filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #e3eae7;
  border-radius: 24px;
}
.filters button {
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  padding: 7px 12px;
  white-space: nowrap;
}
.filters button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.filters button:hover {
  background: var(--accent);
  color: var(--ink);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.news-card {
  position: relative;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 4px 0 #dce5e1;
  min-width: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 7px 0 #dce5e1,
    0 12px 25px #142b2510;
}
.news-open {
  display: block;
  width: 100%;
  padding: 9px;
  text-align: left;
  border-radius: 14px;
}
.news-visual {
  height: 185px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #bac6c2;
}
.news-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 0.3s;
}
.news-card:hover .news-visual img {
  transform: scale(1.035);
}
.news-label {
  position: absolute;
  top: 11px;
  left: 11px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: var(--accent);
  color: var(--ink);
  padding: 5px 8px;
  border-radius: 5px;
  max-width: 75%;
}
.news-card:nth-child(3n) .news-label {
  background: var(--yellow);
}
.news-card:nth-child(3n + 2) .news-label {
  background: var(--pink);
  color: #1c1719;
}
.news-body {
  padding: 15px 9px 11px;
}
.news-body h3 {
  font-size: 19px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  min-height: 46px;
  margin-bottom: 10px;
}
.news-body p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  font-size: 9px;
  color: var(--muted);
  padding-right: 28px;
}
.news-meta .avatar-head {
  width: 22px;
  height: 24px;
}
.news-meta span:last-child {
  margin-left: auto;
}
.bookmark {
  position: absolute;
  right: 17px;
  bottom: 18px;
  width: 27px;
  height: 27px;
  padding: 6px;
  border-radius: 6px;
  color: #70837a;
}
.bookmark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.bookmark[aria-pressed='true'] {
  color: #7d3200;
  background: var(--accent);
}
.bookmark[aria-pressed='true'] svg {
  fill: currentColor;
}
.load-more {
  display: block;
  margin: 24px auto 0;
  padding: 11px 23px;
  background: var(--paper);
  border-radius: 30px;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 3px 0 #dce5e1;
}
.load-more:hover {
  background: var(--accent);
}
.panel {
  padding: 22px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 4px 0 #dce5e1;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.panel-head h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
.tiny-tag {
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #ffffff60;
  letter-spacing: 0.7px;
}
.events-panel {
  background: var(--accent);
  box-shadow: 0 4px 0 #bd4f00;
}
.event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  text-align: left;
  width: 100%;
}
.event-date {
  width: 41px;
  text-align: center;
  flex-shrink: 0;
}
.event-date small {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
}
.event-date strong {
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}
.event-copy {
  flex: 1;
  min-width: 0;
}
.event-copy strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}
.event-copy small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: #542500;
}
.event-row .avatar-head {
  width: 36px;
  height: 40px;
  background: #ffffff45;
  border-radius: 50%;
}
.event-row:hover .event-copy strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.panel-link {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: #1825260f;
  font-size: 10px;
  font-weight: 700;
  margin-top: 12px;
}
.panel-link:hover {
  background: var(--ink);
  color: #fff;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.badge-item {
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 13px 5px 10px;
  border-radius: 10px;
  background: #f0f4f2;
  transition:
    transform 0.2s,
    background 0.2s;
}
.badge-item:hover {
  background: var(--yellow);
  transform: translateY(-4px);
}
.badge-item span {
  font-size: 8px;
  color: #60736c;
}
.badge-item.collected {
  background: #ffdabd;
}
.panel-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 14px;
}
.discord-panel {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 0 #071515;
  padding-top: 26px;
}
.discord-mark {
  width: 43px;
  height: 35px;
  fill: var(--accent);
  margin-bottom: 17px;
}
.discord-panel h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.discord-panel p {
  font-size: 11px;
  color: #b6c9c3;
  line-height: 1.6;
  margin-bottom: 18px;
}
.discord-panel button {
  background: var(--accent);
  padding: 11px 16px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 11px;
}
.discord-panel:after {
  content: '✳';
  position: absolute;
  right: -5px;
  top: 8px;
  font-size: 95px;
  line-height: 1;
  color: #ff6b0012;
  pointer-events: none;
}
.bulletin {
  margin: 30px 0;
  background: var(--yellow);
  border-radius: 13px;
  padding: 18px 22px;
  display: flex;
  gap: 17px;
  align-items: center;
}
.bulletin > span {
  font-size: 26px;
  font-weight: 800;
}
.bulletin strong {
  font-size: 13px;
  display: block;
}
.bulletin p {
  font-size: 10px;
  margin-top: 4px;
}
.bulletin button {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.leader-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.leader-tabs button {
  padding: 6px 10px;
  border-radius: 15px;
  background: #edf2f0;
  font-size: 9px;
}
.leader-tabs button[aria-pressed='true'] {
  background: var(--ink);
  color: white;
}
.leader-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  width: 100%;
  text-align: left;
}
.leader-row > b {
  font-size: 11px;
  width: 14px;
  color: #8a9790;
}
.leader-row .avatar-head {
  width: 30px;
  height: 33px;
}
.leader-row strong {
  font-size: 11px;
  flex: 1;
}
.leader-row span {
  font-size: 10px;
  font-weight: 700;
}
.lab-game {
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 0 #0b1414;
}
.lab-game .section-kicker {
  color: var(--accent);
}
.lab-game h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.lab-game p {
  font-size: 11px;
  color: #b9c9c3;
  line-height: 1.6;
}
.color-pads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 12px;
}
.color-pads button {
  height: 51px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: inset 0 -4px 0 #0002;
  color: var(--ink);
}
.color-pads button:hover {
  transform: translateY(-3px);
}
.game-status {
  min-height: 34px;
  font-size: 11px;
  color: var(--accent);
  display: block;
}
.game-start {
  background: var(--paper);
  border-radius: 6px;
  color: var(--ink);
  padding: 9px 13px;
  font-size: 10px;
  font-weight: bold;
}
.footer {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 36px 38px 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.footer-intro .section-kicker {
  color: var(--accent);
}
.footer-intro h2 {
  font-size: 33px;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
  max-width: 300px;
}
.footer-intro p {
  font-size: 11px;
  color: #b0c7be;
  max-width: 300px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-links strong {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer-links a,
.footer-links button {
  padding: 0;
  font-size: 12px;
  color: #e1ebe6;
}
.footer-links a:hover,
.footer-links button:hover {
  color: var(--accent);
}
.footer-wordmark {
  font-size: clamp(65px, 15vw, 180px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -8px;
  margin: 28px 0 15px;
  color: #ffffff0c;
  user-select: none;
  white-space: nowrap;
}
.footer-wordmark span {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-badge {
  width: 39px;
  height: auto;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.footer-legal {
  flex: 1;
}
.footer-legal p {
  font-size: 9px;
  color: #9bb6aa;
  line-height: 1.65;
  max-width: 780px;
}
.copyright {
  display: block;
  font-size: 9px;
  margin-top: 9px;
  color: #d4e3da;
  white-space: nowrap;
}
.footer-top-button {
  border-radius: 50%;
  width: 47px;
  height: 47px;
  border: 1px solid #49625a;
  color: var(--accent);
  font-size: 11px;
  flex-shrink: 0;
}
#back-to-top {
  position: fixed;
  bottom: 22px;
  right: 20px;
  z-index: 30;
  background: var(--accent);
  border-radius: 50%;
  height: 44px;
  width: 44px;
  box-shadow: 0 3px 0 #bd4f00;
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 12px;
  z-index: 300;
  transition: 0.2s;
  box-shadow: 0 5px 30px #0003;
  max-width: 90vw;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(560px, calc(100% - 32px));
  max-height: 85vh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 80px #0005;
}
dialog::backdrop {
  background: #0b1c1dcc;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 23px;
  background: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}
.dialog-top button {
  font-size: 26px;
  line-height: 1;
  padding: 2px 5px;
}
.dialog-top button:hover {
  background: #0001;
  border-radius: 4px;
}
#dialog-content {
  padding: 27px;
}
#dialog-content h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}
#dialog-content p {
  font-size: 13px;
  line-height: 1.7;
  margin: 13px 0;
}
.dialog-image {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  image-rendering: pixelated;
}
.dialog-notice {
  font-size: 10px !important;
  color: #78867f;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.button,
.page-action {
  display: inline-block;
  padding: 11px 17px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.button:hover,
.page-action:hover {
  background: var(--yellow);
}
.button.secondary {
  background: #eaf0ed;
}
.badge-display {
  display: grid;
  place-items: center;
  background: #f0f4f2;
  border-radius: 12px;
  padding: 25px;
}
.badge-display .pixel-sprite {
  width: 100px;
  height: 100px;
}
.destination-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
}
.destination-heading h1 {
  font-size: 35px;
  letter-spacing: -1.2px;
}
.team-preview-label {
  font-size: 11px;
  color: var(--muted);
}
.destination-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}
.page-panel {
  padding: 25px;
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 4px 0 #dce5e1;
  margin-bottom: 22px;
}
.page-panel h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.page-panel p {
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0 18px;
  color: #52675e;
}
.page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.destination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.destination-sidebar .page-panel h2 {
  font-size: 18px;
}
.destination-sidebar .page-panel {
  padding: 20px;
}
.destination-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.destination-filters [aria-pressed='false'] {
  background: white;
}
.page-faq summary {
  cursor: pointer;
  font-weight: 700;
}
.page-faq p {
  margin-top: 20px;
}
.page-form {
  display: grid;
  gap: 18px;
  max-width: 500px;
  justify-items: start;
}
.page-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  width: 100%;
  font-weight: 700;
}
.page-form input:not([type='checkbox']),
.page-form textarea,
.page-form select {
  background: #f0f4f2;
  border: 1px solid #cbd6d0;
  padding: 12px;
  border-radius: 7px;
  width: 100%;
  color: var(--ink);
}
.page-form .imager-flip {
  display: flex;
  align-items: center;
}
.page-form output {
  font-size: 12px;
  color: #924000;
}
.imager-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin: 20px 0;
}
.imager-preview svg {
  width: 80px;
  height: 85px;
}
.imager-preview.is-mirrored svg {
  transform: scaleX(-1);
}
.page-rankings {
  padding-left: 25px;
}
.page-rankings li {
  padding: 15px 0;
}
.page-rankings span {
  float: right;
}
.team-section {
  margin-bottom: 38px;
}
.team-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  margin-bottom: 22px;
}
.team-section h2 svg {
  width: 23px;
  height: 23px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.staff-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 4px 0 #dce5e1;
  padding: 18px 13px;
  min-height: 158px;
  min-width: 0;
  transition: transform 0.2s;
}
.staff-card:hover {
  transform: translateY(-4px);
}
.staff-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 65px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--accent);
  padding: 0;
}
.staff-avatar svg {
  width: 54px;
  height: 59px;
}
.staff-details {
  display: grid;
  gap: 4px;
  justify-items: start;
  min-width: 0;
}
.staff-details h3 {
  margin: 0;
  font-size: 13px;
}
.staff-bubble {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  background: #eef3f0;
  border-radius: 6px;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.staff-name {
  font-weight: 700;
  font-size: 12px;
  background: var(--ink);
  color: white;
}
.staff-name:hover {
  background: #a64000;
}
.staff-role {
  color: #446057;
}
.staff-handles {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.staff-profile {
  display: flex;
  align-items: center;
  gap: 25px;
}
.empty-state {
  padding: 35px;
  background: var(--paper);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
}
.sample-note {
  font-size: 10px;
  color: var(--muted);
  margin: 13px 0 0;
}
.story-modal-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .hero-image {
    background-size: cover;
    background-position: center 53%;
  }
  .hero {
    height: 490px;
  }
}
@media (max-width: 1100px) {
  .nav-island {
    gap: 12px;
  }
  .nav-top {
    padding: 13px 10px;
  }
  .nav-brand {
    font-size: 25px;
  }
  .home-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 22px;
  }
  .radio-demo {
    display: none;
  }
  .radio-title {
    min-width: 112px;
  }
  .news-visual {
    height: 155px;
  }
  .news-body h3 {
    font-size: 17px;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-avatar {
    flex-basis: 75px;
    width: 75px;
    height: 75px;
  }
}
@media (max-width: 850px) {
  .nav-shell {
    top: 12px;
  }
  .nav-island {
    width: calc(100% - 28px);
    padding: 12px 15px;
    min-height: 64px;
    border-radius: 14px;
    flex-wrap: wrap;
  }
  .nav-brand {
    font-size: 26px;
  }
  #menu-toggle {
    display: block;
    padding: 9px 12px;
    background: #ffffff12;
    border-radius: 8px;
    font-size: 11px;
  }
  #navigation {
    display: none;
    width: 100%;
    order: 5;
    align-items: stretch;
    flex-wrap: wrap;
    padding-top: 8px;
  }
  #navigation.open {
    display: flex;
  }
  .nav-item {
    flex: 1 1 40%;
  }
  .nav-top {
    padding: 13px 10px;
    text-align: left;
  }
  .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    box-shadow: none;
    width: 100%;
    padding: 0 0 4px;
  }
  .nav-item:hover .nav-dropdown {
    display: none;
  }
  .nav-item.open .nav-dropdown {
    display: block;
  }
  .nav-dropdown a {
    font-size: 11px;
    padding: 10px;
  }
  .hero {
    height: 420px;
  }
  .hero-logo {
    font-size: 92px;
  }
  .hero-corner,
  .hero-label {
    display: none;
  }
  .broadcast {
    padding: 14px 18px;
  }
  .broadcast-link {
    display: none;
  }
  .radio-controls input {
    width: 62px;
  }
  .home-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .side-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
  }
  .discord-panel {
    grid-column: 1/-1;
  }
  .news-visual {
    height: 210px;
  }
  .news-body h3 {
    font-size: 21px;
  }
  .destination-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .destination-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-top {
    gap: 25px;
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-intro h2 {
    font-size: 27px;
  }
  .footer {
    padding: 28px;
  }
  .footer-wordmark {
    letter-spacing: -6px;
  }
  .story-strip {
    gap: 23px;
  }
  .story {
    flex: 0 0 150px;
  }
}
@media (max-width: 550px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    height: 397px;
  }
  .hero-content {
    padding: 50px 16px 0;
  }
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 2.3px;
    margin-bottom: 20px;
  }
  .hero-logo {
    font-size: 72px;
    letter-spacing: -5px;
  }
  .hero-logo sup {
    font-size: 20px;
    margin-left: 3px;
  }
  .hero-tagline {
    font-size: 12px;
    max-width: 270px;
    margin: 18px auto 20px;
  }
  .hero-pills {
    gap: 7px;
  }
  .hero-pills a {
    font-size: 10px;
    padding: 9px 13px;
  }
  .nav-island {
    gap: 9px;
  }
  .nav-brand {
    font-size: 24px;
  }
  .nav-brand i {
    font-size: 19px;
  }
  #menu-toggle {
    padding: 8px 10px;
  }
  .broadcast {
    margin-top: -26px;
    padding: 13px;
    min-height: 90px;
  }
  #radio-player {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }
  .record {
    width: 34px;
    height: 34px;
  }
  .record span {
    width: 20px;
    height: 20px;
    font-size: 7px;
  }
  .radio-title {
    min-width: 0;
    flex: 1;
  }
  .radio-title strong {
    font-size: 10px;
  }
  .radio-title span {
    font-size: 9px;
  }
  .radio-controls {
    gap: 5px;
    margin-left: auto;
  }
  .radio-controls button {
    width: 27px;
    height: 27px;
    padding: 7px;
  }
  .radio-controls input {
    width: 45px;
  }
  .radio-controls output {
    font-size: 8px;
    min-width: 22px;
  }
  .radio-controls #radio-mute {
    display: none;
  }
  .radio-demo {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 7px;
    padding: 0;
    background: none;
    margin-top: -4px;
  }
  .broadcast .record {
    display: none;
  }
  main.wrap {
    padding-top: 28px;
    padding-bottom: 35px;
  }
  .story-strip {
    gap: 18px;
    margin-bottom: 25px;
  }
  .stories-title {
    min-width: 88px;
  }
  .stories-title strong {
    font-size: 15px;
  }
  .stories-title span {
    font-size: 9px;
  }
  .story {
    flex-basis: 133px;
  }
  .story-portrait {
    width: 43px;
    height: 43px;
  }
  .story strong {
    font-size: 10px;
  }
  .story small {
    font-size: 8px;
  }
  .feed-heading {
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }
  .feed-heading h2 {
    font-size: 27px;
  }
  .filters button {
    font-size: 9px;
    padding: 7px 9px;
  }
  .news-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  .news-visual {
    height: 210px;
  }
  .news-body {
    padding: 16px 12px 11px;
  }
  .news-body h3 {
    min-height: 0;
    font-size: 21px;
  }
  .news-body p {
    min-height: 0;
    font-size: 12px;
  }
  .news-meta {
    font-size: 10px;
  }
  .side-feed {
    grid-template-columns: 1fr;
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .bulletin {
    padding: 17px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .bulletin p {
    font-size: 11px;
  }
  .bulletin button {
    margin-left: 38px;
  }
  .panel {
    padding: 21px;
  }
  .panel-head h2 {
    font-size: 21px;
  }
  .badge-item {
    padding: 16px 8px;
  }
  .badge-item .pixel-sprite {
    width: 43px;
    height: 43px;
  }
  .footer {
    border-radius: 20px;
    padding: 27px 23px;
    margin-bottom: 18px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .footer-intro {
    grid-column: 1/-1;
  }
  .footer-intro h2 {
    font-size: 34px;
    max-width: 240px;
  }
  .footer-intro p {
    font-size: 12px;
  }
  .footer-wordmark {
    font-size: 71px;
    letter-spacing: -4px;
    margin: 32px 0 22px;
  }
  .footer-bottom {
    gap: 13px;
    align-items: flex-start;
  }
  .footer-badge {
    width: 29px;
  }
  .footer-legal p {
    font-size: 8px;
  }
  .copyright {
    font-size: 7px;
    letter-spacing: -0.1px;
  }
  .footer-top-button {
    display: none;
  }
  .destination-heading {
    display: block;
    margin-bottom: 25px;
  }
  .destination-heading h1 {
    font-size: 29px;
  }
  .team-preview-label {
    display: block;
    margin-top: 10px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .staff-card {
    gap: 20px;
    padding: 20px;
    min-height: 145px;
  }
  .staff-bubble {
    font-size: 11px;
  }
  .staff-name {
    font-size: 14px;
  }
  .destination-sidebar,
  .page-grid {
    grid-template-columns: 1fr;
  }
  .page-panel {
    padding: 21px;
  }
  .destination-filters .page-action {
    font-size: 10px;
  }
  .page-rankings li {
    font-size: 12px;
  }
  .page-form {
    width: 100%;
  }
  .page-panel h2 {
    font-size: 22px;
  }
  .dialog-top {
    padding: 12px 20px;
  }
  #dialog-content {
    padding: 23px;
  }
  .section-kicker {
    font-size: 8px;
  }
  .panel-note {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Separate floating controls, with navigation centered on the viewport. */
.nav-shell {
  top: 22px;
}
.nav-island {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  width: calc(100% - 48px);
  min-height: 48px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
.nav-brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin: 0;
  padding: 12px 0;
  font-size: 27px;
  color: #fff;
  filter: drop-shadow(0 2px 2px #0c1818);
  pointer-events: auto;
}
#navigation {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 0;
  width: auto;
  pointer-events: none;
}
.nav-top {
  pointer-events: auto;
  background: var(--ink);
  color: #e9e6e0;
  padding: 14px 19px;
  border-radius: 12px;
  border: 1px solid #ffffff12;
  box-shadow:
    0 4px 0 #0d191a36,
    0 6px 14px #0b1c1d1a;
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}
.nav-top.active,
.nav-top:hover,
.nav-top[aria-expanded='true'] {
  background: var(--accent);
  color: var(--ink);
  border-color: transparent;
  box-shadow:
    0 4px 0 #bd4f0055,
    0 6px 14px #0b1c1d1a;
}
.nav-item {
  pointer-events: auto;
}
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}
.nav-dropdown {
  top: calc(100% + 12px);
  left: 50%;
  padding: 8px;
  border-radius: 12px;
  transform: translate(-50%, 8px);
  pointer-events: auto;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  transform: translate(-50%, 0);
}
#menu-toggle {
  pointer-events: auto;
}
.events-panel {
  background: linear-gradient(#1825260c, #1825260c), var(--accent);
}
@media (max-width: 1050px) {
  .nav-brand {
    font-size: 23px;
  }
  .nav-brand i {
    font-size: 21px;
  }
  .nav-top {
    padding-inline: 13px;
  }
  #navigation {
    gap: 7px;
  }
}
@media (max-width: 900px) {
  .nav-shell {
    top: 16px;
  }
  .nav-island {
    width: calc(100% - 32px);
    gap: 12px;
  }
  #menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    padding: 14px 20px;
    background: var(--ink);
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 0 #0d191a36;
  }
  #menu-toggle[aria-expanded='true'] {
    background: var(--accent);
    color: var(--ink);
  }
  #navigation {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    width: min(100%, 560px);
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
  }
  #navigation.open {
    display: flex;
  }
  .nav-item {
    flex: 0 0 auto;
  }
  .nav-top {
    text-align: center;
    padding: 12px 16px;
  }
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 210px;
    display: none;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 12px 22px #0003;
    z-index: 2;
  }
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: none;
  }
  .nav-item.open .nav-dropdown {
    display: block;
  }
}
@media (max-width: 550px) {
  .nav-brand {
    display: none;
  }
  .nav-island {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  #menu-toggle {
    padding-inline: 18px;
  }
  #navigation {
    width: min(100%, 350px);
  }
  .nav-top {
    padding: 11px 13px;
    font-size: 11px;
  }
  .nav-item:nth-child(2) .nav-dropdown {
    left: 0;
    transform: translate(0, 0);
  }
  .nav-item:nth-child(5) .nav-dropdown {
    left: auto;
    right: 0;
    transform: translate(0, 0);
  }
}
@media (max-width: 900px) {
  #navigation {
    grid-column: 1 / -1;
    grid-row: auto;
    width: min(100%, 420px);
  }
  #navigation.open {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nav-item {
    position: static;
    min-width: 0;
  }
  .nav-item::after {
    display: none;
  }
  #navigation .nav-top {
    width: 100%;
  }
  #navigation .nav-item .nav-dropdown {
    top: calc(100% + 12px);
    left: 50%;
    right: auto;
    width: min(100%, 260px);
    transform: translate(-50%, 0);
  }
}
/* Page-aligned navigation scrolls with the header and fades naturally. */
html {
  scroll-padding-top: 24px;
}
.nav-shell {
  position: absolute;
  top: 22px;
  transition: opacity 0.12s linear;
}
.nav-island {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, calc(100% - 64px));
  gap: 20px;
}
#navigation {
  position: static;
  display: flex;
  justify-content: flex-start;
  transform: none;
  width: auto;
  margin: 0;
}
#radio-player {
  flex: 1;
}
.radio-account {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  flex-shrink: 0;
}
.radio-account button {
  padding: 10px 17px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.radio-account .register-button {
  background: var(--accent);
  color: var(--ink);
}
.radio-account button:hover {
  background: #914300;
  color: white;
}
.radio-account .register-button:hover {
  background: #ed6200;
  color: var(--ink);
}
/* Original compact cover cards, inset artwork and raised badge medallions. */
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 15px;
}
.news-card {
  border: 1px solid #63706c;
  border-top: 4px solid var(--accent);
  border-bottom-color: #101b19;
  border-radius: 6px;
  background: #303736;
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff22,
    0 5px 0 #182321,
    0 6px 0 #65736e,
    0 10px 15px #13251c25;
}
.news-card:nth-child(3n + 2) {
  border-top-color: var(--pink);
}
.news-card:nth-child(3n) {
  border-top-color: var(--yellow);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 #ffffff33,
    0 7px 0 #182321,
    0 8px 0 #65736e,
    0 15px 22px #13251c35;
}
.news-open {
  padding: 0;
  background: #303736;
  color: white;
  border-radius: 4px;
  overflow: hidden;
}
.news-visual {
  margin: 8px 8px 0;
  height: 163px;
  border: 1px solid #15221d;
  border-top: 2px solid #15221d;
  border-radius: 3px;
  box-shadow: 0 1px 0 #ffffff22;
}
.cover-title {
  position: absolute;
  bottom: 37px;
  left: 5px;
  right: 5px;
  text-align: center;
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: #e9e6e0;
  transform: rotate(-4deg);
  text-shadow:
    2px 2px 0 #182321,
    -1px -1px 0 #182321,
    3px 4px 0 #18232199;
}
.news-label,
.news-card:nth-child(3n) .news-label,
.news-card:nth-child(3n + 2) .news-label {
  background: #182321e8;
  color: #fff;
  font-size: 7px;
  padding: 4px 6px;
  top: 8px;
  left: 8px;
}
.tile-reading {
  position: absolute;
  right: 7px;
  top: 8px;
  font-size: 7px;
  color: white;
  background: #182321cc;
  padding: 4px 6px;
  border-radius: 3px;
}
.tile-badges {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: 100%;
  height: 56px;
  margin: -28px auto 0;
  padding: 6px 6px 0;
  border-radius: 32px 32px 0 0;
  background: #303736;
  box-shadow:
    0 -2px 0 #788a8140,
    inset 0 1px 0 #ffffff12;
}
.badge-medallion {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: radial-gradient(#68766e, #202a25);
  border: 2px solid #65766b;
  box-shadow:
    inset 0 2px 4px #14251c88,
    0 1px 0 #ffffff33;
  transition: transform 0.2s;
}
.badge-medallion .pixel-sprite {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 0 #18232188);
}
.news-card:hover .badge-medallion {
  transform: translateY(-2px);
}
.news-body {
  padding: 8px 13px 18px;
}
.news-body h3 {
  min-height: 0;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 0 0 9px;
  letter-spacing: 0;
  color: white;
  text-shadow: 0 2px 0 #18232177;
}
.news-meta {
  margin: 0;
  padding-right: 20px;
  font-size: 9px;
  color: #b8c9c1;
  display: block;
}
.bookmark {
  bottom: 13px;
  right: 8px;
  color: #c1d3c9;
}
.bookmark:hover {
  background: #52665a;
}
.news-card .bookmark[aria-pressed='true'] {
  color: var(--ink);
}
/* Compact footer: identity and links, followed by the badge and legal copy. */
.footer {
  padding: 24px 28px;
  border-radius: 17px;
}
.footer-compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 21px;
}
.footer-compact-top .wordmark {
  font-size: 28px;
}
.footer-mini-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.footer-mini-links a,
.footer-mini-links button {
  font-size: 10px;
  color: #c0d3c9;
  padding: 0;
}
.footer-mini-links a:hover,
.footer-mini-links button:hover {
  color: var(--accent);
}
.footer-legal p {
  max-width: 950px;
}
.footer-badge {
  width: 30px;
}
.footer-top-button {
  width: 38px;
  height: 38px;
}
.auth-form {
  display: grid;
  gap: 15px;
}
.auth-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.auth-form input,
.auth-form select {
  width: 100%;
  border: 1px solid #c3d0c9;
  border-radius: 7px;
  background: #eef3ef;
  color: var(--ink);
  padding: 11px 12px;
}
.auth-pair {
  display: grid;
  grid-template-columns: 1fr 145px;
  gap: 14px;
}
#dialog-content .auth-demo {
  background: #f2decd;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 10px;
  margin: 0 0 20px;
}
#dialog-content .password-warning {
  font-size: 11px;
  font-weight: 700;
  margin: 0;
}
#dialog-content .auth-terms {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}
.auth-alternate {
  font-size: 11px;
  padding: 5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .radio-demo {
    display: none;
  }
  .nav-top {
    padding-inline: 14px;
  }
}
@media (max-width: 900px) {
  .nav-island {
    width: min(1220px, calc(100% - 64px));
  }
  #navigation {
    position: absolute;
    display: none;
    top: calc(100% + 13px);
    left: 0;
    width: min(100%, 420px);
    transform: none;
  }
  #navigation.open {
    display: grid;
  }
  #menu-toggle {
    margin: 0;
  }
  .broadcast {
    flex-wrap: wrap;
    gap: 12px;
  }
  #radio-player {
    flex: 1 1 auto;
  }
  .radio-account {
    margin-left: auto;
  }
  .radio-account button {
    padding-inline: 13px;
  }
}
@media (max-width: 550px) {
  .nav-island {
    width: calc(100% - 32px);
  }
  .nav-shell {
    top: 16px;
  }
  .broadcast {
    min-height: 0;
    padding: 13px;
  }
  #radio-player {
    flex-basis: 100%;
  }
  .radio-account {
    justify-content: flex-end;
    width: 100%;
  }
  .radio-account button {
    padding: 8px 17px;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .news-visual {
    margin: 5px 5px 0;
    height: 132px;
  }
  .cover-title {
    font-size: 23px;
    bottom: 35px;
  }
  .tile-badges {
    height: 45px;
    margin-top: -23px;
    gap: 3px;
    padding: 5px 4px 0;
  }
  .badge-medallion {
    width: 27px;
    height: 27px;
    border-width: 1px;
  }
  .badge-medallion .pixel-sprite {
    width: 23px;
    height: 23px;
  }
  .news-body {
    padding: 8px 9px 16px;
  }
  .news-body h3 {
    font-size: 12px;
  }
  .news-meta {
    font-size: 8px;
    padding-right: 15px;
  }
  .bookmark {
    width: 23px;
    height: 23px;
    padding: 5px;
    right: 4px;
    bottom: 12px;
  }
  .footer {
    padding: 22px;
  }
  .footer-compact-top {
    display: block;
    margin-bottom: 18px;
  }
  .footer-mini-links {
    justify-content: flex-start;
    margin-top: 18px;
    gap: 10px 16px;
  }
  .footer-mini-links a,
  .footer-mini-links button {
    font-size: 10px;
  }
  .auth-pair {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 360px) {
  .tile-badges {
    gap: 2px;
    padding-inline: 3px;
  }
  .badge-medallion {
    width: 24px;
    height: 24px;
  }
  .news-meta {
    font-size: 7px;
  }
  .cover-title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-shell {
    transition: none;
  }
}

/* Compact floating navigation and radio controls. */
.nav-island {
  justify-content: center;
  gap: 12px;
}
.broadcast {
  width: fit-content;
  max-width: calc(100% - 64px);
  min-height: 0;
  padding: 0;
  gap: 12px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  justify-content: center;
  margin-top: -27px;
  flex-wrap: wrap;
}
#radio-player {
  flex: 0 1 auto;
  width: auto;
  padding: 11px 16px;
  gap: 12px;
  min-height: 62px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 4px 0 #0c1718,
    0 8px 18px #0002;
}
.radio-title {
  min-width: 113px;
}
.radio-title span {
  color: #b9c5c1;
}
.record {
  width: 36px;
  height: 36px;
}
.radio-controls button {
  background: #34413f;
  color: #f1eee8;
}
.radio-controls #radio-play {
  background: var(--accent);
  color: var(--ink);
}
.radio-controls input {
  accent-color: var(--accent);
  width: 60px;
}
.radio-controls output {
  color: #cbd5d0;
}
.radio-demo {
  display: none;
}
.radio-account {
  margin: 0;
  width: auto;
  gap: 8px;
  color: white;
}
.radio-account button {
  min-height: 48px;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow:
    0 4px 0 #0c1718,
    0 8px 18px #0002;
}
.radio-account .register-button {
  box-shadow:
    0 4px 0 #a64500,
    0 8px 18px #0002;
}
/* Image-only stories, with enough inset for focus rings and no hover clipping. */
.story-strip {
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  padding: 7px;
  margin: -7px -7px 24px;
  overflow-x: auto;
}
.story {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  display: block;
  border-radius: 50%;
}
.story-portrait {
  width: 62px;
  height: 62px;
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 0 5px #e9e6e0;
  transition: box-shadow 0.2s;
}
.story:nth-child(3n) .story-portrait {
  box-shadow:
    0 0 0 2px var(--pink),
    0 0 0 5px #e9e6e0;
}
.story:hover .story-portrait {
  transform: none;
  box-shadow:
    0 0 0 3px var(--accent),
    0 0 0 5px #182526;
}
.story-portrait img {
  transition: filter 0.2s;
}
.story:hover img {
  filter: brightness(1.12);
}
.story-viewer {
  width: min(700px, calc(100% - 32px));
  background: #202a2a;
  color: #fff;
  border-radius: 12px;
}
.story-viewer .dialog-top {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 0;
  background: transparent;
  z-index: 1;
}
.story-viewer .dialog-top > span {
  display: none;
}
.story-viewer .dialog-top button {
  color: white;
  font-size: 24px;
  padding: 5px 8px;
}
.story-viewer #dialog-content {
  padding: 0;
}
.story-viewer #dialog-content h2 {
  padding: 20px 58px 0 22px;
  font-size: 20px;
  margin: 0;
  letter-spacing: 0;
}
.story-viewer #dialog-content .story-byline {
  margin: 5px 0 0;
  padding: 0 22px 17px;
  font-size: 12px;
  color: #b9c5c1;
}
.story-full-image {
  width: calc(100% - 28px);
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  margin: 0 14px;
  image-rendering: pixelated;
  background: #152020;
}
.story-viewer #dialog-content .story-published {
  padding: 15px 22px;
  margin: 0;
  font-size: 11px;
  color: #b9c5c1;
}
.cabinet-panel .badge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.furniture-panel {
  background: #263131;
  color: #fff;
  box-shadow: 0 4px 0 #111d1c;
}
.furniture-panel .badge-item {
  background: #354241;
  box-shadow:
    inset 0 1px 0 #ffffff10,
    0 2px 0 #1a2626;
}
.furniture-panel .badge-item span {
  color: #c8d4cc;
}
.furniture-panel .badge-item:hover {
  background: #4b5042;
}
.furniture-panel .panel-note {
  color: #b9c5c1;
}
.furniture-display {
  background: #283534;
}
.active-panel {
  margin-top: 30px;
  padding: 23px;
}
.active-panel .panel-head {
  margin-bottom: 22px;
}
.active-panel .panel-note {
  margin-top: 7px;
}
.active-total {
  font-size: 10px;
  border-radius: 20px;
  background: #d8ddd6;
  padding: 7px 11px;
  white-space: nowrap;
}
.online-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.online-members {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.online-member {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 0;
  font-size: 10px;
}
.online-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #cecfc4;
  box-shadow:
    0 3px 0 #a5afa6,
    inset 0 1px 0 #fff9;
  transition: background 0.2s;
}
.online-member:nth-child(2n) .online-avatar {
  background: #e2bb93;
}
.online-member:nth-child(3n) .online-avatar {
  background: #c3c5ab;
}
.online-avatar .avatar-head {
  width: 43px;
  height: 47px;
}
.online-member:hover .online-avatar {
  background: var(--accent);
}
.guest-count {
  flex-shrink: 0;
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: #d9ddd6;
}
.guest-count strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
}
.guest-count span {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
@media (max-width: 900px) {
  #navigation {
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-island {
    justify-content: center;
  }
  .radio-title {
    min-width: 105px;
  }
  .broadcast {
    max-width: calc(100% - 32px);
  }
}
@media (max-width: 550px) {
  .broadcast {
    gap: 12px;
    margin-top: -24px;
  }
  #radio-player {
    flex-basis: auto;
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    gap: 8px;
    flex-wrap: nowrap;
    min-height: 59px;
  }
  .radio-title {
    flex: 0 1 auto;
    min-width: 89px;
  }
  .radio-controls {
    gap: 4px;
    margin: 0;
  }
  .radio-controls input {
    width: 40px;
  }
  .radio-controls #radio-mute {
    display: block;
  }
  .radio-account {
    justify-content: center;
  }
  .radio-account button {
    min-height: 39px;
    padding: 9px 18px;
  }
  .story-strip {
    gap: 12px;
    margin-bottom: 21px;
  }
  .story,
  .story-portrait {
    width: 54px;
    height: 54px;
  }
  .story {
    flex-basis: 54px;
  }
  .online-row {
    flex-wrap: wrap;
    gap: 18px;
  }
  .online-members {
    gap: 18px 14px;
  }
  .online-member {
    font-size: 9px;
  }
  .online-avatar {
    width: 52px;
    height: 52px;
  }
  .guest-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
  }
  .guest-count strong {
    font-size: 21px;
  }
  .guest-count span {
    margin: 0;
  }
  .active-panel {
    padding: 20px;
  }
  .active-panel .panel-head {
    align-items: flex-start;
  }
  .active-total {
    font-size: 9px;
    padding: 6px 8px;
  }
  .story-viewer #dialog-content h2 {
    font-size: 18px;
  }
  .story-full-image {
    width: calc(100% - 20px);
    margin-inline: 10px;
  }
  .story-viewer #dialog-content .story-byline,
  .story-viewer #dialog-content .story-published {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .radio-controls button {
    width: 24px;
    height: 26px;
  }
  .radio-controls input {
    width: 32px;
  }
  .radio-title {
    min-width: 85px;
  }
  .radio-controls output {
    min-width: 21px;
  }
}

/* Stories and radio share a row; account controls sit directly over the calendar. */
.broadcast.wrap {
  width: min(1220px, calc(100% - 64px));
  max-width: none;
  margin-top: 28px;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
#stories-slot {
  min-width: 0;
  flex: 0 1 auto;
}
#stories-slot .story-strip {
  margin: 0;
  padding: 7px;
}
.broadcast #radio-player {
  margin-left: auto;
}
#account-slot {
  width: 100%;
  min-width: 0;
}
#account-slot .radio-account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
#account-slot .radio-account button {
  width: 100%;
  min-height: 56px;
  font-size: 13px;
  padding: 14px 10px;
}
main.wrap {
  padding-top: 25px;
}
.active-panel {
  background: #263131;
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 4px 0 #111d1c;
}
.active-panel .panel-note {
  color: #b9c5c1;
}
.active-panel .active-total {
  background: #3b4946;
  color: #e6eee9;
}
.active-panel .online-member {
  border-radius: 10px;
  color: #e6eee9;
}
.active-panel .online-avatar {
  box-shadow:
    0 3px 0 #111d1c,
    inset 0 1px 0 #fff5;
  transition:
    transform 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}
.active-panel .online-member:hover .online-avatar,
.active-panel .online-member:focus-visible .online-avatar {
  transform: translateY(-3px);
  background: var(--accent);
  box-shadow:
    0 5px 0 #111d1c,
    0 0 0 2px var(--accent);
}
.active-panel .online-member:hover > span:last-child {
  color: var(--accent);
}
.active-panel .guest-count {
  background: #394744;
  color: #fff;
  transition:
    background 0.18s,
    transform 0.18s;
}
.active-panel .guest-count:hover,
.active-panel .guest-count:focus-visible {
  background: #4b5b56;
  transform: translateY(-2px);
}
.active-panel .guest-count strong {
  color: var(--accent);
}
@media (max-width: 850px) {
  .side-feed {
    grid-template-columns: 1fr;
  }
  .broadcast.wrap {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .broadcast.wrap {
    justify-content: flex-start;
  }
  .broadcast #radio-player {
    margin-left: 0;
  }
}
@media (max-width: 550px) {
  .broadcast.wrap {
    width: calc(100% - 32px);
    margin-top: 22px;
    gap: 18px;
  }
  #stories-slot {
    width: 100%;
  }
  .broadcast #radio-player {
    width: 100%;
  }
  main.wrap {
    padding-top: 25px;
  }
  #account-slot .radio-account button {
    min-height: 56px;
    font-size: 14px;
  }
}

/* Keep the radio beside the stories inside the news column, clear of the sidebar. */
.broadcast:not(:has(> .radio-account)) {
  padding-right: 332px;
  flex-wrap: nowrap;
}
.broadcast:not(:has(> .radio-account)) #stories-slot {
  flex: 1 1 auto;
}
.broadcast:not(:has(> .radio-account)) #radio-player {
  flex: 0 0 auto;
}
@media (max-width: 1100px) {
  .broadcast:not(:has(> .radio-account)) {
    padding-right: 292px;
  }
}
@media (max-width: 850px) {
  .broadcast:not(:has(> .radio-account)) {
    padding-right: 0;
  }
}
@media (max-width: 700px) {
  .broadcast:not(:has(> .radio-account)) {
    flex-wrap: wrap;
  }
  .broadcast:not(:has(> .radio-account)) #stories-slot {
    flex-basis: 100%;
  }
}

/* Start the entire sidebar on the same 62px control row as the radio. */
@media (min-width: 851px) {
  .home-layout > .side-feed {
    margin-top: -94px;
  }
  #account-slot .radio-account button {
    min-height: 62px;
  }
}

/* Inline account controls slide into the hero beneath the wordmark. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-content {
  transition: transform 0.28s ease;
}
.hero.auth-open .hero-content {
  transform: translateY(-48px);
}
.header-auth {
  position: absolute;
  top: calc(50% + 46px);
  left: 50%;
  width: min(1040px, calc(100% - 64px));
  transform: translate(-50%, 18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.28s ease,
    opacity 0.24s ease,
    visibility 0.28s;
}
.header-auth.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-auth-form {
  width: 100%;
  margin: 0 auto;
  animation: auth-slide 0.28s ease both;
}
.inline-auth-fields {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 230px) 76px 76px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.is-register .inline-auth-fields {
  grid-template-columns: minmax(0, 190px) minmax(0, 190px) 130px minmax(0, 210px) 76px 76px;
}
.inline-auth-fields label {
  display: block;
  min-width: 0;
  position: relative;
}
.inline-auth-fields input,
.inline-auth-fields select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #72807b;
  border-radius: 9px;
  background: #182526f2;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 3px 0 #0c1718;
}
.inline-auth-fields input::placeholder {
  color: #c0ccc6;
  opacity: 1;
}
.inline-auth-fields select {
  padding-right: 8px;
}
.inline-auth-fields button {
  height: 44px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  transition:
    background 0.15s,
    transform 0.15s;
}
.header-auth-enter {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 3px 0 #a64500;
}
.header-auth-enter:hover {
  background: #ff852e;
  transform: translateY(-1px);
}
.header-auth-close {
  background: var(--ink);
  color: white;
  box-shadow: 0 3px 0 #0c1718;
}
.header-auth-close:hover {
  background: #354641;
  transform: translateY(-1px);
}
.header-auth-notices {
  width: fit-content;
  max-width: 100%;
  margin: 13px auto 0;
  background: #132021dd;
  color: #d5dfd9;
  padding: 8px 13px;
  border-radius: 8px;
}
.header-auth-notices p {
  font-size: 10px;
  line-height: 1.5;
}
#header-password-warning {
  color: #fff;
  font-weight: 700;
}
@keyframes auth-slide {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .header-auth {
    width: calc(100% - 32px);
  }
  .is-register .inline-auth-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 115px;
    max-width: 650px;
    margin: auto;
  }
  .hero.auth-register .hero-content {
    transform: translateY(-65px);
  }
  .hero.auth-register .header-auth {
    top: calc(50% + 20px);
  }
}
@media (max-width: 550px) {
  .hero.auth-open {
    height: 545px;
  }
  .hero.auth-register {
    height: 625px;
  }
  .hero.auth-open .hero-content,
  .hero.auth-register .hero-content {
    position: absolute;
    top: 145px;
    padding: 0 16px;
    width: 100%;
    transform: none;
  }
  .hero.auth-open .header-auth,
  .hero.auth-register .header-auth {
    top: 285px;
  }
  .inline-auth-fields,
  .is-register .inline-auth-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .inline-username,
  .inline-password {
    grid-column: 1 / -1;
  }
  .inline-auth-fields input,
  .inline-auth-fields select {
    font-size: 16px;
  }
  .header-auth-notices p {
    font-size: 10px;
  }
  .header-auth-notices {
    padding: 9px 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .header-auth {
    transition: none;
  }
  .header-auth-form {
    animation: none;
  }
}
/* Let sidebar buttons receive clicks through the toolbar's empty alignment space. */
.broadcast {
  pointer-events: none;
}
.broadcast > * {
  pointer-events: auto;
}

/* Fade forms beneath a wordmark that keeps its original position. */
.hero {
  --hero-base-height: 456px;
}
.hero .hero-content,
.hero.auth-open .hero-content,
.hero.auth-register .hero-content {
  position: absolute;
  top: calc(var(--hero-base-height) / 2);
  width: 100%;
  padding: 52px 16px 0;
  transform: translateY(-50%);
  transition: none;
}
.hero .header-auth,
.hero.auth-open .header-auth,
.hero.auth-register .header-auth {
  top: calc(var(--hero-base-height) / 2 + 105px);
  transform: translateX(-50%);
  transition:
    opacity 0.24s ease,
    visibility 0.24s;
}
.header-auth-form {
  animation: auth-fade 0.24s ease both;
}
@keyframes auth-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#header-password-warning {
  font-weight: 400;
}
.inline-terms {
  color: inherit;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.member-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--ink);
  box-shadow:
    0 4px 0 #0c1718,
    0 8px 18px #0002;
}
.radio-account .member-circle,
#account-slot .radio-account .member-circle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border-radius: 50%;
  background: #40514b;
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff29,
    0 2px 0 #0e1c19;
}
.member-circle .avatar-head {
  width: 30px;
  height: 33px;
}
.radio-account .member-plus,
#account-slot .radio-account .member-plus {
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
}
.radio-account .member-circle:hover {
  background: #5b6d61;
}
.radio-account .logout-button {
  background: #d63c44;
  color: #fff;
  box-shadow:
    0 4px 0 #92242c,
    0 8px 18px #0002;
}
.radio-account .logout-button:hover {
  background: #b82933;
}
@media (min-width: 1500px) {
  .hero {
    --hero-base-height: 490px;
  }
}
@media (max-width: 900px) and (min-width: 551px) {
  .hero.auth-register {
    height: calc(var(--hero-base-height) + 85px);
  }
}
@media (max-width: 850px) {
  .hero {
    --hero-base-height: 420px;
  }
}
@media (max-width: 550px) {
  .hero {
    --hero-base-height: 397px;
  }
  .hero .hero-content,
  .hero.auth-open .hero-content,
  .hero.auth-register .hero-content {
    padding-top: 50px;
  }
  .hero .header-auth,
  .hero.auth-open .header-auth,
  .hero.auth-register .header-auth {
    top: 300px;
  }
  .member-controls {
    min-height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .header-auth {
    transition: none;
  }
  .header-auth-form {
    animation: none;
  }
}

/* Shared inset highlights and stepped edges from the original news cards. */
.active-panel,
.cabinet-panel,
.footer,
.discord-banner {
  border: 1px solid #63706c;
  border-top: 4px solid var(--accent);
  border-bottom-color: #101b19;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 #ffffff22,
    0 5px 0 #182321,
    0 6px 0 #65736e,
    0 10px 15px #13251c25;
}
.active-panel,
.furniture-panel {
  background: #303736;
}
.cabinet-panel:not(.furniture-panel) {
  border-top-color: var(--yellow);
}
.furniture-panel {
  border-top-color: var(--pink);
}
.cabinet-panel .badge-item {
  border: 1px solid #a7b2aa;
  border-bottom: 2px solid #87988c;
  border-radius: 5px;
  box-shadow:
    inset 0 1px 0 #fff8,
    0 2px 0 #cad2c9;
}
.furniture-panel .badge-item {
  border-color: #52645b;
  border-bottom-color: #13251c;
  box-shadow:
    inset 0 1px 0 #ffffff15,
    0 2px 0 #182321;
}
.community-cards {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 25px;
  margin-top: 30px;
}
.community-cards > .active-panel {
  margin-top: 0;
  min-height: 210px;
}
.discord-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 210px;
  padding: 25px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #56379d;
  border-color: #8170a8;
  border-top-color: #a18bff;
  border-bottom-color: #1d1534;
  box-shadow:
    inset 0 1px 0 #ffffff22,
    0 5px 0 #211632,
    0 6px 0 #796793,
    0 10px 15px #20132d35;
}
.discord-banner::before {
  content: '';
  position: absolute;
  inset: 7px;
  z-index: -1;
  border-radius: 3px;
  background:
    linear-gradient(90deg, #241244f2 0%, #4c268fdf 48%, #21143385 100%),
    url('assets/discord-lobby.png') center 52% / cover;
  box-shadow: inset 0 0 0 1px #ffffff15;
  image-rendering: pixelated;
}
.discord-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 70%;
}
.discord-banner .discord-mark {
  width: 52px;
  height: 43px;
  margin: 0;
  flex-shrink: 0;
  fill: #fff;
  filter: drop-shadow(0 3px 0 #160d3380);
}
.discord-banner h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
  text-shadow: 0 2px 0 #1b112b80;
}
.discord-banner p {
  margin-top: 10px;
  color: #e0d5f4;
  font-size: 11px;
}
.discord-banner-action {
  flex-shrink: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.discord-banner-action button,
.discord-banner-action .discord-join-button {
  padding: 12px 16px;
  border-radius: 6px;
  background: #8362e9;
  color: #fff;
  border: 1px solid #ac92ff;
  box-shadow:
    inset 0 1px 0 #ffffff33,
    0 3px 0 #3c246b;
  font-size: 11px;
  font-weight: 700;
  transition:
    background 0.18s,
    transform 0.18s;
}
.discord-banner-action button:hover {
  transform: translateY(-2px);
  background: #9774ff;
}
.discord-banner-action span {
  color: #d4c6ee;
  font-size: 9px;
}
.filters {
  padding: 5px;
  gap: 4px;
  background: #303736;
  border: 1px solid #63706c;
  border-bottom-color: #101b19;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 #ffffff22,
    0 3px 0 #182321,
    0 4px 0 #65736e;
}
.filters button {
  border-radius: 4px;
  color: #d6e0da;
}
.filters button[aria-pressed='true'] {
  background: var(--accent);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 #ffffff35,
    0 2px 0 #a64500;
}
.filters button:hover {
  background: #526158;
  color: #fff;
}
.filters button[aria-pressed='true']:hover {
  background: #ff852e;
  color: var(--ink);
}
@media (max-width: 1100px) {
  .discord-banner {
    flex-wrap: wrap;
    align-content: center;
    gap: 20px;
  }
  .discord-banner-content {
    max-width: 100%;
  }
  .discord-banner-action {
    justify-items: start;
    margin-left: 72px;
  }
}
@media (max-width: 550px) {
  .community-cards {
    gap: 24px;
  }
  .discord-banner {
    padding: 24px;
  }
  .discord-banner-content {
    gap: 14px;
  }
  .discord-banner .discord-mark {
    width: 43px;
    height: 36px;
  }
  .discord-banner h2 {
    font-size: 25px;
  }
  .discord-banner p {
    font-size: 11px;
    line-height: 1.6;
  }
  .discord-banner-action {
    margin-left: 57px;
  }
}

/* Center the simplified wordmark; keep the account fields comfortably below it. */
.hero .hero-content,
.hero.auth-open .hero-content,
.hero.auth-register .hero-content {
  padding: 0 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.footer-brand .footer-badge {
  width: 32px;
  height: auto;
}
.footer-bottom {
  justify-content: center;
}
.footer-legal {
  width: 100%;
  text-align: center;
}
.footer-legal p {
  max-width: none;
  margin-inline: auto;
}
.footer-legal .copyright {
  text-align: center;
}
#back-to-top {
  display: grid;
  place-items: center;
  padding: 11px;
}
#back-to-top svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 550px) {
  .footer-compact-top .footer-brand {
    justify-content: center;
  }
  .footer-mini-links {
    justify-content: center;
  }
}

/* Destination pages share the homepage's charcoal, inset edges and stepped depth. */
#site-page {
  --card-surface: #303736;
  --card-ink: #f4f5ef;
  --card-muted: #c2cec8;
}
#site-page .destination-layout {
  grid-template-columns: minmax(0, 1fr) 302px;
  gap: 30px;
}
#site-page .destination-main {
  min-width: 0;
}
#site-page .destination-heading {
  margin-bottom: 25px;
}
#site-page .destination-heading h1 {
  font-size: 32px;
}
#site-page .page-panel,
#site-page .page-scene,
#site-page .destination-filters {
  border: 1px solid #63706c;
  border-top: 4px solid var(--accent);
  border-bottom-color: #101b19;
  border-radius: 6px;
  background: var(--card-surface);
  color: var(--card-ink);
  box-shadow:
    inset 0 1px 0 #ffffff22,
    0 5px 0 #182321,
    0 6px 0 #65736e,
    0 10px 15px #13251c25;
}
#site-page .page-panel {
  padding: 25px;
  margin-bottom: 25px;
}
#site-page .page-panel:nth-child(3n + 2) {
  border-top-color: var(--pink);
}
#site-page .page-panel:nth-child(3n) {
  border-top-color: var(--yellow);
}
#site-page .page-panel h2 {
  color: var(--card-ink);
  font-size: 22px;
  text-shadow: 0 2px 0 #18232177;
}
#site-page .page-panel p {
  color: var(--card-muted);
  line-height: 1.8;
}
#site-page .page-panel strong {
  color: #fff;
}
#site-page .page-panel .page-action {
  margin-top: 3px;
}
#site-page .page-action {
  border: 1px solid #ff9a50;
  border-radius: 5px;
  box-shadow:
    inset 0 1px 0 #ffffff35,
    0 3px 0 #914000;
  transition:
    background 0.18s,
    transform 0.18s;
}
#site-page .page-action:hover {
  background: #ff913e;
  transform: translateY(-2px);
}
#site-page :focus-visible {
  outline-color: #ff9b50;
}
#site-page .destination-sidebar .page-panel {
  padding: 22px;
}
#site-page .destination-sidebar .page-panel h2 {
  font-size: 19px;
}
#site-page .destination-links {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
#site-page .destination-links .page-action {
  text-align: center;
}
#site-page .page-grid {
  gap: 23px;
}
#site-page .page-grid .page-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#site-page .page-grid .page-panel .page-action {
  margin-top: auto;
}
#site-page .page-scene {
  position: relative;
  height: 190px;
  padding: 8px;
  margin-bottom: 25px;
  overflow: hidden;
}
#site-page .page-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #15221d;
  border-radius: 3px;
  image-rendering: pixelated;
}
#site-page .page-scene:after {
  content: '';
  position: absolute;
  inset: 8px;
  background: linear-gradient(transparent 30%, #12201be6);
  pointer-events: none;
}
#site-page .page-scene > span {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  z-index: 1;
  color: white;
  font-size: 23px;
  font-weight: 800;
  text-shadow: 0 2px #182321;
}
#site-page .page-panel .page-scene {
  width: 100%;
  height: 170px;
  border: 1px solid #15221d;
  padding: 5px;
  margin: 5px 0 18px;
  box-shadow:
    inset 0 1px 4px #0008,
    0 1px #ffffff22;
}
#site-page .page-panel .page-scene > span {
  font-size: 10px;
  letter-spacing: 1px;
  left: 17px;
  bottom: 15px;
}
#site-page .hotel-stamps {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}
#site-page .hotel-stamps > span {
  flex: 1;
  padding: 12px;
  background: #1b2726;
  border: 1px solid #60706a;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 3px #111d19;
}
#site-page .hotel-stamps b {
  display: block;
  color: var(--accent);
  font-size: 22px;
}
#site-page .side-avatar,
#site-page .rank-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #7c8c82;
  background: #202a27;
  box-shadow:
    inset 0 2px 5px #0007,
    0 3px #13201a;
}
#site-page .side-avatar .avatar-head {
  width: 43px;
  height: 43px;
}
#site-page .destination-intro {
  margin: 0 0 22px;
  color: #33433e;
}
#site-page .page-faq summary {
  min-height: 30px;
}
#site-page .page-panel.page-faq {
  padding: 20px 23px;
  transition:
    border-color 0.18s,
    background 0.18s;
}
#site-page .page-panel.page-faq summary {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
}
#site-page .page-panel.page-faq summary::-webkit-details-marker {
  display: none;
}
#site-page .faq-number {
  font-size: 12px;
  color: #ff9b50;
  font-weight: 800;
}
#site-page .faq-toggle {
  margin-left: auto;
  position: relative;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 4px;
  background: #1b2726;
  border: 1px solid #60706a;
}
#site-page .faq-toggle:before,
#site-page .faq-toggle:after {
  content: '';
  position: absolute;
  background: #ff9b50;
  width: 9px;
  height: 2px;
  top: 10px;
  left: 7px;
}
#site-page .faq-toggle:after {
  transform: rotate(90deg);
  transition: transform 0.2s;
}
#site-page details[open] > .page-faq {
  background: #36433d;
}
#site-page details[open] > summary .faq-toggle:after {
  transform: rotate(0);
}
#site-page .page-panel.page-faq:hover {
  border-top-color: #ff9b50;
  background: #35403b;
}
#site-page .page-panel.page-faq p {
  margin: 18px 0 0 31px;
}
#site-page .page-form {
  max-width: none;
  width: 100%;
  margin-top: 22px;
}
#site-page .page-form label {
  color: #e4ece7;
}
#site-page .page-form input:not([type='checkbox']),
#site-page .page-form textarea,
#site-page .page-form select {
  background: #1c2826;
  color: #fff;
  border: 1px solid #72857a;
  border-radius: 5px;
  box-shadow:
    inset 0 2px 4px #0005,
    0 1px #ffffff15;
  color-scheme: dark;
}
#site-page .page-form input[type='checkbox'] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
#site-page .page-form output {
  color: #ffb57e;
}
#site-page .imager-preview {
  width: 160px;
  height: 160px;
  margin: 26px auto;
  background: radial-gradient(#63766a, #1d2925);
  border: 3px solid #81978b;
  box-shadow:
    inset 0 3px 10px #0006,
    0 5px #15231c,
    0 6px #81978b;
}
#site-page .imager-preview .avatar-head {
  width: 105px;
  height: 105px;
  object-fit: contain;
}
#site-page .imager-preview.is-mirrored .avatar-head {
  transform: scaleX(-1);
}
#site-page .page-rankings {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
}
#site-page .page-rankings li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #202c28;
  border: 1px solid #576c60;
  border-radius: 5px;
  padding: 16px;
  box-shadow:
    inset 0 1px #ffffff12,
    0 3px #14231b;
}
#site-page .rank-number {
  font-size: 20px;
  color: var(--accent);
}
#site-page .rank-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
#site-page .rank-avatar .avatar-head {
  width: 35px;
  height: 35px;
}
#site-page .page-rankings .rank-score {
  margin-left: auto;
  float: none;
  font-weight: bold;
  color: #dfe795;
}
#site-page .event-host {
  display: flex;
  align-items: center;
  gap: 10px;
}
#site-page .event-host .avatar-head {
  width: 38px;
  height: 38px;
  background: #1b2726;
  border: 1px solid #718478;
  border-radius: 50%;
}
#site-page .destination-filters {
  display: flex;
  width: fit-content;
  padding: 7px;
  border-top-width: 1px;
  gap: 7px;
  margin-bottom: 26px;
}
#site-page .destination-filters .page-action {
  border: 1px solid transparent;
  box-shadow: none;
  margin: 0;
}
#site-page .destination-filters [aria-pressed='false'] {
  background: #26322d;
  color: #e3ebe6;
}
#site-page .destination-filters [aria-pressed='true'] {
  background: var(--accent);
  color: #172522;
  box-shadow: 0 3px #914000;
  border-color: #ff9a50;
}
/* Compact staff cards with avatar medallions and individual detail bubbles. */
#site-page .staff-card {
  background: #303736;
  color: #f4f5ef;
  border: 1px solid #63706c;
  border-top: 4px solid var(--accent);
  border-bottom-color: #101b19;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 #ffffff22,
    0 5px 0 #182321,
    0 6px 0 #65736e,
    0 10px 15px #13251c25;
  padding: 20px 13px;
  min-height: 168px;
  gap: 12px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
#site-page .staff-card:nth-child(3n + 2) {
  border-top-color: var(--pink);
}
#site-page .staff-card:nth-child(3n) {
  border-top-color: var(--yellow);
}
#site-page .staff-card:hover,
#site-page .staff-card:focus-within {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 #ffffff33,
    0 7px 0 #182321,
    0 8px 0 #65736e,
    0 15px 22px #13251c35;
}
#site-page .team-grid {
  gap: 24px 18px;
}
#site-page .staff-card .staff-bubble {
  background: #202c28;
}
#site-page .staff-avatar {
  border: 2px solid #819184;
  background: radial-gradient(#657a6d, #202c26);
  box-shadow:
    inset 0 2px 5px #0005,
    0 4px #182321,
    0 5px #65736e;
}
#site-page .staff-bubble {
  background: #303736;
  color: #e3ede7;
  border: 1px solid #63706c;
  border-radius: 5px;
  box-shadow:
    inset 0 1px #ffffff18,
    0 3px #182321;
  padding: 4px 7px;
}
#site-page .staff-details {
  gap: 7px;
}
#site-page .staff-name {
  border-top: 3px solid var(--accent);
  color: #fff;
}
#site-page .staff-role {
  color: #f2e89c;
}
#site-page .staff-handles {
  gap: 7px;
}
#site-page .staff-name:hover {
  background: #46544c;
}
@media (max-width: 1100px) {
  #site-page .destination-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 22px;
  }
  #site-page .destination-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  #site-page .destination-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  #site-page .destination-sidebar {
    align-items: start;
  }
}
@media (max-width: 550px) {
  #site-page .page-panel {
    padding: 20px;
  }
  #site-page .page-grid,
  #site-page .destination-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  #site-page .page-scene > span {
    font-size: 20px;
  }
  #site-page .page-panel.page-faq {
    padding: 17px;
  }
  #site-page .page-panel.page-faq p {
    margin-left: 0;
  }
  #site-page .page-rankings li {
    gap: 9px;
    padding: 12px 8px;
    font-size: 11px;
  }
  #site-page .rank-number {
    font-size: 15px;
  }
  #site-page .rank-avatar {
    width: 35px;
    height: 35px;
  }
  #site-page .staff-card {
    padding: 20px;
    min-height: 145px;
  }
  #site-page .destination-filters {
    width: 100%;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  #site-page *,
  #site-page *:after {
    transition: none !important;
  }
}

/* Account stages fade in place below the fixed-position header logo. */
.header-auth-form {
  transition: opacity 0.18s ease;
}
.header-auth-form.is-fading {
  opacity: 0;
}
.is-register .inline-auth-fields {
  grid-template-columns:
    minmax(0, 170px) minmax(0, 190px) minmax(0, 220px) minmax(0, 210px)
    76px 76px;
}
.header-auth:has(.verification-form) {
  width: min(820px, calc(100% - 32px));
}
.verification-form {
  padding: 16px 20px;
  background: #182526f2;
  border: 1px solid #63706c;
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow:
    inset 0 1px #ffffff22,
    0 5px #101b19;
}
.verification-copy {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}
.verification-copy strong {
  font-size: 15px;
}
.verification-copy span,
.motto-help,
.accept-terms {
  font-size: 11px;
  line-height: 1.5;
  color: #d4dfd8;
}
.motto-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 78px 62px;
  align-items: center;
  gap: 9px;
}
.motto-controls label {
  min-width: 0;
}
.motto-controls input {
  width: 100%;
  min-width: 0;
  height: 42px;
  background: #0f1c1d;
  border: 1px solid #63706c;
  border-radius: 6px;
  color: #ffe0c9;
  padding: 8px;
  font: 12px monospace;
}
.motto-controls button {
  height: 42px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.motto-help {
  margin-top: 10px;
}
.accept-terms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.accept-terms input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}
.verification-form .header-auth-notices {
  background: none;
  padding: 0;
  margin-top: 12px;
}
.auth-feedback {
  width: fit-content;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.5;
  color: #ffe0c9;
  background: #152122;
  border-radius: 6px;
  margin: 9px auto 0;
  padding: 7px 12px;
}
.auth-feedback:empty {
  display: none;
}
.hero.auth-register:has(.verification-form) {
  height: calc(var(--hero-base-height) + 135px);
}
.account-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
@media (max-width: 1000px) and (min-width: 551px) {
  .is-register .inline-auth-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
    margin: auto;
  }
  .hero.auth-register {
    height: calc(var(--hero-base-height) + 100px);
  }
}
@media (max-width: 550px) {
  .is-register .inline-auth-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inline-email {
    grid-column: 1/-1;
  }
  .hero.auth-register {
    height: 690px;
  }
  .hero.auth-register:has(.verification-form) {
    height: 690px;
  }
  .motto-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .motto-controls label {
    grid-column: 1/-1;
  }
  .verification-form {
    padding: 15px;
  }
  .motto-controls input {
    font-size: 12px;
  }
  .auth-feedback {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header-auth-form {
    transition: none;
  }
}

/* Keep brand lettering joined even when HTML is formatted across lines. */
.wordmark {
  display: inline-flex;
  align-items: baseline;
}

/* Consistent shared controls across all pages */
.broadcast.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 310px;
  align-items: center;
  gap: 22px;
  padding: 0;
}

.broadcast #stories-slot {
  min-width: 0;
  width: auto;
}

.broadcast #radio-player {
  margin: 0;
}

.broadcast #radio-account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
}

.broadcast #radio-account > button {
  width: 100%;
  min-height: 62px;
  padding: 14px 10px;
  font-size: 13px;
}

/* The account buttons now live above the page content */
#account-slot {
  display: none;
}

.home-layout > .side-feed {
  margin-top: 0;
}

@media (min-width: 851px) and (max-width: 1100px) {
  .broadcast.wrap {
    grid-template-columns: minmax(0, 1fr) auto 270px;
  }
}

@media (max-width: 850px) {
  .broadcast.wrap {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .broadcast #radio-account {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .broadcast.wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .broadcast #radio-player {
    width: 100%;
  }
}

/* Enlarge the logged-in avatar circle */
#radio-account .member-circle[data-self-profile] {
  width: 46px;
  height: 46px;
  min-height: 46px;
  flex: 0 0 46px;
}

/* Enlarge the Habbo head inside it */
#radio-account .account-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.2);
  image-rendering: pixelated;
}

#radio-account .account-avatar {
  transform: translateY(-4px) scale(1.2);
  transform-origin: center;
}

/* Staff access uses the same red surface and raised edge as Logout. */
#navigation .staff-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  min-height: 48px;
  padding: 12px;
  background: #d63c44;
  color: #fff;
  border-color: #ffffff12;
  box-shadow: 0 4px 0 #92242c, 0 8px 18px #0002;
}
#navigation .staff-nav-button:hover {
  background: #b82933;
  color: #fff;
}
#navigation .staff-nav-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #92242c;
}
.staff-nav-button svg {
  width: 23px;
  height: 23px;
  flex: none;
}
