/* Color Game Land mobile palette and shared components. Class and variable prefix: shell8acf0-. */
:root {
  --shell8acf0-night: #141414;
  --shell8acf0-night-2: #1d1b19;
  --shell8acf0-panel: #24201d;
  --shell8acf0-panel-2: #2c2621;
  --shell8acf0-yellow: #ffeb3b;
  --shell8acf0-copper: #cd853f;
  --shell8acf0-white: #f5f5f5;
  --shell8acf0-muted: #d3d3d3;
  --shell8acf0-fade: rgba(211, 211, 211, .72);
  --shell8acf0-rule: rgba(255, 235, 59, .2);
  --shell8acf0-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  --shell8acf0-radius-s: 8px;
  --shell8acf0-radius-m: 14px;
  --shell8acf0-radius-l: 22px;
  --shell8acf0-max: 430px;
  --shell8acf0-top: 64px;
  --shell8acf0-bottom: 78px;
  --shell8acf0-display: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  --shell8acf0-reading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: #0d0d0d; color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0 auto;
  min-width: 320px;
  max-width: var(--shell8acf0-max);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--shell8acf0-top);
  padding-bottom: var(--shell8acf0-bottom);
  background: var(--shell8acf0-night);
  color: var(--shell8acf0-white);
  font-family: var(--shell8acf0-reading);
  font-size: 14px;
  line-height: 1.58;
}
a { color: var(--shell8acf0-yellow); text-decoration: none; }
a:hover, a:focus-visible { color: #fff59d; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--shell8acf0-yellow); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--shell8acf0-display); line-height: 1.14; letter-spacing: .01em; }
h1 { font-size: clamp(1.85rem, 8.6vw, 2.55rem); }
h2 { margin-bottom: 10px; font-size: clamp(1.3rem, 6.2vw, 1.72rem); }
h3 { margin-bottom: 5px; font-size: 1.04rem; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 13px; padding-left: 20px; }
li + li { margin-top: 7px; }

.shell8acf0-topbar {
  position: fixed; z-index: 40; inset: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  width: min(100%, var(--shell8acf0-max)); height: var(--shell8acf0-top);
  margin: 0 auto; padding: 8px 12px;
  border-bottom: 1px solid var(--shell8acf0-rule);
  background: rgba(20,20,20,.95); box-shadow: 0 8px 20px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
}
.shell8acf0-brand { display: flex; align-items: center; min-width: 0; gap: 9px; }
.shell8acf0-brand img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; border: 1px solid var(--shell8acf0-copper); background: var(--shell8acf0-panel); }
.shell8acf0-brand-name { overflow: hidden; color: var(--shell8acf0-white); font-family: var(--shell8acf0-display); font-size: 1rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.shell8acf0-top-actions { display: flex; align-items: center; gap: 6px; }
.shell8acf0-action, .shell8acf0-menu-button, .shell8acf0-cta { min-height: 44px; border: 1px solid transparent; border-radius: var(--shell8acf0-radius-s); font: inherit; font-weight: 750; cursor: pointer; }
.shell8acf0-action { padding: 7px 10px; color: var(--shell8acf0-night); background: var(--shell8acf0-yellow); }
.shell8acf0-action--quiet { color: var(--shell8acf0-yellow); border-color: var(--shell8acf0-copper); background: transparent; }
.shell8acf0-action:active, .shell8acf0-menu-button:active, .shell8acf0-cta:active { transform: scale(.96); }
.shell8acf0-menu-button { display: grid; place-items: center; width: 44px; padding: 0; color: var(--shell8acf0-white); background: var(--shell8acf0-panel); border-color: var(--shell8acf0-rule); }
.shell8acf0-menu-icon { display: block; width: 21px; height: 2px; margin: 3px 0; border-radius: 5px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.shell8acf0-menu-button[aria-expanded="true"] .shell8acf0-menu-icon:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.shell8acf0-menu-button[aria-expanded="true"] .shell8acf0-menu-icon:nth-child(2) { opacity: 0; }
.shell8acf0-menu-button[aria-expanded="true"] .shell8acf0-menu-icon:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.shell8acf0-route-panel { position: fixed; z-index: 35; inset: auto 0 var(--shell8acf0-bottom); width: min(100%, var(--shell8acf0-max)); max-height: min(72vh, 530px); margin: 0 auto; padding: 16px 14px 18px; overflow-y: auto; border: 1px solid var(--shell8acf0-rule); border-bottom: 0; border-radius: 22px 22px 0 0; background: #201d1a; box-shadow: 0 -18px 36px rgba(0,0,0,.45); transform: translateY(110%); transition: transform .25s ease; }
.shell8acf0-route-panel.shell8acf0-is-open { transform: translateY(0); }
.shell8acf0-route-title { margin: 0 0 11px; color: var(--shell8acf0-muted); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.shell8acf0-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shell8acf0-route-link { min-height: 48px; display: flex; align-items: center; padding: 10px 11px; border: 1px solid rgba(211,211,211,.14); border-radius: 10px; color: var(--shell8acf0-white); background: var(--shell8acf0-panel); font-size: .82rem; font-weight: 700; }
.shell8acf0-route-link:hover, .shell8acf0-route-link.shell8acf0-current { color: var(--shell8acf0-night); border-color: var(--shell8acf0-yellow); background: var(--shell8acf0-yellow); }

.shell8acf0-main { padding: 18px 12px 24px; }
.shell8acf0-hero { position: relative; padding: 20px 16px; border: 1px solid var(--shell8acf0-rule); border-radius: var(--shell8acf0-radius-l); background: radial-gradient(circle at 90% 0%, rgba(205,133,63,.25), transparent 47%), linear-gradient(145deg, #2a241e, #171616 68%); box-shadow: var(--shell8acf0-shadow); }
.shell8acf0-kicker { display: inline-flex; align-items: center; min-height: 27px; margin-bottom: 12px; padding: 4px 9px; border: 1px solid var(--shell8acf0-copper); border-radius: 99px; color: var(--shell8acf0-yellow); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.shell8acf0-hero h1 { max-width: 16ch; margin-bottom: 12px; }
.shell8acf0-lede { color: var(--shell8acf0-muted); font-size: .98rem; }
.shell8acf0-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.shell8acf0-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px; color: var(--shell8acf0-night); background: var(--shell8acf0-yellow); }
.shell8acf0-cta--outline { color: var(--shell8acf0-yellow); border-color: var(--shell8acf0-copper); background: transparent; }
.shell8acf0-cta--wide { flex: 1 1 145px; }
.shell8acf0-notice { margin-top: 14px; padding: 10px 12px; border-left: 3px solid var(--shell8acf0-yellow); color: var(--shell8acf0-muted); background: rgba(255,235,59,.06); font-size: .82rem; }

.shell8acf0-section { margin-top: 25px; }
.shell8acf0-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.shell8acf0-section-heading h2 { margin-bottom: 0; }
.shell8acf0-section-heading small { color: var(--shell8acf0-fade); font-size: .72rem; text-align: right; }
.shell8acf0-prose { color: var(--shell8acf0-muted); }
.shell8acf0-prose strong { color: var(--shell8acf0-white); }
.shell8acf0-prose h2, .shell8acf0-prose h3 { color: var(--shell8acf0-white); }
.shell8acf0-prose h2 { margin-top: 26px; }
.shell8acf0-prose h3 { margin-top: 18px; color: var(--shell8acf0-yellow); }
.shell8acf0-prose h2:first-child { margin-top: 0; }
.shell8acf0-prose a { border-bottom: 1px solid rgba(255,235,59,.55); }
.shell8acf0-ruleline { height: 1px; margin: 22px 0; background: var(--shell8acf0-rule); }
.shell8acf0-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; margin: 14px 0; }
.shell8acf0-fact { min-height: 78px; padding: 10px 8px; border-radius: 10px; background: var(--shell8acf0-panel); }
.shell8acf0-fact b { display: block; color: var(--shell8acf0-yellow); font-family: var(--shell8acf0-display); font-size: 1.18rem; }
.shell8acf0-fact span { display: block; color: var(--shell8acf0-fade); font-size: .72rem; line-height: 1.3; }

.shell8acf0-banner { position: relative; margin-top: 20px; overflow: hidden; border-radius: var(--shell8acf0-radius-m); border: 1px solid var(--shell8acf0-rule); background: var(--shell8acf0-panel); }
.shell8acf0-banner-view { min-height: 158px; }
.shell8acf0-banner-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.shell8acf0-banner-slide.shell8acf0-active { position: relative; opacity: 1; pointer-events: auto; }
.shell8acf0-banner-slide img { width: 100%; aspect-ratio: 2.5 / 1; object-fit: cover; filter: saturate(.9) contrast(1.06); }
.shell8acf0-banner-copy { position: absolute; inset: auto 0 0; padding: 27px 13px 12px; background: linear-gradient(transparent, rgba(20,20,20,.96)); }
.shell8acf0-banner-copy b { display: block; font-family: var(--shell8acf0-display); font-size: 1.05rem; }
.shell8acf0-banner-copy span { color: var(--shell8acf0-muted); font-size: .76rem; }
.shell8acf0-banner-hit { position: absolute; inset: 0; z-index: 1; }
.shell8acf0-banner-dots { position: absolute; right: 10px; top: 9px; z-index: 2; display: flex; gap: 5px; }
.shell8acf0-dot { width: 9px; height: 9px; padding: 0; border: 1px solid var(--shell8acf0-white); border-radius: 50%; background: transparent; cursor: pointer; }
.shell8acf0-dot.shell8acf0-active { background: var(--shell8acf0-yellow); }

.shell8acf0-game-group { margin-top: 22px; }
.shell8acf0-game-group-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.shell8acf0-game-group-mark { width: 8px; height: 28px; border-radius: 5px; background: var(--shell8acf0-yellow); }
.shell8acf0-game-group:nth-of-type(odd) .shell8acf0-game-group-mark { background: var(--shell8acf0-copper); }
.shell8acf0-game-group h2 { margin: 0; }
.shell8acf0-game-group-head span { margin-left: auto; color: var(--shell8acf0-fade); font-size: .72rem; }
.shell8acf0-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; }
.shell8acf0-game-tile { display: block; min-width: 0; padding: 5px; border: 1px solid rgba(211,211,211,.12); border-radius: var(--shell8acf0-radius-s); background: var(--shell8acf0-panel); transition: transform .16s ease, border-color .16s ease; }
.shell8acf0-game-tile:hover, .shell8acf0-game-tile:focus-visible { border-color: var(--shell8acf0-yellow); transform: translateY(-2px); }
.shell8acf0-game-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.shell8acf0-game-tile strong { display: -webkit-box; min-height: 2.3em; margin-top: 5px; overflow: hidden; color: var(--shell8acf0-white); font-size: .66rem; font-weight: 700; line-height: 1.15; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shell8acf0-game-tile:hover strong { color: var(--shell8acf0-yellow); }

.shell8acf0-info-block { padding: 15px 14px; border: 1px solid rgba(211,211,211,.13); border-radius: var(--shell8acf0-radius-m); background: linear-gradient(150deg, rgba(205,133,63,.1), rgba(36,32,29,.9)); }
.shell8acf0-info-block + .shell8acf0-info-block { margin-top: 12px; }
.shell8acf0-info-block h2 { color: var(--shell8acf0-white); }
.shell8acf0-info-block h3 { color: var(--shell8acf0-yellow); }
.shell8acf0-steps { counter-reset: shell8acf0-step; list-style: none; padding: 0; }
.shell8acf0-steps li { position: relative; min-height: 43px; padding: 3px 0 3px 39px; color: var(--shell8acf0-muted); }
.shell8acf0-steps li::before { counter-increment: shell8acf0-step; content: counter(shell8acf0-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--shell8acf0-night); background: var(--shell8acf0-yellow); font-weight: 900; }
.shell8acf0-qa { border-top: 1px solid var(--shell8acf0-rule); }
.shell8acf0-qa summary { min-height: 48px; display: flex; align-items: center; padding: 9px 0; color: var(--shell8acf0-white); font-weight: 750; cursor: pointer; }
.shell8acf0-qa p { padding: 0 4px 10px 0; color: var(--shell8acf0-muted); }
.shell8acf0-callout { padding: 13px; border-left: 4px solid var(--shell8acf0-copper); border-radius: 0 12px 12px 0; background: rgba(205,133,63,.12); color: var(--shell8acf0-muted); }
.shell8acf0-callout b { color: var(--shell8acf0-yellow); }

.shell8acf0-directory { display: grid; gap: 12px; padding: 17px 14px; border-top: 1px solid var(--shell8acf0-rule); background: #191715; }
.shell8acf0-directory h2 { font-size: 1.25rem; }
.shell8acf0-directory p { color: var(--shell8acf0-muted); font-size: .84rem; }
.shell8acf0-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.shell8acf0-directory a { min-height: 45px; padding: 9px 10px; border: 1px solid rgba(211,211,211,.15); border-radius: 9px; color: var(--shell8acf0-muted); background: var(--shell8acf0-panel); font-size: .77rem; font-weight: 700; }
.shell8acf0-directory a:hover { color: var(--shell8acf0-night); background: var(--shell8acf0-yellow); }
.shell8acf0-promo-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.shell8acf0-promo-list button { min-height: 47px; padding: 8px; border: 1px solid var(--shell8acf0-copper); border-radius: 9px; color: var(--shell8acf0-yellow); background: transparent; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.shell8acf0-promo-list button:hover { color: var(--shell8acf0-night); background: var(--shell8acf0-yellow); }

.shell8acf0-bottom-bar { position: fixed; z-index: 30; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); width: min(100%, var(--shell8acf0-max)); height: var(--shell8acf0-bottom); margin: 0 auto; padding: 7px 6px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--shell8acf0-rule); background: rgba(20,20,20,.97); box-shadow: 0 -10px 22px rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.shell8acf0-bottom-link { display: flex; min-width: 0; min-height: 54px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 10px; color: var(--shell8acf0-muted); font-size: .63rem; font-weight: 800; text-align: center; }
.shell8acf0-bottom-icon { display: grid; place-items: center; width: 29px; height: 25px; border: 1px solid rgba(211,211,211,.25); border-radius: 8px; color: var(--shell8acf0-muted); font-size: .9rem; line-height: 1; }
.shell8acf0-bottom-link:hover, .shell8acf0-bottom-link.shell8acf0-current { color: var(--shell8acf0-yellow); }
.shell8acf0-bottom-link.shell8acf0-current .shell8acf0-bottom-icon { border-color: var(--shell8acf0-yellow); color: var(--shell8acf0-night); background: var(--shell8acf0-yellow); }
.shell8acf0-bottom-link:active { transform: scale(.95); }
.shell8acf0-legal { padding: 11px 12px 0; color: rgba(211,211,211,.62); font-size: .71rem; text-align: center; }
.shell8acf0-legal p { margin: 0; }
.shell8acf0-reveal { opacity: 1; transform: none; }
html.shell8acf0-js .shell8acf0-reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
html.shell8acf0-js .shell8acf0-reveal.shell8acf0-in { opacity: 1; transform: none; }
.shell8acf0-skip { position: absolute; left: 8px; top: -100px; z-index: 99; padding: 9px; color: var(--shell8acf0-night); background: var(--shell8acf0-yellow); }
.shell8acf0-skip:focus { top: 8px; }

@media (min-width: 390px) {
  .shell8acf0-main { padding-left: 15px; padding-right: 15px; }
  .shell8acf0-game-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
  .shell8acf0-game-tile strong { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
