
/* ================== assets/css/city.r49memorybeach.css ================== */
*{box-sizing:border-box}
html,body,#app{margin:0;width:100%;height:100%;height:100dvh;overflow:hidden}
body{background:#0c1430;color:#cdd6e2;font-family:'IBM Plex Serif','Times New Roman',serif}
.mono{font-family:'Special Elite','Courier New',monospace}.ui{font-family:'IBM Plex Sans',system-ui,sans-serif}
.flicker{animation:flick 5s infinite}@keyframes flick{0%,96%,100%{opacity:1}97%{opacity:.4}98%{opacity:.9}}
#cv{width:100vw;height:100vh;height:100dvh;max-height:100dvh;display:block;cursor:grab}
.screen{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;z-index:5}
.brand{font-family:'Special Elite',monospace;font-size:clamp(28px,7vw,58px);letter-spacing:.16em;color:#f0cd6e;text-shadow:0 0 34px rgba(240,205,110,.4)}
.quote{font-size:22px;font-style:italic;margin-top:24px;max-width:440px}
.subq{color:#7d88a4;font-style:italic;margin-top:8px}
.stat{font-size:18px;color:#a7b2cc;margin:5px 0}
.btn{background:#f0cd6e;color:#101a2e;border:0;padding:13px 28px;font-family:'Special Elite',monospace;font-size:15px;border-radius:3px;cursor:pointer;letter-spacing:.04em}
input,textarea,select{background:#16223e;border:1px solid #2f3d5c;color:#f0cd6e;padding:11px 14px;font-size:15px;border-radius:3px;font-family:'Special Elite','Courier New',monospace;width:100%;outline:none}
textarea{color:#cdd6e2;resize:vertical;line-height:1.5}
.hud{position:fixed;top:0;left:0;right:0;z-index:6;display:flex;justify-content:space-between;align-items:center;padding:calc(12px + env(safe-area-inset-top)) 14px 12px;gap:10px;background:linear-gradient(180deg,rgba(12,20,48,.92),transparent)}
.hud .t{font-family:'Special Elite',monospace;color:#f0cd6e;letter-spacing:.12em;font-size:16px}
.hud .ctl{display:flex;gap:6px;align-items:center}.hud .ctl>.subq{margin-top:0;display:inline-flex;align-items:center;line-height:1.1;white-space:nowrap}
.chip{background:#16223e;color:#7d88a4;border:1px solid #2f3d5c;padding:7px 9px;font-family:'Special Elite',monospace;font-size:13px;border-radius:2px;cursor:pointer}
.chip.on{color:#f0cd6e;border-color:#f0cd6e}
.mobile-menu-btn,.mobile-menu{display:none}.desktop-nav{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
.searchbar{position:fixed;top:52px;left:0;right:0;z-index:6;display:flex;gap:6px;justify-content:center;padding:6px;flex-wrap:wrap}
.searchbar input{width:auto;flex:1;max-width:240px;padding:7px 12px}
.searchbar select{width:auto;padding:7px 10px}
.moodbar{position:fixed;top:96px;left:0;right:0;z-index:6;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;padding:4px}
.livebar{position:fixed;top:118px;left:50%;transform:translateX(-50%);z-index:6;display:flex;justify-content:center;padding:2px 10px;max-width:min(92vw,760px);pointer-events:none}
.livepill{background:rgba(18,28,50,.82);border:1px solid rgba(240,205,110,.28);box-shadow:0 12px 26px rgba(0,0,0,.16);border-radius:18px;padding:9px 24px 10px;color:#c7d0e6;font-size:14px;font-style:italic;line-height:1.25;letter-spacing:.015em;backdrop-filter:blur(6px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .25s ease, transform .25s ease}
.toast{position:fixed;left:50%;bottom:calc(116px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:40;max-width:min(92vw,420px);background:rgba(10,18,35,.94);border:1px solid rgba(240,205,110,.32);box-shadow:0 18px 46px rgba(0,0,0,.38);color:#f0cd6e;border-radius:999px;padding:11px 18px;font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:14px;text-align:center}
.city-reply{position:fixed;left:50%;bottom:calc(122px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:42;width:min(92vw,470px);background:rgba(11,18,34,.96);border:1px solid rgba(240,205,110,.42);box-shadow:0 22px 58px rgba(0,0,0,.46),0 0 34px rgba(240,205,110,.08);border-radius:16px;padding:15px 18px;color:#dbe4f2;text-align:left;backdrop-filter:blur(8px)}
.city-reply .rt{font-family:'Special Elite',monospace;color:#f0cd6e;font-size:14px;margin-bottom:6px}.city-reply .rb{font-size:15px;line-height:1.45;color:#cdd6e2;font-style:italic}.city-reply button{float:right;margin-top:10px;background:transparent;border:0;color:#7d88a4;cursor:pointer}
.living-card{border:1px solid rgba(240,205,110,.25);background:linear-gradient(180deg,rgba(17,29,56,.96),rgba(10,17,32,.96));border-radius:12px;padding:14px;margin:14px 0}.living-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.living-title{font-family:'Special Elite',monospace;color:#f0cd6e}.living-stage{color:#a7b2cc;font-size:13px}.living-bar{height:9px;background:#0c1430;border:1px solid #2f3d5c;border-radius:99px;overflow:hidden;margin:10px 0}.living-fill{height:100%;background:linear-gradient(90deg,rgba(240,205,110,.45),rgba(240,205,110,.9));box-shadow:0 0 18px rgba(240,205,110,.25)}.living-items{display:flex;gap:7px;flex-wrap:wrap}.living-items span{font-size:12px;border:1px solid #2f3d5c;border-radius:999px;padding:5px 9px;color:#cdd6e2;background:#101b34}.return-box{border:1px dashed rgba(240,205,110,.3);background:rgba(15,27,52,.84);border-radius:12px;padding:12px 14px;margin:12px 0}.return-box .mono{color:#f0cd6e}.home-scene{position:relative;min-height:156px;border:1px solid rgba(240,205,110,.18);border-radius:14px;margin:12px 0 10px;overflow:hidden;background:radial-gradient(circle at 50% 0,rgba(240,205,110,.13),transparent 42%),linear-gradient(180deg,#111d38,#090f20)}.home-building{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:128px;height:116px;background:linear-gradient(180deg,#223150,#121b30);border:1px solid rgba(205,214,226,.22);border-bottom:0;border-radius:10px 10px 0 0;box-shadow:0 -16px 42px rgba(0,0,0,.18)}.home-roof{position:absolute;left:-10px;right:-10px;top:-18px;height:24px;background:#0b1328;border:1px solid rgba(240,205,110,.18);transform:skewX(-8deg);border-radius:8px 8px 3px 3px}.home-window{position:absolute;left:32px;top:32px;width:64px;height:58px;background:#10182e;border:2px solid rgba(240,205,110,.25);border-radius:10px 10px 5px 5px;overflow:hidden}.home-scene.stage1 .home-window,.home-scene.stage2 .home-window,.home-scene.stage3 .home-window,.home-scene.stage4 .home-window,.home-scene.stage5 .home-window,.home-scene.stage6 .home-window,.home-scene.stage7 .home-window,.home-scene.stage8 .home-window{background:radial-gradient(circle at 50% 45%,rgba(255,231,160,.96),rgba(240,205,110,.5) 38%,rgba(89,62,27,.45) 72%);box-shadow:0 0 34px rgba(240,205,110,.36)}.home-curtain{display:none;position:absolute;top:0;bottom:0;width:18px;background:linear-gradient(180deg,rgba(142,93,123,.84),rgba(76,49,79,.9))}.home-curtain.left{left:0}.home-curtain.right{right:0}.home-scene.stage2 .home-curtain,.home-scene.stage3 .home-curtain,.home-scene.stage4 .home-curtain,.home-scene.stage5 .home-curtain,.home-scene.stage6 .home-curtain,.home-scene.stage7 .home-curtain,.home-scene.stage8 .home-curtain{display:block}.home-plant{display:none;position:absolute;right:18px;bottom:6px;width:25px;height:30px}.home-plant:before{content:'';position:absolute;left:8px;bottom:0;width:12px;height:10px;background:#8a5a3a;border-radius:2px}.home-plant:after{content:'';position:absolute;left:0;bottom:8px;width:28px;height:22px;background:radial-gradient(circle at 8px 12px,#7ad690 0 7px,transparent 8px),radial-gradient(circle at 18px 8px,#5ab976 0 7px,transparent 8px),radial-gradient(circle at 16px 17px,#8ce0a1 0 6px,transparent 7px)}.home-scene.stage3 .home-plant,.home-scene.stage4 .home-plant,.home-scene.stage5 .home-plant,.home-scene.stage6 .home-plant,.home-scene.stage7 .home-plant,.home-scene.stage8 .home-plant{display:block}.home-sign{display:none;position:absolute;left:18px;top:12px;right:18px;text-align:center;font-family:'Special Elite',monospace;color:#f0cd6e;font-size:12px;border:1px solid rgba(240,205,110,.35);background:#111d38;border-radius:999px;padding:4px}.home-scene.stage4 .home-sign,.home-scene.stage5 .home-sign,.home-scene.stage6 .home-sign,.home-scene.stage7 .home-sign,.home-scene.stage8 .home-sign{display:block}.home-mail{display:none;position:absolute;left:18px;bottom:14px;width:28px;height:18px;border:1px solid rgba(240,205,110,.5);background:#16223e;border-radius:3px}.home-mail:before{content:'';position:absolute;left:3px;right:3px;top:3px;height:8px;border-top:1px solid rgba(240,205,110,.4);transform:skewY(-20deg)}.home-scene.stage5 .home-mail,.home-scene.stage6 .home-mail,.home-scene.stage7 .home-mail,.home-scene.stage8 .home-mail{display:block}.home-balcony{display:none;position:absolute;left:24px;top:82px;width:80px;height:24px;border:2px solid rgba(205,214,226,.25);border-top:0;border-radius:0 0 12px 12px;background:rgba(8,13,25,.24)}.home-balcony i{position:absolute;top:0;bottom:0;width:1px;background:rgba(205,214,226,.24)}.home-balcony i:nth-child(1){left:20px}.home-balcony i:nth-child(2){left:40px}.home-balcony i:nth-child(3){left:60px}.home-scene.stage6 .home-balcony,.home-scene.stage7 .home-balcony,.home-scene.stage8 .home-balcony{display:block}.home-room{display:none;position:absolute;left:20px;right:20px;bottom:12px;height:22px;background:linear-gradient(90deg,rgba(240,205,110,.18),transparent,rgba(240,205,110,.14));border-radius:6px}.home-scene.stage7 .home-room,.home-scene.stage8 .home-room{display:block}.home-pin{display:none;position:absolute;right:14px;top:12px;color:#f0cd6e;font-size:18px;text-shadow:0 0 12px rgba(240,205,110,.4)}.home-scene.stage8 .home-pin{display:block}.model-homes{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:12px 0 18px}.model-home{border:1px solid rgba(240,205,110,.22);background:#101b34;border-radius:12px;padding:12px}.model-home .mh{font-family:'Special Elite',monospace;color:#f0cd6e;margin-bottom:6px}.model-home .subq{font-size:13px}.alley-chip{position:fixed;top:152px;right:16px;z-index:7;background:rgba(18,28,50,.88);border:1px solid rgba(240,205,110,.36);color:#f0cd6e;border-radius:999px;padding:9px 13px;font-family:'Special Elite',monospace;font-size:12px;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.22)}.event-banner{position:fixed;top:152px;left:50%;transform:translateX(-50%);z-index:6;max-width:min(92vw,720px);padding:10px 18px;border:1px solid rgba(240,205,110,.28);border-radius:18px;background:rgba(12,20,48,.76);box-shadow:0 14px 30px rgba(0,0,0,.18);color:#dbe4f2;text-align:center;font-style:italic;backdrop-filter:blur(6px)}.event-banner b{color:#f0cd6e;font-family:'Special Elite',monospace;font-style:normal;font-size:13px;letter-spacing:.06em}

.pill{background:rgba(22,34,62,.8);border:1px solid #2f3d5c;color:#a7b2cc;padding:5px 11px;border-radius:14px;cursor:pointer;font-size:14px}
.pill.on{border-color:#f0cd6e;color:#f0cd6e;background:#1d2c4c}
.bottom{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom));left:0;right:0;z-index:6;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.navbtn{background:rgba(22,34,62,.92);color:#f0cd6e;border:1px solid #2f3d5c;padding:12px 18px;font-family:'Special Elite',monospace;font-size:14px;border-radius:3px;cursor:pointer}
.panel{position:fixed;inset:0;z-index:7;overflow:auto;padding:44px 22px;background:#0c1430}
.panel .inner{max-width:600px;margin:0 auto}
.label{font-family:'Special Elite',monospace;font-size:13px;color:#7d88a4;margin:16px 0 6px;letter-spacing:.05em}
.row{display:flex;gap:8px;flex-wrap:wrap}
.choose-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.ccard{background:#16223e;border:1px solid #2f3d5c;border-radius:5px;padding:14px 12px;cursor:pointer;text-align:left}
.ccard.on{border-color:#f0cd6e;background:#1d2c4c}.ccard.locked{opacity:.55;filter:saturate(.6);cursor:not-allowed}
.ccard .e{font-size:26px}.ccard .l{font-family:'Special Elite',monospace;color:#f0cd6e;font-size:15px;display:block;margin:4px 0}
.ccard .s{font-size:15px;color:#a7b2cc;font-style:italic}
.entry{border-left:2px solid #f0cd6e;padding-left:16px;margin-bottom:16px}
.entry .d{font-family:'Special Elite',monospace;font-size:12px;color:#7d88a4;margin-bottom:5px}
.entry .b{font-size:21px;font-style:italic;color:#e6ecf4;line-height:1.5;white-space:pre-wrap;word-break:break-word}.entry .meta{font-family:'IBM Plex Sans',system-ui,sans-serif;color:#7d88a4;font-size:13px;margin-top:6px}.entry .meta a{color:#f0cd6e;text-decoration:none}
.modal-bg{position:fixed;inset:0;background:rgba(8,12,24,.85);z-index:20;display:flex;align-items:center;justify-content:center;padding:20px}
.modal{background:#16223e;border:1px solid #f0cd6e;border-radius:5px;padding:28px;max-width:440px}
.modal h3{color:#f0cd6e;font-family:'Special Elite',monospace;margin:0 0 12px}
.err{color:#ff8a8a;font-size:14px;margin-top:8px}
.back{background:none;border:0;color:#7d88a4;font-family:'Special Elite',monospace;font-size:13px;cursor:pointer;text-decoration:none}.sharebtn{display:inline-flex;align-items:center;gap:4px;background:#16223e;border:1px solid #2f3d5c;color:#f0cd6e!important;padding:8px 10px;border-radius:6px;text-decoration:none;font-family:'Special Elite',monospace;font-size:12px;cursor:pointer}
small.hint{color:#7d88a4;font-style:italic}.mini-note{font-size:13px;color:#7d88a4;line-height:1.4}.radioish{display:inline-flex;gap:5px;align-items:center;color:#a7b2cc;font-size:14px}.ownerbox{margin-top:18px;padding:12px 14px;border:1px dashed #2f3d5c;background:#101b34;border-radius:6px}.ownerbox summary{cursor:pointer;color:#f0cd6e;font-family:'Special Elite',monospace}.ownerlock{margin-top:10px}.ownerlock.hidden{display:none}
.checkrow{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:15px;color:#a7b2cc}.checkrow input{width:auto;margin-top:3px}
.venue-badge{display:inline-block;background:#f0cd6e;color:#101a2e;font-family:'Special Elite',monospace;font-size:11px;padding:2px 7px;border-radius:10px;margin-left:6px}.dash{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:14px 0}.dash .box{background:#111d38;border:1px solid #2f3d5c;border-radius:6px;padding:12px}.dash .n{font-size:24px;color:#f0cd6e;font-family:'Special Elite',monospace}.dash .l{font-size:12px;color:#7d88a4}.manage-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.wideinner{max-width:760px!important}.venue-inner{max-width:min(1160px,96vw)!important}.venue-inner .venue-profile{grid-template-columns:minmax(420px,1.05fr) minmax(420px,.95fr);gap:22px}.venue-inner .venue-cover{min-height:320px}.venue-inner textarea{min-height:96px;font-family:'IBM Plex Sans',system-ui,sans-serif}.venue-inner .mini-note{font-size:14px;line-height:1.55}@media (max-width:980px){.venue-inner .venue-profile{grid-template-columns:1fr}.venue-inner{max-width:760px!important}}

.district-dock{position:fixed;top:190px;left:50%;transform:translateX(-50%);z-index:6;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;padding:4px;max-width:min(980px,96vw)}
.district-chip{background:rgba(14,25,45,.88);border:1px solid #30415e;color:#cdd6e2;padding:6px 11px;border-radius:14px;cursor:pointer;font-size:13px;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.district-chip.on,.district-chip:hover{border-color:#f0cd6e;color:#f0cd6e;background:#1f2d4b}
.minimap{position:fixed;right:14px;bottom:86px;z-index:6;background:rgba(12,20,48,.88);border:1px solid #2f3d5c;border-radius:8px;padding:10px 12px;min-width:190px;backdrop-filter:blur(4px)}
.minimap .label{margin:0 0 6px;font-size:11px;color:#7d88a4}
.minimap .track{display:flex;height:8px;border-radius:6px;overflow:hidden;background:#111d38;border:1px solid #2b3957}
.minimap .seg{flex:1;position:relative;cursor:pointer;opacity:.72}.minimap .seg.active{opacity:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.34)}
.minimap .seg:not(:last-child)::after{content:'';position:absolute;right:0;top:0;bottom:0;width:1px;background:rgba(255,255,255,.15)}
.minimap .legend{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;margin-top:8px;font-size:11px;color:#9eb0ca}
.minimap .legend button{all:unset;cursor:pointer;display:flex;align-items:center;gap:5px;color:inherit}.minimap .dot{width:8px;height:8px;border-radius:50%;display:inline-block}


.venue-profile{display:grid;grid-template-columns:1.12fr .88fr;gap:14px;margin-top:14px}
.venue-cover{position:relative;min-height:220px;border:1px solid #2f3d5c;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,rgba(17,30,55,.98),rgba(10,16,28,.98))}
.venue-cover .sky{position:absolute;inset:0;background:linear-gradient(180deg,rgba(56,86,142,.38),rgba(8,14,24,0) 48%)}
.venue-cover .glow{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);width:76%;height:42px;background:radial-gradient(circle,rgba(240,205,110,.32),rgba(240,205,110,0) 72%)}
.venue-cover .building{position:absolute;box-shadow:0 18px 32px rgba(0,0,0,.28)}
.venue-cover .building.base{left:50%;bottom:34px;transform:translateX(-50%);width:68%;height:58%;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(27,41,75,.96),rgba(13,22,41,.98))}
.venue-cover .building.rear{left:50%;bottom:34px;transform:translateX(-50%);width:76%;height:62%;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(34,54,89,.96),rgba(14,22,37,.98))}
.venue-cover .building.low{left:50%;bottom:36px;transform:translateX(-50%);width:82%;height:46%;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(31,43,72,.96),rgba(12,19,33,.98))}
.venue-cover .building.tower{left:50%;bottom:34px;transform:translateX(-50%);width:42%;height:72%;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(27,41,75,.96),rgba(13,22,41,.98))}
.venue-cover .band,.venue-cover .awning,.venue-cover .glass,.venue-cover .counter,.venue-cover .pediment,.venue-cover .doorline,.venue-cover .cross,.venue-cover .label,.venue-cover .subline,.venue-cover .stem,.venue-cover .shelf,.venue-cover .flower,.venue-cover .column,.venue-cover .bulb,.venue-cover .trim,.venue-cover .poster,.venue-cover .seat,.venue-cover .seat-leg,.venue-cover .topline{position:absolute}
.venue-cover .window,.venue-cover .win{position:absolute;background:rgba(112,210,255,.88);box-shadow:0 0 10px rgba(112,210,255,.36)}
.venue-cover .sign{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:7px 12px;border-radius:999px;background:rgba(18,31,56,.9);border:1px solid rgba(240,205,110,.3);color:#f0cd6e;font-family:'Special Elite',monospace;font-size:12px;letter-spacing:.06em;white-space:nowrap;max-width:92%;overflow:hidden;text-overflow:ellipsis}
.venue-cover .people{position:absolute;left:0;right:0;bottom:10px;height:32px}.venue-cover .people i{position:absolute;display:block;width:4px;height:14px;background:#c6d0e6;border-radius:2px 2px 1px 1px}.venue-cover .people i:before{content:'';position:absolute;left:.5px;top:-4px;width:3px;height:3px;border-radius:50%;background:#c6d0e6}
.venue-cover.minhtien .building.rear{width:72%;height:66%;background:linear-gradient(180deg,#284667,#15243a)}
.venue-cover.minhtien .band{left:50%;top:18%;transform:translateX(-50%);width:76%;height:14%;background:#1b56a8;border:1px solid rgba(240,205,110,.72)}
.venue-cover.minhtien .label{top:calc(18% + 10px);left:18%;font:700 11px 'Special Elite',monospace;color:#f3f7ff}.venue-cover.minhtien .subline{top:calc(18% + 10px);right:18%;font:700 11px 'Special Elite',monospace;color:#f3f7ff}
.venue-cover.minhtien .trim{left:50%;top:34%;transform:translateX(-50%);width:62%;height:3px;background:#edf4fb}
.venue-cover.minhtien .glass{left:50%;bottom:56px;transform:translateX(-50%);width:58%;height:24%;background:linear-gradient(180deg,rgba(235,244,251,.92),rgba(220,232,244,.9));border:1px solid rgba(148,175,205,.88)}
.venue-cover.minhtien .window{width:14%;height:44%;top:18%;background:rgba(115,209,255,.82)}
.venue-cover.minhtien .window.w1{left:18%}.venue-cover.minhtien .window.w2{left:43%}.venue-cover.minhtien .window.w3{left:68%}
.venue-cover.minhtien .shelf{height:2px;background:rgba(129,160,182,.72)}
.venue-cover.minhtien .s1{left:10%;top:36%;width:18%}.venue-cover.minhtien .s2{left:40%;top:36%;width:18%}.venue-cover.minhtien .s3{left:69%;top:36%;width:14%}
.venue-cover.minhtien .counter{left:50%;bottom:48px;transform:translateX(-50%);width:20%;height:10px;background:#dfc793;border-top:3px solid #bda474}.venue-cover.minhtien .poster{width:8%;height:22%;bottom:62px;background:rgba(234,242,248,.92)}.venue-cover.minhtien .p1{left:33%}.venue-cover.minhtien .p2{right:33%}
.venue-cover.zushop .building.low{width:82%;height:56%;background:linear-gradient(180deg,#2d5563,#172b34);border-color:rgba(240,205,110,.45)}
.venue-cover.zushop .label{left:50%;top:15%;transform:translateX(-50%);padding:6px 16px;border-radius:999px;background:rgba(255,249,240,.98);color:#493237;font:italic 13px Georgia,serif}
.venue-cover.zushop .subline{left:50%;top:23%;transform:translateX(-50%);font:10px 'Special Elite',monospace;color:#f7e3bc}
.venue-cover.zushop .awning{left:50%;top:32%;transform:translateX(-50%);width:74%;height:14%;background:repeating-linear-gradient(90deg,#f5efe7 0 12%,#e4c35f 12% 24%);clip-path:polygon(0 0,100% 0,92% 100%,8% 100%)}
.venue-cover.zushop .bulb{width:8px;height:8px;border-radius:50%;background:#f5efe7;bottom:37%;box-shadow:0 0 8px rgba(255,245,232,.3)}
.venue-cover.zushop .glass{left:50%;bottom:54px;transform:translateX(-50%);width:72%;height:22%;background:rgba(255,235,205,.18);border:1px solid rgba(255,244,218,.28)}
.venue-cover.zushop .doorline.v{left:50%;bottom:54px;transform:translateX(-50%);width:2px;height:22%;background:rgba(255,245,232,.62)}.venue-cover.zushop .doorline.h{left:50%;bottom:calc(54px + 10%);transform:translateX(-50%);width:72%;height:2px;background:rgba(255,245,232,.62)}
.venue-cover.zushop .flower{width:7px;height:7px;border-radius:50%;bottom:48px;background:#f26f92}.venue-cover.zushop .flower.f2{background:#f0cd6e}.venue-cover.zushop .flower.f3{background:#d9a5ff}.venue-cover.zushop .flower.f4{background:#ffb38a}
.venue-cover.zushop .stem{width:10px;height:7px;bottom:42px;background:#5a3a28}
.venue-cover.citybar .building.low{width:84%;height:44%;background:linear-gradient(180deg,#26364a,#121b25);border-color:rgba(255,190,130,.55)}
.venue-cover.citybar .label{left:50%;top:18%;transform:translateX(-50%);font:700 12px 'Special Elite',monospace;color:#ffeccf}.venue-cover.citybar .subline{left:50%;top:26%;transform:translateX(-50%);font:10px Georgia,serif;color:#ffd8a8}
.venue-cover.citybar .glass{left:50%;bottom:52px;transform:translateX(-50%);width:68%;height:24%;background:rgba(255,208,136,.16);border:1px solid rgba(255,208,136,.28)}
.venue-cover.citybar .window{width:11%;height:54%;top:18%;background:rgba(255,208,136,.22)}.venue-cover.citybar .w1{left:12%}.venue-cover.citybar .w2{left:29%}.venue-cover.citybar .w3{left:48%}.venue-cover.citybar .w4{left:66%}
.venue-cover.citybar .seat{width:14px;height:2px;background:rgba(118,78,52,.92);bottom:32px}.venue-cover.citybar .seat-leg{width:2px;height:10px;background:rgba(35,28,24,.92);bottom:24px}
.venue-cover.nightmuseum .building.base{width:78%;height:56%;background:linear-gradient(180deg,#47362a,#191312);border-color:rgba(240,205,110,.62)}
.venue-cover.nightmuseum .label{left:50%;top:18%;transform:translateX(-50%);font:700 13px 'Special Elite',monospace;color:#fadea1}.venue-cover.nightmuseum .topline{left:50%;top:33%;transform:translateX(-50%);width:56%;height:8px;background:rgba(236,219,184,.26)}
.venue-cover.nightmuseum .column{width:6%;height:28%;bottom:56px;background:rgba(224,202,166,.36)}.venue-cover.nightmuseum .pediment{left:50%;bottom:48px;transform:translateX(-50%);width:0;height:0;border-left:48px solid transparent;border-right:48px solid transparent;border-bottom:34px solid rgba(255,214,120,.18)}
.venue-cover.nightmuseum .cross,.venue-cover.pharmacy .cross{width:18px;height:18px;left:50%;top:22%;transform:translateX(-50%)}
.venue-cover.pharmacy .building.low{width:82%;height:48%;background:linear-gradient(180deg,#20365c,#101b31)}
.venue-cover.pharmacy .cross:before,.venue-cover.pharmacy .cross:after,.venue-cover.nightmuseum .cross:before,.venue-cover.nightmuseum .cross:after{content:'';position:absolute;background:rgba(240,205,110,.9)}.venue-cover.pharmacy .cross:before,.venue-cover.nightmuseum .cross:before{left:7px;top:0;width:4px;height:18px}.venue-cover.pharmacy .cross:after,.venue-cover.nightmuseum .cross:after{left:0;top:7px;width:18px;height:4px}
.venue-cover.bookarch .building.low,.venue-cover.eaterynight .building.low,.venue-cover.grocery24 .building.low{width:82%;height:48%}
.venue-cover.cinema .building.base{width:88%;height:56%;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#26395f,#121d34);border-color:rgba(240,205,110,.42)}
.venue-cover.cinema .building.rear{width:66%;height:70%;border-radius:50% 50% 10px 10px/16% 16% 10px 10px;background:linear-gradient(180deg,#344565,#172338);border-color:rgba(240,205,110,.32)}
.venue-cover.cinema .awning{left:50%;top:40%;transform:translateX(-50%);width:82%;height:18%;border-radius:50% 50% 20px 20px/55% 55% 20px 20px;background:rgba(201,151,78,.32);border:1px solid rgba(240,205,110,.7);box-shadow:0 0 18px rgba(240,205,110,.16)}
.venue-cover.cinema .label{left:50%;top:19%;transform:translateX(-50%);font:700 13px 'Special Elite',monospace;color:#ffd98b;text-shadow:0 0 10px rgba(240,205,110,.35)}
.venue-cover.cinema .subline{left:50%;top:31%;transform:translateX(-50%);font:11px 'Special Elite',monospace;color:#ffe6b0}.venue-cover.cinema .glass{left:50%;top:30%;transform:translateX(-50%);width:54%;height:34%;border-radius:18px 18px 8px 8px;background:rgba(255,215,145,.18);border:1px solid rgba(255,229,180,.35)}.venue-cover.cinema .column{width:5%;height:32%;bottom:50px;background:linear-gradient(90deg,rgba(130,146,168,.95),rgba(238,224,190,.82),rgba(96,112,140,.95));border-radius:6px}
.venue-cover.opera .building.base{width:86%;height:58%;background:linear-gradient(180deg,#7b5632,#3d2818);border-color:rgba(240,205,110,.68)}.venue-cover.opera .pediment{left:50%;top:9%;transform:translateX(-50%);width:82%;height:24%;background:linear-gradient(180deg,rgba(244,201,130,.34),rgba(112,73,40,.2));clip-path:polygon(0 100%,12% 45%,24% 100%,76% 100%,88% 45%,100% 100%)}.venue-cover.opera .label{left:50%;top:23%;transform:translateX(-50%);font:700 12px 'Special Elite',monospace;color:#ffe0a0;text-shadow:0 0 10px rgba(240,205,110,.42)}.venue-cover.opera .column{width:5%;height:38%;bottom:50px;background:linear-gradient(90deg,rgba(155,104,58,.94),rgba(255,220,154,.78),rgba(120,75,36,.96));border-radius:5px}.venue-cover.opera .window{width:8%;height:21%;top:43%;border-radius:50% 50% 4px 4px;background:rgba(255,212,130,.42);box-shadow:0 0 13px rgba(240,205,110,.32)}.venue-cover.opera .flag{left:50%;top:7%;transform:translateX(-50%);width:30px;height:17px;background:#c91f2d;box-shadow:0 0 10px rgba(255,56,56,.22)}.venue-cover.opera .flag:after{content:'★';position:absolute;left:8px;top:1px;color:#ffd24a;font-size:10px}
.venue-media{margin:12px 0;border:1px solid rgba(240,205,110,.22);border-radius:14px;overflow:hidden;background:#0c1630}.venue-media-head{padding:10px 12px;color:#f0cd6e;font-family:'Special Elite',monospace;font-size:13px;border-bottom:1px solid rgba(240,205,110,.16)}.venue-media iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#050912}

.venue-profile .mini-note{height:100%}
.venue-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.venue-kv .k{background:#111d38;border:1px solid #2f3d5c;border-radius:6px;padding:10px}.venue-kv .n{font-size:20px;color:#f0cd6e;font-family:'Special Elite',monospace}.venue-kv .l{font-size:12px;color:#7d88a4}
.venue-rail{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.venue-note{padding:12px 14px;border:1px solid #2f3d5c;background:#111d38;border-radius:8px}
.venue-note .mono{font-size:13px}
@media (max-width: 760px){.venue-profile{grid-template-columns:1fr}}

@media (max-width: 820px){
  body.menu-open .searchbar,body.menu-open .moodbar,body.menu-open .livebar,body.menu-open .bottom{display:none!important}

  #cv{touch-action:none}
  .hud{padding:calc(9px + env(safe-area-inset-top)) 12px 8px;align-items:center;justify-content:space-between;flex-direction:row;min-height:auto;background:linear-gradient(180deg,rgba(12,20,48,.94),rgba(12,20,48,.28) 82%,transparent)}
  .hud .t{font-size:12px;max-width:88px;line-height:1.18;letter-spacing:.14em;display:block}
  .hud .ctl{gap:7px;flex-wrap:nowrap;justify-content:flex-end;max-width:calc(100vw - 118px);width:auto;position:relative}
  .hud .ctl>.subq{flex:0 0 auto;text-align:right;margin:0;font-size:13px;white-space:nowrap;color:#c6d2ea}
  .desktop-nav{display:none!important}
  .mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:38px;font-size:15px;padding:8px 10px;border-radius:12px;background:rgba(22,34,62,.82)}
  .mobile-menu-backdrop{display:block;position:fixed;inset:0;z-index:28;background:rgba(5,10,24,.72);backdrop-filter:blur(5px)}
  .mobile-menu{display:grid;position:fixed;top:calc(82px + env(safe-area-inset-top));right:12px;left:12px;z-index:30;padding:12px;border:1px solid #314365;border-radius:20px;background:rgba(8,16,34,.98);box-shadow:0 22px 60px rgba(0,0,0,.62);gap:9px}
  .mobile-menu a,.mobile-menu button{display:block;text-align:left;width:100%;background:#142340;color:#f0cd6e;border:1px solid #2f3d5c;border-radius:12px;padding:13px 12px;font-family:'Special Elite','Courier New',monospace;font-size:14px;text-decoration:none}
  .chip,.navbtn{font-size:12px;padding:9px 10px}
  .searchbar{top:74px;left:0;right:0;padding:8px 12px;gap:8px;background:linear-gradient(180deg,rgba(12,20,48,.68),rgba(12,20,48,0));display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
  .searchbar input{grid-column:1 / -1;max-width:none;min-width:0;padding:11px 13px;font-size:14px;width:100%;background:rgba(16,28,52,.86);border-radius:12px}
  .searchbar select{grid-column:1 / 2;min-width:0;padding:11px 12px;font-size:14px;width:100%;border-radius:12px;background:rgba(16,28,52,.86)}
  .searchbar .navbtn{grid-column:2 / 3;min-width:0;padding:11px 12px;font-size:13px;width:100%;border-radius:12px;background:rgba(16,28,52,.86)}
  .moodbar{top:184px;padding:5px 10px;gap:8px;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%)}
  .moodbar::-webkit-scrollbar{display:none}
  .moodbar .subq{flex:0 0 auto;font-size:13px;margin-left:4px;white-space:nowrap;color:#c3cfe5}
  .pill{font-size:13px;padding:8px 12px;white-space:nowrap;flex:0 0 auto;background:rgba(22,34,62,.72);backdrop-filter:blur(4px)}
  .livebar{top:236px;max-width:calc(100vw - 80px);padding:0 8px}
  .livepill{font-size:13px;padding:8px 16px 9px;white-space:normal;text-align:center;max-width:100%;line-height:1.25;background:rgba(18,28,50,.68)}
  .district-dock{display:none}
  .bottom{bottom:calc(18px + env(safe-area-inset-bottom));left:50%;right:auto;transform:translateX(-50%);width:min(92vw,380px);padding:0;gap:8px;display:grid;grid-template-columns:1fr 1fr;pointer-events:none}
  .bottom .btn,.bottom .navbtn{pointer-events:auto;min-width:0;padding:11px 9px;font-size:12px;border-radius:14px;background:rgba(14,24,45,.78);border:1px solid rgba(240,205,110,.22);box-shadow:0 10px 28px rgba(0,0,0,.24);backdrop-filter:blur(7px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bottom .btn{background:rgba(240,205,110,.88);color:#101a2e}
  .minimap{display:none}
  .screen{padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media (max-width: 520px){
  .hud .t{font-size:11px;max-width:72px}
  .hud .ctl{max-width:calc(100vw - 94px)}
  .searchbar{top:70px}
  .moodbar{top:180px}
  .livebar{top:232px}
  .bottom .btn,.bottom .navbtn{font-size:12px;padding:10px 8px}
}



.choose-inner{max-width:min(980px,94vw)!important}
.write-inner{max-width:min(820px,94vw)!important;padding-bottom:120px}
.choose-inner .choose-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:14px}
.choose-inner .ccard{min-height:118px;padding:18px 16px}
.create-sticky{margin-top:24px;width:100%;font-size:16px;padding:15px 28px}
.story-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}
.story-count{font-family:'Special Elite',monospace;color:#f0cd6e;font-size:13px;border:1px solid rgba(240,205,110,.25);border-radius:999px;padding:6px 10px;background:rgba(240,205,110,.06)}
.owner-write-inline{margin:18px 0 18px;padding:14px;border:1px dashed #2f3d5c;background:#101b34;border-radius:10px}
.owner-write-inline textarea{min-height:120px}
@media(max-width:820px){
  .panel{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
  .choose-inner .choose-grid{grid-template-columns:1fr 1fr;gap:12px}
  .choose-inner .ccard{min-height:112px;padding:15px 12px}
  .create-sticky{position:sticky;bottom:calc(16px + env(safe-area-inset-bottom));z-index:2;box-shadow:0 16px 38px rgba(0,0,0,.36)}
}
@media(max-width:430px){.choose-inner .choose-grid{grid-template-columns:1fr}}


.gate-actions{justify-content:center;margin-top:26px;gap:10px}
.gate-actions .btn,.gate-actions .navbtn{min-width:150px}
.edit-atmos{margin-top:14px;padding:14px;border:1px solid #2f3d5c;background:#101b34;border-radius:10px}
.edit-atmos .row{gap:8px}


.home-intro-card{margin:14px 0 4px;padding:13px 15px;border:1px solid rgba(240,205,110,.18);border-radius:12px;background:rgba(240,205,110,.045);color:#c8d3e8;font-size:15px;line-height:1.55;font-style:italic}
.story-list{display:grid;gap:12px}
.story-entry{border-left:2px solid rgba(240,205,110,.85);padding:12px 14px;background:rgba(15,26,50,.54);border-radius:0 12px 12px 0;margin-bottom:0}
.story-entry .b{font-size:18px!important;font-style:normal!important;line-height:1.68!important;color:#edf3ff!important;white-space:pre-wrap;word-break:break-word}
.comment-panel{margin-top:24px;padding:16px;border:1px solid #2f3d5c;border-radius:14px;background:rgba(10,18,35,.42)}
.comment-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
.comment-toolbar select{max-width:260px;width:auto;margin-top:0}
.comment-entry .b{font-size:16px!important;font-style:normal!important;line-height:1.55!important;white-space:pre-wrap;word-break:break-word}
.write-section-title{margin-top:18px;padding-top:14px;border-top:1px solid #2f3d5c;color:#f0cd6e;font-family:'Special Elite',monospace}
@media(max-width:820px){
  .story-entry .b{font-size:16px!important;line-height:1.65!important}
  .comment-panel{padding:12px}
  .comment-toolbar select{width:100%;max-width:none}
}


.pager{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;margin:14px 0}
.pager button{background:#16223e;border:1px solid #2f3d5c;color:#f0cd6e;border-radius:999px;padding:7px 12px;font-family:'Special Elite',monospace;cursor:pointer}
.pager button.on{background:#f0cd6e;color:#101a2e;border-color:#f0cd6e}
.pager .info{color:#7d88a4;font-size:13px;font-family:'IBM Plex Sans',system-ui,sans-serif}
.livepill a{color:#f0cd6e;text-decoration:none}
.livepill.clickable{cursor:pointer;border-color:rgba(240,205,110,.42)}
.npc-note{display:none!important}


.facade-picker{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.facade-card{flex:1 1 170px;min-width:170px;text-align:left;cursor:pointer}
.facade-card.on{border-color:#f0cd6e;box-shadow:0 0 0 1px rgba(240,205,110,.2) inset;background:#162541}

.venue-photo{position:relative;overflow:hidden;border:1px solid #2f3d5c;border-radius:14px;background:#0d1730;min-height:180px;margin:0 0 12px}
.venue-photo img{width:100%;height:240px;object-fit:cover;display:block;filter:saturate(.95) contrast(.98)}
.venue-photo.pos-left img{object-position:left center}.venue-photo.pos-center img{object-position:center center}.venue-photo.pos-right img{object-position:right center}
.bar-update-wall{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:12px 0}
.bar-paper{position:relative;background:linear-gradient(180deg,rgba(19,30,54,.96),rgba(9,16,31,.98));color:#dce6f5;border:1px solid rgba(240,205,110,.32);border-radius:14px;padding:18px 16px 15px;box-shadow:0 18px 38px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.03);font-family:'IBM Plex Serif',serif;transform:rotate(var(--rot, -1deg))}
.bar-paper:before{content:'';position:absolute;left:18px;top:-8px;width:54px;height:16px;border-radius:999px;background:rgba(240,205,110,.22);box-shadow:0 2px 8px rgba(0,0,0,.25)}
.bar-paper .d{font-family:'Special Elite',monospace;color:#f0cd6e;font-size:12px;margin-bottom:8px}.bar-paper .b{font-size:16px!important;line-height:1.55!important;color:#dce6f5!important;white-space:pre-wrap;word-break:break-word}
@media(max-width:820px){.venue-photo img{height:190px}.bar-update-wall{grid-template-columns:1fr}.bar-paper .b{font-size:15px!important}}


.entry-img{margin:10px 0 8px;border-radius:12px;overflow:hidden;border:1px solid rgba(240,205,110,.16);background:#0d1730}
.entry-img img{width:100%;max-height:320px;object-fit:cover;display:block}
.entry-img.pos-left img{object-position:left center}.entry-img.pos-center img{object-position:center center}.entry-img.pos-right img{object-position:right center}
.entry-edit{margin:10px 0 14px;padding:12px;border:1px dashed #2f3d5c;border-radius:12px;background:rgba(10,18,35,.45)}
.entry-edit textarea{min-height:110px}
.entry-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.story-board-grid,.venue-wall-grid{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.story-board-grid.home-board{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.story-paper{position:relative;overflow:hidden}
.story-paper.home-paper{background:linear-gradient(180deg,rgba(20,31,56,.96),rgba(9,16,31,.98));border-color:rgba(167,182,204,.28);box-shadow:0 18px 36px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.03)}
.story-paper.home-paper:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 34%);pointer-events:none}
.venue-wall-grid.spotlit{padding-top:16px}
.venue-wall-grid.spotlit:before{content:"";position:absolute;left:4%;right:4%;top:0;height:190px;background:radial-gradient(circle at 18% 0,rgba(240,205,110,.18),transparent 34%),radial-gradient(circle at 50% 0,rgba(255,223,142,.11),transparent 32%),radial-gradient(circle at 82% 0,rgba(240,205,110,.18),transparent 34%);pointer-events:none;filter:blur(1.5px)}
.venue-wall-grid.spotlit:after{content:"";position:absolute;left:12%;right:12%;top:8px;height:12px;border-radius:999px;background:linear-gradient(90deg,rgba(255,224,146,.22),rgba(255,244,216,.55),rgba(255,224,146,.22));opacity:.5;pointer-events:none}
.venue-wall-grid.citybar-wall{padding-top:28px}
.venue-wall-grid.citybar-wall:before{content:"";position:absolute;left:2%;right:2%;top:0;height:220px;background:radial-gradient(circle at 14% 0,rgba(57,225,255,.28),transparent 34%),radial-gradient(circle at 50% 0,rgba(255,74,194,.22),transparent 32%),radial-gradient(circle at 84% 0,rgba(152,102,255,.24),transparent 34%);pointer-events:none;filter:blur(2px)}
.venue-wall-grid.citybar-wall:after{content:"";position:absolute;left:10%;right:10%;top:10px;height:14px;border-radius:999px;background:linear-gradient(90deg,rgba(44,227,255,.28),rgba(255,89,198,.68),rgba(128,103,255,.34));box-shadow:0 0 12px rgba(46,220,255,.24),0 0 18px rgba(255,82,190,.16);opacity:.9;pointer-events:none}
.venue-paper{position:relative;overflow:hidden}
.venue-paper.spotlit{background:linear-gradient(180deg,rgba(18,28,52,.98),rgba(8,14,28,.98));border-color:rgba(240,205,110,.3);box-shadow:0 18px 38px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.03), 0 0 26px rgba(240,205,110,.07)}
.venue-paper.citybar-paper{background:linear-gradient(180deg,rgba(20,23,48,.98),rgba(7,10,22,.99));border-color:rgba(78,230,255,.42);box-shadow:0 20px 42px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.03), 0 0 24px rgba(57,225,255,.14), 0 0 32px rgba(255,74,194,.09)}
.venue-paper.citybar-paper:before{content:"";position:absolute;left:50%;top:-10px;transform:translateX(-50%);width:112px;height:18px;border-radius:0 0 20px 20px;background:linear-gradient(180deg,rgba(254,246,255,.96),rgba(72,232,255,.92) 55%,rgba(255,84,194,.88));box-shadow:0 6px 16px rgba(0,0,0,.28),0 0 18px rgba(57,225,255,.22)}
.venue-paper.citybar-paper:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(57,225,255,.08),transparent 34%,transparent 58%,rgba(255,84,194,.07));pointer-events:none}
.venue-paper.citybar-paper .d{color:#79efff;text-shadow:0 0 10px rgba(57,225,255,.24)}
.venue-paper.citybar-paper .b{color:#eef2ff!important}
.venue-paper.spotlit:before{content:"";position:absolute;left:50%;top:-14px;transform:translateX(-50%);width:86px;height:20px;border-radius:0 0 18px 18px;background:linear-gradient(180deg,rgba(255,244,210,.98),rgba(229,187,88,.92));box-shadow:0 4px 14px rgba(0,0,0,.28)}
.venue-paper.spotlit:after{content:"";position:absolute;left:50%;top:-2px;transform:translateX(-50%);width:190px;height:180px;background:radial-gradient(ellipse at 50% 0,rgba(255,226,142,.28),rgba(255,226,142,.13) 30%,transparent 68%);clip-path:polygon(46% 0,54% 0,100% 100%,0 100%);mix-blend-mode:screen;pointer-events:none;opacity:.9}
.venue-paper .d,.venue-paper .b,.story-paper .d,.story-paper .b{position:relative;z-index:1}

.kvc-card{position:relative;min-height:380px;border-radius:18px;overflow:hidden;background:radial-gradient(circle at 50% 18%,rgba(240,205,110,.18),transparent 25%),linear-gradient(180deg,#17264a,#0a1327 60%,#080f1f)}
.kvc-card .moon-ring{position:absolute;left:50%;top:48%;width:86px;height:86px;border:9px solid rgba(250,244,222,.95);border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 18px rgba(240,205,110,.35)}
.kvc-card .roof{position:absolute;left:50%;top:19%;transform:translateX(-50%);width:58%;height:40px;background:#8c131b;clip-path:polygon(0 70%,10% 35%,22% 25%,50% 0,78% 25%,90% 35%,100% 70%,87% 58%,13% 58%);box-shadow:0 4px 0 #d59a54}
.kvc-card .roof.r2{top:29%;width:70%;height:48px;background:#a2161d}
.kvc-card .body{position:absolute;left:50%;top:38%;transform:translateX(-50%);width:48%;height:92px;background:#8e1319;border:1px solid rgba(240,205,110,.45)}
.kvc-card .col{position:absolute;top:55%;width:12px;height:92px;background:linear-gradient(180deg,#ddd4ac,#9f9a7b);border:1px solid rgba(80,65,40,.28)}
.kvc-card .c1{left:34%}.kvc-card .c2{right:34%}.kvc-card .base{position:absolute;left:25%;right:25%;bottom:72px;height:18px;background:#8d9182;box-shadow:0 9px 0 #6c705f,0 18px 0 #4e5944}.kvc-card .base-plaque{position:absolute;left:50%;bottom:56px;transform:translateX(-50%);min-width:140px;padding:4px 18px;border-radius:6px;background:linear-gradient(180deg,rgba(152,117,58,.97),rgba(92,67,34,.98));border:1px solid rgba(242,220,160,.52);box-shadow:0 6px 14px rgba(0,0,0,.28);font-size:11px;letter-spacing:.24em;color:#f7edd0;text-transform:uppercase;text-align:center}.kvc-card .sign{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);padding:9px 14px;border-radius:999px;background:rgba(18,31,56,.9);border:1px solid rgba(240,205,110,.32);color:#f0cd6e;font-size:12px;font-weight:700;letter-spacing:.08em}

/* v17_5 mobile polish: search/filter lives inside the hamburger menu, logo remains visible */
@media(max-width:820px){
  .hud .t{max-width:118px!important;white-space:normal!important}
  body:not(.menu-open) .searchbar{display:none!important}
  body:not(.menu-open) .livebar{top:66px!important;max-width:min(84vw,420px);opacity:.92}
  .mobile-menu{top:calc(58px + env(safe-area-inset-top))!important;max-height:calc(100dvh - 86px);overflow:auto}
  .mobile-menu .mobile-search{display:grid;grid-template-columns:1fr 112px;gap:8px;padding:10px;border:1px solid rgba(240,205,110,.18);border-radius:16px;background:rgba(12,22,42,.7)}
  .mobile-menu .mobile-search input{grid-column:1/-1;background:#101d37;border-radius:12px;padding:12px 13px;font-size:14px}
  .mobile-menu .mobile-search select{min-width:0;background:#101d37;border-radius:12px;padding:12px 10px;font-size:13px}
  .mobile-menu .mobile-search .navbtn{width:100%;border-radius:12px;padding:12px 8px;text-align:center;background:#f0cd6e;color:#101a2e}
  .mobile-menu .mobile-quick{display:flex;gap:7px;overflow:auto;padding:2px 0 4px;scrollbar-width:none}
  .mobile-menu .mobile-quick::-webkit-scrollbar{display:none}
  .mobile-menu .mobile-quick button{white-space:nowrap;width:auto;flex:0 0 auto;padding:10px 11px;font-size:12px;text-align:center}
  .panel{display:flex;align-items:flex-start;justify-content:center}
  .panel .inner{width:min(94vw,980px);margin:0 auto!important}
  .choose-inner,.write-inner{text-align:center}
  .write-inner input,.write-inner textarea,.write-inner select{text-align:left}
}

/* Phase B horizontal additions */
/* Thành Phố Đêm v18.17.0 — thời tiết mở rộng, mất điện tự hồi phục và đèn xe */
#cv{
  height:100vh;
  height:100dvh;
  max-height:100dvh;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.livebar{pointer-events:auto}
.livepill.clickable,.livepill.clickable a{pointer-events:auto;cursor:pointer}

.bottom.v18-bottom{display:none!important}
.city-hud{
  min-height:64px;
  padding:0 20px!important;
  border-bottom:1px solid rgba(141,163,199,.13);
  background:linear-gradient(180deg,rgba(7,15,31,.96),rgba(9,18,36,.88))!important;
  box-shadow:0 8px 30px rgba(2,7,16,.2);
  backdrop-filter:blur(14px);
}
.city-brand{
  width:178px;
  padding:0;
  border:0;
  background:transparent;
  color:#f0cd6e;
  text-align:left;
  font:16px 'Special Elite',monospace;
  letter-spacing:.16em;
  cursor:pointer;
}
.city-utility{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:0}
.city-weather{color:#8f9db5;font:italic 13px 'IBM Plex Serif',serif;white-space:nowrap}
.city-nav{display:flex;align-items:center;gap:4px;flex-wrap:nowrap!important}
.city-utility-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:32px;padding:7px 9px;border:0;border-radius:9px;
  background:transparent;color:#9eabc0;text-decoration:none;
  font:12px 'IBM Plex Sans',system-ui,sans-serif;cursor:pointer;white-space:nowrap;
}
.city-utility-link:hover{background:rgba(120,145,182,.1);color:#f0cd6e}
.city-top-actions{
  position:fixed;
  top:calc(11px + env(safe-area-inset-top));
  left:50%;
  z-index:8;
  display:flex;
  align-items:center;
  gap:6px;
  transform:translateX(-50%);
}
.city-top-actions button{
  min-height:40px;
  padding:9px 13px;
  border:1px solid rgba(151,174,210,.2);
  border-radius:13px;
  background:rgba(17,29,52,.76);
  color:#dce5f2;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
  backdrop-filter:blur(8px);
  font:12px 'Special Elite',monospace;
  white-space:nowrap;
  cursor:pointer;
}
.city-top-actions button:hover{border-color:rgba(240,205,110,.5);color:#f0cd6e}
.short-label{display:none}

.searchbar{
  top:76px!important;left:50%!important;right:auto!important;transform:translateX(-50%);
  width:min(720px,calc(100vw - 32px));padding:8px!important;display:grid!important;
  grid-template-columns:minmax(240px,1fr) 190px 120px;gap:7px!important;
  border:1px solid rgba(137,160,195,.14);border-radius:16px;
  background:rgba(9,18,36,.78)!important;box-shadow:0 14px 34px rgba(0,0,0,.16);backdrop-filter:blur(10px);
}
.searchbar input,.searchbar select,.searchbar .navbtn{width:100%!important;max-width:none!important;min-height:42px;border-radius:10px!important}
.searchbar .navbtn{background:#172844;color:#f0cd6e;border:1px solid rgba(240,205,110,.2)}
.livebar{top:142px!important;max-width:min(86vw,790px)!important}
.livepill{padding:8px 20px 9px;border-radius:999px;background:rgba(11,21,41,.74)}
.city-load-error{top:190px!important}
.event-banner{top:190px!important}
.search-next{border-color:rgba(126,223,208,.46)!important;color:#7edfd0!important}

.city-loop-note{display:none!important}

.panel{
  background:
    radial-gradient(circle at 18% 8%,rgba(55,76,116,.2),transparent 34%),
    radial-gradient(circle at 82% 22%,rgba(90,55,92,.13),transparent 32%),
    #091226!important;
}
.panel .inner{width:min(1080px,100%);max-width:1080px!important}
.house-nav{position:relative;z-index:3;gap:7px;margin-bottom:14px;flex-wrap:wrap}
.house-content{
  position:relative;
  margin-top:18px;
  padding:clamp(16px,3vw,30px);
  border:1px solid rgba(151,170,204,.16);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(18,30,54,.87),rgba(8,16,31,.94));
  box-shadow:0 24px 70px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.025);
}

.house-interior{
  position:relative;
  height:clamp(230px,26vw,300px);
  min-height:230px;
  margin:0 0 20px;
  overflow:hidden;
  border:1px solid rgba(190,205,226,.25);
  border-radius:24px;
  background:#101a2a;
  box-shadow:0 28px 70px rgba(0,0,0,.48),inset 0 0 0 1px rgba(255,255,255,.035);
  isolation:isolate;
}
.house-interior:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 35%,rgba(3,7,15,.3));
  box-shadow:inset 0 0 80px rgba(0,0,0,.4);
}
#houseInteriorCanvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.room-plaque,.room-detail{position:absolute;z-index:2}
.room-plaque{
  top:16px;
  left:18px;
  display:grid;
  gap:2px;
  max-width:min(52%,420px);
  padding:10px 13px;
  border:1px solid rgba(240,205,110,.25);
  border-radius:12px;
  background:rgba(7,13,25,.68);
  backdrop-filter:blur(8px);
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}
.room-plaque span{color:#a7b2cc;font:10px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.room-plaque strong{overflow:hidden;color:#f0cd6e;font:clamp(15px,2vw,20px) 'Special Elite',monospace;text-overflow:ellipsis;white-space:nowrap}
.room-detail{
  top:17px;
  right:18px;
  max-width:46%;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(7,13,25,.64);
  color:#c4cede;
  font:11px 'IBM Plex Sans',system-ui,sans-serif;
  backdrop-filter:blur(7px);
  line-height:1.35;
  text-align:right;
}
.apartment-interior{border-color:rgba(126,223,208,.28)}
.real-venue-interior{border-color:rgba(240,205,110,.34)}
.room-upgrades{position:absolute;left:18px;bottom:16px;z-index:2;display:flex;gap:5px;max-width:68%;flex-wrap:wrap}
.room-upgrades span{padding:5px 8px;border:1px solid rgba(240,205,110,.22);border-radius:999px;background:rgba(6,12,23,.68);color:#d7dfeb;font:10px 'IBM Plex Sans',system-ui,sans-serif;backdrop-filter:blur(7px)}
.room-camera{position:absolute;right:16px;bottom:14px;z-index:3;display:flex;gap:4px;padding:4px;border:1px solid rgba(177,196,210,.17);border-radius:999px;background:rgba(5,11,20,.72);backdrop-filter:blur(9px)}
.room-camera button{padding:6px 9px;border:0;border-radius:999px;background:transparent;color:#91a0b5;font:10px 'IBM Plex Sans',system-ui,sans-serif;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.room-camera button:hover,.room-camera button.on{background:rgba(211,184,113,.14);color:#ead7a5;box-shadow:inset 0 0 0 1px rgba(211,184,113,.22)}
.room-camera .memory-pick{margin-left:2px;color:#9fc9c4;box-shadow:inset 1px 0 rgba(157,190,188,.18)}
.room-camera.room-memory-only{left:auto;right:16px;bottom:14px;padding:3px}
.room-camera.room-memory-only .memory-pick{margin:0;color:#d9c58e;box-shadow:none}
.room-picked{animation:roomPicked 2.4s ease both}@keyframes roomPicked{0%,100%{transform:translateY(0);box-shadow:0 0 0 rgba(211,184,113,0)}20%,70%{transform:translateY(-3px);box-shadow:0 0 0 2px rgba(211,184,113,.5),0 16px 45px rgba(0,0,0,.42)}}
.venue-head,.house-interior + div{position:relative}
.venue-profile .venue-cover,.venue-profile .venue-photo{display:none!important}
.venue-profile-compact{width:100%;max-width:none;margin-top:14px}
.venue-profile-compact>.mini-note{padding:14px 16px;border:1px solid rgba(151,174,210,.18)!important;border-radius:14px!important;background:rgba(12,22,42,.58)!important;color:#aebbd0!important}
.venue-profile-compact .mono{color:#f0cd6e;margin-bottom:7px}
.venue-profile-copy{font-size:14px;line-height:1.62;color:#c8d2e2}
.venue-profile-compact .venue-note{margin-top:12px;padding:11px 12px;border:1px solid rgba(240,205,110,.18);border-radius:10px;background:rgba(240,205,110,.04)}
.apartment-address{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;margin:14px 0;padding:14px 16px;border:1px solid rgba(126,223,208,.2);border-radius:14px;background:linear-gradient(135deg,rgba(25,47,63,.45),rgba(12,22,39,.68))}
.apartment-address>div:first-child{display:grid;gap:3px}.apartment-address>div:first-child span{color:#7edfd0;font:9px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.16em}.apartment-address strong{color:#e4eaf2;font:16px 'Special Elite',monospace}.apartment-address small{color:#91a0b6;font:12px 'IBM Plex Sans',system-ui,sans-serif}
.apartment-unit{display:grid;align-content:center;gap:3px;text-align:right}.apartment-unit b{color:#f0cd6e;font:14px 'Special Elite',monospace}.apartment-unit span{color:#9eacc0;font-size:12px}
.apartment-directory{grid-column:1/-1;display:grid;gap:10px;padding-top:11px;border-top:1px solid rgba(126,223,208,.12)}
.apartment-directory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7edfd0;font:10px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.13em}.apartment-directory-head b{color:#f0cd6e;font-size:11px;letter-spacing:0}
.apartment-room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:8px}
.apartment-room-card{position:relative;display:grid;gap:4px;min-width:0;padding:11px 12px;text-align:left;border:1px solid rgba(142,167,196,.2);border-radius:11px;background:linear-gradient(180deg,rgba(16,29,49,.88),rgba(8,16,29,.82));color:#cdd7e4;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}.apartment-room-card:hover{transform:translateY(-1px);border-color:rgba(126,223,208,.48);background:rgba(22,42,58,.9)}
.apartment-room-card.current{border-color:rgba(240,205,110,.55);box-shadow:inset 3px 0 #f0cd6e;background:rgba(40,38,42,.78);cursor:default}.apartment-room-card .apartment-room-no{color:#7edfd0;font:9px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.12em}.apartment-room-card strong{overflow:hidden;color:#e3e9f1;font:13px 'Special Elite',monospace;text-overflow:ellipsis;white-space:nowrap}.apartment-room-card small{color:#8998ad;font:10px 'IBM Plex Sans',system-ui,sans-serif}.apartment-room-card i{position:absolute;right:8px;top:8px;color:#f0cd6e;font:9px 'IBM Plex Sans',system-ui,sans-serif;font-style:normal}
.apartment-address p{grid-column:1/-1;margin:0;padding-top:9px;border-top:1px solid rgba(126,223,208,.12);color:#91a0b6;font-size:12px;line-height:1.5}
.admin-post-link{color:#7edfd0!important;text-decoration:underline;text-decoration-color:rgba(126,223,208,.42);text-underline-offset:3px;overflow-wrap:anywhere}
.room-progress{margin:14px 0;padding:14px 16px;border:1px solid rgba(166,184,211,.16);border-radius:14px;background:rgba(10,19,35,.56)}
.room-progress-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.room-progress-top div{display:grid;gap:3px}.room-progress-top span{color:#8290a8;font:9px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.15em}.room-progress-top strong{color:#dbe2eb;font:14px 'Special Elite',monospace}.room-progress-top b{color:#f0cd6e;font:12px 'IBM Plex Sans',system-ui,sans-serif;white-space:nowrap}
.room-progress-track{height:5px;margin:11px 0 10px;overflow:hidden;border-radius:99px;background:#0a1222}.room-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7edfd0,#f0cd6e);box-shadow:0 0 14px rgba(240,205,110,.28)}
.room-keepsakes{display:flex;gap:6px;flex-wrap:wrap}.room-keepsakes span{padding:5px 8px;border:1px solid rgba(154,174,207,.16);border-radius:999px;color:#9facc0;font:10px 'IBM Plex Sans',system-ui,sans-serif}
.room-progress p{margin:10px 0 0;color:#8e9bb0;font:12px/1.5 'IBM Plex Sans',system-ui,sans-serif}

.comment-panel{scroll-margin-top:22px}
.comment-filter-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding:8px 10px;
  margin:8px 0 12px;
  border:1px solid rgba(240,205,110,.14);
  border-radius:10px;
  background:rgba(255,255,255,.025);
}
.comment-filter-row select{width:auto;max-width:220px;padding:8px 10px}
.comment-options{
  margin:10px 0 0;
  border:1px dashed rgba(240,205,110,.2);
  border-radius:10px;
  padding:9px 11px;
  background:rgba(10,18,35,.5);
}
.comment-options summary{cursor:pointer;color:#a7b2cc;font:13px 'IBM Plex Sans',system-ui,sans-serif}
.comment-options .options-body{display:grid;gap:9px;margin-top:10px}
.comment-options select{max-width:220px;padding:8px 10px}

.entry-share-row{display:flex;justify-content:flex-end;margin-top:12px;position:relative;z-index:2}
.entry-share-row button{padding:7px 10px}
.house-share-compact{margin-left:auto}

.share-sheet-backdrop{
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(4,8,18,.82);
  backdrop-filter:blur(7px);
}
.share-sheet{
  width:min(94vw,470px);
  max-height:90dvh;
  overflow:auto;
  padding:20px;
  border:1px solid rgba(240,205,110,.48);
  border-radius:18px;
  background:linear-gradient(180deg,#172442,#0d172d);
  box-shadow:0 26px 80px rgba(0,0,0,.55);
}
.share-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.share-sheet-title{color:#f0cd6e;font:17px 'Special Elite',monospace;line-height:1.35}
.share-sheet-close{border:0;background:transparent;color:#9aa7c0;font-size:22px;cursor:pointer}
.share-sheet-url{margin:9px 0 14px;color:#9aa7c0;font-size:12px;line-height:1.45;word-break:break-all}
.share-sheet-qr{display:flex;justify-content:center;margin:6px 0 16px}
.share-sheet-qr img{width:184px;height:184px;padding:10px;border-radius:16px;background:white}
.share-sheet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.share-sheet-actions button,.share-sheet-actions a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 10px;
  border:1px solid #344361;
  border-radius:10px;
  background:#121f3b;
  color:#f0cd6e;
  text-decoration:none;
  font:13px 'Special Elite',monospace;
  cursor:pointer;
  text-align:center;
}
.share-sheet-actions .primary{grid-column:1/-1;background:#f0cd6e;color:#101a2e;border-color:#f0cd6e}

.story-paper.share-focus,.venue-paper.share-focus{
  outline:2px solid rgba(126,223,208,.72);
  box-shadow:0 0 0 5px rgba(126,223,208,.1),0 18px 38px rgba(0,0,0,.34);
}

@media(max-width:1100px) and (min-width:821px){
  .city-top-actions .full-label{display:none}
  .city-top-actions .short-label{display:inline}
  .city-top-actions button{padding-inline:9px}
}

@media(max-width:1000px) and (min-width:821px){
  .city-weather,.city-info-link{display:none}
  .city-brand{width:150px;font-size:14px}
}

@media(max-width:820px){
  .city-hud{min-height:56px;padding:0 12px!important}
  .city-brand{width:112px;font-size:11px;line-height:1.18;letter-spacing:.13em}
  .city-weather{display:none}
  .city-utility{gap:5px}
  .city-top-actions{
    top:calc(61px + env(safe-area-inset-top));
    max-width:calc(100vw - 16px);
    gap:4px;
  }
  .city-top-actions button{
    min-height:33px;
    padding:7px 8px;
    border-radius:10px;
    font-size:10px;
    background:rgba(12,22,42,.9);
  }
  .city-top-actions .full-label{display:none}
  .city-top-actions .short-label{display:inline}
  .city-top-actions .search-next{max-width:108px;overflow:hidden;text-overflow:ellipsis}
  body:not(.menu-open) .livebar{top:107px!important;max-width:min(88vw,440px)!important}
  .city-load-error,.event-banner{top:153px!important}
  .comment-filter-row{align-items:stretch}
  .comment-filter-row select{width:100%;max-width:none}
  .share-sheet-actions{grid-template-columns:1fr}
  .share-sheet-actions .primary{grid-column:auto}
  .panel{padding-left:12px!important;padding-right:12px!important}
  .house-interior{height:270px;min-height:270px;border-radius:18px}
  .room-plaque{left:12px;top:12px;max-width:72%}
  .room-detail{left:12px;right:auto;top:auto;bottom:50px;max-width:calc(100% - 24px);text-align:left}
  .room-camera{left:12px;right:auto;bottom:10px;max-width:calc(100% - 24px)}
  .room-camera button{padding:6px 7px;font-size:9px}
  .room-upgrades{left:12px;right:12px;top:72px;bottom:auto;max-width:none}
  .room-upgrades span{padding:4px 7px;font-size:9px}
  .apartment-address{grid-template-columns:1fr;padding:12px}.apartment-unit{text-align:left}.apartment-directory,.apartment-address p{grid-column:1}.apartment-room-grid{grid-template-columns:1fr 1fr}
  .house-content{padding:15px;border-radius:18px}
}

@media(max-width:390px){
  .city-top-actions button{padding-inline:6px;font-size:9px}
  .city-top-actions{max-width:calc(100vw - 10px)}
  .apartment-room-grid{grid-template-columns:1fr}
}

/* Extracted compatibility styles */
.quickbar{display:none !important}
.alley-chip{position:fixed;top:245px;left:50%;transform:translateX(-50%);z-index:6;border:1px solid rgba(240,205,110,.45);background:linear-gradient(180deg,rgba(23,36,63,.92),rgba(14,24,42,.96));color:#f4efe0;border-radius:999px;padding:10px 16px;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.alley-hud{position:fixed;top:150px;left:50%;transform:translateX(-50%);z-index:6;max-width:min(92vw,760px);padding:10px 16px;border:1px solid rgba(126,223,208,.26);border-radius:18px;background:rgba(11,20,38,.82);box-shadow:0 14px 30px rgba(0,0,0,.18);color:#dbe4f2;backdrop-filter:blur(6px)}
.alley-hud b{color:#7edfd0;font-family:'Special Elite',monospace;font-size:13px;letter-spacing:.06em}.alley-hud .sub{font-size:13px;color:#aebad1;margin-top:4px}
.city-loc{position:fixed;top:198px;left:50%;transform:translateX(-50%);z-index:6;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;max-width:min(92vw,920px)}
.city-loc .chipx{border-radius:999px;padding:7px 12px;font-size:12px;background:rgba(18,28,50,.88);border:1px solid rgba(126,223,208,.2);color:#dbe4f2;box-shadow:0 8px 22px rgba(0,0,0,.12)}.city-loc .chipx b{color:#f0cd6e;font-family:'Special Elite',monospace}
.lightning-overlay{position:fixed;inset:0;pointer-events:none;z-index:2;opacity:0;background:linear-gradient(180deg,rgba(215,230,255,.18),rgba(255,255,255,0));animation:flashSky 12s infinite}
.lightning-overlay:before{content:'';position:absolute;top:0;left:68%;width:2px;height:160px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.2));box-shadow:0 0 18px rgba(255,255,255,.6);transform:skewX(-12deg)}
@keyframes flashSky{0%,5%,12%,100%{opacity:0}5.6%,6.0%{opacity:.1}6.3%{opacity:.32}6.6%,6.9%{opacity:0}29.8%{opacity:0}30%{opacity:.22}30.2%{opacity:0}70%,100%{opacity:0}}

/* v17_5 mobile polish: search/filter lives inside the hamburger menu, logo remains visible */
@media(max-width:820px){
  .hud .t{max-width:118px!important;white-space:normal!important}
  body:not(.menu-open) .searchbar{display:none!important}
  body:not(.menu-open) .livebar{top:66px!important;max-width:min(84vw,420px);opacity:.92}
  .mobile-menu{top:calc(58px + env(safe-area-inset-top))!important;max-height:calc(100dvh - 86px);overflow:auto}
  .mobile-menu .mobile-search{display:grid;grid-template-columns:1fr 112px;gap:8px;padding:10px;border:1px solid rgba(240,205,110,.18);border-radius:16px;background:rgba(12,22,42,.7)}
  .mobile-menu .mobile-search input{grid-column:1/-1;background:#101d37;border-radius:12px;padding:12px 13px;font-size:14px}
  .mobile-menu .mobile-search select{min-width:0;background:#101d37;border-radius:12px;padding:12px 10px;font-size:13px}
  .mobile-menu .mobile-search .navbtn{width:100%;border-radius:12px;padding:12px 8px;text-align:center;background:#f0cd6e;color:#101a2e}
  .mobile-menu .mobile-quick{display:flex;gap:7px;overflow:auto;padding:2px 0 4px;scrollbar-width:none}
  .mobile-menu .mobile-quick::-webkit-scrollbar{display:none}
  .mobile-menu .mobile-quick button{white-space:nowrap;width:auto;flex:0 0 auto;padding:10px 11px;font-size:12px;text-align:center}
  .panel{display:flex;align-items:flex-start;justify-content:center}
  .panel .inner{width:min(94vw,980px);margin:0 auto!important}
  .choose-inner,.write-inner{text-align:center}
  .write-inner input,.write-inner textarea,.write-inner select{text-align:left}
}
.first-night-intro{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;pointer-events:none;background:radial-gradient(circle at 50% 58%,rgba(31,61,84,.36),rgba(4,8,18,.94) 68%);animation:firstNightIn .9s ease both}
.first-night-intro>div{text-align:center;filter:drop-shadow(0 12px 35px #000)}
.first-night-intro small,.first-night-intro span{display:block;color:#9eb9c5;letter-spacing:.23em;font:600 10px 'IBM Plex Sans',sans-serif}
.first-night-intro strong{display:block;margin:12px 0;color:#f0cd6e;letter-spacing:.13em;font:clamp(30px,7vw,76px) 'Special Elite',serif;text-shadow:0 0 28px rgba(240,205,110,.2)}
.first-night-intro span{letter-spacing:.08em;text-transform:none;color:#c1ccd2;font-weight:400}
.first-night-intro.leaving{animation:firstNightOut 1.25s ease forwards}
@keyframes firstNightIn{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@keyframes firstNightOut{to{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.first-night-intro{animation:none}.first-night-intro.leaving{opacity:0;transition:opacity .15s}}


/* 2026-07-21 hotfix: reserve a separate mobile rail for LIVE news below city actions. */
@media(max-width:820px){
  .city-top-actions{
    top:calc(61px + env(safe-area-inset-top))!important;
    z-index:9!important;
  }
  body:not(.menu-open) .livebar{
    top:calc(105px + env(safe-area-inset-top))!important;
    left:50%!important;
    width:calc(100vw - 24px)!important;
    max-width:440px!important;
    padding:0!important;
    opacity:1!important;
    z-index:8!important;
    pointer-events:auto!important;
  }
  body:not(.menu-open) .livepill{
    display:-webkit-box!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    padding:8px 13px 9px!important;
    border-radius:15px!important;
    font-size:12px!important;
    line-height:1.28!important;
    text-align:center!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    box-sizing:border-box!important;
  }
  .city-load-error,.event-banner{top:calc(158px + env(safe-area-inset-top))!important}
}
@media(max-width:390px){
  .city-top-actions{gap:3px!important;max-width:calc(100vw - 12px)!important}
  .city-top-actions button{padding-inline:6px!important;font-size:9px!important}
  body:not(.menu-open) .livebar{top:calc(102px + env(safe-area-inset-top))!important;width:calc(100vw - 18px)!important}
  body:not(.menu-open) .livepill{font-size:11px!important;padding:7px 10px 8px!important}
}


/* v2026-07-22 mobile polish + legal links */
@media(max-width:820px){
  .hud,.city-hud{padding-top:calc(8px + env(safe-area-inset-top));}
  body:not(.menu-open) .livebar{top:calc(96px + env(safe-area-inset-top))!important;width:min(90vw,430px)!important}
  .event-banner{top:calc(132px + env(safe-area-inset-top))!important;max-width:min(94vw,620px)!important;padding:9px 14px!important;font-size:13px!important;line-height:1.45!important}
  .alley-chip{top:calc(176px + env(safe-area-inset-top))!important;right:10px!important;max-width:44vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-menu{padding-bottom:calc(14px + env(safe-area-inset-bottom));}
  .mobile-menu a,.mobile-menu button{font-size:13px!important;padding:12px 11px!important}
  .panel{padding-inline:12px!important}
  .inner,.venue-inner{max-width:min(100vw - 16px,760px)!important}
  .house-content{padding-bottom:8px}
  .venue-inner .venue-cover,.venue-cover{min-height:260px!important}
  .venue-photo img{height:180px!important}
  .bottom{width:min(94vw,390px)!important;grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){
  .mobile-menu{left:8px!important;right:8px!important;top:calc(56px + env(safe-area-inset-top))!important}
  body:not(.menu-open) .livebar{top:calc(92px + env(safe-area-inset-top))!important;width:calc(100vw - 20px)!important}
  .event-banner{top:calc(126px + env(safe-area-inset-top))!important}
  .bottom .btn,.bottom .navbtn{min-height:46px!important;font-size:11.5px!important}
  .searchbar input,.searchbar select,.searchbar .navbtn{min-height:44px!important}
}

/* Hotfix R12: mobile livebar tách hẳn khỏi cụm quick nav */
@media (max-width: 820px){
  body:not(.menu-open) .livebar{
    top: calc(138px + env(safe-area-inset-top)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    padding: 0 6px !important;
    z-index: 9 !important;
  }
  body:not(.menu-open) .livepill{
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.38 !important;
    font-size: 11px !important;
    padding: 9px 12px 10px !important;
  }
  .city-load-error,.event-banner{
    top: calc(188px + env(safe-area-inset-top)) !important;
  }
}
@media (max-width: 520px){
  body:not(.menu-open) .livebar{
    top: calc(144px + env(safe-area-inset-top)) !important;
    width: calc(100vw - 14px) !important;
    max-width: calc(100vw - 14px) !important;
  }
  .city-load-error,.event-banner{
    top: calc(194px + env(safe-area-inset-top)) !important;
  }
}

/* Hotfix R13: live ticker nằm cạnh logo trên mobile */
.city-mobile-live{display:none}
.city-mobile-livepill{display:none}

@media (max-width:820px){
  .city-hud{
    display:grid !important;
    grid-template-columns:112px minmax(0,1fr) auto !important;
    align-items:center !important;
    column-gap:8px !important;
  }
  .city-mobile-live{
    display:block !important;
    min-width:0;
    max-width:100%;
  }
  .city-mobile-livepill{
    display:block !important;
    width:100%;
    min-width:0;
    padding:7px 12px 8px;
    border:1px solid rgba(240,205,110,.24);
    border-radius:999px;
    background:linear-gradient(180deg,rgba(7,23,54,.92),rgba(5,17,40,.92));
    color:#d8dfeb;
    font:italic 12px 'IBM Plex Serif',serif;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    box-sizing:border-box;
  }
  .city-mobile-livepill.clickable{cursor:pointer}
  body:not(.menu-open) .livebar{display:none !important}
  body.menu-open .city-mobile-live{display:none !important}
  .city-load-error,.event-banner{
    top:calc(112px + env(safe-area-inset-top)) !important;
  }
}
@media (max-width:520px){
  .city-hud{grid-template-columns:108px minmax(0,1fr) auto !important;column-gap:6px !important}
  .city-brand{width:108px !important;font-size:10.5px !important}
  .city-mobile-livepill{font-size:11px !important;padding:7px 10px 8px !important}
  .city-load-error,.event-banner{top:calc(108px + env(safe-area-inset-top)) !important}
}

/* Hotfix R14: ticker kiểu bản tin TV, thống nhất mobile + desktop */
.city-mobile-live,.city-mobile-livepill,.livebar{display:none !important}
.city-hud{
  display:grid !important;
  grid-template-columns:178px minmax(260px,1fr) auto !important;
  align-items:center !important;
  column-gap:14px !important;
}
.city-live{
  min-width:0;
  height:38px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px 0 10px;
  border:1px solid rgba(240,205,110,.24);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(7,23,54,.94),rgba(5,17,40,.94));
  box-shadow:inset 0 0 0 1px rgba(116,147,196,.06);
  overflow:hidden;
}
.city-live-label{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:22px;
  padding:0 8px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(120,18,24,.92),rgba(84,8,16,.92));
  color:#ffd6d6;
  font:700 10px/1 'IBM Plex Sans',system-ui,sans-serif;
  letter-spacing:.18em;
  text-transform:uppercase;
}
#livepill.city-livepill{
  position:relative;
  display:inline-block;
  min-width:max-content;
  padding-left:100%;
  color:#dbe4f0;
  font:italic 15px/1.2 'IBM Plex Serif',serif;
  white-space:nowrap;
  animation:cityTickerScroll 14s linear infinite;
  will-change:transform;
}
#livepill.city-livepill a,
#livepill.city-livepill,
#livepill.city-livepill a:visited,
#livepill.city-livepill a:hover,
#livepill.city-livepill a:active{
  color:#dbe4f0 !important;
  text-decoration:none !important;
}
#livepill.city-livepill.clickable{cursor:pointer}
@keyframes cityTickerScroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-100%)}
}
.city-live:hover #livepill.city-livepill{animation-play-state:paused}

@media (max-width:1100px){
  .city-hud{grid-template-columns:150px minmax(180px,1fr) auto !important;column-gap:10px !important}
  .city-brand{width:150px !important;font-size:14px !important}
  #livepill.city-livepill{font-size:13px !important}
}
@media (max-width:820px){
  .city-hud{grid-template-columns:112px minmax(0,1fr) auto !important;column-gap:8px !important}
  .city-live{height:36px;padding:0 10px 0 8px !important}
  .city-live-label{min-width:34px;height:20px;padding:0 6px;font-size:9px}
  #livepill.city-livepill{font-size:12px !important}
  .city-load-error,.event-banner{top:calc(112px + env(safe-area-inset-top)) !important}
}
@media (max-width:520px){
  .city-hud{grid-template-columns:108px minmax(0,1fr) auto !important;column-gap:6px !important}
  .city-brand{width:108px !important;font-size:10.5px !important}
  .city-live{height:34px;padding:0 8px 0 7px !important}
  .city-live-label{min-width:30px;height:19px;padding:0 5px;font-size:8px}
  #livepill.city-livepill{font-size:11px !important}
  .city-load-error,.event-banner{top:calc(108px + env(safe-area-inset-top)) !important}
}

/* Hotfix R15: ticker không đè chữ LIVE, header không tràn nút trên PC */
.city-hud{
  display:grid !important;
  grid-template-columns:178px minmax(280px,1fr) auto !important;
  grid-template-areas:
    "brand live util"
    "actions actions actions" !important;
  align-items:center !important;
  row-gap:10px !important;
  column-gap:14px !important;
}
.city-brand{grid-area:brand}
.city-live{grid-area:live}
.city-top-actions{grid-area:actions;justify-self:center}
.city-utility{grid-area:util;justify-self:end}

.city-live{
  min-width:0;
  height:38px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px 0 10px;
  border:1px solid rgba(240,205,110,.24);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(7,23,54,.94),rgba(5,17,40,.94));
  box-shadow:inset 0 0 0 1px rgba(116,147,196,.06);
}
.city-live-label{position:relative;z-index:2;flex:0 0 auto}
.city-live-track{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  height:20px;
}
#livepill.city-livepill{
  position:absolute;
  left:0;
  top:0;
  display:inline-block;
  min-width:max-content;
  padding-left:0 !important;
  color:#dbe4f0;
  font:italic 15px/20px 'IBM Plex Serif',serif;
  white-space:nowrap;
  transform:translateX(100%);
  animation:cityTickerScrollSafe 18s linear infinite;
  will-change:transform;
}
#livepill.city-livepill a,
#livepill.city-livepill,
#livepill.city-livepill a:visited,
#livepill.city-livepill a:hover,
#livepill.city-livepill a:active{
  color:#dbe4f0 !important;
  text-decoration:none !important;
}
@keyframes cityTickerScrollSafe{
  0%{transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}
.city-live:hover #livepill.city-livepill{animation-play-state:paused}

@media (max-width:1280px){
  .city-hud{grid-template-columns:160px minmax(220px,1fr) auto !important;column-gap:10px !important}
  .city-brand{width:160px !important;font-size:14px !important}
  #livepill.city-livepill{font-size:13px !important}
}
@media (max-width:820px){
  .city-hud{
    grid-template-columns:112px minmax(0,1fr) auto !important;
    grid-template-areas:
      "brand live util"
      "actions actions actions" !important;
    row-gap:10px !important;
    column-gap:8px !important;
  }
  .city-live{height:36px;padding:0 10px 0 8px !important}
  .city-live-track{height:18px}
  .city-live-label{min-width:34px;height:20px;padding:0 6px;font-size:9px}
  #livepill.city-livepill{font-size:12px !important;line-height:18px !important}
}
@media (max-width:520px){
  .city-hud{grid-template-columns:108px minmax(0,1fr) auto !important;column-gap:6px !important}
  .city-brand{width:108px !important;font-size:10.5px !important}
  .city-live{height:34px;padding:0 8px 0 7px !important}
  .city-live-track{height:17px}
  .city-live-label{min-width:30px;height:19px;padding:0 5px;font-size:8px}
  #livepill.city-livepill{font-size:11px !important;line-height:17px !important}
}

/* Hotfix R16: ticker gọn một lớp; trả quick actions về vị trí cũ */
.city-mobile-live,.city-mobile-livepill,.livebar{display:none!important}

.city-hud{
  display:flex!important;
  align-items:center!important;
  min-height:64px!important;
  padding:0 20px!important;
}
.city-brand{
  flex:0 0 178px!important;
  width:178px!important;
}
.city-utility{
  margin-left:auto!important;
  position:relative!important;
  z-index:11!important;
}
.city-live{
  position:fixed!important;
  top:calc(13px + env(safe-area-inset-top))!important;
  left:198px!important;
  width:clamp(160px,18vw,310px)!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 10px!important;
  border:1px solid rgba(240,205,110,.28)!important;
  border-radius:999px!important;
  background:rgba(7,20,45,.92)!important;
  box-shadow:none!important;
  overflow:hidden!important;
  z-index:9!important;
}
.city-live-label{
  flex:0 0 auto!important;
  min-width:auto!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#e77a82!important;
  font:700 9px/1 'IBM Plex Sans',system-ui,sans-serif!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
.city-live-track{
  position:relative!important;
  flex:1 1 auto!important;
  min-width:0!important;
  height:18px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#livepill.city-livepill{
  position:absolute!important;
  left:0!important;
  top:0!important;
  display:inline-block!important;
  min-width:max-content!important;
  padding:0!important;
  color:#dbe4f0!important;
  font:italic 13px/18px 'IBM Plex Serif',serif!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  transform:translateX(100%);
  animation:none!important;
  will-change:transform;
}
#livepill.city-livepill.is-running{
  animation:cityTickerR16 14.6s linear both!important;
}
#livepill.city-livepill,
#livepill.city-livepill:visited,
#livepill.city-livepill:hover,
#livepill.city-livepill:active{
  color:#dbe4f0!important;
  text-decoration:none!important;
}
@keyframes cityTickerR16{
  0%{transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}

.city-top-actions{
  position:fixed!important;
  top:calc(11px + env(safe-area-inset-top))!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  z-index:10!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  max-width:min(48vw,560px)!important;
}
.city-top-actions button{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

@media(max-width:1280px) and (min-width:821px){
  .city-brand{flex-basis:150px!important;width:150px!important;font-size:14px!important}
  .city-live{left:160px!important;width:clamp(135px,15vw,210px)!important}
  .city-top-actions{max-width:52vw!important;gap:4px!important}
  .city-top-actions .full-label{display:none!important}
  .city-top-actions .short-label{display:inline!important}
  .city-top-actions button{padding-inline:9px!important}
}

@media(max-width:820px){
  .city-hud{
    display:grid!important;
    grid-template-columns:108px minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:7px!important;
    min-height:56px!important;
    padding:0 12px!important;
    padding-top:calc(8px + env(safe-area-inset-top))!important;
  }
  .city-brand{
    flex:initial!important;
    width:108px!important;
    font-size:10.5px!important;
    line-height:1.18!important;
    letter-spacing:.13em!important;
  }
  .city-live{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    width:100%!important;
    max-width:none!important;
    height:32px!important;
    padding:0 9px!important;
    gap:7px!important;
    z-index:11!important;
  }
  .city-live-label{font-size:8px!important}
  .city-live-track{height:17px!important}
  #livepill.city-livepill{font-size:11px!important;line-height:17px!important}
  .city-utility{margin-left:0!important;justify-self:end!important}
  .city-top-actions{
    position:fixed!important;
    top:calc(61px + env(safe-area-inset-top))!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    z-index:10!important;
    display:flex!important;
    gap:4px!important;
    width:auto!important;
    max-width:calc(100vw - 16px)!important;
  }
  .city-top-actions button{
    padding:9px 10px!important;
    font-size:10px!important;
  }
  .city-top-actions .full-label{display:none!important}
  .city-top-actions .short-label{display:inline!important}
  .city-load-error,.event-banner{top:calc(108px + env(safe-area-inset-top))!important}
}

@media(max-width:390px){
  .city-hud{grid-template-columns:102px minmax(0,1fr) auto!important;column-gap:5px!important;padding-inline:8px!important}
  .city-brand{width:102px!important;font-size:9.8px!important}
  .city-live{height:30px!important;padding:0 7px!important;gap:6px!important}
  .city-live-label{font-size:7.5px!important}
  .city-live-track{height:16px!important}
  #livepill.city-livepill{font-size:10.5px!important;line-height:16px!important}
  .city-top-actions{gap:3px!important;max-width:calc(100vw - 10px)!important}
  .city-top-actions button{padding:8px 7px!important;font-size:9px!important}
}

/* R18 — chốt lại header sạch, thẳng hàng, không còn khung trong khung */
.livebar,.city-mobile-live,.city-mobile-livepill{display:none!important}

.city-hud{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;
  z-index:10!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  height:58px!important;
  min-height:58px!important;
  padding:0 14px!important;
  overflow:visible!important;
  background:linear-gradient(180deg,rgba(7,15,31,.97),rgba(9,18,36,.93))!important;
  border-bottom:1px solid rgba(141,163,199,.13)!important;
  box-shadow:0 8px 30px rgba(2,7,16,.2)!important;
}
.city-brand{
  position:relative!important;
  z-index:3!important;
  flex:0 0 166px!important;
  width:166px!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  font-size:15px!important;
  line-height:1.1!important;
}
.city-utility{
  position:relative!important;
  z-index:4!important;
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.city-live{
  position:absolute!important;
  left:176px!important;
  top:11px!important;
  width:clamp(118px,12vw,220px)!important;
  height:34px!important;
  margin:0!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  overflow:hidden!important;
  border:1px solid rgba(240,205,110,.28)!important;
  border-radius:999px!important;
  background:rgba(8,21,46,.9)!important;
  box-shadow:none!important;
}
.city-live-label{
  position:relative!important;
  z-index:2!important;
  flex:0 0 auto!important;
  min-width:auto!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  color:#e98286!important;
  font:700 10px/1 'IBM Plex Sans',system-ui,sans-serif!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
.city-live-track{
  position:relative!important;
  flex:1 1 auto!important;
  min-width:0!important;
  height:18px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
}
#livepill.city-live-text{
  position:absolute!important;
  left:0!important;
  top:50%!important;
  display:block!important;
  min-width:max-content!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  color:#dbe4f0!important;
  font:italic 13px/18px 'IBM Plex Serif',serif!important;
  white-space:nowrap!important;
  text-align:left!important;
  transform:translate(100%,-50%)!important;
  animation:cityTickerR18 17s linear infinite!important;
  will-change:transform!important;
}
#livepill.city-live-text,
#livepill.city-live-text a,
#livepill.city-live-text a:visited,
#livepill.city-live-text a:hover,
#livepill.city-live-text a:active{
  color:#dbe4f0!important;
  text-decoration:none!important;
}
.city-live:hover #livepill.city-live-text{animation-play-state:paused!important}
@keyframes cityTickerR18{
  0%{transform:translate(100%,-50%)}
  100%{transform:translate(-100%,-50%)}
}
.city-top-actions{
  position:absolute!important;
  top:9px!important;
  left:50%!important;
  z-index:5!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  transform:translateX(-50%)!important;
}
.city-top-actions button{
  min-height:40px!important;
  margin:0!important;
  padding:9px 13px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.searchbar{
  top:66px!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
}

@media (max-width:1100px) and (min-width:821px){
  .city-brand{flex-basis:150px!important;width:150px!important;font-size:13px!important}
  .city-live{left:154px!important;width:110px!important;padding-inline:9px!important;gap:7px!important}
  .city-live-label{font-size:8.5px!important}
  #livepill.city-live-text{font-size:11.5px!important}
  .city-top-actions{gap:4px!important}
  .city-top-actions .full-label{display:none!important}
  .city-top-actions .short-label{display:inline!important}
  .city-top-actions button{padding-inline:9px!important;font-size:10.5px!important}
}

@media (max-width:820px){
  .city-hud{
    height:56px!important;
    min-height:56px!important;
    padding:0 10px!important;
  }
  .city-brand{
    flex:0 0 112px!important;
    width:112px!important;
    font-size:10.7px!important;
    letter-spacing:.12em!important;
  }
  .city-live{
    left:122px!important;
    right:64px!important;
    top:11px!important;
    width:auto!important;
    height:34px!important;
    padding:0 10px!important;
    gap:7px!important;
  }
  .city-live-label{font-size:8.5px!important;letter-spacing:.12em!important}
  .city-live-track{height:17px!important}
  #livepill.city-live-text{font-size:11px!important;line-height:17px!important}
  .city-utility{margin-left:auto!important}
  .city-top-actions{
    position:fixed!important;
    top:calc(62px + env(safe-area-inset-top))!important;
    left:50%!important;
    width:auto!important;
    max-width:calc(100vw - 16px)!important;
    gap:6px!important;
    transform:translateX(-50%)!important;
  }
  .city-top-actions button{
    min-height:42px!important;
    padding:9px 12px!important;
    font-size:10.5px!important;
  }
  .city-top-actions .full-label{display:none!important}
  .city-top-actions .short-label{display:inline!important}
  body:not(.menu-open) .searchbar{display:none!important}
  .city-load-error,.event-banner{top:calc(112px + env(safe-area-inset-top))!important}
}

@media (max-width:520px){
  .city-hud{padding:0 8px!important}
  .city-brand{flex-basis:106px!important;width:106px!important;font-size:10px!important}
  .city-live{left:114px!important;right:60px!important;height:32px!important;padding:0 8px!important}
  .city-live-label{font-size:7.8px!important}
  .city-live-track{height:16px!important}
  #livepill.city-live-text{font-size:10.3px!important;line-height:16px!important}
  .city-top-actions{
    top:calc(60px + env(safe-area-inset-top))!important;
    gap:5px!important;
    max-width:calc(100vw - 12px)!important;
  }
  .city-top-actions button{
    min-height:40px!important;
    padding:8px 10px!important;
    font-size:10px!important;
  }
  .city-load-error,.event-banner{top:calc(108px + env(safe-area-inset-top))!important}
}

/* R19 — sửa chữ LIVE bị mất: marquee dùng margin, không bị transform !important khóa animation */
.city-live-track{
  overflow:hidden!important;
}
#livepill.city-live-text{
  position:relative!important;
  left:auto!important;
  top:auto!important;
  display:inline-block!important;
  min-width:max-content!important;
  padding:0 0 0 100%!important;
  margin:0!important;
  transform:none!important;
  animation:cityTickerR19 16s linear infinite!important;
  animation-delay:-4s!important;
  color:#dbe4f0!important;
  opacity:1!important;
  visibility:visible!important;
  white-space:nowrap!important;
}
#livepill.city-live-text.is-running{
  animation:cityTickerR19 16s linear infinite!important;
  animation-delay:-4s!important;
}
@keyframes cityTickerR19{
  0%{margin-left:0}
  100%{margin-left:-100%}
}

/* R20 — dùng marquee thật cho ticker để chữ luôn hiện và chạy ổn định */
.city-live-track{
  position:relative !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  height:18px !important;
  overflow:hidden !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
}
#livepill.city-live-text{
  display:block !important;
  width:100% !important;
  height:18px !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  color:#dbe4f0 !important;
  font:italic 13px/18px 'IBM Plex Serif',serif !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  overflow:hidden !important;
  transform:none !important;
  animation:none !important;
}
#livepill.city-live-text,
#livepill.city-live-text a,
#livepill.city-live-text a:visited,
#livepill.city-live-text a:hover,
#livepill.city-live-text a:active{
  color:#dbe4f0 !important;
  text-decoration:none !important;
}
#livepill.city-live-text.clickable{cursor:pointer !important}
@media (max-width:820px){
  .city-live-track{height:17px !important}
  #livepill.city-live-text{height:17px !important;font-size:11px !important;line-height:17px !important}
}
@media (max-width:520px){
  .city-live-track{height:16px !important}
  #livepill.city-live-text{height:16px !important;font-size:10.3px !important;line-height:16px !important}
}

/* R21 — ticker chuyển động liên tục bằng requestAnimationFrame, không nhảy cục */
.city-live-track{
  position:relative !important;
  overflow:hidden !important;
  min-width:0 !important;
}
#livepill.city-live-text{
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  display:block !important;
  width:auto !important;
  min-width:max-content !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#dbe4f0 !important;
  font:italic 13px/18px 'IBM Plex Serif',serif !important;
  white-space:nowrap !important;
  text-align:left !important;
  text-decoration:none !important;
  overflow:visible !important;
  opacity:1 !important;
  visibility:visible !important;
  animation:none !important;
  transition:none !important;
  will-change:transform !important;
  pointer-events:auto !important;
}
#livepill.city-live-text,
#livepill.city-live-text a,
#livepill.city-live-text a:visited,
#livepill.city-live-text a:hover,
#livepill.city-live-text a:active{
  color:#dbe4f0 !important;
  text-decoration:none !important;
}
@media(max-width:820px){
  #livepill.city-live-text{font-size:11px !important;line-height:17px !important}
}
@media(max-width:520px){
  #livepill.city-live-text{font-size:10.3px !important;line-height:16px !important}
}

/* R30 — Rạp Chiếu Bóng Nửa Đêm & Night Opera có không gian media riêng */
.special-venue-room{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:14px;align-items:stretch;margin-bottom:16px}
.special-venue-room .house-interior{margin:0;height:auto;min-height:340px}
.special-venue-media{min-width:0;display:flex;flex-direction:column;border:1px solid rgba(240,205,110,.28);border-radius:20px;overflow:hidden;background:linear-gradient(180deg,#111c31,#080e1a);box-shadow:0 20px 45px rgba(0,0,0,.24)}
.special-venue-media-head{display:flex;flex-direction:column;gap:4px;padding:13px 16px;border-bottom:1px solid rgba(240,205,110,.2);background:rgba(7,13,25,.88)}
.special-venue-media-head span{color:#f0cd6e;font:700 10px/1 'IBM Plex Sans',sans-serif;letter-spacing:.16em}
.special-venue-media-head strong{color:#eef3ff;font:600 16px/1.3 'IBM Plex Serif',serif;white-space:normal;overflow-wrap:anywhere}
.special-venue-media-head small{color:#91a1bb;font-size:11px}
.special-venue-screen{position:relative;flex:1;min-height:0;display:grid;place-items:center;padding:18px;background:#05080d;overflow:hidden}
.special-venue-screen:before,.special-venue-screen:after{content:"";position:absolute;top:0;bottom:0;width:11%;z-index:1;pointer-events:none}
.special-venue-media.cinema .special-venue-screen:before{left:0;background:linear-gradient(90deg,#511b27,rgba(81,27,39,.2),transparent)}
.special-venue-media.cinema .special-venue-screen:after{right:0;background:linear-gradient(-90deg,#511b27,rgba(81,27,39,.2),transparent)}
.special-venue-media.opera .special-venue-screen{background:radial-gradient(circle at 50% 25%,rgba(212,166,86,.14),transparent 48%),#12080c}
.special-venue-media.opera .special-venue-screen:before{left:0;background:linear-gradient(90deg,#6f1f2c,rgba(111,31,44,.18),transparent)}
.special-venue-media.opera .special-venue-screen:after{right:0;background:linear-gradient(-90deg,#6f1f2c,rgba(111,31,44,.18),transparent)}
.special-venue-screen iframe{position:relative;z-index:2;display:block;width:100%;max-width:760px;aspect-ratio:16/9;border:1px solid rgba(240,205,110,.3);border-radius:10px;background:#000;box-shadow:0 14px 38px rgba(0,0,0,.45)}
.venue-program-editor{display:grid;grid-template-columns:1fr;gap:6px;margin:10px 0;padding:10px;border:1px solid rgba(240,205,110,.2);border-radius:12px;background:rgba(7,15,31,.6)}
.venue-program-editor .mono,.venue-editor-label{display:block;margin-top:8px;color:#f0cd6e;font-size:12px}
.venue-editor-control{width:100%;box-sizing:border-box;border:1px solid #30415e;border-radius:10px;background:#0d1730;color:#eef3ff;padding:10px}
.venue-editor-area{min-height:100px;resize:vertical}
@media(max-width:940px){.special-venue-room{grid-template-columns:1fr}.special-venue-room .house-interior{min-height:300px}.special-venue-screen{padding:14px}}
@media(max-width:560px){.special-venue-room{gap:10px}.special-venue-room .house-interior{min-height:255px}.special-venue-media{border-radius:16px}.special-venue-media-head{padding:11px 12px}.special-venue-media-head strong{font-size:14px}.special-venue-screen{padding:10px}.special-venue-screen iframe{border-radius:7px}}

/* R31 — phần giới thiệu ô cửa thật full chiều ngang + landmark ga/sân bay có tỷ lệ rõ */
.venue-inner .venue-head{
  width:100% !important;
  max-width:none !important;
}
.venue-inner .venue-head > p.subq{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:12px 0 14px !important;
  padding:0 !important;
  line-height:1.62 !important;
  overflow-wrap:anywhere;
}
.special-venue-room + .venue-head{
  clear:both;
  width:100% !important;
}
@media(max-width:820px){
  .venue-inner .venue-head > p.subq{
    font-size:14px !important;
    line-height:1.58 !important;
  }
}


/* R49 — Bãi Biển Ký Ức: landmark dài, không gian viết nhiều kỷ niệm biển */
.memory-beach-room{
  min-height:390px;
  border-color:rgba(160,210,224,.28) !important;
  background:linear-gradient(180deg,rgba(12,31,51,.98),rgba(7,18,31,.98)) !important;
  box-shadow:0 24px 55px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.03) !important;
}
.memory-beach-room canvas{min-height:390px}
.memory-beach-room .room-plaque{
  background:rgba(7,20,33,.78) !important;
  border-color:rgba(175,221,229,.3) !important;
  backdrop-filter:blur(8px);
}
.memory-beach-room .room-plaque span{color:#b9e2e7 !important;letter-spacing:.18em}
.memory-beach-room .room-detail{color:#d3e7e8 !important;background:rgba(7,20,33,.62) !important;border-color:rgba(175,221,229,.2) !important}
.venue-inner[data-venue-type="memorybeach"] .story-card,
.venue-inner.memory-beach-venue .story-card{border-color:rgba(159,207,217,.22)}
@media(max-width:820px){
  .memory-beach-room,.memory-beach-room canvas{min-height:310px}
}
@media(max-width:520px){
  .memory-beach-room,.memory-beach-room canvas{min-height:270px}
}



/* ================== assets/css/city-phase-f.68e0baa51648.css ================== */
/* Phase F — full sky veil, architectural musical skyline, balanced entrance. */
.city-overture{display:none;position:fixed;inset:0;z-index:10050;overflow:hidden;color:#eef3f6;isolation:isolate;background:#050b16}
.show-overture .city-overture{display:grid;place-items:center}
.city-overture::before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(circle at 50% 72%,rgba(63,137,166,.18),transparent 38%),linear-gradient(180deg,#06101f 0%,#09172b 56%,#050a14 100%);transition:opacity .85s ease;pointer-events:none}
.overture-curtain{position:absolute;inset:0 auto 0 0;z-index:2;width:50.1%;overflow:hidden;will-change:transform;backface-visibility:hidden;background:radial-gradient(circle at 75% 21%,rgba(89,151,178,.18),transparent 31%),radial-gradient(ellipse at 35% 76%,rgba(52,76,124,.21),transparent 46%),linear-gradient(180deg,#071426 0%,#0a1a31 52%,#050b18 100%);box-shadow:inset -28px 0 70px rgba(0,0,0,.22);transition:transform 1.55s cubic-bezier(.77,0,.16,1),filter 1.1s ease}
.overture-curtain.right{left:auto;right:0;transform-origin:100% 50%;box-shadow:inset 28px 0 70px rgba(0,0,0,.22)}
.overture-curtain::before{content:"";position:absolute;inset:0;opacity:.76;background-image:radial-gradient(circle at 12% 15%,#dcebee 0 1px,transparent 1.4px),radial-gradient(circle at 66% 10%,rgba(220,235,238,.75) 0 1px,transparent 1.4px),radial-gradient(circle at 38% 43%,rgba(220,235,238,.54) 0 1px,transparent 1.5px),radial-gradient(circle at 84% 65%,rgba(220,235,238,.7) 0 1px,transparent 1.5px),radial-gradient(circle at 21% 81%,rgba(220,235,238,.5) 0 1px,transparent 1.5px);background-size:177px 149px,227px 193px,211px 173px,263px 207px,191px 239px;animation:skyDrift 22s linear infinite}
.overture-curtain::after{content:"";position:absolute;inset:-8%;opacity:.5;filter:blur(25px);background:radial-gradient(ellipse at 60% 28%,rgba(85,137,161,.25),transparent 38%),radial-gradient(ellipse at 40% 73%,rgba(42,62,98,.4),transparent 47%)}
.overture-seam{position:absolute;z-index:3;inset:0 auto 0 50%;width:1px;transform:translateX(-50%);background:linear-gradient(180deg,transparent 4%,rgba(149,197,212,.22) 24%,rgba(239,210,131,.55) 50%,rgba(149,197,212,.2) 76%,transparent 96%);box-shadow:0 0 30px rgba(177,210,218,.35);transition:opacity .45s ease,transform .9s ease}
.overture-content{position:relative;z-index:5;display:grid;justify-items:center;align-content:center;width:min(920px,92vw);min-height:min(760px,92vh);padding:clamp(24px,5vh,58px) clamp(18px,4vw,46px);text-align:center;opacity:0;transform:translateY(10px);transition:opacity .75s ease,transform .9s cubic-bezier(.22,.74,.25,1),filter .65s ease}
.city-overture.is-ready .overture-content{opacity:1;transform:none}
.overture-kicker{display:flex;align-items:center;gap:12px;margin:0 0 14px;color:#8fa8b5;font:600 10px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.32em;text-transform:uppercase}.overture-kicker::before,.overture-kicker::after{content:"";width:34px;height:1px;background:linear-gradient(90deg,transparent,rgba(145,181,194,.58))}.overture-kicker::after{transform:scaleX(-1)}
.overture-title{margin:0;color:#f0cd6e;font:clamp(38px,7vw,78px)/.98 'Special Elite','Courier New',serif;letter-spacing:.10em;text-shadow:0 0 40px rgba(240,205,110,.17),0 18px 55px rgba(0,0,0,.45)}
.overture-score-wrap{position:relative;width:min(760px,90vw);height:clamp(155px,23vh,215px);margin:clamp(22px,3.7vh,34px) auto 20px;padding:0 14px;display:flex;align-items:flex-end;justify-content:center}
.overture-score-wrap::before{content:"";position:absolute;left:6%;right:6%;bottom:8px;height:42%;background:radial-gradient(ellipse at center bottom,rgba(60,151,174,.18),transparent 67%);filter:blur(7px)}
.city-score{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:center;gap:clamp(5px,.8vw,11px);width:100%;height:100%;padding:0 8px 15px;border-bottom:1px solid rgba(151,195,207,.26)}
.score-building{--h:55%;--lift:5px;--dur:3.5s;position:relative;display:block;flex:0 1 clamp(28px,4vw,48px);height:var(--h);min-width:20px;transform:translateY(8px);opacity:0;background:linear-gradient(180deg,#27465b 0%,#13273a 45%,#09131f 100%);border:1px solid rgba(145,190,204,.26);border-bottom:0;box-shadow:inset 0 0 20px rgba(105,171,187,.06),0 12px 20px rgba(0,0,0,.22);transition:opacity .7s ease,transform .8s ease;animation:cityBreath var(--dur) ease-in-out infinite alternate}
.city-overture.is-ready .score-building{opacity:1;transform:translateY(0)}
.score-building::before{content:"";position:absolute;left:-1px;right:-1px;top:-10px;height:11px;background:inherit;border:1px solid rgba(145,190,204,.25);border-bottom:0;clip-path:polygon(0 100%,18% 100%,18% 45%,35% 45%,50% 0,65% 45%,82% 45%,82% 100%,100% 100%)}
.score-building::after{content:"";position:absolute;inset:13px 18% 8px;opacity:.75;background:repeating-linear-gradient(180deg,rgba(237,205,119,.78) 0 3px,transparent 3px 13px),repeating-linear-gradient(90deg,transparent 0 6px,rgba(237,205,119,.4) 6px 9px,transparent 9px 15px)}
.score-building b{position:absolute;left:50%;top:-17px;width:1px;height:8px;background:rgba(166,208,218,.55)}
.score-building.b1{--h:42%;--lift:4px;--dur:3.2s}.score-building.b2{--h:63%;--lift:8px;--dur:4.1s}.score-building.b3{--h:50%;--lift:5px;--dur:3.6s}.score-building.b4{--h:79%;--lift:10px;--dur:4.4s}.score-building.b5{--h:58%;--lift:6px;--dur:3.4s}.score-building.b6{--h:91%;--lift:11px;--dur:4.7s}.score-building.b7{--h:67%;--lift:7px;--dur:3.8s}.score-building.b8{--h:84%;--lift:10px;--dur:4.5s}.score-building.b9{--h:55%;--lift:5px;--dur:3.3s}.score-building.b10{--h:76%;--lift:9px;--dur:4.2s}.score-building.b11{--h:48%;--lift:5px;--dur:3.7s}.score-building.b12{--h:88%;--lift:11px;--dur:4.8s}.score-building.b13{--h:61%;--lift:7px;--dur:3.9s}.score-building.b14{--h:72%;--lift:8px;--dur:4.3s}
.score-building:nth-child(3n){background:linear-gradient(180deg,#34405d,#17243b 48%,#0a1320)}.score-building:nth-child(4n){background:linear-gradient(180deg,#2d5456,#173238 48%,#09171e)}.score-building:nth-child(5n){background:linear-gradient(180deg,#513b50,#2a2035 48%,#11121f)}
.score-building:nth-child(2n)::before{clip-path:polygon(0 100%,0 52%,18% 52%,50% 0,82% 52%,100% 52%,100% 100%)}.score-building:nth-child(4n)::before{top:-15px;height:16px;clip-path:polygon(0 100%,20% 100%,20% 35%,42% 35%,50% 0,58% 35%,80% 35%,80% 100%,100% 100%)}
.score-street{position:absolute;z-index:3;left:5%;right:5%;bottom:2px;height:8px;border-radius:50%;background:rgba(25,67,82,.4);filter:blur(4px)}
.overture-slogan{display:grid;gap:4px;max-width:700px;margin:0;color:#cad5da;font:400 clamp(15px,2vw,19px)/1.55 'IBM Plex Serif',serif;letter-spacing:.02em}.overture-slogan strong{color:#e4ebee;font-weight:400}.overture-slogan span{color:#94aab5;font-style:italic}
.overture-enter{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:13px;min-width:min(258px,78vw);margin-top:26px;padding:14px 23px;border:1px solid rgba(240,205,110,.58);border-radius:999px;background:linear-gradient(180deg,rgba(238,205,111,.13),rgba(8,19,34,.68));box-shadow:0 14px 40px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.08),0 0 0 7px rgba(240,205,110,.025);color:#f5df9f;font:600 12px/1 'IBM Plex Sans',sans-serif;letter-spacing:.18em;text-transform:uppercase;cursor:pointer;backdrop-filter:blur(12px);transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}.overture-enter:hover{transform:translateY(-2px);border-color:rgba(240,205,110,.9);background:linear-gradient(180deg,rgba(238,205,111,.19),rgba(12,25,41,.78));box-shadow:0 18px 50px rgba(0,0,0,.36),0 0 30px rgba(240,205,110,.1)}.overture-enter:focus-visible{outline:2px solid #f0cd6e;outline-offset:5px}.overture-enter:disabled{cursor:default;opacity:.72;transform:none}.overture-enter i{font-style:normal;font-size:17px;transition:transform .25s ease}.overture-enter:hover i{transform:translateX(4px)}
.city-overture.is-committed .overture-content{opacity:0;transform:translateY(14px) scale(.98);filter:blur(3px)}
.city-overture.is-opening::before{opacity:0}.city-overture.is-opening .overture-curtain.left{transform:translateX(-101%) skewX(-2deg);filter:blur(1px)}.city-overture.is-opening .overture-curtain.right{transform:translateX(101%) skewX(2deg);filter:blur(1px)}.city-overture.is-opening .overture-seam{opacity:0;transform:translateX(-50%) scaleY(.2)}.city-overture.is-leaving{pointer-events:none;animation:overtureFade .45s ease forwards}
.house-interior[data-kind="pizza"]{border-color:rgba(232,157,87,.48)}.house-interior[data-kind="steakhouse"]{border-color:rgba(201,156,91,.44)}.house-interior[data-kind="fashion"]{border-color:rgba(220,170,211,.43)}
.house-interior[data-kind="pizza"] .room-plaque{border-color:rgba(232,157,87,.38)}.house-interior[data-kind="steakhouse"] .room-plaque{border-color:rgba(201,156,91,.34)}.house-interior[data-kind="fashion"] .room-plaque{border-color:rgba(220,170,211,.34)}
@keyframes cityBreath{from{translate:0 0;filter:brightness(.86)}to{translate:0 calc(var(--lift) * -1);filter:brightness(1.09)}}@keyframes skyDrift{to{background-position:177px 0,-227px 0,211px 0,-263px 0,191px 0}}@keyframes overtureFade{to{opacity:0;visibility:hidden}}
@media(max-width:700px){.overture-content{min-height:94vh;padding:24px 15px}.overture-kicker{font-size:8px;letter-spacing:.24em}.overture-title{font-size:clamp(35px,11vw,56px);letter-spacing:.06em}.overture-score-wrap{width:96vw;height:160px;margin:18px auto 17px;padding:0 4px}.city-score{gap:4px;padding-inline:3px}.score-building{flex-basis:24px;min-width:15px}.score-building:nth-child(n+12){display:none}.overture-slogan{padding:0 10px;font-size:15px}.overture-enter{margin-top:22px;min-width:228px;padding:13px 18px}}
@media(max-height:650px) and (min-width:701px){.overture-content{min-height:98vh;padding-block:15px}.overture-score-wrap{height:128px;margin:13px auto 12px}.overture-enter{margin-top:17px}}
@media(prefers-reduced-motion:reduce){.overture-curtain,.overture-content,.overture-seam,.overture-enter{transition-duration:.2s}.score-building,.overture-curtain::before{animation:none!important}.city-overture.is-ready .score-building{transform:none}.city-overture.is-leaving{animation-duration:.15s}}



/* ================== assets/css/city-phase-g.95bdd11a5062.css ================== */
/* Phase G — one-piece sky overture + city structure admin/residential refinements. */
html.show-overture,html.show-overture body{overflow:hidden}
.city-overture{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;overflow:hidden;background:#061020;color:#e8edf4;isolation:isolate}
.city-overture .overture-sky{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:linear-gradient(180deg,#040a18 0%,#081832 38%,#102943 68%,#1a3b50 100%)}
.city-overture .sky-whole{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:1;transition:opacity .08s linear .08s}
.city-overture .overture-sky::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 82%,rgba(59,114,136,.15),transparent 45%),linear-gradient(180deg,transparent 45%,rgba(2,7,16,.25));z-index:3;pointer-events:none}
.city-overture .sky-piece{position:absolute;top:-2%;height:104%;width:53%;display:block;opacity:0;will-change:transform;transition:transform 1.48s cubic-bezier(.74,.02,.22,1),filter 1.25s ease,opacity .06s linear;transform:translate3d(0,0,0)}
.city-overture .sky-piece.left{left:-2%;clip-path:polygon(0 0,100% 0,97.2% 17%,100% 34%,96.8% 51%,100% 69%,96% 86%,100% 100%,0 100%)}
.city-overture .sky-piece.right{right:-2%;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,4% 86%,0 69%,3.2% 51%,0 34%,2.8% 17%)}
.city-overture.is-committed .sky-whole{opacity:0}
.city-overture.is-committed .sky-piece{opacity:1}
.city-overture.is-opening .sky-piece.left{transform:translate3d(-106%,0,0) rotate(-1.2deg);filter:brightness(.82) blur(.45px)}
.city-overture.is-opening .sky-piece.right{transform:translate3d(106%,0,0) rotate(1.2deg);filter:brightness(.82) blur(.45px)}
.city-overture .overture-content{position:relative;z-index:5;width:min(1060px,94vw);min-height:min(760px,96vh);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 24px;text-align:center;transition:opacity .38s ease,transform .48s cubic-bezier(.2,.8,.2,1),filter .38s ease}
.city-overture .overture-kicker{font:500 10px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.34em;text-transform:uppercase;color:rgba(205,219,231,.68);margin-bottom:14px}
.city-overture .overture-title{margin:0;font:400 clamp(44px,7vw,86px)/.92 'Special Elite',serif;letter-spacing:.075em;color:#f1dfaa;text-shadow:0 2px 0 rgba(0,0,0,.22),0 0 34px rgba(229,201,124,.13)}
.city-overture .overture-canvas-wrap{position:relative;width:min(980px,94vw);height:clamp(245px,36vh,380px);margin:20px auto 12px;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,rgba(2,8,18,.03),rgba(2,8,18,.26));-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.city-overture .overture-canvas-wrap::after{content:"";position:absolute;left:4%;right:4%;bottom:5%;height:1px;background:linear-gradient(90deg,transparent,rgba(226,205,143,.25),transparent);box-shadow:0 -20px 70px rgba(57,126,148,.15)}
#overtureCityCanvas{display:block;width:100%;height:100%}
.city-overture .overture-slogan{display:flex;flex-direction:column;gap:7px;margin:5px 0 0;max-width:700px;font:400 clamp(15px,1.75vw,20px)/1.55 'IBM Plex Serif',serif;color:rgba(226,231,237,.84)}
.city-overture .overture-slogan strong{font-weight:500;color:#f0d996}.city-overture .overture-slogan span{font-style:italic;color:rgba(207,216,226,.7)}
.city-overture .overture-enter{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-width:250px;margin-top:26px;padding:15px 25px;border:1px solid rgba(239,209,126,.65);border-radius:999px;background:linear-gradient(180deg,rgba(239,209,126,.14),rgba(6,17,30,.54));box-shadow:0 18px 55px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.08),0 0 0 8px rgba(240,205,110,.025);color:#f4dda0;font:600 12px/1 'IBM Plex Sans',sans-serif;letter-spacing:.19em;text-transform:uppercase;cursor:pointer;backdrop-filter:blur(10px);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease}
.city-overture .overture-enter:hover{transform:translateY(-2px);border-color:#f0d27c;box-shadow:0 22px 65px rgba(0,0,0,.36),0 0 30px rgba(240,205,110,.1);background:linear-gradient(180deg,rgba(239,209,126,.2),rgba(9,24,39,.66))}
.city-overture .overture-enter:focus-visible{outline:2px solid #f0cd6e;outline-offset:5px}.city-overture .overture-enter i{font-style:normal;font-size:17px;transition:transform .24s ease}.city-overture .overture-enter:hover i{transform:translateX(4px)}
.city-overture.is-committed .overture-content{opacity:0;transform:translateY(12px) scale(.985);filter:blur(3px)}
.city-overture.is-opening{pointer-events:none}.city-overture.is-leaving{animation:phaseGOvertureFade .42s ease forwards}
@keyframes phaseGOvertureFade{to{opacity:0;visibility:hidden}}

/* Residential creation note */
.residential-policy-note{padding:12px 14px;border:1px solid #31415f;border-radius:8px;background:linear-gradient(180deg,#13223e,#101b33);color:#aebbd0;font-size:13px;line-height:1.55;margin:10px 0 16px}.residential-policy-note b{color:#f0cd6e}

@media(max-width:700px){
 .city-overture .overture-content{min-height:96vh;width:100%;padding:24px 13px}.city-overture .overture-kicker{font-size:8px;letter-spacing:.25em;margin-bottom:12px}.city-overture .overture-title{font-size:clamp(37px,11.5vw,56px);letter-spacing:.055em}.city-overture .overture-canvas-wrap{width:100vw;height:235px;margin:18px -13px 10px;border-radius:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent);mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent)}.city-overture .overture-slogan{padding:0 13px;font-size:15px;gap:5px}.city-overture .overture-enter{margin-top:22px;min-width:226px;padding:14px 20px}.city-overture .sky-piece{width:55%}
}
@media(max-height:680px) and (min-width:701px){.city-overture .overture-content{min-height:100vh;padding:14px 22px}.city-overture .overture-canvas-wrap{height:220px;margin:12px auto 6px}.city-overture .overture-enter{margin-top:17px}.city-overture .overture-kicker{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.city-overture .sky-piece,.city-overture .overture-content,.city-overture .overture-enter{transition-duration:.2s!important}.city-overture.is-leaving{animation-duration:.15s}}



/* ================== assets/css/city-r100.css ================== */
/* Thành Phố Đêm R100 — writing-first UX, venue notes and calmer panels */
.write-inner.r100-compose{max-width:980px;padding-bottom:70px}.r100-compose-head{display:flex;justify-content:space-between;gap:20px;margin:8px 0 22px}.r100-compose-head h2{font:600 clamp(26px,4vw,42px)/1.08 'IBM Plex Serif',Georgia,serif;color:#edf2f6;margin:5px 0 8px;letter-spacing:-.02em}.r100-compose-head p{margin:0;color:#94a3b8;line-height:1.6;font-size:15px}.r100-kicker{font:700 11px 'IBM Plex Sans',sans-serif;letter-spacing:.16em;color:#d7b866;text-transform:uppercase}.r100-field{display:block;margin:17px 0}.r100-field>span{display:flex;align-items:center;gap:6px;margin-bottom:7px;color:#d9e2ee;font:600 13px 'IBM Plex Sans',sans-serif}.r100-field>span small{color:#718099;font-weight:400}.r100-compose input,.r100-compose textarea{border-radius:14px!important;border:1px solid rgba(132,155,191,.23)!important;background:rgba(7,14,28,.76)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.r100-compose textarea{padding:14px 16px!important}.r100-story textarea{min-height:265px;font:400 18px/1.78 'IBM Plex Serif',Georgia,serif;resize:vertical}.r100-photo-row,.r100-photo-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:10px 0}.photo-pick{position:relative;display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px dashed rgba(214,184,106,.4);border-radius:999px;background:rgba(214,184,106,.055);color:#dfc37d;font:600 12px 'IBM Plex Sans',sans-serif;cursor:pointer}.photo-pick input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}.r100-photo-row select,.r100-photo-tools select{width:auto;min-width:118px;margin:0!important;padding:9px 28px 9px 10px!important;border-radius:999px!important;font-size:12px}.r100-file-name{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fb0c8;font-size:12px}.story-photo-preview{margin:7px 0 4px}.story-photo-preview img{display:block;max-width:min(100%,620px);max-height:380px;object-fit:contain;border-radius:14px;border:1px solid rgba(139,160,190,.18);box-shadow:0 15px 35px rgba(0,0,0,.26)}.r100-advanced{margin:22px 0 15px;border:1px solid rgba(110,133,171,.18);border-radius:16px;background:rgba(14,25,45,.46);overflow:hidden}.r100-advanced>summary{cursor:pointer;list-style:none;padding:15px 17px;color:#d6be82;font:600 13px 'IBM Plex Sans',sans-serif}.r100-advanced>summary::-webkit-details-marker{display:none}.r100-advanced>summary span{float:right;color:#718099;font-weight:400}.r100-advanced-body{padding:0 17px 18px;border-top:1px solid rgba(110,133,171,.12)}.r100-subadvanced{margin-top:10px}.r100-subadvanced>summary{cursor:pointer;color:#95a5bd;font-size:12px}.r100-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.r100-choice{appearance:none;text-align:left;border:1px solid rgba(120,143,177,.2);border-radius:12px;background:rgba(9,18,33,.7);padding:11px;color:#aebbd0;cursor:pointer}.r100-choice b,.r100-choice span{display:block}.r100-choice b{color:#d8e0ea;font-size:13px}.r100-choice span{font-size:11px;margin-top:4px;color:#77869c}.r100-choice.on{border-color:rgba(230,195,107,.58);background:rgba(218,178,80,.08)}.r100-lock{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.r100-publish{width:100%;min-height:52px;margin-top:10px!important;border-radius:14px!important;font-size:14px!important}.r100-owner-composer textarea,.owner-write-inline textarea,.lazy-entry-editor textarea{min-height:210px!important;font:400 17px/1.72 'IBM Plex Serif',Georgia,serif}.owner-write-inline{padding:18px!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(14,27,48,.76),rgba(7,16,31,.72))!important}

.r100-auth{max-width:430px;border-radius:20px!important;padding:24px!important}.r100-auth-kicker{font:700 10px 'IBM Plex Sans',sans-serif;letter-spacing:.2em;color:#d4b76d;margin-bottom:5px}.r100-auth h3{font:600 25px/1.2 'IBM Plex Serif',Georgia,serif;margin:5px 0 8px}.r100-auth input{border-radius:12px!important;margin-top:9px}.r100-auth-submit{width:100%;margin-top:12px!important;border-radius:12px!important}.r100-terms{align-items:flex-start;margin:14px 0 4px!important;padding:11px 12px;border-radius:12px;background:rgba(13,24,43,.7);border:1px solid rgba(111,135,171,.18)}.r100-terms span{font-size:12px;line-height:1.5;color:#99a8be}.r100-terms-more{margin:4px 0 8px;padding:0 4px;color:#78879c;font-size:11px}.r100-terms-more summary{cursor:pointer}.r100-terms-more p{line-height:1.55}.auth-switch{cursor:pointer;text-align:center}.r100-auth-state{text-align:center}.r100-auth-icon{font-size:34px}.r100-auth-state .subq{line-height:1.65}.r100-auth-actions{display:grid;gap:9px;margin-top:17px}

/* Real places read as pinned notes, not a generic comment wall. */
.venue-inner .comment-panel{position:relative;border:1px solid rgba(204,176,111,.18)!important;border-radius:18px!important;background:radial-gradient(circle at 20% 0,rgba(206,177,109,.055),rgba(8,16,29,.76) 48%,rgba(6,13,25,.82))!important;padding:18px!important}.venue-inner .comment-panel:before{content:'NOTES LEFT HERE';position:absolute;right:18px;top:12px;color:rgba(216,187,112,.25);font:700 9px 'IBM Plex Sans',sans-serif;letter-spacing:.17em}.venue-inner .comment-entry{border-radius:4px 15px 7px 12px!important;background:linear-gradient(155deg,rgba(226,210,167,.1),rgba(19,29,44,.78))!important;border:1px solid rgba(211,188,132,.18)!important;box-shadow:0 13px 30px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.025)!important;transform:rotate(-.15deg)!important}.venue-inner .comment-entry:nth-of-type(even){transform:rotate(.18deg)!important}.venue-inner .comment-entry:before{width:7px!important;height:7px!important;left:12px!important;top:11px!important;bottom:auto!important;border-radius:50%!important;background:#b89655!important;box-shadow:0 1px 3px rgba(0,0,0,.5)!important}.venue-inner .comment-panel textarea{min-height:116px!important;font:400 16px/1.65 'IBM Plex Serif',Georgia,serif;border-radius:13px!important}

.entry-edit{border-radius:12px}.entry-edit>summary{padding:8px 0;color:#8fa0b8}.entry-tools{gap:8px!important;align-items:center}.entry-img img{border-radius:12px;box-shadow:0 15px 38px rgba(0,0,0,.32)}

@media(max-width:700px){.write-inner.r100-compose{padding-left:14px!important;padding-right:14px!important}.r100-story textarea{min-height:235px;font-size:17px}.r100-choice-grid{grid-template-columns:1fr}.r100-lock{grid-template-columns:1fr}.r100-advanced>summary span{display:none}.r100-photo-row select,.r100-photo-tools select{min-width:105px}.venue-inner .comment-panel{padding:14px!important}.r100-auth{width:min(94vw,430px)!important;padding:19px!important}}

/* R100: homes feel occupied through objects/light, never through indoor people. */
.r100-home-scene{background:radial-gradient(circle at 50% 8%,rgba(225,196,116,.11),transparent 36%),linear-gradient(180deg,#0d1930,#070d1b)!important}
.r100-home-scene .home-building{box-shadow:0 -22px 52px rgba(0,0,0,.26),0 0 34px rgba(225,194,111,.035)}
.r100-home-scene .home-window{isolation:isolate}.r100-window-glow{position:absolute;inset:0;z-index:0;background:radial-gradient(circle at 62% 34%,rgba(255,239,184,.43),transparent 38%),linear-gradient(180deg,rgba(241,205,117,.11),rgba(52,35,21,.18));animation:r100RoomGlow 8.5s ease-in-out infinite}.r100-home-scene .home-curtain{z-index:5}
.r100-desk{position:absolute;z-index:2;left:7px;right:7px;bottom:7px;height:5px;border-radius:2px;background:rgba(65,42,31,.92);box-shadow:0 2px 0 rgba(12,15,24,.45)}
.r100-books{display:none;position:absolute;z-index:3;left:12px;bottom:12px;width:19px;height:7px;border-bottom:2px solid rgba(77,93,117,.95);box-shadow:0 -2px 0 rgba(181,112,90,.9),0 -4px 0 rgba(114,142,125,.92)}
.r100-mug{display:none;position:absolute;z-index:3;right:13px;bottom:12px;width:7px;height:7px;border-radius:1px 1px 3px 3px;background:rgba(230,218,189,.9);box-shadow:6px -1px 0 -3px rgba(230,218,189,.85)}
.r100-home-scene.stage3 .r100-books,.r100-home-scene.stage3 .r100-mug,.r100-home-scene.stage4 .r100-books,.r100-home-scene.stage4 .r100-mug,.r100-home-scene.stage5 .r100-books,.r100-home-scene.stage5 .r100-mug,.r100-home-scene.stage6 .r100-books,.r100-home-scene.stage6 .r100-mug,.r100-home-scene.stage7 .r100-books,.r100-home-scene.stage7 .r100-mug,.r100-home-scene.stage8 .r100-books,.r100-home-scene.stage8 .r100-mug{display:block}
.r100-record{display:none;position:absolute;left:20px;bottom:18px;width:18px;height:18px;border-radius:50%;border:3px solid rgba(27,31,42,.86);box-shadow:inset 0 0 0 3px rgba(158,111,78,.48);animation:r100Record 11s linear infinite}.r100-record:after{content:'';position:absolute;left:50%;top:50%;width:3px;height:3px;border-radius:50%;background:#d6b86c;transform:translate(-50%,-50%)}
.r100-floor-light{display:none;position:absolute;right:17px;bottom:8px;width:28px;height:12px;border-radius:50%;background:radial-gradient(ellipse,rgba(236,194,91,.25),transparent 70%);filter:blur(1px);animation:r100RoomGlow 7s ease-in-out infinite reverse}
.r100-home-scene.stage6 .r100-record,.r100-home-scene.stage7 .r100-record,.r100-home-scene.stage8 .r100-record,.r100-home-scene.stage5 .r100-floor-light,.r100-home-scene.stage6 .r100-floor-light,.r100-home-scene.stage7 .r100-floor-light,.r100-home-scene.stage8 .r100-floor-light{display:block}
.r100-night-dust{position:absolute;inset:0;pointer-events:none;opacity:.22;background-image:radial-gradient(circle at 15% 28%,rgba(255,255,255,.65) 0 1px,transparent 1.4px),radial-gradient(circle at 83% 18%,rgba(214,227,255,.55) 0 1px,transparent 1.3px);background-size:130px 97px,171px 139px}
@keyframes r100RoomGlow{0%,100%{opacity:.72}45%{opacity:1}70%{opacity:.83}}@keyframes r100Record{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.r100-window-glow,.r100-record,.r100-floor-light{animation:none!important}}



/* ================== assets/css/city-r102.css ================== */
/* R102 unified public reading stream; one composer, one chronological collection. */
.public-story-stream{max-width:1020px;margin:8px auto 25px;display:flex;flex-direction:column;gap:15px;padding:clamp(13px,3vw,26px);border:1px solid rgba(183,159,112,.20);border-radius:22px;background:linear-gradient(145deg,rgba(30,33,37,.72),rgba(13,23,32,.92) 65%,rgba(7,17,29,.90));box-shadow:0 18px 55px rgba(0,0,0,.2)}
.public-story-stream .story-head{border-bottom:1px solid rgba(196,174,131,.2);margin:0;padding-bottom:13px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center}
.public-stream-compose{padding:17px 18px;background:rgba(213,186,132,.055);border:1px solid rgba(226,198,146,.22);border-radius:16px;display:grid;gap:12px}
.public-stream-compose .mono{font-size:15px!important;color:#edd6a4!important}.public-stream-compose textarea{display:block;width:100%;min-height:124px;max-width:100%;box-sizing:border-box;padding:14px 15px;background:rgba(8,13,21,.79);color:#eee4d2;border:1px solid rgba(199,170,122,.22);border-radius:10px;font-size:16px;line-height:1.68;resize:vertical}
.public-stream-photo{font-size:12px;color:#c8bba4}.public-stream-photo input{display:block;margin-top:6px;max-width:100%}
.public-stream-submit{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.public-stream-submit span{color:#afa999;font-size:12px;max-width:490px;line-height:1.5}.public-stream-submit .btn{margin:0}
.public-stream-intro{margin:0;color:#bdb39f;font:italic 14px/1.65 'IBM Plex Serif',serif}
.public-story-stream .public-merged-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;align-items:stretch!important;margin:0!important}
.public-story-stream .public-stream-card{max-width:none!important;width:100%!important;box-sizing:border-box!important;min-width:0!important;transform:none!important;rotate:none!important;position:relative!important;left:auto!important;top:auto!important;margin:0!important;padding:clamp(16px,3vw,26px)!important;background:linear-gradient(145deg,rgba(43,39,31,.91),rgba(28,30,30,.96))!important;border:1px solid rgba(208,181,138,.2)!important;border-radius:12px!important;box-shadow:0 10px 24px rgba(0,0,0,.15)!important}
.public-story-stream .public-stream-card.legacy-note{background:linear-gradient(135deg,rgba(40,45,39,.9),rgba(28,35,34,.97))!important;border-left:3px solid rgba(149,180,134,.45)!important}
.public-stream-card .d{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#b5ae9d!important}.public-stream-sender{color:#b6c6ad;font-style:italic;font-weight:400}.public-stream-mod{margin-top:9px}.public-private-archive{margin-top:25px;padding:15px;border:1px dashed rgba(184,168,128,.25);border-radius:12px;color:#d5c4ad}.public-private-archive article{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.12)}.public-private-archive p{white-space:pre-wrap}
[data-city-theme='halloween'] .overture-content{filter:sepia(.08)}
[data-city-theme='halloween'] .overture-kicker::before{content:'✦ ĐÊM HÓA TRANG · ';color:#d48a4c}
@media(max-width:640px){.public-story-stream{padding:12px;gap:12px;border-radius:16px}.public-stream-compose{padding:13px}.public-stream-submit .btn{width:100%}.public-story-stream .public-stream-card{padding:16px!important}}


/* R103 note-style public walls for Wish Tree + Memory Beach */
.public-story-stream.wish-tree-stream{background:linear-gradient(145deg,rgba(24,35,30,.80),rgba(10,19,20,.94) 68%,rgba(6,14,18,.92));border-color:rgba(142,186,144,.22)}
.public-story-stream.memory-beach-stream{background:linear-gradient(145deg,rgba(23,37,49,.78),rgba(10,21,31,.94) 68%,rgba(8,15,24,.92));border-color:rgba(129,176,204,.22)}
.public-story-stream.wish-tree-stream .public-merged-grid,.public-story-stream.memory-beach-stream .public-merged-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:18px!important;align-items:start!important}
.public-story-stream.memory-beach-stream .public-merged-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important}
.public-story-stream.wish-tree-stream .public-stream-card,.public-story-stream.memory-beach-stream .public-stream-card{transform:none!important;rotate:none!important;position:relative!important;overflow:visible!important}
.public-story-stream.wish-tree-stream .public-stream-card{padding:18px 17px 16px!important;border-radius:8px 8px 14px 14px!important;border:1px solid rgba(111,89,40,.22)!important;box-shadow:0 12px 24px rgba(0,0,0,.18)!important;background:linear-gradient(180deg,rgba(246,229,168,.96),rgba(236,214,142,.93))!important;color:#3a3222!important}
.public-story-stream.wish-tree-stream .public-stream-card .b,.public-story-stream.wish-tree-stream .public-stream-card .d,.public-story-stream.wish-tree-stream .public-stream-card .entry-share-row a,.public-story-stream.wish-tree-stream .public-stream-card .sharebtn{color:#3e3321!important}
.public-story-stream.wish-tree-stream .public-stream-card .d{font-family:'Special Elite',monospace!important;color:#695934!important}
.public-story-stream.wish-tree-stream .public-stream-card:before{content:'';position:absolute;top:-11px;left:50%;transform:translateX(-50%);width:34px;height:18px;border-radius:4px;background:rgba(243,241,231,.88);box-shadow:0 3px 8px rgba(0,0,0,.14)}
.public-story-stream.wish-tree-stream .public-stream-card:after{content:'';position:absolute;top:-3px;left:50%;transform:translateX(-50%);width:11px;height:11px;border-radius:50%;background:#7aa06f;box-shadow:0 0 0 2px rgba(255,255,255,.55),0 2px 6px rgba(0,0,0,.18)}
.public-story-stream.wish-tree-stream .public-stream-card:nth-child(3n+1){background:linear-gradient(180deg,rgba(246,229,168,.96),rgba(237,214,141,.93))!important;transform:rotate(-1.4deg)!important}
.public-story-stream.wish-tree-stream .public-stream-card:nth-child(3n+2){background:linear-gradient(180deg,rgba(228,243,195,.96),rgba(204,227,166,.94))!important;transform:rotate(.9deg)!important}
.public-story-stream.wish-tree-stream .public-stream-card:nth-child(3n+3){background:linear-gradient(180deg,rgba(248,221,198,.96),rgba(239,197,166,.94))!important;transform:rotate(-.5deg)!important}
.public-story-stream.wish-tree-stream .public-stream-card.legacy-note{background:linear-gradient(180deg,rgba(221,236,203,.94),rgba(197,219,178,.94))!important;border-left:0!important}
.public-story-stream.memory-beach-stream .public-stream-card{padding:18px 18px 17px!important;border-radius:14px!important;border:1px solid rgba(186,201,214,.24)!important;box-shadow:0 14px 28px rgba(0,0,0,.20)!important;background:linear-gradient(180deg,rgba(231,242,247,.97),rgba(238,229,212,.95))!important;color:#223542!important}
.public-story-stream.memory-beach-stream .public-stream-card .b,.public-story-stream.memory-beach-stream .public-stream-card .d,.public-story-stream.memory-beach-stream .public-stream-card .entry-share-row a,.public-story-stream.memory-beach-stream .public-stream-card .sharebtn{color:#284254!important}
.public-story-stream.memory-beach-stream .public-stream-card .d{font-family:'Special Elite',monospace!important;color:#628095!important}
.public-story-stream.memory-beach-stream .public-stream-card:before,.public-story-stream.memory-beach-stream .public-stream-card:after{content:'';position:absolute;top:-8px;width:32px;height:14px;border-radius:4px;background:rgba(240,233,219,.82);box-shadow:0 2px 6px rgba(0,0,0,.12)}
.public-story-stream.memory-beach-stream .public-stream-card:before{left:18px;transform:rotate(-7deg)}
.public-story-stream.memory-beach-stream .public-stream-card:after{right:18px;transform:rotate(7deg)}
.public-story-stream.memory-beach-stream .public-stream-card:nth-child(2n+1){transform:rotate(-.8deg)!important}
.public-story-stream.memory-beach-stream .public-stream-card:nth-child(2n){transform:rotate(.65deg)!important}
.public-story-stream.memory-beach-stream .public-stream-card.legacy-note{background:linear-gradient(180deg,rgba(221,234,238,.94),rgba(208,223,228,.95))!important;border-left:0!important}
.public-story-stream .wish-tree-compose{background:rgba(132,173,133,.08);border-color:rgba(157,197,159,.24)}
.public-story-stream .beach-compose{background:rgba(133,174,204,.08);border-color:rgba(153,191,214,.24)}
.public-story-stream.wish-tree-stream .public-stream-intro{color:#cfe0c8}
.public-story-stream.memory-beach-stream .public-stream-intro{color:#ccdde7}
.public-story-stream.wish-tree-stream .public-stream-compose textarea{background:rgba(15,25,20,.80);border-color:rgba(165,197,156,.24)}
.public-story-stream.memory-beach-stream .public-stream-compose textarea{background:rgba(9,17,26,.80);border-color:rgba(158,192,214,.24)}
@media(max-width:760px){.public-story-stream.wish-tree-stream .public-merged-grid,.public-story-stream.memory-beach-stream .public-merged-grid{grid-template-columns:1fr!important}}


/* R104 soften note brightness and align action buttons with the note/postcard tone */
.public-story-stream.wish-tree-stream .public-stream-card{background:linear-gradient(180deg,rgba(236,220,160,.96),rgba(223,203,132,.94))!important;color:#392f20!important}
.public-story-stream.wish-tree-stream .public-stream-card:nth-child(3n+1){background:linear-gradient(180deg,rgba(236,220,160,.96),rgba(223,203,132,.94))!important}
.public-story-stream.wish-tree-stream .public-stream-card:nth-child(3n+2){background:linear-gradient(180deg,rgba(219,234,188,.96),rgba(196,218,161,.94))!important}
.public-story-stream.wish-tree-stream .public-stream-card:nth-child(3n+3){background:linear-gradient(180deg,rgba(239,214,189,.96),rgba(229,192,160,.94))!important}
.public-story-stream.memory-beach-stream .public-stream-card{background:linear-gradient(180deg,rgba(221,234,240,.97),rgba(231,222,206,.95))!important;color:#223542!important}
.public-story-stream.wish-tree-stream .public-stream-card .sharebtn,.public-story-stream.wish-tree-stream .public-stream-card .back,.public-story-stream.wish-tree-stream .entry-lazy-sentinel .sharebtn,.public-story-stream.wish-tree-stream .entry-reader-paper.postcard .sharebtn,.public-story-stream.wish-tree-stream .tpd-entry-toggle{background:rgba(97,78,40,.10)!important;border:1px solid rgba(108,90,54,.26)!important;color:#4b3d24!important;box-shadow:none!important}
.public-story-stream.memory-beach-stream .public-stream-card .sharebtn,.public-story-stream.memory-beach-stream .public-stream-card .back,.public-story-stream.memory-beach-stream .entry-lazy-sentinel .sharebtn,.public-story-stream.memory-beach-stream .entry-reader-paper.postcard .sharebtn,.public-story-stream.memory-beach-stream .tpd-entry-toggle{background:rgba(77,119,146,.10)!important;border:1px solid rgba(105,139,161,.26)!important;color:#32536a!important;box-shadow:none!important}
.public-story-stream.wish-tree-stream .public-stream-card .sharebtn:hover,.public-story-stream.wish-tree-stream .public-stream-card .back:hover,.public-story-stream.wish-tree-stream .entry-lazy-sentinel .sharebtn:hover,.public-story-stream.wish-tree-stream .tpd-entry-toggle:hover{background:rgba(97,78,40,.16)!important}
.public-story-stream.memory-beach-stream .public-stream-card .sharebtn:hover,.public-story-stream.memory-beach-stream .public-stream-card .back:hover,.public-story-stream.memory-beach-stream .entry-lazy-sentinel .sharebtn:hover,.public-story-stream.memory-beach-stream .tpd-entry-toggle:hover{background:rgba(77,119,146,.16)!important}
.public-story-stream.wish-tree-stream .entry-lazy-sentinel,.public-story-stream.memory-beach-stream .entry-lazy-sentinel{color:#b8b4aa}



/* ================== assets/css/city-living.r104_1.css ================== */
/* Thành Phố Đêm R104 — Living City / Nhật báo Nửa Đêm */
:root{--life-ink:#18202b;--life-paper:#eadfc2;--life-paper-2:#d8c9a8;--life-night:#07101e;--life-gold:#f0cd6e;--life-cyan:#7edfd0}
.overture-life-row{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:13px;position:relative;z-index:8}
.overture-life-btn{appearance:none;border:1px solid rgba(240,205,110,.28);border-radius:999px;background:rgba(6,15,29,.58);color:rgba(235,226,202,.86);padding:9px 13px;font:600 10px/1 'IBM Plex Sans',sans-serif;letter-spacing:.11em;text-transform:uppercase;cursor:pointer;backdrop-filter:blur(8px);transition:.2s ease}
.overture-life-btn:hover{border-color:rgba(240,205,110,.65);color:#f6e5ad;transform:translateY(-1px)}.overture-life-btn b{color:#f0cd6e;font-weight:700}.overture-life-btn.touch b{color:#9ee4d7}.overture-life-headline{flex:1 0 100%;max-width:660px;margin:1px auto 0;appearance:none;border:0;background:transparent;color:rgba(216,224,234,.68);cursor:pointer;text-align:center;font-family:'IBM Plex Serif',serif}.overture-life-headline span{display:block;color:rgba(126,223,208,.72);font:700 8px 'IBM Plex Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase}.overture-life-headline strong{display:block;margin-top:4px;font:italic 12px/1.35 'IBM Plex Serif',serif;font-weight:400}.overture-life-headline:hover strong{color:#f0d996}
.tpd-life-dock{position:fixed;left:16px;bottom:20px;z-index:60;display:flex;gap:8px;align-items:center;pointer-events:none}.tpd-life-dock>*{pointer-events:auto}.show-overture .tpd-life-dock{display:none}
.tpd-life-chip{appearance:none;display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid rgba(240,205,110,.3);border-radius:999px;background:rgba(6,15,29,.9);color:#e8dfc7;box-shadow:0 12px 34px rgba(0,0,0,.3);backdrop-filter:blur(12px);cursor:pointer;font:600 11px 'IBM Plex Sans',sans-serif}.tpd-life-chip:hover{border-color:rgba(240,205,110,.65);transform:translateY(-1px)}.tpd-life-chip .life-gold{color:#f0cd6e}.tpd-life-chip .life-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:rgba(240,205,110,.14);color:#f0cd6e;font-size:10px}.tpd-life-chip.touch{border-color:rgba(126,223,208,.28)}.tpd-life-chip.touch .life-count{background:rgba(126,223,208,.12);color:#9ee4d7}
.tpd-life-backdrop{position:fixed;inset:0;z-index:100120;background:rgba(3,7,12,.76);backdrop-filter:blur(7px);animation:lifeFade .18s ease both}.tpd-paper-shell{position:fixed;inset:18px;z-index:100121;display:grid;place-items:center;pointer-events:none}.tpd-midnight-paper{pointer-events:auto;position:relative;width:min(1100px,100%);max-height:calc(100dvh - 36px);overflow:auto;border:1px solid rgba(54,45,33,.52);border-radius:5px;background:var(--life-paper);color:var(--life-ink);box-shadow:0 34px 110px rgba(0,0,0,.68);font-family:'IBM Plex Serif',serif;animation:paperRise .25s ease both}
.tpd-midnight-paper:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.22;mix-blend-mode:multiply;background-image:radial-gradient(circle at 18% 22%,rgba(82,65,42,.2) 0 .6px,transparent .8px),radial-gradient(circle at 78% 66%,rgba(82,65,42,.16) 0 .6px,transparent .8px);background-size:7px 7px,11px 11px}
.tpd-paper-inner{position:relative;padding:28px 32px 34px}.tpd-paper-topline{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;padding-bottom:8px;border-bottom:1px solid rgba(24,32,43,.55);font:700 10px 'IBM Plex Sans',sans-serif;letter-spacing:.14em;text-transform:uppercase}.tpd-paper-masthead{margin:10px 0 5px;text-align:center;font:400 clamp(34px,5.8vw,72px)/.9 'Special Elite',serif;letter-spacing:.045em}.tpd-paper-subline{display:flex;justify-content:space-between;gap:16px;padding:7px 0 12px;border-top:3px double rgba(24,32,43,.72);border-bottom:1px solid rgba(24,32,43,.46);font:600 10px 'IBM Plex Sans',sans-serif;text-transform:uppercase;letter-spacing:.09em}.tpd-paper-close{position:sticky;float:right;top:10px;z-index:4;width:36px;height:36px;margin:-18px -18px 0 0;border:1px solid rgba(24,32,43,.35);border-radius:50%;background:rgba(235,223,194,.92);color:#18202b;cursor:pointer;font-size:20px}.tpd-paper-lead{margin:18px 0 20px;font:italic 20px/1.52 'IBM Plex Serif',serif;text-align:center;padding:0 min(8vw,80px)}
.tpd-paper-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:24px;border-top:1px solid rgba(24,32,43,.42);padding-top:18px}.tpd-paper-col+.tpd-paper-col{border-left:1px solid rgba(24,32,43,.36);padding-left:24px}.tpd-paper-section{margin-bottom:21px}.tpd-paper-kicker{font:800 10px 'IBM Plex Sans',sans-serif;letter-spacing:.15em;text-transform:uppercase;border-bottom:2px solid rgba(24,32,43,.75);padding-bottom:5px;margin-bottom:9px}.tpd-paper-story{appearance:none;width:100%;display:block;text-align:left;border:0;border-bottom:1px solid rgba(24,32,43,.22);background:transparent;color:inherit;padding:10px 0;cursor:pointer}.tpd-paper-story:last-child{border-bottom:0}.tpd-paper-story:hover .tpd-paper-title{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.tpd-paper-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#615746;font:700 9px 'IBM Plex Sans',sans-serif;text-transform:uppercase;letter-spacing:.09em}.tpd-paper-title{display:block;margin-top:5px;font:700 19px/1.15 'IBM Plex Serif',serif}.tpd-paper-text{display:block;margin-top:6px;color:#39382f;font:14px/1.52 'IBM Plex Serif',serif}.tpd-paper-scene{padding:14px 15px;border:2px solid rgba(24,32,43,.7);background:rgba(255,255,255,.08)}.tpd-paper-scene .tpd-paper-title{font-size:23px}.tpd-paper-scene-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.tpd-paper-action{appearance:none;border:1px solid rgba(24,32,43,.48);background:transparent;color:#18202b;border-radius:2px;padding:7px 10px;cursor:pointer;font:700 10px 'IBM Plex Sans',sans-serif;text-transform:uppercase;letter-spacing:.07em}.tpd-paper-action:hover{background:#18202b;color:#eadfc2}.tpd-paper-timeline{display:grid;gap:0}.tpd-paper-timeline .tpd-paper-story{display:grid;grid-template-columns:55px 1fr;gap:10px}.tpd-paper-time{font:700 11px 'Special Elite',monospace}.tpd-paper-memory{background:rgba(76,66,48,.06);padding:0 10px}.tpd-paper-touchline{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(24,32,43,.36)}.tpd-paper-touchstat{padding:10px 7px;text-align:center;border-right:1px solid rgba(24,32,43,.28)}.tpd-paper-touchstat:last-child{border-right:0}.tpd-paper-touchstat b{display:block;font:700 19px 'Special Elite',monospace}.tpd-paper-touchstat span{display:block;margin-top:3px;font:700 8px 'IBM Plex Sans',sans-serif;text-transform:uppercase;letter-spacing:.08em}.tpd-paper-personal{margin-top:12px;padding:9px 11px;border:1px dashed rgba(24,32,43,.36);font:italic 12px/1.5 'IBM Plex Serif',serif}.tpd-paper-foot{margin-top:20px;padding-top:10px;border-top:3px double rgba(24,32,43,.65);color:#5d5548;font:10px/1.5 'IBM Plex Sans',sans-serif;text-align:center}
.tpd-touch-shell{position:fixed;inset:0;z-index:100121;display:grid;place-items:center;padding:18px;pointer-events:none}.tpd-touch-card{pointer-events:auto;width:min(520px,100%);border:1px solid rgba(126,223,208,.25);border-radius:22px;background:linear-gradient(180deg,#10213a,#07111f);color:#e7edf5;box-shadow:0 34px 100px rgba(0,0,0,.62);padding:20px}.tpd-touch-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.tpd-touch-head strong{color:#f0cd6e;font:24px 'Special Elite',serif}.tpd-touch-head p{margin:7px 0 0;color:#9eacc2;font:13px/1.5 'IBM Plex Serif',serif}.tpd-touch-close{border:1px solid #334762;background:#09172a;color:#dfe8f5;border-radius:50%;width:34px;height:34px;cursor:pointer}.tpd-touch-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:17px}.tpd-touch-action{appearance:none;min-height:104px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(19,37,64,.74);color:#e7edf5;text-align:left;cursor:pointer}.tpd-touch-action:hover{border-color:rgba(240,205,110,.42);transform:translateY(-1px)}.tpd-touch-action i{font-style:normal;font-size:24px}.tpd-touch-action b{display:block;margin-top:8px;color:#f2e1ad;font:600 14px 'IBM Plex Sans',sans-serif}.tpd-touch-action span{display:block;margin-top:4px;color:#91a1ba;font:12px/1.4 'IBM Plex Serif',serif}.tpd-touch-stats{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08);color:#8fa2bd;font:11px/1.55 'IBM Plex Sans',sans-serif}.tpd-touch-result{min-height:20px;margin-top:10px;color:#9ee4d7;font:12px/1.45 'IBM Plex Sans',sans-serif}
.tpd-life-moment{position:fixed;left:18px;bottom:74px;z-index:58;width:min(390px,calc(100vw - 28px));border:1px solid rgba(240,205,110,.25);border-radius:18px;background:linear-gradient(180deg,rgba(13,29,51,.95),rgba(6,15,29,.96));box-shadow:0 18px 55px rgba(0,0,0,.42);color:#dfe7f3;padding:14px 15px;backdrop-filter:blur(12px);animation:momentIn .35s ease both}.show-overture .tpd-life-moment{display:none}.tpd-life-moment .moment-kicker{display:flex;justify-content:space-between;gap:8px;color:#8ea1bb;font:700 9px 'IBM Plex Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase}.tpd-life-moment .moment-title{display:block;margin-top:7px;color:#f0cd6e;font:600 15px/1.3 'IBM Plex Serif',serif}.tpd-life-moment p{margin:6px 0 0;color:#aebbd0;font:12px/1.5 'IBM Plex Serif',serif}.tpd-life-moment .moment-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.tpd-life-moment button{appearance:none;border:1px solid #31445f;border-radius:999px;background:#0b192d;color:#cfd9e8;padding:6px 9px;cursor:pointer;font:600 10px 'IBM Plex Sans',sans-serif}.tpd-life-moment button:hover{border-color:rgba(240,205,110,.46);color:#f0cd6e}.tpd-life-moment .moment-x{position:absolute;right:9px;top:8px;border:0;background:transparent;padding:3px;color:#7f91aa;font-size:16px}
.tpd-life-toast{position:fixed;left:50%;bottom:24px;z-index:100250;transform:translateX(-50%);padding:10px 14px;border:1px solid rgba(126,223,208,.28);border-radius:999px;background:rgba(7,17,31,.95);color:#dce8f2;box-shadow:0 16px 45px rgba(0,0,0,.45);font:600 11px 'IBM Plex Sans',sans-serif;animation:toastLife 2.8s ease both}.tpd-fx{position:fixed;z-index:100210;pointer-events:none}.tpd-fx.light{width:18px;height:18px;border-radius:50%;background:#f0cd6e;box-shadow:0 0 18px #f0cd6e,0 0 48px rgba(240,205,110,.75);animation:fxLight 1.25s ease-out both}.tpd-fx.bell{width:26px;height:26px;border:1px solid rgba(126,223,208,.9);border-radius:50%;animation:fxBell 1.4s ease-out both}.tpd-fx.footstep{font-size:20px;animation:fxFoot 1.7s ease-out both}.tpd-fx.memory{font-size:23px;filter:drop-shadow(0 0 12px rgba(240,205,110,.5));animation:fxMemory 1.5s ease-out both}
@keyframes lifeFade{from{opacity:0}to{opacity:1}}@keyframes paperRise{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}@keyframes momentIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes toastLife{0%{opacity:0;transform:translate(-50%,10px)}12%,82%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,-6px)}}@keyframes fxLight{0%{opacity:0;transform:scale(.2)}35%{opacity:1}100%{opacity:0;transform:scale(3.4)}}@keyframes fxBell{0%{opacity:1;transform:scale(.2)}100%{opacity:0;transform:scale(6)}}@keyframes fxFoot{0%{opacity:0;transform:translate(0,12px) rotate(-12deg)}25%{opacity:1}100%{opacity:0;transform:translate(70px,-24px) rotate(8deg)}}@keyframes fxMemory{0%{opacity:0;transform:translateY(8px) scale(.7)}25%{opacity:1}100%{opacity:0;transform:translateY(-70px) scale(1.25)}}
@media(max-width:820px){.tpd-life-dock{left:10px;bottom:11px}.tpd-life-chip{padding:8px 10px}.tpd-life-chip .life-label{display:none}.tpd-life-moment{left:10px;bottom:61px}.tpd-paper-shell{inset:8px}.tpd-midnight-paper{max-height:calc(100dvh - 16px);border-radius:3px}.tpd-paper-inner{padding:20px 17px 24px}.tpd-paper-grid{grid-template-columns:1fr;gap:4px}.tpd-paper-col+.tpd-paper-col{border-left:0;padding-left:0;border-top:1px solid rgba(24,32,43,.38);padding-top:18px}.tpd-paper-lead{padding:0;font-size:17px}.tpd-paper-masthead{font-size:40px}.tpd-paper-touchline{grid-template-columns:repeat(2,1fr)}.tpd-paper-touchstat:nth-child(2){border-right:0}.tpd-paper-touchstat:nth-child(-n+2){border-bottom:1px solid rgba(24,32,43,.28)}.tpd-touch-actions{grid-template-columns:1fr 1fr}.overture-life-row{margin-top:9px}.overture-life-btn{font-size:8.5px;padding:8px 10px}}
@media(max-width:520px){.tpd-touch-actions{grid-template-columns:1fr}.tpd-touch-action{min-height:82px}.tpd-paper-topline,.tpd-paper-subline{font-size:8px}.tpd-paper-story{padding:9px 0}.tpd-paper-title{font-size:17px}.tpd-paper-text{font-size:13px}.tpd-paper-timeline .tpd-paper-story{grid-template-columns:48px 1fr}.overture-life-btn.touch{display:none}}
@media(prefers-reduced-motion:reduce){.tpd-midnight-paper,.tpd-life-backdrop,.tpd-life-moment,.tpd-life-toast,.tpd-fx{animation-duration:.01ms!important;animation-iteration-count:1!important}}
@media(max-width:820px){.tpd-life-dock{bottom:calc(74px + env(safe-area-inset-bottom))}.tpd-life-moment{bottom:calc(123px + env(safe-area-inset-bottom))}}
@media(max-height:680px) and (min-width:701px){.overture-life-row{margin-top:5px}.overture-life-headline{display:none}.overture-life-btn{padding:7px 10px;font-size:8px}.overture-life-btn.touch{display:none}}
@media(max-height:560px){.overture-life-headline{display:none}.overture-life-btn.touch{display:none}.overture-life-row{margin-top:5px}}

/* R104.1 — deep touch trails */
.tpd-touch-card{width:min(680px,100%)}
.tpd-touch-actions{grid-template-columns:repeat(3,1fr)}
.tpd-touch-action{min-height:112px}
.tpd-touch-trails{margin-top:14px;padding:12px;border:1px solid rgba(126,223,208,.12);border-radius:14px;background:rgba(6,15,29,.34)}
.tpd-touch-trails>b{display:block;margin-bottom:8px;color:#7edfd0;font:700 9px 'IBM Plex Sans',sans-serif;letter-spacing:.12em}
.tpd-touch-trails.empty{color:#7f91aa;font:12px 'IBM Plex Serif',serif}
.tpd-touch-trace{display:grid;grid-template-columns:52px 1fr;gap:9px;align-items:start;padding:7px 0;border-top:1px solid rgba(255,255,255,.06)}
.tpd-touch-trace:first-of-type{border-top:0}.tpd-touch-trace>span{color:#f0cd6e;font:700 10px 'Special Elite',monospace}.tpd-touch-trace p{margin:0;color:#9eacc2;font:11px/1.45 'IBM Plex Serif',serif}.tpd-touch-trace.own p{color:#bfe7dc}.tpd-touch-trace.own>span{color:#9ee4d7}
.tpd-trace-peek{position:fixed;left:18px;bottom:68px;z-index:57;width:min(390px,calc(100vw - 28px));appearance:none;border:1px solid rgba(126,223,208,.16);border-radius:13px;background:rgba(7,17,31,.88);box-shadow:0 14px 40px rgba(0,0,0,.28);padding:9px 11px;text-align:left;backdrop-filter:blur(10px);cursor:pointer}.show-overture .tpd-trace-peek{display:none}.tpd-trace-peek>span{display:block;color:#7edfd0;font:700 8px 'IBM Plex Sans',sans-serif;letter-spacing:.14em}.tpd-trace-peek strong{display:block;margin-top:3px;color:#aebbd0;font:400 11px/1.38 'IBM Plex Serif',serif}.tpd-trace-peek:hover{border-color:rgba(240,205,110,.34)}.tpd-trace-peek:hover strong{color:#e9dfc3}
.tpd-paper-touchline{grid-template-columns:repeat(3,1fr)}.tpd-paper-touchstat:nth-child(3n){border-right:0}.tpd-paper-touchstat:nth-child(-n+3){border-bottom:1px solid rgba(24,32,43,.28)}
.tpd-fx.bench{width:9px;height:9px;border-radius:50%;background:rgba(240,205,110,.78);box-shadow:0 0 18px rgba(240,205,110,.42);animation:fxMemory 1.4s ease-out both}.tpd-fx.flower{font-size:18px;animation:fxMemory 1.5s ease-out both}
@media(max-width:820px){.tpd-trace-peek{left:10px;bottom:calc(122px + env(safe-area-inset-bottom));width:min(360px,calc(100vw - 20px))}.tpd-touch-actions{grid-template-columns:repeat(2,1fr)}.tpd-paper-touchline{grid-template-columns:repeat(2,1fr)}.tpd-paper-touchstat:nth-child(3n){border-right:1px solid rgba(24,32,43,.28)}.tpd-paper-touchstat:nth-child(2n){border-right:0}.tpd-paper-touchstat:nth-child(-n+4){border-bottom:1px solid rgba(24,32,43,.28)}}
@media(max-width:520px){.tpd-touch-actions{grid-template-columns:1fr}.tpd-touch-card{max-height:calc(100dvh - 24px);overflow:auto}.tpd-trace-peek{display:none}}

/* R105 — one balanced dock: newspaper/new + touch; no extra floating trace card */
.tpd-life-dock{left:14px;bottom:18px;gap:8px;align-items:stretch}
.tpd-life-chip{height:42px;min-height:42px;padding:8px 11px;box-sizing:border-box;justify-content:center}
.tpd-life-chip .life-icon{width:18px;text-align:center;line-height:1}
.tpd-life-chip.paper,.tpd-life-chip.touch{min-width:112px}
.tpd-life-chip.paper .life-count{background:rgba(240,205,110,.14);color:#f0cd6e}
.tpd-trace-peek{display:none!important}
@media(max-width:820px){
 .tpd-life-dock{left:12px;bottom:calc(78px + env(safe-area-inset-bottom));gap:8px}
 .tpd-life-chip{height:44px;min-height:44px;padding:8px 10px;border-radius:17px}
 .tpd-life-chip.paper,.tpd-life-chip.touch{min-width:112px}
 .tpd-life-chip .life-label{display:inline!important;font-size:11px}
 .tpd-life-chip .life-count{min-width:22px;height:22px;padding:0 6px}
}
@media(max-width:390px){.tpd-life-chip.paper,.tpd-life-chip.touch{min-width:102px}.tpd-life-chip{gap:6px;padding:7px 8px}.tpd-life-chip .life-label{font-size:10px}}
/* R105 — recent activity lives inside the same Mới · Chạm panel */
.tpd-touch-recent{margin-top:14px;padding:11px 12px;border:1px solid rgba(240,205,110,.13);border-radius:14px;background:rgba(240,205,110,.035)}
.tpd-touch-recent>b{display:block;margin-bottom:7px;color:#f0cd6e;font:700 9px 'IBM Plex Sans',sans-serif;letter-spacing:.12em}
.tpd-touch-recent button{display:grid;width:100%;grid-template-columns:minmax(90px,.45fr) 1fr;gap:8px;padding:7px 0;border:0;border-top:1px solid rgba(255,255,255,.055);background:transparent;text-align:left;color:#dce6f3;cursor:pointer}.tpd-touch-recent button:first-of-type{border-top:0}.tpd-touch-recent button span{font:600 11px/1.3 'IBM Plex Sans',sans-serif;color:#d9e3ee}.tpd-touch-recent button small{font:11px/1.35 'IBM Plex Serif',serif;color:#8fa1b9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpd-touch-recent button:hover span{color:#f0d996}
@media(max-width:520px){.tpd-touch-recent button{grid-template-columns:1fr}.tpd-touch-recent button small{white-space:normal}.tpd-life-chip.paper{min-width:105px}.tpd-life-chip.touch{min-width:126px}}



/* ================== assets/css/city-r107.css ================== */
/* Thành Phố Đêm R107 — inherits R106 UI styles; visual life changes are canvas-rendered. */
/* Thành Phố Đêm R105 */
.city-live,.new-posts-dock{display:none!important}
.r105-top-actions{gap:10px}
/* A touch gift must visibly exist inside the house, not only as a tiny street marker. */
.house-interior{position:relative}
.r105-interior-gift{position:absolute;right:18px;bottom:18px;z-index:8;width:min(190px,42%);padding:10px 11px 9px;border:1px solid rgba(240,205,110,.26);border-radius:16px;background:linear-gradient(180deg,rgba(9,20,35,.82),rgba(6,13,26,.9));box-shadow:0 14px 32px rgba(0,0,0,.28);backdrop-filter:blur(8px);pointer-events:none;color:#e7edf5}
.r105-interior-gift>span{display:block;margin-top:5px;color:#f0dfb3;font:600 11px/1.3 'IBM Plex Serif',serif}.r105-interior-gift>small{display:block;margin-top:2px;color:#8fa1b9;font:9px/1.35 'IBM Plex Sans',sans-serif}
.r105-gift-bouquet{position:relative;width:46px;height:42px;margin:0 auto 2px}.r105-gift-bouquet i{position:absolute;width:11px;height:11px;border-radius:50%;background:#df83a4;box-shadow:0 0 8px rgba(223,131,164,.25)}.r105-gift-bouquet i:nth-child(1){left:5px;top:8px}.r105-gift-bouquet i:nth-child(2){left:17px;top:3px;background:#efd07b}.r105-gift-bouquet i:nth-child(3){left:29px;top:9px;background:#b897ce}.r105-gift-bouquet i:nth-child(4){left:12px;top:16px;background:#e6a084}.r105-gift-bouquet i:nth-child(5){left:25px;top:17px;background:#9bcbb0}.r105-gift-bouquet:before,.r105-gift-bouquet:after{content:"";position:absolute;left:21px;top:18px;width:1px;height:17px;background:#5d9169;transform:rotate(18deg)}.r105-gift-bouquet:after{transform:rotate(-18deg)}.r105-gift-bouquet b{position:absolute;left:13px;bottom:0;width:20px;height:14px;clip-path:polygon(0 0,100% 0,72% 100%,28% 100%);background:#d8c39b}
.r105-gift-bench{position:relative;width:52px;height:31px;margin:0 auto}.r105-gift-bench i:first-child{position:absolute;left:4px;right:4px;top:8px;height:6px;background:#8d6846;border-radius:2px;box-shadow:0 8px 0 #8d6846}.r105-gift-bench i:last-child:before,.r105-gift-bench i:last-child:after{content:"";position:absolute;top:15px;width:3px;height:14px;background:#4a3a31}.r105-gift-bench i:last-child:before{left:10px}.r105-gift-bench i:last-child:after{right:10px}
/* Interactive “real windows” for railway / airport / ô mai. */
.r105-landmark-window{position:fixed;inset:0;z-index:100180;display:none;place-items:center;padding:18px;background:rgba(3,7,14,.7);backdrop-filter:blur(7px)}.r105-landmark-window.show{display:grid}
.r105-landmark-card{position:relative;width:min(560px,94vw);padding:22px 22px 19px;border-radius:22px;border:1px solid rgba(240,205,110,.26);background:linear-gradient(180deg,#0d2038,#071321);box-shadow:0 28px 86px rgba(0,0,0,.56);color:#dce6f3}.r105-landmark-card.airport{border-color:rgba(126,223,208,.28)}
.r105-landmark-close{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:rgba(5,12,24,.65);color:#dce6f3;font-size:20px}.r105-landmark-kicker{color:#8fded4;font:700 9px 'IBM Plex Sans',sans-serif;letter-spacing:.14em}.r105-landmark-card h3{margin:11px 0 8px;color:#f0cd6e;font:400 27px 'Special Elite',monospace}.r105-landmark-card p{margin:0;color:#aebdd0;font:14px/1.65 'IBM Plex Serif',serif}
.r105-landmark-scene{height:124px;margin:16px 0 13px;border-radius:16px;overflow:hidden;position:relative;background:linear-gradient(180deg,#162c49 0,#263958 52%,#0a121e 53%,#111927 100%);border:1px solid rgba(255,255,255,.07)}.r105-landmark-scene:before{content:"";position:absolute;left:7%;right:7%;bottom:28px;height:44px;background:rgba(14,29,43,.94);border:1px solid rgba(240,205,110,.22);clip-path:polygon(6% 22%,94% 22%,100% 100%,0 100%)}.r105-landmark-card.airport .r105-landmark-scene:before{height:38px;clip-path:polygon(0 25%,78% 25%,86% 0,94% 0,100% 100%,0 100%);border-color:rgba(126,223,208,.28)}.r105-landmark-card.omai .r105-landmark-scene:before{left:28%;right:28%;height:72px;clip-path:polygon(50% 0,100% 23%,100% 100%,0 100%,0 23%);background:#705641}
.r105-landmark-scene i{position:absolute;bottom:41px;width:18px;height:14px;background:rgba(241,208,139,.55);box-shadow:0 0 10px rgba(241,208,139,.14)}.r105-landmark-scene i:nth-child(1){left:19%}.r105-landmark-scene i:nth-child(2){left:34%}.r105-landmark-scene i:nth-child(3){left:49%}.r105-landmark-scene i:nth-child(4){left:64%}.r105-landmark-scene i:nth-child(5){left:79%}.r105-landmark-card.airport .r105-landmark-scene i{bottom:22px;width:5px;height:5px;border-radius:50%;background:#78ded6}.r105-landmark-card.omai .r105-landmark-scene i{bottom:35px;width:13px;height:18px;background:rgba(242,208,141,.62)}
.r105-landmark-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.r105-landmark-actions button{border:1px solid rgba(240,205,110,.24);border-radius:999px;background:rgba(240,205,110,.07);color:#f0d996;padding:8px 11px;font:600 11px 'IBM Plex Sans',sans-serif}.r105-landmark-actions button[data-close]{border-color:rgba(126,223,208,.18);background:rgba(126,223,208,.05);color:#9edbd3}
@media(max-width:820px){.r105-interior-gift{right:10px;bottom:10px;width:158px;padding:8px 9px}.r105-interior-gift>span{font-size:10px}.r105-interior-gift>small{font-size:8px}.r105-landmark-card{padding:19px 17px 16px}.r105-landmark-scene{height:104px}}

/* R106 — mobile HUD: Bar / Tạo nhà return into the header row after LIVE was removed. */
@media(max-width:820px){
  .city-hud{height:56px!important;min-height:56px!important;overflow:visible!important}
  .city-top-actions.r105-top-actions{
    position:absolute!important;top:7px!important;left:50%!important;bottom:auto!important;
    transform:translateX(-50%)!important;z-index:9!important;gap:5px!important;
    width:auto!important;max-width:calc(100vw - 176px)!important;white-space:nowrap!important;
  }
  .city-top-actions.r105-top-actions button{
    min-height:36px!important;height:36px!important;padding:6px 9px!important;border-radius:13px!important;
    font-size:9.5px!important;line-height:1!important;
  }
  .city-top-actions.r105-top-actions .short-label{display:inline!important}
  .city-brand{position:relative!important;z-index:10!important}
  .city-utility{position:relative!important;z-index:10!important}
}
@media(max-width:420px){
  .city-top-actions.r105-top-actions{max-width:calc(100vw - 164px)!important;gap:4px!important}
  .city-top-actions.r105-top-actions button{padding:6px 8px!important;font-size:9px!important}
}

/* R106 — put the two bottom chips close to the bottom edge, not floating high above the road. */
@media(max-width:820px){
  .tpd-life-dock{left:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;gap:7px!important}
  .tpd-life-chip{height:40px!important;min-height:40px!important;padding:7px 9px!important;border-radius:15px!important}
  .tpd-life-chip.paper{min-width:102px!important}.tpd-life-chip.touch{min-width:118px!important}
}

/* R106 — the City Life moment is a compact toast on phones, not a modal-sized card. */
@media(max-width:820px){
  .tpd-life-moment{
    left:10px!important;right:auto!important;bottom:calc(58px + env(safe-area-inset-bottom))!important;
    width:min(292px,calc(100vw - 20px))!important;max-width:292px!important;
    padding:9px 10px 9px!important;border-radius:14px!important;box-shadow:0 12px 34px rgba(0,0,0,.34)!important;
  }
  .tpd-life-moment .moment-kicker{font-size:7.5px!important;letter-spacing:.09em!important;padding-right:20px!important}
  .tpd-life-moment .moment-title{margin-top:4px!important;font-size:13px!important;line-height:1.25!important}
  .tpd-life-moment p{
    margin:4px 0 0!important;font-size:10.5px!important;line-height:1.35!important;
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
  }
  .tpd-life-moment .moment-actions{gap:5px!important;margin-top:7px!important;flex-wrap:nowrap!important;overflow:hidden!important}
  .tpd-life-moment .moment-actions button{padding:5px 7px!important;font-size:8.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
  .tpd-life-moment .moment-actions button:first-child{max-width:150px!important}
  .tpd-life-moment .moment-x{right:6px!important;top:5px!important;font-size:14px!important}
}

/* R106 — memory picks remain visible even when there are fresh activities. */
.tpd-touch-recent.memory-picks{border-color:rgba(126,223,208,.14);background:rgba(126,223,208,.035)}
.tpd-touch-recent.memory-picks>b{color:#9ee4d7}
.tpd-touch-recent.memory-picks button small{color:#aebbd0}


/* R106 — Mới · Chạm: editorial cards instead of raw/default buttons. */
.r105-touch-card{width:min(760px,100%);padding:22px;max-height:min(88dvh,820px);overflow:auto;scrollbar-width:thin}
.r105-touch-card .tpd-touch-head{padding-bottom:4px}.r105-touch-card .tpd-touch-head strong{font-size:27px}.r105-touch-card .tpd-touch-head p{max-width:590px;font-size:12.5px;line-height:1.55;color:#94a5bc}
.r105-touch-section{margin-top:16px;padding-top:15px;border-top:1px solid rgba(255,255,255,.08)}
.r105-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}.r105-section-title b{color:#f0cd6e;font:700 10px 'IBM Plex Sans',sans-serif;letter-spacing:.14em}.r105-section-title span{color:#70859f;font:10px 'IBM Plex Serif',serif;font-style:italic}
.r105-fresh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.r105-fresh-card{appearance:none!important;-webkit-appearance:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:11px 12px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;border:1px solid rgba(240,205,110,.13)!important;border-radius:14px!important;background:linear-gradient(180deg,rgba(24,43,70,.78),rgba(13,27,48,.78))!important;color:#dce6f3!important;text-align:left!important;box-shadow:none!important;cursor:pointer!important}
.r105-fresh-card:hover{border-color:rgba(240,205,110,.35)!important;background:linear-gradient(180deg,rgba(31,51,78,.88),rgba(15,31,54,.88))!important}.r105-fresh-card>i{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(240,205,110,.075);font-style:normal;font-size:17px}.r105-fresh-card>span{min-width:0}.r105-fresh-card strong{display:block;color:#f0dfb3;font:600 12px/1.25 'IBM Plex Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r105-fresh-card small{display:block;margin-top:4px;color:#91a3bb;font:11px/1.38 'IBM Plex Serif',serif;white-space:normal}
.r105-touch-do .tpd-touch-actions{margin-top:0;gap:8px}.r105-touch-do .tpd-touch-action{min-height:94px;padding:12px 13px;background:rgba(17,34,59,.66)}.r105-touch-do .tpd-touch-action i{font-size:20px}.r105-touch-do .tpd-touch-action b{margin-top:6px;font-size:12.5px}.r105-touch-do .tpd-touch-action span{font-size:11px}.r105-touch-do .tpd-touch-stats{margin-top:10px;padding-top:9px;color:#7187a2}
.r105-memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.r105-memory-card{appearance:none!important;-webkit-appearance:none!important;width:100%!important;margin:0!important;padding:10px 11px!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:8px!important;border:1px solid rgba(126,223,208,.12)!important;border-radius:13px!important;background:rgba(126,223,208,.035)!important;color:#dbe6ef!important;text-align:left!important;cursor:pointer!important}.r105-memory-card>span{color:#8fe0d4;font-size:14px}.r105-memory-card strong{display:block;color:#cfe7e3;font:600 11.5px/1.3 'IBM Plex Sans',sans-serif}.r105-memory-card small{display:block;margin-top:3px;color:#839bb1;font:10.5px/1.38 'IBM Plex Serif',serif}
.r105-trails{padding-bottom:2px}.r105-trails .tpd-touch-trace{grid-template-columns:46px 1fr;gap:8px;padding:8px 0}.r105-trace-mark{display:inline-flex!important;width:38px;min-height:24px;align-items:center;justify-content:center;border-radius:999px;background:rgba(126,223,208,.06);border:1px solid rgba(126,223,208,.10);color:#9ee4d7!important;font:700 9px 'IBM Plex Sans',sans-serif!important;letter-spacing:.03em}.r105-trails .tpd-touch-trace:not(.own) .r105-trace-mark{font-size:14px!important}.r105-trails .tpd-touch-trace p{font-size:11.5px;line-height:1.48;color:#9bacbf}.r105-trails .tpd-touch-trace.own p{color:#cae9e2}
.r105-empty p{margin:0;color:#7f91aa;font:12px 'IBM Plex Serif',serif}
/* Newspaper cleanup: one quiet issue line; no slogan/technical explainer. */
.tpd-paper-subline{justify-content:center!important}.tpd-paper-subline>span:only-child{letter-spacing:.15em}.tpd-paper-lead{margin:14px 0 18px!important;font-size:18px!important}.tpd-paper-foot{letter-spacing:.14em;text-transform:uppercase;font-weight:700}
@media(max-width:620px){.r105-touch-card{width:100%;padding:17px 14px;max-height:calc(100dvh - 18px);border-radius:18px}.r105-touch-card .tpd-touch-head strong{font-size:23px}.r105-touch-card .tpd-touch-head p{font-size:11.5px}.r105-fresh-grid,.r105-memory-grid{grid-template-columns:1fr}.r105-touch-do .tpd-touch-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.r105-touch-do .tpd-touch-action{min-height:86px}.r105-section-title{align-items:flex-start;flex-direction:column;gap:3px}.r105-section-title span{font-size:9.5px}}
@media(max-width:390px){.r105-touch-do .tpd-touch-actions{grid-template-columns:1fr 1fr}.r105-touch-do .tpd-touch-action{padding:10px;min-height:82px}.r105-touch-do .tpd-touch-action span{font-size:10px}}


/* R106.0 — mobile HUD rebuilt as one compact top row. */
@media(max-width:820px){
  .city-hud{height:52px!important;min-height:52px!important;padding:0 8px!important;overflow:visible!important}
  .city-brand{position:absolute!important;left:9px!important;top:8px!important;max-width:105px!important;z-index:30!important}
  .city-brand .city-title,.city-brand strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .city-top-actions.r105-top-actions{position:absolute!important;left:50%!important;top:7px!important;bottom:auto!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;max-width:none!important;width:auto!important;z-index:31!important;margin:0!important}
  .city-top-actions.r105-top-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:6px 8px!important;margin:0!important;border-radius:12px!important;font-size:9px!important;white-space:nowrap!important}
  .city-top-actions.r105-top-actions .full-label{display:none!important}.city-top-actions.r105-top-actions .short-label{display:inline!important}
  .city-utility{position:absolute!important;right:8px!important;top:8px!important;z-index:32!important}
  .tpd-life-dock{position:fixed!important;left:8px!important;right:8px!important;bottom:calc(7px + env(safe-area-inset-bottom))!important;width:auto!important;display:grid!important;grid-template-columns:104px minmax(126px,160px)!important;justify-content:start!important;gap:6px!important;z-index:80!important;pointer-events:none!important}
  .tpd-life-chip{pointer-events:auto!important;height:38px!important;min-height:38px!important;padding:6px 8px!important;border-radius:13px!important;background:rgba(7,17,31,.93)!important;box-shadow:0 8px 24px rgba(0,0,0,.3)!important;backdrop-filter:blur(12px)!important}
  .tpd-life-chip.paper,.tpd-life-chip.touch{min-width:0!important;width:100%!important}.tpd-life-chip .life-label{display:inline!important;font-size:10px!important}.tpd-life-chip .life-icon{font-size:13px!important}.tpd-life-chip .life-count{min-width:20px!important;height:20px!important;font-size:9px!important}
  .tpd-life-moment{position:fixed!important;left:8px!important;right:auto!important;top:auto!important;bottom:calc(52px + env(safe-area-inset-bottom))!important;width:min(276px,calc(100vw - 16px))!important;max-width:276px!important;max-height:126px!important;padding:8px 9px!important;border-radius:13px!important;overflow:hidden!important;z-index:79!important}
  .tpd-life-moment .moment-kicker{font-size:7px!important}.tpd-life-moment .moment-title{font-size:12px!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tpd-life-moment p{font-size:9.5px!important;line-height:1.3!important;margin-top:3px!important;-webkit-line-clamp:1!important}.tpd-life-moment .moment-actions{margin-top:5px!important}.tpd-life-moment .moment-actions button{padding:4px 6px!important;font-size:8px!important}
  .tpd-paper-shell,.tpd-touch-shell{padding:7px!important;align-items:flex-end!important}
  .tpd-midnight-paper,.r105-touch-card{width:100%!important;max-height:calc(100dvh - 14px)!important;border-radius:18px 18px 12px 12px!important}
  .r105-touch-card{padding:15px 12px!important}.r105-touch-card .tpd-touch-head strong{font-size:21px!important}.r105-touch-card .tpd-touch-head p{font-size:10.5px!important;line-height:1.4!important}
  .r105-touch-section{margin-top:11px!important;padding-top:11px!important}.r105-fresh-grid,.r105-memory-grid{grid-template-columns:1fr!important;gap:6px!important}.r105-fresh-card,.r105-memory-card{padding:9px 10px!important;border-radius:12px!important}.r105-touch-do .tpd-touch-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.r105-touch-do .tpd-touch-action{min-height:112px!important;padding:8px 5px!important;border-radius:13px!important}.r105-touch-do .tpd-touch-action b{font-size:10.5px!important}.r105-touch-do .tpd-touch-action>span{font-size:8.8px!important;line-height:1.25!important}
}
@media(max-width:390px){.city-brand{max-width:86px!important}.city-top-actions.r105-top-actions button{padding-inline:6px!important;font-size:8.5px!important}.tpd-life-dock{grid-template-columns:96px minmax(120px,148px)!important}.r105-touch-do .tpd-touch-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* R106.0 — hand-drawn touch objects; no emoji cards. */
.touch-art{position:relative!important;display:block!important;width:54px!important;height:48px!important;margin:0 auto 3px!important;font-style:normal!important;filter:drop-shadow(0 7px 9px rgba(0,0,0,.28));transform:translateZ(0)}
.touch-art-small{width:28px!important;height:25px!important;margin:0!important;transform:scale(.72);transform-origin:center}
.tpd-touch-action{overflow:hidden!important;position:relative!important;transition:border-color .2s ease,background .2s ease,transform .2s ease!important}.tpd-touch-action:hover{transform:translateY(-2px)!important;border-color:rgba(240,205,110,.34)!important;background:linear-gradient(180deg,rgba(24,46,72,.78),rgba(12,27,49,.84))!important}
.touch-art-light .candle-body{position:absolute;left:22px;top:21px;width:11px;height:22px;border-radius:3px 3px 2px 2px;background:linear-gradient(90deg,#d7c59b,#f2e2b6 52%,#bfa776);box-shadow:inset -2px 0 0 rgba(80,55,29,.13)}.touch-art-light .candle-flame{position:absolute;left:24px;top:5px;width:8px;height:15px;border-radius:60% 40% 58% 42%;background:radial-gradient(circle at 50% 68%,#fff7c9 0 25%,#ffc65c 28% 65%,#e88038 70%);transform:rotate(7deg);z-index:2;animation:r106Flame 1.7s ease-in-out infinite}.touch-art-light .candle-glow{position:absolute;left:8px;top:-6px;width:40px;height:40px;border-radius:50%;background:radial-gradient(circle,rgba(255,211,108,.25),rgba(255,211,108,0) 68%)}
.touch-art-footstep .step{position:absolute;width:13px;height:25px;border-radius:48% 52% 58% 42%;background:linear-gradient(180deg,rgba(191,222,230,.92),rgba(89,156,166,.68));box-shadow:0 0 12px rgba(126,223,208,.16)}.touch-art-footstep .step:before{content:'';position:absolute;top:-5px;left:2px;width:4px;height:5px;border-radius:50%;background:inherit;box-shadow:5px -1px 0 rgba(168,211,220,.8),9px 2px 0 rgba(151,197,207,.65)}.touch-art-footstep .s1{left:11px;top:15px;transform:rotate(-17deg)}.touch-art-footstep .s2{right:9px;top:5px;transform:rotate(14deg) scale(.9)}
.touch-art-bell .bell-dome{position:absolute;left:16px;top:12px;width:25px;height:24px;border:2px solid #c6a96c;border-bottom:0;border-radius:14px 14px 5px 5px;background:linear-gradient(180deg,rgba(240,205,110,.22),rgba(125,91,49,.25))}.touch-art-bell .bell-clapper{position:absolute;left:26px;top:35px;width:6px;height:6px;border-radius:50%;background:#e2c071}.touch-art-bell .bell-wave{position:absolute;top:9px;width:9px;height:30px;border:1px solid rgba(126,223,208,.48);border-top-color:transparent;border-bottom-color:transparent;border-radius:50%}.touch-art-bell .w1{left:7px;border-left-color:rgba(126,223,208,.62);border-right:0}.touch-art-bell .w2{right:6px;border-right-color:rgba(126,223,208,.62);border-left:0}
.touch-art-memory .memory-card-art{position:absolute;left:12px;top:7px;width:31px;height:36px;border-radius:3px;background:linear-gradient(145deg,#d9c9a8,#a88e69);transform:rotate(-6deg);box-shadow:inset 0 0 0 1px rgba(68,48,31,.22),4px 5px 0 rgba(30,19,13,.22)}.touch-art-memory .memory-card-art:before{content:'';position:absolute;left:5px;right:5px;top:6px;height:14px;background:linear-gradient(180deg,#496a76,#213944);border-radius:2px}.touch-art-memory .memory-card-art:after{content:'';position:absolute;left:6px;right:8px;bottom:7px;height:1px;background:#7e684d;box-shadow:0 4px 0 #887157}.touch-art-memory .memory-star{position:absolute;width:5px;height:5px;background:#f1d276;clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%)}.touch-art-memory .memory-star.a{right:6px;top:6px}.touch-art-memory .memory-star.b{right:1px;top:20px;transform:scale(.65)}
.touch-art-bench .bench-back{position:absolute;left:7px;right:7px;top:13px;height:8px;border-radius:2px;background:linear-gradient(180deg,#a87a4c,#6f4c32);box-shadow:0 10px 0 #8b633f}.touch-art-bench .bench-back:after{content:'';position:absolute;left:3px;right:3px;top:3px;height:1px;background:rgba(241,213,171,.35)}.touch-art-bench .bench-seat{position:absolute;left:4px;right:4px;top:30px;height:5px;background:#725038;border-radius:2px}.touch-art-bench .bench-leg{position:absolute;top:34px;width:3px;height:10px;background:#303740}.touch-art-bench .bench-leg.l{left:13px}.touch-art-bench .bench-leg.r{right:13px}
.touch-art-flower .flower-stem{position:absolute;left:27px;top:22px;width:2px;height:24px;background:#628369;transform:rotate(4deg)}.touch-art-flower .flower-leaf{position:absolute;top:31px;width:12px;height:6px;border-radius:100% 0 100% 0;background:#6f956f}.touch-art-flower .flower-leaf.l{left:17px;transform:rotate(18deg)}.touch-art-flower .flower-leaf.r{left:28px;transform:scaleX(-1) rotate(12deg)}.touch-art-flower .flower-head{position:absolute;left:17px;top:5px;width:22px;height:22px}.touch-art-flower .flower-head i{position:absolute;left:8px;top:1px;width:7px;height:12px;border-radius:70% 45% 60% 45%;background:linear-gradient(180deg,#df91ac,#b85d83);transform-origin:50% 10px}.touch-art-flower .flower-head i:nth-child(2){transform:rotate(72deg)}.touch-art-flower .flower-head i:nth-child(3){transform:rotate(144deg)}.touch-art-flower .flower-head i:nth-child(4){transform:rotate(216deg)}.touch-art-flower .flower-head i:nth-child(5){transform:rotate(288deg)}.touch-art-flower .flower-head b{position:absolute;left:8px;top:8px;width:7px;height:7px;border-radius:50%;background:#e8c978;box-shadow:0 0 7px rgba(232,201,120,.35)}
.tpd-fx-art{width:72px!important;height:72px!important;background:rgba(5,13,25,.62)!important;border:1px solid rgba(240,205,110,.16);border-radius:50%;display:grid;place-items:center;backdrop-filter:blur(5px);animation:r106TouchFx 1.9s ease-out both!important}.tpd-fx-art .touch-art{transform:scale(1.05)}
.r105-trace-mark:has(.touch-art){width:38px!important;height:28px!important;padding:0!important}.r105-trace-mark .touch-art{filter:none!important}
@keyframes r106Flame{0%,100%{transform:rotate(5deg) scale(1)}50%{transform:rotate(-5deg) scale(.9,1.08)}}@keyframes r106TouchFx{0%{opacity:0;transform:scale(.45) translateY(12px)}18%{opacity:1;transform:scale(1) translateY(0)}72%{opacity:.9;transform:scale(1.04) translateY(-12px)}100%{opacity:0;transform:scale(.84) translateY(-38px)}}



/* ================== assets/css/city-r109.css ================== */
/* R109 Halloween: a complete, administrator-controlled seasonal skin. */
#tpdHalloweenQuick,.tpd-halloween-quick{display:none!important}
.tpd-season-mark,.tpd-halloween-cityfront{display:none}
[data-city-theme="halloween"] .tpd-season-mark{display:flex;align-items:center;justify-content:center;gap:14px;margin:11px 0 0;color:#efc18a;font:700 10px/1.3 'IBM Plex Sans',sans-serif;letter-spacing:.22em;text-transform:uppercase;text-shadow:0 1px 4px #100b18}
[data-city-theme="halloween"] .tpd-season-mark::before,[data-city-theme="halloween"] .tpd-season-mark::after{content:"";display:block;width:24px;height:1px;background:linear-gradient(90deg,transparent,#bd8052)}
[data-city-theme="halloween"] .tpd-season-mark::after{transform:rotate(180deg)}
[data-city-theme="halloween"] .tpd-season-mark i{font:600 10px 'Special Elite',monospace;border:1px solid rgba(220,131,74,.4);padding:3px 7px;border-radius:3px;color:#ed9a5e;letter-spacing:.08em}
[data-city-theme="halloween"] .city-overture .overture-sky{background:linear-gradient(180deg,#0d0b20 0%,#18162f 42%,#422b3a 74%,#1f1a2c 100%)}
[data-city-theme="halloween"] .city-overture .overture-sky::after{background:radial-gradient(circle at 82% 24%,rgba(217,125,65,.25),transparent 24%),radial-gradient(ellipse at 50% 85%,rgba(231,110,72,.14),transparent 48%),linear-gradient(180deg,transparent 40%,rgba(9,8,20,.35))}
[data-city-theme="halloween"] .city-overture .overture-title{color:#f6d1a3;text-shadow:0 0 28px rgba(229,126,76,.28),0 11px 40px rgba(0,0,0,.58)}
[data-city-theme="halloween"] .city-overture .overture-kicker{color:#e2ab8b}
[data-city-theme="halloween"] .city-overture .overture-slogan strong{color:#f0dbbf}
[data-city-theme="halloween"] .city-overture .overture-enter{border-color:rgba(236,143,85,.62);color:#f3dbba;box-shadow:0 0 24px rgba(219,91,47,.12),0 10px 32px rgba(0,0,0,.24)}
[data-city-theme="halloween"] .city-overture .overture-enter:hover{background:rgba(138,70,46,.32)}
[data-city-theme="halloween"] .overture-canvas-wrap{box-shadow:inset 0 -42px 80px rgba(58,28,41,.24)}
[data-city-theme="halloween"] .tpd-halloween-cityfront{display:block;position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.tpd-halloween-cityfront .h-pumpkin{position:absolute;bottom:4%;width:28px;height:23px;background:radial-gradient(ellipse at 40% 45%,#f6a24a 5%,#bb5a2f 64%,#633e30 98%);border:1px solid rgba(116,47,23,.7);box-shadow:inset 5px 0 3px rgba(255,180,79,.12),inset -5px 0 3px rgba(80,37,26,.24),0 2px 10px rgba(245,130,49,.36);border-radius:48% 48% 45% 45%}
.tpd-halloween-cityfront .h-pumpkin::before{content:"";position:absolute;top:-6px;left:12px;width:5px;height:8px;background:#46634b;border-radius:2px;transform:rotate(15deg)}
.tpd-halloween-cityfront .h-pumpkin::after{content:"";position:absolute;left:7px;top:9px;width:4px;height:4px;box-shadow:9px 0 #372a2a;background:#372a2a;clip-path:polygon(50% 0,0 100%,100% 100%)}
.tpd-halloween-cityfront .hp-one{left:10%;bottom:12%;transform:scale(1.35)}
.tpd-halloween-cityfront .hp-two{right:12%;bottom:7%;transform:scale(1.2)}
.tpd-halloween-cityfront .hp-three{right:19%;bottom:6%;transform:scale(.73)}
.tpd-halloween-cityfront .h-tree{position:absolute;bottom:-1%;height:70%;width:5px;background:linear-gradient(90deg,#211c27,#453032,#18131d);transform-origin:bottom;opacity:.88}
.tpd-halloween-cityfront .h-tree:before{content:"";position:absolute;bottom:25%;left:-41px;width:88px;height:95px;border:9px solid #231b25;border-bottom:none;border-left:0;border-radius:80% 60% 0 0;transform:rotate(-25deg)}
.tpd-halloween-cityfront .h-tree:after{content:"";position:absolute;bottom:44%;left:-2px;width:83px;height:62px;border:7px solid #261d28;border-bottom:0;border-right:0;border-radius:80% 40% 0 0;transform:rotate(21deg)}
.tpd-halloween-cityfront .h-left{left:6%;transform:rotate(-8deg)}
.tpd-halloween-cityfront .h-right{right:8%;transform:rotate(12deg) scaleX(-1);height:78%}
.tpd-halloween-cityfront .h-ghost{position:absolute;top:27%;left:24%;width:22px;height:27px;background:linear-gradient(180deg,rgba(232,223,201,.74),rgba(189,211,215,.23));border-radius:45% 45% 28% 28%;filter:drop-shadow(0 0 12px rgba(189,211,215,.28));animation:tpd-ghost 6s ease-in-out infinite}
.tpd-halloween-cityfront .h-ghost::before{content:"";position:absolute;top:9px;left:6px;width:3px;height:3px;background:#383341;border-radius:50%;box-shadow:8px 0 #383341}
.tpd-halloween-cityfront .h-ghost::after{content:"";position:absolute;bottom:-4px;left:0;width:100%;height:10px;background:inherit;clip-path:polygon(0 0,21% 90%,42% 0,63% 90%,83% 0,100% 80%,100% 0)}
@keyframes tpd-ghost{0%,100%{transform:translate(0,0)}50%{transform:translate(8px,-8px)}}
[data-city-theme="halloween"] .tpd-halloween-overture{display:block}
[data-city-theme="halloween"] .tpd-halloween-moon{right:12%;top:12%;width:105px;height:105px;opacity:.8;background:radial-gradient(circle at 38% 36%,#ffe6ae,#eab171 58%,#bd7156);box-shadow:0 0 38px 15px rgba(232,142,82,.22),0 0 130px 65px rgba(170,76,83,.11)}
[data-city-theme="halloween"] .tpd-halloween-bat{width:43px;height:22px;opacity:.82;background:#100e1c}
[data-city-theme="halloween"] .tpd-halloween-bat.bat-one{right:24%;top:18%;transform:rotate(-10deg)}
[data-city-theme="halloween"] .tpd-halloween-bat.bat-two{right:17%;top:30%;transform:scale(.65) rotate(18deg)}
[data-city-theme="halloween"] .tpd-halloween-bat.bat-three{right:31%;top:24%;transform:scale(.85) rotate(-6deg);animation-delay:-5s}
.tpd-halloween-star{position:absolute;left:20%;top:20%;width:4px;height:4px;border-radius:50%;background:#e9c5a7;box-shadow:0 0 8px #e9c5a7,36px 23px 0 #aa8092,119px -2px 0 #c8a4a0}
.tpd-halloween-star.star-two{left:52%;top:14%;transform:scale(.6)}
/* Always expose the composer, with both sources in a single stream, even when signed out. */
.public-story-stream.wish-tree-stream .public-stream-compose.wish-tree-compose{display:grid!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:1!important;max-height:none!important;overflow:visible!important;gap:13px!important;padding:16px 18px!important;border:1px solid rgba(224,186,110,.45)!important;background:linear-gradient(160deg,rgba(32,47,41,.98),rgba(20,35,33,.97))!important}
.public-story-stream.wish-tree-stream .public-stream-compose.wish-tree-compose textarea{display:block!important;visibility:visible!important;width:100%!important;min-height:94px!important;background:#142c28!important;color:#f1ebd9!important;border:1px solid rgba(216,191,126,.5)!important}
.public-story-stream.wish-tree-stream .public-stream-compose.wish-tree-compose textarea:focus{outline:2px solid rgba(246,185,90,.58);outline-offset:2px}
.public-story-stream.wish-tree-stream .tpd-wish-comment{display:block!important;padding-top:15px;margin-top:7px}
.public-story-stream.wish-tree-stream .tpd-wish-comment textarea{min-height:78px!important}
.public-story-stream.wish-tree-stream .public-stream-submit{gap:10px;align-items:center;flex-wrap:wrap}
.public-story-stream.wish-tree-stream .public-stream-submit .btn{background:linear-gradient(135deg,#f1bd71,#ce894d)!important;color:#211b19!important;font-weight:700}
.public-story-stream.wish-tree-stream .public-stream-submit .sharebtn{color:#f5daa7!important;border-color:rgba(233,179,101,.58)!important;background:rgba(219,139,76,.14)!important;padding:10px 14px}
@media(max-width:750px){[data-city-theme="halloween"] .tpd-halloween-moon{right:7%;top:11%;width:57px;height:57px;box-shadow:0 0 48px 16px rgba(219,136,79,.25)}[data-city-theme="halloween"] .tpd-season-mark{gap:8px;font-size:8px;margin:7px 0 0;letter-spacing:.1em}[data-city-theme="halloween"] .tpd-season-mark::before,[data-city-theme="halloween"] .tpd-season-mark::after{width:11px}.tpd-halloween-cityfront .h-tree{height:52%;opacity:.76}.tpd-halloween-cityfront .h-right{height:56%}.tpd-halloween-cityfront .h-ghost{left:29%;top:21%;transform:scale(.75)}.tpd-halloween-cityfront .h-pumpkin{transform:scale(.78)!important}.public-story-stream.wish-tree-stream .public-stream-compose.wish-tree-compose{padding:13px!important}}
@media(prefers-reduced-motion:reduce){.tpd-halloween-cityfront .h-ghost,.tpd-halloween-bat{animation:none!important}}

/* R109 standalone Halloween DOM layer; does not depend on the removed R108 stylesheet. */
.tpd-halloween-overture{display:none;position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none}
.tpd-halloween-overture .tpd-halloween-moon{position:absolute;display:block;border-radius:50%;pointer-events:none}
.tpd-halloween-overture .tpd-halloween-bat{position:absolute;display:block;clip-path:polygon(50% 40%,30% 12%,13% 50%,0 0,3% 94%,26% 68%,43% 96%,50% 63%,57% 96%,74% 68%,97% 94%,100% 0,87% 50%,70% 12%);animation:tpd-bat-float 9s ease-in-out infinite}
@keyframes tpd-bat-float{0%,100%{translate:0 0}50%{translate:-12px 7px}}
[data-city-theme="halloween"] .city-overture .overture-kicker::before{content:"";width:34px;flex:0 0 34px;height:1px;background:linear-gradient(90deg,transparent,rgba(213,161,111,.65))}



/* ================== assets/css/city-r110.css ================== */
/* R110. World-bound Halloween bats and denser scene art are rendered in canvas. */
/* Flower palette/shape variants: CSS and canvas use matching palettes, chosen randomly per touch. */
.touch-art-flower{--petal:#df91ac;--core:#f4d88b;--stem:#6c977e;filter:drop-shadow(0 5px 6px rgba(0,0,0,.3)) drop-shadow(0 0 5px rgba(229,178,170,.09))!important}
.touch-art-flower.r110-flower-kind-1{--petal:#f3c967;--core:#6d5336;--stem:#65966e}
.touch-art-flower.r110-flower-kind-2{--petal:#c5aee4;--core:#efdbad;--stem:#638c88}
.touch-art-flower.r110-flower-kind-3{--petal:#ef9981;--core:#f4d8ae;--stem:#6d977a}
.touch-art-flower.r110-flower-kind-4{--petal:#ece8d2;--core:#d4b773;--stem:#659877}
.touch-art-flower .flower-stem{background:var(--stem)!important;box-shadow:3px 2px 0 -1px var(--stem)}
.touch-art-flower .flower-leaf{background:var(--stem)!important}
.touch-art-flower .flower-head i{background:linear-gradient(180deg,color-mix(in srgb,var(--petal),#fff 22%),var(--petal))!important;box-shadow:inset -1px -1px 2px rgba(55,43,44,.1)}
.touch-art-flower .flower-head b{background:var(--core)!important;box-shadow:0 0 8px color-mix(in srgb,var(--core),transparent 58%)}
.touch-art-flower.r110-flower-kind-1 .flower-head i{width:5px;height:12px;left:10px;top:1px;border-radius:50% 50% 42% 42%;transform-origin:50% 11px}
.touch-art-flower.r110-flower-kind-1 .flower-head i:nth-child(2){transform:rotate(72deg)}
.touch-art-flower.r110-flower-kind-1 .flower-head i:nth-child(3){transform:rotate(144deg)}
.touch-art-flower.r110-flower-kind-1 .flower-head i:nth-child(4){transform:rotate(216deg)}
.touch-art-flower.r110-flower-kind-1 .flower-head i:nth-child(5){transform:rotate(288deg)}
.touch-art-flower.r110-flower-kind-3 .flower-head i{border-radius:65% 65% 42% 42%;height:17px;top:-2px;width:8px}
.touch-art-flower.r110-flower-kind-2 .flower-head{transform:rotate(-11deg)}
.touch-art-flower.r110-flower-kind-4 .flower-head{transform:scale(.92)}
.touch-art-flower .flower-bud{position:absolute;width:9px;height:10px;border-radius:65% 65% 45% 45%;background:var(--petal);z-index:3;box-shadow:0 0 6px rgba(241,197,156,.13)}
.touch-art-flower .flower-bud.bud-left{left:8px;top:17px;transform:rotate(-32deg)}
.touch-art-flower .flower-bud.bud-right{left:38px;top:21px;transform:rotate(27deg) scale(.8)}
.touch-art-flower.r110-flower-kind-1 .flower-bud{border-radius:50%}
.r105-gift-bouquet{--gift-color:#e7a1bc}
.r105-gift-bouquet.r110-flower-kind-1{--gift-color:#f0c974}
.r105-gift-bouquet.r110-flower-kind-2{--gift-color:#c5b5df}
.r105-gift-bouquet.r110-flower-kind-3{--gift-color:#ed9f8b}
.r105-gift-bouquet.r110-flower-kind-4{--gift-color:#eae9d4}
.r105-gift-bouquet.r110-flower-kind-1 i,.r105-gift-bouquet.r110-flower-kind-2 i,.r105-gift-bouquet.r110-flower-kind-3 i,.r105-gift-bouquet.r110-flower-kind-4 i{background:var(--gift-color)!important;box-shadow:0 0 7px rgba(234,192,156,.2)}
.r105-gift-bouquet.r110-flower-kind-1 i:nth-child(2){background:#f1da91!important}
/* Softer material treatment for room overlays while preserving all buttons and entry cards. */
.house-interior{box-shadow:0 24px 55px rgba(2,5,14,.36),inset 0 0 0 1px rgba(217,221,216,.08)!important}
.house-interior canvas{display:block}
@media(prefers-reduced-motion:reduce){.touch-art-flower{transition:none!important}}

/* Detailed hand-drawn SVG florist artwork; all five families share the same proportions. */
.touch-art-flower{width:68px!important;height:61px!important;margin:-10px auto -3px!important;filter:drop-shadow(0 7px 8px rgba(0,0,0,.24))!important}
.touch-art-flower .r110-flower-svg{display:block;width:100%;height:100%;overflow:visible}
.touch-art-flower.touch-art-small{width:35px!important;height:32px!important;margin:-2px 0!important;transform:scale(.9)!important}
.r105-touch-do .tpd-touch-action:has(.touch-art-flower){background:linear-gradient(160deg,rgba(36,52,57,.71),rgba(16,33,47,.84))!important;border-color:rgba(205,184,151,.2)!important}



/* ================== assets/css/city-r111.css ================== */

/* R111 — readable latest bulletin, no customer controls */
#tpdPaperChip[data-fresh='1'] .life-icon::after{content:'';position:absolute;right:-2px;top:-2px;width:6px;height:6px;background:#f0cb83;border-radius:50%;box-shadow:0 0 9px #f0cb83}
#tpdPaperChip .life-icon{position:relative}
#tpdPaperChip.tpd-paper-updated{animation:tpdNewPaper111 1.1s ease-out 1}
@keyframes tpdNewPaper111{30%{filter:drop-shadow(0 0 14px rgba(240,205,110,.82))}}



/* ================== assets/css/city-culture.restore-r115.css ================== */
/* R115 — Culture UI only. No changes to R111 overture, canvas, world or theme. */
#tpdCultureLauncher{position:fixed;z-index:10011;right:18px;bottom:22px;pointer-events:auto}
#tpdCultureLauncher button{font:700 10px 'IBM Plex Sans',sans-serif;letter-spacing:.14em;color:#f1d9a8;background:linear-gradient(120deg,rgba(20,38,46,.96),rgba(26,48,45,.96));border:1px solid rgba(222,181,115,.53);box-shadow:0 9px 30px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.06);padding:12px 16px;border-radius:26px;cursor:pointer;transition:transform .25s,border-color .25s}
#tpdCultureLauncher button:hover{border-color:#f0d5a7;transform:translateY(-2px)}
#tpdCultureLauncher span{font-size:14px;color:#ddb675;margin-right:5px}
html.show-overture #tpdCultureLauncher,.tpd-culture-visible #tpdCultureLauncher{opacity:0;pointer-events:none}
.tpd-culture-overlay{position:fixed;inset:0;z-index:100090;display:none;align-items:stretch;justify-content:center;font-family:'IBM Plex Sans',sans-serif;color:#e8e2d6;isolation:isolate}
.tpd-culture-backdrop{position:absolute;inset:0;background:rgba(2,9,15,.86);backdrop-filter:blur(11px);cursor:pointer}
.tpd-culture-window{position:relative;margin:auto;width:min(1110px,calc(100vw - 48px));height:min(850px,calc(100dvh - 48px));background:linear-gradient(155deg,#172b32 0%,#101b29 43%,#101920 100%);border:1px solid rgba(215,190,148,.36);border-radius:12px;box-shadow:0 40px 130px #010811,0 0 0 4px rgba(231,203,156,.035);display:flex;flex-direction:column;overflow:hidden;outline:0}
.tpd-culture-window:before{content:"";height:3px;flex:0 0 3px;background:linear-gradient(90deg,transparent,#a97e53,#d9c396,#588c79,#a67d51,transparent)}
.tpd-culture-top{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 27px;border-bottom:1px solid rgba(203,185,145,.14)}
.tpd-culture-top>span{color:#cbb594;letter-spacing:.18em;font:600 10px 'IBM Plex Sans',sans-serif}
.tpd-culture-top i{font-style:normal;color:#e1c18c;margin:0 7px}
.tpd-culture-close{border:1px solid rgba(222,204,173,.17);background:rgba(255,255,255,.04);color:#e2d2b5;font:27px/1 Georgia,serif;cursor:pointer;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}
.tpd-culture-close:hover{background:rgba(196,164,126,.18)}
.tpd-culture-tabs{display:flex;gap:3px;padding:11px 27px;border-bottom:1px solid rgba(222,195,148,.15);overflow-x:auto;flex-shrink:0;scrollbar-width:thin}
.tpd-culture-tabs button{flex-shrink:0;color:#97a9a8;background:none;border:0;border-radius:5px;cursor:pointer;font:600 12px 'IBM Plex Sans',sans-serif;padding:10px 18px;transition:background .2s;color:#b9c4bd}
.tpd-culture-tabs button:hover{background:rgba(216,203,170,.08)}
.tpd-culture-tabs button[aria-current="page"]{color:#f1d49e;background:rgba(201,156,104,.14);box-shadow:inset 0 -2px 0 #c7a171}
.tpd-culture-content{min-height:0;flex:1;overflow-y:auto;padding:18px clamp(24px,5vw,75px) 38px;scrollbar-color:#60747a transparent;overscroll-behavior:contain}
.tpd-culture-breadcrumb{height:30px;text-align:left}
.tpd-culture-breadcrumb:empty{display:none}
.tpd-culture-breadcrumb button{border:0;background:transparent;color:#d2b687;cursor:pointer;font-size:13px;padding:1px 0 14px}
.tpd-culture-mast{text-align:center;margin:18px auto 39px;max-width:760px}
.tpd-culture-kicker{display:block;color:#d0b58d;letter-spacing:.25em;font:600 10px 'IBM Plex Sans',sans-serif}
.tpd-culture-mast h2{margin:12px 0 10px;color:#f2e0bd;letter-spacing:.005em;font:normal clamp(30px,5vw,54px)/1.14 'IBM Plex Serif',Georgia,serif;text-shadow:0 5px 25px rgba(0,0,0,.35)}
.tpd-culture-mast p{color:#a7b5b3;font:italic 15px/1.7 'IBM Plex Serif',Georgia,serif;margin:0}
.tpd-culture-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));column-gap:26px;row-gap:42px;margin:0 auto;max-width:960px}
.tpd-culture-shelf.books{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.tpd-culture-item{min-width:0;background:none;border:0;display:flex;flex-direction:column;text-align:left;align-items:stretch;padding:0;color:inherit;cursor:pointer;transition:transform .24s;position:relative}
.tpd-culture-item:hover{transform:translateY(-6px)}
.tpd-culture-item:focus-visible{outline:2px solid #ecd4a4;outline-offset:7px}
.tpd-culture-cover{position:relative;aspect-ratio:3/4.15;max-height:270px;width:100%;box-shadow:9px 10px 18px rgba(0,0,0,.42),inset -6px 0 12px rgba(0,0,0,.25);border:1px solid rgba(222,189,139,.34);border-radius:3px 7px 7px 3px;overflow:hidden;background:#294740;transform-style:preserve-3d}
.tpd-culture-cover:before{content:"";position:absolute;inset:0 auto 0 0;width:8px;z-index:2;background:linear-gradient(90deg,rgba(0,0,0,.37),rgba(255,255,255,.08) 42%,rgba(0,0,0,.17));border-right:1px solid rgba(255,255,255,.1)}
.tpd-culture-cover.is-film{aspect-ratio:4/3;max-height:220px;border-radius:5px}
.tpd-culture-cover img{display:block;width:100%;height:100%;object-fit:cover}
.tpd-cover-decor{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;width:100%;height:100%;padding:13px 17px;box-sizing:border-box;color:#f5deb6;background:radial-gradient(circle at 70% 12%,rgba(239,210,139,.15),transparent 43%),linear-gradient(150deg,#385e51,#1b3135 76%);border:8px double rgba(222,186,130,.28);word-break:break-word}
.tpd-culture-item:nth-child(4n+2) .tpd-cover-decor{background:radial-gradient(circle at 70% 12%,rgba(239,210,139,.12),transparent 43%),linear-gradient(155deg,#663e3e,#312d36 82%)}
.tpd-culture-item:nth-child(4n+3) .tpd-cover-decor{background:radial-gradient(circle at 70% 12%,rgba(239,210,139,.11),transparent 43%),linear-gradient(155deg,#5a4c38,#252e32 82%)}
.tpd-culture-item:nth-child(4n+4) .tpd-cover-decor{background:radial-gradient(circle at 70% 12%,rgba(239,210,139,.11),transparent 43%),linear-gradient(155deg,#263c55,#292b3b 82%)}
.tpd-cover-decor .tpd-cover-glyph{color:#d8c390;font:normal 32px Georgia,serif;margin-bottom:auto}
.tpd-cover-decor small{color:#c6b791;font:500 7px 'IBM Plex Sans',sans-serif;letter-spacing:.12em}
.tpd-cover-decor strong{color:#f3e2bd;font:normal clamp(17px,2vw,22px)/1.3 'IBM Plex Serif',Georgia,serif;margin:auto 0}
.tpd-cover-decor em{color:#c7bba2;font:italic 10px 'IBM Plex Serif',Georgia,serif;margin-top:auto}
.tpd-culture-item-caption{display:block;padding:15px 2px 0}
.tpd-culture-item-caption strong{display:block;color:#efdfbc;font:normal 16px/1.35 'IBM Plex Serif',Georgia,serif}
.tpd-culture-item-caption small{display:block;font:12px/1.5 'IBM Plex Sans',sans-serif;color:#9eafa8;margin-top:4px}
.tpd-culture-empty{text-align:center;border:1px dashed rgba(206,180,130,.24);padding:58px 25px;margin:28px auto;max-width:650px;border-radius:8px;background:rgba(236,218,175,.025)}
.tpd-culture-empty-icon{font-size:51px;color:#b4a078}.tpd-culture-empty h3{font:normal 22px 'IBM Plex Serif',serif;color:#e7d0a7}
.tpd-culture-empty p{color:#acb9b6;font:14px/1.7 'IBM Plex Sans',sans-serif}.tpd-culture-empty button{color:#f1d49e;border:1px solid rgba(225,193,141,.4);background:none;padding:11px 20px;cursor:pointer}
.tpd-culture-loading{text-align:center;padding:92px 0;color:#d5bf95;font:italic 20px 'IBM Plex Serif',serif}
.tpd-culture-foot{padding:13px 15px 17px;border-top:1px solid rgba(222,195,148,.13);text-align:center;color:#8b9f9b;font:600 8px 'IBM Plex Sans',sans-serif;letter-spacing:.24em}
.tpd-book-detail{display:grid;grid-template-columns:205px minmax(0,1fr);gap:42px;align-items:start;margin:24px auto;max-width:850px}
.tpd-culture-cover.is-large{max-height:310px}
.tpd-book-detail-right>p{white-space:pre-line;color:#c6c8bd;font:16px/1.85 'IBM Plex Serif',Georgia,serif;margin:3px 0 30px}
.tpd-book-chapters h3{font:normal 23px 'IBM Plex Serif',serif;color:#e9d4ae;padding-bottom:15px;border-bottom:1px solid rgba(214,188,144,.3)}
.tpd-book-chapters h3 span{font:12px 'IBM Plex Sans',sans-serif;color:#a3b3b2;margin-left:14px}
.tpd-book-chapters>p{color:#a3b3b2}
.tpd-book-chapters button{width:100%;display:flex;gap:15px;align-items:center;justify-content:flex-start;padding:18px 0;background:transparent;border:0;border-bottom:1px solid rgba(214,188,144,.14);color:#ebddc1;text-align:left;cursor:pointer}
.tpd-book-chapters button>span{font:13px 'Special Elite',serif;color:#bb9e74}.tpd-book-chapters button>b{font:normal 16px 'IBM Plex Serif',serif;flex:1}.tpd-book-chapters button>i{font:11px 'IBM Plex Sans',sans-serif;color:#9aa7a5;font-style:normal}
.tpd-book-chapters button:hover b{color:#f5c98a}
.tpd-culture-reader{max-width:660px;margin:10px auto 0}
.tpd-reader-meta{text-align:center;color:#b5a282;font:500 11px 'IBM Plex Sans',sans-serif;letter-spacing:.13em}
.tpd-culture-reader h2{text-align:center;color:#f0dfbd;font:normal clamp(27px,4vw,42px)/1.4 'IBM Plex Serif',serif;margin:15px 0}
.tpd-reader-ornament{text-align:center;color:#bfab80;margin:21px auto 38px;font-size:22px}
.tpd-reader-copy{white-space:pre-wrap;overflow-wrap:anywhere;color:#e7e0d0;font:17px/2.05 'IBM Plex Serif',Georgia,serif;padding-bottom:40px}
.tpd-reader-controls{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:22px 0;border-top:1px solid rgba(230,211,168,.17)}
.tpd-reader-controls button{background:rgba(214,187,139,.06);border:1px solid rgba(230,211,168,.28);border-radius:3px;color:#e8d3a7;cursor:pointer;padding:11px 17px;font:13px 'IBM Plex Sans',sans-serif}
.tpd-culture-playing{max-width:850px;margin:10px auto 35px;border:1px solid rgba(222,198,154,.22);background:rgba(11,19,27,.55);padding:16px}
.tpd-playing-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:0 0 16px}
.tpd-playing-line span{color:#d3ab72;font:700 10px 'IBM Plex Sans',sans-serif;letter-spacing:.1em}
.tpd-playing-line strong{color:#f3dbac;font:normal 20px 'IBM Plex Serif',serif}.tpd-playing-line small{color:#acb9b5;font-size:12px}
.tpd-culture-player{position:relative;aspect-ratio:16/9;background:#070b0e;box-shadow:0 12px 35px rgba(0,0,0,.4)}
.tpd-culture-player iframe{width:100%;height:100%;border:0;display:block}
.tpd-playing-summary{color:#b4c3bc;line-height:1.8;white-space:pre-line;margin-bottom:0}
.tpd-venue-collection{position:relative;margin:12px 0 16px;padding:21px 23px;border:1px solid rgba(213,182,128,.32);background:linear-gradient(130deg,rgba(35,61,62,.72),rgba(21,33,44,.82));border-radius:7px;color:#e6d4b3;text-align:left}
.tpd-venue-collection>span{display:block;color:#c8ae82;font:600 10px 'IBM Plex Sans',sans-serif;letter-spacing:.18em;margin-bottom:7px}
.tpd-venue-collection>strong{display:block;color:#f0dab1;font:normal 22px 'IBM Plex Serif',Georgia,serif}
.tpd-venue-collection>p{font:13px/1.65 'IBM Plex Sans',sans-serif;color:#b6c6bd;max-width:650px}
.tpd-venue-collection>button{background:rgba(228,192,132,.12);border:1px solid rgba(233,197,141,.47);border-radius:3px;color:#f0d8af;padding:10px 19px;cursor:pointer;font-size:13px}
.tpd-venue-collection>button:hover{background:rgba(228,192,132,.2)}
@media(max-width:720px){#tpdCultureLauncher{right:9px;bottom:94px}#tpdCultureLauncher button{font-size:9px;padding:9px 11px}.tpd-culture-window{width:100%;height:100dvh;max-height:none;border-radius:0;margin:0}.tpd-culture-top{padding:0 15px;min-height:44px}.tpd-culture-top>span{font-size:8px;letter-spacing:.09em}.tpd-culture-tabs{padding:7px 10px}.tpd-culture-tabs button{font-size:11px;padding:9px 10px}.tpd-culture-content{padding:12px 19px 32px}.tpd-culture-mast{margin:12px auto 28px}.tpd-culture-mast h2{font-size:33px}.tpd-culture-shelf,.tpd-culture-shelf.books{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 17px}.tpd-culture-cover{max-height:none}.tpd-cover-decor{padding:8px;border-width:5px;gap:4px}.tpd-cover-decor strong{font-size:16px}.tpd-cover-decor small{font-size:6px}.tpd-culture-item-caption strong{font-size:15px}.tpd-book-detail{grid-template-columns:1fr;gap:20px}.tpd-book-detail>.tpd-culture-cover{width:160px;max-height:220px;margin:0 auto}.tpd-book-detail-right>p{font-size:15px}.tpd-reader-copy{font-size:16px;line-height:1.94}.tpd-culture-foot{font-size:7px;letter-spacing:.1em}.tpd-venue-collection{padding:15px}}
#tpdCultureLauncher button{border-radius:8px;letter-spacing:.11em;padding:12px 15px}
#tpdCultureLauncher{transition:opacity .18s ease;max-width:calc(100vw - 20px)}
.tpd-culture-window{box-sizing:border-box}
.tpd-culture-visible{overflow:hidden}
.tpd-culture-content button:focus-visible,#tpdCultureLauncher button:focus-visible{outline:2px solid #e5cb92;outline-offset:3px}

/* R120 mobile launcher alignment + new badge */
#tpdCultureLauncher{transition:opacity .18s ease,transform .18s ease;max-width:calc(100vw - 20px)}
#tpdCultureLauncher button{position:relative;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
#tpdCultureLauncher .tpd-culture-label{display:inline-flex;align-items:center;gap:6px}
#tpdCultureLauncher .tpd-culture-pill{display:none;margin-left:4px;padding:2px 6px;border-radius:999px;background:rgba(214,81,82,.18);border:1px solid rgba(225,118,115,.45);color:#ffd8b2;font:700 8px/1 'IBM Plex Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase}
#tpdCultureLauncher .tpd-culture-badge{display:none;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:linear-gradient(180deg,#d65654,#a63e42);color:#fff4e8;font:700 10px/18px 'IBM Plex Sans',sans-serif;text-align:center;box-shadow:0 6px 14px rgba(0,0,0,.25),0 0 0 2px rgba(12,28,36,.92)}
#tpdCultureLauncher.has-new .tpd-culture-pill,#tpdCultureLauncher.has-new .tpd-culture-badge{display:inline-flex;align-items:center;justify-content:center}
#tpdCultureLauncher.has-new button{border-color:rgba(236,163,124,.78);box-shadow:0 9px 30px rgba(0,0,0,.32),0 0 0 1px rgba(231,132,103,.18),inset 0 1px 0 rgba(255,255,255,.06)}
@media(max-width:720px){
  #tpdCultureLauncher{right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 18px);max-width:42vw;z-index:10012}
  #tpdCultureLauncher button{font-size:9px;padding:12px 12px;border-radius:22px;width:auto;max-width:100%;justify-content:center}
  #tpdCultureLauncher .tpd-culture-label{max-width:100%;overflow:hidden;text-overflow:ellipsis}
  #tpdCultureLauncher span{font-size:12px;margin-right:2px}
  #tpdCultureLauncher .tpd-culture-pill{font-size:7px;padding:2px 5px;margin-left:2px}
  #tpdCultureLauncher .tpd-culture-badge{min-width:17px;height:17px;font-size:9px;line-height:17px;padding:0 4px}
}

/* R121 — mobile bottom-row alignment for Thư Viện Đêm */
#tpdCultureLauncher button{position:relative;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.05}
#tpdCultureLauncher .tpd-culture-label{display:block;font:700 10px/1.05 'IBM Plex Sans',sans-serif;letter-spacing:.06em}
#tpdCultureLauncher .tpd-culture-pill,#tpdCultureLauncher .tpd-culture-badge{position:absolute;pointer-events:none}
#tpdCultureLauncher .tpd-culture-pill{top:-6px;right:10px;padding:2px 6px;border-radius:999px;background:linear-gradient(180deg,#d97466,#ba4d4e);border:1px solid rgba(255,228,194,.28);color:#fff7ed;font:700 8px/1 'IBM Plex Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 4px 10px rgba(0,0,0,.22)}
#tpdCultureLauncher .tpd-culture-badge{top:-7px;left:auto;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#0f2631;color:#f5dfb8;border:1px solid rgba(235,196,140,.45);font:700 10px/18px 'IBM Plex Sans',sans-serif;box-shadow:0 4px 10px rgba(0,0,0,.22)}
@media(max-width:720px){
 #tpdCultureLauncher{right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);max-width:none;z-index:10012}
 #tpdCultureLauncher button{width:min(31vw,150px);height:58px;padding:0 14px;border-radius:22px;font:700 10px/1 'IBM Plex Sans',sans-serif;letter-spacing:.04em;background:linear-gradient(180deg,rgba(6,18,34,.94),rgba(8,25,45,.96));border:1px solid rgba(214,180,116,.48);box-shadow:0 8px 20px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05)}
 #tpdCultureLauncher button>span:first-child{display:none}
 #tpdCultureLauncher .tpd-culture-label{font-size:10px;line-height:1.12;letter-spacing:.04em;max-width:100%;padding:0 10px}
 #tpdCultureLauncher .tpd-culture-pill{display:none!important}
 #tpdCultureLauncher .tpd-culture-badge{top:-6px;right:-5px}
}



/* ================== assets/css/city-dock.r122.css ================== */
/* R122: Thư Viện Đêm is a real third chip in the same R111 dock. */
html.show-overture:not(:has(#cv)) #tpdLifeDock {display:none!important;}
#tpdLifeDock #tpdCultureChip { cursor:pointer; color:#e9d6ab; border-color:rgba(220,181,112,.34); }
#tpdLifeDock #tpdCultureChip .life-icon { color:#e8c78b; font-style:normal; }
#tpdLifeDock #tpdCultureChip .life-label { white-space:nowrap; }
#tpdLifeDock #tpdCultureChip .tpd-culture-badge { display:none; font-style:normal; }
#tpdLifeDock #tpdCultureChip.has-new .tpd-culture-badge { display:inline-grid!important; background:rgba(212,92,80,.23); color:#f9cda3; border:1px solid rgba(223,117,100,.28); }
#tpdLifeDock #tpdCultureChip:focus-visible { outline:2px solid #efdaab; outline-offset:2px; }
@media (max-width:720px) {
  html.tpd-has-library-dock #tpdLifeDock {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
    gap:6px;
    width:calc(100vw - 24px);
    box-sizing:border-box;
    left:12px; right:12px;
    bottom:calc(10px + env(safe-area-inset-bottom,0px));
  }
  html.tpd-has-library-dock #tpdLifeDock > .tpd-life-chip {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    width:100%!important;
    height:51px!important;
    min-height:51px!important;
    box-sizing:border-box!important;
    padding:0 5px!important;
    margin:0!important;
    border-radius:18px!important;
    gap:4px!important;
    font:600 10px/1.15 'IBM Plex Sans',sans-serif!important;
    letter-spacing:0!important;
    white-space:nowrap;
    text-align:center;
  }
  html.tpd-has-library-dock #tpdLifeDock > .tpd-life-chip .life-label {
    display:inline!important;
    font:inherit!important;
    white-space:nowrap!important;
    letter-spacing:0!important;
  }
  html.tpd-has-library-dock #tpdLifeDock > .tpd-life-chip .life-icon {
    flex:0 0 auto;
    width:auto!important;
    font-size:12px!important;
    margin:0!important;
  }
  html.tpd-has-library-dock #tpdLifeDock > .tpd-life-chip .life-count {
    min-width:16px!important;
    height:18px!important;
    padding:0 3px!important;
    font:600 9px/18px 'IBM Plex Sans',sans-serif!important;
    flex:0 0 auto;
  }
  html.tpd-has-library-dock #tpdLifeDock > .tpd-life-chip .life-count:empty {display:none!important;}
  html.tpd-has-library-dock #tpdLifeDock > #tpdCultureChip.has-new .tpd-culture-badge {
    position:absolute!important;
    top:-7px;right:-3px;
    min-width:18px!important;
    border-radius:999px;
  }
  html.tpd-has-library-dock #tpdLifeDock > #tpdCultureChip {
    position:relative;
  }
}
@media(max-width:355px) {
 html.tpd-has-library-dock #tpdLifeDock {gap:4px;width:calc(100vw - 18px);left:9px;right:9px}
 html.tpd-has-library-dock #tpdLifeDock > .tpd-life-chip {font-size:9px!important;padding:0 3px!important;gap:3px!important}
 html.tpd-has-library-dock #tpdLifeDock > .tpd-life-chip .life-icon{font-size:10px!important}
}



/* ================== assets/css/city-christmas.r118.css ================== */
/* Thành Phố Đêm R118 — Noel châu Âu; isolated seasonal layer. */
.tpd-copy-christmas,.tpd-season-mark{display:none}
[data-city-theme="christmas"] .tpd-copy-default{display:none!important}
[data-city-theme="christmas"] .tpd-copy-christmas{display:initial!important}
[data-city-theme="christmas"] .tpd-season-mark{display:flex;align-items:center;justify-content:center;gap:12px;margin:13px 0 0;font:500 10px/1.4 'IBM Plex Sans',sans-serif;letter-spacing:.2em;color:#e4cc9e}
[data-city-theme="christmas"] .tpd-season-mark::before,[data-city-theme="christmas"] .tpd-season-mark::after{content:"";display:block;width:34px;height:1px;background:linear-gradient(90deg,transparent,rgba(227,196,138,.5))}
[data-city-theme="christmas"] .tpd-season-mark::after{transform:rotate(180deg)}
[data-city-theme="christmas"] .tpd-season-mark i{font:normal 13px Georgia,serif;color:#dcb67e;font-style:normal}
[data-city-theme="christmas"] .city-overture .overture-sky{background:linear-gradient(180deg,#071320 0%,#0d2334 50%,#153239 100%)}
[data-city-theme="christmas"] .city-overture .overture-sky::after{background:radial-gradient(ellipse at 68% 18%,rgba(246,215,158,.055),transparent 32%),radial-gradient(ellipse at 50% 84%,rgba(231,166,102,.10),transparent 54%),linear-gradient(180deg,transparent 42%,rgba(2,9,16,.22))}
[data-city-theme="christmas"] .city-overture .overture-title{color:#f1e1c5;text-shadow:0 3px 26px rgba(225,179,107,.22),0 6px 32px rgba(0,0,0,.5)}
[data-city-theme="christmas"] .city-overture .overture-kicker{color:#bdd1c4}
[data-city-theme="christmas"] .city-overture .overture-slogan strong{color:#f0d9ae}
[data-city-theme="christmas"] .city-overture .overture-enter{background:linear-gradient(160deg,rgba(25,60,52,.78),rgba(11,32,41,.86));border-color:rgba(228,194,135,.57);color:#f8e0ae;box-shadow:0 16px 46px rgba(0,9,17,.3),0 0 26px rgba(229,191,111,.085)}
[data-city-theme="christmas"] .overture-canvas-wrap{box-shadow:inset 0 -20px 55px rgba(16,47,45,.20),0 0 28px rgba(214,183,110,.035)}
#tpdNoelIntroCanvas{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
[data-city-theme="christmas"] #tpdNoelIntroCanvas{display:block}
#tpdNoelIntroSnow{display:none;position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}
[data-city-theme="christmas"] #tpdNoelIntroSnow{display:block}
#tpdNoelIntroSnow::before,#tpdNoelIntroSnow::after{content:"";position:absolute;inset:-14% -10%;background-image:radial-gradient(circle,#f5f6ed 0 .9px,transparent 1.2px),radial-gradient(circle,#eee8dd 0 .65px,transparent .9px);background-size:120px 120px,169px 169px;background-position:8px 9px,57px 23px;opacity:.27;animation:tpdR118Flakes 22s linear infinite}
#tpdNoelIntroSnow::after{opacity:.18;animation-duration:34s;animation-direction:reverse}
@keyframes tpdR118Flakes{to{transform:translate3d(-32px,48px,0)}}
@media(max-width:700px){[data-city-theme="christmas"] .tpd-season-mark{font-size:8px;letter-spacing:.09em;margin-top:8px;gap:7px}[data-city-theme="christmas"] .tpd-season-mark::before,[data-city-theme="christmas"] .tpd-season-mark::after{width:14px}#tpdNoelIntroSnow::after{display:none}}
@media(prefers-reduced-motion:reduce){#tpdNoelIntroSnow::before,#tpdNoelIntroSnow::after{animation:none}}
/* R115 compatibility: its intro marker can remain on html after the opening animation;
   re-enable the library launcher once the real city canvas exists. */
html.show-overture:has(#cv) #tpdCultureLauncher{opacity:1!important;pointer-events:auto!important}



/* ================== assets/css/city-christmas.r123.css ================== */
/* R123 — denser snowfall and improved culture card layout */
#tpdNoelIntroSnow::before,#tpdNoelIntroSnow::after{background-image:
  radial-gradient(circle,rgba(255,255,255,.95) 0 1.05px,transparent 1.4px),
  radial-gradient(circle,rgba(244,244,238,.92) 0 .75px,transparent 1px),
  radial-gradient(circle,rgba(237,233,224,.72) 0 .55px,transparent .9px);
  background-size:88px 88px,126px 126px,174px 174px;
  background-position:5px 7px,44px 22px,90px 57px;
  opacity:.44;animation-duration:18s}
#tpdNoelIntroSnow::after{opacity:.28;animation-duration:24s}
.tpd-culture-shelf{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));column-gap:28px;row-gap:34px;max-width:1040px}
.tpd-culture-shelf.books{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
.tpd-culture-item{gap:10px;min-width:0;align-self:start}
.tpd-culture-cover{max-height:none;min-width:0}
.tpd-culture-cover.is-film{aspect-ratio:4/3;max-height:none}
.tpd-cover-decor{overflow:hidden;padding:12px 14px 14px;gap:7px;align-items:center;justify-content:center;min-width:0}
.tpd-cover-decor small,.tpd-cover-decor strong,.tpd-cover-decor em{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;text-wrap:balance}
.tpd-cover-decor strong{font:normal clamp(15px,1.5vw,20px)/1.22 'IBM Plex Serif',Georgia,serif;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
.tpd-cover-decor em{font-size:10px;line-height:1.35}
.tpd-culture-item-caption{padding:6px 2px 0;min-width:0}
.tpd-culture-item-caption strong,.tpd-culture-item-caption small{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.tpd-culture-item-caption strong{line-height:1.35}
@media(max-width:720px){
 .tpd-culture-shelf,.tpd-culture-shelf.books{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
 .tpd-cover-decor{padding:8px 9px 10px;gap:5px}
 .tpd-cover-decor strong{-webkit-line-clamp:4;font-size:15px;line-height:1.18}
 .tpd-culture-item-caption strong{font-size:14px}
}



/* ================== assets/css/city-culture.r124.css ================== */
/* R124 — TPD culture covers + calmer winter street */
.tpd-culture-shelf{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));column-gap:30px;row-gap:36px;max-width:1060px}
.tpd-culture-shelf.books{grid-template-columns:repeat(auto-fill,minmax(172px,1fr))}
.tpd-culture-cover{border-radius:12px;border:1px solid rgba(219,183,116,.28);box-shadow:0 18px 34px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.04);background:linear-gradient(180deg,#0d2034,#102131 48%,#112a35 100%)}
.tpd-culture-cover:before{display:none}
.tpd-culture-cover.is-film{aspect-ratio:4/3.05;border-radius:14px}
.tpd-cover-decor{position:relative;overflow:hidden;padding:18px 16px 16px;gap:10px;justify-content:center;align-items:center;text-align:center;color:#f1ddba;
 background:radial-gradient(circle at 50% 15%,rgba(239,208,140,.09),transparent 30%),linear-gradient(180deg,rgba(10,29,47,.98),rgba(12,35,45,.98));border:1px solid rgba(222,186,130,.24);border-radius:12px}
.tpd-cover-decor::before{content:"";position:absolute;inset:11px;border:1px solid rgba(226,191,127,.28);border-radius:10px;pointer-events:none}
.tpd-cover-decor::after{content:"";position:absolute;left:22px;right:22px;top:16px;height:1px;background:linear-gradient(90deg,transparent,rgba(234,197,130,.65),transparent);opacity:.55}
.tpd-culture-cover.is-film .tpd-cover-decor{background:radial-gradient(circle at 50% 18%,rgba(239,208,140,.08),transparent 28%),linear-gradient(180deg,#0a2137,#0e2333 56%,#112a35 100%)}
.tpd-cover-decor .tpd-cover-glyph{margin:0 0 2px;color:#e3c486;font:normal 22px/1 Georgia,serif;text-shadow:0 0 12px rgba(227,196,134,.16)}
.tpd-cover-decor small{color:#bda981;font:600 9px/1.35 'IBM Plex Sans',sans-serif;letter-spacing:.18em;text-transform:uppercase}
.tpd-cover-decor strong{max-width:100%;color:#f2e0bd;font:normal clamp(16px,1.45vw,21px)/1.24 'IBM Plex Serif',Georgia,serif;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;text-wrap:balance}
.tpd-culture-cover.is-film .tpd-cover-decor strong{font-size:clamp(17px,1.55vw,24px);line-height:1.18;-webkit-line-clamp:4}
.tpd-cover-decor em{color:#8ea6ad;font:italic 11px/1.35 'IBM Plex Serif',Georgia,serif;max-width:92%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpd-culture-item-caption{padding:7px 3px 0}
.tpd-culture-item-caption strong{color:#efe0c0;font:normal 17px/1.32 'IBM Plex Serif',Georgia,serif}
.tpd-culture-item-caption small{color:#9fb0b2;font:12px/1.45 'IBM Plex Sans',sans-serif;margin-top:5px}
@media(max-width:720px){
 .tpd-culture-shelf,.tpd-culture-shelf.books{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
 .tpd-cover-decor{padding:12px 10px 10px;gap:7px;border-radius:10px}
 .tpd-cover-decor::before{inset:8px}
 .tpd-cover-decor::after{left:16px;right:16px;top:12px}
 .tpd-cover-decor .tpd-cover-glyph{font-size:18px}
 .tpd-cover-decor small{font-size:7px;letter-spacing:.14em}
 .tpd-culture-cover.is-film .tpd-cover-decor strong,.tpd-cover-decor strong{font-size:15px;line-height:1.18;-webkit-line-clamp:4}
 .tpd-cover-decor em{font-size:9px}
}



/* ================== assets/css/city-culture.r125.css ================== */

/* R125 — culture workflow, moderation tools and improved covers */
.tpd-culture-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0 4px}
.tpd-culture-tools button{cursor:pointer;border:1px solid rgba(228,189,119,.22);background:#102131;color:#dce3ea;padding:9px 13px;border-radius:999px;font:600 12px/1 'IBM Plex Sans',sans-serif;letter-spacing:.04em}
.tpd-culture-tools button.is-on,.tpd-culture-tools button:hover{border-color:rgba(228,189,119,.58);color:#f1dfbc;box-shadow:0 0 0 1px rgba(228,189,119,.12) inset}
.tpd-culture-item-wrap{display:grid;gap:10px;min-width:0}
.tpd-culture-admin-mini{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tpd-culture-admin-mini button{cursor:pointer;border:1px solid rgba(156,176,199,.18);background:#0f1b2d;color:#b9c9d0;padding:7px 10px;border-radius:999px;font:600 11px/1 'IBM Plex Sans',sans-serif}
.tpd-culture-admin-mini button.-accent{border-color:rgba(228,189,119,.26);color:#ecd7ad}
.tpd-culture-admin-mini button.-ok{border-color:rgba(110,201,160,.26);color:#b9ebd4}
.tpd-culture-admin-mini button.-warn{border-color:rgba(218,132,132,.26);color:#efb4b4}
.tpd-status{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;border:1px solid rgba(156,176,199,.18);background:#0d1728;color:#aac0c9;font:700 10px/1 'IBM Plex Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase}
.tpd-status-published{border-color:rgba(134,201,159,.22);color:#b9e7d1;background:rgba(45,82,63,.16)}
.tpd-status-pending{border-color:rgba(228,189,119,.22);color:#ecd7ad;background:rgba(119,93,40,.12)}
.tpd-status-hidden{border-color:rgba(124,140,167,.18);color:#98a8bf;background:rgba(53,63,80,.18)}
.tpd-status-rejected{border-color:rgba(213,120,120,.22);color:#efb6b6;background:rgba(91,33,33,.16)}
.tpd-culture-meta-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 8px}
.tpd-culture-editor{padding:18px;border:1px solid rgba(228,189,119,.18);border-radius:18px;background:linear-gradient(180deg,rgba(8,18,31,.96),rgba(10,23,36,.96));box-shadow:0 22px 46px rgba(0,0,0,.28)}
.tpd-culture-editor h3{margin:0 0 6px;color:#f1dfbc;font:normal 28px/1.15 'IBM Plex Serif',Georgia,serif}
.tpd-culture-editor p{margin:0 0 14px;color:#91a5af}
.tpd-culture-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tpd-culture-editor-grid .full{grid-column:1/-1}
.tpd-culture-editor label{display:grid;gap:6px;color:#d6dfeb;font:600 12px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.04em}
.tpd-culture-editor input,.tpd-culture-editor select,.tpd-culture-editor textarea{width:100%;box-sizing:border-box;background:#091525;color:#e1eaf3;border:1px solid #273855;border-radius:14px;padding:12px 13px;font:14px/1.45 'IBM Plex Sans',sans-serif}
.tpd-culture-editor textarea{min-height:128px;resize:vertical}
.tpd-culture-editor-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.tpd-culture-editor-actions button{cursor:pointer;border:1px solid #3a4f6e;background:#102031;color:#dce5f1;padding:10px 14px;border-radius:12px;font:600 13px/1 'IBM Plex Sans',sans-serif}
.tpd-culture-editor-actions .primary{background:#ebcb78;color:#101a2d;border-color:#ebcb78}
.tpd-culture-editor-actions .danger{background:#2a1217;color:#efb8be;border-color:#7a3a46}
.tpd-culture-note{margin-top:10px;color:#92a6b6;font-size:12px;line-height:1.5}
.tpd-culture-summary{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:4px 0 18px}
.tpd-culture-summary .block{padding:10px 12px;border-radius:14px;border:1px solid rgba(228,189,119,.16);background:rgba(12,24,38,.72);color:#dbe3ee;font:600 12px/1.25 'IBM Plex Sans',sans-serif}
.tpd-culture-summary .block b{display:block;color:#f1dfbc;font:normal 22px/1.1 'IBM Plex Serif',Georgia,serif;margin-bottom:3px}
.tpd-book-chapter-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(152,171,194,.14);border-radius:14px;background:rgba(8,18,31,.4);margin-bottom:8px}
.tpd-book-chapter-row .left{min-width:0}
.tpd-book-chapter-row b,.tpd-book-chapter-row small{display:block;overflow-wrap:anywhere}
.tpd-book-chapter-row .actions{display:flex;gap:8px;flex-wrap:wrap}
.tpd-book-chapter-row .actions button{cursor:pointer;border:1px solid rgba(228,189,119,.18);background:#0e1a2c;color:#d4deea;padding:7px 10px;border-radius:999px;font:600 11px/1 'IBM Plex Sans',sans-serif}
@media(max-width:720px){
  .tpd-culture-editor-grid{grid-template-columns:1fr}
  .tpd-culture-editor{padding:14px}
  .tpd-culture-editor h3{font-size:23px}
  .tpd-culture-admin-mini{gap:6px}
}



/* ================== assets/css/city-culture.r126.css ================== */
/* R126 — THÀNH PHỐ ĐÊM: Thư Viện Đêm / midnight cultural hall
   Overlay only. City engine, admin, navigation and Christmas layers untouched. */
.tpd-culture-overlay{
  --ink:#0b1420;--dusk:#101d2c;--paper:#f4e4c6;--brass:#d2a967;--muted:#9daeb1;
  --line:rgba(207,177,124,.22);--serif:'IBM Plex Serif',Georgia,serif;
  color:var(--paper);font-family:'IBM Plex Sans',system-ui,sans-serif;
}
.tpd-culture-backdrop{background:rgba(3,9,18,.89);backdrop-filter:blur(13px)}
.tpd-culture-window{
  width:min(1370px,calc(100vw - 44px));height:min(920px,calc(100dvh - 34px));max-height:calc(100dvh - 22px);
  border:1px solid rgba(203,171,113,.36);border-radius:17px;
  background:#0b1724;box-shadow:0 35px 130px #01060bd9,0 0 0 6px rgba(214,173,111,.025);
  overflow:hidden;
}
.tpd-culture-window:before{height:2px;flex-basis:2px;background:linear-gradient(90deg,transparent,#89623f 10%,#edc98e 47%,#7da096 80%,transparent)}
.tpd-culture-top{flex-shrink:0;min-height:55px;padding:0 32px;background:linear-gradient(90deg,#0a1625,#101f2a 60%,#0b1724);border-bottom:1px solid rgba(212,182,121,.14)}
.tpd-culture-top>span{font:600 10px/1.3 'IBM Plex Sans',sans-serif;letter-spacing:.20em;color:#e4c691}
.tpd-culture-top i{color:#d4a768;font-size:17px;vertical-align:-1px}
.tpd-culture-close{border:1px solid rgba(231,198,143,.27);background:rgba(12,23,34,.7);color:#ead5ad;width:34px;height:34px;transition:background .2s,border-color .2s}
.tpd-culture-close:hover{border-color:rgba(231,198,143,.7);background:rgba(196,159,105,.17)}
.tpd-culture-tabs{flex-shrink:0;padding:7px 24px;gap:6px;background:#0d1928;border-bottom:1px solid rgba(216,180,120,.13)}
.tpd-culture-tabs button{font:600 12px/1.3 'IBM Plex Sans',sans-serif;letter-spacing:.03em;color:#b6bec0;padding:11px 16px;border:1px solid transparent;border-radius:7px}
.tpd-culture-tabs button[aria-current="page"]{color:#f2d7a5;background:linear-gradient(180deg,rgba(178,139,83,.18),rgba(178,139,83,.07));border-color:rgba(218,183,119,.2);box-shadow:inset 0 -2px 0 #d7b479}
.tpd-culture-content{min-height:0;flex:1;padding:0 0 38px;background:radial-gradient(ellipse at 75% 10%,rgba(63,82,85,.09),transparent 54%),linear-gradient(180deg,#0d1a29,#0b1623 68%);scrollbar-color:#5c6165 transparent}
.tpd-culture-breadcrumb{height:auto;padding:0 42px}
.tpd-culture-breadcrumb:not(:empty){padding-top:24px;padding-bottom:1px}
.tpd-culture-breadcrumb button{font:600 12px/1.2 'IBM Plex Sans',sans-serif;color:#e2c48f;letter-spacing:.045em}
.tpd-culture-foot{border-top:1px solid rgba(212,182,121,.16);background:#0b1724;padding:13px 12px;letter-spacing:.23em;font:600 9px/1.4 'IBM Plex Sans',sans-serif;color:#b2a589}

/* Entry hall: an editorial text-and-scenery composition, never a panel of cards. */
.tpd-library-hall{margin:0;position:relative;min-height:365px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);overflow:hidden;isolation:isolate;
  border-bottom:1px solid rgba(220,184,121,.22);background:linear-gradient(105deg,#101d2e 0%,#0f2330 53%,#0d1f2a 100%)}
.tpd-library-hall:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.65;background:
  radial-gradient(circle at 55% 20%,rgba(250,223,167,.09),transparent 27%),
  radial-gradient(circle at 87% 57%,rgba(230,185,104,.09),transparent 32%),
  repeating-linear-gradient(0deg,transparent 0 5px,rgba(255,255,255,.006) 6px 7px);}
.tpd-library-hall:after{content:"";position:absolute;inset:auto 0 0;height:8px;background:linear-gradient(180deg,#253139,#1a2530 40%,#070f19 100%);box-shadow:0 -2px 12px rgba(195,148,86,.06)}
.tpd-hall-motes{position:absolute;inset:0;pointer-events:none;opacity:.34;background-image:
  radial-gradient(circle at 12% 20%,#ddc496 0 1px,transparent 1.2px),radial-gradient(circle at 49% 41%,#ddc496 0 1px,transparent 1.2px),
  radial-gradient(circle at 73% 8%,#cdb786 0 1px,transparent 1.2px),radial-gradient(circle at 92% 27%,#cdb786 0 1px,transparent 1.2px);}
.tpd-hall-copy{position:relative;z-index:3;padding:46px 20px 36px clamp(26px,5.8vw,74px);max-width:650px}
.tpd-hall-eyebrow{font:700 10px/1.5 'IBM Plex Sans',sans-serif;letter-spacing:.18em;color:#d2ad75;margin-bottom:21px}
.tpd-hall-copy h2{margin:0;color:#f1dfbd;font:normal clamp(30px,3.8vw,53px)/1.16 var(--serif);letter-spacing:-.036em;max-width:610px;text-shadow:0 5px 18px rgba(0,0,0,.38)}
.tpd-hall-copy h2 span{color:#d7b77e}
.tpd-hall-rule{margin:22px 0 15px;width:96px;height:1px;background:linear-gradient(90deg,#d3ab69,transparent)}
.tpd-hall-copy p{margin:0;color:#c0c8c7;font:italic 14px/1.73 var(--serif);max-width:520px}
.tpd-hall-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px}
.tpd-hall-ctas button{border:1px solid #ddb982;background:#dabb80;color:#0f1b24;border-radius:3px;padding:12px 16px;letter-spacing:.035em;font:700 12px/1.1 'IBM Plex Sans',sans-serif;cursor:pointer;transition:background .2s,transform .2s}
.tpd-hall-ctas button span{font-size:15px;margin-left:15px}
.tpd-hall-ctas button:hover{background:#f2d29b;transform:translateY(-1px)}
.tpd-hall-ctas button.tpd-hall-ghost{background:rgba(12,24,32,.6);color:#ead5b2;border-color:rgba(234,200,136,.35)}
.tpd-hall-folio{color:#a89980;margin-top:23px;font:600 9px/1.4 'IBM Plex Sans',sans-serif;letter-spacing:.16em}
.tpd-hall-scene{pointer-events:none;position:absolute;right:2%;bottom:0;width:51%;height:100%;z-index:1;overflow:hidden}
.tpd-hall-arch{position:absolute;right:9%;bottom:17px;width:60%;height:91%;border:14px solid #263943;border-bottom:0;border-radius:170px 170px 0 0;
  background:linear-gradient(180deg,#101e33 0%,#182f41 47%,#344455 100%);box-shadow:inset 0 0 0 3px rgba(223,177,103,.18),inset 0 12px 35px rgba(0,0,0,.5),0 0 0 5px rgba(23,39,48,.7)}
.tpd-hall-arch:before{content:"";position:absolute;inset:8px;border:1px solid rgba(227,191,126,.3);border-radius:160px 160px 0 0;pointer-events:none}
.tpd-hall-arch:after{content:"";position:absolute;top:0;left:50%;bottom:0;border-left:3px solid #253944;box-shadow:0 0 0 1px rgba(230,188,118,.13)}
.tpd-hall-moon{position:absolute;right:25%;top:23%;width:26px;height:26px;background:#e4d7ae;border-radius:50%;box-shadow:0 0 38px rgba(234,215,169,.33)}
.tpd-hall-city{position:absolute;bottom:0;width:100%;height:42%;display:flex;align-items:flex-end;justify-content:space-between;padding:0 7%;box-sizing:border-box;overflow:hidden}
.tpd-hall-city span{display:block;width:21%;height:69%;background:linear-gradient(90deg,#10202a,#182b36);box-shadow:inset 0 18px 0 rgba(0,0,0,.07)}
.tpd-hall-city span:nth-child(2){height:95%}.tpd-hall-city span:nth-child(3){height:52%}.tpd-hall-city span:nth-child(4){height:85%}.tpd-hall-city span:nth-child(5){height:55%}
.tpd-hall-city span:before{content:"";display:block;width:3px;height:4px;margin:17px 8px;box-shadow:10px 0 #cdb586,0 13px #cdb586,10px 13px #8a7a68;background:#cdb586;opacity:.76}
.tpd-hall-lamp{position:absolute;right:56%;top:0;width:2px;height:105px;background:#c3a373;z-index:2;transform:rotate(-5deg);transform-origin:top center}
.tpd-hall-lamp:before{content:"";position:absolute;left:-27px;bottom:-20px;width:55px;height:38px;border-radius:46% 46% 5px 5px;background:linear-gradient(135deg,#876842,#e2b97d 45%,#7e5d3d);box-shadow:0 20px 40px rgba(237,189,117,.2);clip-path:polygon(30% 0,70% 0,100% 100%,0 100%)}
.tpd-hall-lamp:after{content:"";position:absolute;left:-83px;bottom:-101px;width:165px;height:110px;border-radius:50%;background:radial-gradient(ellipse,rgba(255,211,146,.21),transparent 70%);filter:blur(9px)}
.tpd-hall-readingdesk{position:absolute;bottom:0;right:0;width:94%;height:30px;background:linear-gradient(#574233 0 15%,#271c1e 16% 35%,#1a1820);box-shadow:0 -4px 14px rgba(0,0,0,.26)}
.tpd-hall-books{position:absolute;bottom:31px;right:6%;display:flex;align-items:flex-end;height:91px;gap:3px;opacity:.74}
.tpd-hall-books i{width:14px;height:64px;background:linear-gradient(90deg,#553b39,#896751 70%,#30282d);border:1px solid rgba(226,192,135,.13);box-sizing:border-box}
.tpd-hall-books i:nth-child(2){height:79px;background:#42585b}.tpd-hall-books i:nth-child(3){height:55px;background:#7e5e44}.tpd-hall-books i:nth-child(4){height:71px;background:#2e4947}.tpd-hall-books i:nth-child(5){height:87px;background:#694047}.tpd-hall-books i:nth-child(6){height:64px;background:#6d644e}
.tpd-hall-feature{position:absolute;z-index:4;right:12%;bottom:28px;width:132px;transform:rotate(5deg)}
.tpd-hall-feature-label{font:700 8px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.17em;color:#edd6a7;margin-bottom:9px;text-align:center;text-shadow:0 3px 10px #010b13}
.tpd-hall-feature button{cursor:pointer;background:none;border:0;padding:0;color:inherit;text-align:center;width:100%}
.tpd-hall-feature .tpd-coverscape{width:108px;margin:0 auto;aspect-ratio:3/4;box-shadow:9px 12px 18px rgba(0,0,0,.7),0 0 0 1px rgba(237,198,131,.3)}
.tpd-hall-feature .tpd-coverscape-text strong{font-size:11px;max-height:60px}
.tpd-hall-feature .tpd-coverscape-text small,.tpd-hall-feature .tpd-coverscape-text em{font-size:6px}
.tpd-hall-feature-text{display:block;margin-top:9px;text-shadow:0 2px 8px #08111c}
.tpd-hall-feature-text b{display:block;font:normal 12px/1.3 var(--serif);color:#e8d7b4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tpd-hall-feature-text small{font:10px/1.5 'IBM Plex Sans',sans-serif;color:#b6c4c0}

/* Discover controls: a search desk with clear typographic hierarchy. */
.tpd-library-discover{padding:35px clamp(24px,5.6vw,72px) 26px;scroll-margin-top:8px}
.tpd-discover-intro>span{display:block;color:#c9a66c;letter-spacing:.19em;font:700 10px/1.4 'IBM Plex Sans',sans-serif}
.tpd-discover-intro h3{margin:6px 0 6px;font:normal clamp(27px,3vw,37px)/1.2 var(--serif);color:#f0dfbc}
.tpd-discover-intro p{font:italic 13px/1.6 var(--serif);color:#a7b5b7;margin:0}
.tpd-discover-controls{display:grid;grid-template-columns:minmax(180px,2.1fr) repeat(4,minmax(110px,1fr));gap:12px;align-items:end;margin:24px 0 15px}
.tpd-discover-controls label{display:flex;flex-direction:column;gap:9px;min-width:0}
.tpd-discover-controls label>span{color:#bba988;letter-spacing:.11em;text-transform:uppercase;font:700 10px/1 'IBM Plex Sans',sans-serif}
.tpd-discover-controls select,.tpd-discover-controls input{width:100%;min-width:0;box-sizing:border-box;height:43px;border:1px solid rgba(198,164,106,.33);border-radius:6px;background:#132333;color:#eee0c5;padding:0 11px;font:12px/1.3 'IBM Plex Sans',sans-serif;outline-offset:2px}
.tpd-discover-controls select:focus,.tpd-discover-controls input:focus{outline:1px solid #e7c489;border-color:#e7c489}
.tpd-discover-controls input::placeholder{color:#7f939c}
.tpd-discover-controls .tpd-discover-search{position:relative}
.tpd-discover-search>span{position:absolute;left:12px;bottom:6px;font:28px/1 Georgia,serif;color:#ceab77;z-index:1}
.tpd-discover-search input{padding-left:36px}
.tpd-discover-author-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid rgba(210,178,115,.17);padding:4px 0 23px}
.tpd-discover-author-line>span{font:700 9px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.14em;color:#a9987d;white-space:nowrap}
.tpd-author-chips{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.tpd-author-chips button{cursor:pointer;padding:8px 12px;border-radius:99px;border:1px solid rgba(176,181,161,.23);background:rgba(255,255,255,.025);font:12px/1.1 var(--serif);color:#c7d2cf}
.tpd-author-chips button:hover,.tpd-author-chips button.on{background:rgba(224,190,136,.13);border-color:#bc9765;color:#f1d7a3}
.tpd-author-chips small{color:#8d9fa5;font:italic 12px/1.4 var(--serif)}
.tpd-results-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:28px 0 19px}
.tpd-results-head h4{margin:0;font:normal 23px/1.3 var(--serif);color:#ecd9b6}
.tpd-results-head span{font:11px/1.4 'IBM Plex Sans',sans-serif;color:#a7b7b6}

/* Books rest on shelves; films are framed like miniature cinema posters. */
.tpd-library-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 22px;align-items:stretch}
.tpd-library-shelf:empty{display:none}
.tpd-shelf-volume{position:relative;min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:5px 6px 22px;isolation:isolate}
.tpd-shelf-volume:before{content:"";position:absolute;left:-8px;right:-8px;bottom:13px;height:10px;z-index:-1;border-radius:0 0 3px 3px;background:linear-gradient(180deg,#8e6843,#3f3028 43%,#231d20 100%);box-shadow:0 5px 8px rgba(0,0,0,.35),0 -2px 0 rgba(226,179,108,.15)}
.tpd-shelf-volume:after{content:"";position:absolute;left:-4px;right:-4px;bottom:22px;height:3px;background:linear-gradient(90deg,transparent,#aa8050 20%,#725137 74%,transparent);z-index:-1}
.tpd-volume-open{display:flex;min-width:0;flex:1;flex-direction:column;align-items:stretch;text-align:left;cursor:pointer;background:none;border:0;padding:0;color:inherit}
.tpd-volume-open:focus-visible{outline:1px solid #eed3a0;outline-offset:5px}
.tpd-volume-book{display:flex;justify-content:center;align-items:flex-end;min-width:0;min-height:220px;margin-bottom:14px;perspective:700px}
.tpd-volume-open:hover .tpd-coverscape{transform:translateY(-5px) rotate(-1deg)}
.tpd-coverscape{position:relative;box-sizing:border-box;display:block;overflow:hidden;isolation:isolate;width:min(100%,175px);aspect-ratio:3/4.1;
 border-radius:2px 7px 7px 2px;border:1px solid rgba(230,190,128,.3);
 background:linear-gradient(165deg,var(--tpd-book-tint,#29453f),#0c1c2b 80%);box-shadow:9px 10px 15px rgba(0,0,0,.43),inset 0 1px 0 rgba(255,255,255,.06);transition:transform .2s}
.tpd-coverscape:before{content:"";position:absolute;inset:0 auto 0 0;width:7px;z-index:4;background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(225,210,179,.09),rgba(0,0,0,.2));border-right:1px solid rgba(215,195,159,.16)}
.tpd-coverscape:after{content:"";position:absolute;inset:11px;border:1px solid rgba(234,196,131,.36);z-index:3;pointer-events:none}
.tpd-coverscape img{position:absolute;inset:0;object-fit:cover;width:100%;height:100%;z-index:3}
.tpd-coverscape-art{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 70% 22%,rgba(230,178,106,.2),transparent 55%)}
.tpd-coverscape-sun{position:absolute;right:16%;top:15%;width:30px;height:30px;border-radius:50%;background:#dfc898;box-shadow:0 0 22px rgba(236,206,154,.25)}
.tpd-coverscape-roof{position:absolute;background:#132632;transform:rotate(-18deg);box-shadow:0 -2px 0 rgba(218,183,129,.35)}
.tpd-coverscape-roof.roof-a{left:-25%;right:16%;height:34%;bottom:8%}
.tpd-coverscape-roof.roof-b{left:34%;right:-32%;height:45%;bottom:-10%;transform:rotate(14deg);background:#1a3038}
.tpd-coverscape-windows{position:absolute;bottom:18%;left:18%;right:8%;font-size:13px;letter-spacing:12px;color:#e7bd7a;text-shadow:0 0 16px #f1c57b}
.tpd-coverscape-text{position:absolute;z-index:2;inset:19px 15px 17px 21px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;gap:5px}
.tpd-coverscape-text small{font:700 8px/1.3 'IBM Plex Sans',sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#e7d0a4;text-shadow:0 2px 8px #09121c}
.tpd-coverscape-text strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;overflow-wrap:anywhere;word-break:normal;max-width:100%;color:#f4e7cd;text-shadow:0 2px 9px #08111d;
 font:normal clamp(13px,1.4vw,18px)/1.23 var(--serif)}
.tpd-coverscape-text em{font:italic 8px/1.3 var(--serif);color:#d3c2a9;text-shadow:0 2px 6px #09121c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.tpd-cinema-cover{aspect-ratio:4/3;width:min(100%,195px);border-radius:4px;background:linear-gradient(165deg,#3e414d,#111d2b)}
.tpd-music-cover{aspect-ratio:1/1;width:min(100%,175px)}
.tpd-video-cover{aspect-ratio:4/3;width:min(100%,195px)}
.tpd-cinema-cover .tpd-coverscape-text,.tpd-video-cover .tpd-coverscape-text{inset:13px 16px 13px 16px}
.tpd-cinema-cover .tpd-coverscape-text strong,.tpd-video-cover .tpd-coverscape-text strong{font-size:16px;-webkit-line-clamp:4}
.tpd-volume-details{display:flex;flex:1;flex-direction:column;gap:5px;padding:0 4px 13px;min-width:0}
.tpd-volume-genre{font:700 9px/1.5 'IBM Plex Sans',sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#b9a17c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpd-volume-details>strong{display:block;overflow:visible;overflow-wrap:anywhere;word-break:normal;color:#efe2c9;font:normal 16px/1.37 var(--serif);min-height:22px}
.tpd-volume-details>small{font:12px/1.4 'IBM Plex Sans',sans-serif;color:#aebdbd;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tpd-volume-rating{margin-top:auto;padding-top:7px}
.tpd-rating-line{color:#ead1a0;font:600 12px/1.2 'IBM Plex Sans',sans-serif}
.tpd-rating-line>b{color:#d9b16e;font-size:14px}
.tpd-rating-line small{color:#899b9f;font-weight:400;margin-left:4px}
.tpd-rating-muted{font:italic 11px/1.4 var(--serif);color:#87979a}
.tpd-shelf-volume .tpd-culture-admin-mini{margin:0 2px 8px;z-index:3}
.tpd-library-noresults{padding:48px 16px;margin:8px auto 30px;text-align:center;border:1px solid rgba(210,178,115,.18);background:radial-gradient(ellipse at center,rgba(217,170,98,.06),transparent 60%);max-width:620px}
.tpd-noresults-symbol{font-size:35px;color:#c6a16b}.tpd-library-noresults h4{margin:10px 0 4px;font:normal 24px/1.2 var(--serif);color:#f0ddba}
.tpd-library-noresults p{color:#a6b5b2;font-size:13px}.tpd-library-noresults button{border:1px solid #c2a078;background:rgba(171,132,71,.13);padding:10px 18px;color:#e6cb9d;cursor:pointer}
.tpd-culture-tools{margin:15px clamp(24px,5.6vw,72px) 6px;gap:10px}
.tpd-culture-tools button{background:rgba(26,43,53,.64);border:1px solid rgba(222,190,131,.28);border-radius:6px;color:#e6d2ad;letter-spacing:.02em}
.tpd-culture-tools button:hover{background:rgba(184,143,86,.16)}
.tpd-culture-summary{margin:14px clamp(24px,5.6vw,72px)}
.tpd-culture-mast{max-width:900px;margin:30px auto 35px;padding:0 25px}
.tpd-book-detail{padding:0 32px;max-width:920px;grid-template-columns:220px minmax(0,1fr)}
.tpd-book-detail>.tpd-coverscape{width:100%;max-width:220px}
.tpd-book-detail .tpd-culture-tools{margin:12px 0}
.tpd-book-detail-right{min-width:0}
.tpd-culture-reader{padding:22px}
.tpd-culture-playing{margin:20px clamp(20px,5vw,65px);max-width:900px;border:1px solid rgba(210,172,113,.22);padding:20px;background:#0c1927}
.tpd-culture-player{border:5px solid #20323b;box-shadow:0 15px 40px rgba(0,0,0,.48)}
.tpd-rate-panel{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:14px 16px;background:linear-gradient(90deg,rgba(204,166,109,.09),rgba(19,34,47,.5));border-top:1px solid rgba(220,189,137,.2);border-bottom:1px solid rgba(220,189,137,.18);margin:20px 0;color:#e3d4b6}
.tpd-rate-left{display:grid;gap:4px}.tpd-rate-left>span{font:700 9px/1.1 'IBM Plex Sans',sans-serif;letter-spacing:.14em;color:#ac9777}.tpd-rate-left strong{font:normal 17px/1.2 var(--serif)}
.tpd-rate-stars{display:flex;gap:2px;margin-left:auto}.tpd-rate-stars button{cursor:pointer;color:#617076;border:0;background:none;padding:4px;font:26px/1 'IBM Plex Serif',serif;transition:transform .15s,color .15s}
.tpd-rate-stars button:hover,.tpd-rate-stars button.lit{color:#e4b86b;transform:scale(1.08)}
.tpd-rate-panel>small{width:100%;text-align:right;color:#8ca3a6;font-size:11px}
.tpd-book-chapters{width:100%;max-width:100%}.tpd-book-chapter-row{border-radius:5px;background:rgba(17,35,44,.54);border:1px solid rgba(219,186,126,.18)}
.tpd-culture-reader h2{font-size:clamp(29px,4vw,43px)}

@media(max-width:1100px){
  .tpd-hall-feature{right:6%;bottom:20px;width:120px}
  .tpd-hall-scene{right:0;width:48%}
  .tpd-discover-controls{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tpd-discover-search{grid-column:1/-1}
  .tpd-library-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .tpd-culture-window{width:100%;height:100dvh;max-height:none;border-radius:0;border:0}
  .tpd-culture-top{min-height:44px;padding:0 16px}.tpd-culture-top>span{font-size:8px;letter-spacing:.11em}
  .tpd-culture-tabs{gap:4px;padding:7px 11px}.tpd-culture-tabs button{font-size:11px;padding:9px 11px}
  .tpd-culture-content{padding:0 0 42px}
  .tpd-library-hall{min-height:344px;grid-template-columns:1fr}
  .tpd-hall-copy{padding:27px 19px 28px;max-width:none;position:relative;z-index:3}
  .tpd-hall-eyebrow{font-size:8px;letter-spacing:.11em;margin-bottom:12px}
  .tpd-hall-copy h2{font-size:clamp(25px,6.2vw,37px);line-height:1.18;max-width:69%;letter-spacing:-.028em}
  .tpd-hall-copy p{font-size:12px;line-height:1.58;max-width:64%}
  .tpd-hall-rule{margin:12px 0 10px}
  .tpd-hall-ctas{gap:7px;margin-top:14px}.tpd-hall-ctas button{font-size:10px;padding:10px 11px}.tpd-hall-ctas button span{margin-left:7px;font-size:11px}
  .tpd-hall-folio{font-size:7px;letter-spacing:.09em;margin-top:16px;max-width:65%}
  .tpd-hall-scene{width:55%;height:100%;right:-3%;opacity:.64}
  .tpd-hall-arch{right:0%;width:72%;height:73%;border-width:8px;border-radius:120px 120px 0 0}
  .tpd-hall-lamp{right:59%;height:65px}.tpd-hall-lamp:before{transform:scale(.7);transform-origin:top center}
  .tpd-hall-books{transform:scale(.6);transform-origin:bottom right}
  .tpd-hall-feature{right:4%;bottom:29px;width:78px;transform:rotate(4deg)}
  .tpd-hall-feature .tpd-coverscape{width:65px}.tpd-hall-feature .tpd-coverscape-text{inset:8px 7px}.tpd-hall-feature .tpd-coverscape-text strong{font-size:7px;-webkit-line-clamp:3}
  .tpd-hall-feature-label{font-size:6px}.tpd-hall-feature-text b{font-size:9px}.tpd-hall-feature-text small{font-size:8px}
  .tpd-library-discover{padding:27px 17px 23px}
  .tpd-discover-intro>span{font-size:9px}.tpd-discover-intro h3{font-size:28px}.tpd-discover-intro p{font-size:12px}
  .tpd-discover-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
  .tpd-discover-search{grid-column:1/-1}
  .tpd-discover-controls select,.tpd-discover-controls input{font-size:12px;height:42px}
  .tpd-discover-author-line{gap:10px;align-items:flex-start}.tpd-discover-author-line>span{padding-top:10px}
  .tpd-results-head h4{font-size:19px}.tpd-results-head span{font-size:10px;white-space:nowrap}
  .tpd-library-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 11px}
  .tpd-shelf-volume{padding:4px 2px 17px}.tpd-shelf-volume:before{left:-4px;right:-4px;bottom:8px;height:8px}.tpd-shelf-volume:after{bottom:16px}
  .tpd-volume-book{min-height:150px;margin-bottom:12px}.tpd-coverscape{width:min(100%,147px)}
  .tpd-coverscape-text{inset:13px 12px 12px 15px}
  .tpd-coverscape-text strong{font-size:clamp(12px,3.1vw,15px)}
  .tpd-coverscape-text small{font-size:7px}.tpd-coverscape-text em{font-size:7px}
  .tpd-cinema-cover,.tpd-video-cover{width:100%}
  .tpd-volume-details{gap:5px;padding:0 3px 10px}
  .tpd-volume-details>strong{font-size:14px}
  .tpd-volume-details>small{font-size:11px}
  .tpd-volume-genre{font-size:8px}
  .tpd-rating-line{font-size:11px}.tpd-rating-line small{font-size:10px;margin-left:1px}
  .tpd-rating-muted{font-size:10px}
  .tpd-culture-tools{margin:12px 16px 5px}
  .tpd-culture-summary{margin:11px 16px}
  .tpd-book-detail{padding:0 17px;grid-template-columns:1fr;gap:23px}
  .tpd-book-detail>.tpd-coverscape{width:170px;margin:auto}
  .tpd-culture-mast{padding:0 17px;margin:25px auto}
  .tpd-culture-playing{margin:18px 16px;padding:12px}
  .tpd-culture-reader{padding:18px}
  .tpd-rate-panel{padding:12px;gap:8px}
  .tpd-rate-stars{margin-left:0}.tpd-rate-stars button{font-size:23px}
  .tpd-rate-panel>small{text-align:left}
}
@media(max-width:360px){
  .tpd-hall-copy h2{font-size:24px}.tpd-hall-copy p{font-size:11px}
  .tpd-hall-feature{right:2%;bottom:20px}
  .tpd-discover-controls{gap:7px}.tpd-discover-controls label>span{font-size:9px}
  .tpd-volume-book{min-height:139px}
}
@media(prefers-reduced-motion:reduce){.tpd-coverscape,.tpd-volume-open,.tpd-hall-ctas button{transition:none!important;transform:none!important}}



/* ================== after-hours/after-hours.css ================== */
/* AFTER HOURS v1.0 — independent immersive room inside Thành Phố Đêm. */
#afterHours{--ink:#101a2b;--amber:#f4bf70;--cream:#f4e4c9;--moss:#89b3a5;position:fixed;inset:0;z-index:2147482000;color:#f6e8d0;font-family:'IBM Plex Sans',system-ui,sans-serif;background:#07111d;overflow:hidden;isolation:isolate;}
#afterHours *{box-sizing:border-box}#afterHours button,#afterHours input,#afterHours textarea{font:inherit}#afterHours button{cursor:pointer;-webkit-tap-highlight-color:transparent}#afterHours button:focus-visible,#afterHours input:focus-visible{outline:2px solid #f9d492;outline-offset:4px}#afterHours [hidden]{display:none!important}
#afterHours .ah-scene{position:absolute;inset:0;background:#0d1c2a url('../../after-hours/assets/bar-z-cinematic.webp') center center/cover no-repeat;overflow:hidden;animation:ah-reveal .8s both}#afterHours .ah-scene:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,18,.58),transparent 24%,transparent 63%,rgba(3,7,11,.78) 100%),linear-gradient(90deg,rgba(3,9,15,.14),transparent 32%,rgba(3,9,15,.12));pointer-events:none}#afterHours .ah-scene:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 120px rgba(2,8,16,.27);pointer-events:none}
#afterHours .ah-grain{position:absolute;inset:0;pointer-events:none;opacity:.15;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.19'/%3E%3C/svg%3E");mix-blend-mode:screen}
#afterHours .ah-rain{position:absolute;left:0;top:0;width:68%;height:78%;pointer-events:none;opacity:.6;mask-image:linear-gradient(90deg,black 0%,black 70%,transparent);background-image:repeating-linear-gradient(100deg,transparent 0 41px,rgba(185,216,241,.16) 42px,transparent 43px 118px);background-size:280px 260px;animation:ah-rain 9s linear infinite}
#afterHours .ah-amber{position:absolute;right:3%;top:0;width:33%;height:82%;pointer-events:none;opacity:.34;background:radial-gradient(ellipse at 70% 45%,rgba(255,159,70,.22),transparent 60%);animation:ah-flicker 8s ease-in-out infinite}
#afterHours .ah-ripple{position:absolute;left:54%;top:59%;width:12%;height:15%;pointer-events:none;border-radius:50%;background:radial-gradient(circle,rgba(250,219,151,.19),transparent 69%);animation:ah-ripple 4.5s ease-in-out infinite}
#afterHours .ah-door-glow{position:absolute;left:0;top:9%;width:35%;height:56%;pointer-events:none;background:radial-gradient(ellipse at 15% 50%,rgba(120,180,220,.1),transparent 62%)}
#afterHours .ah-stage-foreground{position:absolute;inset:0;pointer-events:none}#afterHours .ah-hotspot{position:absolute;border:1px solid transparent;color:transparent;background:transparent;border-radius:50%;opacity:1;z-index:2;touch-action:manipulation}#afterHours .ah-hotspot:focus-visible,#afterHours .ah-hotspot:hover{border-color:rgba(253,216,154,.52);box-shadow:0 0 0 7px rgba(244,191,112,.06),0 0 48px rgba(237,180,91,.24);background:radial-gradient(circle,rgba(243,188,99,.10),transparent)}#afterHours .ah-hotspot[data-target=Z]{left:42%;top:12%;width:34%;height:65%;border-radius:33%}#afterHours .ah-hotspot[data-target=window]{left:4%;top:7%;width:38%;height:53%}#afterHours .ah-hotspot[data-target=drink]{left:75%;top:65%;width:20%;height:28%}#afterHours .ah-hotspot[data-target=radio]{left:4%;top:43%;width:23%;height:21%}#afterHours .ah-hotspot[data-target=painting]{left:0;top:11%;width:16%;height:25%}#afterHours .ah-hotspot[data-target=clock]{left:85%;top:8%;width:13%;height:18%}#afterHours .ah-hotspot[data-target=chair]{left:21%;bottom:7%;width:19%;height:24%}
#afterHours .ah-cat{position:absolute;left:-14%;top:68%;width:58px;height:34px;z-index:2;opacity:0;pointer-events:none;filter:drop-shadow(0 0 3px rgba(255,198,116,.32))}#afterHours .ah-cat:before{content:"";position:absolute;left:7px;top:10px;width:33px;height:18px;border-radius:50%;background:#0c171d}#afterHours .ah-cat:after{content:"";position:absolute;right:4px;top:7px;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:24px solid #0c171d;transform:rotate(28deg)}#afterHours .ah-cat.run{opacity:.92;animation:ah-cat 5s ease-in-out forwards}
#afterHours .ah-shadow-guest{position:absolute;left:22%;bottom:17%;width:80px;height:165px;opacity:0;background:radial-gradient(ellipse at 45% 8%,#101a1f 0 17%,transparent 19%),linear-gradient(#101a1f,#13191b);clip-path:polygon(34% 3%,65% 0%,76% 23%,70% 38%,83% 48%,92% 96%,10% 96%,15% 45%,27% 28%);filter:blur(2px);transform:translateY(20px);transition:opacity 1.6s,transform 1.6s;pointer-events:none}#afterHours .ah-shadow-guest.show{opacity:.44;transform:translateY(0)}
#afterHours .ah-clock-glow{position:absolute;right:11%;top:11%;height:8px;width:8px;border-radius:100%;box-shadow:0 0 13px #f7ca7b;opacity:0;pointer-events:none}#afterHours .ah-clock-glow.show{opacity:1;animation:ah-flicker 5s infinite}
#afterHours .ah-header{position:absolute;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));top:max(15px,env(safe-area-inset-top));z-index:10;display:flex;gap:14px;align-items:start;justify-content:space-between;pointer-events:none}
#afterHours .ah-brand{pointer-events:auto;display:grid;gap:2px;text-shadow:0 3px 15px rgba(0,0,0,.7)}#afterHours .ah-brand small{font:600 10px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.33em;color:#d6ba88}#afterHours .ah-brand strong{font:normal clamp(32px,4vw,66px)/1.05 'IBM Plex Serif',Georgia,serif;letter-spacing:.045em;color:#f5e5c7}#afterHours .ah-brand em{font:italic 13px/1.5 'IBM Plex Serif',Georgia,serif;color:#f2d1a4;opacity:.82}#afterHours .ah-header-actions{pointer-events:auto;display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
#afterHours .ah-icon-button{border:1px solid rgba(245,209,147,.28);background:rgba(8,20,28,.63);color:#f2dfbd;border-radius:999px;padding:10px 14px;min-height:42px;font:600 12px/1 'IBM Plex Sans',sans-serif;letter-spacing:.04em;backdrop-filter:blur(15px);box-shadow:0 5px 19px rgba(0,0,0,.2);transition:background .2s,border-color .2s}#afterHours .ah-icon-button:hover{background:rgba(34,38,36,.81);border-color:#e8bd79}#afterHours .ah-icon-button.active{color:#ffe1a0;border-color:#e8bd79}
#afterHours .ah-venue-caption{position:absolute;right:3%;bottom:32%;color:#f9dca7;font:normal 12px/1.2 'IBM Plex Serif',serif;letter-spacing:.2em;opacity:.7;text-shadow:0 2px 12px #000;pointer-events:none}
#afterHours .ah-dialogue{position:absolute;bottom:clamp(118px,18vh,188px);left:max(24px,4vw);z-index:8;max-width:min(560px,82vw);background:linear-gradient(90deg,rgba(6,18,28,.82),rgba(7,20,29,.47));border-left:2px solid rgba(235,192,119,.76);border-radius:0 13px 13px 0;padding:13px 20px 14px;backdrop-filter:blur(13px);box-shadow:0 14px 44px rgba(0,0,0,.2);pointer-events:none;transform-origin:left bottom;animation:ah-bubble .45s ease both}#afterHours .ah-dialogue .ah-speaker{display:block;font:700 10px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.28em;color:#e9c389;margin-bottom:7px}#afterHours .ah-dialogue p{font:normal clamp(15px,1.6vw,20px)/1.55 'IBM Plex Serif',Georgia,serif;color:#f9eddb;margin:0;white-space:pre-line}#afterHours .ah-dialogue .ah-dialogue-tag{display:block;color:#9fb8b8;letter-spacing:.04em;font-size:10px;margin-top:8px}
#afterHours .ah-bottom{position:absolute;bottom:0;left:0;right:0;padding:12px max(24px,4vw) max(20px,env(safe-area-inset-bottom));z-index:11;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,transparent,rgba(3,10,16,.75) 29%,rgba(3,10,16,.94));pointer-events:none}
#afterHours .ah-command-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;pointer-events:auto}#afterHours .ah-command-strip button{border:1px solid rgba(232,199,136,.36);background:rgba(12,25,30,.72);color:#f8e7c9;padding:13px 17px;border-radius:999px;min-height:46px;font:600 13px/1 'IBM Plex Sans',sans-serif;letter-spacing:.02em;backdrop-filter:blur(15px);transition:transform .18s,border-color .18s,background .18s}#afterHours .ah-command-strip button:hover{transform:translateY(-2px);border-color:#f4bf70;background:rgba(35,39,37,.84)}#afterHours .ah-command-strip button.active{color:#1a2331;background:linear-gradient(115deg,#eac38a,#efdda9);border-color:#f4bf70}
#afterHours .ah-session{pointer-events:auto;display:flex;align-items:center;gap:8px;letter-spacing:.08em;font:500 10px/1.3 'IBM Plex Sans',sans-serif;color:#c6baaa;text-transform:uppercase;opacity:.7;white-space:nowrap}#afterHours .ah-session .dot{width:5px;height:5px;border-radius:50%;background:#caa771;box-shadow:0 0 8px #e8bf7f}
#afterHours .ah-panel{position:absolute;z-index:14;right:clamp(18px,4vw,75px);bottom:clamp(89px,13vh,150px);width:min(462px,calc(100vw - 36px));max-height:min(66vh,640px);overflow:auto;overscroll-behavior:contain;border:1px solid rgba(235,195,125,.33);border-radius:19px;background:linear-gradient(147deg,rgba(11,26,35,.98),rgba(12,22,31,.97));box-shadow:0 24px 110px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,238,207,.08);backdrop-filter:blur(25px);padding:24px 24px 22px;animation:ah-panel .24s ease both}#afterHours .ah-panel::-webkit-scrollbar{width:5px}#afterHours .ah-panel::-webkit-scrollbar-thumb{background:#725a3e;border-radius:9px}#afterHours .ah-panel h2{margin:0 26px 6px 0;color:#f0d5a7;font:normal 30px/1.17 'IBM Plex Serif',Georgia,serif}#afterHours .ah-panel .ah-hint{margin:0 0 18px;color:#9eb3ba;font:12px/1.7 'IBM Plex Sans',sans-serif}#afterHours .ah-panel .ah-close{position:absolute;right:14px;top:14px;border:0;background:none;color:#d2b891;font-size:27px;padding:2px 9px}
#afterHours .ah-field{margin-top:10px}#afterHours .ah-panel input,#afterHours .ah-panel textarea{width:100%;padding:13px;border:1px solid rgba(207,177,123,.24);border-radius:11px;background:rgba(7,17,25,.68);color:#f7e7d1;outline:0;font:14px/1.5 'IBM Plex Sans',sans-serif}#afterHours .ah-panel input:focus,#afterHours .ah-panel textarea:focus{border-color:#eac68b}#afterHours .ah-panel textarea{min-height:72px;resize:vertical}#afterHours .ah-panel label{font-size:12px;line-height:1.5;color:#d4c5aa}
#afterHours .ah-action{border:1px solid rgba(235,188,115,.36);border-radius:11px;padding:10px 13px;background:rgba(28,42,41,.72);color:#f6e3c3;cursor:pointer;font-size:12px;line-height:1.45;text-align:left;transition:background .2s,border-color .2s}#afterHours .ah-action:hover{background:rgba(74,65,48,.8);border-color:#e8bf7d}#afterHours .ah-action.primary{background:#e9c58e;border-color:#e9c58e;color:#18232e;font-weight:700}#afterHours .ah-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}#afterHours .ah-actions>*{flex:1}#afterHours .ah-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#afterHours .ah-option{display:grid;gap:5px;min-height:90px}#afterHours .ah-option small{font-size:11px;line-height:1.4;color:#a8b8ad}#afterHours .ah-drink-icon{width:26px;height:30px;display:inline-block;position:relative;border:2px solid rgba(249,230,189,.67);border-top:3px solid rgba(255,240,209,.68);border-radius:5px 5px 11px 11px;background:linear-gradient(180deg,transparent 12%,var(--liquid) 15% 92%,transparent 94%);box-shadow:0 6px 10px rgba(0,0,0,.26),inset 1px 1px rgba(255,255,255,.3)}#afterHours .ah-drink-icon:after{content:"";position:absolute;left:5px;top:-5px;width:8px;height:4px;border-radius:50%;background:#fceaca}
#afterHours .ah-serve-tray{position:absolute;bottom:6%;right:14%;z-index:9;pointer-events:auto;transform-origin:center bottom;animation:ah-serve .6s ease both}#afterHours .ah-served-cup{position:relative;width:108px;height:132px;filter:drop-shadow(2px 10px 13px rgba(0,0,0,.5));cursor:pointer;background:linear-gradient(97deg,rgba(245,252,251,.18),transparent 27%,rgba(255,255,255,.13) 75%,rgba(245,252,251,.25));border:3px solid rgba(241,230,208,.44);border-radius:8px 8px 29px 29px;overflow:hidden;box-shadow:inset 6px 0 13px rgba(249,243,227,.1),inset -6px 0 10px rgba(255,255,255,.1)}#afterHours .ah-liquid{position:absolute;left:3%;right:3%;bottom:3%;height:calc(var(--level,1)*82%);background:linear-gradient(90deg,rgba(0,0,0,.22),transparent 28%,rgba(255,255,255,.15) 66%,rgba(0,0,0,.10)),var(--liquid);border-radius:6px 6px 22px 22px;transition:height .5s ease}#afterHours .ah-served-cup:after{content:"";position:absolute;left:8%;top:7%;bottom:10%;width:12%;border-radius:100%;background:linear-gradient(90deg,rgba(255,255,255,.25),transparent);opacity:.55}#afterHours .ah-served-cup.hot:before{content:"";position:absolute;top:-30%;left:20%;width:60%;height:43%;border-radius:50%;background:radial-gradient(ellipse,rgba(243,241,221,.25),transparent);animation:ah-steam 2s infinite}#afterHours .ah-served-label{display:block;margin-top:8px;text-align:center;font:500 12px/1.3 'IBM Plex Serif',serif;color:#f6dda9;text-shadow:0 2px 8px #000}#afterHours .ah-served-cup.empty{opacity:.6}
#afterHours .ah-chat-history{max-height:190px;overflow:auto;padding-right:4px;display:grid;gap:8px;margin:12px 0}#afterHours .ah-msg{font:13px/1.56 'IBM Plex Sans',sans-serif;color:#d6e0dd;max-width:90%;padding:10px 12px;border-radius:12px;background:rgba(27,46,53,.55)}#afterHours .ah-msg.you{margin-left:auto;color:#f5e4c9;background:rgba(117,84,56,.4)}#afterHours .ah-msg strong{display:block;color:#edc58a;font-size:10px;letter-spacing:.12em;margin-bottom:3px}#afterHours .ah-chat-form{display:flex;gap:8px;align-items:stretch}#afterHours .ah-chat-form input{min-width:0;flex:1}#afterHours .ah-chat-form button{white-space:nowrap}
#afterHours .ah-choice-list{display:grid;gap:8px}#afterHours .ah-choice-list button{width:100%}#afterHours .ah-result{margin:12px 0;padding:13px;border-left:2px solid #d4ad72;background:rgba(211,161,86,.08);color:#f4dfb9;font:normal 15px/1.6 'IBM Plex Serif',Georgia,serif}#afterHours .ah-dice{display:flex;justify-content:center;gap:20px;padding:16px 0 10px}#afterHours .ah-die{display:grid;place-items:center;width:67px;height:67px;border:2px solid #d7be92;background:linear-gradient(140deg,#f4ebd7,#c9b58d);color:#202332;border-radius:13px;box-shadow:2px 9px 16px rgba(0,0,0,.38);font:normal 45px/1 'IBM Plex Serif',serif}#afterHours .ah-die.rolling{animation:ah-dice .65s cubic-bezier(.3,.6,.24,1.3)}
#afterHours .ah-secrets-card{margin-top:14px;padding:12px 14px;border:1px solid rgba(211,175,120,.13);border-radius:12px;color:#b1bfc0;font:italic 12px/1.6 'IBM Plex Serif',serif}#afterHours .ah-small{color:#a4b7bd;font-size:11px;line-height:1.5}#afterHours .ah-toast{position:absolute;left:50%;bottom:17%;z-index:20;transform:translateX(-50%);padding:12px 16px;background:rgba(11,26,30,.94);border:1px solid rgba(238,196,137,.31);border-radius:12px;max-width:85%;box-shadow:0 12px 40px #0009;color:#f9e6cc;font:13px/1.5 'IBM Plex Sans',sans-serif;animation:ah-bubble .3s ease both;pointer-events:none}
#afterHours .ah-tablet-tip{display:none}#afterHours.ah-quiet .ah-rain,#afterHours.ah-quiet .ah-amber,#afterHours.ah-quiet .ah-ripple{animation:none!important}#afterHours.ah-reduced *,#afterHours.ah-reduced *:before,#afterHours.ah-reduced *:after{animation-duration:.001ms!important;transition-duration:.001ms!important}
@keyframes ah-reveal{from{filter:brightness(.65);opacity:.5}to{filter:brightness(1);opacity:1}}@keyframes ah-bubble{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes ah-panel{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes ah-rain{to{background-position:-56px 260px}}@keyframes ah-flicker{0%,100%{opacity:.34}48%{opacity:.27}51%{opacity:.31}74%{opacity:.39}}@keyframes ah-ripple{0%,100%{opacity:.3;transform:scale(.85)}50%{opacity:.75;transform:scale(1.08)}}@keyframes ah-cat{0%{opacity:0;transform:translateX(0)}10%{opacity:.8}87%{opacity:.8}100%{opacity:0;transform:translateX(65vw)}}@keyframes ah-serve{0%{opacity:0;transform:translate(48px,-40px) scale(.7)}100%{opacity:1;transform:translate(0,0) scale(1)}}@keyframes ah-steam{0%,100%{opacity:.2;transform:translateY(6px)}50%{opacity:.65;transform:translateY(-12px)}}@keyframes ah-dice{0%{transform:rotate(0) scale(.7)}40%{transform:rotate(220deg) scale(1.1)}100%{transform:rotate(360deg) scale(1)}}
@media(max-width:900px){#afterHours .ah-scene{background-position:59% center}#afterHours .ah-venue-caption{display:none}#afterHours .ah-dialogue{bottom:145px;max-width:78vw;left:16px;padding:11px 14px}#afterHours .ah-dialogue p{font-size:15px}#afterHours .ah-bottom{padding-left:16px;padding-right:16px}#afterHours .ah-panel{right:14px;bottom:95px;width:min(440px,calc(100vw - 28px))}}
@media(max-width:620px){#afterHours .ah-scene{background-size:auto 100%;background-position:59% center}#afterHours .ah-rain{width:65%;opacity:.24}#afterHours .ah-brand strong{font-size:33px}#afterHours .ah-brand small{font-size:8px;letter-spacing:.24em}#afterHours .ah-brand em{font-size:10px}#afterHours .ah-header{left:14px;right:14px;top:max(12px,env(safe-area-inset-top));align-items:start}#afterHours .ah-header-actions{gap:6px;max-width:45%}#afterHours .ah-icon-button{font-size:10px;padding:9px 10px;min-height:36px}#afterHours .ah-header-actions .ah-sound-toggle span{display:none}#afterHours .ah-hotspot{display:none}#afterHours .ah-dialogue{bottom:calc(env(safe-area-inset-bottom) + 92px);max-width:calc(100vw - 32px);left:16px;right:16px;padding:10px 13px;border-radius:0 10px 10px 0}#afterHours .ah-dialogue p{font-size:14px;line-height:1.45}#afterHours .ah-dialogue .ah-speaker{margin-bottom:4px}#afterHours .ah-dialogue .ah-dialogue-tag{display:none}#afterHours .ah-bottom{padding:12px 11px max(14px,env(safe-area-inset-bottom));display:block}#afterHours .ah-command-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#afterHours .ah-command-strip button{padding:11px 3px;min-height:42px;font-size:11px}#afterHours .ah-session{display:none}#afterHours .ah-panel{bottom:calc(env(safe-area-inset-bottom) + 62px);right:10px;left:10px;width:auto;max-height:min(55dvh,600px);padding:18px}#afterHours .ah-panel h2{font-size:27px}#afterHours .ah-serve-tray{right:8%;bottom:40%}#afterHours .ah-served-cup{width:69px;height:89px}#afterHours .ah-served-label{font-size:10px}#afterHours .ah-tablet-tip{display:block;color:#dcc8a4;text-align:center;font:11px/1.2 'IBM Plex Serif',serif;padding:6px 0 2px;letter-spacing:.06em}#afterHours .ah-dice{gap:12px}}
@media(max-height:590px) and (min-width:620px){#afterHours .ah-dialogue{bottom:90px;max-width:430px}#afterHours .ah-bottom{padding-bottom:11px}#afterHours .ah-panel{bottom:70px;max-height:75vh}}
@media(prefers-reduced-motion:reduce){#afterHours *,#afterHours *:before,#afterHours *:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

/* V1.1 interaction polish */
#afterHours.ah-making .ah-amber{opacity:.55;animation:ah-making-light 1.65s ease-in-out both}
#afterHours.ah-making .ah-ripple{animation:ah-making-light 1.65s ease-in-out both}
#afterHours .ah-pref[aria-pressed=true]{border-color:rgba(242,202,128,.78);background:rgba(93,67,40,.46)}
#afterHours .ah-pref small{display:block;color:#aebfc1;margin-top:4px}
@keyframes ah-making-light{0%{filter:brightness(.95)}50%{filter:brightness(1.3)}100%{filter:brightness(1)}}

/* R128 — moving Z layer, Seamaster wrist detail, natural glassware & card games */
#afterHours .ah-scene{background-image:url('../../after-hours/assets/bar-z-cinematic.webp')}
#afterHours .ah-empty-plate{position:absolute;inset:0;pointer-events:none;background:url('../../after-hours/assets/bar-empty-r128.webp') center/cover no-repeat;opacity:0;transition:opacity .7s ease;z-index:1}
#afterHours .ah-scene.ah-motion-active .ah-empty-plate{opacity:1}
#afterHours .ah-z-motion{position:absolute;inset:0;pointer-events:none;background:url('../../after-hours/assets/z-cutout.r128.png') center/cover no-repeat;transform:translate3d(0,0,0);transform-origin:58% 78%;transition:transform 2.2s cubic-bezier(.4,0,.2,1),filter 1.5s ease;will-change:transform;z-index:2;opacity:0}
#afterHours .ah-scene.ah-motion-active .ah-z-motion{opacity:1}
#afterHours .ah-z-wipe{transform:translate3d(0,0,0)}
#afterHours .ah-z-reach{transform:translate3d(2.1%,-.45%,0) rotate(.6deg)}
#afterHours .ah-z-mix{transform:translate3d(-1.2%,.3%,0) rotate(-.6deg);filter:brightness(1.08)}
#afterHours .ah-z-lean{transform:translate3d(-.45%,.9%,0) rotate(.9deg)}
#afterHours .ah-z-watch{transform:translate3d(-.5%,.4%,0) rotate(-.8deg)}
#afterHours .ah-z-rest{transform:translate3d(-1.9%,0,0)}
#afterHours .ah-z-walk{transform:translate3d(7.4%,-.5%,0) rotate(1.1deg)}
#afterHours .ah-z-motion .ah-z-watch{position:absolute;left:68.2%;top:66%;width:24px;height:28px;transform:rotate(-18deg);border-radius:45%;background:radial-gradient(circle at 48% 48%,#161a1b 0 38%,#d4c5a7 41%,#4a5053 47%,#c4c7c7 55%,transparent 57%);box-shadow:0 0 6px #0009;opacity:.76;}
#afterHours .ah-z-motion .ah-z-watch:before,#afterHours .ah-z-motion .ah-z-watch:after{content:"";position:absolute;background:linear-gradient(90deg,#111616,#343d3e,#111616);height:9px;width:15px;left:5px;top:-6px;border-radius:3px;z-index:-1;}
#afterHours .ah-z-motion .ah-z-watch:after{top:24px}
#afterHours .ah-pose-note{position:absolute;right:20%;top:17%;padding:6px 10px;border-radius:10px;background:#101b21cc;border:1px solid #e5c89a33;color:#e9d3b1;font:italic 12px/1.2 'IBM Plex Serif',Georgia,serif;opacity:0;transition:opacity .5s ease;pointer-events:none;z-index:5}
#afterHours .ah-pose-note.visible{opacity:.8}
#afterHours .ah-served-cup.ceramic{height:91px;width:116px;border-radius:10px 10px 31px 31px;border:5px solid #f0e5d2;background:linear-gradient(110deg,#bebdb6,#faf4e8 30%,#d0c3ae 88%);box-shadow:inset 3px 5px 10px #55422b55,0 14px 23px #0008}
#afterHours .ah-served-cup.ceramic:before{content:"";position:absolute;left:93%;top:18px;border:9px solid #e9dfcd;width:33px;height:40px;border-radius:50%;box-shadow:0 4px 6px #0005}
#afterHours .ah-served-cup.ceramic .ah-liquid{height:calc(var(--level,1)*72%);left:6%;right:6%;border-radius:6px 6px 23px 23px}
#afterHours .ah-served-cup.shot{width:64px;height:72px;border-radius:3px 3px 16px 16px}
#afterHours .ah-served-cup.cocktail{width:115px;height:96px;clip-path:polygon(8% 0,92% 0,65% 62%,58% 88%,72% 95%,28% 95%,42% 88%,35% 62%);border-radius:2px;background:linear-gradient(95deg,#ddd5c955,#ffffff33);}
#afterHours .ah-served-cup.cocktail .ah-liquid{left:10%;right:10%;border-radius:1px;height:calc(var(--level,1)*88%)}
#afterHours .ah-served-cup.tall{height:132px;width:78px;border-radius:8px 8px 13px 13px}
#afterHours .ah-drink-icon.ceramic{border-radius:4px 4px 11px 11px;border:3px solid #ebe0c9}
#afterHours .ah-drink-icon.shot{height:21px;width:20px}
#afterHours .ah-drink-icon.cocktail{clip-path:polygon(0 0,100% 0,60% 62%,60% 86%,80% 98%,20% 98%,40% 86%,40% 62%);border-radius:1px}
#afterHours .ah-card-table{margin:16px 0;padding:16px;border-radius:16px;border:1px solid #b68d564d;background:radial-gradient(ellipse at center,#1d4c3e88,#0c2c2ddd 75%);display:grid;gap:12px;box-shadow:inset 0 1px 20px #030b13b0}
#afterHours .ah-card-table>span{font:600 12px/1.3 'IBM Plex Sans',sans-serif;letter-spacing:.06em;color:#efd8ab}
#afterHours .ah-card-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
#afterHours .ah-playing-card{flex:0 0 auto;width:55px;height:79px;background:linear-gradient(125deg,#fff9eb,#e8decb);color:#1d2929;border:1px solid #c9bba2;border-radius:6px;box-shadow:2px 4px 8px #0005;padding:5px 6px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;position:relative;cursor:pointer}
#afterHours .ah-playing-card span{font:700 17px/1.1 Georgia,serif;text-align:left}
#afterHours .ah-playing-card span small{display:block;font-size:15px}
#afterHours .ah-playing-card strong{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);font:normal 24px/1 Georgia,serif}
#afterHours .ah-playing-card em{font:700 8px/1 system-ui,sans-serif;align-self:center;background:#283c43;color:#faf0db;padding:3px 4px;border-radius:3px}
#afterHours .ah-playing-card.red{color:#ae3f4b}
#afterHours .ah-playing-card.back{display:grid;place-items:center;color:#eacb96;font-size:22px;background:repeating-linear-gradient(45deg,#17283c,#17283c 4px,#2c4555 4px,#2c4555 8px);border:4px double #e2c48d}
#afterHours .ah-playing-card.held{transform:translateY(-8px);border:2px solid #f0ce83;box-shadow:0 6px 17px #ecc27b55}
#afterHours .ah-playing-card:disabled{cursor:default;opacity:1}
@media(max-width:620px){#afterHours .ah-card-table{padding:10px;gap:9px}#afterHours .ah-playing-card{width:42px;height:61px;padding:3px 4px}#afterHours .ah-playing-card strong{font-size:19px}#afterHours .ah-playing-card span{font-size:13px}#afterHours .ah-playing-card span small{font-size:12px}#afterHours .ah-card-row{gap:4px}#afterHours .ah-z-motion .ah-z-watch{display:none}#afterHours .ah-pose-note{display:none}}
#afterHours.ah-reduced .ah-z-motion{transition:none!important;transform:none!important}

/* A tiny dial study cropped from the reference Seamaster photo provided by the owner. */
#afterHours .ah-z-motion .ah-z-watch{background:url("../../after-hours/assets/z-seamaster.r128.png") center/cover no-repeat!important;border:1px solid #d6c7a766}


/* R129 — ONE Z, NO STICKER OR FAUX MOTION. A cinematic bar scene, not a second photo. */
#afterHours .ah-scene{background-image:url('../../after-hours/assets/bar-z-cinematic.webp');background-position:center center!important;background-size:cover;animation:ah-reveal .5s ease-out both}
#afterHours .ah-empty-plate,#afterHours .ah-z-motion,#afterHours .ah-z-watch,#afterHours .ah-pose-note{display:none!important}
#afterHours .ah-scene.ah-motion-active .ah-empty-plate{opacity:0!important}
#afterHours .ah-scene.ah-motion-active .ah-z-motion{opacity:0!important}
#afterHours .ah-scene:before{background:linear-gradient(180deg,rgba(5,8,12,.35),transparent 24%,transparent 61%,rgba(5,9,13,.82) 100%),linear-gradient(90deg,rgba(5,11,22,.22),transparent 34%,rgba(5,11,22,.07))}
#afterHours .ah-grain{opacity:.055}
#afterHours .ah-venue-caption{display:none!important}
#afterHours .ah-brand{gap:0;max-width:310px}
#afterHours .ah-brand small{font-size:9px;letter-spacing:.24em;color:#c4a678}
#afterHours .ah-brand strong{font:normal clamp(20px,2.4vw,35px)/1.15 'IBM Plex Serif',Georgia,serif;letter-spacing:.02em;color:#efd7ac;text-shadow:0 4px 20px #000}
#afterHours .ah-brand em{font-size:11px;opacity:.76;font-style:normal}
#afterHours .ah-header{top:max(14px,env(safe-area-inset-top));align-items:center}
#afterHours .ah-header-actions .ah-icon-button{font-weight:500}
#afterHours .ah-dialogue{top:clamp(135px,22vh,280px);bottom:auto;left:clamp(22px,17.5vw,295px);max-width:min(390px,38vw);border:1px solid rgba(234,191,124,.44);border-radius:20px;background:linear-gradient(155deg,rgba(19,20,21,.91),rgba(36,21,18,.78));padding:16px 20px;backdrop-filter:blur(9px);box-shadow:0 18px 55px rgba(0,0,0,.43);pointer-events:none}
#afterHours .ah-dialogue .ah-speaker{font-size:12px;color:#f5d394;letter-spacing:.12em;margin-bottom:9px}
#afterHours .ah-dialogue p{font:normal clamp(15px,1.25vw,18px)/1.48 'IBM Plex Sans',system-ui,sans-serif;color:#f5e7d0}
#afterHours .ah-dialogue .ah-dialogue-tag{display:none}
#afterHours .ah-bottom{padding:15px clamp(16px,2.5vw,35px) 20px;background:linear-gradient(180deg,transparent,rgba(5,9,14,.42) 22%,rgba(9,13,18,.83))}
#afterHours .ah-command-strip{gap:7px}
#afterHours .ah-command-strip button{padding:12px 19px;background:rgba(22,20,21,.78);border-color:rgba(230,186,110,.33);box-shadow:inset 0 1px rgba(255,239,210,.06)}
#afterHours .ah-session{font:500 11px/1 'IBM Plex Sans',sans-serif;letter-spacing:.10em;color:#e1c28c;opacity:.83}
#afterHours .ah-compact-actions{display:none}
#afterHours .ah-panel{border-radius:19px;background:linear-gradient(160deg,rgba(24,22,23,.97),rgba(17,22,26,.97));border-color:rgba(219,170,99,.40)}
#afterHours .ah-served-cup{box-shadow:inset 3px 5px 10px rgba(255,255,255,.10),0 10px 22px rgba(0,0,0,.55)}
#afterHours .ah-serve-tray{right:9%;bottom:19%}
@media(max-width:900px){
 #afterHours .ah-scene{background-position:58% center!important}
 #afterHours .ah-dialogue{left:24px;top:clamp(110px,21vh,185px);max-width:45vw}
}
@media(max-width:620px){
 #afterHours .ah-scene{background-position:61% center!important;background-size:auto 100%}
 #afterHours .ah-brand small{font-size:8px;letter-spacing:.1em}
 #afterHours .ah-brand strong{font-size:20px}
 #afterHours .ah-brand em{display:none}
 #afterHours .ah-header{gap:8px;left:12px;right:12px;top:max(10px,env(safe-area-inset-top))}
 #afterHours .ah-header-actions{max-width:60%;gap:5px}
 #afterHours .ah-icon-button{padding:8px 9px;font-size:10px;min-height:35px}
 #afterHours .ah-header-actions #ahMusic{display:none}
 #afterHours .ah-dialogue{left:12px;right:auto;top:clamp(92px,16dvh,180px);bottom:auto;max-width:min(70vw,285px);padding:10px 12px;border-radius:14px;background:rgba(22,19,21,.86);border-color:rgba(236,192,127,.36)}
 #afterHours .ah-dialogue p{font-size:13.5px;line-height:1.45}
 #afterHours .ah-dialogue .ah-speaker{font-size:10px;margin-bottom:5px}
 #afterHours .ah-bottom{display:block;left:0;right:0;padding:9px 12px max(14px,env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,rgba(9,13,18,.76) 32%,rgba(8,11,15,.96));z-index:16}
 #afterHours .ah-bottom .ah-compact-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;pointer-events:auto}
 #afterHours .ah-bottom .ah-compact-actions button{border:1px solid rgba(239,196,126,.50);background:rgba(27,23,24,.91);color:#f4d9a9;min-height:47px;border-radius:16px;font:600 13px/1.2 'IBM Plex Sans',sans-serif;box-shadow:0 9px 22px rgba(0,0,0,.28)}
 #afterHours .ah-bottom .ah-compact-actions .ah-compact-chat{background:linear-gradient(130deg,#caa36b,#f2d398);color:#1d1b1a;border-color:#e6c38d}
 #afterHours .ah-command-strip{display:none!important}
 #afterHours .ah-bottom.ah-menu-open .ah-command-strip{display:grid!important;position:absolute;right:12px;bottom:calc(70px + env(safe-area-inset-bottom,0px));width:min(282px,calc(100vw - 24px));grid-template-columns:1fr;gap:6px;padding:10px;border:1px solid rgba(231,185,116,.54);border-radius:19px;background:linear-gradient(160deg,rgba(37,25,24,.98),rgba(18,23,28,.99));box-shadow:0 18px 44px rgba(0,0,0,.62);z-index:20;backdrop-filter:blur(22px)}
 #afterHours .ah-bottom.ah-menu-open .ah-command-strip button{display:flex;align-items:center;justify-content:flex-start;width:100%;text-align:left;padding:13px 15px;font-size:13px;min-height:45px;border-radius:12px}
 #afterHours .ah-session,#afterHours .ah-tablet-tip{display:none}
 #afterHours .ah-panel{right:10px;left:10px;bottom:calc(73px + env(safe-area-inset-bottom,0px));width:auto;max-height:min(59dvh,560px);padding:16px;z-index:18}
 #afterHours:has(.ah-panel:not([hidden])) .ah-dialogue{opacity:0;pointer-events:none}
 #afterHours .ah-serve-tray{right:10%;bottom:22%}
 #afterHours .ah-served-label{max-width:125px;font-size:10px}
}
@media(max-height:550px) and (min-width:621px){
 #afterHours .ah-dialogue{top:90px;bottom:auto}
 #afterHours .ah-serve-tray{bottom:22%}
}

/* On wide screens the same live navigation becomes a subtle top bar. */
@media(min-width:1180px){
 #afterHours .ah-command-strip{position:fixed;top:max(15px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);
  gap:2px;padding:5px;border:1px solid rgba(236,191,126,.32);border-radius:999px;background:rgba(22,19,20,.86);
  box-shadow:0 12px 35px rgba(0,0,0,.36);backdrop-filter:blur(17px);z-index:12}
 #afterHours .ah-command-strip button{font-size:12px;min-height:36px;padding:10px 13px;border:0;background:transparent;box-shadow:none}
 #afterHours .ah-command-strip button.active{background:linear-gradient(150deg,rgba(178,126,64,.57),rgba(86,51,38,.82));color:#fff0d4}
}

/* R130 — city stories & play-only chips */
#afterHours .ah-story-cue{margin-top:10px;pointer-events:auto;max-width:100%;}
#afterHours .ah-story-cue a{display:block;padding:10px 12px;border:1px solid rgba(244,196,113,.52);border-radius:12px;background:rgba(9,21,29,.82);text-decoration:none;color:#efd6a7;font:500 12px/1.5 'IBM Plex Sans',sans-serif;overflow-wrap:anywhere}
#afterHours .ah-story-cue a span{display:block;color:#c0d2d3;font-size:11px;margin-top:4px}
#afterHours .ah-chips-hud{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;margin:10px 0 13px;border:1px solid rgba(233,191,126,.43);border-radius:15px;background:linear-gradient(115deg,rgba(100,71,37,.33),rgba(33,25,27,.5));font:600 17px/1.3 'IBM Plex Serif',Georgia,serif;color:#f1d5a2}
#afterHours .ah-chip-refill{border:1px solid rgba(237,188,117,.35);border-radius:999px;color:#efd9b7;background:rgba(15,27,37,.9);padding:8px 13px;font-size:11px}
#afterHours .ah-whiskey-invite{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}
#afterHours .ah-whiskey-invite small{color:#b8ada4;font-size:11px}
#afterHours .ah-virtual-whiskey{width:88px;height:122px;margin:16px auto 22px;border:5px solid rgba(242,222,191,.78);border-top-width:7px;border-radius:7px 7px 23px 23px;position:relative;background:linear-gradient(95deg,rgba(255,255,255,.19),transparent 35%,rgba(255,255,255,.08));box-shadow:inset 0 0 14px rgba(255,226,181,.14),0 15px 24px rgba(0,0,0,.32)}
#afterHours .ah-virtual-whiskey:before{content:'';position:absolute;bottom:5px;left:5px;right:5px;height:calc(80%*var(--whiskey-level));background:linear-gradient(#d69e47,#763913);border-radius:3px 3px 14px 14px;transition:height .35s}
@media(max-width:620px){#afterHours .ah-story-cue a{font-size:11px;padding:8px 10px}#afterHours .ah-chips-hud{font-size:15px}}

/* Optional separated actor technical preview (?zKit=1). Single sprite on an empty set. */
#afterHours .ah-scene.ah-zkit-active{background-image:url('../../after-hours/assets/bar-empty-r128.webp')!important}
#afterHours .ah-zkit{position:absolute;inset:0;z-index:1;pointer-events:none;background:transparent url('../../after-hours/assets/z-pose-wipe.webp') center center/cover no-repeat}
@media(max-width:900px){#afterHours .ah-zkit{background-position:58% center}}
@media(max-width:620px){#afterHours .ah-zkit{background-position:61% center;background-size:auto 100%}}

/* ================================================================
   R140 · BAR Z — one actor, one photographic scene, real interactions
   No duplicated bartender, floating watch or synthesized music.
   ================================================================ */
#afterHours{--ah-navy:#071521;--ah-gold:#d8ae72;--ah-cream:#f7e4c5;--ah-wood:#281a17;--ah-glass:rgba(14,24,29,.91);background:#07141e}
#afterHours .ah-scene{background-image:url('../../after-hours/assets/bar-empty-r128.webp')!important;background-position:center center!important;background-size:cover!important;animation:none!important}
#afterHours .ah-scene:before{z-index:2;background:linear-gradient(180deg,rgba(4,10,14,.24),rgba(4,10,14,0) 32%,rgba(5,9,14,0) 60%,rgba(6,10,15,.58) 100%),linear-gradient(90deg,rgba(4,15,21,.18),transparent 38%,rgba(9,13,12,.10));pointer-events:none}
#afterHours .ah-scene:after{z-index:3;box-shadow:inset 0 0 135px rgba(2,7,11,.26)}
#afterHours .ah-zkit{position:absolute;inset:0;z-index:1;display:block!important;background-size:cover;background-position:center center;background-repeat:no-repeat;pointer-events:none;transform:translate3d(0,0,0);transform-origin:58% 80%;will-change:transform;transition:transform 1.25s cubic-bezier(.22,.8,.18,1),opacity .36s ease;filter:saturate(.98) contrast(1.035)}
#afterHours .ah-zkit[data-pose="lean"]{transform:translate3d(-1.2%,0,0) rotate(-.25deg)}
#afterHours .ah-zkit[data-pose="reach"],#afterHours .ah-zkit[data-pose="mix"]{transform:translate3d(1.6%,0,0) rotate(.2deg)}
#afterHours .ah-zkit[data-pose="rest"]{transform:translate3d(-.6%,1%,0)}
#afterHours .ah-zkit[data-pose="walk"]{transform:translate3d(4.6%,.2%,0) scale(.975)}
#afterHours .ah-zkit[data-pose="watch"]{transform:translate3d(-.3%,.3%,0)}
/* The watch stays attached to the photo's actual bracelet-side wrist, not the desktop viewport. */
#afterHours .ah-z-wristwatch{position:absolute;left:46.2%;top:59.6%;width:1.75%;aspect-ratio:1;min-width:10px;border:2px solid #b8bcc0;background:radial-gradient(circle at 39% 32%,#23313a 0 10%,#0d1118 49%,#101724 73%,#080e13 100%);border-radius:50%;transform:rotate(-18deg);box-shadow:0 0 0 1px #333e46,inset 0 0 0 2px #4f5c67,0 1px 2px #0009;opacity:.88}
#afterHours .ah-z-wristwatch:before,#afterHours .ah-z-wristwatch:after{content:"";position:absolute;left:35%;width:33%;height:25%;background:linear-gradient(90deg,#282e37,#78818a,#303942);border:1px solid #818b91;z-index:-1}
#afterHours .ah-z-wristwatch:before{top:-19%}#afterHours .ah-z-wristwatch:after{bottom:-19%}
#afterHours .ah-z-wristwatch{background-image:linear-gradient(27deg,transparent 47%,#e2ddd0 48% 50%,transparent 51%),linear-gradient(150deg,transparent 47%,#e0d4b9 48% 50%,transparent 51%),radial-gradient(ellipse at 38% 27%,#24303a,#080e14 70%)}
#afterHours .ah-scene-sign{position:absolute;left:6.5%;top:54%;display:grid;gap:4px;min-width:178px;z-index:3;pointer-events:none;opacity:.84;text-align:center;transform:rotate(-2deg);border-top:1px solid rgba(222,177,99,.42);border-bottom:1px solid rgba(222,177,99,.27);padding:9px 15px 11px;text-shadow:0 2px 16px #02070c}
#afterHours .ah-scene-sign small{color:#bca17f;font:500 8px/1.4 'IBM Plex Sans',sans-serif;letter-spacing:.36em}
#afterHours .ah-scene-sign b{color:#f4d5a2;font:normal 36px/1 'IBM Plex Serif',Georgia,serif;letter-spacing:.16em}
#afterHours .ah-scene-sign i{color:#c0a583;font:italic 11px/1.1 'IBM Plex Serif',Georgia,serif}
#afterHours .ah-warm-shelf{position:absolute;z-index:0;left:44%;top:10%;width:31%;height:59%;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 27px,rgba(202,117,57,.045) 32px 37px,transparent 40px 55px),radial-gradient(ellipse at 55% 52%,rgba(223,128,42,.16),transparent 55%);mix-blend-mode:screen}
#afterHours .ah-grain{opacity:.035}
#afterHours .ah-rain{opacity:.35}
#afterHours .ah-ripple{opacity:.38}
#afterHours .ah-brand{max-width:250px}
#afterHours .ah-brand strong{font-size:clamp(21px,2.1vw,33px);line-height:1.12;letter-spacing:.01em}
#afterHours .ah-brand small{font-size:9px;letter-spacing:.19em}
#afterHours .ah-dialogue{left:clamp(24px,18vw,330px);top:clamp(130px,20vh,245px);max-width:min(370px,36vw);background:linear-gradient(135deg,rgba(9,18,24,.90),rgba(38,25,21,.85));border-radius:16px;border-color:rgba(214,176,118,.47);box-shadow:0 16px 50px rgba(0,0,0,.29);padding:17px 19px;pointer-events:auto}
#afterHours .ah-dialogue .ah-speaker{font-size:10px;color:#e6bf83;letter-spacing:.16em}
#afterHours .ah-dialogue p{font:normal 16px/1.5 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:0;max-height:140px;overflow-y:auto}
#afterHours .ah-command-strip button{font-size:12px}
#afterHours .ah-hotspot[data-target=Z]{z-index:4}
#afterHours .ah-hotspot[data-target=window]{z-index:4}
#afterHours .ah-panel{background:linear-gradient(145deg,rgba(12,23,28,.985),rgba(28,21,19,.975));border:1px solid rgba(214,174,104,.5);box-shadow:0 30px 98px #000a}
#afterHours .ah-panel h2{color:#f2d8aa}
#afterHours .ah-action{transition:transform .16s,border-color .16s,background-color .16s}
#afterHours .ah-action:hover{transform:translateY(-1px)}
/* Each drink has its own glassware, saucer, crema, milk art and ice. */
#afterHours .ah-drink-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 4px}
#afterHours .ah-drink-tile{min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:199px;padding:9px 10px 14px;border:1px solid rgba(235,198,137,.28);border-radius:15px;color:#f1ddbd;background:radial-gradient(circle at 50% 16%,rgba(237,169,85,.16),transparent 57%),linear-gradient(155deg,rgba(28,28,28,.8),rgba(13,28,35,.92));text-align:center;box-shadow:inset 0 1px rgba(255,255,255,.04)}
#afterHours .ah-drink-tile:hover,#afterHours .ah-drink-tile:focus-visible{border-color:#e0b879;background:radial-gradient(circle at 50% 16%,rgba(237,169,85,.21),transparent 57%),rgba(15,29,36,.94)}
#afterHours .ah-drink-tile strong{font:600 14px/1.15 'IBM Plex Sans',system-ui,sans-serif}
#afterHours .ah-drink-tile small{color:#b4a79b;font:11px/1.4 'IBM Plex Sans',system-ui,sans-serif;max-width:24ch}
#afterHours .ah-drink-illustration{width:100%;height:116px;display:flex;align-items:center;justify-content:center}
#afterHours .ah-drink-art{display:block;max-width:100%;max-height:116px;filter:drop-shadow(0 8px 8px #0009)}
#afterHours .ah-serve-tray.ah-served-r140{right:5.5%;bottom:19%;width:clamp(120px,15vw,225px);display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:auto}
#afterHours .ah-visual-cup{background:none!important;border:0!important;width:100%;height:clamp(108px,14vw,200px);padding:0;box-shadow:none!important;transform-origin:center bottom;animation:ah-cup-present .4s ease both}
#afterHours .ah-visual-cup .ah-drink-art{width:100%;height:100%;max-height:none;filter:drop-shadow(0 16px 10px #0009)}
#afterHours .ah-visual-cup .ah-liquid-layer{transform:scaleY(var(--level,1));transition:transform .38s ease;transform-box:fill-box;transform-origin:center bottom}
#afterHours .ah-visual-cup.empty .ah-liquid-layer{opacity:.08}
#afterHours .ah-served-r140 .ah-served-label{background:rgba(5,12,18,.70);padding:4px 10px;border-radius:999px;color:#e9c993;font-size:10px;max-width:190px;text-align:center;box-shadow:0 2px 10px #0005}
@keyframes ah-cup-present{from{opacity:0;transform:translateY(13px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Player audio: only selected library links; no synthetic oscillators. */
#afterHours .ah-music-collection{display:grid;gap:7px;margin:14px 0}
#afterHours .ah-music-choice{display:grid;grid-template-columns:24px 1fr;gap:1px 10px;align-items:center;text-align:left;border:1px solid #b4946544;background:rgba(10,29,35,.78);border-radius:12px;padding:11px 13px;color:#e9d5b6}
#afterHours .ah-music-choice span{grid-row:1/3;color:#e9b975;font-size:20px}
#afterHours .ah-music-choice strong{font-size:13px}
#afterHours .ah-music-choice small{color:#b7a699;font-size:11px}
#afterHours .ah-music-frame{aspect-ratio:16/9;border:1px solid #ddad6d55;border-radius:11px;overflow:hidden;background:#000;margin:12px 0}
#afterHours .ah-music-frame iframe{width:100%;height:100%;border:0}
#afterHours .ah-win .ah-dialogue{border-color:#edd397;box-shadow:0 12px 54px rgba(215,157,78,.32)}
#afterHours .ah-lose .ah-dialogue{border-color:#ad776a}
#afterHours .ah-result{line-height:1.5}
#afterHours .ah-card-table{background:radial-gradient(ellipse at 50% 40%,rgba(17,76,62,.45),rgba(7,30,30,.73));border:1px solid rgba(216,187,138,.21)}
#afterHours .ah-story-cue a{font-size:13px;line-height:1.45;background:rgba(11,30,38,.92)}
#afterHours .ah-story-cue a span{color:#e7be80}
#afterHours .ah-session{display:none}
#afterHours .ah-bottom{justify-content:center}
@media(max-width:1000px){
 #afterHours .ah-dialogue{left:22px;top:16vh;max-width:min(370px,48vw)}
 #afterHours .ah-serve-tray.ah-served-r140{right:6%;bottom:22%}
 #afterHours .ah-zkit{background-position:52% center}
}
@media(max-width:620px){
 #afterHours .ah-scene{background-size:auto 100%!important;background-position:61% center!important}
 #afterHours .ah-zkit{background-size:auto 100%;background-position:61% center;transition:transform 1.1s ease}
 /* Narrow view: do not place a decorative dial at a guessed wrist coordinate. */
 #afterHours .ah-z-wristwatch{display:none}
 #afterHours .ah-scene-sign{left:7%;top:58%;min-width:95px;padding:7px 8px}
 #afterHours .ah-scene-sign small{font-size:6px;letter-spacing:.17em}
 #afterHours .ah-scene-sign b{font-size:23px}
 #afterHours .ah-scene-sign i{font-size:8px}
 #afterHours .ah-dialogue{left:11px;top:clamp(95px,16dvh,176px);max-width:min(70vw,280px);padding:11px 13px;pointer-events:auto}
 #afterHours .ah-dialogue p{font-size:13px;max-height:104px}
 #afterHours .ah-serve-tray.ah-served-r140{right:0;bottom:clamp(90px,15vh,142px);width:112px;gap:2px;z-index:7}
 #afterHours .ah-visual-cup{height:108px}
 #afterHours .ah-served-r140 .ah-served-label{font-size:9px;max-width:112px;line-height:1.15}
 #afterHours .ah-drink-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #afterHours .ah-drink-tile{min-height:161px;padding:5px 6px 10px}
 #afterHours .ah-drink-illustration{height:91px}
 #afterHours .ah-drink-art{max-height:92px}
 #afterHours .ah-drink-tile strong{font-size:12px}
 #afterHours .ah-drink-tile small{font-size:10px}
 #afterHours .ah-header{gap:6px}
 #afterHours .ah-brand strong{font-size:18px}
 #afterHours .ah-brand small{font-size:8px}
 #afterHours .ah-header-actions{max-width:62%}
 #afterHours .ah-icon-button{min-height:32px;padding:7px 9px}
 #afterHours .ah-bottom{padding:8px 12px max(14px,env(safe-area-inset-bottom))}
 #afterHours .ah-panel{max-height:63dvh}
}
@media(prefers-reduced-motion:reduce){#afterHours .ah-zkit,#afterHours .ah-visual-cup,#afterHours .ah-grain{animation:none!important;transition:none!important}}

/* A real entry to the original Bar room, not a hidden secret. */
#afterHours .ah-bar-journal{position:absolute;left:17%;bottom:8.5%;z-index:6;display:grid;justify-items:start;gap:4px;min-width:190px;max-width:230px;padding:12px 19px 13px;text-align:left;transform:rotate(-4deg);background:linear-gradient(125deg,rgba(39,22,17,.96),rgba(77,44,29,.93) 48%,rgba(31,23,23,.96));border:1px solid rgba(215,169,111,.56);border-left:5px ridge #c39c6a;border-radius:3px 10px 8px 3px;color:#edd4a9;box-shadow:3px 5px 1px rgba(7,9,9,.8),0 14px 28px #0009,inset 0 0 0 2px #d9b27d22;transition:transform .24s,filter .24s}
#afterHours .ah-bar-journal:hover{transform:rotate(-2deg) translateY(-4px);filter:brightness(1.10)}
#afterHours .ah-bar-journal small{font:700 9px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.16em;color:#bd9e73}
#afterHours .ah-bar-journal b{font:normal 19px/1.2 'IBM Plex Serif',Georgia,serif;color:#f6e4c8}
#afterHours .ah-bar-journal i{font:italic 10px/1.2 'IBM Plex Serif',serif;color:#ddbb87}
@media(max-width:900px){#afterHours .ah-bar-journal{left:14%;bottom:12%;min-width:135px;max-width:166px;padding:9px 12px}#afterHours .ah-bar-journal b{font-size:15px}}
@media(max-width:620px){#afterHours .ah-bar-journal{display:none}}
/* No oval focus/hover halo over Z's body: it reads like a broken sprite. */
#afterHours .ah-hotspot[data-target="Z"]:hover,#afterHours .ah-hotspot[data-target="Z"]:focus-visible{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
#afterHours .ah-hotspot[data-target="Z"]{outline:none!important}



/* ================== after-hours/after-hours.r141.css ================== */
/* R141 / Thành Phố Đêm — separate cinematic actor, real drink artwork, public story wall */
#afterHours .ah-scene{
  background-image:url('../../after-hours/assets/bar-empty-r141.webp')!important;
  background-size:cover!important;background-position:center center!important;
  animation:none!important;
}
#afterHours .ah-zkit.ah-z-actor,
#afterHours .ah-zkit.ah-z-actor[data-pose]{
  position:absolute!important;inset:auto!important;left:57%!important;bottom:17.5%!important;
  height:min(78vh,760px)!important;width:min(78vh,760px)!important;
  z-index:1!important;background:none!important;background-image:none!important;
  filter:none!important;overflow:visible!important;opacity:1!important;
  transform:translateX(-50%)!important;
  transition:transform .7s cubic-bezier(.2,.7,.2,1)!important;
  pointer-events:none!important;will-change:auto!important;
}
#afterHours .ah-zkit.ah-z-actor.ah-z-near-shelf,
#afterHours .ah-zkit.ah-z-actor.ah-z-near-shelf[data-pose]{transform:translateX(-42%)!important}
#afterHours .ah-z-portrait{width:100%;height:100%;object-fit:contain;display:block;image-rendering:auto;opacity:1;filter:drop-shadow(0 8px 12px rgba(0,0,0,.18));}
#afterHours .ah-z-wristwatch{display:none!important}
#afterHours .ah-counter-foreground{position:absolute;inset:0;z-index:2;pointer-events:none;background:url('../../after-hours/assets/counter-front-r141.webp') center center/cover no-repeat;}
#afterHours .ah-scene-sign{display:none!important}
#afterHours .ah-warm-shelf{display:none!important}
#afterHours .ah-rain{opacity:.18!important;mix-blend-mode:screen}
#afterHours .ah-grain{opacity:.035!important}
#afterHours .ah-dialogue{z-index:8;max-width:min(375px,33vw);left:clamp(20px,18vw,320px);top:clamp(145px,19vh,230px);bottom:auto}
#afterHours .ah-dialogue p{max-height:155px}
#afterHours .ah-dialogue-tag{display:none}
/* A real wall of posts in the room, not a fake menu card */
#afterHours .ah-story-wall{position:absolute;z-index:7;top:clamp(124px,15vh,190px);right:clamp(12px,2vw,42px);width:clamp(215px,21vw,326px);max-height:min(58vh,560px);overflow:auto;pointer-events:auto;border:5px ridge #54371f;border-radius:6px;background:linear-gradient(140deg,#372318,#2d1c17 52%,#422816);box-shadow:inset 0 0 0 1px rgba(249,207,134,.16),0 10px 40px rgba(0,0,0,.55);padding:17px 15px 12px;transform:rotate(1deg)}
#afterHours .ah-story-wall:before{content:'';position:absolute;inset:7px;border:1px solid rgba(197,138,82,.12);pointer-events:none}
#afterHours .ah-story-wall-head{position:relative;text-align:center;display:grid;gap:5px;margin-bottom:18px;border-bottom:1px solid #a87c4e61;padding-bottom:12px}
#afterHours .ah-story-wall-head small{color:#c5a178;font:700 8px/1.4 'IBM Plex Sans',sans-serif;letter-spacing:.21em}
#afterHours .ah-story-wall-head strong{font:normal 23px/1.15 'IBM Plex Serif',Georgia,serif;color:#e8cfa9}
#afterHours .ah-story-wall-head span{font:italic 10px/1.3 'IBM Plex Serif',Georgia,serif;color:#bc9c77}
#afterHours .ah-post-wall-list{display:grid;gap:10px}
#afterHours .ah-post-note{position:relative;display:grid;gap:5px;padding:16px 12px 11px;border-radius:2px;text-decoration:none!important;background:linear-gradient(138deg,#dfc49d,#cdb48a);color:#3a271b!important;box-shadow:3px 4px 0 rgba(0,0,0,.16),0 8px 16px #0006;transform:rotate(-1.5deg);transition:transform .2s,box-shadow .2s;}
#afterHours .ah-post-note.ah-note-1{transform:rotate(1.5deg);background:linear-gradient(138deg,#e0c6aa,#cfb393)}
#afterHours .ah-post-note.ah-note-2{transform:rotate(-.5deg);background:linear-gradient(138deg,#d8c8af,#c2b89f)}
#afterHours .ah-post-note:hover{transform:rotate(0deg) translateY(-2px);box-shadow:0 10px 20px #0007}
#afterHours .ah-post-note i{position:absolute;top:-7px;left:48%;font-size:16px;color:#b14a42;text-shadow:0 2px 2px #0006;font-style:normal}
#afterHours .ah-post-note small{font:600 10px/1.25 'IBM Plex Sans',sans-serif;color:#75543b}
#afterHours .ah-post-note strong{font:normal 13px/1.33 'IBM Plex Serif',Georgia,serif;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;min-height:1.8em}
#afterHours .ah-post-note span{font:600 10px/1.3 'IBM Plex Sans',sans-serif;color:#744523;border-top:1px solid rgba(102,66,35,.24);padding-top:5px}
#afterHours .ah-wall-bar-link{width:100%;margin-top:14px;padding:10px 8px;border:1px solid rgba(239,200,135,.32);border-radius:8px;color:#efd8ae;background:#251914;font:600 11px/1.4 'IBM Plex Sans',sans-serif;}
#afterHours .ah-wall-empty{font-size:12px;color:#d8b98e;line-height:1.6}
#afterHours .ah-wall-mini{display:none;}
#afterHours .ah-wall-panel-list{display:grid;gap:10px;margin:14px 0}
#afterHours .ah-wall-panel-post{display:grid;gap:5px;padding:12px;border-radius:12px;color:#f5dfb9!important;background:linear-gradient(130deg,rgba(67,43,31,.8),rgba(18,32,38,.8));border:1px solid #be975b70;text-decoration:none!important}
#afterHours .ah-wall-panel-post small{font-size:10px;color:#acb9ad}
#afterHours .ah-wall-panel-post strong{font:normal 15px/1.4 'IBM Plex Serif',Georgia,serif}
#afterHours .ah-wall-panel-post span{font:600 11px/1.3 'IBM Plex Sans',sans-serif;color:#e5b973}
/* Real asset per drink and per fill amount, no clipped CSS layer escaping its vessel. */
#afterHours .ah-drink-image{display:block;width:100%;height:100%;max-height:135px;object-fit:contain;filter:drop-shadow(0 8px 5px rgba(0,0,0,.30));}
#afterHours .ah-drink-gallery{gap:10px}
#afterHours .ah-drink-tile{min-height:190px;gap:4px}
#afterHours .ah-drink-illustration{height:119px;width:100%}
#afterHours .ah-visual-cup .ah-drink-image{width:100%;height:100%;max-height:none;transition:transform .23s ease;}
#afterHours .ah-visual-cup:active .ah-drink-image{transform:rotate(-7deg)}
#afterHours .ah-visual-cup.empty .ah-drink-image{opacity:1!important}
#afterHours .ah-served-r140{z-index:8;bottom:16%!important;right:24%!important;}
#afterHours .ah-serve-tray.ah-served-r140{width:clamp(125px,13vw,202px)}
#afterHours .ah-visual-cup{height:clamp(116px,14vw,188px)}
#afterHours .ah-served-label{background:rgba(13,20,23,.82)!important;color:#f5dfb5!important}
#afterHours .ah-dialogue p{font-family:'IBM Plex Sans',system-ui,sans-serif;letter-spacing:0}
@media(max-width:1150px){
 #afterHours .ah-story-wall{right:8px;width:205px;top:20vh}
 #afterHours .ah-dialogue{left:25px;max-width:37vw}
 #afterHours .ah-zkit.ah-z-actor,#afterHours .ah-zkit.ah-z-actor[data-pose]{left:55%!important;}
}
@media(max-width:760px){
 #afterHours .ah-story-wall{display:none!important}
 #afterHours .ah-wall-mini{display:flex;align-items:center;gap:7px;position:absolute;z-index:8;right:12px;top:clamp(90px,13dvh,145px);padding:9px 12px;max-width:46%;border:1px solid rgba(229,181,108,.6);border-radius:14px;background:rgba(25,21,21,.85);color:#f1d1a0;font:600 11px/1.25 'IBM Plex Sans',sans-serif;box-shadow:0 9px 23px #0005}
 #afterHours .ah-wall-mini b{font-size:10px;color:#271911;background:#e6c18b;padding:2px 5px;border-radius:999px}
 #afterHours .ah-scene{background-size:auto 100%!important;background-position:57% center!important}
 #afterHours .ah-counter-foreground{background-size:auto 100%;background-position:57% center}
 #afterHours .ah-zkit.ah-z-actor,#afterHours .ah-zkit.ah-z-actor[data-pose]{left:58%!important;bottom:23%!important;width:min(70dvh,600px)!important;height:min(70dvh,600px)!important;}
 #afterHours .ah-zkit.ah-z-actor.ah-z-near-shelf{transform:translateX(-45%)!important}
 #afterHours .ah-dialogue{left:10px;top:clamp(102px,16dvh,160px);max-width:55vw;padding:10px 12px}
 #afterHours .ah-dialogue p{font-size:12px}
 #afterHours .ah-serve-tray.ah-served-r140{bottom:18%!important;right:4%!important;width:112px;}
 #afterHours .ah-drink-tile{min-height:151px}
 #afterHours .ah-drink-illustration{height:94px}
}
@media(max-width:380px){
 #afterHours .ah-zkit.ah-z-actor,#afterHours .ah-zkit.ah-z-actor[data-pose]{left:59%!important;bottom:23%!important;height:68dvh!important;width:68dvh!important}
 #afterHours .ah-wall-mini{top:clamp(90px,12dvh,125px);padding:8px 9px;max-width:48%}
 #afterHours .ah-dialogue{max-width:52vw}
}
@media(prefers-reduced-motion:reduce){#afterHours .ah-zkit.ah-z-actor{transition:none!important}#afterHours .ah-drink-image{transition:none!important}}



/* ================== after-hours/after-hours.r142.css ================== */
/* R142 — event-driven Z, compact wall with inline comments, detachable mini player */
#afterHours .ah-zkit.ah-z-actor{transition:transform 1.4s ease!important}
#afterHours .ah-story-wall{max-height:min(49vh,460px)!important;overflow:hidden!important;transform:none!important;padding:12px!important}
#afterHours .ah-story-wall-head{margin-bottom:9px!important;padding-bottom:7px!important}
#afterHours .ah-story-wall-head strong{font-size:19px!important}
#afterHours .ah-post-wall-list{gap:7px!important}
#afterHours .ah-post-note{width:100%;text-align:left;cursor:pointer;padding:11px 9px 8px!important;display:grid;border:0;color:#302119;font-family:inherit}
#afterHours .ah-post-note strong{min-height:0!important;-webkit-line-clamp:2!important;font-size:12px!important}
#afterHours .ah-post-note em{font:italic 10px/1.35 'IBM Plex Serif',serif;color:#6c5643;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#afterHours .ah-post-note span{font-size:9px!important}
#afterHours .ah-wall-footer{margin-top:8px}
#afterHours .ah-wall-bar-link{margin-top:0!important}
#afterHours .ah-story-cue button,#afterHours .ah-story-cue a{border:1px solid #b78b57;background:#201b18;color:#ebc68b;cursor:pointer;padding:8px 10px;border-radius:9px;font-size:12px;text-align:left;max-width:100%}
#afterHours .ah-wall-panel-post{width:100%;text-align:left;cursor:pointer}
#afterHours .ah-wall-panel-post em{font:italic 12px/1.4 'IBM Plex Serif',Georgia,serif;color:#b5a088;overflow-wrap:anywhere}
#afterHours .ah-wall-reader{display:grid;gap:12px;min-width:0}
#afterHours .ah-wall-reader>small{color:#d2af80;letter-spacing:.12em}
#afterHours .ah-wall-reader h2{margin:0}
#afterHours .ah-wall-reader h3{color:#f0d0a0;font:normal 21px/1.35 Georgia,serif;margin:6px 0 0}
#afterHours .ah-wall-reader h3 span{font:12px/1.3 system-ui;color:#bba987}
#afterHours .ah-wall-article{background:rgba(226,201,162,.08);border:1px solid rgba(226,201,162,.18);padding:15px;border-radius:13px;color:#f2e5d2;font:15px/1.7 'IBM Plex Serif',Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;max-height:26vh;overflow-y:auto}
#afterHours .ah-inline-comments{display:grid;gap:9px;max-height:25vh;overflow-y:auto}
#afterHours .ah-inline-comment{border-left:2px solid #9b704b;background:rgba(255,241,211,.06);padding:9px 11px;border-radius:0 9px 9px 0}
#afterHours .ah-inline-comment b{font-size:11px;color:#eac798}
#afterHours .ah-inline-comment p{margin:4px 0 0;font:12px/1.5 'IBM Plex Sans',sans-serif;color:#e9dfd3;overflow-wrap:anywhere}
#afterHours .ah-wall-reader form{display:grid;gap:8px}
#afterHours .ah-wall-reader textarea{resize:vertical;min-height:75px}
#afterHours .ah-bar-entry-list{display:grid;gap:9px;max-height:27vh;overflow-y:auto}
#afterHours .ah-music-float{position:absolute;z-index:21;top:auto;right:18px;bottom:90px;width:320px;max-width:calc(100vw - 12px);border:1px solid rgba(226,183,105,.65);border-radius:14px;background:#15191c;box-shadow:0 20px 66px #000b;overflow:hidden;pointer-events:auto}
#afterHours .ah-music-float-head{display:flex;align-items:center;gap:7px;padding:10px 9px;background:linear-gradient(130deg,#403023,#201b1b);color:#ecd1a6;touch-action:none;cursor:grab;user-select:none}
#afterHours .ah-music-float-head:active{cursor:grabbing}
#afterHours .ah-music-float-head strong{font:600 12px/1.3 system-ui;min-width:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#afterHours .ah-music-float-handle{font-size:17px;opacity:.8}
#afterHours .ah-music-float-tools{display:flex;gap:2px}
#afterHours .ah-music-float-tools button{width:28px;height:28px;cursor:pointer;border:1px solid #a9805770;border-radius:7px;background:#261f1b;color:#efd3a7}
#afterHours .ah-music-float-body{padding:8px}
#afterHours .ah-music-float-body iframe{width:100%;aspect-ratio:16/9;border:0;background:#000;border-radius:8px;display:block}
#afterHours .ah-music-float-body small{display:block;padding:5px 3px 0;color:#ae9b80;line-height:1.4}
#afterHours .ah-music-float.minimized .ah-music-float-body{display:none}
@media(max-width:760px){#afterHours .ah-music-float{right:8px;bottom:calc(79px + env(safe-area-inset-bottom));width:min(320px,calc(100vw - 16px));max-width:calc(100vw - 12px)}#afterHours .ah-story-wall{display:none!important}#afterHours .ah-wall-reader .ah-wall-article{max-height:20dvh}#afterHours .ah-inline-comments{max-height:21dvh}#afterHours .ah-music-float-body small{font-size:10px}}
@media(prefers-reduced-motion:reduce){#afterHours .ah-zkit.ah-z-actor{transition:none!important}}
@media(min-width:761px){#afterHours [data-music-launch]{display:none!important}}
#afterHours .ah-panel:has(#ahMusicList){max-height:min(45dvh,390px)!important}
@media(max-width:760px){#afterHours .ah-panel:has(#ahMusicList){max-height:min(42dvh,330px)!important}}



/* ================== after-hours/after-hours.r143.css ================== */
/* R143 · story+library wall + event-specific crisp pose images */
#afterHours .ah-story-wall-head{margin-bottom:12px}
#afterHours .ah-story-wall-head strong{font-size:24px}
#afterHours .ah-post-note em{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:italic 11px/1.45 'IBM Plex Serif',Georgia,serif;color:#624933;max-height:3em;overflow-wrap:anywhere}
#afterHours .ah-story-new{float:right;margin-left:8px;color:#fff1c8;background:#954a3c;border-radius:10px;padding:1px 5px;font:700 9px/1.5 'IBM Plex Sans',sans-serif}
#afterHours .ah-wall-panel-list{max-height:60vh;overflow:auto;min-width:0}
#afterHours .ah-wall-row .ah-post-note{width:100%;max-width:100%;box-sizing:border-box;text-align:left;transform:none!important;box-shadow:0 4px 13px rgba(0,0,0,.35)}
#afterHours .ah-wall-reader .ah-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#afterHours .ah-wall-reader .ah-actions button{flex:1 1 140px}
#afterHours .ah-wall-reader .ah-wall-article{max-height:34vh;overflow:auto}
#afterHours .ah-zkit.ah-z-actor,#afterHours .ah-z-portrait{filter:none!important;animation:none!important}
#afterHours .ah-zkit.ah-z-actor{transition:transform .55s ease!important}
#afterHours .ah-zkit.ah-z-actor.ah-z-near-shelf{transform:translateX(-45%)!important}
#afterHours .ah-zkit.ah-z-actor[data-pose="point"]{transform:translateX(-48%)!important}
#afterHours .ah-zkit.ah-z-actor[data-pose="deal"],#afterHours .ah-zkit.ah-z-actor[data-pose="serve"]{transform:translateX(-52%)!important}
@media(max-width:760px){
 #afterHours .ah-wall-panel-list{max-height:52vh}
 #afterHours .ah-post-note em{font-size:10px}
 #afterHours .ah-zkit.ah-z-actor[data-pose="point"],#afterHours .ah-zkit.ah-z-actor[data-pose="deal"],#afterHours .ah-zkit.ah-z-actor[data-pose="serve"]{transform:translateX(-50%)!important}
}
@media(prefers-reduced-motion:reduce){#afterHours .ah-zkit.ah-z-actor{transition:none!important}}



/* ================== after-hours/after-hours.r144.css ================== */
/* R144 - human-readable wall, no music/video in stories, grounded photographic drinks */
#afterHours .ah-post-wall-list .ah-post-note:nth-child(n+4){display:none}
#afterHours .ah-story-wall{max-height:min(66vh,620px);overflow:auto;scrollbar-width:thin}
#afterHours .ah-wall-group{margin:20px 0 26px;min-width:0}
#afterHours .ah-wall-group h3{font:normal 24px/1.2 'IBM Plex Serif',Georgia,serif;color:#f1d3a4;margin:0 0 5px}
#afterHours .ah-wall-group .ah-small{margin:0 0 10px;color:#b8a68d}
#afterHours .ah-wall-group .ah-wall-panel-list{max-height:none;overflow:visible;display:grid;gap:12px}
#afterHours .ah-wall-reader{gap:12px}
#afterHours .ah-wall-reader .ah-wall-article.ah-full-article{max-height:none!important;overflow:visible!important;line-height:1.8;font-size:15px;padding:18px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere}
#afterHours .ah-wall-reader .ah-inline-comments.ah-full-comments{max-height:none!important;overflow:visible!important;display:grid;gap:9px}
#afterHours .ah-wall-reader .ah-inline-comment{padding:11px 12px;border-radius:12px;background:rgba(13,28,37,.66)}
#afterHours .ah-wall-reader .ah-inline-comment p{margin:4px 0 0}
#afterHours .ah-wall-reader .ah-actions .primary{width:100%;flex-basis:100%;text-align:center}
#afterHours .ah-drink-illustration{height:147px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:13px;background:radial-gradient(ellipse at 50% 66%,rgba(208,155,82,.15),transparent 70%),linear-gradient(160deg,rgba(39,32,31,.44),rgba(13,22,27,.33))}
#afterHours .ah-drink-illustration .ah-photo-drink{width:100%;height:100%;max-height:142px;object-fit:contain;filter:drop-shadow(0 14px 10px rgba(0,0,0,.42));transition:transform .2s ease}
#afterHours .ah-drink-tile:hover .ah-photo-drink{transform:translateY(-3px) scale(1.05)}
#afterHours .ah-drink-tile{border-color:rgba(220,176,111,.22);background:linear-gradient(160deg,rgba(25,32,38,.94),rgba(24,21,22,.91))}
#afterHours .ah-visual-cup .ah-svg-glass{filter:drop-shadow(0 10px 9px rgba(0,0,0,.43)) drop-shadow(0 0 8px rgba(218,159,76,.12));}
#afterHours .ah-zkit[data-pose="read"]{transition:transform .45s ease!important}
@media(max-width:760px){
 #afterHours .ah-drink-illustration{height:108px}
 #afterHours .ah-drink-illustration .ah-photo-drink{max-height:105px}
 #afterHours .ah-wall-reader .ah-wall-article.ah-full-article{font-size:14px;line-height:1.75;padding:12px}
 #afterHours .ah-wall-group h3{font-size:22px}
}
@media(prefers-reduced-motion:reduce){#afterHours .ah-drink-tile:hover .ah-photo-drink{transform:none}}



/* ================== after-hours/after-hours.r145.css ================== */
/* Bar Z R145: 3 mới + 2 gợi ý; consistent hand-painted canvas drinks; guest login; stories */
#afterHours .ah-story-wall{max-height:min(73vh,700px);scrollbar-color:#9c704e #261b19}
#afterHours .ah-post-wall-list{display:grid;gap:8px}
#afterHours .ah-story-slot{display:grid;gap:4px;min-width:0}
#afterHours .ah-story-slot-kicker{font:700 8px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.18em;color:#e8bf87;opacity:.92;text-transform:uppercase;padding:0 2px}
#afterHours .ah-story-slot .ah-post-note{min-height:0!important;padding:9px 10px!important;gap:2px!important;transform:none!important;border-radius:3px}
#afterHours .ah-story-slot .ah-post-note strong{font-size:12px;line-height:1.27;min-height:0;-webkit-line-clamp:2}
#afterHours .ah-story-slot .ah-post-note em{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font:italic 10px/1.3 Georgia,serif;color:#634b37}
#afterHours .ah-story-slot .ah-post-note small{font-size:9px}
#afterHours .ah-story-slot .ah-post-note span{font-size:9px;padding-top:3px}
#afterHours .ah-story-slot .ah-post-note:hover{transform:translateY(-1px)!important}
#afterHours .ah-wall-footer .ah-wall-bar-link{margin-top:9px}
#afterHours .ah-drink-illustration{background:radial-gradient(ellipse at 50% 69%,rgba(222,157,70,.22),transparent 73%),linear-gradient(145deg,rgba(24,30,36,.92),rgba(28,21,22,.84));border:1px solid rgba(225,184,111,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -16px 25px rgba(9,10,15,.34)}
#afterHours .ah-drink-canvas{display:block;width:100%;height:100%;max-height:152px;object-fit:contain;filter:drop-shadow(0 9px 10px rgba(0,0,0,.30));transition:transform .22s ease}
#afterHours .ah-drink-tile:hover .ah-drink-canvas{transform:translateY(-3px) scale(1.055)}
#afterHours .ah-drink-tile .ah-drink-illustration{height:152px}
#afterHours .ah-visual-cup .ah-drink-canvas{display:block;width:100%;height:100%;max-height:none;object-fit:contain;filter:drop-shadow(0 12px 8px rgba(0,0,0,.38))}
#afterHours .ah-visual-cup:active .ah-drink-canvas{transform:rotate(-5deg)}
#afterHours .ah-visual-cup.empty{opacity:1!important}
#afterHours .ah-login-needed{margin:16px auto 12px;max-width:410px;padding:18px;border-radius:18px;border:1px solid rgba(224,184,112,.25);background:linear-gradient(135deg,rgba(20,28,32,.97),rgba(42,28,24,.93));color:#f5ddae}
#afterHours .ah-login-needed p{line-height:1.65;margin:0 0 12px}
#afterHours .ah-login-needed .ah-action{margin-top:10px}
#afterHours .ah-funny-copy{white-space:pre-wrap;overflow-wrap:anywhere;font:normal 17px/1.8 'IBM Plex Serif',Georgia,serif;color:#f4e4cd;padding:21px 19px;border-left:2px solid #d6ad75;border-radius:14px;background:linear-gradient(135deg,rgba(35,34,31,.83),rgba(21,34,38,.76));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
#afterHours .ah-story-slot:nth-child(4),#afterHours .ah-story-slot:nth-child(5){opacity:.95}
@media(max-width:760px){
 #afterHours .ah-drink-tile .ah-drink-illustration{height:112px}
 #afterHours .ah-drink-canvas{max-height:109px}
 #afterHours .ah-visual-cup .ah-drink-canvas{max-height:none}
 #afterHours .ah-funny-copy{font-size:15px;line-height:1.7;padding:14px}
}
@media(prefers-reduced-motion:reduce){#afterHours .ah-drink-canvas{transition:none!important}}



/* ================== assets/css/city-dock-popup.r129.css ================== */
/* R129: turn the three existing chips into one compact menu on mobile.
   Leave desktop, handlers, counters and badges untouched. */
#tpdLifeDock #tpdDockToggle{display:none}
@media(max-width:720px){
 html.tpd-dock-popup-ready body #tpdLifeDock{
  position:fixed!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
  left:auto!important;right:12px!important;bottom:calc(13px + env(safe-area-inset-bottom,0px))!important;
  width:min(173px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
  gap:6px!important;padding:0!important;margin:0!important;background:transparent!important;z-index:2147480800!important;
 }
 html.tpd-dock-popup-ready body #tpdLifeDock > .tpd-life-chip{display:none!important}
 html.tpd-dock-popup-ready body #tpdLifeDock > #tpdDockToggle{
  display:flex!important;align-items:center;justify-content:space-between;order:9;
  width:100%!important;min-height:52px;height:52px!important;border-radius:20px;
  padding:0 15px!important;border:1px solid rgba(232,193,128,.63)!important;
  background:linear-gradient(135deg,rgba(13,29,42,.98),rgba(31,26,32,.98))!important;
  color:#f6dfb4!important;font:600 13px/1.1 'IBM Plex Sans',sans-serif!important;
  box-shadow:0 7px 26px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,244,220,.10)!important;
  cursor:pointer;white-space:nowrap
 }
 html.tpd-dock-popup-ready body #tpdLifeDock.tpd-popup-open{
  width:min(296px,calc(100vw - 24px))!important;
  padding:9px!important;gap:7px!important;border-radius:24px!important;
  background:linear-gradient(155deg,rgba(13,28,40,.97),rgba(23,24,31,.98))!important;
  border:1px solid rgba(230,186,119,.45)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.65)!important;
 }
 html.tpd-dock-popup-ready body #tpdLifeDock.tpd-popup-open > .tpd-life-chip{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:none!important;min-width:0!important;width:100%!important;height:51px!important;min-height:51px!important;
  box-sizing:border-box!important;margin:0!important;padding:0 13px!important;gap:10px!important;
  border-radius:14px!important;white-space:nowrap!important;font:600 12px/1.2 'IBM Plex Sans',sans-serif!important;
  text-align:left!important;background:rgba(9,25,36,.86)!important
 }
 html.tpd-dock-popup-ready body #tpdLifeDock.tpd-popup-open > .tpd-life-chip .life-label{display:inline!important;white-space:nowrap!important;font:inherit!important}
 html.tpd-dock-popup-ready body #tpdLifeDock.tpd-popup-open > .tpd-life-chip .life-count{margin-left:auto!important;position:static!important}
 html.tpd-dock-popup-ready body #tpdLifeDock.tpd-popup-open > #tpdDockToggle{border-color:rgba(226,187,122,.38)!important;background:rgba(33,26,29,.9)!important}
}

@media(max-width:720px){
 html.show-overture.tpd-dock-popup-ready:not(:has(#cv)) body #tpdLifeDock{display:none!important}
}



/* ================== assets/css/city-dock-popup.r147.css ================== */
/* R147: honor the city intro state, not presence of the city canvas. */
html.show-overture body #tpdLifeDock,
html.show-overture body #tpdDockToggle,
html.show-overture body .tpd-dock-toggle {display:none!important;visibility:hidden!important;pointer-events:none!important;}
@media(max-width:720px){
 html.tpd-dock-popup-ready:not(.show-overture) body #tpdLifeDock{
   width:108px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
   max-width:calc(100vw - 24px)!important;
 }
 html.tpd-dock-popup-ready:not(.show-overture) body #tpdLifeDock > #tpdDockToggle{
   height:38px!important;min-height:38px!important;border-radius:13px!important;
   padding:0 10px!important;font:600 10px/1.1 'IBM Plex Sans',sans-serif!important;
   letter-spacing:.015em!important;gap:5px!important;
   background:linear-gradient(145deg,rgba(10,25,37,.97),rgba(23,26,32,.98))!important;
   box-shadow:0 5px 17px rgba(0,0,0,.46)!important;
 }
 html.tpd-dock-popup-ready:not(.show-overture) body #tpdDockToggle span:first-child{font-size:12px!important}
 html.tpd-dock-popup-ready:not(.show-overture) body #tpdDockToggle span:last-child{font-size:10px!important}
 html.tpd-dock-popup-ready:not(.show-overture) body #tpdLifeDock.tpd-popup-open{
   width:min(252px,calc(100vw - 24px))!important;padding:7px!important;gap:5px!important;
 }
 html.tpd-dock-popup-ready:not(.show-overture) body #tpdLifeDock.tpd-popup-open > .tpd-life-chip{
   height:44px!important;min-height:44px!important;border-radius:11px!important;
   font:600 11px/1.25 'IBM Plex Sans',sans-serif!important;
 }
 html.tpd-dock-popup-ready:not(.show-overture) body #tpdLifeDock.tpd-popup-open > #tpdDockToggle{height:38px!important}
 body:has(#afterHours) #tpdLifeDock{display:none!important}
}



/* ================== after-hours/after-hours.r147.css ================== */
/* R147: compact mobile controls, featured Bar writing and restored Bar room styling. */
#afterHours .ah-story-wall{max-height:min(48vh,445px)!important;overflow:auto!important}
#afterHours .ah-story-wall-head strong{font:normal 21px/1.2 'IBM Plex Serif',Georgia,serif!important;letter-spacing:.02em}
#afterHours .ah-story-slot{margin-bottom:1px}
#afterHours .ah-story-slot-kicker{color:#f0ce90!important}
#afterHours .ah-wall-footer{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
#afterHours .ah-wall-footer button{display:flex;align-items:center;justify-content:center;margin:0!important;min-height:33px;padding:7px 6px!important;border:1px solid rgba(226,181,112,.36);border-radius:9px!important;font:600 10px/1.35 'IBM Plex Sans',sans-serif!important;color:#ead5af;background:rgba(30,23,20,.9);cursor:pointer}
#afterHours .ah-story-slot .ah-post-note{background:linear-gradient(150deg,#edd9b8,#d8bc90)!important;border:1px solid rgba(104,74,49,.4)!important;box-shadow:0 3px 11px rgba(0,0,0,.27)!important}
#afterHours .ah-bar-room-reader{background:linear-gradient(180deg,rgba(14,28,34,.4),rgba(30,24,21,.3));border:1px solid rgba(228,182,112,.25);border-radius:19px;padding:13px;box-shadow:inset 0 1px 0 rgba(255,244,217,.06)}
#afterHours .ah-bar-room-hero{padding:22px 18px 19px;border:1px solid rgba(226,180,111,.33);border-radius:13px;background:radial-gradient(circle at 80% 18%,rgba(236,169,79,.19),transparent 37%),linear-gradient(135deg,#0c1e2c,#1a2426 65%,#33231e);position:relative;overflow:hidden}
#afterHours .ah-bar-room-hero:before{content:'✦';position:absolute;right:16px;top:10px;color:rgba(247,197,115,.32);font-size:47px}
#afterHours .ah-bar-room-hero small{display:block;color:#e4be80;font:600 10px/1.4 'IBM Plex Sans',sans-serif;letter-spacing:.2em}
#afterHours .ah-bar-room-hero h2{font:normal 30px/1.18 'IBM Plex Serif',Georgia,serif;color:#f4dfbd;margin:11px 0 6px}
#afterHours .ah-bar-room-hero p{font:italic 13px/1.6 'IBM Plex Serif',Georgia,serif;color:#b2bdba;margin:0}
#afterHours .ah-bar-room-entries{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#afterHours .ah-bar-room-entries button{display:grid;text-align:left;gap:9px;padding:13px!important;border-radius:13px!important;border:1px solid rgba(227,183,116,.24)!important;background:linear-gradient(150deg,rgba(28,42,48,.94),rgba(42,31,26,.93))!important;white-space:normal;cursor:pointer}
#afterHours .ah-bar-room-entries button:before{content:'✦  CHUYỆN Ở BAR';font:700 9px/1.4 'IBM Plex Sans',sans-serif;color:#ddbb82;letter-spacing:.11em}
#afterHours .ah-bar-room-entries button strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;color:#f3dfc0;font:normal 15px/1.48 'IBM Plex Serif',Georgia,serif}
#afterHours .ah-bar-room-entries button span{color:#d6b37a;font-size:11px}
#afterHours .ah-bar-room-reader .ah-inline-comments{max-height:28vh;overflow:auto}
@media(max-width:760px){
 #afterHours .ah-bottom{padding:6px 9px max(9px,env(safe-area-inset-bottom,0px))!important}
 #afterHours .ah-bottom .ah-compact-actions{display:flex!important;justify-content:flex-end;gap:6px!important}
 #afterHours .ah-bottom .ah-compact-actions button{min-height:36px!important;height:36px!important;min-width:0!important;padding:0 10px!important;border-radius:12px!important;font:600 10px/1 'IBM Plex Sans',sans-serif!important;letter-spacing:0!important;flex:0 0 auto!important}
 #afterHours .ah-compact-chat{max-width:102px!important}
 #afterHours .ah-compact-menu{max-width:99px!important}
 #afterHours .ah-bottom.ah-menu-open .ah-command-strip{width:min(252px,calc(100vw - 18px))!important;right:9px!important;left:auto!important;bottom:calc(55px + env(safe-area-inset-bottom,0px))!important;gap:4px!important;padding:8px!important;border-radius:15px!important}
 #afterHours .ah-bottom.ah-menu-open .ah-command-strip button{min-height:38px!important;font-size:11px!important;padding:8px!important}
 #afterHours .ah-panel{bottom:calc(56px + env(safe-area-inset-bottom,0px))!important;max-height:min(67dvh,600px)!important}
 #afterHours .ah-story-wall{display:none!important}
 #afterHours .ah-wall-mini{right:10px!important;top:max(75px,11vh)!important;font-size:10px!important;padding:7px 9px!important;max-width:50%!important}
 #afterHours .ah-dialogue{bottom:calc(64px + env(safe-area-inset-bottom,0px))!important;max-width:min(74vw,320px)!important;right:auto!important;left:10px!important;padding:9px 11px!important}
 #afterHours .ah-dialogue p{font-size:12px!important;line-height:1.38!important}
 #afterHours .ah-bar-room-entries{grid-template-columns:1fr}
 #afterHours .ah-bar-room-hero h2{font-size:25px}
}



/* ================== after-hours/after-hours.r149.css ================== */
/* Thành Phố Đêm R149 — stop the Bar Z speech bubble stretching on mobile.
   R140 supplies top and R147 supplies bottom!important; with auto height,
   CSS absolute positioning stretches the bubble between those anchors. */
@media (max-width:900px) {
  #afterHours .ah-dialogue {
    bottom: auto !important;
    height: max-content !important;
    min-height: 0 !important;
    max-height: min(38dvh, 240px) !important;
    box-sizing: border-box !important;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #afterHours .ah-dialogue p {
    max-height: min(25dvh, 138px) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    overflow-wrap: anywhere;
  }
}
@media (max-width:620px) {
  #afterHours .ah-dialogue {
    top: clamp(102px, 16dvh, 170px) !important;
    left: 10px !important;
    right: auto !important;
    width: max-content;
    max-width: min(75vw, 296px) !important;
    padding: 11px 13px !important;
    border-radius: 14px !important;
  }
}

