:root {
  color-scheme: dark;
  --forest: #1d3726;
  --leaf: #a6db83;
  --cream: #f5f0d8;
  --glass: rgba(17, 35, 24, .76);
}
* { box-sizing: border-box; }
html, body, #app { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: #8fc8dc; color: white; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button { font: inherit; }
#app { position: relative; isolation: isolate; }
#game-root { position: absolute; inset: 0; background: linear-gradient(#94cee3 0%, #d4e8c5 65%, #78ac5c 100%); }
#game-root canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.is-hidden { display: none !important; }
.screen { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; overflow: hidden; }
.screen--menu { background: linear-gradient(180deg, #92cfe4 0%, #cbe4c3 56%, #6e9e55 100%); }
.menu-landscape { position: absolute; inset: 0; overflow: hidden; }
.menu-sun { position: absolute; width: 104px; height: 104px; border-radius: 50%; background: #fff0b0; right: 16%; top: 12%; box-shadow: 0 0 65px #fff0b088; }
.menu-hill { position: absolute; width: 150%; left: -25%; border-radius: 50% 50% 0 0; }
.menu-hill--back { height: 45%; bottom: 9%; background: #89b96e; transform: rotate(-4deg); }
.menu-hill--front { height: 37%; bottom: -8%; background: #548c4b; transform: rotate(3deg); }
.menu-tree { position: absolute; bottom: 19%; width: 0; height: 0; border-left: 35px solid transparent; border-right: 35px solid transparent; border-bottom: 106px solid #326b42; filter: drop-shadow(5px 5px 0 #24553755); }
.menu-tree::before { content: ""; position: absolute; left: -26px; top: 29px; width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 79px solid #3d8050; }
.menu-tree::after { content: ""; position: absolute; left: -5px; top: 92px; width: 10px; height: 31px; background: #795438; }
.menu-tree--one { left: 8%; transform: scale(1.35); }
.menu-tree--two { left: 23%; transform: scale(.85); bottom: 17%; }
.menu-tree--three { right: 12%; transform: scale(1.45); }
.menu-tree--four { right: 29%; transform: scale(.82); bottom: 17%; }
.menu-content { position: relative; z-index: 1; width: min(460px, calc(100% - 40px)); margin-top: -2vh; text-align: center; padding: 38px 28px 34px; border: 1px solid #ffffff75; border-radius: 22px; background: rgba(23, 50, 32, .72); box-shadow: 0 22px 70px #17351f4d; backdrop-filter: blur(10px); }
.menu-kicker { font-size: 10px; font-weight: 800; letter-spacing: .34em; color: #c6e9a8; margin-bottom: 12px; }
.menu-content h1 { margin: 0; font-size: clamp(38px, 8vw, 60px); line-height: .94; letter-spacing: -.055em; font-weight: 950; }
.menu-content h1 span { color: #b6e98c; }
.menu-content p { margin: 17px 0 25px; font-size: 13px; color: #e1efd6; }
.primary-button { min-width: 190px; min-height: 52px; padding: 0 28px; border: 2px solid #e4f6cb; border-radius: 12px; color: #203b25; background: linear-gradient(180deg, #c8f29b, #9fdb73); font-size: 14px; font-weight: 950; letter-spacing: .13em; cursor: pointer; box-shadow: 0 5px 0 #568a49, 0 12px 30px #071d1066; transition: transform .15s, filter .15s; }
.primary-button:active { transform: translateY(3px); box-shadow: 0 2px 0 #568a49, 0 7px 16px #071d1066; }
.primary-button:hover { filter: brightness(1.07); }
.menu-footer { position: absolute; bottom: max(17px, env(safe-area-inset-bottom)); z-index: 1; font-size: 9px; letter-spacing: .24em; font-weight: 800; color: #eff8dc; text-shadow: 0 2px 6px #17351f; }
.screen--loading { background: linear-gradient(180deg, #96d0e1 0%, #cce3bd 65%, #679c52 100%); }
.loading-card { width: min(340px, calc(100% - 42px)); padding: 28px 25px 24px; text-align: center; border-radius: 19px; border: 1px solid #ffffff88; background: rgba(20, 44, 28, .82); box-shadow: 0 20px 60px #1c3d2766; }
.pixel-pine { position: relative; width: 88px; height: 94px; margin: 0 auto 13px; transform-origin: 50% 50%; animation: pine-spin 2.1s steps(12, end) infinite; image-rendering: pixelated; }
.pine-layer { position: absolute; left: 50%; width: 0; height: 0; transform: translateX(-50%); border-left: solid transparent; border-right: solid transparent; }
.pine-layer--top { top: 5px; border-left-width: 13px; border-right-width: 13px; border-bottom: 25px solid #8bd66d; }
.pine-layer--middle { top: 23px; border-left-width: 24px; border-right-width: 24px; border-bottom: 34px solid #4da94e; }
.pine-layer--bottom { top: 44px; border-left-width: 35px; border-right-width: 35px; border-bottom: 36px solid #287b42; }
.pine-trunk { position: absolute; top: 76px; left: 39px; width: 10px; height: 14px; background: #94603b; box-shadow: 3px 0 #71472e; }
.pine-star { position: absolute; top: 0; left: 42px; width: 4px; height: 4px; background: #e4ffb8; }
@keyframes pine-spin { to { transform: rotate(360deg); } }
.loading-title { font-size: 19px; font-weight: 950; letter-spacing: .25em; color: #f4f8e8; }
.loading-status { margin: 8px 0 18px; font-size: 11px; color: #d6e9cc; }
.progress-track { width: 100%; height: 12px; overflow: hidden; border: 1px solid #d9efc9; border-radius: 20px; background: #1b3525; box-shadow: inset 0 2px 4px #0005; }
.progress-fill { width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #71bd5d, #d0f29a); box-shadow: 0 0 12px #a5e77a88; transition: width .16s ease; }
.progress-number { margin-top: 9px; font-size: 11px; color: #e2f0d9; font-variant-numeric: tabular-nums; }
#game-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.game-label { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 14px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid #ffffff38; border-radius: 12px; background: var(--glass); box-shadow: 0 5px 20px #10281933; backdrop-filter: blur(8px); }
.game-label__dot { width: 9px; height: 9px; border-radius: 50%; background: #a7e77d; box-shadow: 0 0 10px #a7e77d; }
.game-label strong, .game-label small { display: block; }
.game-label strong { font-size: 11px; letter-spacing: .08em; }
.game-label small { margin-top: 2px; color: #c8ddc3; font-size: 9px; }
.desktop-help { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; display: flex; flex-direction: column; gap: 4px; padding: 11px 13px; border: 1px solid #ffffff38; border-radius: 12px; background: var(--glass); color: #d8e8d2; font-size: 10px; backdrop-filter: blur(8px); }
.desktop-help strong { margin-bottom: 2px; color: #bce99d; letter-spacing: .13em; font-size: 9px; }
.crosshair { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); opacity: .58; }
.mobile-controls { display: none; position: absolute; inset: auto 0 max(16px, env(safe-area-inset-bottom)); padding: 0 18px; align-items: flex-end; justify-content: space-between; }
.joystick-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.control-caption { font-size: 9px; font-weight: 900; letter-spacing: .16em; color: #f3f5df; text-shadow: 0 2px 5px #102819; }
.joystick { width: 112px; height: 112px; position: relative; border: 1px solid #ffffff94; border-radius: 50%; background: radial-gradient(circle, #f2f7df26 0%, #0d241c82 75%); box-shadow: inset 0 0 18px #071d1744, 0 5px 15px #08180e55; pointer-events: auto; touch-action: none; }
.joystick::before { content: ""; position: absolute; inset: 18px; border: 1px dashed #ffffff38; border-radius: 50%; }
.joystick-knob { position: absolute; left: 34px; top: 34px; width: 44px; height: 44px; border: 1px solid #ffffffc9; border-radius: 50%; background: linear-gradient(145deg, #e6f5c9e8, #9fc78bc9); box-shadow: 0 3px 9px #071d1766; transform: translate(0, 0); }
.mobile-right-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.joystick--look { width: 100px; height: 100px; }
.joystick--look .joystick-knob { left: 30px; top: 30px; width: 40px; height: 40px; }
.jump-button { pointer-events: auto; min-width: 76px; height: 43px; border: 1px solid #ffffffa8; border-radius: 13px; background: #d2f09c; color: #203b25; font-size: 10px; font-weight: 950; letter-spacing: .08em; box-shadow: 0 4px 0 #638b4c, 0 6px 15px #071d1766; touch-action: none; }
.jump-button:active { transform: translateY(3px); box-shadow: 0 1px 0 #638b4c; }
.touch-hint { display: none; position: absolute; left: 50%; bottom: max(145px, calc(env(safe-area-inset-bottom) + 145px)); transform: translateX(-50%); white-space: nowrap; padding: 7px 11px; border-radius: 18px; background: #10291dbb; color: #eff7e5; font-size: 9px; }
.error-message { position: absolute; z-index: 20; left: 50%; top: 16px; transform: translateX(-50%); max-width: calc(100% - 30px); padding: 12px 15px; border-radius: 10px; background: #6e2828; color: white; font-size: 12px; }
@media (max-width: 760px), (pointer: coarse) {
  .desktop-help { display: none; }
  .mobile-controls { display: flex; }
  .touch-hint { display: block; }
  .crosshair { opacity: .3; }
  .menu-content { padding: 32px 20px 29px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .joystick { width: 88px; height: 88px; }
  .joystick-knob { left: 26px; top: 26px; width: 36px; height: 36px; }
  .joystick--look { width: 82px; height: 82px; }
  .joystick--look .joystick-knob { left: 25px; top: 25px; width: 32px; height: 32px; }
  .mobile-right-controls { gap: 5px; }
  .jump-button { height: 36px; }
  .touch-hint { display: none; }
}

/* Character customization and action input */
.shirt-picker {
  position: absolute; top: max(76px, calc(env(safe-area-inset-top) + 76px)); left: 14px;
  display: flex; align-items: center; gap: 7px; padding: 8px 10px;
  border: 1px solid #ffffff38; border-radius: 12px; background: var(--glass);
  box-shadow: 0 5px 20px #10281933; backdrop-filter: blur(8px); pointer-events: auto;
}
.shirt-picker span { margin-right: 3px; color: #d8e8d2; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.shirt-swatch { width: 22px; height: 22px; border: 2px solid #ffffff82; border-radius: 7px; cursor: pointer; box-shadow: 0 1px 3px #0005; }
.shirt-swatch.is-selected { outline: 2px solid #d7f0aa; outline-offset: 2px; }
.swatch-red { background: repeating-linear-gradient(0deg, transparent 0 7px, #111 7px 11px), repeating-linear-gradient(90deg, #b93632 0 7px, #111 7px 11px); }
.swatch-yellow { background: repeating-linear-gradient(0deg, transparent 0 7px, #111 7px 11px), repeating-linear-gradient(90deg, #c7a52a 0 7px, #111 7px 11px); }
.swatch-green { background: repeating-linear-gradient(0deg, transparent 0 7px, #111 7px 11px), repeating-linear-gradient(90deg, #397b4d 0 7px, #111 7px 11px); }
.swatch-blue { background: repeating-linear-gradient(0deg, transparent 0 7px, #111 7px 11px), repeating-linear-gradient(90deg, #376ca5 0 7px, #111 7px 11px); }
.action-button { pointer-events: auto; min-width: 76px; height: 43px; border: 1px solid #ffffffa8; border-radius: 13px; background: #e7c18d; color: #3f2b19; font-size: 10px; font-weight: 950; letter-spacing: .08em; box-shadow: 0 4px 0 #9b7148, 0 6px 15px #071d1766; touch-action: none; }
.action-button:active { transform: translateY(3px); box-shadow: 0 1px 0 #9b7148; }
@media (max-width: 760px), (pointer: coarse) {
  .shirt-picker { top: max(72px, calc(env(safe-area-inset-top) + 72px)); transform: scale(.92); transform-origin: top left; }
  .game-label { max-width: calc(100% - 175px); }
}

/* Vila, estoque e interação contextual */
.village-status {
  position: absolute; top: max(128px, calc(env(safe-area-inset-top) + 128px)); right: 14px;
  width: min(270px, 45vw); padding: 11px 13px; border: 1px solid #ffffff45; border-radius: 13px;
  background: var(--glass); box-shadow: 0 7px 22px #10281944; backdrop-filter: blur(9px); color: #e6efd9;
}
.status-topline, .status-subline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-topline span, .status-subline span { font-size: 9px; font-weight: 900; letter-spacing: .14em; color: #c6dbba; }
.status-topline strong { font-size: 20px; color: #d4f29d; font-variant-numeric: tabular-nums; }
.status-subline { margin-top: 5px; padding-top: 5px; border-top: 1px solid #ffffff20; }
.status-subline strong { font-size: 12px; color: #fff0ce; }
.stock-value { margin-top: 7px; color: #d1e3c5; font-size: 9px; line-height: 1.45; }
.interaction-banner {
  position: absolute; z-index: 2; left: 50%; bottom: max(17px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; width: min(540px, calc(100% - 34px));
  padding: 9px 15px; overflow: hidden; border: 1px solid #f5e6b9a8; border-radius: 13px;
  background: linear-gradient(105deg, #365d39, #a17b42, #426b43, #365d39); background-size: 260% 100%;
  color: #fff7dc; box-shadow: 0 5px 0 #283e2b, 0 10px 24px #0d201a66; cursor: pointer; pointer-events: auto;
  font-size: 10px; font-weight: 950; letter-spacing: .1em; text-shadow: 0 1px 2px #1c2d1a;
  animation: banner-gradient 4s linear infinite, banner-breathe 1.9s ease-in-out infinite;
}
.interaction-banner:active { transform: translate(-50%, 2px); }
.interaction-banner kbd { position: relative; z-index: 1; min-width: 27px; padding: 4px 7px; border: 1px solid #fff7dcaa; border-radius: 6px; background: #172c20aa; color: #fff3c8; font: inherit; }
#interaction-text { position: relative; z-index: 1; text-align: center; }
.interaction-glow { position: absolute; inset: -40% auto -40% -30%; width: 24%; transform: skewX(-18deg); background: #ffffff26; filter: blur(3px); animation: banner-glide 2.6s ease-in-out infinite; }
@keyframes banner-gradient { to { background-position: 260% 0; } }
@keyframes banner-breathe { 50% { filter: brightness(1.13); } }
@keyframes banner-glide { 50% { left: 110%; } }
.work-progress {
  position: absolute; z-index: 2; left: 50%; bottom: max(72px, calc(env(safe-area-inset-bottom) + 72px)); transform: translateX(-50%);
  width: min(430px, calc(100% - 40px)); padding: 10px 13px; border: 1px solid #ffffff48; border-radius: 11px;
  background: rgba(20, 38, 25, .86); box-shadow: 0 5px 20px #10281944; pointer-events: none;
}
.work-progress-title { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.work-progress-title span { font-size: 8px; color: #c6e6a6; font-weight: 900; letter-spacing: .14em; }
.work-progress-title strong { font-size: 11px; color: #fff4d9; }
.work-progress-track { height: 8px; overflow: hidden; border-radius: 8px; background: #08160e; border: 1px solid #d5e8bf55; }
.work-progress-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #70bb57, #e3d18b); transition: width .15s linear; }
.notification-toast {
  position: absolute; z-index: 7; left: 50%; top: max(15px, env(safe-area-inset-top)); transform: translate(-50%, -12px);
  max-width: calc(100% - 30px); padding: 10px 15px; border: 1px solid #f5e7bd88; border-radius: 10px;
  background: rgba(35, 49, 29, .92); color: #fff1ca; font-size: 11px; font-weight: 800; text-align: center;
  box-shadow: 0 8px 24px #101e1644; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.notification-toast.toast-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px), (pointer: coarse) {
  .village-status { top: max(78px, calc(env(safe-area-inset-top) + 78px)); width: min(210px, 47vw); padding: 8px 9px; }
  .status-topline strong { font-size: 16px; }
  .stock-value { font-size: 8px; }
  .interaction-banner { bottom: max(144px, calc(env(safe-area-inset-bottom) + 144px)); min-height: 39px; padding: 7px 10px; gap: 7px; font-size: 8px; }
  .work-progress { bottom: max(190px, calc(env(safe-area-inset-bottom) + 190px)); }
  .notification-toast { top: max(12px, env(safe-area-inset-top)); }
}
@media (max-height: 560px) and (orientation: landscape) {
  .village-status { top: 74px; width: 190px; }
  .interaction-banner { bottom: 106px; }
  .work-progress { bottom: 151px; }
}

/* Main menu, multiplayer lobby and comic prologue */
.menu-actions { display: grid; gap: 12px; justify-items: center; margin-top: 18px; }
.secondary-button { min-width: 190px; min-height: 47px; padding: 0 22px; border: 1px solid #e4f6cb; border-radius: 12px; color: #f4f2d9; background: linear-gradient(180deg, #536e45, #354e35); font-size: 11px; font-weight: 950; letter-spacing: .11em; cursor: pointer; box-shadow: 0 4px 0 #203d2a, 0 9px 22px #071d1066; }
.secondary-button:active, .small-button:active { transform: translateY(2px); }
.screen--multiplayer, .screen--party { overflow-y: auto; padding: max(20px, env(safe-area-inset-top)) 0 max(22px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 50% 0%, #779b61 0%, #2d4f37 56%, #172c22 100%); }
.multiplayer-card, .party-card { width: min(470px, calc(100% - 30px)); max-height: 100%; overflow-y: auto; padding: 25px 24px 20px; border: 1px solid #e7eccb66; border-radius: 20px; background: rgba(18, 35, 25, .91); box-shadow: 0 22px 70px #07180f99; text-align: center; }
.multiplayer-card h2, .party-card h2 { margin: 0; font-size: clamp(30px, 7vw, 43px); line-height: .95; letter-spacing: -.045em; }
.multiplayer-card h2 span, .party-card h2 span { color: #b9e58f; }
.multiplayer-intro, .party-subtitle { color: #d9e6d1; font-size: 12px; margin: 11px 0 17px; }
.field-label { display: block; text-align: left; margin: 0 0 6px; color: #c9e3b5; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.game-input { min-width: 0; width: 100%; height: 43px; padding: 0 12px; border: 1px solid #d9e9c077; border-radius: 9px; outline: none; background: #0c1e15; color: #fff6dc; font-size: 12px; }
.game-input:focus { border-color: #b7e78b; box-shadow: 0 0 0 2px #b7e78b22; }
.mp-actions { display: grid; gap: 9px; margin-top: 12px; }
.mp-actions .primary-button, .mp-actions .secondary-button { width: 100%; }
.join-code-row { display: flex; gap: 8px; margin-top: 10px; }
.code-input { text-transform: uppercase; letter-spacing: .2em; text-align: center; font-weight: 900; }
.small-button { min-width: 92px; border: 1px solid #e0efc3; border-radius: 9px; background: #a6d97c; color: #1b3422; font-size: 10px; font-weight: 950; letter-spacing: .1em; cursor: pointer; }
.public-rooms-head { display: flex; justify-content: space-between; align-items: center; margin: 19px 0 7px; color: #bfe49e; font-size: 9px; font-weight: 950; letter-spacing: .12em; }
.public-rooms-head button { padding: 4px 0 4px 8px; border: 0; background: transparent; color: #f2deb0; font-size: 9px; font-weight: 900; cursor: pointer; }
.public-rooms-list { display: grid; gap: 6px; max-height: 120px; overflow-y: auto; text-align: left; }
.public-room-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid #ffffff22; border-radius: 9px; background: #ffffff0b; color: #e9efd9; font-size: 10px; }
.public-room-row button { border: 1px solid #b7df8c66; border-radius: 7px; background: #517347; color: white; padding: 6px 9px; font-size: 9px; font-weight: 900; }
.muted-note { color: #aebfa9; font-size: 10px; padding: 9px 2px; }
.server-settings { margin-top: 13px; border-top: 1px solid #ffffff20; padding-top: 10px; text-align: left; color: #dce8ce; }
.server-settings summary { color: #d9d6af; font-size: 10px; font-weight: 800; cursor: pointer; }
.server-settings p { color: #b7c9b3; font-size: 9px; line-height: 1.45; }
.form-message { min-height: 14px; margin: 10px 0 0; color: #e4c997; font-size: 10px; line-height: 1.45; }
.text-button { margin-top: 12px; border: 0; background: transparent; color: #d9e5cf; font-size: 10px; font-weight: 900; letter-spacing: .15em; cursor: pointer; }
.party-card { width: min(420px, calc(100% - 30px)); }
.party-subtitle { margin-bottom: 14px; }
.invite-code-label { color: #bfe49e; font-size: 9px; font-weight: 950; letter-spacing: .18em; }
.invite-code { margin: 8px 0 14px; padding: 8px 18px; border: 1px dashed #e6d19c; border-radius: 12px; background: #2b422d; color: #fff0bd; font-size: 30px; font-weight: 950; letter-spacing: .22em; cursor: pointer; }
.invite-code span { font-size: 15px; letter-spacing: 0; vertical-align: 4px; }
.party-player-list { display: grid; gap: 7px; margin: 10px 0; text-align: left; }
.party-player-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 10px; border: 1px solid #ffffff23; border-radius: 9px; background: #ffffff0a; color: #f2f0dc; font-size: 11px; }
.party-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #a2c979; color: #233b25; font-weight: 950; }
.party-player-row small { display: block; color: #b4c3a9; font-size: 8px; margin-top: 2px; }
.party-player-row .host-tag { margin-left: auto; color: #f2d59a; font-size: 8px; font-weight: 950; letter-spacing: .12em; }
.party-limit { margin: 8px 0 13px; color: #b8c8ae; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.party-card > .primary-button { width: 100%; }
.party-card > .primary-button:disabled { filter: grayscale(.7); opacity: .55; cursor: not-allowed; }
.screen--story { padding: 28px 22px max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; background: #050706; color: #eee9db; }
.story-topline { display: flex; justify-content: space-between; color: #829079; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.story-content { width: min(680px, 100%); margin: auto; padding: 12px 0 26px; text-align: left; }
.story-stamp { display: flex; justify-content: flex-start; margin-bottom: 24px; }
.story-stamp img { display: block; width: min(560px, 94vw); max-height: 34vh; object-fit: cover; border: 1px solid #b69361; border-radius: 12px; box-shadow: 0 12px 38px #0009; }
.story-kicker { color: #c39b64; font-size: 9px; font-weight: 950; letter-spacing: .19em; margin-bottom: 13px; }
.story-content h2 { max-width: 620px; margin: 0; color: #f5f0df; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 6vw, 48px); line-height: 1.12; font-weight: 600; }
.story-subtext { max-width: 590px; color: #aaa99a; font-size: clamp(12px, 2.3vw, 15px); line-height: 1.7; margin-top: 15px; }
.story-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; width: min(680px, 100%); margin: 0 auto; }
.story-skip, .story-next { min-height: 42px; padding: 0 16px; border-radius: 8px; border: 1px solid #ffffff33; background: transparent; color: #c4c2b1; font-size: 9px; font-weight: 900; letter-spacing: .14em; cursor: pointer; }
.story-next { border-color: #b2c98d; background: #a8c77f; color: #18281c; }
.story-next span { padding-left: 9px; font-size: 15px; }
@media (max-width: 520px) {
  .multiplayer-card, .party-card { padding: 22px 17px 17px; }
  .screen--story { padding-left: 22px; padding-right: 22px; }
  .story-stamp img { width: min(100%, 430px); max-height: 28vh; }
  .story-content h2 { font-size: 30px; }
  .story-subtext { font-size: 12px; }
}
