:root {
  color-scheme: light;
  --white: #fff;
  --paper: #fff;
  --cream: #fffaf0;
  --brown: #35251d;
  --brown-light: #715846;
  --red: #c62828;
  --red-dark: #9f1f1f;
  --ink: #292521;
  --line: #e8dfd3;
  --gold: #f5bb3b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--red-dark); text-underline-offset: .18em; }
a:hover { color: var(--brown); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #aa7a36;
  outline-offset: 3px;
}

.site-header, main, .site-footer { width: 100%; margin-inline: auto; padding-inline: clamp(20px, 4vw, 72px); }
.site-header { padding-top: 0; }
.masthead {
  min-height: 92px;
  padding: 18px clamp(18px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.brand { color: var(--brown); font-size: 30px; font-weight: 850; letter-spacing: -.045em; line-height: 1.05; text-decoration: none; }
.brand span { display: block; margin-top: 5px; color: var(--red-dark); font-size: 13px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.masthead-note { margin: 0; color: var(--brown-light); font-size: 14px; font-weight: 600; text-align: right; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  background: var(--red);
  border: 1px solid var(--red-dark);
  border-top: 0;
  overflow: hidden;
}
.site-nav a { padding: 11px 17px; color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; border-right: 1px solid rgba(255,255,255,.18); transition: background-color .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--red-dark); }

main { flex: 1; min-height: 55vh; padding-top: 34px; padding-bottom: 48px; }
.hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: min(64vh, 620px);
  overflow: hidden;
  background: var(--paper);
}
.hero-copy { align-self: center; padding: clamp(30px, 6vw, 100px); }
.hero h1, .page-heading h1 { margin: 0 0 14px; color: var(--brown); font-size: clamp(34px, 5vw, 54px); font-weight: 850; letter-spacing: -.045em; line-height: 1.04; }
.hero-copy > p:not(.eyebrow) { max-width: 470px; margin-bottom: 24px; }
.hero-image { display: block; width: 100%; height: 100%; min-height: min(64vh, 620px); object-fit: cover; background: #fff; }
.eyebrow { margin: 0 0 8px; color: var(--red); font-size: 13px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.button {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(198, 40, 40, .16);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--red-dark); color: white; box-shadow: 0 8px 18px rgba(159, 31, 31, .22); transform: translateY(-1px); }
.home-information { margin-top: 36px; }
.home-info-section { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; align-items: start; gap: clamp(20px, 5vw, 80px); padding: 30px clamp(8px, 2vw, 28px); border-bottom: 1px solid var(--line); }
.home-info-section:first-child { border-top: 1px solid var(--line); }
.home-info-section > div { width: 100%; }
.home-info-section h2 { margin: 0; color: var(--brown); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.home-info-section p { margin: 0 0 12px; }
.home-info-section p:last-child { margin-bottom: 0; }
.paper-card { padding: 26px 8px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.paper-card h2, .info-panel h2, .menu-section h2 { margin: 0 0 10px; color: var(--red-dark); font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.paper-card p:last-child { margin-bottom: 0; }
.announcement { background: var(--white); }
.red-note { color: var(--red); font-weight: bold; }
.announcement .red-note { margin-top: 18px; letter-spacing: .06em; }
.visit-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; padding: 32px 8px; background: transparent; border: 0; border-top: 4px solid var(--gold); border-radius: 0; box-shadow: none; }
.visit-strip h2 { margin: 0 0 8px; color: var(--brown); font-size: 20px; }
.visit-strip p { margin: 0 0 8px; }

.page-content { padding-top: 34px; }
.page-heading { margin-bottom: 24px; }
.page-heading > p:last-child { max-width: 680px; }
.narrow-content { max-width: none; }
.prose { padding: 28px 8px; }
.prose h2:not(:first-child) { margin-top: 28px; }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.menu-section { padding: 26px 8px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px dotted var(--line); }
.menu-item h3 { margin: 0; font-size: 17px; }
.menu-item p { margin: 3px 0 0; color: #655d52; font-size: 14px; }
.menu-item strong { white-space: nowrap; color: var(--brown); }
.small-print, .optional { color: #6f685c; font-size: 13px; }
.room-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.room-grid .paper-card { min-height: 0; }
.price { color: var(--brown); font-weight: bold; }
.info-panel { margin-top: 20px; padding: 26px 8px; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.plain-list { padding-left: 22px; margin-bottom: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.contact-grid address { font-style: normal; }
.fiction-notice { margin-top: 22px; padding: 15px 0; border-left: 0; border-top: 1px solid var(--line); background: transparent; font-size: 14px; }
.reservation-form { display: grid; gap: 8px; }
.reservation-form label { margin-top: 7px; font-weight: bold; }
.reservation-form input, .reservation-form select, .reservation-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfc2b2;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.reservation-form button { justify-self: start; margin-top: 10px; }
.form-message { margin: 0; color: var(--red-dark); font-weight: bold; }
.form-message:empty { display: none; }

.game-shell { min-height: 230px; padding: 30px 8px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.game-start { min-height: 168px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.game-start h2 { margin: 0; color: var(--red-dark); font-size: 26px; }
.game-invitation-preview { display: block; width: auto; max-width: 100%; max-height: min(55vh, 420px); margin-bottom: 18px; object-fit: contain; }
.session-body { overflow: hidden; background: #171412; }
.session-stage { position: relative; display: grid; width: 100%; min-height: 100vh; place-items: center; overflow: hidden; isolation: isolate; padding: 24px; }
.session-backdrop { position: fixed; z-index: -1; inset: -18px; background-image: var(--session-background, url("images/floor.png")); background-position: center; background-size: cover; filter: blur(12px) brightness(.55); transform: scale(1.04); transition: background-image .35s ease; }
.session-stage::after { position: fixed; z-index: -1; inset: 0; background: rgba(25, 16, 13, .22); content: ""; }
.session-panel { display: flex; width: min(900px, 100%); max-height: calc(100vh - 48px); flex-direction: column; align-items: center; gap: 18px; overflow: auto; padding: 24px; background: transparent; text-align: center; }
.session-dialogue { min-height: 1.6em; margin: 0; color: white; font-size: clamp(22px, 4vw, 34px); text-shadow: 0 2px 8px #000; }
.session-dialogue[hidden] { display: none; }
.session-invitation { display: block; width: auto; max-width: min(100%, 520px); max-height: min(72vh, 760px); object-fit: contain; }
.session-invitation[hidden] { display: none; }
.session-invitation.is-revealed { animation: invitation-reveal .8s ease-out both; }
@keyframes invitation-reveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: scale(.98); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: scale(1); }
}
.session-next { min-width: 112px; }
.character-picker { display: grid; width: min(760px, 100%); justify-items: center; gap: 12px; color: #fff; text-align: center; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.character-picker-kicker { margin: 0; color: #f0c77e; font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.character-picker h1 { margin: 0; font-size: clamp(30px, 6vw, 52px); }
.character-picker > p:not(.character-picker-kicker) { margin: 0; color: #f2eee8; }
.character-picker-options { display: grid; width: 100%; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; margin-top: 10px; }
.character-picker-option { display: flex; min-height: 60px; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 12px; background: rgba(20, 17, 15, .78); color: #fff; font: 700 15px system-ui, sans-serif; text-align: left; cursor: pointer; touch-action: manipulation; transition: background .15s ease, transform .15s ease; }
.character-picker-option:hover, .character-picker-option:focus-visible { transform: translateY(-2px); background: #8f2722; outline: 3px solid #f0c77e; outline-offset: 2px; }
.character-picker-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; background: #c62828; font-size: 11px; font-weight: 900; }
.character-picker[hidden] { display: none; }
.session-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.session-option { max-width: min(100%, 410px); }
.session-result { color: white; text-shadow: 0 2px 8px #000; }
.session-result h1 { margin: 0 0 14px; font-size: clamp(22px, 4vw, 30px); }
.session-result p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.session-stage [hidden] { display: none; }
.session-stage.chat-open { padding: 0; }
.session-stage.chat-open .session-panel { width: min(430px, 100%); height: 100vh; max-height: 100vh; gap: 0; overflow: hidden; padding: 0; background: #08090b; }
.group-chat { display: flex; width: 100%; height: 100vh; height: 100dvh; flex-direction: column; overflow: hidden; background: #08090b; color: #f5f5f5; font: 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-align: left; text-shadow: none; }
.chat-header { padding: 14px 16px 10px; background: #08090b; }
.chat-title-row { display: flex; align-items: center; gap: 11px; }
.chat-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.chat-title-row h1 { margin: 0; font-size: 17px; font-weight: 600; }
.chat-members { margin: 8px 0 0 53px; color: #bbb; font-size: 12px; }
.chat-members summary { width: fit-content; cursor: pointer; }
.chat-members ul { display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 8px 0 0; margin: 0; list-style: none; color: #e2e2e2; }
.chat-conversation { display: flex; flex: 1; flex-direction: column; justify-content: flex-start; min-height: 100px; overflow-y: auto; overscroll-behavior: contain; padding: 18px 12px; border-top: 1px solid #222; scroll-behavior: smooth; }
.chat-message { display: flex; width: 100%; align-items: flex-end; gap: 7px; }
.chat-message:first-child { margin-top: auto; }
.chat-message-content { display: flex; max-width: 84%; flex-direction: column; gap: 3px; }
.chat-message-incoming { align-self: flex-start; }
.chat-message-outgoing { justify-content: flex-end; align-self: flex-end; text-align: right; }
.chat-sender { padding: 0 7px; color: #aaa; font-size: 10px; }
.chat-bubble { width: fit-content; padding: 9px 12px; border-radius: 17px; background: #28282c; color: #f5f5f5; font-size: 14px; text-align: left; overflow-wrap: anywhere; }
.chat-message-outgoing .chat-bubble { align-self: flex-end; border-bottom-right-radius: 5px; background: #178fe0; color: white; }
.chat-message-incoming .chat-bubble { border-bottom-left-radius: 5px; }
.chat-avatar { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; color: white; font-size: 10px; }
.chat-avatar-0 { background: #9c68c8; }
.chat-avatar-1 { background: #d6518a; }
.chat-avatar-2 { background: #5599e8; }
.chat-avatar-3 { background: #43a885; }
.chat-avatar-4 { background: #c48444; }
.chat-photo { display: block; width: min(190px, 55vw); max-height: 250px; border-radius: 10px; object-fit: contain; }
.chat-caption { margin: 6px 0 0; }
.chat-call-bubble { color: #e0e0e4; background: #242428; }
.chat-typing-bubble { display: flex; min-width: 54px; align-items: center; justify-content: center; gap: 4px; padding: 13px 12px; }
.chat-message-outgoing .chat-typing-bubble { background: #178fe0; }
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: #aaa; animation: typing-bounce 1s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: .14s; }
.typing-dot:nth-child(3) { animation-delay: .28s; }
@keyframes typing-bounce {
  0%, 60%, 100% { opacity: .45; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
.chat-composer { display: flex; align-items: center; gap: 10px; padding: 10px 14px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid #202024; }
.chat-composer span { color: #aaa; font-size: 12px; }
.chat-composer input { min-width: 0; flex: 1; padding: 10px 13px; border: 0; border-radius: 20px; background: #1c1c20; color: #ddd; font: inherit; }
.chat-composer input::placeholder { color: #888; }
.chat-composer input:disabled { opacity: 1; }
.chat-call-invite { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid #303036; background: #141519; }
.chat-call-invite[hidden], .call-screen[hidden], .close-notice[hidden] { display: none; }
.call-invite-icon { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.chat-call-invite .call-invite-icon { width: 42px; height: 42px; flex: 0 0 auto; }
.chat-call-invite-copy { min-width: 0; flex: 1; }
.chat-call-invite h2 { margin: 0; color: #f5f5f5; font-size: 14px; font-weight: 700; }
.chat-call-invite p { margin: 2px 0 0; color: #b6b7bd; font-size: 12px; }
.chat-call-invite .button { flex: 0 0 auto; padding: 8px 16px; }
.chat-skip { align-self: flex-end; margin: 6px 12px 0; }
.chat-skip[hidden], .call-skip-button[hidden] { display: none; }
.call-screen, .close-notice { position: fixed; z-index: 20; inset: 0; color: #f5f5f5; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.call-actions { display: flex; justify-content: center; gap: 36px; margin-top: 32px; }
.call-entry-actions, .call-choice-panel { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.call-entry-actions[hidden] { display: none; }
.call-choice-panel { width: 100%; align-items: center; }
.call-choice-panel[hidden] { display: none; }
.call-choice-panel p { flex: 0 0 100%; margin: 0; color: #e2e4e9; font-size: 15px; text-align: center; }
.call-choice-button { min-width: 150px; padding: 11px 20px; border: 1px solid #5b6270; border-radius: 24px; background: #303642; color: white; font: inherit; font-weight: 700; cursor: pointer; }
.call-choice-button:hover { background: #414958; }
.call-choice-button:focus-visible { outline: 3px solid #f5bb3b; outline-offset: 3px; }
.call-button { min-width: 100px; padding: 12px 20px; border: 0; border-radius: 24px; color: white; font: inherit; font-weight: bold; cursor: pointer; }
.call-skip-button { min-width: 82px; padding: 10px 18px; border: 1px solid #747b88; border-radius: 22px; background: #303642; color: white; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .06em; cursor: pointer; }
.call-skip-button:hover { background: #414958; }
.call-skip-button:focus-visible { outline: 3px solid #f5bb3b; outline-offset: 3px; }
.call-decline { background: #d84048; }
.call-accept { background: #2fba68; }
.call-screen { z-index: 30; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 12px; padding: 20px; background: radial-gradient(ellipse at center, #272c35, #101216 72%); }
.call-screen-header h1 { margin: 0; font-size: 20px; }
.call-screen-header p { margin: 4px 0 0; color: #adb1ba; font-size: 12px; }
.call-grid { display: grid; min-height: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
.call-person { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #252a32; text-align: center; }
.call-person-1 { background: #30272e; }
.call-person-2 { background: #222e37; }
.call-person-3 { background: #2d3029; }
.call-person-4 { background: #342d25; }
.call-person.is-speaking { border-color: #69d98b; box-shadow: 0 0 18px rgba(105,217,139,.35); }
.call-avatar { display: grid; width: clamp(38px, 7vw, 70px); aspect-ratio: 1; place-items: center; border-radius: 50%; background: #566a87; color: white; font-size: clamp(15px, 3vw, 24px); font-weight: bold; }
.call-person-1 .call-avatar { background: #805c75; }
.call-person-2 .call-avatar { background: #527b9c; }
.call-person-3 .call-avatar { background: #668365; }
.call-person-4 .call-avatar { background: #9a704c; }
.call-name { max-width: 100%; padding: 0 4px; overflow: hidden; color: #f2f2f3; font-size: clamp(10px, 1.5vw, 14px); text-overflow: ellipsis; white-space: nowrap; }
.call-caption { min-height: 3.2em; display: grid; place-items: center; margin: 0; padding: 12px 16px; border-radius: 10px; background: rgba(0,0,0,.58); color: white; font-size: clamp(14px, 2.4vw, 20px); text-align: center; }
.close-notice { display: grid; place-items: center; padding: 24px; background: #101216; color: white; text-align: center; }
.journey-scene { position: fixed; z-index: 40; inset: 0; overflow: hidden; background: #dce8d1; color: #242a25; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.journey-scene[hidden], .journey-route-arrow[hidden], .journey-roster[hidden], .journey-interact[hidden], .journey-dialogue[hidden], .journey-dialogue-next[hidden], .journey-road-scene[hidden], .journey-tunnel[hidden], .road-destination[hidden] { display: none; }
.journey-header { position: absolute; z-index: 6; top: 16px; right: 18px; left: 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 12px 18px; border: 1px solid rgba(67, 78, 60, .2); border-radius: 12px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(48, 57, 41, .15); }
.journey-kicker { margin: 0 0 3px; color: #9f1f1f; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journey-header h1 { margin: 0; color: #35251d; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.1; }
.journey-objective { max-width: 46%; margin: 0; color: #51493e; font-weight: 650; text-align: right; }
.journey-layout, .journey-map-column, .journey-map-frame { position: absolute; inset: 0; }
.journey-map-frame { overflow: hidden; background: #dce8d1; }
.journey-map-image, .journey-route-arrow { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.journey-map-image { object-fit: fill; }
.journey-route-arrow { z-index: 1; overflow: visible; }
.journey-route-arrow-shadow { fill: none; stroke: rgba(255, 255, 255, .85); stroke-linecap: round; stroke-width: 18; }
.journey-route-arrow-line { fill: none; stroke: #c62828; stroke-linecap: round; stroke-width: 9; }
.journey-landmark { position: absolute; z-index: 2; padding: 3px 6px; border: 1px solid rgba(38, 48, 39, .3); border-radius: 4px; background: rgba(255, 255, 255, .9); color: #2d3e2e; font-size: clamp(8px, 1.1vw, 12px); font-weight: 850; letter-spacing: .03em; pointer-events: none; }
.journey-home { left: 51%; top: 56%; }
.journey-garage { left: 58%; top: 60%; }
.journey-tunnel { left: 88%; top: 31%; color: #344b57; }
.journey-markers { position: absolute; z-index: 3; inset: 0; }
.journey-marker, .journey-player { position: absolute; display: grid; width: clamp(32px, 4vw, 44px); aspect-ratio: 1; place-items: center; border-radius: 50%; transform: translate(-50%, -50%); }
.journey-marker { border: 2px solid white; background: #406b9a; color: white; font: 800 clamp(10px, 1.3vw, 13px)/1 system-ui, sans-serif; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); cursor: pointer; touch-action: manipulation; }
.journey-marker:not(.is-up-next) { opacity: .6; }
.journey-marker.is-up-next { border-color: #f5bb3b; box-shadow: 0 0 0 4px rgba(245, 187, 59, .5), 0 2px 6px rgba(0, 0, 0, .35); }
.journey-marker:disabled { cursor: default; }
.journey-marker:hover, .journey-marker:focus-visible { background: #244b77; outline: 3px solid #f5bb3b; outline-offset: 2px; }
.journey-player { z-index: 4; width: clamp(18px, 2.2vw, 25px); border: 3px solid white; background: #c62828; box-shadow: 0 0 0 4px rgba(198, 40, 40, .25), 0 2px 6px rgba(0, 0, 0, .4); transition: left .12s ease, top .12s ease; pointer-events: none; }
.journey-player:not(.is-van)::after { color: white; content: attr(data-initials); font: 900 8px system-ui, sans-serif; }
.journey-player.is-van { width: clamp(28px, 3.2vw, 42px); height: auto; aspect-ratio: 1; border: 0; background: transparent; box-shadow: none; }
.journey-player.is-van::after { content: "🚗"; font-size: clamp(23px, 2.7vw, 34px); line-height: 1; }
.journey-instructions { position: absolute; z-index: 6; top: 104px; left: 18px; max-width: min(520px, 54vw); min-height: 1.5em; margin: 0; padding: 9px 12px; border-radius: 9px; background: rgba(255, 255, 255, .92); color: #394237; font-size: 13px; font-weight: 600; box-shadow: 0 3px 12px rgba(48, 57, 41, .12); }
.journey-controls { position: absolute; z-index: 8; bottom: 18px; left: 18px; display: flex; align-items: end; gap: 16px; padding: 10px; border: 1px solid rgba(67, 78, 60, .2); border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 5px 16px rgba(48, 57, 41, .2); }
.journey-dpad { display: grid; grid-template: "up up up" 42px "left down right" 42px / 48px 48px 48px; gap: 4px; }
.journey-dpad button { min-width: 42px; border: 1px solid #aeb8a6; border-radius: 9px; background: #fff; color: #263a2b; font: 700 20px/1 system-ui, sans-serif; touch-action: manipulation; cursor: pointer; }
.journey-dpad button:nth-child(1) { grid-area: up; justify-self: center; width: 48px; }
.journey-dpad button:nth-child(2) { grid-area: left; }
.journey-dpad button:nth-child(3) { grid-area: down; }
.journey-dpad button:nth-child(4) { grid-area: right; }
.journey-dpad button:hover, .journey-interact:hover { background: #e5ecd9; }
.journey-dpad button:disabled { background: #eceee8; color: #a4aaa0; cursor: not-allowed; }
.journey-interact { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 22px; background: #c62828; color: #fff; font: 700 14px system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
.journey-interact:hover { background: #9f1f1f; color: #fff; }
.journey-roster { position: absolute; z-index: 6; top: 104px; right: 18px; width: min(270px, 28vw); max-height: calc(100vh - 130px); overflow: auto; padding: 12px 16px; border: 1px solid rgba(67, 78, 60, .2); border-radius: 12px; background: rgba(255, 255, 255, .94); box-shadow: 0 5px 16px rgba(48, 57, 41, .16); }
.journey-roster-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; cursor: pointer; list-style: none; }
.journey-roster-summary::marker { content: ""; }
.journey-roster-summary::-webkit-details-marker { display: none; }
.journey-roster-summary::after { grid-column: 2; grid-row: 1 / span 2; color: #53614c; content: "+"; font-size: 20px; font-weight: 700; }
.journey-roster-details[open] > .journey-roster-summary::after { content: "−"; }
.journey-roster-summary:focus-visible { border-radius: 4px; outline: 3px solid #aa7a36; outline-offset: 3px; }
.journey-roster-title { grid-column: 1; grid-row: 1; color: #35251d; font-size: 20px; font-weight: 800; }
.journey-roster-note { grid-column: 1; grid-row: 2; margin: 0; color: #53614c; font-size: 12px; }
.journey-roster ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.journey-roster li { display: flex; align-items: center; gap: 9px; color: #394237; font-size: 14px; }
.journey-roster li::before { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border: 1px solid #aeb8a6; border-radius: 50%; content: ""; }
.journey-roster li.is-picked-up { color: #62705a; text-decoration: line-through; }
.journey-roster li.is-picked-up::before { border-color: #3c8653; background: #3c8653; color: white; content: "✓"; font-size: 13px; font-weight: 800; text-decoration: none; }
.journey-dialogue { position: absolute; z-index: 7; right: 18px; bottom: 18px; display: flex; width: min(540px, 48vw); max-height: min(42vh, 360px); flex-direction: column; padding: 12px 14px; border: 1px solid rgba(67, 78, 60, .2); border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 8px 24px rgba(48, 57, 41, .22); }
.journey-dialogue-heading { margin: 0 0 8px; color: #9f1f1f; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.journey-dialogue-log { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.journey-dialogue-line { display: grid; gap: 2px; margin: 0 0 9px; color: #292521; font-size: 14px; line-height: 1.4; }
.journey-dialogue-line.is-narration { color: #51493e; font-style: italic; }
.journey-dialogue-line:last-child { margin-bottom: 0; }
.journey-dialogue-speaker { color: #4a5942; font-size: 12px; }
.journey-dialogue-text { display: block; }
.journey-dialogue-next { align-self: flex-end; min-width: 120px; min-height: 42px; margin-top: 10px; padding: 8px 16px; border: 0; border-radius: 22px; background: #c62828; color: white; font: 700 14px system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
.journey-dialogue-next:hover { background: #9f1f1f; }
.journey-scene.is-dialogue-active .journey-controls { display: none; }
.journey-scene.is-one-way .journey-marker { display: none; }
.journey-scene button:focus-visible { outline: 3px solid #aa7a36; outline-offset: 3px; }
.journey-scene.is-road-scene .journey-layout { display: none; }
.journey-road-scene { position: absolute; z-index: 1; inset: 0; overflow: hidden; background: #527748; }
.mountain-road-image, .road-track { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.mountain-road-image { object-fit: fill; }
.road-track { overflow: visible; }
.road-track path { fill: none; stroke: transparent; stroke-width: 1; }
.journey-road-van { position: absolute; z-index: 4; display: grid; width: clamp(28px, 3.6vw, 44px); height: clamp(28px, 3.6vw, 44px); place-items: center; font-size: clamp(24px, 3.1vw, 38px); line-height: 1; text-shadow: 0 2px 4px rgba(0, 0, 0, .35); transition: left .22s ease, top .22s ease, transform .22s ease; }
.road-caption { position: absolute; z-index: 7; right: 18px; bottom: 18px; left: 18px; display: grid; justify-items: center; gap: 5px; width: min(820px, calc(100% - 36px)); margin: 0 auto; padding: 13px 20px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 8px; background: rgba(8, 12, 16, .82); box-shadow: 0 4px 20px rgba(0, 0, 0, .28); color: #fff; font-size: clamp(14px, 2vw, 19px); line-height: 1.4; text-align: center; }
.road-caption strong { color: #f6d884; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.road-destination { position: absolute; z-index: 3; top: 22%; left: 50%; width: max-content; max-width: 80%; transform: translateX(-50%); padding: 12px 18px; border: 3px solid #7d3327; border-radius: 8px; background: #c94b3f; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); color: #fff7e9; font-size: clamp(14px, 2.4vw, 24px); font-weight: 900; letter-spacing: .06em; text-align: center; }
.journey-scene.is-road-scene .journey-controls { top: 49%; bottom: auto; transform: translateY(-50%); }
.arrival-story { position: absolute; z-index: 2; inset: 0; overflow: hidden; background: #f5f4f3; color: #29323a; }
.journey-scene.is-arrival .journey-layout, .journey-scene.is-arrival .journey-road-scene { display: none; }
.journey-scene.is-arrival .journey-header { display: none; }
.arrival-map-image, .arrival-route { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.arrival-map-image { object-fit: fill; }
.arrival-route { z-index: 1; }
.arrival-route-highlight { fill: none; stroke: rgba(209, 113, 74, .82); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 15 12; }
.arrival-route [data-arrival-track-path] { fill: none; stroke: transparent; stroke-width: 1; }
.arrival-fog { position: absolute; z-index: 2; inset: 0; background: linear-gradient(110deg, rgba(239, 242, 240, .24), rgba(237, 241, 241, .76) 48%, rgba(234, 239, 239, .5)); backdrop-filter: blur(1px); }
.arrival-van, .arrival-walker, .arrival-rock, .arrival-people, .arrival-sign, .arrival-building, .arrival-vision, .arrival-camera { position: absolute; z-index: 4; transform: translate(-50%, -50%); }
.arrival-van { top: 93.25%; left: 31.7%; display: grid; width: clamp(48px, 6vw, 76px); height: clamp(42px, 5vw, 64px); place-items: center; font-size: clamp(38px, 5vw, 62px); line-height: 1; filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .35)); }
.arrival-van::before { content: none; }
.arrival-van.is-wrecked { transform: translate(-50%, -50%) rotate(-20deg); filter: grayscale(.5) drop-shadow(0 5px 5px rgba(0, 0, 0, .35)); }
.arrival-van.is-wrecked::before { content: none; }
.arrival-rock { top: 79%; left: 33%; z-index: 5; font-size: clamp(34px, 5vw, 62px); line-height: 1; }
.journey-scene.is-crash-impact .arrival-rock { animation: arrival-rock-drop .72s cubic-bezier(.15,.7,.25,1) both; }
.journey-scene.is-crash-impact .arrival-map-image { animation: arrival-map-shake .42s ease-in-out; }
.arrival-people { top: 93.25%; left: 31.7%; z-index: 5; width: 1px; height: 1px; }
.arrival-people span { position: absolute; top: var(--dy); left: var(--dx); display: grid; width: clamp(22px, 2.2vw, 28px); aspect-ratio: 1; place-items: center; border: 2px solid white; border-radius: 50%; background: #406b9a; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); color: white; font-size: 9px; font-weight: 850; transform: translate(-50%, -50%); }
.arrival-walker { top: 93.25%; left: 31.7%; z-index: 6; display: grid; width: clamp(20px, 1.8vw, 26px); aspect-ratio: 1; place-items: center; border: 3px solid white; border-radius: 50%; background: #c62828; box-shadow: 0 0 0 4px rgba(198, 40, 40, .25), 0 2px 7px rgba(0, 0, 0, .4); color: white; font-size: 10px; font-weight: 900; }
.arrival-walker::after { content: attr(data-initials); }
.arrival-sign { top: 34%; left: 63%; z-index: 5; display: grid; min-width: 170px; gap: 3px; padding: 10px 13px; border: 4px solid #735b3d; border-radius: 5px; background: #bc9a67; box-shadow: 0 5px 12px rgba(0, 0, 0, .3); color: #302719; font-size: 10px; font-weight: 800; text-align: center; }
.arrival-sign strong { font-size: 12px; }
.arrival-sign small { font-size: 9px; letter-spacing: .08em; }
.arrival-building { top: 12%; left: 72%; z-index: 5; display: grid; width: clamp(120px, 18vw, 220px); min-height: 115px; place-content: center; gap: 5px; padding: 10px; border: 4px solid #624b3a; border-radius: 6px; background: linear-gradient(#786554 0 28%, #d7c6a9 28%); box-shadow: 0 0 35px 20px rgba(255, 219, 141, .7); color: #3a2a1e; text-align: center; transition: opacity .8s ease, filter .8s ease, transform .8s ease; }
.arrival-building.is-distant { opacity: .48; filter: blur(3px); transform: translate(-50%, -50%) scale(.86); }
.arrival-building.is-revealed { opacity: 1; filter: none; transform: translate(-50%, -50%) scale(1); }
.arrival-building-logo { justify-self: center; width: 28px; height: 28px; object-fit: contain; }
.arrival-building-door { position: absolute; right: calc(50% - 14px); bottom: 0; width: 28px; height: 34px; border: 3px solid #6b503c; border-bottom: 0; border-radius: 5px 5px 0 0; background: #433c38; box-shadow: inset 0 0 12px rgba(255, 215, 136, .6); transform-origin: left center; transition: transform .5s ease; }
.arrival-building.is-door-open .arrival-building-door { transform: perspective(35px) rotateY(-48deg); }
.arrival-building-roof { color: #fff1d2; font-size: 9px; font-weight: 850; letter-spacing: .07em; }
.arrival-building-windows { display: block; height: 28px; border: 4px solid #927a5b; background: linear-gradient(90deg, #ffdc8a 0 28%, #88745c 28% 36%, #ffdc8a 36% 64%, #88745c 64% 72%, #ffdc8a 72%); box-shadow: 0 0 18px rgba(255, 209, 105, .9); }
.arrival-building strong { color: #fff3dc; font-size: 11px; letter-spacing: .08em; }
.arrival-owner { position: absolute; z-index: 6; top: 30%; left: 72%; display: grid; width: 74px; justify-items: center; transform: translate(-50%, -50%); filter: drop-shadow(0 3px 4px rgba(24, 32, 38, .4)); }
.arrival-owner img { display: block; width: 56px; height: 56px; object-fit: contain; }
.arrival-owner span { max-width: 90px; padding: 3px 5px; border-radius: 5px; background: rgba(255, 255, 255, .9); color: #35251d; font-size: 8px; font-weight: 800; text-align: center; }
.arrival-phone { position: absolute; z-index: 6; top: 18%; right: 3%; width: clamp(132px, 17vw, 220px); aspect-ratio: 72.5 / 150; }
.arrival-phone > img { display: block; width: 100%; height: 100%; }
.arrival-phone-screen { position: absolute; top: 2.5%; right: 4%; bottom: 2%; left: 4%; display: flex; overflow: hidden; align-items: center; flex-direction: column; padding: 4% 5%; border-radius: 17% / 8%; background: linear-gradient(#d5dbea, #f3f4f7 48%, #e8ebf1); color: #293140; text-align: center; }
.arrival-phone-screen::before { position: absolute; top: 1.5%; left: 50%; z-index: 0; width: 24%; height: 4%; border-radius: 999px; background: #08090b; content: ""; transform: translateX(-50%); }
.arrival-phone-screen > * { position: relative; z-index: 1; }
.arrival-phone-status { display: flex; width: 100%; align-items: center; justify-content: space-between; color: #20283a; font-size: clamp(5px, .7vw, 8px); font-weight: 800; white-space: nowrap; }
.arrival-phone-signal { position: relative; display: inline-flex; align-items: center; gap: 1px; color: #20283a; font-size: 1.15em; letter-spacing: -.08em; }
.arrival-phone-signal b { position: absolute; top: -2px; right: -3px; display: grid; width: 8px; height: 8px; place-items: center; border-radius: 50%; background: #d53735; color: white; font-size: 7px; line-height: 1; }
.arrival-phone-lock-time { margin-top: 12%; font-size: clamp(17px, 3.2vw, 34px); font-weight: 300; letter-spacing: -.06em; line-height: 1; }
.arrival-phone-lock-date { margin-top: 3%; color: #3f4a5e; font-size: clamp(6px, .8vw, 9px); font-weight: 600; }
.arrival-phone-sms { display: grid; width: 100%; gap: 4px; margin-top: 13%; padding: 7%; border: 1px solid rgba(80, 90, 110, .18); border-radius: 11px; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 6px rgba(36, 44, 58, .12); text-align: left; }
.arrival-phone-sms-label { color: #667084; font-size: clamp(5px, .65vw, 8px); font-weight: 800; letter-spacing: .04em; }
.arrival-phone-sms strong { color: #30394a; font-size: clamp(6px, .75vw, 9px); }
.arrival-phone-sms p { margin: 0; color: #293140; font-size: clamp(6px, .8vw, 10px); font-weight: 600; line-height: 1.3; }
.arrival-phone.is-buzzing { animation: arrival-phone-buzz .16s linear 8; }
.arrival-visions { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.arrival-vision { z-index: 5; font-size: clamp(24px, 4vw, 50px); line-height: 1; filter: drop-shadow(0 3px 4px rgba(24, 32, 38, .4)); }
.vision-chef { top: 57%; left: 43%; }
.vision-plate { top: 46%; left: 55%; }
.vision-lights { top: 29%; left: 69%; }
.vision-bell { top: 33%; left: 58%; }
.vision-footprints { top: 60%; left: 49%; }
.vision-silhouette { top: 52%; left: 33%; }
.vision-bread { top: 64%; left: 62%; }
.vision-voices { top: 44%; left: 75%; }
.vision-watch { top: 42%; left: 45%; }
.vision-building { top: 20%; left: 72%; opacity: .6; }
.arrival-camera { top: 22%; left: 18%; z-index: 6; display: grid; width: min(220px, 28vw); min-height: 110px; place-content: center; border: 8px solid #252a2d; background: linear-gradient(140deg, #7d8786, #cad0cc 50%, #89928f); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .15em; text-shadow: 0 1px 4px #202629; }
.arrival-camera-rec { position: absolute; top: 8px; left: 10px; color: #ff6b5b; font-size: 10px; }
.arrival-objective { position: absolute; z-index: 6; top: 18px; left: 18px; max-width: min(520px, 54vw); margin: 0; padding: 9px 12px; border-radius: 9px; background: rgba(255, 255, 255, .92); box-shadow: 0 3px 12px rgba(48, 57, 41, .12); color: #394237; font-size: 13px; font-weight: 700; }
.journey-scene.is-arrival .journey-instructions { top: 66px; }
.arrival-dialogue { position: absolute; z-index: 7; right: 18px; bottom: 18px; display: flex; width: min(540px, 48vw); flex-direction: column; padding: 14px 16px; border: 1px solid rgba(67, 78, 60, .2); border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 8px 24px rgba(48, 57, 41, .26); }
.arrival-speaker { color: #9f1f1f; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.arrival-dialogue p { margin: 5px 0 0; color: #292521; font-size: 16px; line-height: 1.45; }
.arrival-dialogue .journey-dialogue-next { margin-left: auto; }
.arrival-dialogue.is-impact p { font-size: clamp(26px, 6vw, 54px); font-weight: 950; letter-spacing: .1em; text-align: center; }
.restaurant-interior { position: absolute; z-index: 2; inset: 0; overflow: auto; padding: 14px 18px 24px; background: repeating-linear-gradient(0deg, #96513e 0 15px, #6e3b30 15px 17px, #ad6248 17px 30px, #713c30 30px 32px); color: #352a20; }
.restaurant-interior-header { position: sticky; z-index: 2; top: -14px; display: flex; align-items: center; gap: 12px; margin: -14px -18px 8px; padding: 12px 18px; border-bottom: 3px solid #573923; background: repeating-linear-gradient(0deg, #bd8a58 0 13px, #95683f 13px 15px, #c99a67 15px 27px, #95683f 27px 29px); }
.restaurant-interior-header img { width: 48px; height: 48px; object-fit: contain; }
.restaurant-interior-header p { margin: 0 0 3px; color: #7a4f30; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.restaurant-interior-header h2 { margin: 0; font-size: clamp(20px, 3vw, 30px); }
.restaurant-player-objective { position: relative; z-index: 4; width: fit-content; max-width: min(560px, 92%); margin: 10px auto; padding: 9px 14px; border: 1px solid rgba(98, 75, 56, .3); border-radius: 10px; background: rgba(255, 250, 240, .97); box-shadow: 0 3px 12px rgba(48, 37, 26, .16); color: #35251d; font-size: 13px; font-weight: 700; text-align: center; }
.restaurant-medkit-hud { position: sticky; z-index: 3; top: 60px; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: 10px auto; padding: 9px 14px; border: 1px solid #7d6448; border-radius: 12px; background: rgba(255, 250, 240, .97); box-shadow: 0 4px 12px rgba(48, 37, 26, .2); color: #35251d; }
.restaurant-medkit-hud strong { color: #9f1f1f; }
.restaurant-medkit-hud output { min-width: 2ch; color: #292521; font-size: 20px; font-variant-numeric: tabular-nums; font-weight: 900; text-align: center; }
.restaurant-medkit-hud.is-urgent output { color: #c62828; }
.restaurant-medkit-hud p { margin: 0 0 0 8px; color: #51493e; font-size: 13px; }
.medkit-checklist { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.medkit-checklist li { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid #c7b9a2; border-radius: 7px; background: #fffdf8; color: #51493e; font-size: 12px; }
.medkit-checklist li::before { color: #8c7455; content: "○"; font-size: 15px; font-weight: 900; }
.medkit-checklist li.is-found { border-color: #3c8653; color: #263a2b; }
.medkit-checklist li.is-found::before { color: #3c8653; content: "✓"; }
.medkit-checklist li span:last-child { color: #746b5f; font-size: 11px; }
.medkit-checklist li.is-found span:last-child { color: #3c8653; font-weight: 800; }
.medkit-discovery-popup { position: fixed; z-index: 35; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(15, 12, 9, .74); }
.medkit-discovery-popup[hidden] { display: none; }
.medkit-discovery-panel { display: grid; width: min(420px, 100%); justify-items: center; gap: 12px; padding: 26px; border: 2px solid #c9b797; border-radius: 18px; background: #fffaf0; box-shadow: 0 18px 55px rgba(0, 0, 0, .45); color: #35251d; text-align: center; }
.medkit-discovery-icon { display: grid; width: 76px; aspect-ratio: 1; place-items: center; border: 5px solid #fff; border-radius: 16px; background: #c62828; box-shadow: 0 4px 14px rgba(97, 30, 20, .35); color: #fff; font-size: 52px; font-weight: 900; line-height: 1; }
.medkit-discovery-panel h2 { margin: 0; color: #9f1f1f; font-size: 24px; }
.medkit-discovery-panel p { margin: 0; color: #51493e; }
.medkit-discovery-panel strong { padding: 8px 12px; border: 1px dashed #9f1f1f; border-radius: 8px; color: #35251d; font-size: 16px; letter-spacing: .04em; }
.medkit-discovery-panel button { min-height: 44px; margin-top: 4px; padding: 9px 18px; border: 0; border-radius: 22px; background: #c62828; color: white; font: 700 14px system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
.medkit-discovery-panel button:hover { background: #9f1f1f; }
.restaurant-map-canvas { position: relative; width: min(100%, 1100px); margin: 0 auto; }
.restaurant-floor-plan { display: block; width: 100%; height: auto; }
.restaurant-friend-markers { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.restaurant-friend-marker { position: absolute; display: grid; width: clamp(18px, 2.2vw, 26px); aspect-ratio: 1; place-items: center; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); color: #fff; font: 800 8px system-ui, sans-serif; transform: translate(-50%, -50%); }
.restaurant-interior.is-friends-seating .restaurant-friend-marker { transition: left 1.25s ease-in-out, top 1.25s ease-in-out; }
.restaurant-friend-marker[data-restaurant-friend="OG"] { background: #466b9a; }
.restaurant-friend-marker[data-restaurant-friend="SS"] { background: #9b5b79; }
.restaurant-friend-marker[data-restaurant-friend="MS"] { background: #527b9c; }
.restaurant-friend-marker[data-restaurant-friend="ZP"] { background: #668365; }
.restaurant-friend-marker[data-restaurant-friend="AB"] { background: #9a704c; }
.restaurant-friend-marker[data-restaurant-friend="JG"] { background: #705e9a; }
.restaurant-friend-marker[data-restaurant-friend="RC"] { background: #3f7d75; }
.restaurant-friend-marker[data-restaurant-friend="DD"] { background: #b46a3c; }
.restaurant-friend-marker[data-restaurant-friend="DG"] { background: #438b62; }
.restaurant-seat-target, .restaurant-player { position: absolute; z-index: 3; top: 72.1%; left: 61.2%; display: grid; width: clamp(22px, 2.8vw, 34px); aspect-ratio: 1; place-items: center; border-radius: 50%; transform: translate(-50%, -50%); }
.restaurant-seat-target { padding: 0; border: 2px dashed #aa7a36; background: rgba(255, 250, 240, .9); color: #7a321f; font: 900 12px system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
.restaurant-seat-target:hover, .restaurant-seat-target:focus-visible { background: #f5bb3b; outline: 3px solid #fff; outline-offset: 2px; }
.restaurant-player { z-index: 4; border: 3px solid #fff; background: #c62828; box-shadow: 0 0 0 4px rgba(198, 40, 40, .25), 0 2px 6px rgba(0, 0, 0, .4); pointer-events: none; transition: left .12s ease, top .12s ease; }
.restaurant-player::after { color: #fff; content: attr(data-initials); font-size: 12px; font-weight: 900; }
.medkit-search-targets { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.medkit-search-target { position: absolute; top: 47.4%; width: 6%; min-width: 22px; height: 5%; min-height: 22px; padding: 0; border: 2px solid rgba(136, 102, 57, .38); border-radius: 7px; background: rgba(245, 187, 59, .08); color: #50351f; font-size: 11px; pointer-events: auto; transform: translate(-50%, -50%); cursor: pointer; touch-action: manipulation; }
.medkit-search-target[data-medkit-search="left"] { left: 62.2%; }
.medkit-search-target[data-medkit-search="middle"] { left: 73.1%; }
.medkit-search-target[data-medkit-search="right"] { left: 84%; }
.medkit-search-target:hover, .medkit-search-target:focus-visible { border-color: #c62828; background: rgba(245, 187, 59, .48); outline: 3px solid #f5bb3b; outline-offset: 1px; }
.medkit-search-target.is-searched, .medkit-search-target:disabled { border-color: #8c7455; background: rgba(124, 101, 69, .2); cursor: default; }
.medkit-search-target.is-medkit-found { border-color: #3c8653; background: rgba(60, 134, 83, .55); }
.medkit-found-marker { position: absolute; z-index: 3; top: 47.4%; left: 73.1%; padding: 5px 8px; border: 2px solid #3c8653; border-radius: 6px; background: rgba(255, 255, 255, .96); color: #263a2b; font-size: clamp(8px, 1vw, 12px); font-weight: 900; transform: translate(-50%, -50%); }
.restaurant-interior.is-hostel-evening { background: #17191e; }
.restaurant-interior.is-hostel-evening .restaurant-floor-plan { filter: brightness(.62) saturate(.75) sepia(.12); }
.restaurant-interior.is-hostel-evening::after { position: fixed; z-index: 2; inset: 0; background: rgba(12, 19, 34, .18); content: ""; pointer-events: none; }
.restaurant-interior.is-hostel-arrival .restaurant-friend-marker { transition: left 1.3s ease-in-out, top 1.3s ease-in-out; }
.restaurant-interior.is-hostel-arrival .restaurant-player { transition: left 1.3s ease-in-out, top 1.3s ease-in-out; }
.hostel-bed-target { position: absolute; z-index: 6; display: grid; width: clamp(30px, 4vw, 44px); aspect-ratio: 1; place-items: center; padding: 0; border: 2px solid #ffe38a; border-radius: 50%; background: rgba(30, 25, 16, .9); box-shadow: 0 0 18px 7px rgba(255, 203, 70, .8); font-size: clamp(17px, 2.4vw, 25px); transform: translate(-50%, -50%); cursor: pointer; touch-action: manipulation; }
.hostel-bed-target:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hostel-open-door { position: absolute; z-index: 5; top: 42.8%; left: 73%; width: clamp(22px, 3vw, 36px); height: clamp(24px, 4vw, 42px); border: 2px solid #543925; border-radius: 3px; background: linear-gradient(90deg, #815838 0 18%, #d2a06b 18% 100%); box-shadow: 2px 3px 8px rgba(0, 0, 0, .5); transform: translate(-50%, -50%) perspective(24px) rotateY(-26deg); }
.restaurant-interior.is-hostel-night { background: #08090d; }
.restaurant-interior.is-hostel-night .restaurant-floor-plan { filter: brightness(.2) saturate(.55) sepia(.35); }
.restaurant-interior.is-hostel-night .restaurant-interior-header,
.restaurant-interior.is-hostel-night .restaurant-player-objective,
.restaurant-interior.is-hostel-night .restaurant-medkit-hud { filter: brightness(.5); }
.restaurant-interior.is-hostel-night::after { position: fixed; z-index: 2; inset: 0; background: radial-gradient(ellipse at 50% 73%, rgba(170, 0, 0, .45), rgba(75, 0, 0, .16) 38%, rgba(0, 0, 0, .48) 78%); content: ""; pointer-events: none; }
.restaurant-interior.is-hostel-lit { background: #17191c; }
.restaurant-interior.is-hostel-lit .restaurant-floor-plan { filter: brightness(.98) sepia(.06); }
.restaurant-interior.is-hostel-chase .restaurant-friend-marker { transition: left 1.1s ease-in-out, top 1.1s ease-in-out; }
.hostel-monster { position: absolute; z-index: 7; display: block; width: clamp(28px, 4vw, 46px); aspect-ratio: 1; border-radius: 50%; background: #030304; box-shadow: 0 0 18px 8px rgba(95, 0, 0, .7); transform: translate(-50%, -50%); transition: left .1s linear, top .1s linear; will-change: left, top; pointer-events: none; }
.hostel-applewood-reveal { position: absolute; z-index: 7; display: block; width: clamp(38px, 5vw, 60px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 0 12px rgba(255, 220, 100, .9)); transform: translate(-50%, -50%); transition: left .8s ease, top .8s ease; }
.hostel-monster::before, .hostel-monster::after { position: absolute; top: 39%; width: 7px; height: 7px; border-radius: 50%; background: #ff1928; box-shadow: 0 0 9px 4px rgba(255, 0, 22, .9); content: ""; }
.hostel-monster::before { left: 28%; }
.hostel-monster::after { right: 28%; }
.hostel-light-switch { position: absolute; z-index: 8; display: grid; width: clamp(28px, 4vw, 42px); aspect-ratio: 1; place-items: center; border: 2px solid #e8dfc7; border-radius: 5px; background: #554f43; box-shadow: 0 0 14px 4px rgba(255, 219, 136, .6); color: #fff3d3; font: 900 18px system-ui, sans-serif; transform: translate(-50%, -50%); cursor: pointer; touch-action: manipulation; }
.hostel-chase-caption { position: fixed; z-index: 11; right: 12px; bottom: 106px; left: 12px; display: grid; justify-items: center; gap: 4px; width: min(820px, calc(100% - 24px)); margin: 0 auto; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; background: rgba(5, 6, 8, .88); box-shadow: 0 4px 20px rgba(0, 0, 0, .45); color: #fff; text-align: center; pointer-events: none; }
.hostel-chase-caption strong { color: #f1c57b; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hostel-chase-caption span { font-size: clamp(14px, 2vw, 19px); line-height: 1.4; }
.midnight-transition { position: fixed; z-index: 20; inset: 0; display: grid; align-content: center; justify-items: center; gap: 18px; background: #000; color: #fff; text-align: center; animation: midnight-blur-in 4s ease both; }
.midnight-transition p { margin: 0; color: #bbb; font-size: clamp(16px, 3vw, 24px); animation: midnight-caption-out 2.4s ease both; }
.midnight-transition h2 { max-width: 100%; margin: 0; font-size: clamp(24px, 6vw, 64px); font-weight: 300; letter-spacing: .04em; }
.chase-death-screen { position: fixed; z-index: 30; inset: 0; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 24px; background: rgba(0, 0, 0, .97); color: #fff; text-align: center; }
.chase-death-screen img { width: clamp(84px, 18vw, 160px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.chase-death-screen h2 { margin: 0; font-size: clamp(26px, 5vw, 42px); }
.chase-death-screen p { margin: 0; color: #c7c7c7; }
.chase-death-screen button { min-height: 46px; padding: 10px 20px; border: 0; border-radius: 24px; background: #c62828; color: white; font: 700 15px system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
@keyframes midnight-blur-in { from { filter: blur(14px); opacity: 0; } to { filter: blur(0); opacity: 1; } }
@keyframes midnight-caption-out { 0%, 65% { opacity: 1; } 100% { opacity: 0; } }
.journey-scene.is-restaurant-interior .journey-layout,
.journey-scene.is-restaurant-interior .journey-road-scene,
.journey-scene.is-restaurant-interior .arrival-story,
.journey-scene.is-restaurant-interior .journey-header,
.journey-scene.is-restaurant-interior .journey-instructions { display: none; }
.journey-scene.is-restaurant-interior:not(.is-restaurant-walking) .journey-controls { display: none; }
@keyframes arrival-rock-drop { from { opacity: 0; transform: translate(-50%, -150%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes arrival-map-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-9px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-5px); } }
@keyframes arrival-phone-buzz { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-4px) rotate(-2deg); } 75% { transform: translateX(4px) rotate(2deg); } }

@media (prefers-reduced-motion: reduce) {
  .session-invitation.is-revealed { animation: none; }
  .typing-dot { animation: none; }
  .chat-conversation { scroll-behavior: auto; }
  .journey-road-van { transition: none; }
  .journey-scene.is-crash-impact .arrival-rock, .journey-scene.is-crash-impact .arrival-map-image, .arrival-phone.is-buzzing { animation: none; }
}

.site-footer { padding-top: 24px; padding-bottom: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-main { display: flex; justify-content: space-between; gap: 20px; }
.footer-main p { margin: 5px 0 10px; }
.footer-main a { line-height: 1.9; }
.footer-whisper { align-self: center; letter-spacing: .05em; }
.disclaimer { margin: 10px 0; padding-top: 12px; border-top: 1px solid var(--line); color: #62594d; font-size: 12px; }
.copyright { margin: 4px 0; color: #766d61; font-size: 12px; }

@media (max-width: 720px) {
  .masthead { align-items: flex-start; flex-direction: column; gap: 8px; }
  .masthead-note { text-align: left; }
  .site-nav a { flex: 1 1 30%; padding: 9px 10px; text-align: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 28px; }
  .hero-image { min-height: 220px; max-height: 310px; }
  .visit-strip { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .home-info-section { grid-template-columns: 1fr; gap: 12px; }
  .footer-main { flex-wrap: wrap; }
  .footer-main > * { flex: 1 1 40%; }
}

@media (max-width: 420px) {
  .brand { font-size: 28px; }
  .site-nav a { flex-basis: 45%; }
  .visit-strip, .prose, .game-shell { padding: 18px; }
  .session-stage { padding: 12px; }
  .session-panel { max-height: calc(100vh - 24px); padding: 12px; }
  .session-options { flex-direction: column; }
}

@media (max-width: 640px) {
  .group-chat { height: 100vh; height: 100dvh; padding-bottom: env(safe-area-inset-bottom); font-size: 15px; }
  .chat-header { padding: max(10px, env(safe-area-inset-top)) 12px 9px; }
  .chat-title-row h1 { font-size: 16px; }
  .chat-conversation { min-height: 0; padding: 14px 9px; -webkit-overflow-scrolling: touch; }
  .chat-message-content { max-width: 88%; }
  .chat-bubble { padding: 10px 12px; font-size: 15px; line-height: 1.38; }
  .chat-composer { gap: 7px; padding: 9px 10px max(12px, env(safe-area-inset-bottom)); }
  .chat-composer input { min-height: 42px; font-size: 16px; }
  .chat-call-invite { flex-wrap: wrap; }
  .chat-call-invite-copy { flex-basis: calc(100% - 60px); }
  .chat-call-invite .button { margin-left: 48px; }
  .call-screen { gap: 8px; padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)); }
  .call-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 7px; }
  .call-person { gap: 5px; border-radius: 9px; }
  .chat-call-invite { gap: 9px; padding: 10px; }
  .chat-call-invite .call-invite-icon { width: 36px; height: 36px; }
  .chat-call-invite .button { padding: 7px 13px; }
  .journey-header { top: 8px; right: 8px; left: 8px; align-items: flex-start; gap: 8px; padding: 10px 12px; }
  .journey-objective { max-width: 46%; font-size: 12px; text-align: right; }
  .journey-header h1 { font-size: 22px; }
  .journey-kicker { font-size: 10px; }
  .journey-instructions { top: 88px; left: 8px; max-width: min(56vw, 300px); padding: 7px 9px; font-size: 11px; }
  .journey-roster { top: 88px; right: 8px; width: min(190px, 43vw); max-height: 31vh; padding: 10px; }
  .journey-roster-title { font-size: 16px; }
  .journey-roster ul { grid-template-columns: 1fr; gap: 4px; }
  .journey-roster li { gap: 6px; font-size: 11px; }
  .journey-roster li::before { width: 18px; height: 18px; }
  .journey-controls { bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; gap: 8px; padding: 6px; }
  .journey-dpad { grid-template: "up up up" 42px "left down right" 42px / 44px 44px 44px; gap: 3px; }
  .journey-dpad button { min-width: 44px; font-size: 18px; }
  .journey-dpad button:nth-child(1) { width: 44px; }
  .journey-marker { width: clamp(22px, 5vw, 32px); font-size: clamp(8px, 1.8vw, 11px); }
  .journey-interact { min-height: 40px; padding: 8px 12px; font-size: 12px; }
  .journey-dialogue { right: 8px; bottom: 8px; left: 8px; width: auto; max-height: 28vh; padding: 9px 11px; }
  .arrival-objective { top: 8px; left: 8px; max-width: min(58vw, 300px); padding: 7px 9px; font-size: 11px; }
  .journey-scene.is-arrival .journey-instructions { top: 55px; }
  .arrival-dialogue { right: 8px; bottom: 8px; left: 8px; width: auto; padding: 10px 12px; }
  .arrival-dialogue p { font-size: 14px; }
  .arrival-sign { min-width: 130px; padding: 8px; font-size: 8px; }
  .arrival-sign strong { font-size: 10px; }
  .arrival-building { min-height: 90px; padding: 10px; }
  .arrival-building-windows { height: 20px; }
  .arrival-camera { width: min(160px, 35vw); min-height: 75px; font-size: 10px; }
  .arrival-phone { top: 18%; right: 4%; width: min(35vw, 150px); }
  .arrival-phone-lock-time { font-size: clamp(17px, 7vw, 28px); }
  .arrival-phone-lock-date { font-size: 6px; }
  .arrival-phone-sms { gap: 3px; margin-top: 10%; padding: 6%; }
  .arrival-phone-sms-label { font-size: 5px; }
  .arrival-phone-sms strong, .arrival-phone-sms p { font-size: 6px; }
  .arrival-owner { top: 32%; left: 72%; }
  .arrival-owner img { width: 42px; height: 42px; }
  .restaurant-interior { padding: 10px 12px 20px; }
  .restaurant-interior-header { top: -10px; margin: -10px -12px 8px; padding: 9px 12px; }
  .restaurant-interior-header img { width: 38px; height: 38px; }
  .restaurant-interior-header p { font-size: 8px; }
  .restaurant-medkit-hud { top: 54px; flex-wrap: wrap; gap: 5px 8px; padding: 8px 10px; }
  .restaurant-medkit-hud p { flex: 1 1 100%; margin: 0; font-size: 12px; }
  .restaurant-map-canvas { width: 100%; max-width: none; margin: 0; }
  .restaurant-friend-marker { width: clamp(18px, 5vw, 23px); font-size: 7px; }
  .restaurant-player-objective { position: sticky; top: 55px; margin: 8px auto; font-size: 12px; }
  .restaurant-seat-target, .restaurant-player { width: 24px; }
  .hostel-monster { width: 34px; }
  .hostel-light-switch { width: 36px; font-size: 22px; }
  .hostel-bed-target { width: 34px; font-size: 20px; }
  .hostel-chase-caption { right: 8px; bottom: 160px; left: 8px; width: auto; padding: 9px 11px; }
  .hostel-chase-caption strong { font-size: 11px; }
  .hostel-chase-caption span { font-size: 14px; }
  .chase-death-screen { padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); }
  .journey-dialogue-line { margin-bottom: 6px; font-size: 12px; }
  .journey-dialogue-speaker { font-size: 11px; }
  .journey-dialogue-next { min-height: 40px; }
  .journey-scene.is-road-scene .journey-controls { top: 48%; left: 8px; }
  .road-caption { right: 8px; bottom: 8px; left: 8px; width: auto; padding: 10px 12px; font-size: 13px; }
  .road-caption strong { font-size: 10px; }
}
