:root {
  color-scheme: dark;
  --night: #101d28;
  --ink: #17232b;
  --wood: #292620;
  --gold: #c8a663;
  --gold-light: #f1d795;
  --paper: #efe2c6;
  --paper-ink: #372f26;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--night);
  color: #f4e9cf;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #101d28; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--gold-light); }
a:hover { color: #fff3cf; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #75c5fb; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 20; padding: 12px 18px; background: var(--paper); color: var(--paper-ink); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid #b9975570; background: #101c25; }
.site-nav, .site-links, .site-brand { display: flex; align-items: center; }
.site-nav { min-height: 72px; justify-content: space-between; gap: 24px; }
.site-header .site-nav { width: min(1180px, calc(100% - 48px)); margin: auto; }
.site-brand { gap: 10px; color: var(--gold-light); text-decoration: none; font: 700 23px Georgia, 'Times New Roman', serif; letter-spacing: .035em; }
.site-brand img { object-fit: cover; }
.site-links { gap: clamp(14px, 3vw, 34px); }
.site-links a, .site-links button { border: 0; background: none; color: #e9dfc9; text-decoration: none; font-size: 15px; }
.site-links a[aria-current='page'] { color: var(--gold-light); text-decoration: underline; text-underline-offset: 7px; }
.site-links button { min-width: 92px; padding: 10px 20px; border: 1px solid #d9bb78; background: #c9a768; color: #16232a; font-weight: bold; }
.site-links button:hover { background: #ecd08e; }
.page { padding-block: 34px 74px; }
#home { padding: 0 0 74px; }
#lobby { padding: 0 0 74px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: bold; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; font-family: Georgia, 'Times New Roman', serif; }
h1 { font-size: clamp(31px, 3.3vw, 48px); }
h2 { font-size: clamp(24px, 2.1vw, 31px); }
p { line-height: 1.52; }
.hero { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 56%); height: min(730px, calc(100svh - 72px)); min-height: 630px; background: #14232c; }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: clamp(28px, 4vw, 56px) clamp(26px, 5vw, 76px) clamp(42px, 5vw, 70px) max(28px, calc((100vw - 1180px) / 2)); background: radial-gradient(ellipse at 15% 85%, #314333 0, #1b3030 38%, #14232c 78%); }
.hero-wordmark { display: block; width: clamp(215px, 26vw, 340px); height: auto; max-height: 240px; object-fit: contain; object-position: left top; }
.hero-message { max-width: 480px; }
.hero-kicker { margin-bottom: 15px; color: #e5c47c; font-size: 12px; font-weight: bold; letter-spacing: .17em; text-transform: uppercase; }
.hero-message h1 { margin-bottom: 19px; font-size: clamp(42px, 4.5vw, 68px); line-height: .99; letter-spacing: -.03em; }
.hero-message > p:not(.hero-kicker) { max-width: 400px; margin-bottom: 0; color: #dddccf; font-size: clamp(16px, 1.4vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.hero-actions > a { color: #f5dfae; font-weight: bold; text-decoration: none; text-underline-offset: 5px; }
.hero-actions > a:hover { text-decoration: underline; }
.hero-media { position: relative; min-height: 0; overflow: hidden; background: #203642; }
.hero-media::after { position: absolute; inset: 0; border-left: 1px solid #e6ba6970; background: linear-gradient(90deg, #14232c66, transparent 25%), linear-gradient(0deg, #0e1c29a8, transparent 26%); content: ''; pointer-events: none; }
.hero-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.gold-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 62px; padding: 13px 30px; flex: 0 0 auto; border: 1px solid #f4d899; box-shadow: inset 0 1px #fff4bf, 0 8px 24px #0008; background: linear-gradient(#f4d991, #c89c4b); color: #211b14; text-decoration: none; text-transform: uppercase; font: bold 21px Georgia, 'Times New Roman', serif; letter-spacing: .06em; }
.gold-button:hover { background: linear-gradient(#ffe9ad, #dfb768); color: #211b14; transform: translateY(-2px); }
.gold-button span { font-size: 28px; line-height: .7; }
.paper-panel { border: 3px double #b39562; box-shadow: inset 0 0 0 4px #e6d3ad, 0 12px 30px #0006; background: repeating-linear-gradient(115deg, #f3e7cd 0 3px, #efdfc0 4px 8px); color: var(--paper-ink); }
.world-story { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(28px, 5vw, 80px); padding-block: 95px 105px; }
.world-story-copy h2 { max-width: 390px; margin-bottom: 22px; font-size: clamp(35px, 3.4vw, 54px); line-height: 1.03; }
.world-story-copy > p:not(.eyebrow) { max-width: 370px; color: #d7d8cd; font-size: 17px; }
.world-story-copy a { display: inline-block; margin-top: 12px; font-weight: bold; text-underline-offset: 5px; }
.world-story-image { position: relative; margin: 0; padding: 10px; border: 1px solid #b19362; background: #0b171f; box-shadow: 17px 20px 0 #203538; }
.world-story-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.world-story-image figcaption { position: absolute; right: 10px; bottom: 10px; padding: 8px 11px; background: #0d1b24e8; color: #ead6af; font-size: 12px; letter-spacing: .04em; }
.latest-news { display: grid; grid-template-columns: minmax(0, .48fr) minmax(0, 1fr); gap: 65px; padding-block: 56px 45px; border-top: 1px solid #a68a5a; }
.latest-news .section-heading { display: block; border: 0; }
.latest-news .section-heading h2 { max-width: 270px; margin: 0 0 22px; font-size: clamp(32px, 3vw, 45px); }
.latest-news .section-heading a { display: inline-block; margin: 0; color: #f1d795; font-weight: bold; }
.latest-news .news-date { color: #d0b985; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; border-bottom: 1px solid #a79373; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading a { margin-bottom: 15px; color: #594522; white-space: nowrap; }
.latest-list { display: grid; }
.news-card.compact { display: grid; gap: 3px; padding: 19px 0; border-bottom: 1px solid #a898784f; }
.news-card.compact:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-news .news-card.compact a { color: #f1d795; }
.news-card.compact h3 { margin: 0 0 5px; font-size: 19px; }
.news-card.compact a { font-size: 14px; }
.news-summary { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; font-size: 14px; line-height: 1.4; }
.news-date { margin: 0 0 4px; color: #796849; font-size: 13px; letter-spacing: .05em; }
.lobby-intro { padding: 56px 0 31px; }
.lobby-intro h1 { margin-bottom: 5px; }
.lobby-intro p:last-child { margin-bottom: 0; color: #c7c4b9; }
.lobby-grid { display: grid; gap: 20px; }
.character-panel { display: grid; grid-template-columns: .87fr 1.13fr; grid-template-rows: minmax(0, 1fr) auto; height: 490px; overflow: hidden; border-top: 1px solid #ad8c58; border-bottom: 1px solid #ad8c58; background: radial-gradient(ellipse at 20% 75%, #314333, #162832 65%); }
.character-art { position: relative; grid-column: 2; grid-row: 1 / 3; min-height: 0; overflow: hidden; }
.character-art::after { position: absolute; inset: 0; background: linear-gradient(90deg, #1b3030d9, transparent 32%); content: ''; pointer-events: none; }
.character-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.character-details { grid-column: 1; grid-row: 1; align-self: end; padding: 58px 38px 12px; }
.character-details h2 { margin-bottom: 12px; font-size: clamp(30px, 3.2vw, 44px); overflow-wrap: anywhere; }
.character-details p:last-child { color: #d0c7ae; }
.character-details a { display: inline-block; margin: 0 0 15px; font-size: 15px; }
.enter-world { grid-column: 1; grid-row: 2; justify-self: start; margin: 0 38px 50px; }
.lobby-side { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-content: start; }
.lobby-news { display: grid; grid-template-columns: 170px 1fr; gap: 0 18px; padding: 18px; border: 1px solid #937b5488; background: #172a35; box-shadow: none; }
.lobby-news h2 { margin: 0 0 11px; padding: 3px 5px; font-size: 25px; }
.lobby-news > h2 { grid-column: 1 / -1; }
.lobby-news > img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: center 45%; }
.lobby-news-copy { padding: 3px 0 0; color: #f2e8d5; }
.lobby-news-copy h3 { margin-bottom: 8px; font-size: 21px; }
.lobby-news-copy p { margin-bottom: 10px; font-size: 14px; }
.lobby-news a { color: #f1d795; }
.lobby-menu { display: grid; border: 1px solid #937b5488; background: #172a35; }
.lobby-menu a, .lobby-menu button { display: flex; justify-content: space-between; align-items: center; min-height: 62px; padding: 14px 22px; border: 0; border-bottom: 1px solid #8d724866; background: none; color: #efe1be; text-align: left; text-decoration: none; font-size: 18px; }
.lobby-menu :last-child { border-bottom: 0; }
.lobby-menu .install-help { margin: 0; padding: 12px 22px 16px; border-bottom: 1px solid #8d724866; color: #d6cab4; font-size: 15px; line-height: 1.5; }
.lobby-menu .install-help strong { color: #f1d795; }
.lobby-menu a:hover, .lobby-menu button:hover { background: #33413d; }
.character-overview { margin: 24px 0 0; padding: 28px; border: 1px solid #937b5488; background: #172a35; scroll-margin-top: 18px; }
.overview-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid #9a7a48; }
.overview-heading h2 { margin-bottom: 6px; }
.overview-heading p:last-child { margin: 0; color: #d6cab4; }
.overview-heading a { margin-bottom: 6px; white-space: nowrap; }
.overview-grid { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 22px; padding-top: 20px; }
.overview-grid h3 { margin: 0 0 14px; color: #f5e8c6; font-size: 21px; }
.overview-stats dl { display: grid; grid-template-columns: 1fr auto; margin: 0; border-top: 1px solid #8d724855; }
.overview-stats dt, .overview-stats dd { margin: 0; padding: 10px 0; border-bottom: 1px solid #8d724855; font-size: 15px; }
.overview-stats dd { padding-left: 12px; color: #f4d995; text-align: right; font-weight: bold; }
.gear-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gear-place { display: grid; align-content: center; gap: 5px; min-width: 0; min-height: 72px; padding: 10px; border: 1px solid #ad8f5d; background: #1d3442; color: #f0e5c8; text-align: left; }
.gear-place:hover, .gear-place[aria-pressed='true'] { border-color: #f4d995; background: #344b54; }
.gear-place[aria-pressed='true'] { box-shadow: inset 0 0 0 2px #c8a663; }
.gear-place span { color: #baaa8c; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gear-place strong { overflow: hidden; font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.gear-place.empty strong { color: #a4a7a5; font-weight: normal; }
.gear-place.rarity-uncommon strong { color: #a9dea6; }
.gear-place.rarity-rare strong { color: #91c9ff; }
.gear-place.rarity-epic strong { color: #d5b0ff; }
.gear-place.rarity-legendary strong, .gear-place.rarity-mythic strong { color: #ffcb80; }
.gear-detail { min-height: 64px; margin-top: 12px; padding: 13px 15px; border: 1px solid #8d7248; background: #0e1e29; color: #e0d4bd; font-size: 14px; line-height: 1.45; }
.reading-page { max-width: 1000px; }
.page-heading { padding: 25px 0 28px; }
.page-heading h1 { margin-bottom: 9px; }
.page-heading p:last-child { color: #d5cbbc; }
.news-list { display: grid; gap: 18px; }
.news-list .news-card { padding: 24px 30px; scroll-margin-top: 25px; }
.news-list h2 { margin-bottom: 14px; }
.news-list ul { margin: 0; padding-left: 21px; line-height: 1.5; }
.news-list li + li { margin-top: 7px; }
.guide-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 26px; align-items: start; }
.guide-nav { position: sticky; top: 22px; display: grid; border: 1px solid #8d7248; background: #1a2a31; }
.guide-nav a { padding: 14px 17px; border-bottom: 1px solid #8d724866; text-decoration: none; }
.guide-nav a:last-child { border-bottom: 0; }
.guide-articles { display: grid; gap: 18px; }
.guide-articles article { padding: 26px 30px; scroll-margin-top: 25px; }
.guide-articles article p:last-child { margin-bottom: 0; }
.guide-hero { position: relative; overflow: hidden; min-height: 216px; padding: 43px 34px; border: 3px double #b99755; background: linear-gradient(90deg, #0e1c29f2 0, #10202bd9 52%, #10202b57 100%), url('/assets/brand/lobby-landscape.webp') center 46%/cover; box-shadow: 0 14px 30px #0007; }
.guide-hero h1 { max-width: 560px; margin-bottom: 12px; }
.guide-hero p:last-child { max-width: 480px; margin-bottom: 0; color: #e4dbc8; }
.guide-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px 20px; border: 1px solid #9a7c4c; border-top: 0; background: #1b2c35; }
.guide-search label { color: #f0d9a9; font-weight: bold; }
.guide-search input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #bda170; border-radius: 0; background: #f5ead4; color: #29241f; }
.guide-search p { min-width: 112px; margin: 0; color: #d9d0bb; text-align: right; font-size: 14px; }
.guide-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 27px; }
.guide-quick a { display: grid; gap: 5px; min-height: 83px; padding: 15px 18px; border: 1px solid #a1814d; background: #20333e; color: #fff0cb; text-decoration: none; font-weight: bold; }
.guide-quick a:hover { background: #304a55; }
.guide-quick span { color: #d5c7ab; font-size: 14px; font-weight: normal; }
.guide-nav { border: 3px double #9d8050; box-shadow: inset 0 0 0 3px #263a44; }
.guide-nav p { margin: 0; padding: 15px 17px 10px; color: #d3b879; font-size: 12px; font-weight: bold; letter-spacing: .16em; text-transform: uppercase; }
.guide-nav a { padding-block: 11px; }
.guide-nav a:hover { background: #31424a; }
.guide-articles article h2 { margin-bottom: 15px; }
.guide-articles article p, .guide-articles article li { line-height: 1.55; }
.guide-articles article ol { margin: 0 0 17px; padding-left: 25px; }
.guide-articles article li + li { margin-top: 7px; }
.guide-articles kbd { display: inline-block; min-width: 1.4em; padding: 0 4px; border: 1px solid #a99068; border-bottom-width: 2px; background: #e5d2ad; color: #2a251d; font: bold .88em Georgia, serif; text-align: center; }
.guide-empty { margin: 0; padding: 25px; border: 1px solid #a1814d; background: #1b2c35; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px 40px; border-top: 1px solid #8d724866; color: #c3b59e; font-size: 14px; }
.site-footer div { display: flex; gap: 22px; }
.account-overlay { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; overflow: auto; background: #07121be8; }
.account-card { position: relative; display: grid; gap: 9px; width: min(440px, 100%); max-height: min(92vh, 900px); overflow: auto; padding: 24px 30px; border: 2px solid #a88650; box-shadow: inset 0 0 0 3px #392e22, 0 24px 70px #000b; background: linear-gradient(#253139, #171f24); }
.account-card > img { margin: 0 auto 3px; }
.account-card .eyebrow, .account-card h2, .account-card > p:first-of-type { text-align: center; }
.account-card h2 { margin: 0; }
.account-card #account-lead { text-align: center; color: #d8d1c1; }
.account-dismiss { position: absolute; top: 11px; right: 13px; border: 0; background: none; color: #f3e1bb; font-size: 28px; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 5px 0; border-bottom: 1px solid #a88650; }
.account-tabs button { padding: 10px; border: 0; background: transparent; color: #e5d7b8; }
.account-tabs button[aria-selected='true'] { border-bottom: 3px solid var(--gold-light); color: #fff2d0; }
.account-card label { font-size: 14px; }
.account-card input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #ad956c; border-radius: 0; background: #f3e8d3; color: #29241f; }
.account-card .gold-button { width: 100%; margin-top: 4px; }
.google-button { padding: 11px; border: 1px solid #a88650; text-align: center; text-decoration: none; }
.account-or { margin: 0; text-align: center; }
.account-hint, .account-legal { margin: 4px 0 0; color: #c5bcab; font-size: 13px; }
.account-error { min-height: 1em; margin: 0; color: #ffb7a8; font-size: 14px; }
.text-button { border: 0; background: none; color: var(--gold-light); text-decoration: underline; }

@media (max-width: 750px) {
  .shell { width: min(100% - 30px, 560px); }
  .site-header .site-nav { width: min(100% - 30px, 560px); }
  .site-nav { min-height: 64px; }
  .site-brand { font-size: 0; }
  .site-brand img { width: 42px; height: 42px; }
  .site-links { gap: 13px; }
  .site-links a, .site-links button { font-size: 14px; }
  .site-links button { min-width: 64px; padding: 8px 10px; }
  .page { padding-block: 20px 56px; }
  .hero { position: relative; display: block; height: 700px; min-height: 700px; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media::after { border: 0; background: linear-gradient(0deg, #0b1a24f5 0, #0b1a24cf 31%, #0b1a2433 65%, #0b1a2470 100%); }
  .hero-art { object-position: center 40%; }
  .hero-copy { position: relative; z-index: 1; min-height: 700px; padding: 28px 25px 38px; background: none; }
  .hero-wordmark { width: min(70%, 280px); max-height: 190px; margin-inline: auto; object-position: center top; filter: drop-shadow(0 7px 16px #000a); }
  .hero-message { max-width: 480px; margin-inline: auto; text-align: center; }
  .hero-message h1 { font-size: clamp(38px, 8vw, 54px); }
  .hero-message > p:not(.hero-kicker) { margin-inline: auto; font-size: 16px; }
  .hero-actions { display: grid; justify-items: center; gap: 17px; margin-top: 23px; }
  .hero-actions .gold-button { width: min(100%, 330px); }
  .gold-button { min-height: 61px; font-size: 20px; }
  .world-story { grid-template-columns: 1fr; gap: 28px; padding-block: 68px 72px; }
  .world-story-copy h2 { max-width: 450px; }
  .world-story-image { box-shadow: 9px 10px 0 #203538; }
  .latest-news { grid-template-columns: 1fr; gap: 7px; padding-block: 42px 25px; }
  .latest-news .section-heading h2 { max-width: none; margin-bottom: 10px; }
  .lobby-grid, .lobby-side, .guide-layout { grid-template-columns: 1fr; }
  .lobby-grid { gap: 18px; }
  .character-panel { grid-template-columns: 1fr; grid-template-rows: 260px auto auto; height: auto; }
  .character-art { grid-column: 1; grid-row: 1; }
  .character-art::after { background: linear-gradient(0deg, #162832, transparent 45%); }
  .character-details { grid-column: 1; grid-row: 2; padding: 25px 22px 8px; }
  .enter-world { grid-column: 1; grid-row: 3; justify-self: stretch; margin: 0 22px 22px; }
  .lobby-intro { padding: 30px 0 5px; }
  .lobby-news { grid-template-columns: 1fr; }
  .lobby-news > img { height: 160px; }
  .lobby-news-copy { padding-top: 14px; }
  .character-overview { margin: 18px 0 0; padding: 18px; }
  .overview-heading { display: block; }
  .overview-heading a { display: inline-block; margin-top: 10px; white-space: normal; }
  .overview-grid { grid-template-columns: 1fr; }
  .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .guide-nav a { font-size: 14px; }
  .guide-nav p { grid-column: 1 / -1; }
  .guide-quick { grid-template-columns: 1fr; gap: 8px; }
  .guide-quick a { min-height: 0; }
  .guide-search { grid-template-columns: 1fr; gap: 7px; }
  .guide-search p { text-align: left; }
  .guide-hero { min-height: 0; padding: 31px 22px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .site-links { gap: 10px; }
  .site-links a { font-size: 13px; }
  .site-brand img { width: 37px; height: 37px; }
  .hero, .hero-copy { min-height: 680px; }
  .latest-news, .news-list .news-card, .guide-articles article { padding: 17px; }
  .news-summary { -webkit-line-clamp: 2; }
  .character-panel { grid-template-rows: 250px auto auto; }
  .enter-world { gap: 12px; padding: 11px 13px; font-size: 18px; }
  .account-card { padding: 19px 20px; }
}

@media (max-width: 750px) and (max-height: 650px) {
  .hero, .hero-copy { height: calc(100svh - 64px); min-height: 0; }
  .hero-copy { padding: 14px 20px 18px; }
  .hero-wordmark { width: 165px; max-height: 120px; }
  .hero-kicker { margin-bottom: 8px; font-size: 10px; }
  .hero-message h1 { margin-bottom: 8px; font-size: 32px; }
  .hero-message > p:not(.hero-kicker) { font-size: 13px; line-height: 1.35; }
  .hero-actions { gap: 8px; margin-top: 12px; }
  .hero-actions .gold-button { min-height: 48px; font-size: 17px; }
  .hero-actions > a { font-size: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-wordmark { animation: hero-arrive .9s both; }
  .hero-message { animation: hero-arrive .9s .13s both; }
  .hero-media img { animation: hero-focus 2.8s both; }
  .gold-button { transition: transform .24s ease, background .24s ease, box-shadow .24s ease; }
  .gold-button:hover { box-shadow: inset 0 1px #fff4bf, 0 13px 27px #0009; }
}

@keyframes hero-arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes hero-focus { from { opacity: .6; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The phone's own edges in the installed app (2026-11-06): the header starts below the clock and the notch, and the
   footer ends above the home line (env(safe-area-inset-*) is 0 on a computer and in an ordinary browser tab). */
.site-header { padding-top: env(safe-area-inset-top, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
