/* ===================== Nine Mansion v11 · after "day into night" the rest of the page stays at night ===================== */
/* N = every section below the night scene */
:is(#gallery,#celebrate,#weddings,#reviews,#getting-here,#discover,.tagx,#prices,#calendar,#terms,#contact,footer){
  --white:#131C2B;--paper:#0E1522;--ink:#EEE8DC;--ink2:#B6BDC8;--line:rgba(255,255,255,.12);--terra:#E8A07A;--gold:#D9B26A;--champ:#D9B26A;--mustard:#D9B26A;--card:#131C2B;--edge:rgba(217,178,106,.26);color:var(--ink)}
#gallery,#celebrate,#weddings,#getting-here,.tagx,#calendar{background:#0B111B!important}
#reviews,#discover,#prices,#terms{background:linear-gradient(#0B111B 0,#0E1522 140px,#0E1522 calc(100% - 140px),#0B111B 100%)!important}
#contact{background:linear-gradient(#0B111B,#0E1522 160px)!important}
footer{background:#090D15;color:var(--ink2)}
footer img{filter:brightness(0) invert(1);opacity:.85}

/* 6 · small text one step heavier on dark */
:is(#gallery,#celebrate,#weddings,#reviews,#getting-here,#discover,.tagx,#prices,#calendar,#terms,#contact,footer) :is(p,li,small,.lead,.hint,.fine,.legend,.eta,.note,label){font-weight:400}

/* 1 · cards: dark navy with a fine gold edge */
:is(#weddings,#prices,#calendar,#terms,#contact,#discover) :is(.panel,.price,.pkg .card,.acc,.addr-card,.mapcard,.place){background:var(--card);border-color:var(--edge);color:var(--ink)}
#weddings .pkg .note{background:#111927;border-color:var(--edge);color:var(--ink2)}
#prices .price:hover{box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
#prices .price.feat{border-color:var(--gold)}
#contact .links a{background:var(--card);border-color:var(--edge)}
#contact .links a i{background:rgba(255,255,255,.06)}
#contact .links a:hover{background:var(--gold);color:#0B111B;border-color:var(--gold)}
#contact .links a:hover small{color:rgba(11,17,27,.7)}#contact .links a:hover i{background:rgba(11,17,27,.12);color:#0B111B}
#contact .addr-card img{filter:invert(1) hue-rotate(180deg) brightness(1.1)}
:is(#calendar,#discover,#contact,#gallery) .tag-tbc,#calendar .demo{background:rgba(217,178,106,.14);border-color:rgba(217,178,106,.3);color:#E7C98A}

/* calendar on dark */
#calendar .day{background:transparent;color:var(--ink)}
#calendar .day:hover:not(:disabled){background:rgba(255,255,255,.07)}
#calendar .day.past{color:#4E5868}
#calendar .day.busy{background:repeating-linear-gradient(135deg,rgba(232,160,122,.24) 0 6px,rgba(232,160,122,.1) 6px 12px);color:#EBAA8C}
#calendar .day.sel,#calendar .day.edge{background:var(--gold);color:#0B111B}
#calendar .day.range{background:rgba(217,178,106,.18)}
#calendar .legend i[style*="#fff"]{background:transparent!important;border-color:var(--line)}
#calendar .legend i[style*="#F6E3DB"]{background:rgba(232,160,122,.3)!important}
#calendar .legend i[style*="--ink"]{background:var(--gold)!important}
:is(#calendar,#discover,#gallery,#reviews) :is(.cal-head button,select,input,.filters button,.chips button,.mentions span,.pick){background:#0F1726;color:var(--ink);border-color:var(--line)}
#calendar select option{background:#0F1726;color:#EEE8DC}
#discover .chips button.on,#discover .chips button:hover{background:var(--gold);color:#0B111B;border-color:var(--gold)}

/* 4 · buttons that would vanish on navy */
:is(#gallery,#celebrate,#weddings,#reviews,#getting-here,#discover,.tagx,#prices,#calendar,#terms,#contact) .btn-dark{background:var(--gold);color:#0B111B}
:is(#gallery,#celebrate,#weddings,#reviews,#getting-here,#discover,.tagx,#prices,#calendar,#terms,#contact) .btn-dark:hover{background:#E7C98A}
:is(#gallery,#celebrate,#weddings,#reviews,#getting-here,#discover,.tagx,#prices,#calendar,#terms,#contact) .btn-line{color:var(--ink);border-color:rgba(238,232,220,.5)}
:is(#gallery,#celebrate,#weddings,#reviews,#getting-here,#discover,.tagx,#prices,#calendar,#terms,#contact) .btn-line:hover{background:var(--ink);color:#0B111B;border-color:var(--ink)}

/* 2 · review chat in dark mode */
#reviews .phone{background:#0E1522;border-color:#2A3446}
#reviews .phone .bar{background:#141D2C;border-color:var(--line)}
#reviews .chat{background:linear-gradient(#0E1522,#0A0F18)}
#reviews .msg.in{background:#1A2436;color:var(--ink)}
#reviews .msg.out{background:var(--gold);color:#0B111B}#reviews .msg.out .who{color:#5E4512}
#reviews .msg.sys{background:rgba(217,178,106,.14);color:#E7C98A}
#reviews .typing{background:#1A2436}#reviews .typing i{background:#8F98A6}
#reviews .cats div{border-color:var(--line)}

/* 3 · drive map at night */
#getting-here .routes .coast,#getting-here .routes .island{fill:#172133;stroke:#34425C}
#getting-here .routes .sea{stroke:#3D7480}
#getting-here .routes .city circle{fill:#0B111B;stroke:var(--ink)}
#getting-here .routes .illus{fill:#707A8A}
#getting-here .origin.on,#getting-here .origin:hover{box-shadow:0 20px 40px -30px rgba(0,0,0,.9)}
#getting-here .park i{background:var(--gold);color:#0B111B}
/* 7 · Google's own map stays light, so it sits in a deliberate dark frame */
#getting-here .mapframe{border:1px solid var(--edge);padding:6px;background:#131C2B;border-radius:10px}
#getting-here .mapframe iframe{border-radius:6px}
#getting-here .mapframe .addr{background:#131C2B;color:var(--ink);left:26px;top:26px}

/* 3 · walk map at night: dark land, deep sea, gold main roads, glowing pins */
#discover .mapstage{background:#0E1522}
#discover #land{fill:#0F1726}#discover #sea{fill:#0D2530}#discover #seaw{opacity:.22}#discover #sand{fill:#26231A}#discover #green{fill:#13241B}#discover #coast{stroke:#2E6874}
#discover #roads .service{stroke:#1B2435}#discover #roads .foot{stroke:#4A4434}#discover #roads .minor{stroke:#212C40}#discover #roads .mid{stroke:#2A3650}
#discover #roads .major-c{stroke:#7A5F2C}#discover #roads .major{stroke:#2C3850}
#discover #rings text{fill:#C9A96E}
#discover .pin .dot{background:#0F1726;box-shadow:0 0 0 4px rgba(217,178,106,.08),0 8px 18px -6px rgba(0,0,0,.8)}
#discover .pin .lab{background:rgba(14,21,34,.92);color:var(--ink);box-shadow:none}
#discover .home .disc{background:#0F1726}#discover .home .disc img{filter:brightness(0) invert(1)}
#discover .home b{background:#131C2B;color:var(--ink)}
#discover .compass{background:#131C2B;color:var(--ink)}
#discover .osm{color:#6F7887}
#discover #walker .w circle{fill:#F1E6CF}#discover #walker .w path[stroke]{stroke:#F1E6CF}#discover #walker ellipse{fill:#000;opacity:.5}

/* 5 · the menu stays dark from the night scene to the end */
body.navnight .nav.solid{background:rgba(9,13,21,.9);color:#F4EEE2;box-shadow:0 1px 0 rgba(255,255,255,.06)}
body.navnight .nav.solid .brand img{filter:brightness(0) invert(1)}
body.navnight .nav.solid ul a:hover{background:rgba(255,255,255,.08)}
body.navnight .nprog span{background:rgba(9,13,21,.9);color:#F4EEE2;border-color:rgba(255,255,255,.12)}
@media (max-width:980px){body.navnight .nav ul{background:#0E1522;color:#EEE8DC}}

/* night flows straight on, so the night scene no longer needs its fade back to day */
.night{height:290vh}
@media (max-width:980px){.night{height:260vh}}
#celebrate .zchips>span{color:#1C2430;background:rgba(255,255,255,.94)}
