/* The shared popup pieces read their colors from theme.css (step 1 of the foundation pass, 10/23). Loaded last so it
   wins over the older per-feature color patches. Popups move here one at a time; this first batch is the main popup
   window, its title, close button, rows, plain and green buttons, and toy tiles. */
html body dialog#modal[open]:not(.squish-fullscreen):not(:has(.open-dumpling)){background:linear-gradient(var(--sq-card-top),var(--sq-card-bottom))!important;border-color:var(--sq-card-edge)!important;color:var(--sq-text)!important;box-shadow:0 8px 0 var(--sq-card-shadow),var(--sq-glow),0 25px 80px #38254d55!important}
html body dialog#modal[open]:not(.squish-fullscreen) :is(h2,h3,.modal-title){color:var(--sq-title)!important}
html body dialog#modal[open]:not(.squish-fullscreen) .modal-subtitle{color:var(--sq-soft)!important}
html body dialog#modal[open] .modal-top .icon-button[data-action=close]{background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important}
html body dialog#modal[open]:not(.squish-fullscreen) .room-display-item{background:var(--sq-well)!important;color:var(--sq-text)!important}
html body dialog#modal[open]:not(.squish-fullscreen) .room-display-item>button:first-child{color:var(--sq-title)!important}
html body dialog#modal[open]:not(.squish-fullscreen) .btn:not(.green):not(.rose):not(:disabled){background:linear-gradient(var(--sq-btn-top),var(--sq-btn-bottom))!important;color:var(--sq-btn-ink)!important;border-color:var(--sq-btn-edge)!important;box-shadow:inset 0 2px 0 #ffffff26,0 4px 0 var(--sq-btn-shadow)!important}
html body dialog#modal[open]:not(.squish-fullscreen) .btn.green{background:var(--sq-go)!important;color:var(--sq-go-ink)!important;box-shadow:inset 0 2px 0 #ffffff33,0 4px 0 var(--sq-go-shadow)!important}
html body dialog#modal[open]:not(.squish-fullscreen) .btn .pic-out{color:var(--sq-btn-ink)}
html body dialog#modal[open]:not(.squish-fullscreen) .tray-toy{background:var(--sq-tile)!important;border-color:var(--sq-tile-edge)!important;box-shadow:inset 0 2px 0 #ffffff1a,0 3px 0 var(--sq-btn-shadow)!important;color:var(--sq-text)!important}
html body dialog#modal[open]:not(.squish-fullscreen) .pic-add{background:var(--sq-chip);color:var(--sq-chip-ink)}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .modal-top .icon-button[data-action=close]{outline-color:var(--sq-chip-edge)!important}
/* batch 2 (10/23): collection title, daily gift / store sheets, the squishy viewer, game window title bars, bottom notes */
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] h2{-webkit-text-stroke-color:transparent!important;text-shadow:0 3px 0 var(--sq-card-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog{background:radial-gradient(circle at 50% 36%,var(--sq-card-top),var(--sq-card-bottom))!important;border-color:var(--sq-card-edge)!important;color:var(--sq-text)!important;box-shadow:0 8px 0 var(--sq-card-shadow),var(--sq-glow),0 25px 80px #0008!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog header{background:transparent!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog :is(h2,h3){color:var(--sq-title)!important;-webkit-text-stroke-color:transparent!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog :is(p,small,li,span:not([class*=coin])){color:var(--sq-text)}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal.squish-fullscreen[open]{background:radial-gradient(circle at 50% 38%,#3a2d63,#1f1834 70%)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal.squish-fullscreen[open] :is(h2,h3){color:var(--sq-title)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal.squish-fullscreen[open] .vp-glow{opacity:.35}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal.squish-fullscreen[open] :is(.btn:not(.green):not(.rose),.icon-button,.squish-more){background:linear-gradient(var(--sq-btn-top),var(--sq-btn-bottom))!important;color:var(--sq-btn-ink)!important;border-color:var(--sq-btn-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal.squish-fullscreen[open] .squish-options{background:linear-gradient(var(--sq-card-top),var(--sq-card-bottom))!important;color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal.squish-fullscreen[open] .viewer-origin{color:var(--sq-soft)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .arcade-popup>:is(header,.arcade-inline-header){background:var(--sq-card-top)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .arcade-popup h2{color:var(--sq-title)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog.arcade-popup{background:var(--sq-card-top)!important;border-color:var(--sq-card-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .arcade-popup :is(.arcade-popup-close,.arcade-popup-hear){background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #toast{background:var(--sq-card-top)!important;color:var(--sq-text)!important;border-color:var(--sq-card-edge)!important;box-shadow:0 6px 0 var(--sq-card-shadow),var(--sq-glow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #toast *{color:inherit!important}
/* batch 3 (10/24): collection count + tabs, the feel tag on the squishy viewer */
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] :is(.book-count,.book-tab:not(.active)){background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important;box-shadow:inset 0 2px 0 #ffffff1a,0 3px 0 var(--sq-btn-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .book-count b{color:var(--sq-chip-ink)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .sq-kind{background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important}
/* batch 4 (10/24): Name me, Your name, My coins, Level / Today, the Trade clubhouse pills, the Games level switcher */
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] :is(.toy-name-choices button,.toy-name-row button,.toy-name-type,.toy-name-tool):not(.green):not(.on):not([aria-pressed=true]){background:linear-gradient(var(--sq-btn-top),var(--sq-btn-bottom))!important;color:var(--sq-btn-ink)!important;border-color:var(--sq-btn-edge)!important;box-shadow:inset 0 2px 0 #ffffff26,0 4px 0 var(--sq-btn-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .toy-workshop-stage{background:radial-gradient(circle,#4a3d78,#2c2347 70%)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] :is(.toy-workshop-name,p,small){color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2l-me>div{background:linear-gradient(var(--sq-card-top),var(--sq-card-bottom))!important;border-color:var(--sq-card-edge)!important;box-shadow:0 8px 0 var(--sq-card-shadow),var(--sq-glow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2l-me>div::before{color:var(--sq-title)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2l-me input{background:var(--sq-well)!important;color:var(--sq-title)!important;border-color:var(--sq-card-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2l-me :is(.tb-me-gear,button[data-me=close]){background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .gm-coin-sheet{background:radial-gradient(circle at 50% 40%,#3a2d63,#1f1834 75%)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .gm-coin-sheet :is(.kid-help,[class*=close],button[aria-label=Close]){background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet>div,html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-card{background:linear-gradient(var(--sq-card-top),var(--sq-card-bottom))!important;border-color:var(--sq-card-edge)!important;color:var(--sq-text)!important;box-shadow:0 8px 0 var(--sq-card-shadow),var(--sq-glow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet :is(h2,h3,b,strong){color:var(--sq-title)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet :is(p,small,span:not(.bar):not([class*=fill])){color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet :is(.v2q-task,.v2q-prizebox,.v2q-hallo){background:var(--sq-well)!important;border-color:var(--sq-card-edge)!important;color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet .v2q-task.ok{box-shadow:0 0 0 3px #ffd56a!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet .v2q-days{background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet .bar{background:var(--sq-well)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2q-sheet :is(.v2q-say,.v2q-x){background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) :is(.trade-scene,.clubhouse,[data-place=trade]) h1,html body.night-time:not(#sq-x)[data-place=trade] main h1{background:var(--sq-card-top)!important;color:var(--sq-title)!important;border-color:var(--sq-card-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .gm-coin-sheet .cs-box{background:radial-gradient(55% 60% at 50% 46%,#4a3d7a 0%,#2c2347 60%,#1f1834 100%)!important;border-color:var(--sq-card-edge)!important;box-shadow:0 8px 0 var(--sq-card-shadow),var(--sq-glow)!important}

/* Trade at night (Mac, 10/24): pills go dark purple with light text; the wish thought-cloud stays white like the pet's thought bubbles */
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x)[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button.ft-open.cf-label,html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x)[data-place=trade] main :is(.cf-next,.club-session-count,.empty-offer){background:linear-gradient(var(--sq-btn-top),var(--sq-btn-bottom))!important;color:var(--sq-title)!important;border-color:var(--sq-btn-edge)!important;box-shadow:inset 0 2px 0 #ffffff22,0 4px 0 var(--sq-btn-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x)[data-place=trade] main .ft-open *{color:var(--sq-title)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x)[data-place=trade] main .icon-button:not(.kid-help):not(.ft-open){background:var(--sq-card-top)!important;color:var(--sq-title)!important;border-color:var(--sq-card-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2l-tip{background:var(--sq-card-top)!important;color:var(--sq-title)!important;border-color:var(--sq-card-edge)!important;box-shadow:0 5px 0 var(--sq-card-shadow),var(--sq-glow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2l-tip::before,html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .v2l-tip::after{background:var(--sq-card-top)!important;border-color:var(--sq-card-edge)!important}
/* batch 5 (10/24): icons centered in their circles (day and night), the play-coin star ring, the town side arrows */
html body dialog#modal[open] .squish-toolbar .icon-button,html body dialog#modal[open] :is(.squish-prev,.squish-next){place-items:center!important;padding:0!important;line-height:1!important}
html body dialog#modal[open] .squish-toolbar .icon-button svg{margin:0!important;display:block}
html body dialog#modal[open] :is(.squish-prev,.squish-next){font-size:30px!important;padding-bottom:3px!important}
html body dialog#modal[open] .squish-more{justify-content:center!important;align-items:center!important;gap:0!important}
html body dialog#modal[open] .squish-more>span:not(.viewer-info){position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body dialog#modal[open] .squish-more .viewer-info{margin:0!important;line-height:1}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .play-coin-meter{background:conic-gradient(#e9b947 var(--earned,0%),var(--sq-well) 0)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .play-coin-meter span{background:var(--sq-chip)!important;border-color:var(--sq-chip-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .street-arrow{background:radial-gradient(circle at 35% 30%,var(--sq-btn-top),var(--sq-card-top))!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important;box-shadow:0 3px 8px #0006!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .street-arrow.previous:disabled,html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) .street-arrow[disabled]{opacity:.45}
/* night pedestal (10/24): a plum twin of the mint display plate */
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] img.vp-base{content:url(./assets/viewer/pedestal-night.webp)}
/* batch 6 (10/24): parent dashboard + settings, daily gift steps, grown-up check, collection tab + names, trade friend button. */
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog>header>button{background:var(--sq-chip)!important;color:var(--sq-chip-ink)!important;border-color:var(--sq-chip-edge)!important;box-shadow:0 3px 0 var(--sq-card-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2l-cal>span{background:var(--sq-well)!important;border-color:var(--sq-card-edge)!important;color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2l-cal>span>i{background:transparent!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2l-cal>span :is(b,small){color:var(--sq-soft)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .gate-reason,html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog label>span{color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog label>b{color:#ffd56a!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog input{background:var(--sq-well)!important;color:var(--sq-title)!important;border-color:var(--sq-chip-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog input::placeholder{color:var(--sq-soft)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-checkout>button:last-child:not(:first-of-type){background:none!important;color:var(--sq-soft)!important;box-shadow:none!important;border:0!important;text-decoration:underline}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent .v2-ptabs{background:var(--sq-well)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent .v2-ptabs button{background:transparent!important;color:var(--sq-soft)!important;box-shadow:none!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent[data-ptab=week] [data-ptab-go=week],html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent[data-ptab=settings] [data-ptab-go=settings],html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent[data-ptab=save] [data-ptab-go=save]{background:var(--sq-chip)!important;color:var(--sq-title)!important;box-shadow:0 2px 0 var(--sq-card-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent :is(.pw-cards>*,.pw-strip>*,.pw-fav,.gm-age,.v2-toggle,.v2-stats>*){background:var(--sq-well)!important;border-color:var(--sq-card-edge)!important;box-shadow:inset 0 1px 0 #ffffff14,0 3px 0 var(--sq-card-shadow)!important;color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent :is(b,strong,h3,h4){color:var(--sq-title)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent :is(small,em,span,p,label){color:var(--sq-text)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent .pw-day i{background:var(--sq-card-bottom)!important;border-color:var(--sq-card-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent .gm-age button{background:linear-gradient(var(--sq-btn-top),var(--sq-btn-bottom))!important;color:var(--sq-btn-ink)!important;border-color:var(--sq-btn-edge)!important;box-shadow:inset 0 2px 0 #ffffff22,0 4px 0 var(--sq-btn-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent .gm-age button:is([aria-pressed=true],.on){background:#47b89e!important;color:#fff!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2-parent a{color:#c9b3ff!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog footer,html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog footer *{color:var(--sq-soft)!important;border-color:var(--sq-card-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .book-tab.active{background:linear-gradient(#ffe08a,#f5c24c)!important;color:#5a3a08!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .book-tab.active *{color:#5a3a08!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .book-toy strong{color:#4b2f66!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) dialog#modal[open] .book-page-status{color:var(--sq-soft)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x)[data-place=trade] main .trade-friend-header button:not(.ft-open):not(.kid-help){background:radial-gradient(circle at 35% 30%,var(--sq-btn-top),var(--sq-card-top))!important;border-color:var(--sq-chip-edge)!important;box-shadow:0 4px 0 var(--sq-card-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x)[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button.icon-button.cf-next{background:radial-gradient(circle at 35% 30%,var(--sq-btn-top),var(--sq-card-top))!important;border-color:var(--sq-chip-edge)!important;box-shadow:0 4px 0 var(--sq-card-shadow)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2l-cal>span:not(.on) :is(i,.sq-em){background:var(--sq-chip)!important;box-shadow:0 2px 0 var(--sq-card-shadow)!important;border-color:var(--sq-chip-edge)!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #v2-dialog .v2l-cal>span.on{background:var(--sq-chip)!important;border-color:#ffd56a!important}
/* night mystery cards (Mac, 10/24: "just this card"): one plum opal card back for every shape */
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #modal[open]:has(.book-grid) .book-grid .book-toy.undiscovered:nth-child(n),html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #modal[open]:has(.book-grid) .book-grid[data-cb] .book-toy.undiscovered:nth-child(n),html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #modal[open]:has(.book-grid) .book-toy .cp-back,html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #modal[open]:has(.book-grid) .book-grid[data-cb] .book-toy .cp-back{background-color:#2c2347!important;background-image:url('./assets/collection/card-back-night.webp')!important;background-size:100% 100%!important}
html body:is(.calm-mode,.night-time):not(.sq-newplayer):not(#sq-x) #modal[open]:has(.book-grid) .book-toy.undiscovered :is(img,.toy){filter:brightness(1.7) saturate(.5) opacity(.5)}
/* daily gift: the step circles alone (the day numbers peeked out from behind them), day and night */
html body dialog#v2-dialog .v2-daily-card>.v2l-cal>span>:is(b,small,span){display:none!important}
html body dialog#v2-dialog .v2-daily-card>.v2l-cal>span{height:auto!important;padding:4px!important}
