/* NYAAS FINAL UI 2026-08-15
   V10 behavior is retained. This file owns the visual layer only.
   Prior patch CSS is intentionally not loaded by index.html. */
:root{
  --n-pink:#e84b7d; --n-pink2:#ff7ca7; --n-deep:#c93668; --n-ink:#35272d;
  --n-muted:#80606d; --n-green:#079c76; --n-line:#f2a7bf; --n-bg:#fff9fb;
  --n-font:"Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
}
#room *,#navDrawer *,#sheet *,#menuOverlay *,#eventOverlay *,#startOverlay *,#tutorial *{box-sizing:border-box}
#room,#navDrawer,#sheet,#menuOverlay,#eventOverlay,#startOverlay,#tutorial{font-family:var(--n-font)}

/* ===== CONTACT ROOM / supplied outer frame, without top bows or bottom-center bow ===== */
#room.room-screen::before{
  content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:45!important;pointer-events:none!important;border:0!important;border-image:none!important;
  background-image:
    url("assets/ui_final_0815/outer_bl_paw.png"),url("assets/ui_final_0815/outer_br_paw.png"),
    url("assets/ui_final_0815/outer_top_clean.png"),url("assets/ui_final_0815/outer_bottom_clean.png"),
    url("assets/ui_final_0815/outer_left_clean.png"),url("assets/ui_final_0815/outer_right_clean.png")!important;
  background-position:left bottom,right bottom,center top,center bottom,left center,right center!important;
  background-size:9.5vh 9.5vh,9.5vh 9.5vh,100% 4.8vh,100% 4.9vh,4.8vh 100%,4.8vh 100%!important;
  background-repeat:no-repeat!important;filter:drop-shadow(0 .2vh .35vh rgba(100,38,63,.10))!important;
}
#room .room-vignette{box-shadow:inset 0 0 8vh rgba(76,34,51,.05)!important}

/* shared live-room cards */
#room .room-name-card,#room .buddy-bubble,#room .music-widget,#room .oshi-float,#room .quick-actions,#room .memory-quick,#room .memory-ribbon,
#room .room-visit-actions button,#room .room-hud span,#room .room-hamburger{border:0!important;outline:0!important;box-shadow:none!important;font-family:var(--n-font)!important}

/* cast name: keep supplied frame, add a readable white inner surface */
#room .room-name-card{position:absolute!important;left:2.5vh!important;top:2.5vh!important;width:30.0vh!important;height:11.5vh!important;padding:3.35vh 2.4vh 1.2vh 5.35vh!important;background:url("assets/ui_final_0815/cast_name.png") center/100% 100% no-repeat!important;overflow:visible!important;isolation:isolate!important}
#room .room-name-card::before{display:block!important;content:""!important;position:absolute!important;z-index:-1!important;left:4.45vh!important;right:2.0vh!important;top:3.25vh!important;bottom:1.75vh!important;border-radius:1.9vh!important;background:rgba(255,251,252,.94)!important;box-shadow:0 .25vh .8vh rgba(91,48,65,.08)!important}
#room .room-name-card::after{display:none!important}
#room .room-name-card small{display:block!important;margin:0 0 .55vh!important;color:#d84a79!important;font-size:clamp(10px,1.15vh,14px)!important;line-height:1!important;font-weight:950!important;letter-spacing:.16em!important}
#room .room-name-card>div{display:flex!important;align-items:center!important;gap:.8vh!important;margin:0!important;min-width:0!important}
#room .room-name-card b{color:var(--n-ink)!important;font-size:clamp(25px,3.05vh,34px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important}
#room .room-name-card em{color:var(--n-green)!important;font-size:clamp(10px,1.12vh,14px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important}

/* top controls */
#room .room-visit-actions{position:absolute!important;left:33.0vh!important;top:3.7vh!important;display:flex!important;gap:.75vh!important}
#room .room-visit-actions button{height:5.6vh!important;padding:0 1.25vh!important;background:url("assets/ui_final_0815/generic_pill.png") center/100% 100% no-repeat!important;color:var(--n-ink)!important;font-size:clamp(12px,1.35vh,16px)!important;font-weight:950!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:.35vh!important}
#room #changeCastBtn{width:12.3vh!important;min-width:12.3vh!important}#room #leaveShopBtn{width:13.6vh!important;min-width:13.6vh!important}
#room .room-visit-actions button span{font-size:1.5em!important}
#room .room-hud{position:absolute!important;right:11.0vh!important;top:2.65vh!important;display:flex!important;gap:.75vh!important}
#room .room-hud span{height:6.8vh!important;padding:.9vh 1.0vh .7vh!important;background:url("assets/ui_final_0815/generic_pill.png") center/100% 100% no-repeat!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;overflow:hidden!important}
#room .room-hud span:nth-child(1){width:17.0vh!important;min-width:17.0vh!important}#room .room-hud span:nth-child(2){width:12.7vh!important;min-width:12.7vh!important}
#room .room-hud small{position:static!important;display:block!important;margin:0 0 .20vh!important;color:#4a363e!important;font-size:clamp(9px,.94vh,12px)!important;line-height:1!important;font-weight:950!important;letter-spacing:.09em!important;white-space:nowrap!important}
#room .room-hud b{display:block!important;margin:0!important;color:#291e23!important;font-size:clamp(22px,2.55vh,30px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important}
#room .room-hud span:nth-child(1)::before{display:none!important}
#room .room-hamburger{position:absolute!important;right:1.9vh!important;top:2.0vh!important;width:8.2vh!important;height:8.2vh!important;padding:0!important;background:url("assets/ui_final_0815/hamburger.png") center/contain no-repeat!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:.42vh!important}
#room .room-hamburger i{display:block!important;width:2.65vh!important;height:.31vh!important;border-radius:99px!important;background:#fff!important}.room-hamburger::after{content:"メニュー"!important;position:absolute!important;bottom:.88vh!important;color:#fff!important;font-size:clamp(8px,.72vh,10px)!important;font-weight:950!important}

