.network-night-page { background: #f5f7fa; }
.night-hero { padding-top: 28px; padding-bottom: 30px; }
.night-hero .breadcrumbs ol { margin-bottom: 24px; }
.night-hero-line { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.night-hero .kicker { margin: 0 0 13px; color: var(--teal); font-size: 12px; letter-spacing: .08em; }
.night-hero .kicker span { margin-left: 12px; padding-left: 12px; border-left: 1px solid #c6d7de; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.night-hero h1 { margin: 0 0 14px; font-size: clamp(29px,3.4vw,43px); line-height: 1.3; letter-spacing: -.025em; }
.night-hero-line p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.night-hero-stamp { flex-shrink: 0; padding: 15px 20px; border: 1px solid #c9d6df; color: #718291; font-size: 12px; line-height: 1.9; transform: rotate(5deg); }
.night-hero-stamp b { color: #536b7c; font-size: 16px; font-weight: 500; }
.night-play { padding-bottom: 20px; scroll-margin-top: 100px; }
.night-stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; padding: 0 3px; }
.night-stage-bar > div { display: flex; align-items: center; gap: 8px; }
.night-stage-bar h2 { margin: 0; font-size: 12px; font-weight: 500; color: #536b7e; }
.night-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #b48b46; }
.night-stage-bar > p { display: flex; align-items: baseline; gap: 12px; margin: 0; color: #768697; font-size: 11px; }
[data-night-time] { color: var(--ink); font: 600 21px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric: tabular-nums; }
.night-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(290px,1fr); align-items: start; gap: 24px; }
.night-house { overflow: hidden; padding: 0 22px 0; border: 1px solid #1e3e5c; border-radius: 12px; background: #193953; box-shadow: 0 8px 24px #142c4512; }
.night-sky { display: flex; align-items: center; justify-content: space-around; height: 32px; color: #7793ac; font-size: 12px; }
.night-sky span:nth-child(3) { color: #eacb95; font-size: 22px; }
.night-roof { height: 34px; padding-top: 11px; border: 1px solid #7190a4; border-bottom: 0; border-radius: 40px 40px 0 0; background: #2a4b63; text-align: center; }
.night-roof span { color: #d1dce2; font-size: 10px; letter-spacing: .16em; }
.night-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; background: #36556c; border: 1px solid #7190a4; border-bottom: 0; }
.night-room { display: flex; position: relative; min-width: 0; flex-direction: column; align-items: stretch; padding: 13px 13px 12px; border: 2px solid transparent; border-radius: 6px; background: #e9e0cb; text-align: left; color: #304b5b; transition: background .25s,border-color .2s; }
.night-room:nth-child(2) { background: #e2e4d7; }
.night-room:nth-child(3) { background: #e8ddc8; }
.night-room:nth-child(4) { background: #dce3df; }
.night-room:hover { border-color: #b1c6ce; }
.night-room.is-selected { border-color: #e1ad56; box-shadow: 0 0 0 1px #e1ad5650; }
.night-room:focus-visible { outline: 3px solid #fff1ce; outline-offset: 2px; }
.night-room-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 10px; }
.night-room-top > span:first-child { font-weight: 650; letter-spacing: .12em; }
.night-room-indicator { padding: 1px 6px; border: 1px solid #b79f7d; border-radius: 3px; color: #7e622e; font-size: 9px; line-height: 1.6; white-space: nowrap; }
.night-room.is-good .night-room-indicator { border-color: #9ab6a1; color: #356f56; background: #ebf0df; }
.night-illustration { display: block; width: 100%; height: auto; margin: 3px 0 0; }
.night-room-person { font-size: 12px; font-weight: 650; }
.night-room-person small { display: block; margin-top: 2px; color: #6a7776; font-size: 10px; font-weight: 400; }
.night-dialogue { position: relative; display: block; min-height: 42px; margin-top: 9px; padding: 7px 8px; border: 1px solid #c9c4af; border-radius: 3px 9px 9px 9px; color: #5d655e; background: #fff9ecb3; font-size: 11px; line-height: 1.65; }
.night-room.is-good .night-dialogue { color: #346751; background: #f1f5e8; border-color: #bacbb0; }
.night-router-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 51px; padding: 9px 0; color: #d2dfe5; }
.night-router-line > span { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.night-router-line svg { width: 22px; height: 22px; color: #e8bd77; flex: 0 0 auto; }
.night-router-line small { color: #a4bdce; font-size: 9px; text-align: right; }
.night-clue { position: relative; margin-top: 15px; padding: 18px 21px; border: 1px solid #d8e1e7; border-left: 3px solid #c4a066; border-radius: 5px; background: #fffdf7; }
.night-clue-label { display: block; margin-bottom: 8px; color: #8b794f; font-size: 10px; }
.night-clue h3 { margin: 0 0 7px; color: #3b5060; font-size: 14px; }
.night-clue p { min-height: 45px; margin: 0; color: #667581; font-size: 12px; line-height: 1.9; }
.night-console { scroll-margin-top: 84px; padding: 22px; border: 1px solid #d9e3ec; border-radius: 10px; background: #fff; }
.night-console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.night-console-head > div > span { display: block; color: var(--muted); font-size: 10px; }
.night-console-head h2 { margin: 2px 0 0; font-size: 23px; }
.night-tickets { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 69px; }
.night-chances-text { color: #7b8c9b; font-size: 11px; line-height: 1.4; }
.night-chances-text strong { margin-inline: 3px; color: #355c7e; font: 600 16px/1 ui-monospace,SFMono-Regular,Consolas,monospace; }
.night-chance-bars { display: flex; gap: 4px; }
.night-chance-bars i { width: 20px; height: 3px; border-radius: 2px; background: #5d86aa; transition: background .2s; }
.night-chance-bars .is-spent { background: #e0e7ed; }
.night-pocket { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: -3px 0 15px; }
.night-pocket span { padding: 5px 3px; border: 1px solid #e5e8e5; border-radius: 3px; color: #8a7c63; background: #fbfaf6; text-align: center; font-size: 9px; }
.night-pocket .is-good { border-color: #c5d9cd; color: #3c7d62; background: #f2f8f3; }
.night-intro { margin-bottom: 17px; padding: 14px; border: 1px solid #e6dfcf; border-radius: 5px; background: #fcf9f1; }
.night-intro p { margin: 0 0 13px; color: #6b7068; font-size: 12px; line-height: 1.8; }
.night-intro .btn { width: 100%; min-height: 42px; padding: 9px 12px; font-size: 12px; }
.night-intro small { display: block; margin-top: 7px; color: #8c887b; text-align: center; font-size: 10px; }
.night-choice-list { display: grid; gap: 8px; }
.night-action { display: flex; align-items: center; gap: 11px; width: 100%; min-width: 0; min-height: 65px; padding: 11px 12px; border: 1px solid #dce5ed; border-radius: 5px; background: #fff; text-align: left; color: #334f66; transition: background .2s,border-color .2s,transform .2s; }
.night-action:hover:not(:disabled) { transform: translateY(-1px); border-color: #8fb8de; background: #f5f9ff; }
.night-action-icon { display: flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 32px; color: #6a8ba7; }
.night-action-icon svg { width: 23px; height: 23px; }
.night-action > span:nth-child(2) { flex: 1; min-width: 0; }
.night-action strong { display: block; font-size: 12px; font-weight: 600; }
.night-action small { display: block; margin-top: 3px; color: #7a8a97; font-size: 10px; line-height: 1.6; }
.night-action-check { color: #8fa8bd; font-size: 16px; }
.night-action:disabled { opacity: .46; cursor: default; }
.night-action.is-used { opacity: 1; background: #f0f6fc; border-color: #b9d1e8; }
.night-action.is-used .night-action-check { color: var(--blue); }
.night-feedback { min-height: 69px; margin-top: 17px; padding: 12px 0 0; border-top: 1px solid #e7edf2; color: #61758a; font-size: 12px; line-height: 1.9; }
.night-finish { width: 100%; min-height: 43px; margin-top: 8px; padding: 10px; border: 1px solid #bfd2e3; border-radius: 4px; background: #f5f9fd; color: #3c6689; font-size: 12px; }
.night-ending { margin-top: 28px; padding: 34px; border: 1px solid #cddde7; border-radius: 10px; background: #fff; scroll-margin-top: 100px; }
.night-ending:focus { outline: none; }
.night-ending-head { position: relative; padding-right: 150px; }
.night-ending .kicker { color: #7a8f9e; font-size: 10px; letter-spacing: .12em; }
.night-ending h2 { margin: 9px 0 12px; font-size: 28px; }
.night-ending-head > p:not(.kicker) { margin: 0; color: #687e8f; font-size: 13px; line-height: 1.9; }
.night-saved { position: absolute; right: 0; top: 17px; display: block; padding: 12px 15px; border: 1px solid #b6d4c7; border-radius: 5px; color: #347a63; background: #f3f9f5; font-size: 11px; font-weight: 500; }
.night-ending-rooms { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 27px 0; }
.night-ending-rooms article { padding: 18px; border: 1px solid #e2e8eb; border-radius: 5px; }
.night-ending-rooms article > span { float: right; color: #b98c42; }
.night-ending-rooms .is-good { border-color: #c5ded1; background: #f6faf7; }
.night-ending-rooms .is-good > span { color: #398467; }
.night-ending-rooms h3 { margin: 0 0 8px; font-size: 13px; }
.night-ending-rooms p { margin: 0; color: #70818d; font-size: 12px; line-height: 1.8; }
.night-compare { padding-top: 20px; border-top: 1px solid #e4ebf0; }
.night-compare h3 { margin: 0 0 9px; font-size: 16px; }
.night-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.night-compare-grid > div, .night-compare > div { padding: 18px; border: 1px solid #e0e7ee; border-radius: 5px; background: #fafcfe; }
.night-compare-label { display: flex; align-items: center; justify-content: space-between; color: #708493; font-size: 11px; }
.night-compare-label strong { color: #345f81; font: 600 20px ui-monospace,monospace; }
.night-compare ol { min-height: 58px; margin: 12px 0; padding-left: 22px; color: #3b566d; font-size: 12px; line-height: 1.9; }
.night-compare p:not(.region-caption) { margin: 8px 0 0; color: #788994; font-size: 11px; line-height: 1.8; }
.night-ending-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.night-ending-actions .btn { padding: 12px 17px; font-size: 12px; }
.night-ending-actions button:disabled { opacity: .55; cursor: wait; }
.night-next { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 24px; padding-top: 19px; border-top: 1px solid #e6edf2; font-size: 12px; }
.night-next strong { flex-basis: 100%; margin-bottom: 3px; font-weight: 500; color: #748594; }
.night-next a { color: var(--blue); }
.night-copy-fallback { width: 100%; min-height: 190px; padding: 12px; border: 1px solid #c8d8e6; border-radius: 4px; font: inherit; }
.night-afterword { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; padding-top: 62px; padding-bottom: 45px; }
.night-afterword h2 { font-size: 25px; line-height: 1.6; }
.night-afterword-heading p:last-child { max-width: 280px; margin-top: 17px; color: #7a8c9b; font-size: 12px; line-height: 1.9; }
.night-afterword-body h3 { margin: 0 0 12px; font-size: 16px; }
.night-afterword-body p { margin: 0 0 20px; color: #687d8e; font-size: 13px; line-height: 2; }
.night-afterword .scene-reading { gap: 10px; }
.night-faq { padding-top: 15px; }
.night-faq h2 { margin-bottom: 14px; font-size: 24px; }
.night-is-playing .night-room.is-good .tv-ball { animation: night-kick 3s ease-in-out 2; }
.night-turn .night-live-dot { animation: night-turn .6s ease-out; }
.night-rewinding .night-house { animation: night-rewind .48s ease-in-out; }
@keyframes night-kick { 0%,100% { transform: translateX(0); } 30% { transform: translate(25px,-6px); } 60% { transform: translate(35px,0); } }
@keyframes night-turn { 50% { box-shadow: 0 0 0 6px #d8b47730; } }
@keyframes night-rewind { 45% { opacity: .35; transform: translateX(-5px); } }
@media (max-width: 1000px) {
 .night-layout { gap: 18px; grid-template-columns: minmax(0,1.3fr) minmax(270px,1fr); }
 .night-house { padding-inline: 13px; }.night-rooms { padding: 8px; gap: 8px; }.night-room { padding: 10px; }.night-console { padding: 17px; }
 .night-afterword { gap: 35px; }
}
@media (max-width: 760px) {
 .night-hero { padding-top: 22px; padding-bottom: 23px; }.night-hero .breadcrumbs ol { margin-bottom: 20px; }
 .night-hero-stamp { display: none; }.night-hero .kicker { font-size: 10px; }.night-hero h1 { font-size: clamp(25px,6.6vw,37px); }.night-hero-line p:last-child { font-size: 12px; }.night-desktop-break { display: none; }
 .night-layout { grid-template-columns: 1fr; gap: 18px; }.night-stage-bar { align-items: start; }.night-stage-bar h2 { font-size: 10px; }.night-stage-bar > p { gap: 5px; align-items: end; flex-direction: column; }.night-stage-bar > p > span:last-child { font-size: 9px; }
 .night-house { padding-inline: 12px; border-radius: 8px; }.night-roof { height: 30px; padding-top: 8px; }.night-sky { height: 27px; }.night-roof span { font-size: 9px; }
 .night-rooms { gap: 8px; padding: 9px; }.night-room { padding: 9px 8px; }.night-room-top { font-size: 9px; }.night-room-indicator { font-size: 8px; padding-inline: 4px; }
 .night-illustration { margin-top: 10px; }.night-room-person { font-size: 11px; }.night-room-person small { font-size: 9px; }.night-dialogue { min-height: 55px; padding: 6px; font-size: 10px; }
 .night-router-line > span { font-size: 9px; gap: 5px; }.night-router-line small { font-size: 8px; }.night-clue { padding: 15px 17px; margin-top: 12px; }.night-clue p { font-size: 11px; min-height: 0; }
 .night-console { padding: 20px; }.night-console-head h2 { font-size: 22px; }.night-action { min-height: 61px; padding: 9px 10px; }.night-action strong { font-size: 12px; }.night-action small { font-size: 10px; }
 .night-ending { padding: 23px 18px; margin-top: 20px; }.night-ending-head { padding-right: 0; }.night-ending h2 { font-size: 23px; }.night-saved { position: static; display: inline-block; margin-top: 15px; }
 .night-ending-rooms { grid-template-columns: 1fr; gap: 9px; margin: 21px 0; }.night-ending-rooms article { padding: 15px; }.night-ending-rooms h3 { font-size: 12px; }
 .night-compare-grid { grid-template-columns: 1fr; }.night-compare-grid > div, .night-compare > div { padding: 15px; }.night-compare-grid > div + div { border-top: 2px solid #8caecc; }
 .night-ending-actions .btn { width: 100%; }.night-ending-actions .decision-text-button { min-height: 40px; }.night-next { gap: 12px; }
 .night-afterword { grid-template-columns: 1fr; gap: 25px; padding-top: 40px; }.night-afterword h2 { font-size: 23px; }.night-afterword h2 br { display: none; }.night-afterword-heading p:last-child { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .network-night-page *, .network-night-page *::before, .network-night-page *::after { animation: none !important; transition: none !important; } }
