@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('./assets/fonts/instrument-serif-italic.ttf') format('truetype')}
.header .brand{font:italic 38px/1 'Instrument Serif',Georgia,serif;letter-spacing:-1px}
.header .brand span{color:inherit}
.profile-dock{position:fixed;z-index:6;bottom:28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;border:1px solid #ffffff25;background:#20232ccf;backdrop-filter:blur(18px);border-radius:32px;padding:4px;box-shadow:0 8px 28px #1112;color:#f2ebdf}
.profile-dock button{min-height:44px;padding:10px 21px;background:transparent;border-radius:24px;font-size:14px}
.profile-dock button:hover{background:#ffffff12}
.profile-dock button+button{position:relative}
.profile-dock button+button:before{content:'';position:absolute;left:0;top:15px;height:15px;width:1px;background:#ffffff25}
#profile-panel{inset:auto 0 91px;margin:0 auto;width:580px;max-width:calc(100% - 32px);max-height:calc(100svh - 130px);border:1px solid #e9ddc029;border-radius:24px;background:#252a31;color:#f0e9dc;padding:26px 28px;box-shadow:0 30px 110px #0006;overflow:auto}
#profile-panel::backdrop{background:#11141b6b;backdrop-filter:blur(5px)}
.profile-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
#profile-panel h2{font:500 16px/1.5 'DM Sans',sans-serif;letter-spacing:0;margin:0}
#profile-panel .circle-button,#profile-panel .circle-button:hover{background:#ffffff09;color:#f0e9dc;border-color:#ffffff20}
.profile-tabs{display:flex;width:max-content;max-width:100%;background:#151a2155;border:1px solid #ffffff12;padding:4px;border-radius:12px;margin-bottom:22px}
.profile-tabs button{padding:9px 19px;min-height:42px;border-radius:8px;background:transparent;color:#aaaeb5;font-size:14px}
.profile-tabs button[aria-selected=true]{background:#ece7dc;color:#292e33}
#profile-panel h3{font:italic 46px/1.1 'Instrument Serif',Georgia,serif;letter-spacing:-.7px;margin:0 0 20px}
#profile-panel p{font-size:16px;line-height:1.7;color:#c6c8c9;margin:0 0 18px}
#profile-panel a{color:#ead7ac;text-underline-offset:4px}
#profile-panel .profile-toolkit{border-top:1px solid #ffffff16;padding-top:18px;font-size:14px;color:#a9afb4;margin-bottom:0}
.contact-row{display:flex;gap:18px;justify-content:space-between;align-items:baseline;padding:15px 0;border-top:1px solid #ffffff18;text-decoration:none;font-size:16px;flex-wrap:wrap}
.contact-row>span{color:#adb4b8;font-size:14px}.contact-row>strong{font-weight:500;overflow-wrap:anywhere}.contact-row:hover strong{text-decoration:underline}
#profile-panel .agent-note{font-size:14px;color:#adb4b8;margin-bottom:12px}
#agent-profile-text{display:block;resize:vertical;width:100%;min-height:190px;height:230px;max-height:36svh;border:1px solid #ffffff20;border-radius:12px;background:#171d24;color:#dedfd9;padding:16px;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
#agent-profile-text:focus{outline:2px solid #d4ba7c;outline-offset:3px}
.profile-copy-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:15px}
.profile-resume{display:inline-flex;align-items:center;min-height:44px;margin-top:20px;padding:11px 18px;border:1px solid #ead7ac50;border-radius:10px;text-decoration:none;background:#ead7ac0a}.profile-resume:hover{background:#ead7ac20}
/* Keep the original Adriatic blue around both rooms, independent of interior lighting. */
:root,body,body[data-room=bedroom],body.evening{background:#014a69;color:#edf4f5;--ink:#edf4f5;--muted:#c0d5de;--line:#d3e5ec33}
body #room-transition,body[data-room=bedroom] #room-transition,body.evening #room-transition,body[data-room=bedroom].evening #room-transition{background:#014a69}
body .view-controls .circle-button,body[data-room=bedroom] .view-controls .circle-button{color:#edf4f5;background:#ffffff14;border-color:#ffffff30}
body .view-controls .circle-button:hover,body[data-room=bedroom] .view-controls .circle-button:hover{background:#ffffff2a}
body.intro-loading{background:#060b10}
#copy-profile{min-height:44px;padding:10px 18px;border-radius:10px;background:#e4d1a3;color:#272c31;font-size:14px}
#profile-copy-status{font-size:14px;color:#c6c8c9;line-height:1.5}
#room-intro{position:fixed;inset:0;z-index:12;pointer-events:none;--intro-label-opacity:1}
.intro-loading #scene canvas{opacity:0}
.intro-signature{position:absolute;top:calc(50% + min(18vw,140px));left:0;right:0;text-align:center;color:#d9ceba;opacity:var(--intro-label-opacity);font-size:13px;letter-spacing:3px;text-transform:uppercase}
#skip-intro{position:absolute;pointer-events:auto;bottom:36px;right:42px;min-height:44px;padding:8px 16px;border:1px solid #d1c9b73d;border-radius:24px;background:#30313bcc;color:#ded6c8;font-size:14px}
#skip-intro:focus-visible{outline:2px solid #dfcfac;outline-offset:4px}
.intro-playing .header,.intro-playing .profile-dock,.intro-playing .view-controls,.intro-playing #touch-controls,.intro-playing #interaction-actions,.intro-playing #hotspots,.intro-playing #toast{opacity:0;pointer-events:none}
.gallery-open .profile-dock,.using-desk .profile-dock,.using-bed .profile-dock,.using-library .profile-dock{visibility:hidden;pointer-events:none}
.profile-open #interaction-actions,.profile-open #touch-controls,.profile-open .view-controls{visibility:hidden}
@media(max-width:700px){.header .brand{font-size:34px}.profile-dock{bottom:calc(24px + env(safe-area-inset-bottom))}.profile-dock button{padding-inline:20px}.view-controls{bottom:calc(109px + env(safe-area-inset-bottom))}#profile-panel{bottom:calc(88px + env(safe-area-inset-bottom));padding:22px;max-height:calc(100svh - 112px - env(safe-area-inset-bottom))}.profile-top{margin-bottom:16px}#profile-panel h3{font-size:40px}.contact-row{gap:5px 18px}#skip-intro{right:24px;bottom:28px}}
@media(max-height:500px){#profile-panel{inset:12px;margin:auto;max-height:calc(100svh - 24px)}.profile-dock{bottom:14px}.profile-tabs{margin-bottom:14px}#profile-panel h3{font-size:32px}}