/* left stack */
#room .left-ui-stack{position:absolute!important;left:3.0vh!important;top:15.0vh!important;width:31.2vh!important;display:flex!important;flex-direction:column!important;gap:1.15vh!important}
#room .buddy-bubble{position:relative!important;width:31.2vh!important;height:17.0vh!important;min-height:17.0vh!important;padding:0!important;background:url("assets/ui_final_0815/staff_panel.png") center/100% 100% no-repeat!important;overflow:visible!important;text-align:left!important}
#room .buddy-bubble::before,#room .buddy-bubble::after{display:none!important}
#room .buddy-ribbon{position:absolute!important;left:7.2vh!important;top:2.52vh!important;width:19.4vh!important;color:#fff!important;text-shadow:0 .12vh .2vh rgba(102,35,60,.30)!important;font-size:clamp(11px,1.18vh,14px)!important;line-height:1!important;font-weight:950!important;text-align:center!important;white-space:nowrap!important;background:none!important}
#room .buddy-bubble img{position:absolute!important;left:3.25vh!important;top:7.1vh!important;width:5.75vh!important;height:5.75vh!important;border:.28vh solid #fff!important;outline:.1vh solid #ef9eb9!important;border-radius:1.25vh!important;object-fit:cover!important}
#room .buddy-copy{position:absolute!important;left:9.75vh!important;top:6.55vh!important;width:17.8vh!important;text-align:left!important;min-width:0!important}
#room .buddy-copy b{display:block!important;margin:0 0 .55vh!important;color:#d53f73!important;font-size:clamp(15px,1.72vh,20px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#room .buddy-copy em{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;color:#38292f!important;font-size:clamp(10px,1.08vh,13px)!important;line-height:1.35!important;font-weight:900!important}
#room .buddy-meta{display:block!important;margin-top:.45vh!important;color:#8e6675!important;font-size:clamp(8px,.78vh,10px)!important;font-weight:900!important}

#room .music-widget{position:relative!important;width:31.2vh!important;height:17.6vh!important;min-height:17.6vh!important;padding:0!important;background:url("assets/ui_final_0815/music_panel.png") center/100% 100% no-repeat!important;overflow:visible!important}
#room .music-widget::before,#room .music-widget::after{display:none!important}
#room .music-now{position:absolute!important;left:2.35vh!important;top:2.7vh!important;width:26.4vh!important;height:9.4vh!important;padding:.6vh .8vh .4vh 7.5vh!important;background:transparent!important;border:0!important;text-align:left!important;display:block!important}
#room .music-note-icon{position:absolute!important;left:.75vh!important;top:1.0vh!important;width:5.35vh!important;height:5.35vh!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:radial-gradient(circle at 55% 48%,#ee5588 0 11%,#1d1c20 12% 32%,#0a0a0b 33% 60%,#232328 61% 68%,#0d0d0e 69%)!important;color:transparent!important;border:.35vh solid #fff!important;outline:.12vh solid #ee97b4!important;box-shadow:0 .25vh .7vh rgba(65,36,47,.15)!important}
#room .music-copy{display:block!important;min-width:0!important}.music-copy small{display:block!important;color:#7354d8!important;font-size:clamp(9px,.96vh,12px)!important;line-height:1!important;font-weight:950!important;letter-spacing:.13em!important}.music-copy b{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;margin-top:.55vh!important;max-width:17.7vh!important;color:#34272c!important;font-size:clamp(14px,1.62vh,19px)!important;line-height:1.08!important;font-weight:950!important}.music-copy em{display:block!important;margin-top:.52vh!important;color:#e44c7e!important;font-size:clamp(9px,.92vh,11px)!important;font-weight:950!important}
#room .music-room-controls{position:absolute!important;left:2.25vh!important;right:2.25vh!important;bottom:1.9vh!important;display:grid!important;grid-template-columns:3.4vh 3.4vh 3.4vh 5.6vh 1fr!important;gap:.45vh!important;margin:0!important}
#room .music-room-controls button{height:3.05vh!important;border:.13vh solid #eba0b9!important;border-radius:99px!important;background:rgba(255,255,255,.93)!important;color:#b74d72!important;font-size:clamp(8px,.78vh,10px)!important;font-weight:950!important}.music-room-controls .room-track-play{background:#eb5e8c!important;color:#fff!important;border-color:#fff!important}.music-room-controls .random-btn{font-size:clamp(7px,.67vh,9px)!important}

