/* Rose Cottage: painted ivory, antique roses, sage leaves and afternoon light. */
/* The photographic shelves already include their trim behind the chair. */
:root #room[data-theme="rose"][data-space="classic"][data-style="realistic"] .bookcase::after{display:none!important}
/* Match the live garden to the glass opening in the photographic room. */
:root #room[data-theme="rose"][data-space="classic"][data-style="realistic"] #roomWindow {
  left:43.6%!important;top:3.4%!important;width:12.8%!important;height:25.8%!important;
  border-radius:50% 50% 0 0 / 38% 38% 0 0;overflow:hidden;
}
:root #room[data-theme="rose"][data-space="classic"][data-style="realistic"] .ceiling-trim{display:none!important}
:root #room[data-theme="rose"][data-space="classic"][data-style="realistic"] #roomWindow .window-sky {
  inset:0;border-radius:inherit;overflow:hidden;
}
:root #room[data-theme="rose"][data-space="classic"][data-style="realistic"] #roomWindow .window-frame {
  border:0!important;box-shadow:none!important;
}
.rose-teacup-steam{position:absolute;left:88.8%;top:70%;width:3.6%;height:8.6%;z-index:8;pointer-events:none;overflow:visible;fill:none;stroke:#fff5e5;stroke-width:1.8;stroke-linecap:round;filter:blur(.6px)}
.rose-teacup-steam path{transform-origin:50% 100%;animation:rose-tea-steam 3.6s ease-out infinite}
.rose-teacup-steam path:nth-child(2){animation-delay:-1.2s}
.rose-teacup-steam path:nth-child(3){animation-delay:-2.4s}
@keyframes rose-tea-steam{0%{opacity:0;transform:translateY(5px) scaleX(.7)}25%{opacity:.65}100%{opacity:0;transform:translate(3px,-15px) scaleX(1.2)}}
@media(prefers-reduced-motion:reduce){.rose-teacup-steam path{animation:none;opacity:.35}}
.room[data-theme="rose"]{--wood:#eee3cd;--wood-light:#fff7e6;--wood-dark:#b7ad92;--wall:#f0dfd6;--rose-scene:url('assets/rose-garden-realistic.png')}
.room[data-theme="rose"][data-style="illustrated"]{--rose-scene:url('assets/rose-garden-illustrated.png')}
.theme-preview[data-preview="rose"]{background:url('assets/rose-classic-realistic.png') center/cover}
.theme-preview[data-preview="rose"]>i{display:none}
.room[data-theme="rose"][data-style="illustrated"][data-space="classic"]{background:radial-gradient(ellipse at 50% 20%,#fff7e6aa,transparent 65%),linear-gradient(90deg,#dcc4bc,#f5e9db 45%,#efdacf 75%,#d6b7ad)}
.room[data-theme="rose"][data-style="illustrated"] .wallpaper-pattern{opacity:.55;background:url('assets/rose-cottage-pattern.svg') center/clamp(40px,6cqw,90px) clamp(54px,8cqw,120px);mix-blend-mode:multiply}
.room[data-theme="rose"][data-style="illustrated"] .ceiling-trim{background:linear-gradient(#c3ae8c,#fff4d9 35%,#ddc6a5 65%,#fff1d9);border-color:#c2a575}
.room[data-theme="rose"][data-style="illustrated"] .bookcase{background:linear-gradient(90deg,#d1c4aa,#fff3dd 12%,#f1e5ce 88%,#c3b49a);border-color:#c8ae82;box-shadow:inset 0 0 0 2px #fff9e5,4px 7px 14px #80665244}
.room[data-theme="rose"][data-style="illustrated"] .bookcase-crown{background:linear-gradient(#fff6e1,#d4b78d 25%,#f2dfbf 48%,#fff0d7);border-color:#c3a175}
.room[data-theme="rose"][data-style="illustrated"] .shelf-row{background:linear-gradient(#879477aa,#bcc5a799);border-bottom-color:#cfb68e}
.room[data-theme="rose"] .cabinet-base{border-color:#c7ab84}
.room[data-theme="rose"] .cabinet-base i{position:relative;background:linear-gradient(110deg,#fff3dc,#e5d6bd);border-color:#c7ab84}
.room[data-theme="rose"] .cabinet-base i:after{content:'';position:absolute;inset:8% 25%;background:url('assets/rose-cottage-pattern.svg') center/contain no-repeat;opacity:.7}
.room[data-theme="rose"] .room-rug{background:radial-gradient(ellipse,#f4e6d1 0 40%,#8c9a73 41% 44%,#ebc5bd 45% 51%,#b97e89 52% 62%,#f2dfc3 63% 66%,#a16f79 67% 71%,transparent 72%)}
.room[data-theme="rose"] .room-rug:after{content:'';position:absolute;inset:10% 14%;border-radius:50%;background:url('assets/rose-cottage-pattern.svg') center/16% 80% repeat;opacity:.7}
.room[data-theme="rose"] .chair-back{background:linear-gradient(90deg,#a96e7c,#dba4ae 50%,#b77a8a);border-color:#a3717b}
.room[data-theme="rose"] .chair-seat{background:linear-gradient(#e5b6ba,#b8808f)}
.room[data-theme="rose"] .chair-arm{background:linear-gradient(90deg,#af7682,#e0abb2,#bc8990)}
.room[data-theme="rose"] .armchair{filter:drop-shadow(4px 6px 3px #79555c44)}
.room[data-theme="rose"][data-style="illustrated"] .room-floor{background:repeating-linear-gradient(105deg,transparent 0 12%,#92725244 12.3% 12.6%),repeating-linear-gradient(0deg,#d8b58a 0 24%,#b38c61 25% 26%,#e3c399 27% 50%);border-color:#af8a61}
.room[data-theme="rose"] .rose-chair-throw{position:absolute;right:8%;top:35%;width:25%;height:68%;z-index:4;transform:rotate(-7deg);border-radius:6% 8% 15% 10%;box-shadow:2px 3px 4px #79555c33}
.room[data-theme="rose"][data-style="illustrated"] .room-plant:after{content:'';position:absolute;inset:0 5% 35%;background:url('assets/rose-cottage-pattern.svg') center/42% 70% repeat;pointer-events:none}
.room[data-theme="rose"] .chair-pillow{background:#f7ecd8 url('assets/rose-cottage-pattern.svg') center/cover;border-color:#ccab9d;color:#7c916d}
.room[data-theme="rose"] .chair-throw{background:repeating-linear-gradient(0deg,transparent 0 6px,#ac778455 7px 8px),repeating-linear-gradient(90deg,#f8edda 0 5px,#e3d0ba 6px 7px);border-bottom:3px dotted #bc8990}
.room[data-theme="rose"] .window-curtain{background:url('assets/rose-cottage-pattern.svg') center/70% 35% repeat,repeating-linear-gradient(90deg,#d4b8b0 0 10%,#f9eddc 18% 25%,#cba8a3 38%,#f4dece 55%)}
.room[data-theme="rose"] .plant-pot{background:#f4ead5 url('assets/rose-cottage-pattern.svg') center/contain;border-color:#c8ab8d}
.room[data-theme="rose"] .hanging-vine{color:#80906c}
.room[data-theme="rose"] .fireplace-body{background:linear-gradient(90deg,#cbb89c,#fff1d8 30%,#f1dfc4 75%,#c9b499)}
.room[data-theme="rose"] .center-frame{background:#f4e7ce;border-color:#c0a06f;color:#8c5e68}
.room[data-theme="rose"] .shelf-heading{color:#665540;text-shadow:0 1px 2px #fff8}
/* Photographic room art uses the same live book planes and visibility masks. */
.room[data-theme="rose"][data-space="classic"][data-style="realistic"] .real-shell{background-image:url('assets/rose-classic-shell.png');filter:none;background-blend-mode:normal}
.room[data-theme="rose"][data-space="classic"][data-style="realistic"] .real-shell:after{content:'';position:absolute;inset:0;background:url('assets/rose-classic-realistic.png') center/100% 100% no-repeat;mask:var(--rose-room-mask,none) center/100% 100% no-repeat;mask-mode:luminance}
.room[data-theme="rose"][data-space="classic"][data-style="realistic"] :is(.real-photo,.case-photo,.wallpaper-pattern,.window-curtain,#centerFrame){display:none!important}
.room[data-theme="rose"][data-space="classic"][data-style="realistic"] .bookcase-crown{background:none;box-shadow:none}
.room[data-theme="rose"][data-space="classic"][data-style="realistic"] .real-fire-motion{background-image:url('assets/rose-classic-realistic.png');background-blend-mode:normal;filter:none;top:56.7%}
.room[data-theme="rose"] .room-window[data-view="meadow"] .window-sky{background:var(--rose-scene) center 55%/cover no-repeat!important;filter:none}
.room[data-theme="rose"] .room-window[data-view="meadow"] .window-sky>:is(.moon,.mountain,.forest-trees,.window-stars),.room[data-theme="rose"] .room-window[data-view="meadow"] .window-sky:after{display:none!important}
.rose-window-motion{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.rose-garden-light{position:absolute;inset:-8%;background:radial-gradient(ellipse at 30% 25%,#fff2cc55,transparent 50%);mix-blend-mode:screen;animation:rose-afternoon 10s ease-in-out infinite alternate}
.rose-petal{position:absolute;left:var(--petal-x);top:-10%;width:clamp(3px,.5cqw,8px);height:clamp(4px,.7cqw,10px);border-radius:80% 20% 65% 35%;background:#e8a7b2;opacity:0;animation:rose-petal-fall var(--petal-duration) linear var(--petal-delay) infinite}
@keyframes rose-afternoon{from{opacity:.35;transform:translateX(-1%)}to{opacity:.8;transform:translateX(2%)}}
@keyframes rose-petal-fall{0%,10%{opacity:0;transform:translate(0,-10px) rotate(0)}20%,75%{opacity:.75}100%{opacity:0;transform:translate(40px,320px) rotate(260deg)}}
@media(prefers-reduced-motion:no-preference){
  .immersive-space[data-theme="rose"] .rose-petal{animation:rose-petal-fall var(--petal-duration) linear var(--petal-delay) infinite!important}
  .immersive-space[data-theme="rose"] .rose-garden-light{animation:rose-afternoon 10s ease-in-out infinite alternate!important}
}
.immersive-space[data-theme="rose"]{--focus-accent:#b77b83}
.immersive-space[data-theme="rose"] :is(.space-art,.space-object){filter:none}
.immersive-space[data-theme="rose"]>.space-art:after{content:'';position:absolute;inset:0;background:var(--scene) center/100% 100% no-repeat;mask:var(--rose-space-mask,none) center/100% 100% no-repeat;mask-mode:luminance}
.immersive-space[data-theme="rose"]>.space-object{background-image:none}
.immersive-space[data-theme="rose"].shelf-focus-view>.space-art:after{display:none}
.immersive-space[data-theme="rose"].shelf-focus-view{--focus-surface:#f1e5db;--focus-panel:#fff7ec;--focus-ink:#76535c}
.immersive-space[data-theme="rose"] .shelf-focus-frame{outline:3px solid #c6a375;box-shadow:0 12px 28px #79565c33}
.room[data-theme="rose"][data-space="grand"] .grand-backdrop{background-image:url('assets/rose-grand-realistic.png')}
.room[data-theme="rose"][data-space="grand"][data-style="illustrated"] .grand-backdrop{background-image:url('assets/rose-grand-illustrated.png')}
.room[data-theme="rose"][data-space="grand"] :is(.grand-backdrop:after,.grand-portrait,#centerFrame){display:none}
.room[data-theme="rose"][data-space="grand"] #realFireMotion{background-image:none}
.room[data-theme="rose"][data-space="grand"] .grand-floor-light{background:linear-gradient(125deg,transparent 15%,#fff0ce40 30%,transparent 44%,#f5d8d124 65%,transparent 85%)}
.room[data-theme="rose"][data-space="grand"] .grand-connected-window .window-sky{background:transparent!important}
.room[data-theme="rose"][data-space="grand"] .grand-connected-window .window-sky>.rose-window-motion{display:none}
.room[data-theme="rose"][data-space="grand"] :is(#roomWindow,.grand-window){left:var(--grand-window-x)!important;top:var(--grand-window-y)!important;width:var(--grand-window-width)!important;height:var(--grand-window-height)!important;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}
.room[data-theme="rose"][data-space="grand"] .room-window .window-sky{inset:0;border-radius:0;mask-image:var(--grand-window-mask);mask-size:100% 100%;mask-repeat:no-repeat;mask-mode:alpha}
.room[data-theme="rose"][data-space="grand"] .room-window :is(.window-frame,.window-cross,.window-sill,.window-curtain){display:none!important}
@media(prefers-reduced-motion:reduce){.rose-garden-light,.rose-petal{animation:none}.rose-petal{display:none}}
/* Night uses relit artwork so the floor never retains painted sunlight. */
.room[data-theme="rose"][data-time-of-day="night"]{--rose-scene:url('assets/rose-garden-realistic-night.png')}
.room[data-theme="rose"][data-time-of-day="night"][data-style="illustrated"]{--rose-scene:url('assets/rose-garden-illustrated-night.png')}
.room[data-theme="rose"][data-time-of-day="night"][data-space="classic"][data-style="realistic"] .real-shell{background-image:url('assets/rose-classic-shell-night.png')}
.room[data-theme="rose"][data-time-of-day="night"][data-space="classic"][data-style="realistic"] .real-shell:after{background-image:url('assets/rose-classic-realistic-night.png')}
.room[data-theme="rose"][data-time-of-day="night"][data-space="classic"][data-style="realistic"] .real-fire-motion{background-image:url('assets/rose-classic-realistic-night.png')}
.immersive-space[data-theme="rose"][data-time-of-day="night"]{--scene:url('assets/rose-immersive-realistic-night.png')!important;--shell:url('assets/rose-immersive-realistic-shell-night.png')!important}
.immersive-space[data-theme="rose"][data-time-of-day="night"][data-style="illustrated"]{--scene:url('assets/rose-immersive-illustrated-night.png')!important;--shell:url('assets/rose-immersive-illustrated-shell-night.png')!important}
.room[data-theme="rose"][data-time-of-day="night"][data-space="grand"] .grand-backdrop{background-image:url('assets/rose-grand-realistic-night.png')}
.room[data-theme="rose"][data-time-of-day="night"][data-space="grand"][data-style="illustrated"] .grand-backdrop{background-image:url('assets/rose-grand-illustrated-night.png')}
.room[data-theme="rose"][data-time-of-day="night"] .rose-garden-light{display:none}
.room[data-theme="rose"][data-time-of-day="night"] .grand-floor-light{display:none}
/* Solid mullions cover the glass-mask seams rather than exposing old scenery. */
.room.is-large-trial[data-theme=rose] .grand-upper-window::after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(90deg,transparent 24.5%,#b49a73 24.5% 28%,transparent 28% 71%,#b49a73 71% 74.5%,transparent 74.5%),linear-gradient(0deg,transparent 56.5%,#b49a73 56.5% 58.5%,transparent 58.5% 76.5%,#b49a73 76.5% 78.5%,transparent 78.5%);mask:url('assets/rose-large-upper-frame-mask.svg') center/100% 100% no-repeat;box-shadow:inset 0 0 0 1px #e4cfab}
.room.is-large-trial[data-theme=rose][data-time-of-day=night] .grand-upper-window::after{filter:brightness(.65)}
.room[data-theme="rose"][data-time-of-day="night"] .rose-petal{background:#bd899b;filter:brightness(.7)}
.rose-reading-lamp{display:none}
.room[data-theme="rose"][data-time-of-day="night"][data-space="classic"][data-style="illustrated"]{background:radial-gradient(ellipse at 83% 57%,#d79f6255,transparent 35%),linear-gradient(90deg,#5f4c52,#88746a 45%,#78615e 75%,#52434d)}
.room[data-theme="rose"][data-time-of-day="night"][data-space="classic"][data-style="illustrated"] .room-floor{filter:brightness(.48);box-shadow:none}
.room[data-theme="rose"][data-time-of-day="night"][data-space="classic"][data-style="illustrated"] :is(.room-rug,.bookcase,.ceiling-trim,.wallpaper-pattern){filter:brightness(.7)}
.room[data-theme="rose"][data-time-of-day="night"][data-space="classic"][data-style="illustrated"] .rose-reading-lamp{display:block;position:absolute;right:3%;top:51%;width:6%;height:29%;z-index:4;background:linear-gradient(90deg,#70512c,#ddbd79,#70512c) center/8% 100% no-repeat;pointer-events:none}
.rose-reading-lamp:before{content:'';position:absolute;inset:0 0 65%;background:repeating-linear-gradient(90deg,#ebba71 0 8%,#ffe1a0 9% 15%);clip-path:polygon(22% 0,78% 0,100% 100%,0 100%)}
.rose-reading-lamp:after{content:'';position:absolute;bottom:0;left:15%;width:70%;height:5%;border-radius:50%;background:#b18b4b}
.rose-reading-lamp i{position:absolute;inset:-50% -140%;background:radial-gradient(ellipse at 50% 35%,#ffcc7540,transparent 65%);z-index:-1}
.immersive-space[data-theme="rose"][data-time-of-day="night"].shelf-focus-view{--focus-surface:#352c32;--focus-panel:#493a3d;--focus-ink:#f2dfd0}
.immersive-space[data-theme="rose"][data-time-of-day="night"] .shelf-focus-source{filter:brightness(.7)}

/* Shelf status sits on the room artwork, outside the pale pink controls. */
:root #appShell :is(.legacy-room-dock,.trial-room-view)[data-theme=rose] :is(.small-room-count,.large-trial-count,.trial-hint,.trial-hint .trial-book-count){color:#fff5e6;text-shadow:0 1px 2px #351b29,0 0 4px #351b29,0 0 8px #351b29;font-weight:600}
