:root {
  --shellc8a04-ink: #f5f5f5;
  --shellc8a04-muted: #b8c8c4;
  --shellc8a04-night: #2c3e50;
  --shellc8a04-deep: #172733;
  --shellc8a04-panel: #203644;
  --shellc8a04-panel-2: #294653;
  --shellc8a04-mint: #90ee90;
  --shellc8a04-mint-dark: #1f6b51;
  --shellc8a04-sun: #ffd166;
  --shellc8a04-line: rgba(245, 245, 245, .14);
  --shellc8a04-shadow: 0 18px 45px rgba(5, 16, 22, .28);
  --shellc8a04-radius: 18px;
  --shellc8a04-square: 8px;
  --shellc8a04-max: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--shellc8a04-deep); }
body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 88% 3%, rgba(144, 238, 144, .16), transparent 23rem),
    linear-gradient(160deg, #172733 0%, #2c3e50 52%, #172733 100%);
  color: var(--shellc8a04-ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}
a { color: var(--shellc8a04-mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #d2ffd2; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.shellc8a04-page { width: min(100%, var(--shellc8a04-max)); margin: 0 auto; padding-bottom: 92px; }
.shellc8a04-topbar {
  position: fixed; z-index: 30; inset: 0 0 auto; width: min(100%, var(--shellc8a04-max)); margin: 0 auto;
  min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px; background: rgba(23, 39, 51, .93); border-bottom: 1px solid var(--shellc8a04-line); backdrop-filter: blur(18px);
}
.shellc8a04-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: var(--shellc8a04-ink); text-decoration: none; font-family: Georgia, serif; font-weight: 700; letter-spacing: -.02em; }
.shellc8a04-brand img { width: 39px; height: 39px; object-fit: cover; border-radius: 12px; border: 2px solid var(--shellc8a04-mint); }
.shellc8a04-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1rem; }
.shellc8a04-actions { display: flex; align-items: center; gap: 5px; }
.shellc8a04-action, .shellc8a04-menu-trigger { min-height: 44px; border: 1px solid transparent; border-radius: var(--shellc8a04-square); padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.shellc8a04-action { background: transparent; color: var(--shellc8a04-ink); text-decoration: none; font-size: .77rem; font-weight: 700; }
.shellc8a04-action:hover { border-color: var(--shellc8a04-mint); }
.shellc8a04-action--primary { color: #10261e; background: var(--shellc8a04-mint); }
.shellc8a04-menu-trigger { width: 44px; padding: 8px; background: var(--shellc8a04-panel); color: var(--shellc8a04-mint); }
.shellc8a04-menu-trigger i, .shellc8a04-menu-trigger i::before, .shellc8a04-menu-trigger i::after { width: 19px; height: 2px; display: block; position: relative; background: currentColor; content: ""; transition: transform .2s ease; }
.shellc8a04-menu-trigger i::before { position: absolute; top: -6px; }
.shellc8a04-menu-trigger i::after { position: absolute; top: 6px; }
.shellc8a04-menu-trigger[aria-expanded="true"] i { background: transparent; }
.shellc8a04-menu-trigger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.shellc8a04-menu-trigger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.shellc8a04-menu {
  position: fixed; z-index: 29; top: 70px; left: 50%; width: min(100% - 20px, 740px); max-height: calc(100vh - 84px); overflow: auto;
  padding: 16px; transform: translate(-50%, -125%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
  background: #1a2e3b; border: 1px solid var(--shellc8a04-line); border-radius: 0 0 22px 22px; box-shadow: var(--shellc8a04-shadow);
}
.shellc8a04-menu--open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.shellc8a04-menu h2 { margin: 0 0 9px; color: var(--shellc8a04-mint); font: 700 1.05rem Georgia, serif; }
.shellc8a04-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shellc8a04-menu-grid a { min-height: 44px; padding: 9px 10px; display: flex; align-items: center; border-radius: 9px; background: rgba(245,245,245,.06); color: var(--shellc8a04-ink); text-decoration: none; font-size: .82rem; }
.shellc8a04-menu-grid a:hover, .shellc8a04-menu-grid a:focus-visible { background: var(--shellc8a04-mint); color: #10261e; }

.shellc8a04-main { padding: 92px 13px 0; }
.shellc8a04-hero { position: relative; padding: 18px 2px 13px; }
.shellc8a04-kicker { margin: 0 0 9px; color: var(--shellc8a04-mint); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { max-width: 700px; margin: 0 0 14px; font-size: clamp(2.05rem, 11vw, 4.7rem); letter-spacing: -.055em; }
h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 6vw, 2.1rem); letter-spacing: -.025em; }
h3 { margin: 0 0 7px; font-size: 1.04rem; color: var(--shellc8a04-ink); }
p { margin: 0 0 13px; color: var(--shellc8a04-muted); }
.shellc8a04-lede { max-width: 650px; font-size: 1.02rem; color: var(--shellc8a04-ink); }
.shellc8a04-rule { height: 1px; margin: 18px 0; background: linear-gradient(90deg, var(--shellc8a04-mint), transparent); border: 0; }

.shellc8a04-hero-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 0; }
.shellc8a04-pill { padding: 6px 9px; border: 1px solid var(--shellc8a04-line); border-radius: 99px; color: var(--shellc8a04-muted); font-size: .72rem; }
.shellc8a04-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.shellc8a04-cta { min-height: 46px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--shellc8a04-mint); border-radius: var(--shellc8a04-square); color: #10261e; background: var(--shellc8a04-mint); text-decoration: none; font-size: .86rem; font-weight: 800; }
.shellc8a04-cta--quiet { color: var(--shellc8a04-ink); background: transparent; border-color: var(--shellc8a04-line); }
.shellc8a04-cta:hover { color: #10261e; filter: brightness(1.08); }
.shellc8a04-cta--quiet:hover { color: var(--shellc8a04-mint); }

.shellc8a04-carousel { position: relative; margin: 12px 0 28px; overflow: hidden; border: 1px solid var(--shellc8a04-line); border-radius: 22px; background: #172733; box-shadow: var(--shellc8a04-shadow); }
.shellc8a04-slide { display: none; position: relative; min-height: 230px; }
.shellc8a04-slide--active { display: block; animation: shellc8a04-reveal .5s ease both; }
.shellc8a04-slide img { width: 100%; height: 230px; object-fit: cover; opacity: .62; }
.shellc8a04-slide::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,39,51,.95), rgba(23,39,51,.25)); content: ""; }
.shellc8a04-slide-copy { position: absolute; z-index: 1; inset: auto 17px 20px; max-width: 82%; }
.shellc8a04-slide-copy h2 { margin-bottom: 6px; font-size: 1.55rem; }
.shellc8a04-slide-copy p { margin: 0; font-size: .82rem; }
.shellc8a04-slide-copy a { display: inline-flex; margin-top: 10px; min-height: 42px; align-items: center; padding: 7px 12px; color: #10261e; background: var(--shellc8a04-mint); border-radius: 5px; text-decoration: none; font-size: .78rem; font-weight: 800; }
.shellc8a04-dots { position: absolute; z-index: 2; top: 13px; right: 14px; display: flex; gap: 5px; }
.shellc8a04-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(245,245,245,.45); cursor: pointer; }
.shellc8a04-dot--active { width: 23px; border-radius: 9px; background: var(--shellc8a04-mint); }

.shellc8a04-section { margin: 0 0 34px; scroll-margin-top: 86px; }
.shellc8a04-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.shellc8a04-section-heading p { margin: 0; font-size: .76rem; text-align: right; }
.shellc8a04-section-intro { margin: -2px 0 14px; max-width: 680px; font-size: .89rem; }
.shellc8a04-section-intro a { white-space: nowrap; }
.shellc8a04-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.shellc8a04-game { min-width: 0; min-height: 112px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(245,245,245,.1); border-radius: 10px; background: linear-gradient(145deg, rgba(41,70,83,.95), rgba(32,54,68,.92)); color: var(--shellc8a04-ink); text-decoration: none; box-shadow: 0 6px 14px rgba(0,0,0,.14); transition: transform .2s ease, border-color .2s ease; }
.shellc8a04-game:hover, .shellc8a04-game:focus-visible { transform: translateY(-4px); border-color: var(--shellc8a04-mint); }
.shellc8a04-game img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; }
.shellc8a04-game span { min-height: 35px; padding: 5px 5px 6px; display: flex; align-items: center; font-size: .66rem; font-weight: 700; line-height: 1.16; overflow-wrap: anywhere; }
.shellc8a04-collection-mark { margin: 0 0 7px; color: var(--shellc8a04-mint); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.shellc8a04-story { padding: 19px 16px; border: 1px solid var(--shellc8a04-line); border-radius: 20px 7px 20px 7px; background: rgba(32,54,68,.72); }
.shellc8a04-story + .shellc8a04-story { margin-top: 12px; }
.shellc8a04-story p:last-child { margin-bottom: 0; }
.shellc8a04-story a { font-weight: 700; }
.shellc8a04-split { display: grid; gap: 12px; }
.shellc8a04-list { margin: 0; padding: 0; list-style: none; }
.shellc8a04-list li { position: relative; margin: 0 0 10px; padding: 0 0 0 22px; color: var(--shellc8a04-muted); }
.shellc8a04-list li::before { position: absolute; left: 0; top: .7em; width: 9px; height: 2px; background: var(--shellc8a04-mint); content: ""; }
.shellc8a04-steps { counter-reset: shellc8a04-step; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.shellc8a04-steps li { counter-increment: shellc8a04-step; display: grid; grid-template-columns: 33px 1fr; gap: 9px; align-items: start; color: var(--shellc8a04-muted); }
.shellc8a04-steps li::before { content: counter(shellc8a04-step, decimal-leading-zero); display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; color: #10261e; background: var(--shellc8a04-mint); font-size: .72rem; font-weight: 900; }
.shellc8a04-steps strong { color: var(--shellc8a04-ink); }
.shellc8a04-quote { padding: 14px; border-left: 3px solid var(--shellc8a04-sun); background: rgba(255,209,102,.07); }
.shellc8a04-quote p { color: var(--shellc8a04-ink); font-family: Georgia, serif; }
.shellc8a04-quote cite { color: var(--shellc8a04-muted); font-size: .76rem; font-style: normal; }
.shellc8a04-faq details { padding: 12px 0; border-bottom: 1px solid var(--shellc8a04-line); }
.shellc8a04-faq summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--shellc8a04-ink); font-weight: 800; }
.shellc8a04-faq details p { padding: 7px 0 0; margin: 0; font-size: .88rem; }
.shellc8a04-relationship { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shellc8a04-relationship div { padding: 11px; border-top: 2px solid var(--shellc8a04-mint); background: rgba(245,245,245,.055); }
.shellc8a04-relationship strong { display: block; margin-bottom: 3px; color: var(--shellc8a04-ink); font-size: .8rem; }
.shellc8a04-relationship span { color: var(--shellc8a04-muted); font-size: .75rem; }

.shellc8a04-extended { margin: 30px 0 28px; padding: 20px 15px; border-radius: 23px 23px 6px 6px; background: #142630; box-shadow: var(--shellc8a04-shadow); }
.shellc8a04-extended h2 { color: var(--shellc8a04-mint); }
.shellc8a04-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 15px 0 18px; }
.shellc8a04-shortcuts a { min-height: 44px; padding: 8px 9px; display: flex; align-items: center; color: var(--shellc8a04-ink); border: 1px solid var(--shellc8a04-line); border-radius: 7px; text-decoration: none; font-size: .75rem; }
.shellc8a04-shortcuts a:hover { border-color: var(--shellc8a04-mint); color: var(--shellc8a04-mint); }
.shellc8a04-promo-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 9px; scrollbar-width: thin; }
.shellc8a04-promo { flex: 0 0 132px; min-height: 75px; padding: 9px; border: 1px solid rgba(144,238,144,.35); border-radius: 8px; color: #10261e; background: var(--shellc8a04-mint); text-decoration: none; font-size: .76rem; font-weight: 900; }
.shellc8a04-promo:hover { color: #10261e; transform: rotate(-1deg); }
.shellc8a04-note { padding: 12px; color: var(--shellc8a04-muted); border: 1px dashed rgba(245,245,245,.2); font-size: .75rem; }
.shellc8a04-site-footer { padding: 0 2px 20px; color: var(--shellc8a04-muted); font-size: .74rem; }
.shellc8a04-site-footer p { font-size: .74rem; }
.shellc8a04-footline { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 7px 0 0; }
.shellc8a04-footline a { color: var(--shellc8a04-muted); }

.shellc8a04-bottom-nav { position: fixed; z-index: 25; right: 0; bottom: 0; left: 0; width: min(100%, var(--shellc8a04-max)); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 7px max(7px, env(safe-area-inset-bottom)); background: rgba(20,38,48,.97); border-top: 1px solid var(--shellc8a04-line); box-shadow: 0 -12px 30px rgba(0,0,0,.2); }
.shellc8a04-bottom-link { min-width: 0; min-height: 53px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 11px; color: var(--shellc8a04-muted); text-decoration: none; font-size: .61rem; font-weight: 800; }
.shellc8a04-bottom-link:hover, .shellc8a04-bottom-link:focus-visible, .shellc8a04-bottom-link--active { color: #10261e; background: var(--shellc8a04-mint); }
.shellc8a04-bottom-link b { width: 25px; height: 21px; display: grid; place-items: center; font-size: .95rem; font-weight: 700; }
.shellc8a04-bottom-link span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.shellc8a04-reveal { animation: shellc8a04-reveal .6s ease both; }
@keyframes shellc8a04-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 430px) and (max-width: 519px) {
  .shellc8a04-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 520px) {
  .shellc8a04-main { padding-right: 22px; padding-left: 22px; }
  .shellc8a04-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .shellc8a04-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shellc8a04-hero { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
:focus-visible { outline: 3px solid var(--shellc8a04-sun); outline-offset: 3px; }