/* right rank */
#room .oshi-float{position:absolute!important;right:4.4vh!important;top:14.4vh!important;width:26.6vh!important;height:37.0vh!important;min-height:37.0vh!important;padding:0!important;background:url("assets/ui_final_0815/rank_panel.png") center/100% 100% no-repeat!important;overflow:visible!important}
#room .oshi-float::before,#room .oshi-float::after{display:none!important}.oshi-ribbon{position:absolute!important;left:3.2vh!important;right:3.2vh!important;top:3.15vh!important;color:#d94275!important;font-size:clamp(14px,1.62vh,19px)!important;line-height:1!important;font-weight:950!important}.rank-guide-mini{position:absolute!important;right:2.65vh!important;top:2.55vh!important;width:2.35vh!important;height:2.35vh!important;border:.15vh solid #ee9db8!important;border-radius:50%!important;background:#fff!important;color:#df4b7b!important;font-size:clamp(10px,1.1vh,13px)!important;font-weight:950!important}
#room .oshi-float>b{position:absolute!important;left:3.0vh!important;right:3.0vh!important;top:6.2vh!important;margin:0!important;text-align:center!important;color:#d53b70!important;font-size:clamp(24px,2.85vh,33px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#room .oshi-float>em{position:absolute!important;left:3.0vh!important;right:3.0vh!important;top:9.35vh!important;margin:0!important;text-align:center!important;color:#49363e!important;font-size:clamp(9px,.95vh,12px)!important;line-height:1.15!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#room .meter{position:absolute!important;left:2.8vh!important;right:2.8vh!important;top:13.25vh!important;height:1.35vh!important;margin:0!important;border:0!important;background:transparent!important;overflow:hidden!important;border-radius:99px!important}.meter i{height:100%!important;border-radius:99px!important;background:linear-gradient(90deg,#ff80ac,#df3d75)!important}
#room .mini-stats{position:absolute!important;left:2.6vh!important;right:2.6vh!important;top:16.2vh!important;height:9.7vh!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:.65vh!important;margin:0!important}.mini-stats button{height:9.7vh!important;padding:.75vh .1vh .4vh!important;border:0!important;background:transparent!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.mini-stats button span{display:block!important;width:auto!important;height:auto!important;margin:0 0 .25vh!important;font-size:clamp(20px,2.25vh,26px)!important;line-height:1!important}.mini-stats button small{font-size:clamp(9px,.92vh,11px)!important;line-height:1!important;font-weight:950!important}.mini-stats button b{margin-top:.35vh!important;color:#30242a!important;font-size:clamp(20px,2.35vh,28px)!important;line-height:1!important;font-weight:950!important}
#room .mission-chip{position:absolute!important;left:2.8vh!important;right:2.8vh!important;bottom:2.9vh!important;height:6.7vh!important;padding:.85vh 1.0vh!important;border:0!important;background:transparent!important;text-align:left!important;overflow:hidden!important}.mission-chip small{font-size:clamp(8px,.78vh,10px)!important;color:#e65082!important;font-weight:950!important;letter-spacing:.07em!important}.mission-chip b{display:block!important;margin-top:.35vh!important;color:#35272d!important;font-size:clamp(10px,1.06vh,13px)!important;line-height:1.15!important;font-weight:950!important;white-space:normal!important}.mission-chip em{display:block!important;margin-top:.2vh!important;color:#795564!important;font-size:clamp(8px,.72vh,10px)!important;font-weight:900!important}

/* notebook: rank duplicate removed; content sits in fixed writing areas */
#room .right-bottom-tools{position:absolute!important;right:3.8vh!important;top:53.0vh!important;width:22.0vh!important;height:44.0vh!important;transform:none!important}.right-bottom-tools::before,.right-bottom-tools::after{display:none!important}.oshi-life{display:none!important}
#room .memory-quick{position:absolute!important;right:0!important;top:0!important;width:21.7vh!important;height:29.5vh!important;padding:0!important;background:url("assets/ui_final_0815/notebook.png") center/100% 100% no-repeat!important;color:var(--n-ink)!important;text-align:left!important;overflow:visible!important}
#room .memory-quick::before,#room .memory-quick::after{display:none!important}.memory-book-label{position:absolute!important;left:5.25vh!important;right:3.55vh!important;top:4.15vh!important;text-align:center!important;color:#df4679!important;font-size:clamp(15px,1.65vh,19px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important}.memory-today{position:absolute!important;left:5.25vh!important;right:3.55vh!important;top:6.25vh!important;text-align:center!important;color:#6f4e5b!important;font-size:clamp(8px,.76vh,10px)!important;font-weight:900!important}
#room #memoryRankMini{display:none!important}#room #memoryLoveMini{position:absolute!important;left:5.35vh!important;right:3.55vh!important;top:9.15vh!important;margin:0!important;color:#2f2328!important;font-size:clamp(14px,1.45vh,18px)!important;line-height:1!important;font-weight:950!important}#room #memoryNextMini{position:absolute!important;left:5.35vh!important;right:3.55vh!important;top:12.05vh!important;margin:0!important;color:#5c414b!important;font-size:clamp(10px,1.02vh,13px)!important;line-height:1.25!important;font-weight:900!important;white-space:normal!important;overflow:hidden!important;max-height:3em!important}.memory-reward-mini{position:absolute!important;left:5.25vh!important;right:3.55vh!important;bottom:3.65vh!important;display:grid!important;grid-template-columns:1fr!important;gap:.5vh!important}.memory-reward-mini i{height:1.75vh!important;padding:.25vh .55vh!important;border:.1vh solid #efa0bb!important;border-radius:99px!important;background:rgba(255,255,255,.74)!important;color:#654652!important;font-size:clamp(8px,.66vh,9px)!important;line-height:1.05!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#room .memory-ribbon{position:absolute!important;right:.2vh!important;bottom:1.0vh!important;width:16.0vh!important;height:6.8vh!important;padding:1.55vh 1.1vh .6vh!important;background:url("assets/ui_final_0815/memory_frame.png") center/100% 100% no-repeat!important;text-align:center!important}.memory-ribbon::before,.memory-ribbon::after{display:none!important}.memory-ribbon b{display:block!important;margin:0!important;color:#d63f72!important;font-size:clamp(14px,1.55vh,18px)!important;line-height:1!important;font-weight:950!important;letter-spacing:.04em!important}.memory-ribbon small{display:block!important;margin-top:.4vh!important;color:#674955!important;font-size:clamp(8px,.68vh,9px)!important;line-height:1!important;font-weight:900!important}

