.life-world[data-pixel] { background: #172b30; color: #f3f6ef; font-family: "Ubuntu", sans-serif; }
.life-world[data-pixel] .life-world-shell { min-height: 100dvh; height: 100dvh; overflow: hidden; position: relative; }
.life-world[data-pixel] .life-world-shell:fullscreen { width: 100%; height: 100%; background: #172b30; }
.life-world[data-pixel]:not([data-screen="casting"]) .life-world-topbar { position: absolute; inset: 0 0 auto; z-index: 20; height: 54px; min-height: 54px; padding: 0 28px; border: 0; color: #f0f5ee; background: linear-gradient(#14252a99, #14252a00); flex-wrap: nowrap; align-content: normal; }
.life-world[data-pixel]:not([data-screen="casting"]) .life-wordmark { color: #f0f5ee; flex: none; }
.life-world[data-pixel] .life-world-topbar-inner:not(.site-header-inner) { display: flex; align-items: center; gap: 25px; width: 100%; height: 54px; }
.life-world[data-pixel]:not([data-screen="casting"]) .life-brand-mark { display: none; }
.life-world[data-pixel] .life-world-state { color: #d6e7e4; order: 0; flex-shrink: 0; flex-basis: auto; padding-left: 0; }
.life-world[data-pixel] .life-tools { gap: 3px; order: 0; margin-left: auto; }
.life-world[data-pixel]:not([data-screen="casting"]) .life-tools button { color: #e3eee7; }
.life-world[data-pixel] .life-tools button:hover { color: #6ec9e6; }
.life-world[data-pixel] .life-tools button:disabled { opacity: .3; cursor: default; }
.life-world[data-pixel] .life-content { min-height: 0; height: 100%; flex: 1; }
.date-mode-short { display: none; }
.date-game { position: relative; width: 100%; height: 100%; margin: 0; padding: 0; }
.date-stage { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: #a7bab8; }
.date-canvas { position: absolute; inset: 0; }
.date-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.date-canvas canvas:active { cursor: grabbing; }
.date-canvas canvas.is-tipsy { filter: blur(var(--date-intoxication-blur, 2px)); }
.date-heading { position: absolute; z-index: 3; top: 58px; left: 32px; color: #e7efe7; text-shadow: 0 1px 8px #122c31; pointer-events: none; }
.date-heading h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.date-heading > span { font-size: 11px; }
.date-canvas canvas.is-free-look { cursor: none; }
.date-hud { position: absolute; z-index: 3; top: 85px; left: 32px; right: 32px; display: flex; align-items: flex-start; gap: 24px; pointer-events: none; text-shadow: 0 1px 8px #142e32; }
.date-objective { flex: 1; min-width: 0; max-width: 560px; font-size: 16px; line-height: 1.4; }
.date-objective small { display: block; font-size: 11px; line-height: 1.5; color: #d7e7dd; margin-top: 6px; }
.date-objective .date-intoxication { color: #ebc6a2; }
.date-mood { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-left: auto; }
.date-mood i { color: #f1a2a8; }
.date-mood > span:last-child { width: 25px; font-variant-numeric: tabular-nums; }
.date-mood progress { width: 76px; height: 4px; border: 0; background: #314d4b; accent-color: #b5d2ad; }
.date-mood progress::-webkit-progress-bar { background: #314d4b; }
.date-mood progress::-webkit-progress-value { background: #b5d2ad; }
.date-mood progress[data-low="true"]::-webkit-progress-value { background: #e5989c; }
.date-clock { display: flex; align-items: center; gap: 6px; min-width: 52px; font-size: 11px; font-variant-numeric: tabular-nums; }
.date-crosshair { position: absolute; top: 50%; left: 50%; z-index: 4; width: 5px; height: 5px; transform: translate(-50%,-50%); border: 1px solid #ffffffcc; border-radius: 50%; background: #ffffff44; box-shadow: 0 0 2px #172b30; pointer-events: none; }
.date-transition { position: absolute; z-index: 9; inset: 0; opacity: 0; pointer-events: none; }
.date-overlay { position: absolute; z-index: 10; inset: 0; }
.date-menu { display: flex; align-items: center; padding: 100px max(40px, calc((100% - 1180px)/2)); background: linear-gradient(90deg,#12272df2, #12272dba 30%, #12272d15 80%); }
.date-menu-copy { min-width: 0; max-width: 540px; }
.date-location { font-size: 12px; color: #b8ceca; margin: 0 0 18px; }
.date-menu h2 { font: 500 52px/1.1 "Ubuntu", sans-serif; margin: 0 0 22px; color: #f1f3e8; }
.date-menu-copy > p:not(.date-location) { font-size: 15px; line-height: 1.7; color: #c0d1c8; margin: 0 0 30px; }
.date-world-select { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 24px; }
.date-world-select button { background: transparent; padding: 8px 0; border: 0; border-bottom: 1px solid transparent; color: #adbfba; font: inherit; font-size: 13px; }
.date-world-select button[aria-pressed="true"] { color: #7bd4e7; border-bottom-color: #7bd4e7; }
.date-menu-start { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.date-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; padding: 12px 18px; border: 1px solid #b5d9d76b; border-radius: 4px; background: #eef8f016; color: #eaf5ec; backdrop-filter: blur(14px); font: 500 14px "Ubuntu", sans-serif; }
.date-primary:hover { background: #d5f3ef2b; border-color: #b5d9d7; }
.date-resume { background: transparent; border: 0; border-bottom: 1px solid #b3c9bd66; padding: 10px 0; color: #c7d9cd; font: 400 13px "Ubuntu", sans-serif; }
.date-dialogue { position: absolute; z-index: 8; inset: auto 0 0; margin: 0; padding: 78px max(32px, calc((100% - 900px)/2)) 34px; background: linear-gradient(transparent,#132a30d9 28%,#12272df5); }
.date-dialogue[data-ambient="true"] { z-index: 5; padding-top: 42px; padding-bottom: 128px; pointer-events: none; }
.date-face { display: none; }
.date-lines { max-width: 900px; margin: 0 auto; }
.date-speaker { color: #add9cf; font-size: 12px; font-weight: 500; }
.date-lines > p { color: #f1f4eb; font-size: 18px; line-height: 1.6; margin: 10px 0 16px; }
.date-aside { display: block; color: #86c5d4; font-size: 11px; line-height: 1.6; margin-bottom: 12px; }
.date-choices { display: grid; gap: 3px; }
.date-choices button { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; max-width: 100%; width: 100%; border: 0; border-bottom: 1px solid #bbd5ca30; padding: 10px 0; background: transparent; color: #dfebe1; font: 400 14px/1.4 "Ubuntu", sans-serif; text-align: left; }
.date-choices button:hover { color: #7dd6e4; border-color: #86c5d4; }
.date-choices button i { flex-shrink: 0; font-size: 10px; }
.date-choices button:disabled { opacity: .5; }
.date-glasses-display { position: absolute; z-index: 6; left: 50%; bottom: max(26%, calc(var(--date-talk-height, 0px) + 28px)); transform: translateX(-50%); width: min(430px, calc(100% - 64px)); padding: 0; border: 0; color: #a7ff80; background: none; font: 500 17px/1.5 "Ubuntu", sans-serif; text-shadow: 0 1px 3px #06170c, 0 0 6px #87ff6638; pointer-events: none; }
.date-glasses-display p { margin: 8px 0 0; white-space: pre-line; }
.date-glasses-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; opacity: .8; }
.date-glasses-route { display: flex; align-items: center; gap: 18px; }
.date-glasses-route > i { flex: 0 0 26px; font-size: 26px; }
.date-glasses-route [data-date-route-arrow] { transform: rotate(var(--date-route-angle, 0rad)); }
.date-glasses-route small { display: block; font-size: 12px; }
.date-glasses-thinking { display: flex; gap: 5px; margin-top: 12px; height: 6px; }
.date-glasses-thinking i { width: 3px; height: 3px; background: currentColor; animation: date-optical-pulse 1.4s ease-in-out infinite; }
.date-glasses-thinking i:nth-child(2) { animation-delay: .2s; }
.date-glasses-thinking i:nth-child(3) { animation-delay: .4s; }
.date-dialogue[data-optical="true"] { padding-top: 36px; }
@keyframes date-optical-pulse { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion:reduce) { .date-glasses-thinking i { animation: none; opacity: .7; } }
.date-toast { position: absolute; z-index: 7; top: 145px; right: 32px; max-width: 42%; padding: 10px 12px; color: #e2efe2; background: #253c36cc; backdrop-filter: blur(12px); font-size: 12px; line-height: 1.5; }
.date-assistant, .date-toast { pointer-events: none; }
.date-feedback { position: absolute; z-index: 7; right: 32px; top: 198px; width: min(290px, 35%); padding: 10px 12px; color: #dbe9df; background: #122a30ad; backdrop-filter: blur(12px); border-left: 2px solid #b5d2ad; pointer-events: none; font-size: 12px; line-height: 1.5; }
.date-feedback[data-positive="false"] { border-left-color: #e5989c; }
.date-feedback > span { font-size: 11px; color: #bdd2c6; }
.date-feedback strong { margin-left: 8px; color: #b5d2ad; }
.date-feedback[data-positive="false"] strong { color: #e5989c; }
.date-feedback p { margin: 5px 0 0; }
.date-context { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 6; padding: 10px 16px; border: 1px solid #d8e8df55; border-radius: 4px; background: #18353dbb; color: #e1f4e9; font: 400 12px/1.4 "Ubuntu", sans-serif; max-width: min(400px,50%); text-align: center; backdrop-filter: blur(12px); }
.date-actions { position: absolute; z-index: 8; bottom: 32px; right: 32px; display: flex; gap: 8px; }
.date-actions button, .date-pad button { border: 1px solid #d1e5df66; border-radius: 4px; background: #17323b88; color: #e5f0e6; backdrop-filter: blur(12px); width: 42px; height: 42px; font-size: 19px; touch-action: none; user-select: none; }
.date-actions button:hover { background: #286273bb; }
.date-actions button:disabled { opacity: .35; }
.date-pad { display: none; position: absolute; z-index: 8; left: 16px; bottom: 20px; grid-template: repeat(3,40px)/repeat(3,40px); gap: 2px; }
.date-pad button { width: 40px; height: 40px; font-size: 16px; }
.date-pad [data-date-direction="up"] { grid-area: 1/2; }
.date-pad [data-date-direction="left"] { grid-area: 2/1; }
.date-pad [data-date-direction="right"] { grid-area: 2/3; }
.date-pad [data-date-direction="down"] { grid-area: 3/2; }
.date-bottom { position: absolute; z-index: 4; left: 32px; bottom: 12px; max-width: calc(100% - 64px); color: #d5dfcbb3; font-size: 9px; text-shadow: 0 1px 5px #142c30; pointer-events: none; }
.date-ending { display: flex; align-items: center; padding: 84px 32px 32px; overflow-y: auto; background: #12272df0; backdrop-filter: blur(5px); }
.date-ending-copy { width: min(780px,100%); margin: auto; }
.date-ending h2 { margin: 0 0 18px; font: 500 36px/1.2 "Ubuntu",sans-serif; }
.date-ending-copy > p { font-size: 15px; line-height: 1.75; max-width: 690px; margin-bottom: 18px; }
.date-epilogue { display: flex; gap: 12px; color: #b8cbb8; font-size: 13px; line-height: 1.7; margin-bottom: 24px; }
.date-epilogue i { color: #7cb5b9; }
.date-run-summary { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-bottom: 28px; color: #aec9bd; font-size: 12px; }
.date-run-summary strong { margin-left: 8px; color: #e6f1e4; font-size: 15px; font-weight: 500; }
.date-ending-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; }
.date-scores h3 { font: 500 13px "Ubuntu",sans-serif; margin-bottom: 12px; }
.date-scores > button:not(.date-reference) { display: grid; grid-template-columns: 1fr 100px 48px 18px; gap: 12px; width: 100%; border: 0; border-bottom: 1px solid #b2c8b52e; padding: 12px 0; background: transparent; color: #bdd6cd; text-align: left; font: 400 12px "Ubuntu",sans-serif; }
.date-scores strong { color: #85c5cd; font-weight: 500; }
.date-scores > p { color: #a2b6a8; font-size: 12px; }
.date-reference { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #b2d9cd; padding: 16px 0 0; font: 400 11px "Ubuntu",sans-serif; }
.date-pause { display: grid; place-items: center; background: #10272ac9; backdrop-filter: blur(10px); text-align: center; }
.date-pause h2 { font: 500 28px "Ubuntu",sans-serif; margin-bottom: 24px; }
.date-loading { display: grid; align-content: center; justify-items: center; min-height: 100dvh; gap: 20px; }
.date-loading h1 { font: 500 28px "Ubuntu",sans-serif; }
.date-loading span { color: #b3cec2; font-size: 13px; }
.date-loading button { background: #d9f4ea22; color: #d8ede3; border: 1px solid #a4c8ba; border-radius: 4px; padding: 10px 20px; }
.life-world[data-pixel] [hidden] { display: none !important; }
.life-world[data-pixel] button:focus-visible { outline: 2px solid #87d1e2; outline-offset: 4px; }
@media (max-width:700px) {
    .life-world[data-pixel]:not([data-screen="casting"]) .life-world-topbar { padding: 0 12px; gap: 8px; }
    .life-world[data-pixel] .life-world-topbar-inner:not(.site-header-inner) { gap: 8px; }
    .life-world[data-pixel]:not([data-screen="casting"]) .life-wordmark { font-size: 11px; white-space: nowrap; }
    .life-world[data-pixel] .life-world-state { font-size: 10px; white-space: nowrap; gap: 5px; }
    .date-mode-full { display: none; }
    .date-mode-short { display: inline; }
    .life-world[data-pixel] [data-date-fullscreen], [data-date-capture] { display: none; }
    .life-world[data-pixel] .life-tools { gap: 0; }
    .life-world[data-pixel] .life-tools button { width: 28px; height: 34px; font-size: 15px; }
    .date-heading { left: 16px; }
    .date-hud { left: 16px; right: 16px; top: 82px; flex-wrap: wrap; gap: 10px 16px; }
    .date-objective { flex: 1 1 100%; font-size: 13px; }
    .date-objective small { font-size: 10px; }
    .date-mood { margin-left: 0; }
    .date-mood, .date-clock { font-size: 10px; }
    .date-glasses-display { width: min(320px, calc(100% - 48px)); font-size: 14px; bottom: max(27%, calc(var(--date-talk-height, 0px) + 18px)); }
    .date-glasses-meta { font-size: 9px; }
    .date-glasses-route small { font-size: 11px; }
    [data-glasses-conversation="true"] .date-glasses-display { top: max(28%, calc(var(--date-hud-bottom, 152px) + 100px)); bottom: auto; }
    .date-toast { top: max(246px, calc(var(--date-hud-bottom, 152px) + 94px)); right: 16px; max-width: calc(100% - 32px); font-size: 11px; }
    .date-feedback { top: max(152px, var(--date-hud-bottom, 152px)); right: 16px; width: min(230px, calc(100% - 32px)); font-size: 11px; padding: 8px 10px; }
    .date-menu { padding: 80px 26px 36px; align-items: center; background: #12272dbf; }
    .date-menu h2 { font-size: 37px; }
    .date-menu-copy > p:not(.date-location) { font-size: 13px; }
    .date-world-select { gap: 18px; }
    .date-world-select button { font-size: 12px; }
    .date-menu-start { gap: 14px; }
    .date-primary { font-size: 12px; }
    .date-resume { font-size: 11px; }
    .date-dialogue { padding: 58px 20px 32px; max-height: calc(100% - 160px); overflow-y: auto; }
    .date-dialogue[data-ambient="true"] { padding-top: 36px; padding-bottom: 154px; }
    .date-lines > p { font-size: 15px; line-height: 1.55; margin: 8px 0 12px; }
    .date-aside { font-size: 10px; }
    .date-choices button { font-size: 12px; min-height: 44px; }
    .date-pad:not([hidden]) { display: grid; }
    .date-actions { right: 16px; bottom: 22px; gap: 5px; }
    .date-actions button { width: 36px; height: 40px; font-size: 17px; }
    .date-context { bottom: 76px; left: auto; right: 16px; transform: none; max-width: calc(100% - 160px); font-size: 10px; padding: 8px 10px; }
    .date-bottom { left: 16px; bottom: 7px; max-width: calc(100% - 32px); font-size: 8px; }
    .date-ending { align-items: flex-start; padding: 82px 24px 24px; }
    .date-ending h2 { font-size: 27px; }
    .date-ending-copy > p { font-size: 13px; }
    .date-epilogue { font-size: 12px; }
    .date-scores > button:not(.date-reference) { grid-template-columns: 1fr 62px 34px 14px; gap: 6px; font-size: 10px; }
    .date-run-summary { gap: 10px 18px; font-size: 11px; }
}
@media (max-width:360px) {
    .life-world[data-pixel] .life-tools button { width: 24px; }
    .date-menu { padding-left: 20px; padding-right: 20px; }
    .date-menu h2 { font-size: 32px; }
    .date-dialogue { padding-left: 16px; padding-right: 16px; }
}
@media (max-height:560px) {
    .date-menu h2 { font-size: 32px; }
    .date-menu-copy > p:not(.date-location) { margin-bottom: 14px; }
    .date-dialogue { padding-top: 25px; padding-bottom: 20px; }
    .date-lines > p { font-size: 14px; margin: 4px 0 8px; }
    .date-choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
    .date-choices button { width: auto; min-height: 36px; font-size: 12px; }
}
