:root {
  --arcade-ink: #211b20;
  --arcade-paper: #f6f0e5;
  --arcade-orange: #f2a33a;
  --arcade-pink: #ef6f70;
  --arcade-cyan: #67d5c3;
  --arcade-blue: #6f9fe8;
}

body { background: var(--arcade-paper); color: var(--arcade-ink); }
.site-header { background: #211b20; border-bottom: 4px solid var(--arcade-orange); color: #fff8e9; }
.brand strong { color: #fff8e9; }
.brand small { color: #d6c8b6; }
.main-nav > a[aria-current] { color: var(--arcade-orange); }
.main-nav > a:after { background: var(--arcade-orange); }
.primary { color: #211b20; background: var(--arcade-orange); }
.primary:hover { color: #211b20; background: #ffc366; }
.button { border-radius: 3px; }
.icon-button { border-radius: 3px; }
.notice { color: #211b20; background: var(--arcade-cyan); }

.hero { height: auto; min-height: 610px; background: #211b20; border-bottom: 8px solid var(--arcade-orange); }
.hero-photo { opacity: .76; object-position: center 38%; image-rendering: auto; }
.hero-shade { background: rgba(22, 15, 22, .72); }
.hero-content { padding-top: 62px; padding-bottom: 84px; }
.hero-kicker { color: #fff0cf; text-transform: uppercase; font-weight: 700; }
.hero-categories { display: flex; align-items: center; gap: 13px; width: fit-content; margin-top: 25px; padding: 8px 13px; color: #211b20; background: var(--arcade-orange); border: 2px solid #ffe0a5; box-shadow: 4px 4px 0 #7a3947; font-size: 15px; font-weight: 900; }
.hero-categories i { width: 5px; height: 5px; background: #211b20; transform: rotate(45deg); }
.status-dot { width: 10px; height: 10px; background: var(--arcade-cyan); box-shadow: 0 0 0 4px rgba(103, 213, 195, .16); }
.hero h1 { color: #fff5dd; font-size: 86px; text-shadow: 5px 5px 0 #7a3947; }
.hero-line { max-width: 720px; font-size: 29px; line-height: 1.5; }
.hero-line { color: var(--arcade-orange); font-weight: 800; }
.hero-description { color: #f0e4da; }
.hero-actions .lime { color: #211b20; background: var(--arcade-orange); border: 2px solid #ffd68c; box-shadow: 4px 4px 0 #9c4c44; }
.hero-actions .lime:hover { background: #ffc366; }
.hero-actions .ghost { color: #fff6e6; border: 2px solid #fff6e688; }
.hero-meta { color: #f4dfc4; }
.hero-scroll { color: var(--arcade-cyan); border-color: #67d5c377; border-radius: 3px; left: max(18px, calc((100vw - 1240px) / 2)); right: auto; }
.hero-sticker { position: absolute; right: 50px; bottom: 62px; width: 112px; height: 134px; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(7deg); background: var(--arcade-pink); color: #211b20; border: 3px solid #fff0cf; box-shadow: 6px 7px 0 #211b20; text-align: center; line-height: 1.1; }
.hero-sticker span { font: 700 9px/1.2 ui-monospace, monospace; letter-spacing: 0; }
.hero-sticker strong { font-size: 26px; margin: 10px 0; }

.device-band { background: #332832; border: 0; color: #fff5e7; padding: 22px 0; }
.band-label { color: #f2c380; font-weight: 700; }
.device-types > span { font-weight: 700; }
.device-types .lucide { color: var(--arcade-cyan); }
.play-highlights { padding: 37px 0; background: #f6f0e5; border-bottom: 1px solid #d4c2a8; }
.play-highlights > .container { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.play-highlight { min-width: 0; position: relative; padding: 20px 21px 22px; border: 2px solid #211b20; box-shadow: 4px 5px 0 rgba(33,27,32,.16); }
.highlight-library { background: #f2a33a; }
.highlight-offline { background: #67d5c3; }
.highlight-phone { background: #ef6f70; }
.highlight-devices { background: #8daee8; }
.highlight-index { display: block; color: #3d3033; font: 800 9px/1.4 ui-monospace, monospace; }
.highlight-icon { display: grid; place-items: center; width: 39px; height: 39px; margin: 16px 0 12px; border: 2px solid #211b20; background: #fff2d9; }
.highlight-icon .lucide { width: 22px; height: 22px; color: #211b20; }
.play-highlight h2 { margin-bottom: 8px; color: #211b20; font: 900 19px/1.4 "Microsoft YaHei", sans-serif; }
.play-highlight p { color: #342b2c; font-size: 12px; line-height: 1.8; }
.platform-marquee { background: #e8d7bd; border-bottom: 1px solid #cfb893; padding: 76px 0 82px; position: relative; overflow: hidden; }
.platform-marquee:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: repeating-linear-gradient(90deg, var(--arcade-orange) 0 42px, #ef6f70 42px 84px, var(--arcade-cyan) 84px 126px, #6f9fe8 126px 168px); }
.platform-marquee > .container { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(0, 1.5fr); gap: 60px; align-items: center; }
.platform-intro .eyebrow, .story-kicker { color: #8b3f42; font-weight: 800; }
.platform-intro h2, .story-heading h2 { font-size: 37px; line-height: 1.35; }
.platform-intro > p:not(.eyebrow) { color: #62564c; font-size: 14px; line-height: 1.9; margin: 14px 0 20px; }
.platform-stacks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.platform-tile { min-height: 137px; padding: 18px 21px; display: flex; flex-direction: column; justify-content: space-between; color: #211b20; border: 3px solid #211b20; box-shadow: 4px 4px 0 rgba(33,27,32,.22); transition: transform .16s, box-shadow .16s; }
.platform-tile:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 rgba(33,27,32,.3); }
.platform-tile > span { font: 700 10px ui-monospace, monospace; }
.platform-tile strong { font-size: 29px; line-height: 1.1; }
.platform-tile strong i { font-style: normal; font-size: 19px; }
.platform-tile small { font-size: 12px; font-weight: 600; }
.platform-8bit { background: #f2a33a; }
.platform-16bit { background: #67d5c3; }
.platform-arcade { background: #ef6f70; }
.platform-pocket { background: #8daee8; }

.section { padding-top: 82px; padding-bottom: 82px; }
.section-heading { margin-bottom: 29px; }
.eyebrow { color: #a34447; font-family: ui-monospace, monospace; font-size: 11px; font-weight: 800; }
.section-heading h2 { color: #2b2029; font-size: 36px; }
.text-link { color: #9b4143; }
.showcase { background: #2a242b; border: 5px solid #2a242b; border-radius: 5px; box-shadow: 9px 10px 0 #d0bda5; }
.showcase-toolbar { background: #eee3d0; border-bottom: 0; }
.view-tabs button[aria-selected=true] { color: #9b4143; border-color: #ef6f70; }
.view-tabs button { font-weight: 700; }
.screenshot-button { background: #121416; border: 5px solid #121416; }
.showcase-caption { background: #2a242b; color: #fff3df; border: 0; }
.showcase-caption > span { color: #d2c4b6; }
.showcase-caption .capture-label { color: var(--arcade-cyan); }

.experience-stories { padding: 80px 0 92px; background: #f0e8da; border-top: 1px solid #dfd2bf; }
.story-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 39px; }
.story-heading > p { color: #695f57; font-size: 14px; line-height: 1.9; }
.story-row { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 62px; padding: 34px; background: #fffaf1; border: 1px solid #dacbb6; margin-top: 18px; }
.story-controller { grid-template-columns: .82fr 1.18fr; background: #e7dfeb; border-color: #c9b8ce; }
.story-controller .story-image { order: 2; }
.story-image { min-width: 0; position: relative; background: #211b20; border: 7px solid #211b20; box-shadow: 7px 8px 0 #e9aa58; }
.story-controller .story-image { box-shadow: 7px 8px 0 #8d668e; }
.story-image img { width: 100%; height: 280px; object-fit: cover; object-position: center; }
.image-index { position: absolute; left: 0; bottom: 0; background: var(--arcade-orange); color: #211b20; padding: 7px 11px; font: 700 10px ui-monospace, monospace; }
.story-controller .image-index { background: var(--arcade-cyan); }
.story-copy { max-width: 420px; }
.story-kicker { font: 800 11px ui-monospace, monospace; }
.story-copy h3 { margin: 12px 0 15px; font-size: 34px; line-height: 1.4; }
.story-copy > p { color: #625950; font-size: 14px; line-height: 1.9; }
.story-copy ul { list-style: none; padding: 0; margin: 19px 0 20px; display: flex; flex-wrap: wrap; gap: 8px 17px; }
.story-copy li { color: #4d4844; font-size: 12px; font-weight: 700; }
.story-copy li:before { content: "+"; color: #aa4848; font-weight: 900; margin-right: 6px; }

.feature-section { background: #2a242b; color: #fff2df; border-top: 8px solid var(--arcade-cyan); }
.feature-section .section-heading h2 { color: #fff2df; }
.feature-section .eyebrow { color: var(--arcade-orange); }
.feature-section .text-link { color: var(--arcade-cyan); }
.feature-grid { border-color: #655760; }
.feature + .feature { border-color: #655760; }
.feature-top > .lucide { color: var(--arcade-cyan); }
.feature-top > span { color: var(--arcade-orange); }
.feature h3 { color: #fff5e6; }
.feature p { color: #d1c2c5; }
.demo-entry { padding-top: 28px; padding-bottom: 28px; }
.start-strip { padding: 34px 0; border-top: 2px dashed #c9b498; border-bottom: 2px dashed #c9b498; }
.start-strip h2 { color: #9b4143; text-shadow: 2px 2px 0 #efc77b; }
.start-strip .eyebrow { color: #555064; }
.site-footer { background: #211b20; border-top: 8px solid var(--arcade-orange); }
.footer-bottom { border-color: #51434d; }

.page-heading .eyebrow { color: #a34447; }
.page-heading h1 { color: #2b2029; }
.platform-symbol { background: #f3d6ad; color: #963e48; }
.platform-row code { color: #81454c; background: #eee1d2; }
.segments > .active { background: #9b4143; }
.tag { color: #713638; background: #f1d8ce; }
.faq summary > .lucide, .help-categories button.active { color: #9b4143; }
.help-categories button.active { border-color: #ef6f70; }
.update-marker { background: #ef6f70; box-shadow: 0 0 0 5px var(--arcade-paper), 0 0 0 6px #9b4143; }
.feedback-aside { background: #eee2d2; padding: 28px; border: 1px solid #d9c7b0; }
.feedback-aside > .lucide { color: #9b4143; }
.setup-body { background: #e8d7bd; }

@media (max-width: 860px) {
  .device-band > .container { align-items: flex-start; flex-direction: column; gap: 13px; }
  .device-types { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); width: 100%; gap: 10px; }
  .device-types > span { justify-content: center; }
  .play-highlights > .container { grid-template-columns: 1fr; gap: 11px; }
  .play-highlight { display: grid; grid-template-columns: 42px minmax(0,1fr); column-gap: 13px; padding: 14px 16px; }
  .highlight-index { grid-column: 1/-1; }
  .highlight-icon { grid-column: 1; grid-row: 2/4; margin: 12px 0 0; }
  .play-highlight h2 { grid-column: 2; align-self: end; margin: 9px 0 4px; font-size: 17px; }
  .play-highlight p { grid-column: 2; }
  .hero-sticker { right: 38px; bottom: 42px; transform: scale(.84) rotate(7deg); transform-origin: bottom right; }
  .platform-marquee > .container { grid-template-columns: 1fr; gap: 27px; }
  .platform-intro h2 { font-size: 32px; }
  .story-row, .story-controller { grid-template-columns: 1fr 1fr; gap: 30px; padding: 25px; }
  .story-image img { height: 230px; }
  .story-copy h3 { font-size: 27px; }
}

@media (max-width: 600px) {
  .site-header { border-bottom-width: 3px; }
  .hero { height: auto; min-height: 0; border-bottom-width: 6px; }
  .hero-photo { opacity: .52; object-position: 56% center; }
  .hero-shade { background: rgba(22, 15, 22, .77); }
  .hero-content { padding-top: 37px; padding-bottom: 66px; }
  .hero-categories { margin-top: 19px; gap: 9px; padding: 7px 10px; font-size: 13px; }
  .hero h1 { font-size: 58px; text-shadow: 3px 3px 0 #7a3947; }
  .hero-line { font-size: 24px; }
  .hero-meta { max-width: 100%; gap: 9px 17px; }
  .device-band { padding: 16px 0; }
  .play-highlights { padding: 21px 0; }
  .play-highlight { padding: 12px 13px; }
  .highlight-icon { width: 36px; height: 36px; }
  .play-highlight h2 { font-size: 15px; }
  .play-highlight p { font-size: 11px; }
  .device-types > span { min-height: 44px; gap: 7px; padding: 7px 6px; font-size: 11px; }
  .hero-sticker { display: none; }
  .hero-sticker strong { font-size: 20px; margin: 7px 0; }
  .hero-sticker span { font-size: 7px; }
  .platform-marquee { padding: 57px 0 62px; }
  .platform-stacks { gap: 9px; }
  .platform-tile { min-height: 112px; padding: 13px; border-width: 2px; box-shadow: 3px 3px 0 rgba(33,27,32,.22); }
  .platform-tile strong { font-size: 21px; }
  .platform-tile small { font-size: 10px; }
  .section { padding-top: 55px; padding-bottom: 58px; }
  .section-heading h2 { font-size: 26px; }
  .showcase { border-width: 3px; box-shadow: 5px 6px 0 #d0bda5; }
  .screenshot-button { border-width: 3px; }
  .experience-stories { padding: 56px 0 60px; }
  .story-heading { display: block; margin-bottom: 24px; }
  .story-heading h2 { font-size: 26px; }
  .story-heading > p { font-size: 12px; margin-top: 12px; }
  .story-row, .story-controller { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 17px; margin-top: 14px; }
  .story-controller .story-image { order: 0; }
  .story-image { border-width: 4px; box-shadow: 4px 5px 0 #e9aa58; }
  .story-controller .story-image { box-shadow: 4px 5px 0 #8d668e; }
  .story-image img { height: auto; aspect-ratio: 1.55; }
  .story-copy h3 { font-size: 26px; }
  .story-copy > p { font-size: 13px; }
  .feature-section { border-top-width: 6px; }
  .feature { padding: 23px 14px !important; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 11px; }
  .site-footer { border-top-width: 6px; }
}

@media (max-width: 360px) {
  .hero-content { padding-top: 26px; padding-bottom: 46px; }
  .hero-kicker { font-size: 10px; }
  .hero-categories { font-size: 12px; margin-top: 12px; }
  .hero-meta { max-width: 260px; }
  .device-types > span { font-size: 10px; }
}

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