/* bottom actions; cleaned supplied dock, larger readable labels, visible icons */
#room .quick-actions{position:absolute!important;z-index:38!important;left:50%!important;bottom:1.7vh!important;transform:translateX(-50%)!important;width:min(820px,61vw)!important;height:15.8vh!important;padding:4.25vh 2.65vh 2.15vh!important;background:url("assets/ui_final_0815/quick_dock_clean.png") center/100% 100% no-repeat!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:.5vh!important;overflow:visible!important}.quick-actions::before,.quick-actions::after{display:none!important}
#room .qa{width:100%!important;min-width:0!important;height:100%!important;padding:.25vh .1vh!important;border:0!important;background:transparent!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:.18vh!important;overflow:hidden!important}.qa span{display:block!important;width:auto!important;height:auto!important;margin:0 0 .15vh!important;background:none!important;font-size:clamp(20px,2.4vh,28px)!important;line-height:1!important;flex:0 0 auto!important}.qa b{display:block!important;max-width:100%!important;color:#30242a!important;font-size:clamp(14px,1.52vh,18px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}.qa.private b{font-size:clamp(12px,1.3vh,15px)!important}.qa small{display:block!important;max-width:100%!important;font-size:clamp(8px,.76vh,10px)!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important}.qa.talk small{color:#e34b7c!important}.qa.private small{color:#a96b62!important}.qa.menu small{color:#248c8b!important}.qa.cheers small{color:#c47900!important}.qa.cheer small{color:#3c63a2!important}.qa.gift small{color:#6c4bb3!important}.qa.idol small{color:#df3f70!important}
#room .quick-collapse-toggle{position:absolute!important;left:50%!important;bottom:16.1vh!important;transform:translateX(-50%)!important;width:3.2vh!important;height:1.8vh!important;border:0!important;border-radius:99px!important;background:#ea5a89!important;color:#fff!important;font-size:clamp(9px,.8vh,11px)!important;font-weight:950!important}.quick-actions.collapsed{width:7.2vh!important;height:5.0vh!important;padding:.4vh!important;background:url("assets/ui_final_0815/hamburger.png") center/contain no-repeat!important}.quick-actions.collapsed .qa{display:none!important}.quick-actions.collapsed+.quick-collapse-toggle{bottom:5.3vh!important}
#room #pawMenu{display:none!important}

