/* Ver.32: Only the HOME is zero-scroll. Detailed routes may scroll naturally. */
body.ryo-v31:not([data-section="home"]){height:auto;min-height:100svh;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column}
body.ryo-v31:not([data-section="home"]) .main-stage{flex:1 0 auto;overflow:visible;min-height:0;height:auto;padding-bottom:28px}
body.ryo-v31:not([data-section="home"]) .detail-layout{flex:1 0 auto;min-height:460px;align-items:stretch}
body.ryo-v31:not([data-section="home"]) .detail-feature{min-height:480px}
body.ryo-v31:not([data-section="home"]) .detail-panel{overflow:visible;min-height:0}
body.ryo-v31:not([data-section="home"]) .selected-info{min-height:82px;flex:0 0 auto}
body.ryo-v31:not([data-section="home"]) .contact-dock{background:rgba(14,17,27,.96);position:sticky;bottom:0;z-index:12;backdrop-filter:blur(13px);width:100%;padding:13px max(24px,calc((100vw - 1370px)/2));border-top:1px solid rgba(233,204,171,.24)}
body.ryo-v31:not([data-section="home"]) .contact-dock .contact-buttons{margin-left:auto}
/* Night work category selector */
.night-v32 .detail-layout{grid-template-columns:minmax(280px,.88fr) minmax(0,1.12fr)!important}
.night-v32 .detail-feature{position:sticky;top:22px;align-self:start;height:min(600px,calc(100svh - 160px));min-height:430px!important}
.night-v32 .detail-panel{gap:14px!important;padding:clamp(20px,2.1vw,30px)}
.night-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid #514450;background:#171821;border-radius:9px;padding:5px}
.night-tab{border:0;border-radius:6px;background:transparent;color:#c7bac3;min-height:44px;padding:9px 12px;font-size:13px;font-weight:650;transition:background .2s,color .2s}
.night-tab[aria-selected="true"]{background:#e4c0a5;color:#271e26;box-shadow:0 2px 12px #0003}
.night-tab:hover:not([aria-selected="true"]){background:#3e2d39;color:white}
.night-choice-panel[hidden]{display:none!important}
.night-v32 .choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.night-v32 .v32-choice{min-height:83px;padding:14px 15px;border-radius:9px;align-items:center;gap:6px;line-height:1.3}
.night-v32 .v32-choice-copy{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.night-v32 .v32-choice strong{font-size:13px;color:inherit;font-weight:700}
.night-v32 .v32-choice small{font-size:11px;color:#bdb2b6;font-weight:400;line-height:1.45}
.night-v32 .v32-choice[aria-pressed="true"] small{color:#ead3c9}
.night-v32 .v32-high{font-size:9px;white-space:nowrap;border:1px solid #cda889;color:#dfb998;border-radius:4px;padding:5px 6px}
.night-v32 .v32-arrow{color:#c6a18e;font-size:15px;align-self:center}
.v32-adult-note{font-size:11px;line-height:1.65;color:#b4a6aa;margin:13px 0 0}
.night-v32 .selected-info{background:rgba(255,255,255,.035);padding:18px;border:1px solid rgba(233,204,171,.18);border-radius:9px}
.night-v32 .selected-info h3{margin-bottom:8px}
.night-v32 .selected-info .confirm{margin-top:5px;line-height:1.5}
@media(max-width:900px){.night-v32 .detail-layout{grid-template-columns:1fr!important;gap:14px}.night-v32 .detail-feature{position:relative;top:auto;min-height:190px!important;height:230px}.night-v32 .detail-feature .detail-person{height:105%;max-height:300px;bottom:-22%;right:7%}}
@media(max-width:700px){body.ryo-v31:not([data-section="home"]) .main-stage{width:calc(100% - 28px);padding-bottom:20px}body.ryo-v31:not([data-section="home"]) .detail-layout{display:flex;flex-direction:column;gap:12px;min-height:0}body.ryo-v31:not([data-section="home"]) .detail-feature{min-height:190px;height:210px;flex:none}body.ryo-v31:not([data-section="home"]) .detail-feature .detail-person{height:125%;bottom:-45%}.night-v32 .detail-feature{height:190px;min-height:190px!important}.night-v32 .detail-panel{padding:15px;gap:12px!important}.night-tab{min-height:45px;font-size:11px;padding:8px 5px}.night-v32 .v32-choice{min-height:83px;padding:12px 10px}.night-v32 .v32-choice strong{font-size:11px}.night-v32 .v32-choice small{font-size:10px}.night-v32 .v32-high{font-size:8px;padding:4px}.night-v32 .selected-info{padding:14px}.night-v32 .choice-grid{gap:7px}body.ryo-v31:not([data-section="home"]) .contact-dock{padding:9px 14px calc(9px + env(safe-area-inset-bottom));gap:5px}body.ryo-v31:not([data-section="home"]) .contact-dock .contact-buttons{margin:0;width:100%}body.ryo-v31:not([data-section="home"]) .contact-dock .dock-head{display:none}body.ryo-v31:not([data-section="home"]) .contact-dock .contact{min-height:43px}}
@media(max-width:350px){.night-v32 .choice-grid{grid-template-columns:1fr}.night-v32 .v32-choice{min-height:62px}}
/* Flex children need explicit width when all their content is positioned. */
@media(max-width:700px){body.ryo-v31:not([data-section="home"]) .detail-layout>.detail-feature,body.ryo-v31:not([data-section="home"]) .detail-layout>.detail-panel{width:100%;flex-shrink:0}}
