:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --green: #01875f;
  --sans: Arial, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.5 var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
[hidden] { display: none !important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: calc(100% - 96px); max-width: 1296px; margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 60; background: var(--green); color: #fff; padding: 12px 20px; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 25; background: #fff; border-bottom: 1px solid #eee; }
.header-inner { height: 64px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 25px; font-weight: 500; letter-spacing: -.8px; }
.partner-wordmark strong { font-size: 20px; font-weight: 500; }
.partner-wordmark b { font-weight: 400; color: var(--green); margin-left: 7px; font-size: 25px; }

.app-hero { position: relative; isolation: isolate; overflow: hidden; background: #202124; color: #e8eaed; }
.hero-art { position: absolute; z-index: -1; width: 832px; height: 468px; right: 0; top: 0; background: url("assets/tycoon-banner.jpg") center / cover no-repeat; }
.mobile-hero-video { display: none; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #202124, #20212400 33%), linear-gradient(to top, #202124, #20212400 33%), linear-gradient(to left, #202124, #20212400 33%), linear-gradient(to bottom, #202124, #20212400 33%); }
.hero-content { min-height: 548px; padding: 224px 32px 40px; position: relative; }
.app-identity { display: flex; align-items: center; gap: 24px; }
.app-icon { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 7px; object-fit: contain; }
h1 { font-size: 48px; font-weight: 600; line-height: 1.12; letter-spacing: -1.7px; margin-bottom: 5px; }
.publisher { font-size: 16px; line-height: 1.25; font-weight: 500; color: #43a879; }
.app-category { color: #bdc1c6; font-size: 12px; margin-top: 2px; }
.app-facts { display: flex; align-items: stretch; margin-top: 40px; width: max-content; max-width: 100%; }
.app-fact { min-width: 96px; padding: 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; line-height: 1.5; }
.app-fact:first-child { padding-left: 0; padding-right: 16px; }
.app-fact + .app-fact::before { content: ""; position: absolute; width: 1px; height: 24px; left: 0; top: calc(50% - 12px); background: #3c4043; }
.app-fact strong { font-size: 14px; font-weight: 600; min-height: 24px; display: flex; align-items: center; gap: 3px; }
.app-fact > span { color: #bdc1c6; font-size: 12px; }
.age-badge { background: #e8eaed; color: #202124; font-family: Arial, sans-serif; font-size: 11px; line-height: 1.2; padding: 0 1px; font-weight: 700; }
.app-actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.download-button { border: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 160px; min-height: 40px; padding: 10px 24px; background: var(--green); border-radius: 6px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.download-button:hover { background: #056e50; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 0 8px; background: transparent; color: #43a879; font-size: 14px; }
.text-button:hover { background: #ffffff08; border-radius: 6px; }
.text-button[aria-pressed="true"] { color: #9ed7bf; }
.text-button[aria-pressed="true"] .icon { fill: #43a87922; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 60px; padding: 64px 16px 48px; }
.main-column { min-width: 0; }
.video-section { margin-bottom: 32px; }
.video-heading { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: flex-start; gap: 16px; padding: 24px 28px 56px; background: linear-gradient(#000c, #0006 65%, transparent); pointer-events: none; }
.billboard-line { min-height: 2.24em; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.7px; flex: 1; min-width: 0; color: #fff; text-shadow: 0 2px 5px #000b; }
.billboard-line > span { display: block; transition: opacity .2s ease; }
.billboard-line > span.changing { opacity: 0; }
.motion-toggle { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 4px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffff70; background: #0007; border-radius: 50%; color: #fff; pointer-events: auto; }
.motion-toggle:hover { background: #000c; }
.video-frame { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #202124; }
.video-frame::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: linear-gradient(#0008, #0008), url("assets/film-poster.webp") center / cover; filter: blur(18px); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.video-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; background: transparent; display: grid; place-items: center; color: #fff; padding: 0; }
.play-disc { display: grid; place-items: center; width: 112px; height: 78px; background: #f00000; border-radius: 19px; padding-left: 4px; box-shadow: 0 2px 12px #0004; transition: background .15s ease, transform .15s ease; }
.video-cover:hover .play-disc { background: #ff0000; transform: scale(1.05); }
.video-error { position: absolute; bottom: 0; left: 0; right: 0; background: #fff; padding: 14px; color: #a50e0e; font-size: 12px; }

.section-block { margin-top: 40px; }
.section-heading { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; min-height: 44px; }
.section-heading h2, .app-support h2 { font-size: 22px; font-weight: 500; line-height: 1.3; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: var(--muted); border-radius: 50%; }
.icon-button:hover { background: #f1f3f4; }
.section-copy { font-size: 14px; line-height: 1.55; color: var(--muted); }
.section-copy p + p { margin-top: 12px; }
.updated { margin: 40px 0 0; font-size: 14px; line-height: 1.4; }
.updated dt { font-weight: 500; }
.updated dd { color: var(--muted); margin: 4px 0 0; }
.genre-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.genre-tags span { border: 1px solid var(--line); border-radius: 16px; font-size: 14px; font-weight: 500; color: var(--muted); padding: 5px 12px; line-height: 20px; }
.data-safety { margin-top: 50px; }
.safety-card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.safety-row { display: flex; align-items: flex-start; gap: 20px; color: var(--muted); }
.safety-row .icon { width: 20px; height: 20px; flex-basis: 20px; }
.safety-row p { font-size: 14px; line-height: 1.4; }
.safety-row small { display: block; font-size: 12px; margin-top: 3px; color: #74777b; }
.inline-link { padding: 0; background: transparent; color: var(--green); text-align: left; font-size: 14px; font-weight: 600; align-self: flex-start; min-height: 28px; }
.inline-link:hover { text-decoration: underline; }
.ratings { margin-top: 40px; }
.device-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 30px; border-radius: 16px; background: #e6f3ef; color: #056449; font-size: 14px; padding: 3px 16px; margin-top: 4px; }
.device-pill .icon { width: 16px; height: 16px; flex-basis: 16px; }
.rating-overview { display: flex; gap: 24px; align-items: center; margin-top: 28px; }
.rating-score { flex: 0 0 120px; }
.rating-number { font-size: 56px; line-height: 1.1; font-weight: 400; }
.stars { display: block; color: #dadce0; font-size: 19px; letter-spacing: 1px; line-height: 1.3; margin-top: 5px; }
.rating-score p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.rating-bars { flex: 1; }
.rating-bars > div { display: flex; align-items: center; gap: 8px; height: 18px; color: var(--muted); font-size: 12px; }
.rating-track { height: 10px; flex: 1; border-radius: 6px; background: #e8eaed; }
.review-empty { color: var(--muted); font-size: 14px; padding: 36px 0 30px; }
.ratings .section-heading { flex-wrap: wrap; }
.review-source { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.review-source .icon { width: 18px; height: 18px; flex-basis: 18px; }
.rated-stars { position: relative; display: inline-block; }
.rated-stars > span { position: absolute; inset: 0; color: var(--green); clip-path: inset(0 2% 0 0); }
.rated-stars::before { content: "★★★★★"; }
.rating-track { overflow: hidden; }
.rating-track > span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.review-list { display: flex; flex-direction: column; gap: 30px; padding-top: 40px; }
.review-user { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-user > div { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.review-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.review-more { background: transparent; color: var(--muted); font-size: 26px; width: 36px; height: 36px; border-radius: 50%; }
.review-more:hover { background: #f1f3f4; }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.review-stars { color: var(--green); font-size: 15px; letter-spacing: 2px; line-height: 1; }
.review-meta time { color: var(--muted); font-size: 12px; }
.review-text { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 8px; }
.review-helpful { color: var(--muted); font-size: 12px; margin-top: 12px; }
.review-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 12px; }
.review-feedback > span { margin-right: 24px; }
.review-feedback button { background: #fff; color: var(--muted); border: 1px solid var(--line); border-radius: 16px; min-height: 26px; padding: 2px 20px; font-size: 12px; }
.review-feedback button:hover { background: #f1f3f4; }
.review-feedback button[aria-pressed="true"] { color: #056449; background: #e6f3ef; border-color: var(--green); }
.flag-row { display: flex; align-items: center; gap: 12px; padding: 25px 0 30px; font-size: 14px; font-weight: 500; }
.flag-row .icon { width: 18px; height: 18px; flex-basis: 18px; }
.dialog-app-header { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.dialog-app-header img { width: 64px; height: 64px; border-radius: 10px; }
.dialog-app-header h3 { font-size: 24px; font-weight: 500; }
.dialog-app-header p { margin-top: 4px; }
.dialog-information { border-top: 1px solid #e8eaed; padding-top: 24px; }
.dialog-source { font-size: 12px; color: var(--muted); margin-top: 24px; }
#ratings-dialog { width: min(850px, calc(100% - 32px)); }
#ratings-dialog .review-source { margin-left: 0; font-size: 12px; }
#ratings-dialog .review-more { display: none; }
#ratings-dialog .review-list { padding-bottom: 10px; }
#privacy-dialog .safety-card { margin-top: 24px; }

.support-column { min-width: 0; padding-top: 6px; }
.app-support > summary { display: flex; align-items: center; gap: 8px; list-style: none; padding: 10px 12px; cursor: pointer; width: max-content; max-width: 100%; }
.app-support > summary::-webkit-details-marker { display: none; }
.app-support .chevron { color: var(--muted); }
.app-support[open] .chevron { transform: rotate(180deg); }
.support-body { margin-top: 6px; }
.support-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 8px; }
.support-item > .icon { width: 20px; height: 20px; flex-basis: 20px; color: var(--muted); }
.support-item h3, .developer-details h3 { font-weight: 500; font-size: 14px; line-height: 1.4; }
.support-item p { margin-top: 3px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.support-button { background: transparent; width: 100%; text-align: left; color: var(--ink); font-weight: 500; font-size: 14px; }
.support-button:hover { background: #f1f3f4; }
.developer-details { padding: 12px; }
.developer-details h3 { margin-bottom: 10px; }
.developer-details p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.site-footer { border-top: 1px solid #e8eaed; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--muted); }
.site-footer > p { font-size: 14px; font-weight: 500; color: var(--ink); }
.site-footer > a span { margin-left: 12px; }
.mobile-download-bar { display: none; }

dialog { border: 0; border-radius: 16px; color: var(--ink); background: #fff; padding: 28px; width: min(640px, calc(100% - 32px)); max-height: 85dvh; overflow: auto; box-shadow: 0 12px 48px #0004; }
dialog::backdrop { background: #0008; }
dialog h2 { margin: 0 40px 24px 0; font-size: 22px; line-height: 1.3; font-weight: 500; }
dialog p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.dialog-close { position: absolute; right: 16px; top: 17px; width: 36px; height: 36px; border-radius: 50%; background: transparent; color: var(--muted); font-size: 28px; line-height: 1; }
.dialog-close:hover { background: #f1f3f4; }
.dialog-information { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.dialog-information dt { font-weight: 500; }
.dialog-information dd { margin: 5px 0 0; color: var(--muted); }
.share-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
#share-url { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 50; border-radius: 6px; padding: 12px 20px; max-width: calc(100% - 32px); background: #202124; color: #fff; font-size: 14px; box-shadow: 0 4px 12px #0003; }

@media (min-width: 1300px) {
  .hero-art { width: 1067px; height: 600px; right: 5%; }
  .hero-content { min-height: 592px; padding-top: 258px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 999px) {
  .wrap { width: calc(100% - 64px); }
  .hero-art { width: 100%; height: auto; aspect-ratio: 16/9; }
  .hero-content { padding: 240px 0 36px; min-height: 540px; }
  h1 { font-size: 42px; }
  .content-grid { grid-template-columns: 1fr; padding: 40px 0; gap: 40px; }
  .support-column { padding-top: 0; border-top: 1px solid #e8eaed; padding-bottom: 10px; }
  .support-column .app-support { padding-top: 24px; }
}
@media (max-width: 599px) {
  html { scroll-padding-top: 76px; }
  body { padding-bottom: 72px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 58px; padding: 0 16px; }
  .wordmark { font-size: 21px; letter-spacing: -.6px; }
  .partner-wordmark strong { font-size: 16px; }
  .partner-wordmark b { font-size: 21px; margin-left: 4px; }
  .hero-art { width: 100%; aspect-ratio: 16/9; height: auto; right: 0; }
  .mobile-hero-video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
  .hero-art::after { background: linear-gradient(to top, #202124 0%, #20212400 60%); }
  .hero-content { padding: 52vw 0 26px; min-height: 0; }
  .app-identity { gap: 18px; align-items: flex-start; }
  .app-icon { width: 64px; height: 64px; flex-basis: 64px; border-radius: 10px; }
  h1 { font-size: 26px; font-weight: 500; letter-spacing: -.7px; line-height: 1.2; margin-bottom: 5px; }
  .publisher { font-size: 14px; }
  .app-category { font-size: 11px; margin-top: 4px; }
  .app-facts { margin-top: 24px; width: 100%; }
  .app-fact { flex: 1; min-width: 0; padding: 0 10px; }
  .app-fact:first-child { padding: 0 10px; }
  .app-fact strong { font-size: 14px; }
  .app-fact > span { font-size: 11px; }
  .app-actions { margin-top: 22px; gap: 0; }
  .app-actions .download-button { width: 100%; min-height: 42px; border-radius: 8px; font-size: 16px; font-weight: 400; }
  .app-actions .text-button { display: none; }
  .content-grid { padding-block: 24px 32px; gap: 24px; }
  .video-section { margin-bottom: 24px; }
  .video-heading { gap: 10px; padding: 16px 16px 36px; }
  .billboard-line { font-size: 24px; line-height: 1.12; letter-spacing: -.5px; }
  .motion-toggle { width: 26px; height: 26px; flex-basis: 26px; margin-top: 1px; }
  .video-frame { aspect-ratio: 4/3; }
  .play-disc { width: 86px; height: 60px; border-radius: 15px; }
  .play-disc svg { width: 38px; height: 38px; }
  .section-block { margin-top: 28px; }
  .section-heading { justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 36px; }
  .section-heading h2, .app-support h2 { font-size: 20px; }
  .icon-button { width: 36px; height: 36px; }
  .section-copy { font-size: 14px; line-height: 1.5; }
  .updated { margin-top: 28px; }
  .genre-tags { margin-top: 24px; }
  .genre-tags span { font-size: 12px; padding: 4px 12px; }
  .data-safety { margin-top: 36px; }
  .safety-card { margin-top: 24px; padding: 18px; gap: 24px; }
  .safety-row { gap: 20px; }
  .ratings { margin-top: 32px; }
  .rating-overview { margin-top: 24px; gap: 20px; }
  .rating-score { flex-basis: 112px; }
  .rating-number { font-size: 56px; }
  .rating-track { height: 8px; }
  .rating-bars > div { height: 16px; }
  .rating-score p { font-size: 11px; }
  .review-empty { font-size: 13px; padding-top: 30px; }
  .ratings .section-heading { justify-content: flex-start; gap: 4px; }
  .review-source { flex-basis: 100%; margin: 8px 0 0; font-size: 11px; }
  .review-list { padding-top: 32px; gap: 30px; }
  .review-feedback { gap: 10px; }
  .review-feedback > span { margin-right: 8px; }
  .support-column { padding-bottom: 0; }
  .app-support > summary { padding-inline: 0; }
  .support-item, .developer-details { padding-inline: 0; }
  .site-footer { min-height: 128px; padding-block: 24px; gap: 14px; flex-wrap: wrap; font-size: 11px; }
  .site-footer > span { order: 3; flex-basis: 100%; font-size: 10px; }
  .site-footer > a { margin-left: auto; }
  .mobile-download-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--line); background: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .mobile-download-bar a { min-width: min(320px, 100%); min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 9px 22px; background: var(--green); color: #fff; font-size: 13px; font-weight: 500; }
  .toast { bottom: 86px; }
  dialog { padding: 24px; }
}
@media (max-width: 359px) {
  h1 { font-size: 24px; }
  .app-icon { width: 56px; height: 56px; flex-basis: 56px; }
  .app-identity { gap: 14px; }
  .video-heading { padding: 13px 14px 30px; gap: 8px; }
  .billboard-line { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