/* motivational text: large but non-blocking */
#room .first-text-burst{z-index:76!important;left:50%!important;top:51%!important;max-width:80vw!important;padding:.2em .35em!important;color:#e43f77!important;font-size:clamp(42px,6.4vh,78px)!important;line-height:1.05!important;font-weight:950!important;text-align:center!important;white-space:normal!important;-webkit-text-stroke:clamp(4px,.65vh,8px) #fff!important;text-shadow:0 .32vh 0 #ef9fbb,0 .8vh 1.8vh rgba(82,31,52,.22)!important;pointer-events:none!important}.first-text-burst::before{content:"♡"!important;position:absolute!important;left:-1.1em!important;top:.05em!important;color:#ff75a5!important;font-size:.8em!important;background:none!important}.first-text-burst::after{content:"✦"!important;position:absolute!important;right:-.8em!important;top:.1em!important;color:#ffb6ca!important;font-size:.72em!important;background:none!important}
.moment-overlay,.moment-overlay.open{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important}.moment-card{background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important}.moment-card::before{display:none!important}.moment-card h2{color:#df3f74!important;font-size:clamp(36px,5.1vh,62px)!important;font-weight:950!important;-webkit-text-stroke:clamp(3px,.5vh,6px) #fff!important;text-shadow:0 .28vh 0 #eca0b9!important}.moment-card span,.moment-card p{color:#4c303a!important;font-weight:950!important;text-shadow:0 1px 0 #fff!important}

/* ===== DRAWER: compact, not full screen ===== */
#navDrawer{width:min(460px,86vw)!important;padding:18px!important;background:linear-gradient(160deg,#fffdfd,#fff4f8)!important;border-left:3px solid #f3b4c8!important;border-radius:26px 0 0 26px!important;box-shadow:-18px 0 48px rgba(74,35,52,.18)!important;overflow-y:auto!important;color:var(--n-ink)!important}
#navDrawer::before{display:none!important}#navDrawer>header{padding:4px 2px 12px!important;border-bottom:1px solid #f1d1dc!important;background:transparent!important}#navDrawer>header img{width:72px!important}#navDrawer>header small{font-size:10px!important;color:#b86584!important}#navDrawer>header b{font-size:22px!important;color:var(--n-ink)!important}#navDrawer>header>button{width:44px!important;height:44px!important;border:2px solid #f0a2bc!important;border-radius:50%!important;background:#fff!important;color:#d84173!important;font-size:25px!important;font-weight:950!important}
#navDrawer .nav-profile{margin:14px 0!important;padding:13px 16px!important;border:1.5px solid #f1b7ca!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#fff3f7)!important;display:grid!important;grid-template-columns:1fr auto!important}.nav-profile span{font-size:11px!important;color:#d24b77!important;font-weight:950!important}.nav-profile b{font-size:18px!important;color:var(--n-ink)!important}.nav-profile small{font-size:10px!important;color:#795b66!important}
#navDrawer nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}#navDrawer nav button{min-height:72px!important;padding:10px 12px!important;border:1.5px solid #f1d4de!important;border-radius:18px!important;background:#fff!important;color:var(--n-ink)!important;box-shadow:0 4px 10px rgba(77,39,55,.05)!important;text-align:left!important;display:grid!important;grid-template-columns:34px 1fr!important;grid-template-rows:auto auto!important;column-gap:8px!important;align-content:center!important}#navDrawer nav button span{grid-row:1/3!important;font-size:25px!important;align-self:center!important}#navDrawer nav button b{font-size:14px!important;line-height:1.05!important;font-weight:950!important;margin:0!important}#navDrawer nav button small{font-size:10px!important;line-height:1.15!important;color:#80616d!important}#navDrawer footer{display:flex!important;gap:8px!important;margin-top:12px!important}#navDrawer footer button{height:42px!important;border:1px solid #efc5d3!important;border-radius:15px!important;background:#fff!important;color:#b64f74!important;font-size:11px!important;font-weight:950!important}

/* ===== SHEETS: readable, no clipped decorative bow ===== */
#sheet{width:min(760px,88vw)!important;padding:20px!important;background:linear-gradient(155deg,#fffdfd,#fff6fa)!important;border-left:3px solid #f0b1c6!important;border-radius:28px 0 0 28px!important;box-shadow:-18px 0 55px rgba(75,37,53,.18)!important;color:var(--n-ink)!important;overflow:auto!important}#sheet::before{display:none!important}#sheet>header{position:sticky!important;top:-20px!important;z-index:5!important;margin:-20px -20px 14px!important;padding:18px 20px 14px!important;background:rgba(255,250,252,.97)!important;border-bottom:1px solid #efd1dc!important;backdrop-filter:blur(8px)!important}#sheet>header small{font-size:10px!important;color:#cc5b83!important;font-weight:950!important;letter-spacing:.12em!important}#sheet>header h2{margin:3px 0 0!important;color:#3b2930!important;font-size:30px!important;line-height:1.1!important;font-weight:950!important}#sheet>header>button{width:44px!important;height:44px!important;border:2px solid #ef9db8!important;border-radius:50%!important;background:#fff!important;color:#d94174!important;font-size:25px!important;font-weight:950!important}#sheetBody{color:var(--n-ink)!important;font-size:15px!important;line-height:1.5!important}#sheetBody h3,#sheetBody b,#sheetBody strong{color:var(--n-ink)!important}#sheetBody p,#sheetBody small,#sheetBody em{color:#72535f!important}#sheetBody button{color:var(--n-ink)!important;font-family:var(--n-font)!important}
#sheet .staff-intro,#sheet .compat-hero,#sheet .music-console,#sheet .status-guide-head,#sheet .next-unlock-card,#sheet .oshi-note-hero,#sheet .memory-head,#sheet .rank-guide-head{border:2px solid #f0bfd0!important;border-radius:22px!important;background:#fff!important;box-shadow:0 5px 14px rgba(80,42,58,.06)!important;padding:16px!important}
#sheet .staff-grid,#sheet .compat-list,#sheet .music-list,#sheet .memo-list{display:grid!important;gap:10px!important}#sheet .staff-card{border:1.5px solid #f0d4de!important;border-radius:18px!important;background:#fff!important;padding:12px!important;color:var(--n-ink)!important}#sheet .staff-card button,#sheet .track-card,#sheet [data-switch-oshi]{border:1.5px solid #efbfd0!important;border-radius:15px!important;background:#fff!important;color:#b84470!important;font-weight:950!important}
#sheet .status-guide-head{display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;gap:16px!important;align-items:center!important}.status-guide-head img{width:116px!important;height:116px!important;border-radius:22px!important;object-fit:cover!important}.status-guide-head h3{margin:2px 0 5px!important;font-size:24px!important;line-height:1.15!important}.status-guide-head p{font-size:12px!important;line-height:1.55!important}.status-guide-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0!important}.status-guide-grid article{display:grid!important;grid-template-columns:54px 1fr!important;gap:10px!important;border:1.5px solid #f0d7e0!important;border-radius:18px!important;background:#fff!important;padding:12px!important}.status-guide-grid article>span{display:grid!important;place-items:center!important;width:50px!important;height:50px!important;border-radius:16px!important;background:#fff1f6!important;font-size:25px!important}.status-guide-grid b{font-size:15px!important}.status-guide-grid b strong{float:right!important;color:#d84976!important;font-size:21px!important}.status-guide-grid p{font-size:11px!important;line-height:1.5!important}.next-unlock-card{padding:16px!important}.next-unlock-card h3{margin:4px 0!important;font-size:22px!important}.next-unlock-card button{margin-top:10px!important;min-height:46px!important;padding:8px 18px!important;border:2px solid #ed9cb8!important;border-radius:99px!important;background:#fff!important;color:#d44373!important;font-size:15px!important;font-weight:950!important}
#sheet .oshi-note-hero{display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;gap:16px!important;align-items:center!important}.oshi-note-hero img{width:130px!important;height:145px!important;border-radius:20px!important;object-fit:cover!important}.oshi-note-hero h3{font-size:23px!important;margin:2px 0 4px!important}.oshi-note-hero b{font-size:19px!important;color:#d84474!important}.note-stats{display:grid!important;grid-template-columns:repeat(6,1fr)!important;gap:7px!important;margin:12px 0!important}.note-stats span{padding:10px 5px!important;border:1px solid #efd3dd!important;border-radius:14px!important;background:#fff!important;text-align:center!important}.note-stats b{display:block!important;font-size:18px!important}.note-stats small{font-size:9px!important}.note-progress,.note-history{margin-top:12px!important;border:1.5px solid #f0d3de!important;border-radius:18px!important;background:#fff!important;padding:14px!important}.note-progress>div{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.note-progress>div span{padding:7px 10px!important;border-radius:99px!important;background:#fff1f6!important;font-size:11px!important}.note-history>div{display:flex!important;justify-content:space-between!important;gap:12px!important;padding:9px 0!important;border-bottom:1px solid #f3e3e9!important}.note-history b{font-size:12px!important}.note-history small{font-size:9px!important;white-space:nowrap!important}
#sheet .memory-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.memory-card{min-height:116px!important;padding:10px!important;border:1.5px solid #efd2dc!important;border-radius:18px!important;background:#fff!important;color:var(--n-ink)!important;display:grid!important;grid-template-columns:90px 1fr!important;gap:10px!important;align-items:center!important;text-align:left!important}.memory-card img{width:90px!important;height:86px!important;object-fit:cover!important;border-radius:12px!important}.memory-card b{font-size:13px!important}.memory-card small,.memory-card em,.memory-card strong{font-size:9px!important;line-height:1.35!important}.reward-progress{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:12px!important}.reward-progress>span{padding:10px!important;border-radius:15px!important;background:#fff1f6!important}.reward-progress b,.reward-progress em,.reward-progress small{display:block!important}.reward-progress i{display:block!important;height:7px!important;margin:5px 0!important;border-radius:99px!important;background:#f1dce4!important;overflow:hidden!important}.reward-progress u{display:block!important;height:100%!important;background:#ef6e98!important}

/* ===== MENU / ORDER: compact modal, clear rows, retained + action ===== */
#menuOverlay{background:rgba(75,43,57,.30)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;padding:28px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
#menuOverlay::before{display:none!important}.order-window-head{display:flex!important;position:absolute!important;z-index:6!important;top:calc(7vh + 6px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(480px,54vw)!important;min-height:78px!important;padding:16px 76px 14px 26px!important;border:2px solid #efa8c0!important;border-radius:22px!important;background:linear-gradient(145deg,#fff,#fff2f7)!important;box-shadow:0 8px 20px rgba(78,39,56,.12)!important}.order-window-head>div{display:block!important}.order-window-head small{font-size:10px!important;color:#ce537d!important;font-weight:950!important}.order-window-head h2{margin:2px 0 0!important;color:#d74073!important;font-size:28px!important;line-height:1!important;font-weight:950!important}.order-window-head>button{position:absolute!important;right:15px!important;top:16px!important;width:44px!important;height:44px!important;border:2px solid #ef9fb9!important;border-radius:50%!important;background:#fff!important;color:#d84173!important;font-size:24px!important;font-weight:950!important}
#menuOverlay .menu-book-body{width:min(1160px,90vw)!important;height:min(760px,84vh)!important;margin:0!important;padding:105px 22px 20px!important;border:3px solid #f2b3c8!important;outline:5px solid rgba(255,255,255,.92)!important;border-radius:30px!important;background:linear-gradient(145deg,#fffafd,#fff)!important;box-shadow:0 24px 65px rgba(68,34,49,.23)!important;overflow:auto!important;color:var(--n-ink)!important}
#menuOverlay .menu-cast-hint{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;min-height:46px!important;padding:9px 14px!important;border:1.5px solid #efc0d0!important;border-radius:16px!important;background:#fff!important}.menu-cast-hint b{font-size:13px!important;color:#d74575!important}.menu-cast-hint span{font-size:10px!important;color:#6e505b!important;text-align:right!important}.ref-tabs{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:0!important;margin:12px 0!important;border:1.5px solid #efbfd0!important;border-radius:15px!important;overflow:hidden!important;background:#fff!important}.ref-tabs button{min-height:50px!important;border:0!important;border-right:1px solid #f0dce3!important;border-radius:0!important;background:#fff!important;color:#4b353e!important;font-size:12px!important;font-weight:950!important}.ref-tabs button:last-child{border-right:0!important}.ref-tabs button.active{background:#f16b97!important;color:#fff!important}
.menu-list-ref{display:flex!important;flex-direction:column!important;gap:8px!important;padding-bottom:8px!important}.menu-row-ref{display:grid!important;grid-template-columns:48px minmax(0,1fr) 110px 48px!important;gap:10px!important;align-items:center!important;min-height:66px!important;padding:8px 10px!important;border:1.5px solid #efd4de!important;border-radius:17px!important;background:#fff!important;color:var(--n-ink)!important}.menu-row-ref.favorite{border-color:#f18baa!important;background:linear-gradient(90deg,#fff2f7,#fff)!important}.menu-food-icon{font-size:30px!important;text-align:center!important}.menu-row-ref>span:nth-child(2){min-width:0!important}.menu-row-ref b{display:block!important;font-size:14px!important;line-height:1.15!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.menu-row-ref small{display:block!important;margin-top:3px!important;font-size:10px!important;line-height:1.2!important;color:#7d5d68!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.menu-row-ref strong{text-align:right!important;color:#bc4e74!important;font-size:13px!important;font-weight:950!important;white-space:nowrap!important}.menu-add-button{width:42px!important;height:42px!important;padding:0!important;border:2px solid #ee8dad!important;border-radius:50%!important;background:linear-gradient(#ff86ad,#ea5b8c)!important;color:#fff!important;font-size:25px!important;line-height:1!important;font-weight:950!important;box-shadow:0 3px 8px rgba(126,47,78,.15)!important}
.support-grid,.gift-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.support-card,.gift-card{min-height:108px!important;padding:13px 14px!important;border:1.5px solid #efd2dd!important;border-radius:18px!important;background:#fff!important;color:var(--n-ink)!important;text-align:left!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:10px!important;align-items:center!important}.support-card>span,.gift-card>span{grid-row:1/3!important;font-size:28px!important}.support-card b,.gift-card b{font-size:14px!important;font-weight:950!important}.support-card small,.gift-card small{font-size:10px!important;color:#7c5d68!important}.support-card strong,.gift-card strong{grid-column:3!important;grid-row:1/3!important;color:#bc4e74!important;font-size:13px!important;white-space:nowrap!important}.fav-badge{display:inline-block!important;margin-left:5px!important;padding:2px 5px!important;border-radius:99px!important;background:#ff7fa8!important;color:#fff!important;font-size:8px!important;font-style:normal!important}

/* ===== other overlays/buttons: eliminate invisible white-on-white labels ===== */
#eventOverlay{background:linear-gradient(145deg,#fffafd,#fff4f8)!important;color:var(--n-ink)!important}.event-overlay>header{padding:18px 22px!important;border-bottom:1px solid #efccd8!important;background:#fff!important}.event-overlay>header h2{color:#3a2930!important;font-size:30px!important}.event-overlay>header>button{width:44px!important;height:44px!important;border:2px solid #eea0bb!important;border-radius:50%!important;background:#fff!important;color:#d84274!important}.event-overlay>nav button{min-height:48px!important;border:1px solid #efcbd7!important;background:#fff!important;color:#4a343d!important;font-size:12px!important;font-weight:950!important}.event-overlay>nav button.active{background:#ed6793!important;color:#fff!important}
.primary-button,.secondary-button,.start-choice-buttons>button,.new-game-panel button,.tutorial-card button,.time-card button{font-family:var(--n-font)!important;font-weight:950!important}.primary-button,.start-choice-buttons>button,.new-game-panel button{border:2px solid #ee9fba!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#fff1f6)!important;color:#d94273!important;box-shadow:0 5px 12px rgba(87,43,61,.08)!important}.secondary-button{border:2px solid #efc2d1!important;border-radius:20px!important;background:#fff!important;color:#5e424d!important}.primary-button b,.primary-button small,.start-choice-buttons b,.start-choice-buttons small,.new-game-panel button b,.new-game-panel button small,.tutorial-card button,.time-card button b,.time-card button small{color:inherit!important;text-shadow:none!important;opacity:1!important}.primary-button small,.secondary-button small{font-size:10px!important}
.start-card,.tutorial-card,.time-card{border:2px solid #efb4c7!important;border-radius:28px!important;background:linear-gradient(145deg,#fffdfd,#fff6fa)!important;box-shadow:0 18px 55px rgba(75,37,53,.20)!important;color:var(--n-ink)!important}.start-card::before,.tutorial-card::before,.time-card::before{display:none!important}.tutorial-card{padding:26px!important}.tutorial-copy h2{color:#d94375!important}.tutorial-copy p{color:#5b414a!important;font-size:15px!important;line-height:1.6!important}.tutorial-copy footer button{min-height:50px!important;font-size:15px!important}.start-card p,.time-card p{color:#634850!important}

/* responsive collision protection */
@media(max-height:760px){
  #room.room-screen::before{background-size:8.5vh 8.5vh,8.5vh 8.5vh,100% 4.2vh,100% 4.2vh,4.2vh 100%,4.2vh 100%!important}
  #room .room-name-card{width:28vh!important;height:10.8vh!important}.room-name-card b{font-size:clamp(22px,2.8vh,30px)!important}
  #room .room-visit-actions{left:30.7vh!important}.left-ui-stack{top:14.2vh!important;width:29vh!important}.buddy-bubble{width:29vh!important;height:16.2vh!important;min-height:16.2vh!important}.music-widget{width:29vh!important;height:16.8vh!important;min-height:16.8vh!important}
  #room .oshi-float{top:13.9vh!important;width:25vh!important;height:35.5vh!important;min-height:35.5vh!important}.right-bottom-tools{top:51.5vh!important;right:3vh!important}.memory-quick{width:20.7vh!important;height:28.0vh!important}
  #room .quick-actions{width:min(760px,59vw)!important;height:15.0vh!important;padding-top:4.0vh!important}.qa b{font-size:clamp(12px,1.4vh,16px)!important}
}
@media(max-width:1100px){
 #room .room-visit-actions{left:31vh!important}.room-hud{right:10.4vh!important}.left-ui-stack{left:2.2vh!important;width:28.3vh!important}.buddy-bubble,.music-widget{width:28.3vh!important}.oshi-float{right:2.6vh!important;width:24.8vh!important}.right-bottom-tools{right:2.2vh!important}.quick-actions{width:min(720px,64vw)!important}
 #navDrawer{width:min(430px,82vw)!important}#sheet{width:min(700px,88vw)!important}
}
@media(max-width:900px){
 #room .room-visit-actions{display:none!important}.room-name-card{left:1.6vh!important}.room-hud{right:9.6vh!important}.left-ui-stack{left:1.6vh!important;width:25.5vh!important}.buddy-bubble,.music-widget{width:25.5vh!important}.oshi-float{right:1.8vh!important;width:22.8vh!important}.right-bottom-tools{right:1.5vh!important}.quick-actions{width:68vw!important;height:14.2vh!important;padding:3.7vh 2.0vh 1.8vh!important}.qa b{font-size:12px!important}.qa small{font-size:8px!important}.qa span{font-size:20px!important}
 #sheet{width:90vw!important}.status-guide-grid{grid-template-columns:1fr!important}.note-stats{grid-template-columns:repeat(3,1fr)!important}.support-grid,.gift-grid{grid-template-columns:1fr!important}.ref-tabs{grid-template-columns:repeat(4,1fr)!important}.ref-tabs button:nth-child(n+5){border-top:1px solid #f0dce3!important}
}

/* ===== FINAL QA CORRECTIONS 2026-08-15 ===== */
/* keep decorative blocks apart: no cast-name/staff collision */
#room .left-ui-stack{top:17vh!important}
#room .buddy-ribbon{left:3.2vh!important;width:24.8vh!important;font-size:clamp(10px,1.05vh,13px)!important;letter-spacing:-.01em!important}
/* music: preserve breathing room between record, text, and controls */
#room .music-now{padding-left:7.9vh!important}
#room .music-copy small{font-size:clamp(10px,1.02vh,13px)!important}
#room .music-copy b{font-size:clamp(15px,1.7vh,20px)!important;max-width:17.2vh!important}
#room .music-room-controls{bottom:1.35vh!important;grid-template-columns:3.5vh 3.5vh 3.5vh 5.7vh minmax(0,1fr)!important}
#room .music-room-controls button{height:3.65vh!important;min-height:24px!important;line-height:1!important;overflow:hidden!important}
#room .music-room-controls .room-track-play{font-size:clamp(10px,1.35vh,15px)!important;line-height:1!important}
/* rank panel: keep all four values inside their wells at compact heights */
#room .mini-stats button span{font-size:clamp(18px,2.05vh,24px)!important}
#room .mini-stats button small{font-size:clamp(8px,.82vh,10px)!important}
#room .mini-stats button b{font-size:clamp(18px,2.05vh,24px)!important}
/* notebook reward rows must never clip */
#room .memory-reward-mini{left:4.8vh!important;right:2.9vh!important}
#room .memory-reward-mini i{font-size:clamp(7px,.62vh,9px)!important;padding-left:.4vh!important;padding-right:.4vh!important}

@media(max-height:760px){
  #room .left-ui-stack{top:17vh!important}
  #room .music-room-controls{bottom:1.15vh!important}
  #room .music-room-controls button{height:3.8vh!important;min-height:23px!important}
  #room .mini-stats button span{font-size:16px!important}
  #room .mini-stats button small{font-size:7px!important}
  #room .mini-stats button b{font-size:16px!important}
  #room .memory-reward-mini{left:4.25vh!important;right:2.5vh!important}
  #room .memory-reward-mini i{font-size:7px!important;height:1.9vh!important;min-height:12px!important}
}
@media(max-width:900px){
  #room .buddy-ribbon{left:2.8vh!important;width:20.9vh!important;font-size:10px!important}
  #room .music-room-controls{grid-template-columns:3.5vh 3.5vh 3.5vh 5.2vh minmax(0,1fr)!important;gap:.3vh!important}
  #room .music-room-controls button{font-size:8px!important}
  #room .music-room-controls .random-btn{font-size:7px!important}
}
/* high-specificity neutralization of V10 decorative leftovers */
#room .buddy-ribbon{min-width:0!important;padding:0!important;border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
#room .buddy-ribbon::after{display:none!important}
#room .music-room-controls button{min-width:0!important;padding:0!important;border:.13vh solid #eba0b9!important;outline:0!important;box-shadow:none!important;font-size:clamp(8px,.78vh,10px)!important}
#room #roomTrackPrev,#room #roomTrackNext,#room #roomTrackPlay{font-size:clamp(10px,1.25vh,14px)!important;line-height:1!important;padding:0!important}
#room .mini-stats button{height:9.7vh!important;min-height:0!important;padding:.55vh .08vh!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
#room .mini-stats button span{font-size:clamp(16px,1.9vh,22px)!important;line-height:1!important;margin:0 0 .2vh!important}
#room .mini-stats button small{font-size:clamp(7px,.76vh,9px)!important;line-height:1!important;margin:0!important}
#room .mini-stats button b{font-size:clamp(16px,1.9vh,22px)!important;line-height:1!important;margin-top:.25vh!important}
@media(max-height:760px){
 #room #roomTrackPrev,#room #roomTrackNext,#room #roomTrackPlay{font-size:11px!important}
 #room .mini-stats button{height:9.7vh!important;padding:.25vh 0!important}
 #room .mini-stats button span{font-size:14px!important}
 #room .mini-stats button small{font-size:6.5px!important}
 #room .mini-stats button b{font-size:14px!important}
}
/* unlock notices stay non-blocking, but their optional action buttons remain usable */
#momentOverlay .moment-actions{pointer-events:auto!important;position:relative!important;z-index:2!important}
#momentOverlay .moment-actions button{pointer-events:auto!important;border:2px solid #ef9db8!important;border-radius:999px!important;background:#fff!important;color:#d94274!important;padding:10px 18px!important;font-family:var(--n-font)!important;font-size:13px!important;font-weight:950!important}
/* V10 base sets opacity:0 !important; explicit show state is required for milestone text */
#room .first-text-burst.show{opacity:1!important;animation:nyaasFinalBurst 2.8s ease both!important}
@keyframes nyaasFinalBurst{0%{transform:translate(-50%,18px) scale(.86)}16%,76%{transform:translate(-50%,0) scale(1)}100%{transform:translate(-50%,-8px) scale(1.02)}}
#room .first-text-burst{top:45%!important}
