:root{--dr-css-ok:1}
:root{--bg: #061d42;--bg2: #0a2b57;--surface: rgba(255, 255, 255, .075);--surface2: rgba(255, 255, 255, .13);--blue: #5cc3fa;--bubble: #1e78d6;--bubble-gray: rgba(255, 255, 255, .12);--teal: #2bb5c6;--text: #ffffff;--text2: #b9d5f0;--text3: #86abd2;--border: rgba(255, 255, 255, .13);--danger: #ff6b5f;--green: #34d399;--radius: 20px;--radius-lg: 28px;--shadow: 0 6px 24px rgba(2, 14, 38, .35);--sat: env(safe-area-inset-top, 0px);--sab: env(safe-area-inset-bottom, 0px);--tabbar-h: 56px;--kb: 0px;--vvh: 100dvh;--waves: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 230' preserveAspectRatio='none'><defs><radialGradient id='g' cx='.78' cy='.22' r='.35'><stop offset='0' stop-color='white' stop-opacity='.9'/><stop offset='1' stop-color='white' stop-opacity='0'/></radialGradient></defs><rect width='400' height='230' fill='url(%23g)' opacity='.55'/><circle cx='312' cy='54' r='23' fill='white' opacity='.92'/><path d='M0 120 C70 90 120 150 200 118 C280 86 330 130 400 104 L400 230 L0 230Z' fill='%236cc3f2' opacity='.30'/><path d='M0 150 C80 118 130 176 210 146 C290 116 340 160 400 136 L400 230 L0 230Z' fill='%232f93de' opacity='.38'/><path d='M0 182 C90 152 140 206 220 178 C300 150 350 190 400 170 L400 230 L0 230Z' fill='%231768c8' opacity='.5'/></svg>");--ocean: linear-gradient(180deg, #1a72c2 0%, #0f4f98 28%, #0a3676 58%, #061f4a 100%);color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{font-size:17px;-webkit-text-size-adjust:100%;background:#051a3c;width:100%;overflow-x:hidden;touch-action:pan-x pan-y}@supports (font: -apple-system-body){html{font:-apple-system-body}}body{margin:0;background:var(--ocean) fixed;width:100%;overflow-x:hidden;touch-action:pan-x pan-y;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,system-ui,Segoe UI,Roboto,sans-serif;line-height:1.35;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}#root{height:100dvh}button,input,select,textarea{font:inherit;color:inherit}input,select,textarea{font-size:max(16px,1rem)}button{background:none;border:0;padding:0;cursor:pointer;text-align:inherit}:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:8px}h1,h2,h3,p{margin:0}.app{height:100dvh;display:flex;flex-direction:column;background:transparent;position:relative}.screen{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:calc(var(--sat) + 12px) 16px calc(var(--tabbar-h) + var(--sab) + 28px)}.screen.no-tabbar{padding-bottom:calc(var(--sab) + 28px)}.screen-narrow{max-width:640px;margin:0 auto}.large-title{font-size:2rem;font-weight:700;letter-spacing:-.02em;padding:8px 4px 2px}.subtitle{color:var(--text2);font-size:.95rem;padding:0 4px 14px}.brand{position:relative;z-index:0;padding:10px 4px 22px}.brand:before{content:"";position:absolute;z-index:-1;left:-16px;right:-16px;top:calc(-12px - var(--sat));height:230px;background:var(--waves) center top / 100% 100% no-repeat;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%);pointer-events:none}.brand-name{font-size:2.4rem;font-weight:800;letter-spacing:.06em;text-shadow:0 4px 20px rgba(2,14,38,.35)}.brand-sub{color:#dff0ff;font-size:1rem;margin-top:2px;opacity:.92}.nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:44px;margin:0 -4px 6px}.nav-back{display:inline-flex;align-items:center;gap:2px;color:var(--blue);min-height:44px;min-width:44px;font-size:1.02rem}.nav-title{font-weight:600;font-size:1.02rem;text-align:center}.nav-action{justify-self:end;color:var(--blue);min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:flex-end;font-size:1.02rem}.tabbar{position:fixed;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);padding:6px 8px calc(var(--sab) + 4px);background:#051a3cd1;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--border);z-index:20}.tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;color:var(--text3);font-size:.66rem;font-weight:500;transition:color .15s}.tab svg{width:26px;height:26px}.tab.active{color:var(--blue)}.tab-badge{position:absolute;top:0;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--danger);color:#fff;font-size:.68rem;font-weight:600;display:grid;place-items:center}.section-label{color:var(--text2);font-size:.74rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:20px 6px 8px}.group{background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.row{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 16px;width:100%;position:relative}.row+.row:before{content:"";position:absolute;top:0;left:16px;right:0;height:1px;background:var(--border)}button.row:active,a.row:active{background:var(--surface2)}.row-emoji{font-size:1.45rem;width:32px;text-align:center;flex:none}.row-main{flex:1;min-width:0}.row-title{font-size:1rem}.row-sub{color:var(--text2);font-size:.85rem;margin-top:1px}.row-trail{color:var(--text2);font-size:.95rem;display:flex;align-items:center;gap:6px}.chev{width:14px;height:14px;color:var(--text3);flex:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:14px;font-weight:600;background:var(--surface2);transition:transform .12s,opacity .12s,background .12s}.btn:active{transform:scale(.97)}.btn.primary{background:linear-gradient(180deg,#3b9af0,#1768c8);color:#fff;box-shadow:0 6px 18px #1768c866}.btn.ghost{background:transparent;color:var(--blue)}.btn.danger{color:var(--danger)}.btn.block{width:100%}.btn:disabled{opacity:.45;pointer-events:none}.input,.textarea,.select{width:100%;min-height:46px;padding:10px 14px;border-radius:12px;border:1px solid var(--border);background:var(--bg2);outline:none;font-size:max(16px,1rem)}.input:focus,.textarea:focus,.select:focus{border-color:var(--blue)}.input::placeholder,.textarea::placeholder{color:var(--text3)}.textarea{resize:none;min-height:84px}.search{position:relative;display:flex;align-items:center}.search svg{position:absolute;left:12px;width:18px;height:18px;color:var(--text3);pointer-events:none}.search .input{padding-left:38px;border-radius:12px}.search-fake{width:100%;min-height:46px;display:flex;align-items:center;gap:8px;padding:0 14px;border-radius:12px;background:var(--bg2);border:1px solid var(--border);color:var(--text3)}.search-fake svg{width:18px;height:18px}.seg{display:flex;padding:3px;background:var(--bg2);border-radius:12px;border:1px solid var(--border)}.seg button{flex:1;min-height:44px;border-radius:9px;text-align:center;font-size:.9rem;font-weight:500;color:var(--text2);transition:background .15s,color .15s}.seg button.active{background:var(--surface2);color:#fff}.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:20px;background:var(--surface2);border:1px solid var(--border);font-size:.92rem;white-space:nowrap;transition:transform .12s,background .12s}.chip:active{transform:scale(.96)}.chip.active{background:linear-gradient(180deg,#3b9af0,#1768c8);border-color:transparent}.switch{position:relative;width:51px;height:31px;flex:none}.switch input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.switch span{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:16px;background:#ffffff38;transition:background .2s;pointer-events:none}.switch span:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0000004d;transition:transform .2s}.switch input:checked+span{background:var(--green)}.switch input:checked+span:after{transform:translate(20px)}.switch input:focus-visible+span{outline:2px solid var(--blue);outline-offset:2px}.empty{text-align:center;color:var(--text2);padding:40px 24px;font-size:.95rem}.empty .big{font-size:2.2rem;margin-bottom:8px}.hint{color:var(--text2);font-size:.85rem;padding:8px 8px 0}.error-text{color:var(--danger);font-size:.9rem}.avatar{--size: 48px;width:var(--size);height:var(--size);border-radius:50%;flex:none;position:relative;overflow:hidden;background:var(--surface2);display:grid;place-items:center;font-weight:700;font-size:calc(var(--size) * .42);color:#fff}.avatar img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.avatar.k,.avatar.n{background:linear-gradient(160deg,#3b9af0,#0f4fa8)}.avatar{box-shadow:0 0 0 2px #ffffff47,0 6px 16px #020e2666}.profile-row{display:flex;align-items:center;gap:14px;padding:14px 16px;position:relative}.profile-row+.profile-row:before{content:"";position:absolute;top:0;left:78px;right:0;height:1px;background:var(--border)}.profile-name{font-weight:600;font-size:1.05rem}.profile-name small{color:var(--text3);font-weight:400;font-size:.8rem;margin-left:6px}.profile-status{font-size:1rem;margin-top:1px}.profile-since{color:var(--text2);font-size:.85rem}.profile-comment{color:var(--text2);font-size:.9rem;margin-top:4px;font-style:italic}.status-pop{animation:pop .35s ease-out}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tile{background:var(--surface);border-radius:16px;padding:12px;min-height:94px;display:flex;flex-direction:column;gap:2px;text-align:left;overflow:hidden;box-shadow:var(--shadow)}button.tile:active{background:var(--surface2)}.tile-label{color:var(--text2);font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.tile-value{font-size:1.15rem;font-weight:600;line-height:1.15;margin-top:4px;overflow-wrap:anywhere}.tile-sub{color:var(--text2);font-size:.82rem;line-height:1.2}.say-row{margin-top:10px}.status-box{display:grid;gap:10px}.shortcuts{display:flex;flex-wrap:wrap;gap:8px}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#020c208c;z-index:50;animation:fade .2s ease-out}.sheet{position:fixed;left:0;right:0;bottom:var(--kb);margin:0 auto;max-width:640px;max-height:calc(var(--vvh) - var(--sat) - 12px);display:flex;flex-direction:column;background:var(--bg2);border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg);box-shadow:0 -8px 40px #00000073;z-index:51;animation:slide-up .28s cubic-bezier(.22,1,.36,1);touch-action:pan-y}.sheet.tall{height:calc(var(--vvh) - var(--sat) - 12px)}.sheet-handle{width:38px;height:5px;border-radius:3px;background:#ffffff38;margin:8px auto 2px;flex:none}.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:6px 12px 6px 20px;min-height:48px;flex:none}.sheet-title{font-weight:700;font-size:1.15rem}.sheet-close{width:44px;height:44px;display:grid;place-items:center;color:var(--text2)}.sheet-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:4px 16px 16px}.sheet-footer{flex:none;padding:10px 16px calc(var(--sab) + 12px);border-top:1px solid var(--border);display:grid;gap:8px;background:var(--bg2)}.sheet-sticky{padding:0 16px 8px;flex:none}.pick-row{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px 14px;position:relative}.pick-row+.pick-row:before{content:"";position:absolute;top:0;left:58px;right:0;height:1px;background:var(--border)}.pick-row:active{background:var(--surface2)}.pick-emoji{font-size:1.4rem;width:32px;text-align:center}.pick-sub{color:var(--text3);font-size:.78rem}.comment-head{display:flex;align-items:center;gap:14px;padding:4px 4px 14px}.comment-emoji{font-size:2.4rem}.comment-title{font-size:1.2rem;font-weight:700}.counter{text-align:right;color:var(--text3);font-size:.8rem;margin-top:4px}.counter.max{color:var(--danger)}.suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.notice{background:var(--surface);border-radius:14px;padding:12px 14px;font-size:.9rem;color:var(--text2);margin-top:12px}.notice.warn{border:1px solid rgba(255,159,10,.5);color:#ffcf8a}.day-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 10px}.day-nav button{width:44px;height:44px;display:grid;place-items:center;color:var(--blue)}.day-nav button:disabled{color:var(--text3)}.day-label{font-weight:600;text-align:center;flex:1;position:relative}.day-label input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%}.filters{display:grid;gap:8px;margin-bottom:8px}.thread{display:flex;flex-direction:column;gap:4px;padding:8px 0 16px}.stamp{text-align:center;color:var(--text3);font-size:.75rem;font-weight:500;margin:12px 0 4px}.msg{display:flex;align-items:flex-end;gap:8px;max-width:88%;animation:bubble-in .28s ease-out}.msg.me{align-self:flex-end;flex-direction:row-reverse}.msg.other{align-self:flex-start}.bubble{background:var(--bubble-gray);padding:10px 14px;border-radius:20px 20px 20px 6px;text-align:left;min-width:0;overflow-wrap:anywhere}.msg.me .bubble{background:linear-gradient(180deg,#2f8df0,#1768c8);border-bottom-left-radius:20px;border-bottom-right-radius:6px}.bubble-text{font-size:1rem}.bubble-quote{margin-top:4px;font-size:.92rem;opacity:.85;font-style:italic}.map-card{display:block;margin-top:8px;width:100%;border-radius:14px;overflow:hidden;background:#00000040;text-align:left}.map-art{height:74px;background:linear-gradient(90deg,transparent 49%,rgba(255,255,255,.07) 50%,transparent 51%) 0 0 / 34px 34px,linear-gradient(0deg,transparent 49%,rgba(255,255,255,.07) 50%,transparent 51%) 0 0 / 34px 34px,linear-gradient(135deg,#14518f,#0b2a57);display:grid;place-items:center;font-size:1.6rem}.map-label{padding:8px 12px;font-size:.88rem;font-weight:600}.map-frame{width:100%;height:300px;border:0;border-radius:14px;background:var(--surface)}.note-row{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;position:relative}.note-row+.note-row:before{content:"";position:absolute;top:0;left:52px;right:0;height:1px;background:var(--border)}.check{width:44px;height:44px;margin:-10px -8px -10px -10px;display:grid;place-items:center;flex:none}.check i{width:26px;height:26px;border-radius:50%;border:2px solid var(--text3);display:grid;place-items:center;transition:background .15s,border-color .15s}.check i svg{width:14px;height:14px;opacity:0}.check.done i{background:var(--bubble);border-color:var(--bubble)}.check.done i svg{opacity:1}.note-text{font-size:1rem;overflow-wrap:anywhere}.note-text.done{color:var(--text3);text-decoration:line-through}.note-meta{color:var(--text3);font-size:.78rem;margin-top:2px}.pin{color:#ff9f0a;margin-left:4px}.add-bar{display:grid;gap:8px;margin:4px 0 6px}.add-bar-row{display:flex;gap:8px}.add-bar-row .input{flex:1}.add-btn{width:48px;min-height:46px;border-radius:12px;background:var(--bubble);display:grid;place-items:center}.add-btn:disabled{opacity:.4}.fab-row{display:flex;justify-content:flex-end}.event-time{min-width:52px;font-weight:600;font-variant-numeric:tabular-nums}.field{display:grid;gap:6px;margin-top:14px}.field>label,.field>.label{color:var(--text2);font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}input[type=date],input[type=time],input[type=datetime-local]{min-height:46px;-moz-appearance:none;appearance:none;-webkit-appearance:none}.summary{margin:4px 0}.summary-from{color:var(--text3);font-size:.78rem;margin:0 0 4px 14px}.summary-bubble{background:var(--bubble-gray);border-radius:22px 22px 22px 6px;padding:16px 18px;font-size:1.02rem;line-height:1.5;max-width:94%;animation:bubble-in .3s ease-out}.summary-bubble.blue{background:linear-gradient(160deg,#2a8ae8,#0f4fa8);border:1px solid rgba(255,255,255,.18);box-shadow:0 8px 24px #08286473}.summary-date{color:var(--text3);font-size:.78rem;margin:6px 0 0 14px}.login{position:relative;z-index:0;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;padding:calc(var(--sat) + 24px) 24px calc(var(--sab) + 24px);max-width:440px;margin:0 auto;gap:16px}.login:before{content:"";position:fixed;z-index:-1;left:0;right:0;top:0;height:300px;background:var(--waves) center top / 100% 100% no-repeat;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%);pointer-events:none}.login-title{font-size:3.4rem;font-weight:800;letter-spacing:.08em;text-align:center;text-shadow:0 6px 28px rgba(2,14,38,.45)}.login-sub{text-align:center;color:var(--text2);margin-top:-8px;margin-bottom:12px}.who{display:grid;grid-template-columns:1fr 1fr;gap:10px}.who button{display:grid;justify-items:center;gap:8px;padding:16px 8px;border-radius:var(--radius);background:var(--surface);border:2px solid transparent;font-weight:600;text-align:center}.who button.active{border-color:var(--blue);background:var(--surface2)}.banner-stack{position:fixed;top:calc(var(--sat) + 8px);left:12px;right:12px;z-index:100;display:grid;gap:8px;pointer-events:none;max-width:560px;margin:0 auto}.banner{pointer-events:auto;display:grid;gap:1px;padding:12px 16px;border-radius:22px;background:#0a2b57f0;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--border);box-shadow:0 8px 30px #00000073;animation:banner-in .35s cubic-bezier(.22,1,.36,1)}.banner-app{color:var(--text2);font-size:.7rem;font-weight:700;letter-spacing:.08em}.banner-title{font-weight:600;font-size:.95rem}.banner-title:empty{display:none}.banner-body{font-size:.95rem}.pill-toast{position:fixed;left:50%;bottom:calc(var(--tabbar-h) + var(--sab) + 20px);transform:translate(-50%);background:#0e376cf5;border:1px solid var(--border);padding:10px 18px;border-radius:22px;font-size:.92rem;font-weight:500;z-index:90;animation:pill-in .25s ease-out;white-space:nowrap}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green)}.dot.off{background:var(--danger)}.unread{width:9px;height:9px;border-radius:50%;background:var(--blue);flex:none}@keyframes fade{0%{opacity:0}}@keyframes slide-up{0%{transform:translateY(100%)}}@keyframes bubble-in{0%{opacity:0;transform:translateY(8px) scale(.97)}}@keyframes banner-in{0%{opacity:0;transform:translateY(-24px)}}@keyframes pill-in{0%{opacity:0;transform:translate(-50%,8px)}}@keyframes pop{0%{transform:scale(.97);opacity:.6}to{transform:scale(1);opacity:1}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media (min-width: 700px){.screen{padding-left:max(16px,calc((100vw - 640px)/2));padding-right:max(16px,calc((100vw - 640px)/2))}}.note-row button{min-height:44px}.tabbar{transition:transform .18s ease,opacity .18s ease}.kb-open .tabbar{transform:translateY(130%);opacity:0;pointer-events:none}.screen-hero{padding-top:0}.hero{position:relative;margin:0 -16px;padding:calc(var(--sat) + 14px) 22px 18px;min-height:470px;isolation:isolate}.hero-sky{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;-webkit-mask-image:linear-gradient(180deg,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,#000 78%,transparent 100%)}.hero-sky:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#04163461,#0416340d 55%,#0416342e)}.sky-svg{display:block}.hero-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.82rem;font-weight:600;text-shadow:0 1px 10px rgba(0,20,50,.45)}.hero-weather{padding:4px 11px;border-radius:999px;background:#fff3;border:1px solid rgba(255,255,255,.28)}.hero-hint{font-size:.72rem;opacity:.85;margin-top:6px}.hero-hello{margin:14px 0 0;font-size:1.85rem;line-height:1.12;font-weight:800;letter-spacing:-.015em;text-shadow:0 2px 18px rgba(0,25,60,.45)}.hero-hello span{display:block;font-weight:600;font-size:1.12rem;opacity:.95;margin-bottom:2px}.drobo{margin:12px 0 0;max-width:34ch;font-size:1.02rem;line-height:1.42;font-weight:500;text-shadow:0 1px 12px rgba(0,25,60,.5);animation:drobo-in .6s ease-out}.drobo-sign{display:block;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;opacity:.85;margin-bottom:3px}@keyframes drobo-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.duo{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:26px}.person{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;text-shadow:0 1px 10px rgba(0,20,50,.5)}.person .avatar{box-shadow:0 0 0 3px #ffffff80,0 10px 24px #020e2666}.person-name{margin-top:9px;font-weight:700;font-size:1.1rem}.person-me{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;opacity:.8}.person-state{margin-top:3px;font-size:.98rem;font-weight:500}.person-since{font-size:.8rem;opacity:.85;margin-top:1px}.person-comment{font-size:.82rem;font-style:italic;opacity:.9;margin-top:3px;overflow-wrap:anywhere}.quick{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;padding:13px 14px;border-radius:20px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);min-height:64px}.quick-card.wide{grid-column:1 / -1;grid-template-columns:auto 1fr auto}.quick-card .quick-icon{grid-row:1 / span 2}.quick-title{font-weight:650;font-size:1rem}.quick-sub{color:var(--text2);font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.quick-card.wide .chev{grid-row:1 / span 2;grid-column:3;width:18px;height:18px;color:var(--text3)}.quick-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;flex:none}.quick-icon svg{width:22px;height:22px}.q-blue{background:linear-gradient(160deg,#4bb0f5,#1c68c9)}.q-amber{background:linear-gradient(160deg,#ffc15a,#e8832a)}.q-rose{background:linear-gradient(160deg,#ff8fb0,#d94a85)}.q-violet{background:linear-gradient(160deg,#b99bff,#6b4fd6)}.screen-hero .status-box{margin-top:4px;gap:10px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:22px}.btn.primary.block{min-height:52px;font-size:1.05rem;border-radius:26px;box-shadow:0 8px 22px #1768c873}.type-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.type-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px 10px;border-radius:20px;background:var(--surface);border:1.5px solid transparent;transition:background .2s,border-color .2s,transform .15s}.type-card.active{background:var(--surface2);border-color:#ffffff73}.type-label{font-size:.86rem;font-weight:600}.type-count{position:absolute;top:7px;right:9px;font-size:.72rem;font-weight:700;color:var(--blue);min-width:14px;text-align:right}.composer{display:grid;gap:10px;padding:12px;border-radius:22px;background:var(--surface);border:1px solid var(--border)}.composer-row{display:flex;gap:8px}.composer-row .input{flex:1}.chip.active{background:var(--bubble);border-color:transparent;color:#fff}.pm-list{display:grid;gap:8px;margin-top:6px}.pm-card{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:18px;background:var(--surface);border:1px solid var(--border);animation:pm-in .3s ease-out}.pm-card.is-done{opacity:.6}.pm-body{flex:1;min-width:0;display:grid;gap:6px;text-align:left}.pm-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:var(--text3);font-size:.78rem}.pm-meta .avatar{box-shadow:none}.pm-due{padding:2px 8px;border-radius:999px;background:#5cc3fa2e;color:var(--blue);font-weight:600}.pm-due.late{background:#ff6b5f33;color:#ff9b92}.section-label.late{color:#ff9b92}@keyframes pm-in{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}.summary-sign{margin-top:8px;font-size:.78rem;opacity:.8;font-weight:600}.cloud{animation:cloud-drift 60s ease-in-out infinite alternate}@keyframes cloud-drift{0%{transform:translate(-14px)}to{transform:translate(14px)}}.gust{animation:gust 2.4s ease-in-out infinite}@keyframes gust{0%,to{opacity:0;transform:translate(-10px)}50%{opacity:.4;transform:translate(14px)}}.drop{animation:drop .9s linear infinite}@keyframes drop{0%{transform:translateY(-16px);opacity:0}30%{opacity:.4}to{transform:translateY(18px);opacity:0}}.star{animation:twinkle 3.2s ease-in-out infinite}@keyframes twinkle{50%{opacity:.15}}.firefly{animation:firefly 4.5s ease-in-out infinite}@keyframes firefly{0%,to{opacity:0;transform:translate(0)}50%{opacity:1;transform:translate(6px,-8px)}}.btn,.chip,.quick-card,.type-card,.tab,.add-btn,.check,.pm-body,.search-fake{transition:transform .12s ease,background .2s ease,border-color .2s ease,color .2s ease}.btn:active,.chip:active,.quick-card:active,.type-card:active,.add-btn:active,.search-fake:active{transform:scale(.96)}.tab:active{transform:scale(.9)}.tab.active svg{animation:tab-bounce .45s ease}@keyframes tab-bounce{0%{transform:scale(1)}40%{transform:scale(1.28) translateY(-2px)}to{transform:scale(1)}}.check.done i{animation:check-pop .4s ease}@keyframes check-pop{0%{transform:scale(.6)}60%{transform:scale(1.25)}to{transform:scale(1)}}.fx-burst{position:fixed;z-index:200;width:0;height:0;pointer-events:none}.fx-burst span{position:absolute;left:-9px;top:-9px;font-size:18px;opacity:0;animation:fx-fly .75s ease-out forwards}@keyframes fx-fly{0%{opacity:0;transform:translate(0) scale(.4)}20%{opacity:1}to{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.1) rotate(25deg)}}@media (prefers-reduced-motion: reduce){.cloud,.gust,.drop,.star,.firefly,.drobo,.pm-card,.tab.active svg,.check.done i{animation:none!important}.fx-burst{display:none}}.composer .chips{flex-wrap:wrap;overflow:visible}:root{--tabbar-h: 78px}.tabbar{left:12px;right:12px;bottom:calc(var(--sab) + 10px);padding:6px;gap:4px;border-radius:16px;border:1px solid rgba(190,225,255,.45);background:linear-gradient(180deg,#ffffff38,#fff0 42%),linear-gradient(180deg,#3480d6ed,#0e3e8af2);-webkit-backdrop-filter:blur(26px) saturate(190%);backdrop-filter:blur(26px) saturate(190%);box-shadow:inset 0 1px #fff9,inset 0 -10px 18px #00184647,inset 0 0 0 1px #ffffff0f,0 16px 34px #020c228c;overflow:hidden}.tabbar:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(115deg,#ffffff2e,#fff0 38%);pointer-events:none}.tab{z-index:1;min-height:52px;border-radius:11px;color:#e2f0ffb8;font-weight:600;letter-spacing:.01em}.tab svg{width:23px;height:23px}.tab.active{color:#fff;background:linear-gradient(180deg,#ffffff4d,#ffffff1f);box-shadow:inset 0 1px #ffffffb3,inset 0 0 0 1px #ffffff38,0 4px 12px #00143c4d}.tab-badge{top:3px;border-radius:5px;box-shadow:0 0 0 2px #144696e6}.kb-open .tabbar{transform:translateY(160%)}.pill-toast{bottom:calc(var(--tabbar-h) + var(--sab) + 24px)}.intro-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:grid;place-items:center;padding:calc(var(--sat) + 16px) 16px calc(var(--sab) + 16px);background:#020c229e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:intro-fade .3s ease-out}.intro-card{width:100%;max-width:420px;max-height:100%;overflow-y:auto;padding:22px 20px 18px;border-radius:20px;border:1px solid rgba(190,225,255,.45);background:linear-gradient(180deg,#fff3,#fff0 40%),linear-gradient(180deg,#286ec8f5,#0a3478f7);box-shadow:inset 0 1px #ffffff8c,0 24px 60px #000a1e99;animation:intro-pop .45s cubic-bezier(.2,1.2,.4,1)}.intro-robot{font-size:3.2rem;text-align:center;animation:robot-wave 2.4s ease-in-out infinite}.intro-card h2{margin:4px 0 0;text-align:center;font-size:1.5rem}.intro-lead{margin:6px 0 12px;text-align:center;font-size:1.05rem}.intro-body{font-size:.95rem;line-height:1.45;color:#e4f1ff}.intro-body p{margin:0 0 10px}.intro-body ul{margin:0 0 12px;padding-left:20px;display:grid;gap:6px}.intro-promise{padding:10px 12px;border-radius:12px;background:#ffffff1f;font-size:.88rem}.intro-sign{margin-top:10px;text-align:right;font-size:.8rem;opacity:.8;font-weight:600}@keyframes intro-fade{0%{opacity:0}to{opacity:1}}@keyframes intro-pop{0%{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}@keyframes robot-wave{0%,to{transform:rotate(-6deg)}50%{transform:rotate(8deg) translateY(-3px)}}@media (prefers-reduced-motion: reduce){.intro-robot,.intro-card,.intro-backdrop{animation:none!important}}.intro-card{display:flex;flex-direction:column;overflow:hidden}.intro-body{flex:1;min-height:0;overflow-y:auto;margin-bottom:12px;font-size:.9rem}.intro-robot{font-size:2.6rem}.intro-card h2{font-size:1.35rem}.intro-lead{font-size:1rem;margin-bottom:8px}.tabbar{left:14px;right:14px;bottom:calc(var(--sab) + 10px);padding:6px 6px 5px;border-radius:26px;border:1px solid rgba(215,236,255,.42);background:linear-gradient(180deg,#ffffff47,#ffffff0a 55%),linear-gradient(180deg,#4c96eb85,#164ca09e);-webkit-backdrop-filter:blur(30px) saturate(210%);backdrop-filter:blur(30px) saturate(210%);box-shadow:inset 0 1px #ffffffa6,inset 0 -1px #ffffff1f,0 14px 36px #020e286b}.tabbar:before{background:linear-gradient(110deg,#ffffff38,#fff0 34%)}.tab{min-height:54px;border-radius:20px;gap:3px;color:#e8f4ffc7;font-size:.64rem;font-weight:500;letter-spacing:.02em}.tab svg{width:25px;height:25px;stroke-width:1.2}.tab.active{color:#fff;background:linear-gradient(180deg,#ffffff57,#ffffff24);box-shadow:inset 0 1px #ffffffbf,inset 0 0 0 1px #fff3,0 6px 16px #00144647}.tab.active span:not(.tab-badge){font-weight:650}.tab-badge{border-radius:8px;box-shadow:0 0 0 2px #2260bae6}.screen-hero .status-box{background:none;border:none;padding:0;gap:12px;box-shadow:none}.screen-hero .status-box .btn.primary.block{justify-self:center;width:min(100%,300px);min-height:46px;padding:0 26px;border-radius:999px;font-size:.98rem;font-weight:650;letter-spacing:.01em;color:#fff;border:1px solid rgba(255,255,255,.38);background:linear-gradient(180deg,#ffffff57,#fff0 52%),linear-gradient(180deg,#5eb2ff,#2677e6);box-shadow:inset 0 1px #ffffffb3,inset 0 -3px 8px #08389659,0 8px 22px #1e6ee666}.screen-hero .status-box .search-fake{background:#ffffff17;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.login:before{display:none}.who button{font-size:2rem;font-weight:700;padding:22px 8px;letter-spacing:.04em}.quick{grid-template-columns:1fr}.quick-card.wide{grid-template-rows:auto auto;align-items:start}.quick-card.wide .quick-icon{grid-row:1;align-self:center}.quick-card.wide .chev{grid-row:1;grid-column:3}.peek{grid-column:1 / -1;list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px solid var(--border);display:grid;gap:7px;min-width:0}.peek li{display:flex;align-items:baseline;gap:10px;min-width:0;font-size:.9rem}.peek-when{flex:none;min-width:88px;font-size:.74rem;font-weight:650;padding:2px 9px;border-radius:999px;background:var(--surface2);color:var(--text2);text-align:center;white-space:nowrap}.peek-when.hot{background:#4bb0f533;color:var(--blue)}.peek-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.peek-time{flex:none;color:var(--text3);font-size:.8rem;font-variant-numeric:tabular-nums}.peek-empty{color:var(--text3);font-size:.86rem}.peek-count{font-style:normal;margin-left:8px;font-size:.72rem;font-weight:700;padding:1px 8px;border-radius:999px;background:var(--surface2);color:var(--text2)}.peek-when{min-width:108px}.quick-card.wide .quick-title{align-self:center}.quick-card,.type-card,.composer,.pm-card{background:linear-gradient(135deg,#ffffff29,#ffffff08 42%,#ffffff12);border:1px solid rgba(220,238,255,.28);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:inset 0 1px #fff6,inset 0 -1px #ffffff0f,0 8px 24px #020e2838}.quick-card.wide{background:linear-gradient(135deg,#ffffff26,#ffffff06 45%,#fff1)}.quick-icon{background:#ffffff1f!important;border:1px solid rgba(255,255,255,.34);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 1px #ffffff73}.quick-icon svg{width:22px;height:22px;stroke-width:1.4}.q-blue{color:#8fd0ff}.q-amber{color:#ffd28a}.q-rose{color:#ffd0e1}.peek{border-top-color:#ffffff29}.peek-when{background:#ffffff1f}.peek-when.hot{background:#78c8ff47}.screen-hero .status-box .chip{background:#ffffff1a;border:1px solid rgba(220,238,255,.3);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);box-shadow:inset 0 1px #ffffff59}.quick-icon{position:relative;overflow:visible}.q-badge{position:absolute;top:-7px;right:-7px;min-width:21px;height:21px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:linear-gradient(180deg,#ff6b61,#ff3b30);color:#fff;font-size:.74rem;font-weight:800;line-height:1;font-style:normal;border:2px solid rgba(8,36,90,.9);box-shadow:0 3px 8px #ff3b3080;font-variant-numeric:tabular-nums}.type-count:not(:empty){top:6px;right:8px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;text-align:center;line-height:1;border-radius:999px;background:linear-gradient(180deg,#ff6b61,#ff3b30);color:#fff;box-shadow:0 3px 8px #ff3b3073}.composer .chips{justify-content:center}.new-btn{width:100%;min-height:50px;margin:0 0 12px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;font-weight:650;font-size:1rem;color:#fff;border:1px solid rgba(255,255,255,.38);background:linear-gradient(180deg,#ffffff57,#fff0 52%),linear-gradient(180deg,#5eb2ff,#2677e6);box-shadow:inset 0 1px #ffffffb3,inset 0 -3px 8px #08389659,0 8px 22px #1e6ee666}.new-btn.open{background:#ffffff24;box-shadow:inset 0 1px #fff6}.new-plus{font-size:1.5rem;line-height:1;font-weight:400;margin-top:-2px}.composer.drop{animation:drop-in .28s ease-out;transform-origin:top}@keyframes drop-in{0%{opacity:0;transform:translateY(-8px) scaleY(.94)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){.composer.drop{animation:none}}.composer .chips.recipient-chips{flex-wrap:nowrap;gap:6px;justify-content:center}.recipient-chips .chip{flex:0 1 auto;min-width:0;padding:0 11px;font-size:.86rem;white-space:nowrap}.q-badge{top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;background:#ff78aa6b;border:1px solid rgba(255,196,220,.85);-webkit-backdrop-filter:blur(8px) saturate(160%);backdrop-filter:blur(8px) saturate(160%);box-shadow:none;color:#fff;font-size:.68rem;font-weight:800;text-shadow:0 1px 2px rgba(120,20,70,.55)}.type-count:not(:empty){top:7px;right:9px;min-width:18px;height:18px;padding:0 5px;background:#ff78aa6b;border:1px solid rgba(255,196,220,.85);-webkit-backdrop-filter:blur(8px) saturate(160%);backdrop-filter:blur(8px) saturate(160%);box-shadow:none;color:#fff;font-size:.68rem;font-weight:800;text-shadow:0 1px 2px rgba(120,20,70,.55)}.composer,.composer>*{min-width:0;max-width:100%}.recipient-chips .chip{padding:0 9px;font-size:.8rem}.composer .chips.recipient-chips{gap:5px}.q-badge,.type-count:not(:empty){background:#ff5ca085;border-color:#ffbedae6}.q-badge,.type-count:not(:empty){background:linear-gradient(180deg,#ffaacdc7,#ff70aab8);border-color:#ffe1eef2}.q-badge,.type-count:not(:empty){background:#d6246e;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-shadow:none;color:#fff;min-width:15px;height:15px;padding:0 4px;font-size:.6rem;font-weight:800}.q-badge{top:-4px;right:-4px}.type-count:not(:empty){top:8px;right:10px}.person .avatar{overflow:visible;isolation:isolate;box-shadow:none}.person .avatar img{border-radius:50%}.person .avatar:before{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:50%;z-index:-1;background:radial-gradient(120% 120% at 25% 15%,#ffffff80,#ffffff14 45%,#ffffff2e);border:1px solid rgba(235,246,255,.6);-webkit-backdrop-filter:blur(12px) saturate(180%);backdrop-filter:blur(12px) saturate(180%);box-shadow:inset 0 1.5px #ffffffd9,inset 0 -2px 6px #fff3,0 10px 24px #020e264d}.person .avatar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;pointer-events:none;box-shadow:inset 0 0 0 1.5px #ffffff8c,inset 0 4px 10px #ffffff40}.person .avatar:before{top:-3px;right:-3px;bottom:-3px;left:-3px;border-width:1px;background:linear-gradient(135deg,#ffffff73,#ffffff1a 50%,#ffffff4d);box-shadow:inset 0 1px #fffc,0 4px 12px #020e2633}.person .avatar:after{box-shadow:inset 0 0 0 1px #ffffff80}.person .avatar:before{top:-2px;right:-2px;bottom:-2px;left:-2px;border-width:.5px;border-color:#ffffff59;background:transparent;box-shadow:none}.person .avatar:after{box-shadow:inset 0 0 0 .5px #ffffff4d}.person-photo{position:relative;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;touch-action:manipulation}.person-photo.pressable{cursor:pointer;border-radius:50%}.person-photo.pressable:active{transform:scale(.96);transition:transform .12s}.mood-chip{margin-top:7px;font:inherit;font-size:.78rem;color:#fff;padding:4px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:#ffffff24;backdrop-filter:blur(12px) saturate(160%);-webkit-backdrop-filter:blur(12px) saturate(160%);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mood-chip.static{display:inline-block}button.mood-chip{cursor:pointer}.duo-hint{margin:14px 0 0;text-align:center;font-size:.72rem;opacity:.72;text-shadow:0 1px 8px rgba(0,20,50,.5)}.gesture-list{display:grid;gap:10px;padding:4px 0 8px}.gesture-btn{display:flex;align-items:center;gap:14px;font:inherit;font-size:1.05rem;font-weight:600;text-align:left;padding:14px 16px;border-radius:16px;border:1px solid rgba(0,0,0,.08);background:#788cc81f;color:inherit;cursor:pointer}.gesture-emoji{font-size:1.8rem}.mood-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px 0 8px}.mood-opt{display:flex;flex-direction:column;align-items:center;gap:4px;font:inherit;font-size:.9rem;font-weight:600;padding:12px 8px;border-radius:16px;border:1.5px solid transparent;background:#788cc81f;color:inherit;cursor:pointer}.mood-opt.on{border-color:#3b82f6;background:#3b82f629}.mood-emoji{font-size:1.9rem}.burst{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:90;overflow:hidden}.burst span{position:absolute;bottom:-10%;animation:burst-up 2s ease-out forwards;opacity:0}@keyframes burst-up{0%{transform:translateY(0) scale(.6);opacity:0}15%{opacity:1}to{transform:translateY(-95vh) scale(1.15) rotate(14deg);opacity:0}}@media (prefers-reduced-motion: reduce){.burst span{animation-duration:.01s}}.month-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px}.month-stat{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"e v" "e l";column-gap:10px;align-items:center;padding:10px 12px;border-radius:16px;background:#788cc81f;border:1px solid rgba(120,140,200,.18)}.month-stat-emoji{grid-area:e;font-size:1.5rem}.month-stat-value{grid-area:v;font-weight:700;font-size:.98rem;overflow-wrap:anywhere}.month-stat-label{grid-area:l;font-size:.72rem;opacity:.7}.sheet-hint{margin:0 0 8px;text-align:left}.gesture-list{gap:8px;padding-bottom:24px}.gesture-btn{padding:10px 14px;font-size:1rem}.gesture-emoji{font-size:1.5rem}.mood-grid{gap:8px;padding-bottom:24px}.mood-opt{padding:8px 6px;font-size:.85rem}.mood-emoji{font-size:1.6rem}.reply-btn{margin-top:6px;font:inherit;font-size:.74rem;color:#fff;padding:3px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:#ffffff1a;cursor:pointer}.person-reply{font-size:.78rem;opacity:.92;margin-top:3px;overflow-wrap:anywhere}.person-reply b{font-weight:700}.bubble-reply{margin-top:6px;padding:5px 9px;border-radius:10px;background:#ffffff29;font-size:.85rem;overflow-wrap:anywhere}.bubble-reply-btn{display:block;margin-top:6px;font:inherit;font-size:.74rem;color:inherit;opacity:.75;background:none;border:0;padding:2px 0;cursor:pointer}.reply-about{margin:0 0 10px;font-weight:600}.reply-about span{font-weight:400;opacity:.65}.reply-list{list-style:none;margin:0;padding:0 0 16px;display:grid;gap:8px}.reply-list li{padding:9px 12px;border-radius:14px;background:#788cc824;overflow-wrap:anywhere}.reply-list li.mine{background:#3b82f633}.reply-list li span{display:block;font-size:.7rem;opacity:.6;margin-top:2px}.reply-form{display:flex;gap:8px;align-items:center}.reply-form .input{flex:1;min-width:0}@keyframes buzz-jolt{0%,to{transform:translate(0)}8%{transform:translate(-7px,2px) rotate(-.6deg)}16%{transform:translate(6px,-2px) rotate(.5deg)}26%{transform:translate(0)}34%{transform:translate(-6px,1px)}42%{transform:translate(7px,-1px)}52%{transform:translate(0)}62%{transform:translate(-5px,2px)}70%{transform:translate(5px,-2px)}82%{transform:translate(-3px)}90%{transform:translate(3px)}}.buzz-shake body{animation:buzz-jolt 1s linear}@media (prefers-reduced-motion: reduce){.buzz-shake body{animation:none}}.photo-mood{position:absolute;right:-4px;bottom:-2px;font-size:18px;line-height:1;background:var(--surface, #fff);border-radius:50%;padding:3px;box-shadow:0 1px 4px #00000040}.person-city{font-size:11px;opacity:.75;margin-top:2px}.seen-mark{color:#4fb286;font-weight:600}.bubble-seen{font-size:11px;opacity:.8;margin-top:4px;text-align:right}.badge-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.badge-card{display:grid;gap:4px;justify-items:center;text-align:center;padding:14px 10px;border-radius:16px;background:var(--card, rgba(255,255,255,.06));border:1px solid rgba(127,127,127,.2);opacity:.65}.badge-card.on{opacity:1;border-color:#e0b24a}.badge-emoji{font-size:30px;filter:grayscale(1)}.badge-card.on .badge-emoji{filter:none}.badge-hint{font-size:12px;opacity:.7}.badge-bar{width:100%;height:6px;border-radius:3px;background:#7f7f7f40;overflow:hidden}.badge-bar i{display:block;height:100%;background:#e0b24a}.badge-count{font-size:12px;font-weight:600}.capsule-form{display:grid;gap:10px;margin:12px 0 18px}.capsule-form .chips{display:flex;gap:8px;flex-wrap:wrap}.capsule-form .chip{padding:8px 12px;border-radius:999px;border:1px solid rgba(127,127,127,.35);background:transparent;color:inherit;font:inherit}.capsule-form .chip.on{background:#e0b24a40;border-color:#e0b24a}.capsule-list{display:grid;gap:10px}.capsule-card{padding:14px;border-radius:16px;border:1px solid rgba(127,127,127,.25)}.capsule-card.open{border-color:#e0b24a}.capsule-head{font-weight:600;font-size:14px}.capsule-card p{margin:6px 0 0;white-space:pre-wrap}.week-card{margin:4px 0 16px;padding:14px;border-radius:18px;border:1px solid rgba(127,127,127,.25)}.week-card-title{font-weight:700;margin-bottom:8px}.week-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;text-align:center}.week-card-grid b{display:block;font-size:22px}.week-card-grid span{font-size:11px;opacity:.75}.week-card-line{margin-top:8px;font-size:14px}.archive-h{margin:8px 0}.archive-h3{margin:18px 0 6px;opacity:.8}.archive-item{margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid rgba(127,127,127,.2);break-inside:avoid}.archive-item p{margin:4px 0}.archive-stats{font-size:13px;opacity:.8}@media print{.nav,.tabbar,.no-print,.nav-action{display:none!important}.archive,body,html{background:#fff!important;color:#000!important}}.mood-bubble{position:relative;display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:0;margin:0 0 7px;padding:4px 10px;font:inherit;font-size:.74rem;font-weight:600;line-height:1.2;color:#fff;text-align:center;border-radius:14px;border:1px solid rgba(255,255,255,.35);background:#ffffff29;backdrop-filter:blur(12px) saturate(160%);-webkit-backdrop-filter:blur(12px) saturate(160%);text-shadow:none;animation:pop .35s ease-out}.mood-bubble:after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;margin-left:-4px;background:#96afd280;border-right:1px solid rgba(255,255,255,.35);border-bottom:1px solid rgba(255,255,255,.35);border-bottom-right-radius:3px;transform:rotate(45deg)}button.mood-bubble{cursor:pointer}.mood-bubble.empty{background:#ffffff12;border-color:#fff3;color:#ffffffb8;font-weight:500}.mood-bubble.ghost{visibility:hidden}.person-photo{margin-top:0}.hero-day .hero-sky:after,.hero-warm .hero-sky:after{background:linear-gradient(180deg,#05204ea8,#05204e75 50%,#05204e8a)}.hero-day .hero-top,.hero-day .hero-hello,.hero-day .drobo,.hero-day .person,.hero-day .duo-hint,.hero-day .hero-hint,.hero-warm .hero-top,.hero-warm .hero-hello,.hero-warm .drobo,.hero-warm .person,.hero-warm .duo-hint,.hero-warm .hero-hint{text-shadow:0 1px 2px rgba(0,20,55,.75),0 3px 16px rgba(0,20,55,.65)}.hero-day .hero-weather,.hero-warm .hero-weather{background:#05204e73;border-color:#ffffff59}.hero-day .mood-bubble,.hero-warm .mood-bubble{background:#05204e80;border-color:#fff6}.hero-day .mood-bubble:after,.hero-warm .mood-bubble:after{background:#05204e8c}.hero-day .mood-bubble.empty,.hero-warm .mood-bubble.empty{background:#05204e52;color:#ffffffd9}.screen{animation:screen-in .34s cubic-bezier(.22,1,.36,1)}@keyframes screen-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.sheet{animation-duration:.4s;animation-timing-function:cubic-bezier(.16,1,.3,1)}.quick-card,.btn,.gesture-btn,.mood-opt,.row{transition:transform .15s ease,background-color .2s ease}.quick-card:active,.btn:active,.gesture-btn:active,.mood-opt:active{transform:scale(.97)}.person-status{animation:pop .4s ease-out}.ptr{display:flex;align-items:flex-end;justify-content:center;overflow:hidden;font-size:.78rem;opacity:.85;padding-bottom:6px}@media (prefers-reduced-motion: reduce){.screen,.person-status,.mood-bubble{animation:none}.quick-card,.btn{transition:none}}.q-violet{background:linear-gradient(160deg,#a58bff,#5b3fd1)}.q-gold{background:linear-gradient(160deg,#ffd66b,#e0952a)}.quick-emoji{font-size:1.35rem;line-height:1}.peek-note{white-space:normal;color:var(--text2);font-size:.86rem;line-height:1.35}.whatsnew-card{max-height:min(86dvh,720px)}.news-list{list-style:none;margin:4px 0 12px;padding:0;display:grid;gap:10px;flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.news-item{display:flex;gap:12px;align-items:flex-start;text-align:left}.news-icon{flex:none;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;font-size:1.3rem;box-shadow:inset 0 0 0 1px #ffffff4d}.news-text{display:grid;gap:1px;min-width:0;font-size:.86rem;line-height:1.35}.news-text b{font-size:.95rem}.news-text span{opacity:.85}.n-rose{background:linear-gradient(160deg,#ff8fb0,#d94a85)}.n-amber{background:linear-gradient(160deg,#ffc15a,#e8832a)}.n-blue{background:linear-gradient(160deg,#4bb0f5,#1c68c9)}.n-teal{background:linear-gradient(160deg,#3fd0c0,#14887f)}.n-sky{background:linear-gradient(160deg,#7cd3ff,#3a8fd8)}.n-violet{background:linear-gradient(160deg,#a58bff,#5b3fd1)}.n-gold{background:linear-gradient(160deg,#ffd66b,#e0952a)}.n-orange{background:linear-gradient(160deg,#ffb25a,#f06a2a)}.n-indigo{background:linear-gradient(160deg,#7a8cff,#3b3fa8)}.n-green{background:linear-gradient(160deg,#5be0a0,#1f9a6a)}.whatsnew-card .intro-robot{font-size:2rem}.whatsnew-card h2{font-size:1.2rem;margin:2px 0}.whatsnew-card .intro-lead{font-size:.88rem;margin-bottom:6px}.whatsnew-card .news-text{font-size:.8rem}.whatsnew-card .news-text b{font-size:.9rem}.whatsnew-card .news-icon{width:36px;height:36px;font-size:1.15rem}.person-state-btn{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:center;cursor:pointer;width:100%;-webkit-tap-highlight-color:transparent}.person-state-btn:active{opacity:.7}.q-green{background:linear-gradient(160deg,#6ee7a8,#1f9d6b)}.habit-list{display:grid;gap:10px;padding:0 2px 24px}.habit-card{display:flex;gap:12px;align-items:center;padding:14px;border-radius:18px;background:#ffffff14;border:1px solid rgba(255,255,255,.12)}.habit-emoji{font-size:1.6rem}.habit-text{font-weight:600;line-height:1.35}.habit-meta{font-size:.78rem;color:var(--text2);margin-top:2px}.dcap{display:flex;gap:14px;align-items:flex-start;margin:14px 0 4px;padding:14px 16px;border-radius:20px;background:linear-gradient(135deg,#ffd66b38,#ffffff12);border:1px solid rgba(255,214,107,.35);box-shadow:0 6px 22px #0000002e}.dcap.rare{background:linear-gradient(135deg,#be8cff47,#ffd66b2e);border-color:#ffe69699}.dcap.locked{opacity:.85;border-style:dashed}.dcap-gift{font-size:1.9rem;line-height:1;display:inline-grid;place-items:center;min-width:44px;animation:dcap-wiggle 3.2s ease-in-out infinite}.dcap.opened .dcap-gift{animation:none;position:relative}.dcap-box{display:none}.dcap-bot{font-size:2rem}.dcap.reveal .dcap-bot{animation:dcap-pop .7s ease both}.dcap.reveal .dcap-text{animation:dcap-fade .9s .25s ease both}.dcap-body{flex:1;min-width:0}.dcap-body b{display:block;font-size:1.02rem}.dcap-body p{margin:4px 0 0;line-height:1.4;color:var(--text2);white-space:pre-line}.dcap-text{color:var(--text)!important;font-weight:600}.dcap-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.dcap .btn.small{padding:7px 14px;font-size:.88rem;min-height:0}@keyframes dcap-wiggle{0%,86%,to{transform:rotate(0)}89%{transform:rotate(-8deg)}92%{transform:rotate(7deg)}95%{transform:rotate(-4deg)}}@keyframes dcap-pop{0%{transform:scale(.3) rotate(-20deg);opacity:0}70%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}@keyframes dcap-fade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.dcap-gift,.dcap.reveal .dcap-bot,.dcap.reveal .dcap-text{animation:none}}.sq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:2px}.sq-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;aspect-ratio:2/3;border-radius:30px;padding:16px;border:1px solid rgba(255,255,255,.34);text-align:left;font:inherit;cursor:pointer;color:#fff;background:radial-gradient(90% 55% at 12% 0%,#ffffff6b,#fff0 62%),radial-gradient(70% 45% at 100% 100%,#ffffff2e,#fff0 70%),linear-gradient(160deg,color-mix(in srgb,var(--glass) 70%,transparent),color-mix(in srgb,var(--glass) 34%,transparent));-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);box-shadow:inset 0 1.5px #ffffffb3,inset 0 -16px 30px #ffffff0f;-webkit-tap-highlight-color:transparent;transition:transform .15s ease}.sq-tile:active{transform:scale(.97)}.sq-icon{position:absolute;left:0;right:0;top:22%;display:grid;place-items:center;color:var(--glow);filter:drop-shadow(0 0 10px color-mix(in srgb,var(--glow) 80%,transparent));pointer-events:none}.sq-icon svg{width:64px;height:64px}.sq-title{display:block;font-size:1.16rem;line-height:1.12;font-weight:750;letter-spacing:-.1px;text-shadow:0 1px 8px rgba(0,20,60,.25)}.sq-sub{display:block;margin-top:5px;margin-bottom:34px;font-size:.84rem;line-height:1.3;font-weight:500;color:#ffffffc7;max-width:78%}.sq-go{position:absolute;right:12px;bottom:12px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ffffff29;border:1px solid rgba(255,255,255,.4);box-shadow:inset 0 1px #ffffff80}.sq-tag{position:absolute;top:12px;right:12px;padding:3px 10px;border-radius:999px;background:#6dbe45;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.4px}.sq-count{position:absolute;top:12px;right:12px;min-width:26px;height:26px;padding:0 7px;box-sizing:border-box;border-radius:999px;background:#e4325f;color:#fff;font-size:.8rem;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px #ffffff40}@media (prefers-reduced-motion:no-preference){.sq-icon{animation:sq-float 5s ease-in-out infinite}}@keyframes sq-float{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}:root{--glass-fill: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.07));--glass-fill-strong: linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,255,255,.12));--glass-line: rgba(255,255,255,.3);--glass-hi: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -12px 24px rgba(255,255,255,.05);--glass-blur: blur(20px) saturate(175%)}.group,.composer,.type-card,.pm-card,.summary-bubble,.notice,.habit-card,.badge-card,.row-card,.chip,.who button,.seg,.field,.input,.search-fake,.mood-chip,.hero-weather,.hero-date,.btn:not(.primary),.reply-btn,.peek-when,.map-frame,.intro-promise{background:var(--glass-fill);border:1px solid var(--glass-line);box-shadow:var(--glass-hi);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.chip.active,.seg button.active,.who button.active,.type-card.active{background:var(--glass-fill-strong);border-color:#ffffff8c}.sheet{background:linear-gradient(170deg,#285caac7,#082254e6);border:1px solid var(--glass-line);border-bottom:0;box-shadow:inset 0 1.5px #ffffff80;-webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%)}.btn.primary{background:linear-gradient(180deg,#5aaeff,#2a74e8);border:1px solid rgba(255,255,255,.45);box-shadow:inset 0 1.5px #fff9,inset 0 -8px 16px #ffffff1a}.msg.me .bubble{background:linear-gradient(160deg,#5aaaffb3,#1e64dc8c);border:1px solid rgba(255,255,255,.35);box-shadow:var(--glass-hi)}.msg.other .bubble{background:var(--glass-fill);border:1px solid var(--glass-line);box-shadow:var(--glass-hi);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.hero-date,.hero-weather{display:inline-flex;align-items:center;gap:9px;padding:7px 15px;border-radius:999px}.hero-ico{width:18px;height:18px}.hero-top{gap:10px;flex-wrap:wrap}.mood-bubble{border-radius:999px;padding:5px 11px;gap:6px;background:var(--glass-fill);border:1px solid var(--glass-line);box-shadow:var(--glass-hi);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.mood-bubble:after{display:none}.mood-bubble.static .mood-caret,.mood-bubble.ghost .mood-caret{display:none}.mood-caret{opacity:.85;flex:none}.person-photo{padding:4px;border-radius:50%;background:radial-gradient(120% 90% at 25% 10%,#ffffff80,#ffffff14);border:1px solid rgba(255,255,255,.5);box-shadow:inset 0 1.5px #ffffffb3,0 0 22px #78beff47;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dcap{background:var(--glass-fill);border-color:var(--glass-line);box-shadow:var(--glass-hi);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.dcap.rare{background:linear-gradient(135deg,#be8cff66,#ffd66b38)}.row{background:transparent}.sq-icon svg{width:72px;height:72px}.sq-icon svg *:not([fill]){fill:color-mix(in srgb,var(--glow) 30%,transparent)}.sq-icon{filter:drop-shadow(0 0 14px color-mix(in srgb,var(--glow) 85%,transparent)) drop-shadow(0 0 4px color-mix(in srgb,var(--glow) 60%,transparent))}:root{--glass-line: rgba(255,255,255,.1);--glass-hi: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -10px 20px rgba(255,255,255,.025)}*,*:before,*:after{text-shadow:none!important}.sq-tile{border-color:#ffffff1a;box-shadow:inset 0 1px #ffffff38,inset 0 -14px 26px #ffffff08}.sq-go{border-color:#ffffff24}.sq-count{box-shadow:none;border-color:#fff3}.tabbar,.tabs,nav.tabbar{border-color:#ffffff1a}.person-photo{border-color:#ffffff29;box-shadow:inset 0 1px #ffffff40;background:radial-gradient(120% 90% at 25% 10%,#ffffff38,#ffffff0d)}.chip.active,.seg button.active,.who button.active,.type-card.active{border-color:#fff3}.sheet{box-shadow:inset 0 1px #ffffff29}.btn.primary{border-color:#ffffff24;box-shadow:inset 0 1px #ffffff47,inset 0 -8px 16px #ffffff0a}.msg.me .bubble{border-color:#ffffff1a}.tabbar{border-color:#ffffff1f;box-shadow:inset 0 1px #fff3,inset 0 -10px 18px #00184633}.hero-day .hero-weather,.hero-warm .hero-weather{border-color:#ffffff24}.hero-date,.hero-weather,.mood-bubble{border-color:#ffffff1f!important;box-shadow:inset 0 1px #ffffff29}.tab.active{box-shadow:inset 0 1px #ffffff47,inset 0 0 0 1px #ffffff14}.btn.primary,.status-box .btn.primary{border:1px solid rgba(255,255,255,.1)!important;box-shadow:inset 0 1px #ffffff40!important}.hero-top{gap:8px;flex-wrap:nowrap}.hero-date,.hero-weather{padding:5px 11px!important;gap:7px!important;font-size:.78rem;background:#ffffff14!important;-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);width:auto;flex:0 0 auto}.hero-date .hero-ico{width:15px;height:15px}.hero-sky:after{background:linear-gradient(180deg,#04163424,#04163400 45%,#0416341f)}.hero-day .hero-sky:after,.hero-warm .hero-sky:after{background:linear-gradient(180deg,#05204e29,#05204e05 40%,#05204e24)}.hero-day .hero-weather,.hero-warm .hero-weather,.hero-day .mood-bubble,.hero-warm .mood-bubble{background:#ffffff1a!important}.hero-warm .hero-sky:after{background:linear-gradient(180deg,#0a14464d,#0a144638 50%,#0a144633)}.hero-neutral .hero-sky{height:auto;bottom:0;background:radial-gradient(60% 38% at 82% 14%,rgba(150,200,255,.3),transparent 70%),radial-gradient(70% 30% at 12% 60%,rgba(120,175,245,.16),transparent 70%),radial-gradient(80% 26% at 90% 82%,rgba(110,165,240,.14),transparent 70%),linear-gradient(180deg,#1f6cd2,#1a5ec0 42%,#1250ac 78%,#0d3f92);-webkit-mask-image:linear-gradient(180deg,#000 80%,transparent 100%);mask-image:linear-gradient(180deg,#000 80%,transparent 100%)}.hero-neutral .hero-sky:after{display:none}.hero-neutral *{text-shadow:none!important}.hero-neutral .hero-date,.hero-neutral .hero-weather{display:inline-flex;align-items:center;gap:9px;padding:9px 16px!important;border-radius:999px;font-size:.92rem;font-weight:500;color:#d9eaff;background:linear-gradient(180deg,#fff3,#ffffff12)!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:inset 0 1px #ffffff4d,inset 0 -8px 14px #78b4ff1a!important;-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%)}.hero-neutral .hero-ico{width:20px;height:20px;color:#b9d8ff}.hero-neutral .hero-hello{font-weight:700;letter-spacing:-.02em}.hero-neutral .hero-hello span{font-weight:400;color:#cfe3ff;opacity:1}.hero-neutral .drobo{font-weight:400;color:#e3efff}.hero-neutral .drobo-sign{color:#bcd7fb;opacity:1;font-weight:600}.hero-neutral .hero-hint{color:#b7d1f3}.hero-neutral .mood-bubble{padding:8px 16px;gap:9px;font-size:.9rem;font-weight:500;color:#e4f0ff;background:linear-gradient(180deg,#fff3,#ffffff12)!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:inset 0 1px #ffffff4d,inset 0 -8px 14px #78b4ff1a!important;-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%)}.hero-neutral .mood-bubble.empty{color:#cfe3ff}.hero-neutral .person-photo{padding:6px;background:radial-gradient(120% 100% at 30% 8%,#ffffff57,#ffffff12 70%);border:1px solid rgba(255,255,255,.26);box-shadow:inset 0 2px 8px #ffffff47,inset 0 -10px 20px #78b4ff29;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.hero-neutral .person-name{font-weight:700}.hero-neutral .person-since,.hero-neutral .duo-hint{color:#bcd5f6}.hero-neutral .hero-top{gap:10px}.hero-neutral .hero-date,.hero-neutral .hero-weather,.hero-neutral .mood-bubble{padding:6px 14px!important;gap:8px!important;font-size:.8rem!important;font-weight:400!important;color:#d4e6ff!important;letter-spacing:.005em;background:linear-gradient(180deg,#82beff4d,#286edc57 55%,#1e5ac84d)!important;border:1px solid rgba(190,225,255,.3)!important;box-shadow:inset 0 1px 1px #ffffff61,inset 0 -6px 12px #8cc8ff1f,0 0 14px #78b9ff2e!important;-webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%)}.hero-neutral .hero-ico{width:17px;height:17px;color:#a9d0ff}.hero-neutral .mood-bubble .mood-caret{opacity:.85}.hero-neutral .mood-bubble{min-height:0}.hero-neutral .person-photo{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none;position:relative;border-radius:50%}.hero-neutral .person-photo .avatar{box-shadow:none!important}.hero-neutral .person-photo .avatar:before{display:none!important}.hero-neutral .person-photo .avatar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;pointer-events:none;box-shadow:inset 0 0 10px 1px #dceeff61,inset 0 1px 3px #ffffff59!important;border:0!important;background:none!important}.hero-neutral .mood-bubble{position:relative;z-index:3;margin-bottom:-20px;padding:4px 11px!important;gap:6px!important;font-size:.74rem!important}.hero-neutral .mood-bubble .mood-caret{width:10px;height:10px}.hero-neutral .mood-bubble:after{display:block!important;content:"";position:absolute;left:50%;bottom:-9px;width:7px;height:7px;margin-left:-3px;border-radius:50%;background:#78b4fa8c!important;border:1px solid rgba(190,225,255,.35);transform:none;right:auto;top:auto}.hero-neutral .mood-bubble:before{content:"";position:absolute;left:50%;bottom:-15px;width:4px;height:4px;margin-left:2px;border-radius:50%;background:#78b4fa80;border:1px solid rgba(190,225,255,.3)}.hero-neutral .mood-bubble.ghost:after,.hero-neutral .mood-bubble.ghost:before{display:none!important}.wx-svg{position:absolute;top:0;right:-4px;width:172px;height:auto;pointer-events:none;display:block}.bolt{animation:bolt 6s linear infinite;opacity:0}@keyframes bolt{0%,86%,to{opacity:0}88%{opacity:.95}90%{opacity:.2}92%{opacity:1}95%{opacity:0}}@media (prefers-reduced-motion:reduce){.bolt{animation:none;opacity:.55}}.hero-neutral .hero-sky{transition:background .8s ease}.hero-t-night .hero-sky{background:radial-gradient(60% 38% at 82% 14%,rgba(90,120,220,.22),transparent 70%),linear-gradient(180deg,#0b1d5a,#0b2466 40%,#0a2158 78%,#0a1c4c)}.hero-t-warm .hero-sky{background:radial-gradient(60% 38% at 82% 14%,rgba(255,170,130,.22),transparent 70%),linear-gradient(180deg,#2557b8,#2a56ae 45%,#1b4aa0 80%,#0f3a86)}.hero-w-rain .hero-sky{background:radial-gradient(60% 38% at 82% 14%,rgba(170,195,230,.2),transparent 70%),linear-gradient(180deg,#3569a8,#2b5c9c 45%,#1d4b8c 80%,#103a78)}.hero-t-night.hero-w-rain .hero-sky,.hero-t-night.hero-w-storm .hero-sky{background:linear-gradient(180deg,#0e2150,#0d2255 45%,#0b1d4a 80%,#0a1a42)}.hero-w-storm .hero-sky{background:linear-gradient(180deg,#27487d,#1f4075 45%,#173363 80%,#0e2a58)}.pm2 .subtitle{font-size:.86rem;opacity:.75;margin:2px 0 14px}.pm2-seg{position:relative;display:grid;grid-template-columns:repeat(3,1fr);padding:3px;height:40px;border-radius:999px;background:color-mix(in srgb,#fff 7%,transparent);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);box-shadow:inset 0 1px #ffffff2e}.pm2-thumb{position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / 3);border-radius:999px;transform:translate(calc(var(--i, 0) * 100%));transition:transform .22s cubic-bezier(.3,.8,.3,1);background:linear-gradient(180deg,#ffffff47,#ffffff1f);border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 1px #fff6}.pm2-seg button{position:relative;z-index:1;font-size:.9rem;font-weight:600;color:#ffffff9e;display:flex;align-items:center;justify-content:center;gap:6px;transition:color .2s}.pm2-seg button.on{color:#fff}.pm2-badge{min-width:16px;height:16px;padding:0 4px;border-radius:9px;font-size:.68rem;line-height:16px;background:#ff5d6c;color:#fff;text-align:center;font-weight:700}.pm2-add{display:inline-flex;align-items:center;gap:8px;height:38px;margin:12px 0 10px;padding:0 16px 0 8px;border-radius:999px;font-size:.9rem;font-weight:600;color:#fff;background:color-mix(in srgb,#fff 10%,transparent);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px #ffffff40}.pm2-add .plus{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:1.1rem;line-height:1;background:linear-gradient(180deg,#ffffff59,#ffffff24)}.pm2-pane{animation:pm2-swap .2s ease-out}@keyframes pm2-swap{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.pm2-section{font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#ffffff8c;margin:14px 4px 6px}.pm2-section.late{color:#ffb4bb}.pm2-list{display:grid;gap:8px}.pm2-card{position:relative;display:grid;grid-template-columns:1fr auto;column-gap:8px;align-items:start;padding:11px 6px 11px 14px;border-radius:20px;touch-action:pan-y;transition:transform .18s ease,opacity .25s ease,max-height .28s ease,margin .28s ease;background:linear-gradient(180deg,#ffffff1c,#ffffff0f);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);box-shadow:inset 0 1px #fff3;animation:pm2-in .26s ease-out}@keyframes pm2-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.pm2-card.reminder{grid-template-columns:auto 1fr auto;padding-left:12px}.pm2-card.is-done{opacity:.55}.pm2-card.leaving{opacity:0;transform:translate(46px);max-height:0;padding-top:0;padding-bottom:0;margin-top:-8px;overflow:hidden;transition:all .26s ease}.pm2-main{min-width:0;display:grid;gap:5px;text-align:left;cursor:pointer;padding-right:2px}.pm2-text-line{display:flex;align-items:baseline;gap:6px}.pm2-title{font-size:.98rem;line-height:1.32;font-weight:500;overflow-wrap:anywhere}.pm2-title.strike{text-decoration:line-through;text-decoration-color:#ffffff73}.pm2-cat{font-size:1.05rem}.pm2-pin{font-size:.72rem;opacity:.8}.pm2-sub{font-size:.8rem;color:#ffffff9e}.pm2-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:.76rem;color:#ffffff9e}.pm2-who{display:inline-flex;align-items:center;gap:5px}.pm2-who .arrow{opacity:.55}.pm2-who .avatar{box-shadow:none}.pm2-when.late{color:#ffb4bb}.pm2-dots{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:#ffffff8c}.pm2-circle{width:24px;height:24px;margin-top:1px;border-radius:50%;display:grid;place-items:center;color:transparent;border:1.6px solid rgba(255,255,255,.5);background:#ffffff0d;transition:background .2s,color .2s,transform .2s,border-color .2s}.pm2-circle.done{background:linear-gradient(180deg,#8fd0ff,#4a9df0);border-color:transparent;color:#fff;transform:scale(1.08)}.pm2-circle svg{stroke-dasharray:22;stroke-dashoffset:22;transition:stroke-dashoffset .3s ease .05s}.pm2-circle.done svg{stroke-dashoffset:0}.pm2-react{grid-column:1 / -1;display:flex;gap:6px;justify-content:flex-end;padding-right:8px;margin-top:-2px}.pm2-rbtn{min-width:30px;height:26px;padding:0 8px;border-radius:13px;font-size:.78rem;color:#fffc;opacity:.4;border:1px solid transparent;transition:opacity .2s,background .2s}.pm2-rbtn.on{opacity:1;background:#ffffff1f;border-color:#ffffff29}.pm2-rbtn.mine{background:#78beff38}.pm2-idea-actions{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding-right:8px;flex-wrap:wrap}.pm2-me2,.pm2-both,.pm2-plan,.pm2-planned,.pm2-wait{font-size:.8rem;font-weight:600;height:30px;padding:0 12px;border-radius:15px;display:inline-flex;align-items:center;gap:6px}.pm2-me2{background:#ffffff1a;border:1px solid rgba(255,255,255,.16);color:#fff}.pm2-both{background:#ff8caa29;border:1px solid rgba(255,170,190,.28);color:#ffd3dd}.pm2-both .heart{color:#ff8fa8}.pm2-both.pop .heart{animation:pm2-pop .6s cubic-bezier(.3,1.6,.5,1)}.pm2-both.pop{animation:pm2-glow .7s ease-out}@keyframes pm2-pop{0%{transform:scale(.4)}55%{transform:scale(1.5)}to{transform:scale(1)}}@keyframes pm2-glow{0%{box-shadow:0 0 #ff8caa80}to{box-shadow:0 0 0 12px #ff8caa00}}.pm2-wait{color:#ffffff80;font-weight:500;padding-left:0}.pm2-plan{color:#ffffffd9;border:1px solid rgba(255,255,255,.18)}.pm2-plan.hl{background:linear-gradient(180deg,#ffffff4d,#ffffff24);border-color:#ffffff4d;color:#fff}.pm2-planned{color:#bfe0ff}.pm2-fold{display:flex;align-items:center;gap:6px;margin:16px 4px 6px;font-size:.82rem;font-weight:600;color:#fff9}.pm2-fold span{transition:transform .2s;display:inline-block}.pm2-fold span.up{transform:rotate(180deg)}.pm2-empty{text-align:center;padding:22px 10px 8px;color:#ffffffbf;font-size:.92rem}.pm2-empty .e{font-size:1.7rem;margin-bottom:4px}.pm2-empty p{margin:0 0 6px}.pm2-empty .drobo{font-size:.82rem;opacity:.7}.pm2-chips{display:flex;gap:6px}.pm2-chips.wrap{flex-wrap:wrap}.pm2-chips.center{justify-content:center;margin-top:12px}.pm2-chip{height:32px;padding:0 12px;border-radius:16px;font-size:.84rem;font-weight:500;color:#ffffffd9;white-space:nowrap;background:#ffffff12;border:1px solid rgba(255,255,255,.12)}.pm2-chip.on{background:linear-gradient(180deg,#ffffff4d,#ffffff24);border-color:#ffffff4d;color:#fff}.pm2-form{display:grid;gap:14px}.pm2-text{min-height:0;resize:none}.pm2-field{display:grid;gap:8px}.pm2-label{font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.6}.pm2-more{justify-self:start;font-size:.84rem;opacity:.75;text-decoration:underline;text-underline-offset:3px}.pm2-chip.pin{justify-self:start}.pm2-plan-title{margin:0;font-size:1rem;font-weight:600}.pm2-menu{display:grid;gap:6px}.pm2-menu-item{height:46px;border-radius:14px;font-size:.98rem;font-weight:500;text-align:left;padding:0 16px;background:#ffffff12;border:1px solid rgba(255,255,255,.1)}.pm2-menu-item.danger{color:#ffb4bb}@media (prefers-reduced-motion: reduce){.pm2-pane,.pm2-card,.pm2-both.pop,.pm2-both.pop .heart{animation:none}.pm2-thumb{transition:none}}.cap2-intro{display:flex;gap:10px;align-items:flex-start;margin:2px 0 14px;font-size:.92rem;line-height:1.4;color:#ffffffc7}.cap2-intro .hg{font-size:1.15rem;opacity:.85}.cap2-card{display:grid;gap:12px;padding:16px;border-radius:24px;background:linear-gradient(180deg,#ffffff1f,#ffffff0f);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);box-shadow:inset 0 1px #ffffff38;transition:transform .38s ease,opacity .38s ease,max-height .38s ease;max-height:900px;overflow:hidden}.cap2-card.sealing{transform:scale(.94);opacity:.2;max-height:140px}.cap2-card.sealed{text-align:center;padding:22px 16px;animation:cap2-pop .3s ease-out}.cap2-card.sealed .lock{font-size:2rem}.cap2-card.sealed .t{margin:0;font-weight:600}@keyframes cap2-pop{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}.cap2-q{font-size:1.02rem;font-weight:600}.cap2-text{min-height:0;resize:none}.cap2-attach{display:flex;gap:8px;flex-wrap:wrap}.cap2-pill{height:32px;padding:0 12px;border-radius:16px;font-size:.84rem;font-weight:500;color:#ffffffd9;display:inline-flex;align-items:center;gap:6px;background:#ffffff12;border:1px dashed rgba(255,255,255,.22)}.cap2-pill.on{border-style:solid;background:#ffffff24}.cap2-pill.rec{border-color:#ff8fa0;color:#ffd0d6}.cap2-pill img{width:20px;height:20px;border-radius:6px;object-fit:cover}.cap2-pill button{opacity:.7;font-size:.8rem;padding-left:2px}.cap2-row{display:grid;gap:7px}.cap2-label{font-size:.72rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#ffffff8c}.cap2-chips{display:flex;gap:6px;flex-wrap:wrap}.cap2-chip{height:32px;padding:0 12px;border-radius:16px;font-size:.84rem;font-weight:500;color:#ffffffd9;background:#ffffff12;border:1px solid rgba(255,255,255,.12)}.cap2-chip.on{background:linear-gradient(180deg,#ffffff4d,#ffffff24);border-color:#ffffff4d;color:#fff}.cap2-chip.duo{justify-self:start;height:auto;min-height:32px;padding:6px 12px;text-align:left}.cap2-when{margin:0;font-size:.9rem;font-weight:600;color:#cfe6ff}.cap2-close{height:48px;border-radius:24px;font-size:1rem;font-weight:700;color:#fff;background:linear-gradient(180deg,#96cdff8c,#468ceb8c);border:1px solid rgba(255,255,255,.3);box-shadow:inset 0 1px #ffffff73;transition:opacity .2s,transform .15s}.cap2-close:disabled{opacity:.38}.cap2-close:active:not(:disabled){transform:scale(.98)}.cap2-section{font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#ffffff8c;margin:20px 4px 8px}.cap2-list{display:grid;gap:8px}.cap2-item{display:grid;gap:8px;padding:12px 14px;border-radius:20px;text-align:left;width:100%;background:linear-gradient(180deg,#ffffff1a,#ffffff0d);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);box-shadow:inset 0 1px #ffffff2e}.cap2-item.opened{grid-template-columns:auto 1fr auto;align-items:center}.cap2-item.due{border-color:#bee1ff66;box-shadow:inset 0 1px #ffffff4d,0 0 22px #82beff2e}.cap2-item-top{display:flex;align-items:center;gap:12px}.cap2-ico{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;font-size:1.15rem;flex:none;background:#ffffff1a;border:1px solid rgba(255,255,255,.14)}.cap2-ico.spark{background:#c8e1ff2e}.cap2-item-main{flex:1;min-width:0;display:grid;gap:2px}.cap2-item-title{font-weight:600;font-size:.98rem}.cap2-sub{font-size:.8rem;color:#fff9}.cap2-count{font-size:.82rem;color:#bcdcff}.cap2-av{display:flex}.cap2-av .avatar+.avatar{margin-left:-6px}.cap2-av .avatar,.cap2-duo .avatar{box-shadow:none}.cap2-duo{display:flex;gap:14px;font-size:.78rem;color:#fff9}.cap2-item>.cap2-av{padding-left:50px}.cap2-item>.cap2-duo{padding-left:50px}.cap2-duo span{display:inline-flex;align-items:center;gap:4px}.cap2-duo span.ok{color:#cfe6ff}.cap2-dots{color:#ffffff80;letter-spacing:1px;font-size:.8rem;padding:6px}.cap2-open{height:34px;padding:0 16px;border-radius:17px;font-weight:700;font-size:.9rem;color:#fff;background:linear-gradient(180deg,#a0d2ff8c,#5096f08c);border:1px solid rgba(255,255,255,.35)}.cap2-open:disabled{opacity:.5}.cap2-drobo{margin:0;font-size:.82rem;color:#ffffffb3}.cap2-complete{display:grid;gap:4px;text-align:left;padding:10px 12px;border-radius:14px;font-size:.84rem;color:#ffffffd9;background:#ffffff14;border:1px solid rgba(255,255,255,.14)}.cap2-complete b{color:#cfe6ff}.cap2-empty{text-align:center;padding:26px 10px 6px;color:#ffffffbf}.cap2-empty .e{font-size:1.8rem;margin-bottom:4px}.cap2-empty p{margin:0 0 4px}.cap2-empty .s{font-size:.85rem;opacity:.7}.cap2-form{display:grid;gap:12px}.cap2-menu{display:grid;gap:6px}.cap2-menu button{height:46px;border-radius:14px;text-align:left;padding:0 16px;font-size:.98rem;background:#ffffff12;border:1px solid rgba(255,255,255,.1)}.cap2-menu button.danger{color:#ffb4bb}.cap2-reveal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;overflow-y:auto;padding:24px 16px;background:radial-gradient(120% 80% at 50% 30%,#2864beeb,#06183cf7);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);animation:cap2-fade .25s ease-out}@keyframes cap2-fade{0%{opacity:0}to{opacity:1}}.cap2-orb{font-size:3.4rem;animation:cap2-orb .4s ease-out;filter:drop-shadow(0 0 22px rgba(170,215,255,.7))}.cap2-orb.p1{animation:cap2-orb2 .4s ease-out}@keyframes cap2-orb{0%{transform:scale(.7);opacity:.4}to{transform:scale(1);opacity:1}}@keyframes cap2-orb2{0%{transform:scale(1) rotate(-8deg)}60%{transform:scale(1.35) rotate(6deg)}to{transform:scale(1.1)}}.cap2-opened{width:min(440px,100%);display:grid;gap:14px;justify-items:center;text-align:center;animation:cap2-pop .35s ease-out}.cap2-spark{font-size:2rem}.cap2-opened h2{margin:0;font-size:1.15rem;font-weight:600;line-height:1.35}.cap2-parts{display:grid;gap:10px;width:100%}.cap2-part{display:grid;gap:8px;text-align:left;padding:14px;border-radius:20px;background:#ffffff1a;border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px #ffffff38}.cap2-part-head{display:flex;align-items:center;gap:8px;font-size:.84rem;color:#ffffffb3}.cap2-quote{margin:0;font-size:1.05rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.cap2-photo{width:100%;border-radius:14px;display:block}.cap2-audio{width:100%;height:38px}.cap2-media-ph{height:80px;border-radius:14px;background:#ffffff0f}@media (prefers-reduced-motion: reduce){.cap2-card,.cap2-orb,.cap2-opened,.cap2-reveal{animation:none;transition:none}}.cap2-card>.cap2-chip.duo{margin-top:-10px}.hero-top{align-items:flex-start}.hero-wx{display:grid;justify-items:end;gap:3px;text-align:right;animation:wx-in .7s ease both}.hero-wx-age{font-size:.66rem;color:#ffffffc7;padding-right:6px;max-width:190px;line-height:1.25}@keyframes wx-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}.wx-svg{animation:wx-in .9s ease both}.duo{position:relative}.duo-heart{position:absolute;left:50%;top:45px;transform:translate(-50%,-50%);z-index:2;font-size:1.35rem;line-height:1;color:#ff8fb0;filter:drop-shadow(0 0 8px rgba(255,120,160,.65));animation:duo-heart 1.3s ease-in-out infinite;pointer-events:none}@keyframes duo-heart{0%,to{transform:translate(-50%,-50%) scale(1)}14%{transform:translate(-50%,-50%) scale(1.3)}28%{transform:translate(-50%,-50%) scale(1.05)}42%{transform:translate(-50%,-50%) scale(1.22)}70%{transform:translate(-50%,-50%) scale(1)}}.duo.together .person-photo{animation:duo-beat 1.3s ease-in-out infinite}@keyframes duo-beat{0%,70%,to{box-shadow:inset 0 1px #ffffff40,0 0 #ff96b900}14%{box-shadow:inset 0 1px #ffffff40,0 0 0 3px #ff96b98c,0 0 18px #ff82af73}28%{box-shadow:inset 0 1px #ffffff40,0 0 0 1px #ff96b940}42%{box-shadow:inset 0 1px #ffffff40,0 0 0 4px #ff96b973,0 0 22px #ff82af66}}@media (prefers-reduced-motion: reduce){.duo.together .person-photo,.duo-heart,.hero-wx,.wx-svg{animation:none}.duo.together .person-photo{box-shadow:0 0 0 2px #ff96b980}}.hero-wx{background:none;border:0;color:inherit;font:inherit;padding:0;cursor:pointer}.hero-neutral .drobo.drobo-free{padding:10px 14px;border-radius:18px;background:#78ffbe1a;border:1px solid rgba(160,255,210,.28);box-shadow:inset 0 1px #fff3,0 0 24px #6ef0b42e;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.hero-neutral .drobo.drobo-free .drobo-sign{color:#b9ffd9;animation:free-dot 1.8s ease-in-out infinite}@keyframes free-dot{0%,to{opacity:1}50%{opacity:.55}}@media (prefers-reduced-motion: reduce){.hero-neutral .drobo.drobo-free .drobo-sign{animation:none}}.mo-full{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#05080f;color:#fff;display:flex;flex-direction:column;overscroll-behavior:contain;touch-action:none}.mo-full.mo-album{touch-action:auto;overflow-y:auto}.mo-x{position:absolute;top:calc(env(safe-area-inset-top,0px) + 12px);right:14px;z-index:5;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:#ffffff1f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#fff;font-size:1rem}.mo-x.in{position:static;flex:none}.mo-choose{margin:auto;display:grid;gap:12px;padding:24px;width:min(360px,100%);text-align:center}.mo-choose-title{font-size:1.3rem;font-weight:700}.mo-choose-sub{color:var(--text2);font-size:.88rem}.mo-choose-sub.pad{padding:24px 20px}.mo-big{padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.25);background:#ffffff1f;color:#fff;font-size:1rem;font-weight:600}.mo-big.alt{background:#ffffff0f}.mo-preview{flex:1;min-height:0;width:100%;object-fit:contain;background:#000}.mo-panel{display:grid;gap:10px;padding:12px 16px calc(env(safe-area-inset-bottom,0px) + 14px);background:#ffffff12;border-top:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.mo-caption{width:100%;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;color:#fff;font-size:1rem}.mo-count{text-align:right;font-size:.72rem;color:var(--text2)}.mo-opt{display:flex;align-items:center;gap:10px;font-size:.9rem}.mo-actions{display:flex;gap:10px;justify-content:flex-end}.mo-view{transition:transform .2s ease,opacity .2s ease}.mo-stage{position:relative;flex:1;min-height:0;overflow:hidden;user-select:none;-webkit-user-select:none}.mo-blur{position:absolute;top:-20px;right:-20px;bottom:-20px;left:-20px;background-size:cover;background-position:center;filter:blur(22px);transform:scale(1.1)}.mo-photo{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;animation:mo-in .25s ease}@keyframes mo-in{0%{opacity:0}to{opacity:1}}.mo-bars{position:absolute;top:calc(env(safe-area-inset-top,0px) + 8px);left:10px;right:10px;display:flex;gap:4px;z-index:3}.mo-bar{flex:1;height:3px;border-radius:2px;background:#ffffff4d;overflow:hidden}.mo-bar i{display:block;height:100%;background:#fff}.mo-head{position:absolute;top:calc(env(safe-area-inset-top,0px) + 20px);left:12px;right:12px;z-index:4;display:flex;align-items:center;gap:8px}.mo-who{font-weight:700;text-shadow:0 1px 6px rgba(0,0,0,.6)}.mo-time{font-size:.8rem;color:#ffffffd9;text-shadow:0 1px 6px rgba(0,0,0,.6)}.mo-chip{font-size:.74rem;padding:3px 9px;border-radius:999px;background:#ffffff29;border:1px solid rgba(255,255,255,.25);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mo-head .mo-x{margin-left:auto}.mo-cap{position:absolute;left:14px;right:14px;bottom:18px;z-index:3;padding:10px 14px;border-radius:16px;background:#00000061;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font-size:.98rem;text-align:center}.mo-cap.static{position:static;margin:12px 0}.mo-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px calc(env(safe-area-inset-bottom,0px) + 12px);background:#ffffff12;border-top:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);min-height:56px}.mo-seen{font-size:.85rem;color:var(--text2)}.mo-tools{display:flex;gap:8px}.mo-tool{border:1px solid rgba(255,255,255,.22);background:#ffffff1a;color:#fff;border-radius:999px;padding:8px 14px;font-size:.85rem}.mo-tool:disabled{opacity:.6}.mo-react{display:flex;gap:8px;margin:0 auto}.mo-r{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:#ffffff14;font-size:1.35rem;transition:transform .15s ease}.mo-r:active{transform:scale(1.2)}.mo-r.on{background:#5cc3fa4d;border-color:var(--blue)}.mo-album-head{display:flex;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 12px) 14px 8px}.mo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:6px 3px 24px}.mo-grid button{padding:0;border:0;background:#111;aspect-ratio:1}.mo-grid img{width:100%;height:100%;object-fit:cover;display:block}.mo-album-one{display:grid;gap:8px;justify-items:center;padding:8px 14px 30px}.mo-album-one img{width:100%;max-height:70vh;object-fit:contain;border-radius:14px}.mo-dim{opacity:.6;filter:blur(3px)}@media (prefers-reduced-motion: reduce){.mo-photo{animation:none}.mo-view{transition:none}}.person-photo[role=button]{cursor:pointer}.person-photo .mo-plus{position:absolute;right:-2px;bottom:-2px;width:28px;height:28px;border-radius:50%;border:1px solid rgba(255,255,255,.55);background:linear-gradient(180deg,#78d2fff2,#2882e6f2);color:#fff;font-size:1.15rem;font-weight:700;line-height:1;display:grid;place-items:center;padding:0 0 2px;box-shadow:0 2px 8px #001e5073,inset 0 1px #fff9;z-index:2}.state-fab{justify-self:center;display:grid;justify-items:center;gap:6px;background:none;border:0;color:#fff;cursor:pointer;padding:0}.state-fab-circle{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(120% 90% at 30% 12%,#e6f6ff9e,#82cdff4d 55%,#50aaf557);border:1px solid rgba(225,244,255,.6);box-shadow:inset 0 1.5px #ffffffb3,inset 0 -8px 14px #2878c82e,0 6px 18px #64beff59;-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%);transition:transform .15s ease}.state-fab-label{font-size:.8rem;font-weight:600;color:var(--text2)}.person-photo.mo-new:after,.person-photo.mo-seen:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:50%;padding:2px;pointer-events:none;z-index:3;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.person-photo.mo-new:after{background:conic-gradient(from 210deg,#5cc3fae6,#b79bffe0,#ff8fb8e6,#ffc27ae0,#5cc3fae6);filter:drop-shadow(0 0 7px rgba(170,160,255,.55))}.person-photo.mo-seen:after{background:#ffffff61}.gfx{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;pointer-events:none;overflow:hidden}.gfx>*,.gfx span,.gfx svg{position:absolute}.gfx-heart{width:var(--w, 18px);height:var(--w, 18px);transform:translate(-50%,-50%) scale(.3);opacity:0;animation:gfx-heart 2.6s cubic-bezier(.2,.7,.3,1) var(--d, 0s) forwards;filter:drop-shadow(0 0 6px currentColor)}.gfx-heart.pink{color:#ff8fb8}.gfx-heart.rose{color:#ffb3cf}.gfx-heart.warm{color:#ffb48a}@keyframes gfx-heart{0%{transform:translate(-50%,-50%) scale(.3);opacity:0}14%{opacity:.95;transform:translate(-50%,-50%) scale(1)}to{transform:translate(calc(-50% + var(--dx, 0px)),calc(-50% + var(--dy, -200px))) scale(var(--s, 1));opacity:0}}.gfx-heart[style*=--tx]{animation:gfx-hug 1.5s cubic-bezier(.45,0,.25,1) forwards}@keyframes gfx-hug{0%{transform:translate(-50%,-50%) scale(.5);opacity:0}15%{opacity:1}62%{transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(1.25);opacity:1}to{transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(1.9);opacity:0}}.gfx-ring{width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;border:2px solid rgba(150,210,255,.85);box-shadow:0 0 18px #82c8ff80,inset 0 0 14px #82c8ff40;opacity:0;animation:gfx-ring 1.7s ease-out var(--d, 0s) forwards}.gfx-ring.soft{border-color:#ffaacdb3;box-shadow:0 0 16px #ff96be66}.gfx-ring.warm{border-color:#ffbe8cd9;box-shadow:0 0 26px #ffaa788c;animation-name:gfx-ring-big;animation-duration:2s}@keyframes gfx-ring{0%{transform:scale(.5);opacity:.9}to{transform:scale(5);opacity:0}}@keyframes gfx-ring-big{0%{transform:scale(.4);opacity:.9}to{transform:scale(7);opacity:0}}.gfx-halo{width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;background:radial-gradient(circle,#aadcff8c,#aadcff00 68%);opacity:0;animation:gfx-halo 1.6s ease-out var(--d, 0s) forwards}.gfx-halo.warm{background:radial-gradient(circle,#ffb97899,#ffb97800 68%)}.gfx-halo.lilac{background:radial-gradient(circle,#beaaff8c,#beaaff00 68%);animation-duration:2.2s}.gfx-halo.small{transform:scale(.7)}@keyframes gfx-halo{0%{transform:scale(.4);opacity:0}30%{opacity:1}to{transform:scale(2);opacity:0}}.gfx-bubble{width:86px;height:86px;margin:-43px 0 0 -43px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(120% 90% at 30% 15%,#ffffff8c,#ffc8e12e);border:1px solid rgba(255,255,255,.55);box-shadow:inset 0 1.5px #ffffffb3,0 10px 30px #ff96be59;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;animation:gfx-bubble 3.1s ease-in-out forwards}.gfx-bubble i{font-style:normal;font-size:2.2rem}@keyframes gfx-bubble{0%{transform:translateY(0) scale(.5);opacity:0}14%{opacity:1}75%{opacity:1}to{transform:translateY(-190px) scale(1.4);opacity:0}}.gfx-spark{width:3px;height:14px;margin:-7px 0 0 -1px;border-radius:3px;background:linear-gradient(#fff,#ffe69600);transform:rotate(var(--r)) translateY(-10px);opacity:0;animation:gfx-spark 1.2s ease-out forwards}@keyframes gfx-spark{0%{transform:rotate(var(--r)) translateY(-14px) scaleY(.4);opacity:0}25%{opacity:1}to{transform:rotate(var(--r)) translateY(-58px) scaleY(1);opacity:0}}.gfx-steam{width:7px;height:38px;margin:-38px 0 0 -3px;border-radius:7px;background:linear-gradient(#ffffffb3,#fff0);filter:blur(3px);opacity:0;animation:gfx-steam 1.9s ease-out var(--d, 0s) forwards}@keyframes gfx-steam{0%{transform:translateY(10px) scaleY(.5);opacity:0}30%{opacity:.8}60%{transform:translate(5px,-20px) scaleY(1)}to{transform:translate(-4px,-56px) scaleY(1.2);opacity:0}}.gfx-streak{width:220px;height:3px;margin:-2px 0 0 -20px;border-radius:3px;background:linear-gradient(90deg,#7fd0ff00,#a0e1fff2,#7fd0ff00);filter:drop-shadow(0 0 6px rgba(127,208,255,.7));opacity:0;animation:gfx-streak 1.5s ease-in-out forwards}@keyframes gfx-streak{0%{transform:translate(-40px);opacity:0}25%{opacity:1}to{transform:translate(55vw);opacity:0}}.gfx-star{font-size:1rem;color:#e9dcff;text-shadow:0 0 10px rgba(200,180,255,.9);opacity:0;animation:gfx-star 2s ease-out forwards}@keyframes gfx-star{0%{transform:translateY(6px) scale(.4);opacity:0}35%{opacity:1}to{transform:translateY(-34px) scale(1.2) rotate(30deg);opacity:0}}.gfx-chat{display:flex;gap:4px;align-items:center;justify-content:center;width:54px;height:36px;margin:-18px 0 0 -27px;border-radius:18px 18px 18px 6px;background:#ffffff38;border:1px solid rgba(255,255,255,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;animation:gfx-chat 2s cubic-bezier(.3,1.5,.5,1) forwards}.gfx-chat i{width:6px;height:6px;border-radius:50%;background:#fff;opacity:.9}@keyframes gfx-chat{0%{transform:scale(0);opacity:0}20%{transform:scale(1);opacity:1}75%{opacity:1}to{transform:translateY(-14px) scale(1);opacity:0}}.gfx-wave{font-size:1.7rem;margin:-14px 0 0 -14px;transform-origin:70% 80%;opacity:0;animation:gfx-wave 1.8s ease-in-out forwards}@keyframes gfx-wave{0%{transform:scale(.4) rotate(0);opacity:0}15%{opacity:1;transform:scale(1) rotate(0)}30%{transform:rotate(18deg)}45%{transform:rotate(-12deg)}60%{transform:rotate(16deg)}to{transform:rotate(0) translateY(-10px);opacity:0}}.gs-fixed{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px 0}.gs-fixed .gesture-btn{flex-direction:column;gap:6px;text-align:center;padding:14px 6px;font-size:.82rem;line-height:1.2}.gs-fixed .gesture-emoji{font-size:1.9rem}.gs-context{margin:12px 0 2px;font-size:.74rem;opacity:.7;padding:0 2px}.gs-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:20px}.gs-chip{display:flex;align-items:center;gap:8px;font:inherit;font-size:.82rem;font-weight:600;text-align:left;padding:10px 12px;border-radius:14px;border:1px solid rgba(0,0,0,.06);background:#788cc81a;color:inherit;cursor:pointer;line-height:1.2}.gs-chip span:first-child{font-size:1.2rem}.gs-fixed .gesture-btn:active,.gs-chip:active{transform:scale(.96)}.mood-only{font-size:1.25rem;line-height:1;display:inline-block}.hero-neutral .mood-bubble.static{padding:6px 12px;font:inherit;color:inherit}.mood-scale{grid-template-columns:1fr 1fr;gap:10px}.mood-scale .mood-opt{padding:12px 10px 13px;gap:3px;background:linear-gradient(180deg,#ffffff24,#ffffff0d);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px #ffffff38;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:border-color .25s,box-shadow .25s,transform .15s,opacity .2s}.mood-scale .mood-name{font-size:.95rem;font-weight:650}.mood-scale .mood-meaning{font-size:.72rem;font-weight:400;line-height:1.25;opacity:.72;text-align:center}.mood-scale .mood-t0 .mood-emoji,.mood-scale .mood-t1 .mood-emoji{filter:drop-shadow(0 0 8px rgba(255,214,120,.45))}.mood-scale .mood-t4,.mood-scale .mood-t5{background:linear-gradient(180deg,#ffffff14,#08143047)}.mood-scale .mood-t5 .mood-emoji,.mood-scale .mood-t4 .mood-emoji{opacity:.9}.mood-scale .mood-opt.on{border-color:#bee1ffd9;box-shadow:0 0 0 1px #bee1ff59,0 0 18px #82beff59,inset 0 1px #ffffff4d;background:linear-gradient(180deg,#fff3,#78b4ff1a)}button.drobo-sign{font-family:inherit;background:none;border:0;padding:0 4px 0 0;margin:0;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:left}button.drobo-sign:active{opacity:.7}.da-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;display:flex;align-items:flex-start;justify-content:center;padding:15vh 20px 0;background:#04102a61;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:da-fade .2s ease-out}.da-card{position:relative;width:min(92vw,340px);padding:16px 18px 20px;border-radius:24px;color:#fff;background:linear-gradient(180deg,#ffffff38,#ffffff14);border:1px solid rgba(255,255,255,.28);box-shadow:0 18px 48px #020a1e80,inset 0 1px #ffffff59;-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);animation:da-pop .28s cubic-bezier(.2,.9,.3,1.1);overflow:hidden}.da-head{display:flex;align-items:center;gap:8px;font-size:1rem}.da-robot{font-size:1.35rem}.da-close{margin-left:auto;width:28px;height:28px;border-radius:50%;border:0;background:#ffffff24;color:#fff;font-size:1.1rem;line-height:1;cursor:pointer}.da-text{margin:12px 0 2px;font-size:1.12rem;line-height:1.4;font-weight:500;animation:da-text .35s ease-out}.da-fx{position:absolute;right:18px;bottom:12px;font-size:1.5rem;opacity:0;animation:da-float 1.8s ease-out .15s forwards;pointer-events:none}.da-fx-sleep{animation-name:da-float-z}.da-fx-kendo{animation-name:da-swing}@keyframes da-fade{0%{opacity:0}to{opacity:1}}@keyframes da-pop{0%{transform:translateY(-10px) scale(.94);opacity:0}to{transform:none;opacity:1}}@keyframes da-text{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes da-float{0%{transform:translateY(8px) scale(.7);opacity:0}25%{opacity:.95}to{transform:translateY(-26px) scale(1.1);opacity:0}}@keyframes da-float-z{0%{transform:translateY(6px) scale(.6);opacity:0}30%{opacity:.9}to{transform:translate(8px,-30px) scale(1.2) rotate(10deg);opacity:0}}@keyframes da-swing{0%{transform:rotate(-30deg) scale(.7);opacity:0}30%{opacity:1}55%{transform:rotate(25deg) scale(1.1)}to{transform:rotate(0) translateY(-10px);opacity:0}}@media (prefers-reduced-motion: reduce){.da-backdrop,.da-card,.da-text,.da-fx{animation:none}.da-fx{opacity:.9}}.drobo-mark{display:inline-block;vertical-align:-.2em;object-fit:cover;box-shadow:0 1px 4px #001e0a59}.drobo-sign-inline{display:inline-flex;align-items:center;gap:5px}.drobo-sign-inline .drobo-mark{vertical-align:middle}.intro-robot .drobo-mark{border-radius:24px;box-shadow:0 6px 18px #00280a66}.dcap-bot .drobo-mark{border-radius:12px}.da-robot.drobo-mark{vertical-align:middle}.author-pic{position:relative;display:inline-block;flex:none;line-height:0}.author-pic .avatar,.author-pic .drobo-mark{display:block}.author-pic .drobo-mark{border-radius:50%!important}.author-badge{position:absolute;right:-4px;bottom:-4px;min-width:18px;height:18px;padding:0 1px;border-radius:9px;display:grid;place-items:center;font-size:11px;line-height:1;background:#081c42f5;box-shadow:0 0 0 1.5px #ffffff47;overflow:hidden}.author-badge img{width:100%;height:100%;object-fit:cover;border-radius:6px;display:block}.banner{grid-template-columns:auto 1fr;gap:12px;align-items:center;text-align:left;font:inherit;color:inherit}.banner-text{display:grid;gap:1px;min-width:0}.row-pic{flex:none;margin-right:2px}.special-card{display:flex;gap:10px;align-items:flex-start;margin:10px 0 2px;padding:10px 14px;max-width:34ch;border-radius:18px;color:#fff8e6;background:linear-gradient(180deg,#ffecbe33,#ffecbe12);border:1px solid rgba(255,226,160,.38);box-shadow:inset 0 1px #fff4d659,0 0 0 1px #ffd6820f;-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);animation:special-in .5s ease-out}.special-icon{font-size:1.4rem;line-height:1.2}.special-body{display:grid;gap:2px;font-size:.86rem;line-height:1.32}.special-body b{font-size:.95rem;font-weight:650;color:#ffe9b3}.special-body span{color:#fff8e6eb}@keyframes special-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){.special-card{animation:none}}.first-view{display:flex;flex-direction:column;min-height:calc(100dvh - var(--sat) - var(--tabbar-h) - var(--sab) - 40px);margin-bottom:calc(var(--tabbar-h) + var(--sab) + 28px)}.first-view .hero{flex:1;display:flex;flex-direction:column;min-height:0;padding-bottom:8px}.first-view .hero .duo{margin-top:auto;margin-bottom:auto;padding:18px 0 8px}.first-view .hero .duo-hint{margin-top:10px}.fv-cta{display:grid;justify-items:center;gap:4px;padding:4px 0 2px}.state-fab{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;width:min(86%,340px);height:60px;padding:0 22px;border-radius:30px;background:linear-gradient(180deg,#ebf8ff57,#82cdff29 60%,#50aaf533);border:1px solid rgba(225,244,255,.55);box-shadow:inset 0 1.5px #fff9,inset 0 -10px 16px #2878c829,0 8px 24px #2878dc59;-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);transition:transform .15s ease}.state-fab:active{transform:scale(.98)}.state-fab-circle{width:34px;height:34px;background:#ffffff47;box-shadow:inset 0 1px #fff9}.state-fab-label{font-size:1.05rem;font-weight:650;color:#fff;letter-spacing:.01em}.fv-more{color:#ffffff8c;display:grid;place-items:center;height:22px;animation:fv-bounce 2.4s ease-in-out infinite}@keyframes fv-bounce{0%,to{transform:translateY(0);opacity:.5}50%{transform:translateY(4px);opacity:.9}}@media (prefers-reduced-motion: reduce){.fv-more{animation:none}}.special-card{max-width:none}@media (max-height: 780px){.special-card{padding:8px 12px;margin-top:6px}.special-body{font-size:.8rem}.special-body b{font-size:.88rem}.first-view .hero .duo{padding:6px 0 2px}.first-view .hero .duo-hint{display:none}}.special-line{margin:4px 0 0;font-size:.74rem;font-weight:500;letter-spacing:.01em;color:#ffeec8e6;animation:special-in .5s ease-out}.special-card{display:none}.state-fab{display:grid;justify-items:center;gap:6px;width:auto;height:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.state-fab:active{transform:none}.state-fab-circle{width:52px;height:52px;background:radial-gradient(120% 90% at 30% 12%,#e6f6ff57,#82cdff24 55%,#50aaf529);border:1px solid rgba(225,244,255,.42);box-shadow:inset 0 1.5px #ffffff80,inset 0 -8px 14px #2878c81a,0 6px 18px #64beff33}.state-fab:active .state-fab-circle{transform:scale(.93)}.state-fab-label{font-size:.8rem;font-weight:600;color:var(--text2);letter-spacing:0}

/* Accueil : menu simple sous « Choisir un état » */
.first-view{min-height:calc(100dvh - var(--sat) - var(--sab) - 28px);margin-bottom:22px}
.first-view .hero .duo{padding:10px 0 2px}
.fv-cta{gap:10px;padding:2px 0 calc(var(--sab) + 2px)}
.fv-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-items:center;align-items:start;width:min(100%,330px);margin:6px auto 0}
.fv-item{display:grid;justify-items:center;gap:5px;padding:0;border:0;background:none;box-shadow:none;color:rgba(255,255,255,.88);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fv-item:active{opacity:.6;transform:scale(.95)}
.fv-ico{position:relative;display:grid;place-items:center;width:30px;height:30px}
.fv-ico svg{width:27px;height:27px}
.fv-lab{font-size:.7rem;font-weight:500;letter-spacing:.01em;color:rgba(255,255,255,.7)}
.fv-badge{position:absolute;top:-6px;right:-9px;min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:var(--danger);color:#fff;font-size:.66rem;font-weight:650;line-height:17px;text-align:center;box-shadow:0 0 0 2px #0b2a62}

/* Drobo — pop-up de surprises (verre bleu, sans ombre de texte) */
.tb-wrap{position:fixed;left:0;right:0;top:calc(var(--sat,0px) + 10px);display:flex;justify-content:center;padding:0 16px;pointer-events:none;z-index:260}
.tb-pop{pointer-events:auto;display:flex;align-items:center;gap:10px;width:fit-content;max-width:min(100%,380px);padding:10px 8px 10px 10px;border-radius:22px;cursor:pointer;
 background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.04)),rgba(12,48,98,.8);
 -webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5);
 border:1px solid rgba(255,255,255,.2);box-shadow:0 10px 28px rgba(0,20,60,.35),inset 0 1px 0 rgba(255,255,255,.18);
 animation:tb-in .45s cubic-bezier(.2,.9,.3,1.25) both}
.tb-pop.out{animation:tb-out .3s ease-in both}
.tb-face{position:relative;flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px}
.tb-emo{position:absolute;right:-6px;bottom:-6px;width:20px;height:20px;display:grid;place-items:center;font-size:.72rem;line-height:1;border-radius:50%;background:rgba(10,40,90,.92);border:1px solid rgba(255,255,255,.22)}
.tb-txt{flex:1;margin:0;font-size:.9rem;line-height:1.3;font-weight:500;color:#fff}
.tb-close{flex:0 0 auto;width:26px;height:26px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:rgba(255,255,255,.8);font-size:.72rem;display:grid;place-items:center;padding:0;cursor:pointer}
@keyframes tb-in{0%{opacity:0;transform:translateY(-16px) scale(.94)}60%{opacity:1;transform:translateY(3px) scale(1.01)}100%{opacity:1;transform:none}}
@keyframes tb-out{to{opacity:0;transform:translateY(-10px) scale(.97)}}
@keyframes tb-fade{from{opacity:0}to{opacity:1}}
@keyframes tb-hop{0%{transform:translateY(0)}35%{transform:translateY(-5px) rotate(-4deg)}70%{transform:translateY(1px)}100%{transform:none}}
@keyframes tb-pop{0%{transform:scale(.7)}60%{transform:scale(1.18)}100%{transform:scale(1)}}
@keyframes tb-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes tb-wiggle{0%,100%{transform:rotate(0)}20%{transform:rotate(-8deg)}50%{transform:rotate(7deg)}80%{transform:rotate(-3deg)}}
.tb-x-happy .tb-face,.tb-x-cheer .tb-face{animation:tb-hop .7s .15s ease-out}
.tb-x-surprised .tb-face{animation:tb-pop .55s .1s ease-out}
.tb-x-sleepy .tb-face,.tb-x-calm .tb-face{animation:tb-sway 2.6s ease-in-out infinite}
.tb-x-tease .tb-face,.tb-x-curious .tb-face{animation:tb-wiggle .8s .15s ease-out}
@media (prefers-reduced-motion:reduce){
 .tb-pop{animation:tb-fade .2s both}.tb-pop.out{animation:none;opacity:0}
 .tb-face{animation:none!important}}

/* lettres */
.trl-card{margin:14px 0}
.trl-seal{width:100%;display:flex;flex-direction:column;align-items:center;gap:4px;padding:26px 16px;border-radius:24px;border:1px solid var(--glass-line);background:var(--glass-fill);color:#fff;animation:trgIn .5s both}.trl-seal span{font-size:2.4rem}.trl-seal em{color:var(--text2);font-style:normal;font-size:.84rem}
.trl-paper{padding:22px 20px 18px;border-radius:6px 22px 22px 22px;background:linear-gradient(180deg,#fffaf0,#f6ead2);color:#3a2d1a;box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 0 40px rgba(180,140,70,.12);animation:trlUnfold .6s both;transform-origin:top;font-family:Georgia,"Iowan Old Style","Times New Roman",serif}
@keyframes trlUnfold{from{opacity:0;transform:scaleY(.4)}to{opacity:1;transform:none}}
.trl-date{margin:0 0 6px;color:#8a7452;font-size:.8rem;letter-spacing:.04em;text-transform:capitalize}
.trl-title{margin:0 0 12px;font-size:1.4rem;line-height:1.2;font-style:italic;color:#2b1f0e}
.trl-p{margin:0 0 12px;font-size:1.04rem;line-height:1.6}
.trl-sign{margin:16px 0 0;text-align:right;font-style:italic;color:#6b5230}
.trl-wait{margin:12px 0;padding:14px;border-radius:18px;border:1px dashed var(--glass-line);color:var(--text2)}.trl-wait p{margin:6px 0 0;font-size:.9rem}
.trs-vcard .btn{width:100%;text-align:center;margin-top:8px;padding:10px 16px;height:auto;min-height:44px}
.trs-nav .btn{width:auto;min-width:56px}

/* ===== Drobo design tokens V1.0 (scopé : .drobo-page / .drobo-overlay, sans resets globaux) ===== */
/* DROBO / PIXEL PAPIER × LIQUID GLASS — DESIGN TOKENS V1.0
   Strict visual layer; existing blue layout, state architecture and functionality stay intact.
   Fonts: local/system fallback works offline, no font binaries bundled.
*/
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@500;600;700&family=Nunito+Sans:wght@400;500;600;700;800&display=swap');
.drobo-page,.drobo-overlay{
 --f-body:'Nunito Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 --f-pixel:'Pixelify Sans',ui-monospace,'SFMono-Regular',Consolas,monospace;
 --radius-xs:8px;--radius-sm:12px;--radius-md:16px;--radius-lg:22px;--radius-sheet:32px;
 --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;
 --focus:#FFE79B;--shadow-sky:0 12px 35px rgba(3,17,49,.18);--tap-size:44px;
 --bubble-love:#E875AF;--bubble-hug:#9C88E4;--bubble-miss:#F18E9F;--bubble-care:#8CBEDF;--bubble-rest:#627EC3;--bubble-courage:#E5B657;--bubble-curious:#70AEC7;--bubble-hello:#72C5B4;
 --glass-border:rgba(255,255,255,.34);--glass-highlight:rgba(255,255,255,.22);--glass-low:rgba(255,255,255,.085);
 --text:#F8FCFF;--muted:#CBDEF2;--soft-dark:#102D52;--weather-top:#347CBF;--weather-mid:#2D70B2;--weather-bottom:#20548F;
 --sheet-top:#245496;--sheet-bottom:#0F2F66;
}
/* The existing weather module supplies the weather state; these never simulate location. */
[data-weather='sunny']{--weather-top:#398AC9;--weather-mid:#347ABD;--weather-bottom:#22568F;--sheet-top:#265CA3;--sheet-bottom:#123973;}
[data-weather='cloudy']{--weather-top:#567EAE;--weather-mid:#416A9F;--weather-bottom:#2D5488;--sheet-top:#305A8D;--sheet-bottom:#19385F;}
[data-weather='rainy']{--weather-top:#304E7E;--weather-mid:#294A7D;--weather-bottom:#19365F;--sheet-top:#284675;--sheet-bottom:#142C55;}
[data-weather='sunset']{--weather-top:#526CAD;--weather-mid:#5076AB;--weather-bottom:#263B79;--sheet-top:#365A99;--sheet-bottom:#212F63;}
[data-weather='night']{--weather-top:#102A55;--weather-mid:#123B77;--weather-bottom:#0C326E;--sheet-top:#1A4589;--sheet-bottom:#0B2857;}
[data-weather='unknown']{--weather-top:#347CBF;--weather-mid:#2D70B2;--weather-bottom:#20548F;}
.drobo-page *,.drobo-overlay *{box-sizing:border-box}.drobo-page button:disabled{opacity:.45;cursor:not-allowed}.drobo-page button:focus-visible,.drobo-overlay button:focus-visible,.drobo-page input:focus-visible,.drobo-overlay input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.drobo-page{min-height:100svh;background:linear-gradient(160deg,var(--weather-top) 0%,var(--weather-mid) 46%,var(--weather-bottom) 100%);position:relative;isolation:isolate;overflow:hidden}
.drobo-page::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 52% 30%,rgba(255,255,255,.10),transparent 48%)}
.drobo-shell{max-width:460px;min-height:100svh;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + 32px) 22px calc(env(safe-area-inset-bottom,0px) + 24px);display:flex;flex-direction:column}
.drobo-topline,.drobo-weather-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.drobo-topline{margin-bottom:30px}
.drobo-chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:99px;min-height:36px;padding:6px 13px;border:1px solid rgba(255,255,255,.20);background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 10px rgba(0,18,60,.08);color:#E5F1FF;font-size:13px;white-space:nowrap;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.drobo-hero{margin-top:2px}.drobo-eyebrow{font-size:20px;font-weight:500;letter-spacing:-.02em}.drobo-hero h1{font-family:var(--f-pixel);font-size:clamp(24px,6vw,34px);letter-spacing:-.055em;line-height:1.13;margin:5px 0 0;font-weight:700;text-wrap:balance;text-shadow:0 2px 0 rgba(8,32,73,.12)}
.drobo-message{margin-top:35px;min-height:94px}.drobo-label{font-family:var(--f-pixel);font-size:12px;letter-spacing:.14em;color:#BED7F7}.drobo-message p{font-size:17px;line-height:1.48;font-weight:500;margin:10px 0 0;max-width:34ch}
.drobo-avatars{margin-top:clamp(52px,11vh,108px);display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}
.drobo-person{min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.drobo-sprite-wrap{width:min(100%,178px);height:205px;display:flex;align-items:end;justify-content:center;position:relative}
.drobo-sprite{width:100%;height:100%;object-fit:contain;object-position:center bottom;image-rendering:pixelated;filter:drop-shadow(0 6px 5px rgba(0,17,48,.25));animation:dd-avatar-hello .65s cubic-bezier(.18,.75,.3,1) both}
.drobo-person h2{font-family:var(--f-pixel);font-size:21px;margin:9px 0 1px;line-height:1.1}.drobo-state{font-size:15px;white-space:normal}.drobo-stamp{font-size:12px;color:var(--muted);margin-top:5px}
.drobo-avatar-bubbles{position:absolute;bottom:calc(100% - 8px);left:50%;transform:translateX(-50%);width:max-content;max-width:205px;display:flex;flex-direction:column-reverse;align-items:center;gap:4px;z-index:3;pointer-events:none}
.drobo-bubble{--tint:#E875AF;position:relative;max-width:210px;min-height:32px;display:flex;align-items:center;gap:6px;padding:6px 11px;font-size:12px;font-weight:800;color:#fff;text-shadow:0 1px 1px rgba(22,40,66,.28);white-space:nowrap;border-radius:11px;border:1px solid rgba(255,255,255,.44);background:linear-gradient(180deg,color-mix(in srgb,var(--tint) 85%,white),var(--tint));box-shadow:inset 0 2px 1px rgba(255,255,255,.38),inset 0 -2px 0 rgba(16,30,55,.14),0 5px 12px rgba(0,19,56,.20);animation:dd-bubble-pop .32s cubic-bezier(.18,.86,.3,1.2) both}
.drobo-bubble::after{content:'';position:absolute;width:9px;height:9px;bottom:-5px;left:calc(50% - 5px);background:var(--tint);transform:rotate(45deg);border-right:1px solid rgba(255,255,255,.35);border-bottom:1px solid rgba(255,255,255,.35)}
.drobo-bubble[data-tone='hug']{--tint:var(--bubble-hug)}.drobo-bubble[data-tone='miss']{--tint:var(--bubble-miss)}.drobo-bubble[data-tone='care']{--tint:var(--bubble-care)}.drobo-bubble[data-tone='rest']{--tint:var(--bubble-rest)}.drobo-bubble[data-tone='courage']{--tint:var(--bubble-courage)}.drobo-bubble[data-tone='curious']{--tint:var(--bubble-curious)}
.drobo-photo-badge{position:absolute;right:5px;bottom:52px;z-index:2;min-width:43px;min-height:43px;border-radius:12px;color:white;border:1px solid rgba(255,255,255,.58);background:linear-gradient(160deg,#60B6F4,#2869B6);box-shadow:inset 0 2px 1px rgba(255,255,255,.45),0 5px 15px rgba(6,36,93,.26);display:flex;align-items:center;justify-content:center;font-size:17px}
.drobo-photo-count{position:absolute;top:-7px;right:-7px;background:#F4B9D3;color:#28334F;min-width:19px;height:19px;border-radius:100px;display:grid;place-items:center;font-size:11px;font-weight:800}
.drobo-plus-small{position:absolute;bottom:60px;right:-3px;width:43px;height:43px;border-radius:50%;color:white;font-size:29px;line-height:1;border:1px solid #A9E0FF;background:linear-gradient(145deg,#85D3FF 0%,#348ED9 75%);box-shadow:inset 0 3px 3px rgba(255,255,255,.55),0 5px 15px rgba(8,30,75,.25)}
.drobo-main-action{align-self:center;margin-top:clamp(45px,8vh,95px);display:flex;align-items:center;flex-direction:column;gap:9px}
.drobo-plus{width:86px;height:86px;border-radius:50%;font-size:54px;line-height:1;color:white;text-shadow:0 1px 2px #194D9D;border:1px solid rgba(255,255,255,.5);background:linear-gradient(145deg,rgba(233,247,255,.50),rgba(115,176,242,.26) 42%,rgba(37,90,168,.44));box-shadow:inset 0 4px 3px rgba(255,255,255,.45),inset 0 -7px 14px rgba(20,66,148,.20),0 12px 27px rgba(4,38,98,.23);backdrop-filter:blur(13px)}
.drobo-main-action>span{font-size:17px;font-weight:800;letter-spacing:.01em}
.drobo-bottom{margin-top:auto;padding-top:72px;display:grid;grid-template-columns:repeat(4,1fr);gap:9px;align-items:start}
.drobo-nav-button{margin:auto;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;color:#F4FCFF;border:1px solid rgba(255,255,255,.53);background:radial-gradient(circle at 35% 12%,rgba(255,255,255,.46),transparent 36%),linear-gradient(145deg,rgba(212,235,255,.35),rgba(36,102,184,.29));box-shadow:inset 0 2px 2px rgba(255,255,255,.25),0 7px 17px rgba(4,35,95,.16);backdrop-filter:blur(15px)}.drobo-nav-button svg{width:27px;height:27px;stroke-width:2.2}.drobo-nav-button:active,.drobo-plus:active,.px-button:active{transform:translateY(2px) scale(.98)}
/* Pixel-paper meets liquid glass. 2px crisp inner highlights + subtle 45-degree notches. */
.px-button{--btn-top:#519BE5;--btn-bottom:#2166B8;position:relative;isolation:isolate;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 16px;background:linear-gradient(180deg,color-mix(in srgb,var(--btn-top) 90%,white 10%),var(--btn-bottom));color:#fff;font-size:14px;font-weight:800;border:1px solid rgba(224,243,255,.76);border-radius:13px;box-shadow:inset 0 3px 1px rgba(255,255,255,.30),inset 0 -3px 0 rgba(13,45,103,.22),0 5px 15px rgba(4,32,81,.18);transition:transform .14s,filter .14s;backdrop-filter:blur(14px)}.px-button::before{content:'';position:absolute;z-index:-1;inset:3px;border:1px solid rgba(255,255,255,.11);border-radius:9px;pointer-events:none}.px-button:hover{filter:brightness(1.06)}
.px-button--secondary{--btn-top:#477AB7;--btn-bottom:#204781}.px-button--rose{--btn-top:#F49AC6;--btn-bottom:#BA548A}.px-button--ghost{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);color:#E6F2FF}.px-button--small{min-height:36px;padding:7px 12px;border-radius:10px;font-size:12px}
.drobo-overlay{position:fixed;inset:0;background:rgba(3,15,38,.50);backdrop-filter:blur(4px);z-index:20;display:flex;align-items:flex-end;justify-content:center}.drobo-overlay[hidden]{display:none}.drobo-sheet{width:min(460px,100%);max-height:min(88svh,850px);overflow-y:auto;padding:19px 20px calc(env(safe-area-inset-bottom,0px) + 24px);border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;background:linear-gradient(158deg,var(--sheet-top),var(--sheet-bottom));border:1px solid rgba(197,224,255,.42);border-bottom:0;box-shadow:0 -12px 50px rgba(0,10,42,.4),inset 0 2px 0 rgba(255,255,255,.18);animation:dd-sheet-in .28s cubic-bezier(.24,.85,.37,1) both}.drobo-handle{width:40px;height:5px;background:rgba(215,234,255,.48);border-radius:9px;margin:0 auto 15px}.drobo-sheethead{display:flex;justify-content:space-between;align-items:center;gap:12px}.drobo-sheet h3{font-family:var(--f-pixel);font-size:22px;letter-spacing:-.01em;margin:9px 0 16px}.drobo-close{width:40px;height:40px;background:transparent;border:none;font-size:28px;color:#fff}.drobo-search{width:100%;min-height:46px;padding:11px 14px;color:white;border:1px solid rgba(255,255,255,.34);border-radius:11px;background:rgba(255,255,255,.09);outline-offset:2px}.drobo-search::placeholder{color:#C6DBF1}
.drobo-tabs{display:flex;gap:6px;overflow-x:auto;margin:15px 0 12px;padding-bottom:3px}.drobo-tab{white-space:nowrap;min-height:36px;padding:8px 12px;color:#F8FCFF;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.08);font-size:12px;font-weight:700}.drobo-tab[aria-selected='true']{background:rgba(160,215,255,.33);border-color:rgba(255,255,255,.6)}
.drobo-state-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.drobo-state-card,.drobo-gesture-card{display:flex;align-items:center;gap:10px;text-align:left;padding:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.21);border-radius:14px;color:white;min-height:69px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.drobo-state-card:hover,.drobo-gesture-card:hover{background:rgba(255,255,255,.15)}.drobo-state-card strong{font-size:13px;line-height:1.22}.drobo-state-card i{font-style:normal;font-size:25px;flex-shrink:0}
.drobo-gesture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.drobo-gesture-card{min-height:115px;flex-direction:column;justify-content:center;gap:9px;text-align:center;padding:8px}.drobo-gesture-card i{font-size:27px;font-style:normal}.drobo-gesture-card strong{font-size:12px;line-height:1.3}
.drobo-meta{font-size:13px;color:#D5E6FA;line-height:1.4}.drobo-sectionheading{font-size:13px;margin:18px 0 10px;font-weight:800;color:#E6F3FF}.drobo-hint{padding:10px 11px;background:rgba(255,255,255,.09);border-radius:12px;font-size:12px;line-height:1.4}
.drobo-demo-controls{display:flex;gap:6px;align-items:center;justify-content:center;margin:12px auto 0;flex-wrap:wrap}.drobo-demo-controls select{background:#163F74;color:#fff;border-radius:10px;border:1px solid #84A9DB;padding:6px;font-size:12px}.drobo-visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@keyframes dd-bubble-pop{0%{opacity:0;transform:translateY(7px) scale(.82)}66%{opacity:1;transform:translateY(-2px) scale(1.04)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes dd-avatar-hello{0%{opacity:.6;transform:translateY(5px)}65%{opacity:1;transform:translateY(-3px)}100%{opacity:1;transform:translateY(0)}}
@keyframes dd-sheet-in{0%{opacity:.5;transform:translateY(38px)}100%{opacity:1;transform:translateY(0)}}
@keyframes dd-steam{0%{opacity:0;transform:translateY(2px)}45%{opacity:.7}100%{opacity:0;transform:translateY(-9px)}}
@keyframes dd-soft-glow{0%,100%{opacity:.55}50%{opacity:1}}
.drobo-reaction .drobo-sprite{animation:dd-avatar-hello .6s ease-in-out both}.drobo-person[data-action='boisson']::before{content:'〰';position:absolute;left:68%;top:25%;opacity:.65;animation:dd-steam 3.8s ease-in-out infinite;pointer-events:none}
@media (max-width:360px){.drobo-shell{padding-left:14px;padding-right:14px}.drobo-hero h1{font-size:25px}.drobo-avatars{margin-top:55px}.drobo-sprite-wrap{height:175px}.drobo-gesture-grid{gap:6px}}
@media (min-width:700px){.drobo-page{max-width:460px;margin:20px auto;border-radius:28px;box-shadow:0 25px 70px rgba(3,17,48,.45);min-height:900px}.drobo-shell{min-height:900px}}
@media (prefers-reduced-motion:reduce){.drobo-page,.drobo-page *,.drobo-overlay,.drobo-overlay *{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* Pixel icons included as transparent PNG at 64 px, displayed at 30 px. */
.drobo-nav-button img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 1px 0 rgba(10,37,82,.38));pointer-events:none}


/* ---- accueil v3 : plat, épuré ---- */
.screen-hero{overflow:hidden}
.first-view{display:flex;flex-direction:column;min-height:100dvh;margin-bottom:0;padding-bottom:calc(var(--sab) + 62px)}
.first-view .hero{flex:1;display:flex;flex-direction:column;min-height:0;padding:calc(var(--sat) + 22px) max(24px,env(safe-area-inset-right)) 4px max(24px,env(safe-area-inset-left))}
.first-view .hero-top{gap:12px;justify-content:space-between;align-items:flex-start;flex-wrap:nowrap}
.first-view .hero-date,.first-view .hero-weather{padding:10px 18px!important;font-size:.92rem!important;font-weight:500;background:#ffffff1f!important;border:1px solid #ffffff2b!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:999px;white-space:nowrap}
.first-view .hero-hello{margin:clamp(26px,5.2dvh,48px) 0 0;font-size:clamp(2rem,9vw,2.5rem);line-height:1.06;letter-spacing:-.025em}
.first-view .hero-hello span{font-size:1.12rem;margin-bottom:8px;font-weight:400;color:#cfe3ff}
.first-view .drobo{margin:clamp(18px,3dvh,30px) 0 0;max-width:36ch;padding:0;border:0;background:none;border-radius:0;font-size:1.06rem;line-height:1.5;color:#e6f0ff}
.first-view .drobo-sign{margin-bottom:6px;color:#9cc7ff}
.first-view .hero .duo{margin:auto 0;padding:clamp(14px,2.6dvh,26px) 0;align-items:start;gap:14px}
.first-view .person .mood-bubble{margin:0 0 14px;min-height:30px;background:#ffffff1a;border:1px solid #ffffff2b;box-shadow:none}
.first-view .person .mood-bubble.static.ghost{min-height:30px}
.first-view .person-name{margin-top:12px;font-size:1.2rem}
.first-view .person-comment{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;line-height:1.35}
.first-view .person-since{margin-top:3px;min-height:1.2em}
.first-view .person-photo{box-shadow:0 0 0 1px #ffffff33;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:3px}
.fv-cta{position:static;display:grid;justify-items:center;gap:10px;padding:6px 0 clamp(14px,3dvh,34px)}
.state-fab{display:grid;justify-items:center;gap:10px;background:none;border:0;box-shadow:none;padding:0;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent}
.state-fab-circle{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:linear-gradient(180deg,#52a8ff,#2878ea);border:1px solid #ffffff59;box-shadow:0 6px 18px #1c64d359;color:#fff;transition:transform .16s cubic-bezier(.3,1.5,.5,1)}
.state-fab:active .state-fab-circle{transform:scale(.92)}
.state-fab-label{font-size:.9rem;font-weight:500;letter-spacing:.01em;color:#cfe3ff}
.fv-menu.fv-dock{position:fixed;left:0;right:0;bottom:0;z-index:15;display:flex;justify-content:space-around;align-items:center;width:auto;max-width:none;margin:0;height:calc(54px + var(--sab));padding:0 max(16px,env(safe-area-inset-left)) var(--sab);border:0;border:0;border-radius:0;background:linear-gradient(0deg,#061d44f0 35%,#061d4400);box-shadow:none}
.fv-dock .fv-item{display:grid;justify-items:center;align-content:center;gap:2px;min-width:72px;min-height:48px;padding:0 8px;border-radius:12px;color:rgba(255,255,255,.82)}
.fv-dock .fv-item:active{opacity:.6;transform:none}
.fv-dock .fv-ico{width:24px;height:24px}
.fv-dock .fv-ico svg{width:22px;height:22px}
.fv-dock .fv-lab{font-size:.64rem;font-weight:500;letter-spacing:.02em;color:rgba(255,255,255,.7)}
@media (prefers-reduced-motion:reduce){.state-fab-circle{transition:none}}
@media (max-height:700px){.first-view .hero{padding-top:calc(var(--sat) + 12px)}.fv-cta{padding-bottom:2px;gap:6px}.first-view .hero .duo{padding:6px 0}.first-view .drobo{margin-top:12px}.first-view .hero-hello{margin-top:16px;font-size:1.85rem}.first-view .drobo{font-size:1rem}.state-fab-circle{width:60px;height:60px}}
.fv-more{display:none}
:root{--dr-dawn:linear-gradient(180deg,#FBC9AE 0%,#F8D3DF 42%,#BFD9F5 100%);--dr-day:linear-gradient(180deg,#38BDF8 0%,#BAE6FD 100%);--dr-sunset:linear-gradient(180deg,#FDBA74 0%,#F472B6 36%,#7C3AED 74%,#3B1D6E 100%);--dr-night:linear-gradient(180deg,#090D16 0%,#1E293B 100%);--dr-ink:#172B40}
.hero-sky,.hero-neutral .hero-sky,.hero-t-night .hero-sky,.hero-t-warm .hero-sky,.hero-day .hero-sky,.hero-warm .hero-sky{background:none!important}
.hero{background:none!important}
.first-view .hero{background:none!important}
.hero-date,.hero-weather,.group,.week-card,.chip,.bubble,.search-fake,.input,.mood-bubble,.row-card,.summary-bubble{background:rgba(255,255,255,.15)!important;-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);border:1px solid rgba(255,255,255,.25)!important;box-shadow:none!important}
.drobo{background:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;padding:0!important}
html[data-dr-sky=day] :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle),html[data-dr-sky=dawn] :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle){color:var(--dr-ink)!important;text-shadow:none!important}
html[data-dr-sky=day] .state-fab-circle,html[data-dr-sky=dawn] .state-fab-circle{color:var(--dr-ink)!important}
html[data-dr-sky=day] .btn.primary,html[data-dr-sky=dawn] .btn.primary{color:#fff!important}
html[data-dr-sky] .first-view .person-photo{border:1px solid rgba(255,255,255,.45)!important;background:radial-gradient(120% 90% at 30% 15%,rgba(255,255,255,.55),rgba(255,255,255,.12))!important;box-shadow:0 0 0 7px rgba(255,255,255,.14),0 10px 26px rgba(15,23,42,.15)!important}
.first-view .hero-date,.first-view .hero-weather{background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.06))!important;border:1px solid rgba(255,255,255,.25)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px rgba(0,20,60,.16)!important;-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%)}
.first-view .person-photo{padding:4px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:radial-gradient(120% 90% at 30% 15%,rgba(255,255,255,.35),rgba(255,255,255,.04));box-shadow:0 0 0 6px rgba(255,255,255,.05),inset 0 1px 0 rgba(255,255,255,.45),0 10px 26px rgba(0,20,60,.2);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.first-view .hero .duo{gap:18px}
.first-view .person-since,.first-view .person-comment{font-size:.8rem}
.fv-menu.fv-dock{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04))!important;-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.state-fab-circle{background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,.1))!important;border:1px solid rgba(255,255,255,.35)!important;-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 24px rgba(0,20,60,.22)!important}
.hero-t-warm .hero-sky{filter:saturate(1.05)}
:root{--glass-fill:rgba(255,255,255,.08);--glass-line:rgba(255,255,255,.15)}
.screen *{text-shadow:none!important}
.group,.week-card,.chip,.search-fake,.input,.hero-date,.hero-weather,.bubble{background:var(--glass-fill)!important;border:1px solid var(--glass-line)!important;box-shadow:none!important;-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
.week-card{padding:16px 18px;border-radius:20px;margin:12px 0}
.week-card-title{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;opacity:.7;margin-bottom:10px}
.week-card-grid b{display:block;font-size:1.6rem;font-weight:700;line-height:1.1;letter-spacing:-.02em}
.week-card-grid span{font-size:.76rem;opacity:.75}
.trl-screen .btn.ghost{background:var(--glass-fill)!important;border:1px solid var(--glass-line)!important;box-shadow:none!important;border-radius:999px;min-height:46px}
.group{overflow:hidden;border-radius:20px}
.group .row{padding:14px 16px;min-height:56px;border-bottom:1px solid rgba(255,255,255,.07)}
.group .row:last-child{border-bottom:0}
.filters .chip{min-height:44px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center}
.filters .search .input{min-height:46px}
.msg.me .bubble{background:rgba(96,160,255,.2)!important}
.msg.other .bubble{background:rgba(255,255,255,.08)!important}
.first-view .hero-hello span{color:rgba(255,255,255,.85)}
.first-view button.mood-bubble,.first-view .mood-bubble.empty{background:rgba(255,255,255,.1)!important;border:0!important}
.first-view .hero-date,.first-view .hero-weather{background:rgba(255,255,255,.08)!important;border:0!important;box-shadow:none!important}
.first-view *{text-shadow:none!important}
.first-view .drobo{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;color:rgba(255,255,255,.92)!important}
.first-view .drobo-sign{opacity:.6!important;color:#fff!important;font-size:.66rem!important}
.first-view .person .mood-bubble{background:rgba(255,255,255,.08)!important;border:0!important;box-shadow:none!important;font-weight:500;color:rgba(255,255,255,.9)}
.first-view .person .mood-bubble:after{display:none}
.first-view .person .mood-bubble.static.ghost{background:rgba(255,255,255,.05)!important;border:0!important;color:rgba(255,255,255,.6)!important}
.first-view .person-photo{box-shadow:none!important}
.state-fab-circle{background:linear-gradient(180deg,#4d9bf2,#2c72d8)!important;border:0!important;box-shadow:none!important}
.state-fab-label{color:rgba(255,255,255,.9)}
.fv-dock .fv-lab{color:rgba(255,255,255,.85);text-shadow:none}
.first-view .person .mood-bubble{width:136px;max-width:136px;justify-content:center;margin:0 auto 14px;height:30px;min-height:30px;white-space:nowrap}
.first-view .person .mood-bubble.static.ghost{visibility:visible;background:#ffffff12;border:1px dashed #ffffff55;color:#ffffffb8;font-weight:500}
.tb-wrap{top:auto!important;bottom:calc(var(--sab) + 74px)!important}
:root{--glass-fill:rgba(255,255,255,.18);--glass-blur:blur(25px) saturate(180%);--glass-line:rgba(255,255,255,.35);--glass-hi:0 20px 40px rgba(0,0,0,.1)}
.group,.week-card,.row-card,.summary-bubble,.notice,.pm-card,.habit-card,.badge-card,.type-card,.composer,.intro-promise{background:rgba(255,255,255,.18)!important;-webkit-backdrop-filter:blur(25px) saturate(180%)!important;backdrop-filter:blur(25px) saturate(180%)!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:28px!important;box-shadow:0 20px 40px rgba(0,0,0,.1)!important}
.chip,.seg,.btn:not(.primary),.mood-chip,.reply-btn,.who button,.field,.input,.search-fake{background:rgba(255,255,255,.22)!important;-webkit-backdrop-filter:blur(25px) saturate(180%)!important;backdrop-filter:blur(25px) saturate(180%)!important;border:1px solid rgba(255,255,255,.4)!important;border-radius:16px!important;box-shadow:none!important}
.chip:active,.seg:active,.btn:not(.primary):active,.mood-chip:active,.reply-btn:active,.who button:active{background:rgba(255,255,255,.35)!important}
@property --dr-a{syntax:'<color>';inherits:true;initial-value:#1B1F3D}@property --dr-b{syntax:'<color>';inherits:true;initial-value:#2B3658}@property --dr-c{syntax:'<color>';inherits:true;initial-value:#3B3766}html{--dr-a:#1B1F3D;--dr-b:#2B3658;--dr-c:#3B3766;transition:--dr-a .9s ease,--dr-b .9s ease,--dr-c .9s ease}html[data-dr-sky=dawn]{--dr-a:#B9DCF2;--dr-b:#F4E4DA;--dr-c:#F7D8CB}html[data-dr-sky=day]{--dr-a:#A6D2EE;--dr-b:#DCEDF7;--dr-c:#EEF6FA}html[data-dr-sky=sunset]{--dr-a:#CBB8E0;--dr-b:#E9BBA9;--dr-c:#B7A0C8}html[data-dr-sky=night]{--dr-a:#1B1F3D;--dr-b:#2B3658;--dr-c:#3B3766}html[data-dr-sky]:has(.hero-w-rain){--dr-a:#5C6B7E;--dr-b:#3E4D61;--dr-c:#2F3B4D}html[data-dr-sky]:has(.hero-w-storm){--dr-a:#46505F;--dr-b:#2C3645;--dr-c:#222A38}body{background:linear-gradient(180deg,var(--dr-a) 0%,var(--dr-b) 55%,var(--dr-c) 100%) fixed!important}html[data-dr-sky=day] :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle),html[data-dr-sky=dawn] :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle),html[data-dr-sky=sunset] :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle){color:#172B40!important;text-shadow:none!important}html[data-dr-sky]:has(.hero-w-rain) :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle),html[data-dr-sky]:has(.hero-w-storm) :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle),html[data-dr-sky=night] :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle){color:#F7F5F1!important;text-shadow:none!important}html[data-dr-sky=night] :is(.chip,.seg,.btn:not(.primary),.mood-chip,.reply-btn,.who button,.field,.input,.search-fake,.group,.week-card,.row-card,.summary-bubble,.notice,.pm-card,.habit-card,.badge-card,.type-card,.composer,.intro-promise),html[data-dr-sky]:has(.hero-w-rain) :is(.chip,.seg,.btn:not(.primary),.mood-chip,.reply-btn,.who button,.field,.input,.search-fake,.group,.week-card,.row-card,.summary-bubble,.notice,.pm-card,.habit-card,.badge-card,.type-card,.composer,.intro-promise),html[data-dr-sky]:has(.hero-w-storm) :is(.chip,.seg,.btn:not(.primary),.mood-chip,.reply-btn,.who button,.field,.input,.search-fake,.group,.week-card,.row-card,.summary-bubble,.notice,.pm-card,.habit-card,.badge-card,.type-card,.composer,.intro-promise){background:rgba(15,23,42,.32)!important;border-color:rgba(255,255,255,.14)!important}html[data-dr-sky=day] .state-fab-circle,html[data-dr-sky=dawn] .state-fab-circle,html[data-dr-sky=sunset] .state-fab-circle{background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.42))!important;border:1px solid rgba(255,255,255,.7)!important;color:#172B40!important;box-shadow:0 10px 24px rgba(23,43,64,.12)!important}html[data-dr-sky=night] .state-fab-circle,html[data-dr-sky]:has(.hero-w-rain) .state-fab-circle{background:linear-gradient(180deg,rgba(40,52,84,.6),rgba(20,28,50,.45))!important;border:1px solid rgba(255,255,255,.14)!important;color:#F7F5F1!important;box-shadow:0 10px 24px rgba(0,0,0,.2)!important}@media (prefers-reduced-motion:reduce){html{transition:none!important}}.first-view .person .mood-bubble{width:auto!important;min-width:0!important;max-width:100%!important;padding:4px 10px!important;justify-content:center}.first-view .person .mood-bubble:has(> span:only-child){padding:4px 8px!important}.hero-weather{line-height:1.35!important;padding-top:9px!important;padding-bottom:6px!important}.fv-dock{background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.08))!important;-webkit-backdrop-filter:blur(14px) saturate(140%)!important;backdrop-filter:blur(14px) saturate(140%)!important;box-shadow:none!important;transform:translateZ(0);will-change:transform;contain:layout paint}html[data-dr-sky]:has(.hero-w-rain){--dr-a:#A9BCCD;--dr-b:#C6D4DF;--dr-c:#DDE6EE}html[data-dr-sky]:has(.hero-w-storm){--dr-a:#9AADBF;--dr-b:#B8C6D3;--dr-c:#D2DCE5}html[data-dr-sky]:has(.hero-w-rain) :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle),html[data-dr-sky]:has(.hero-w-storm) :is(.screen,.screen-hero,.app,.fv-dock,.state-fab) :is(h1,h2,h3,h4,p,span,b,strong,label,small,em,li,td,th,div,button,a):not(.btn.primary):not(.tab-badge):not(.fv-badge):not(.mo-plus):not(.state-fab-circle){color:#172B40!important}html[data-dr-sky]:has(.hero-w-rain) :is(.chip,.seg,.btn:not(.primary),.mood-chip,.reply-btn,.who button,.field,.input,.search-fake,.group,.week-card,.row-card,.summary-bubble,.notice,.pm-card,.habit-card,.badge-card,.type-card,.composer,.intro-promise),html[data-dr-sky]:has(.hero-w-storm) :is(.chip,.seg,.btn:not(.primary),.mood-chip,.reply-btn,.who button,.field,.input,.search-fake,.group,.week-card,.row-card,.summary-bubble,.notice,.pm-card,.habit-card,.badge-card,.type-card,.composer,.intro-promise){background:rgba(255,255,255,.2)!important;border-color:rgba(255,255,255,.4)!important}html[data-dr-sky]:has(.hero-w-rain) .state-fab-circle,html[data-dr-sky]:has(.hero-w-storm) .state-fab-circle{background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.42))!important;border:1px solid rgba(255,255,255,.7)!important;color:#172B40!important;box-shadow:0 10px 24px rgba(23,43,64,.12)!important}.hero-sky>svg{display:none!important}.esp-screen{padding-bottom:calc(var(--sab) + 100px)}.esp-sub{margin:4px 18px 14px;font-size:.95rem;opacity:.85}.esp-card{display:flex;align-items:center;gap:14px;width:calc(100% - 32px);margin:10px 16px;padding:14px 16px;border-radius:24px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(25px) saturate(180%);backdrop-filter:blur(25px) saturate(180%);box-shadow:0 20px 40px rgba(0,0,0,.08);color:inherit;font:inherit;text-align:left;cursor:pointer;position:relative}.esp-card:active{background:rgba(255,255,255,.3)}.esp-card-ico{flex:none;width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.25);border:1px solid rgba(255,255,255,.4)}.esp-card-txt{flex:1;display:grid;gap:3px;min-width:0}.esp-card-txt b{font-size:1rem;font-weight:600}.esp-card-txt em{font-style:normal;font-size:.82rem;opacity:.8}.esp-chev{font-size:1.4rem;opacity:.6}.esp-badge{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:grid;place-items:center;font-size:.72rem;font-weight:700;color:#172B40;background:#F4B6C2;box-shadow:0 0 0 4px rgba(244,182,194,.22)}.esp-body{padding:4px 16px 0;display:grid;gap:12px}.esp-card-long{padding:16px;border-radius:24px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(25px) saturate(180%);backdrop-filter:blur(25px) saturate(180%);box-shadow:0 20px 40px rgba(0,0,0,.08);display:grid;gap:8px}.esp-card-long.esp-new{border-color:rgba(244,182,194,.9)}.esp-form{padding:16px;border-radius:24px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(25px) saturate(180%);backdrop-filter:blur(25px) saturate(180%);display:grid;gap:10px}.esp-chips{display:flex;flex-wrap:wrap;gap:8px}.esp-chips .chip{min-height:44px;padding:0 14px;border-radius:16px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.22);font:inherit;font-size:.88rem;cursor:pointer}.esp-chips .chip.on{background:rgba(255,255,255,.4);font-weight:600}.esp-reply{padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);display:grid;gap:4px;position:relative}.esp-reply p{margin:0}.esp-dot{position:absolute;top:10px;right:10px;width:8px;height:8px;border-radius:50%;background:#F4B6C2}.esp-q{margin:0;font-size:1.02rem;font-weight:600}.esp-q.esp-big{font-size:1.1rem}.esp-muted{margin:0;font-size:.85rem;opacity:.8}.esp-err{margin:0;color:#8A1F3A;font-weight:600;font-size:.9rem}.esp-reveal{padding:12px;border-radius:16px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.35);display:grid;gap:4px}.esp-reveal p{margin:0}.esp-mine p{margin:4px 0 0}.esp-screen .input,.esp-form .input,.esp-card-long .input{width:100%;box-sizing:border-box;border-radius:16px;padding:10px 12px;font:inherit;font-size:.95rem;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.22);color:inherit}.esp-screen .btn.primary{min-height:44px;border-radius:16px}.esp-screen .btn.ghost{min-height:44px;border-radius:16px}.esp-screen .btn:disabled{opacity:.5}@property --dr-top{syntax:'<color>';inherits:true;initial-value:#1B2A52}html{--dr-top:#1B2A52;transition:--dr-top .9s ease,--dr-a .9s ease,--dr-b .9s ease,--dr-c .9s ease}html[data-dr-sky=dawn]{--dr-top:#F4E6DE}html[data-dr-sky=day]{--dr-top:#E4F1FB}html[data-dr-sky=sunset]{--dr-top:#E9D3E6}html[data-dr-sky=night]{--dr-top:#1B2A52}html[data-dr-sky]:has(.hero-w-rain),html[data-dr-sky]:has(.hero-w-storm){--dr-top:#D5E5F3}body{background:linear-gradient(0deg,#0C4586 0%,#0F4C8E 50%,#12529A 60%,color-mix(in srgb,var(--dr-top) 55%,#12529A) 74%,var(--dr-top) 92%,var(--dr-top) 100%) fixed!important}.tr-jfix{position:fixed;top:0;left:0;right:0;z-index:30;padding-top:env(safe-area-inset-top,0px);background:rgba(255,255,255,.14);backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);border-bottom:1px solid rgba(255,255,255,.22)}.screen.no-tabbar:has(>.tr-jfix){padding-top:calc(env(safe-area-inset-top,0px) + 64px)}html:has(.tr-jfix) .banner-stack{display:none}.tr-gest-sent .tr-gest-txt{opacity:.9}.db-fix{display:flex;gap:6px;align-items:center;margin-top:6px}.db-in{flex:1 1 auto;min-width:0;height:30px;border-radius:0;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;padding:0 8px;font-size:13px}.tr-gest{margin:8px 18px 14px;padding:0;background:none;border:0;border-radius:0;box-shadow:none}.tr-gest-h{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.72)}.tr-gest-list{list-style:none;margin:0;padding:0}.tr-gest-row{display:flex;align-items:baseline;gap:8px;padding:5px 0;font-size:14px;line-height:1.35;color:#fff;background:none;border:0;border-radius:0;box-shadow:none}.tr-gest-ico{flex:0 0 auto;font-size:14px}.tr-gest-txt{flex:1 1 auto;min-width:0}.tr-gest-t{flex:0 0 auto;font-size:11px;color:rgba(255,255,255,.6);white-space:nowrap}
html .first-view .tr-home-gaz{display:inline-flex!important;align-self:flex-start!important;width:auto!important;align-items:center;margin:0!important;padding:6px 14px!important;border-radius:999px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.26)!important;box-shadow:0 0 14px rgba(150,205,255,.28)!important;color:#fff!important;font-size:14px;font-weight:600;white-space:nowrap;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer}

html[data-dr-sky][data-dr-sky] .state-fab-circle{background:rgba(56,189,248,.25)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 8px 32px rgba(0,0,0,.2)!important;border:1px solid rgba(255,255,255,.4)!important;color:#fff!important}
html[data-dr-sky][data-dr-sky] .state-fab-circle svg,html[data-dr-sky][data-dr-sky] .state-fab-circle span{color:#fff!important}
html[data-dr-sky][data-dr-sky] .state-fab{color:#fff!important}

html .fv-menu.fv-dock{background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(150,200,255,.12))!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important;backdrop-filter:blur(20px) saturate(180%)!important;border-top:1px solid rgba(255,255,255,.4)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 -6px 26px rgba(110,180,255,.38)!important}
html .fv-menu.fv-dock .fv-item,html .fv-menu.fv-dock .fv-lab,html .fv-menu.fv-dock .fv-ico{color:#fff!important}
html .fv-menu.fv-dock .fv-ico svg{filter:drop-shadow(0 0 6px rgba(160,215,255,.75))}
html .first-view .hero-top{padding:0!important;justify-content:space-between!important;align-items:flex-start!important;gap:8px!important}
html .first-view .hero-date,html .first-view .hero-wx .hero-weather{padding:3px 9px!important;font-size:11px!important;line-height:1.2!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 0 12px rgba(150,205,255,.28),inset 0 0 0 1px rgba(255,255,255,.08)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html .first-view .hero-date .hero-ico{width:11px!important;height:11px!important}
html .first-view .hero-wx .wx-ico{width:18px!important;height:18px!important;margin-right:4px!important}
html .first-view .hero-wx-age{font-size:10px!important}
.esp-intro{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(4,11,39,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.esp-intro-card{width:100%;max-width:340px;padding:22px 20px 20px;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(170,210,255,.10));border:1px solid rgba(255,255,255,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 28px rgba(120,180,255,.4);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);color:#fff;text-align:center}
.esp-intro-drobo{font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.8;margin:0;color:#fff}
.esp-intro-step{font-size:12px;opacity:.7;margin:6px 0 4px;color:#fff}
.esp-intro-card h2{font-size:20px;margin:0 0 10px;color:#fff}
.esp-intro-body{font-size:15px;line-height:1.5;margin:0 0 16px;color:#fff}
.esp-intro-dots{display:flex;gap:6px;justify-content:center;margin-bottom:16px}
.esp-intro-dots span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35)}
.esp-intro-dots span.on{background:#fff}
.esp-intro-btn{width:100%;padding:13px;border-radius:16px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.18);color:#fff;font-weight:600;font-size:15px;box-shadow:0 0 18px rgba(140,200,255,.35)}

html .first-view .person-photo,html .first-view .person-photo.mo-new{box-shadow:none!important;outline:0!important;border:0!important;animation:none!important;background:none!important;padding:0!important}
html .first-view .person-photo::before,html .first-view .person-photo::after{display:none!important;content:none!important}
html .first-view .person .mood-bubble{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html .first-view .hero-wx{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:4px!important;height:auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html .first-view .hero-wx .hero-weather{display:flex!important;align-items:center!important;padding:5px 12px!important;border-radius:16px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:none!important;font-size:13px!important}
html .first-view .hero-wx .hero-wx-age{display:flex!important;justify-content:space-between!important;gap:10px!important;width:100%!important;padding:0 4px!important;background:none!important;border:0!important;box-shadow:none!important;font-size:11px!important;opacity:.8;white-space:nowrap}

.first-view .hero-wx{width:auto!important;max-width:100%!important;box-sizing:border-box!important}
.first-view .hero-wx .hero-wx-age{width:100%!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.first-view .hero-wx-city,.first-view .hero-wx-when{white-space:nowrap!important;color:inherit!important}
.first-view .hero-hello{display:block!important;margin:0!important;text-align:left!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.first-view .hero-hello>span{display:block!important;font-size:20px!important;font-weight:500!important;line-height:1.2!important;margin-bottom:2px!important}

.fv-dock{transform:none!important;will-change:auto!important;contain:none!important;bottom:0!important}
.first-view .hero-top{justify-content:space-between!important;align-items:flex-start!important;padding:0 16px!important;gap:10px!important}
.first-view .hero-date{height:auto!important;padding:5px 12px!important;font-size:13px!important}
.first-view .hero-wx{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;height:auto!important;padding:6px 12px 5px!important;border-radius:16px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:none!important}
.first-view .hero-wx .hero-weather{display:flex!important;align-items:center!important;padding:0!important;font-size:13px!important;background:none!important;border:0!important;box-shadow:none!important}
.hero-wx-age{display:flex!important;justify-content:space-between!important;gap:12px!important;font-size:11px!important;line-height:1.2!important;opacity:.8;white-space:nowrap}
.first-view .hero-top{justify-content:center!important;gap:8px!important}
.first-view .hero-date,.first-view .hero-wx{height:auto!important;min-height:0!important;padding:5px 12px!important;font-size:13px!important;line-height:1.2!important}
.first-view .hero-wx{display:inline-flex!important;align-items:center}
.first-view .hero-date .hero-ico{width:14px!important;height:14px!important}
.first-view .hero-weather{padding:0!important;font-size:13px!important;background:none!important;border:0!important;box-shadow:none!important}
.hero-sky{display:none!important}
html{background:#1B5796!important}
body{background:transparent!important}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#081026 0%,#1E3B8A 100%)}
.wx-ico{display:inline-flex;width:20px;height:20px;vertical-align:-5px;margin-right:5px}
.wx-ico svg{width:100%;height:100%;overflow:visible}
.wx-tw{transform-box:fill-box;transform-origin:center;animation:wx-tw 2.8s ease-in-out infinite}
@keyframes wx-tw{0%,100%{transform:scale(.9);opacity:.75}50%{transform:scale(1.08);opacity:1}}
.wx-drop{animation:wx-drop 1.1s linear infinite}
@keyframes wx-drop{0%{opacity:0;transform:translateY(-2px)}30%{opacity:1}100%{opacity:0;transform:translateY(3px)}}
.wx-flash{animation:wx-flash 4.2s infinite}
@keyframes wx-flash{0%,86%,100%{opacity:.25}88%{opacity:1}92%{opacity:.3}94%{opacity:1}}
@media (prefers-reduced-motion:reduce){.wx-tw,.wx-drop,.wx-flash{animation:none!important}}
.trl-paper{background:rgba(255,255,255,.12)!important;background-image:none!important;box-shadow:none!important;border:1px solid rgba(255,255,255,.22)!important;backdrop-filter:blur(14px) saturate(1.1);-webkit-backdrop-filter:blur(14px) saturate(1.1)}
.trl-paper::before,.trl-paper::after{display:none!important}
.trl-paper,.trl-paper *{font-family:inherit!important;font-style:normal!important;color:#fff!important}
.first-view .person .mood-bubble{margin:0 0 4px!important}

html[data-dr-sky=dawn]{--dr-top:#3A7CC0}
html[data-dr-sky=day]{--dr-top:#2F72B8}
html[data-dr-sky=sunset]{--dr-top:#3A5F9E}
html[data-dr-sky=night]{--dr-top:#0F3163}
html[data-dr-sky]:root{--dr-ink:#FFFFFF}
html[data-dr-sky][data-dr-sky] .state-fab-circle{color:#FFFFFF!important;background:rgba(255,255,255,.2)!important}
html[data-dr-sky]:not([data-dr-sky=night]):has(.hero-w-rain){--dr-top:#2D5F9C}
html[data-dr-sky]:not([data-dr-sky=night]):has(.hero-w-storm){--dr-top:#27507F}
.hero-sky{overflow:hidden;pointer-events:none}
.hero-sky i{position:absolute;display:none;pointer-events:none}
.hero-sky::before,.hero-sky::after{content:"";position:absolute;inset:0;pointer-events:none}
.hero-t-night .hero-sky::before{opacity:.75;background-image:radial-gradient(1.2px 1.2px at 8% 6%,#fff,transparent),radial-gradient(1px 1px at 22% 14%,#fff,transparent),radial-gradient(1.4px 1.4px at 37% 4%,#fff,transparent),radial-gradient(1px 1px at 52% 18%,#fff,transparent),radial-gradient(1.2px 1.2px at 66% 7%,#fff,transparent),radial-gradient(1px 1px at 81% 15%,#fff,transparent),radial-gradient(1.3px 1.3px at 93% 5%,#fff,transparent),radial-gradient(1px 1px at 14% 26%,#fff,transparent),radial-gradient(1px 1px at 74% 27%,#fff,transparent)}
.hero-s-sunny:not(.hero-t-night) .hero-sky::before{background:repeating-linear-gradient(118deg,transparent 0 70px,rgba(255,246,220,.12) 70px 92px,transparent 92px 150px);-webkit-mask-image:radial-gradient(circle at 100% 0,#000 0,transparent 62%);mask-image:radial-gradient(circle at 100% 0,#000 0,transparent 62%)}
.hero-t-night .sk-moon{display:block;top:-46px;right:16%;width:112px;height:112px;border-radius:50%;background:radial-gradient(circle at 42% 40%,#f3f0e2,#cfccbd 72%);opacity:.3;filter:blur(.7px)}
.hero-s-sunny:not(.hero-t-night) .sk-moon{display:block;top:-120px;right:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,246,214,.6) 0,rgba(255,236,190,.22) 38%,transparent 66%);filter:blur(5px)}
.hero-s-cloudy .sk-cloud,.hero-w-rain .sk-cloud,.hero-w-storm .sk-cloud{display:block;top:34px;right:-30px;width:210px;height:86px;opacity:.5;filter:blur(6px);background:radial-gradient(ellipse 42% 50% at 40% 62%,rgba(255,255,255,.55),transparent 72%),radial-gradient(ellipse 34% 44% at 70% 42%,rgba(255,255,255,.5),transparent 72%)}
.hero-t-night .sk-cloud{opacity:.2}
.hero-w-rain .sk-cloud{background:radial-gradient(ellipse 42% 50% at 40% 62%,rgba(170,188,210,.75),transparent 72%),radial-gradient(ellipse 34% 44% at 70% 42%,rgba(160,180,204,.7),transparent 72%);opacity:.7}
.hero-w-storm .sk-cloud{background:radial-gradient(ellipse 42% 50% at 40% 62%,rgba(105,122,150,.85),transparent 72%),radial-gradient(ellipse 34% 44% at 70% 42%,rgba(96,114,142,.8),transparent 72%);opacity:.75}
.hero-w-rain .sk-rain,.hero-w-storm .sk-rain{display:block;top:110px;left:0;right:0;height:190px;opacity:.6;background:repeating-linear-gradient(104deg,transparent 0 13px,rgba(220,235,255,.55) 13px 14px,transparent 14px 30px);background-size:60px 60px;-webkit-mask-image:linear-gradient(#000,transparent);mask-image:linear-gradient(#000,transparent);animation:sk-fall 1s linear infinite}
@keyframes sk-fall{from{background-position:0 0}to{background-position:-30px 60px}}
.hero-w-storm .sk-bolt{display:block;top:112px;right:118px;width:24px;height:64px;background:rgba(255,250,224,.95);clip-path:polygon(60% 0,15% 58%,46% 58%,30% 100%,88% 40%,56% 40%);animation:sk-bolt 6s infinite}
@keyframes sk-bolt{0%,88%,100%{opacity:0}89%{opacity:1}91%{opacity:.15}93%{opacity:1}96%{opacity:0}}
.hero-s-wind .sk-wind{display:block;top:20px;left:0;right:0;height:150px;opacity:.7;filter:blur(1.4px);background:repeating-linear-gradient(100deg,transparent 0 34px,rgba(255,255,255,.28) 34px 37px,transparent 37px 92px);background-size:240px 100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 35%,#000 80%,transparent);mask-image:linear-gradient(90deg,transparent,#000 35%,#000 80%,transparent);animation:sk-wind 3.6s linear infinite}
@keyframes sk-wind{from{background-position:0 0}to{background-position:-240px 0}}
@media (prefers-reduced-motion:reduce){.sk-rain,.sk-bolt,.sk-wind{animation:none!important}}
.fv-dock .fv-lab,.fv-dock .fv-item,.fv-dock .fv-ico{color:#fff!important}/* Le Duel des Mots — plein écran, clavier du téléphone, Pixel Papier contrasté */
.mf-screen{--mf-paper:#fbf5e6;--mf-ink:#1b1408;--mf-line:#b9a37a;--mf-k:#bcd5f6;--mf-ki:#123f7a;--mf-n:#f6c3d1;--mf-ni:#86193f;--mf-clue:#e6d3a8;--mf-sel:#f6d77e;--mf-cur:#e8a520;
 background:#232a5c}
html body .screen.mf-screen.mf-full{position:fixed;left:0;right:0;top:0;height:100dvh;z-index:40;display:flex;flex-direction:column;overflow:hidden;margin:0;padding:env(safe-area-inset-top) 0 0;background:linear-gradient(180deg,#26306a 0%,#202655 100%);overscroll-behavior:none}
html body .screen.mf-screen.mf-full.mf-scroll{overflow-y:auto;-webkit-overflow-scrolling:touch}
html body .mf-screen button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
html body .mf-screen :is(.mf-paper,.mf-res,.mf-result,.mf-toast,.mf-grid,.mf-defbar){color:var(--mf-ink);-webkit-text-fill-color:var(--mf-ink)}
html body .mf-screen *{text-shadow:none!important}
/* en-tête fin */
html body .mf-screen .mf-head{flex:none;display:flex;align-items:center;gap:6px;height:46px;padding:0 8px}
html body .mf-screen .mf-ib{flex:none;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:12px;background:rgba(255,255,255,.12);font-size:1.15rem;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .mf-screen .mf-ib:active{background:rgba(255,255,255,.26)}
html body .mf-screen .mf-back{font-size:1.6rem;line-height:1;padding-bottom:3px}
html body .mf-screen .mf-title{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.15}
html body .mf-screen .mf-title strong{font-size:1rem;font-weight:700;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .mf-screen .mf-title small{font-size:.74rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c9d4f2!important;-webkit-text-fill-color:#c9d4f2!important}
html body .mf-screen .mf-reactpop{position:absolute;z-index:45;right:8px;top:calc(env(safe-area-inset-top) + 48px);display:flex;gap:4px;padding:6px;border-radius:14px;background:#fffaf0;border:2px solid #3b2a12;box-shadow:0 6px 18px rgba(0,0,0,.35)}
html body .mf-screen .mf-reactpop button{width:38px;height:38px;border:0;border-radius:10px;background:transparent;font-size:1.3rem;padding:0}
html body .mf-screen .mf-reactpop button:active{background:#f1e3c4}
/* ligne des scores */
html body .mf-screen .mf-sline{flex:none;display:flex;align-items:center;gap:6px;padding:0 8px 6px}
html body .mf-screen .mf-chip{flex:none;display:flex;align-items:center;gap:5px;height:34px;padding:0 9px 0 3px;border-radius:999px;border:2px solid transparent}
html body .mf-screen .mf-chip-k{background:var(--mf-k)}html body .mf-screen .mf-chip-n{background:var(--mf-n)}
html body .mf-screen .mf-chip.mf-lead{border-color:#e8b33c}
html body .mf-screen .mf-av{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}
html body .mf-screen .mf-chip-name{font-size:.78rem;font-weight:600;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important}
html body .mf-screen .mf-pl-score{font-family:ui-monospace,Menlo,monospace;font-size:1.15rem;font-weight:800;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important}
html body .mf-screen .mf-prog{position:relative;flex:1;min-width:0;height:22px;border-radius:99px;background:rgba(255,255,255,.14);overflow:hidden}
html body .mf-screen .mf-prog i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#f1d28a,#e7a48f)}
html body .mf-screen .mf-prog span{position:relative;display:block;text-align:center;font-size:.72rem;line-height:22px;font-weight:700;color:#fff!important;-webkit-text-fill-color:#fff!important;white-space:nowrap}
/* plateau : prend toute la place restante */
html body .mf-screen .mf-board{position:relative;flex:1;min-height:0;display:flex;padding:0 4px}
html body .mf-screen .mf-wrap{flex:1;min-height:0;min-width:0;display:flex;overflow:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
html body .mf-screen .mf-grid{margin:0 auto auto;flex:none;display:grid;gap:0;background:var(--mf-paper);border:2px solid #120d05;border-radius:6px;overflow:hidden}
html body .mf-screen .mf-cell{position:relative;aspect-ratio:1/1;min-width:0;margin:0;padding:0;border:0;border-right:1px solid var(--mf-line);border-bottom:1px solid var(--mf-line);border-radius:0;background:var(--mf-paper);font:inherit;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important}
html body .mf-screen .mf-void{background:#cdb98f;background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.06) 0 2px,transparent 2px 6px)}
html body .mf-screen .mf-let{display:flex;align-items:center;justify-content:center;font-family:ui-monospace,Menlo,"Courier New",monospace;font-weight:800;font-size:calc(var(--mf-cell,46px)*.58);text-transform:uppercase;cursor:pointer}
html body .mf-screen .mf-let.mf-draft{color:#3a3a3a!important;-webkit-text-fill-color:#3a3a3a!important;font-weight:700}
html body .mf-screen .mf-let.mf-ck{background:var(--mf-k);color:var(--mf-ki)!important;-webkit-text-fill-color:var(--mf-ki)!important}
html body .mf-screen .mf-let.mf-cn{background:var(--mf-n);color:var(--mf-ni)!important;-webkit-text-fill-color:var(--mf-ni)!important}
html body .mf-screen .mf-let.mf-both{background:linear-gradient(135deg,var(--mf-k) 50%,var(--mf-n) 50%)}
html body .mf-screen .mf-let.mf-in{background-color:var(--mf-sel);background-image:none}
html body .mf-screen .mf-let.mf-in.mf-lock{box-shadow:inset 0 0 0 2px var(--mf-cur)}
html body .mf-screen .mf-let.mf-cur{background:#ffe9a8;box-shadow:inset 0 0 0 3px var(--mf-cur)}
html body .mf-screen .mf-clue{display:flex;flex-direction:column;background:var(--mf-clue);cursor:pointer;overflow:hidden}
html body .mf-screen .mf-clue.mf-clue-on{background:var(--mf-sel)}
html body .mf-screen .mf-def{position:relative;flex:1;display:flex;align-items:center;justify-content:center;min-height:0;padding:1px 7px 1px 2px;overflow:hidden}
html body .mf-screen .mf-two .mf-def+.mf-def{border-top:1px solid var(--mf-line)}
html body .mf-screen .mf-def-t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font-family:-apple-system,"Helvetica Neue",Arial,sans-serif;font-weight:600;font-size:max(6.5px,calc(var(--mf-cell,46px)*.17));line-height:1.1;text-align:center;word-break:break-word;color:#2b1d0e!important;-webkit-text-fill-color:#2b1d0e!important}
html body .mf-screen .mf-two .mf-def-t{-webkit-line-clamp:2}
html body .mf-screen .mf-def-done .mf-def-t{opacity:.4;text-decoration:line-through}
html body .mf-screen .mf-arr{position:absolute;right:1px;bottom:0;font-size:max(7px,calc(var(--mf-cell,46px)*.21));line-height:1;color:#a24b00!important;-webkit-text-fill-color:#a24b00!important}
html body .mf-screen .mf-def:first-child:not(:last-child) .mf-arr{bottom:auto;top:50%;transform:translateY(-50%)}
html body .mf-screen .mf-zoom{position:absolute;right:10px;bottom:6px;display:flex;gap:6px;z-index:3}
html body .mf-screen .mf-zoom button{width:36px;height:36px;padding:0;border-radius:50%;border:0;background:rgba(18,13,5,.72);font-size:1.25rem;line-height:1;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .mf-screen .mf-zoom button:disabled{opacity:.3}
/* barre de définition : au-dessus du clavier du téléphone */
html body .mf-screen .mf-defbar{position:relative;flex:none;display:flex;align-items:center;gap:8px;min-height:52px;margin:6px 6px calc(env(safe-area-inset-bottom) + 6px);padding:6px 6px 6px 12px;border-radius:14px;background:#fffaf0;border:2px solid #120d05}
html body .mf-screen.mf-kbopen .mf-defbar{margin-bottom:6px}
html body .mf-screen .mf-defarr{color:#a24b00!important;-webkit-text-fill-color:#a24b00!important}
html body .mf-screen .mf-deftxt{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.95rem;font-weight:600;line-height:1.2}
html body .mf-screen .mf-defbar small{flex:none;font-size:.72rem;color:#6b5a3a!important;-webkit-text-fill-color:#6b5a3a!important;white-space:nowrap}
html body .mf-screen .mf-defbar-done .mf-deftxt{opacity:.6}
html body .mf-screen .mf-input{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;border:0;padding:0;font-size:16px;caret-color:transparent;pointer-events:none}
html body .mf-screen .mf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:10px;font-size:.88rem;font-weight:700;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.14);color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .mf-screen .mf-btn:disabled{opacity:.45}
html body .mf-screen .mf-btn.mf-go{background:#5b4220;border:2px solid #120d05;color:#fff6e0!important;-webkit-text-fill-color:#fff6e0!important}
html body .mf-screen .mf-let.mf-hint{color:#b25e00!important;-webkit-text-fill-color:#b25e00!important;font-style:italic}
html body .mf-screen .mf-let.mf-cr{background:#ddd5c3;color:#5b5140!important;-webkit-text-fill-color:#5b5140!important}
html body .mf-screen .mf-jk{flex:none;display:flex;align-items:center;gap:6px;margin:6px 6px 0;padding:8px 8px 8px 12px;border-radius:14px;background:#f6d77e;border:2px solid #120d05;animation:mfIn .18s ease-out;color:var(--mf-ink);-webkit-text-fill-color:var(--mf-ink)}
html body .mf-screen .mf-jk-wait{background:#efe3c8}
html body .mf-screen .mf-jk-t{flex:1;min-width:0;font-size:.82rem;font-weight:700;line-height:1.25}
html body .mf-screen .mf-jk .mf-btn{min-height:36px;padding:0 10px;font-size:.8rem}
html body .mf-screen .mf-jk-no{background:#fffaf0;border:2px solid #120d05;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important}
html body .mf-screen .mf-hintbtn{flex:none;min-width:52px;min-height:38px;padding:0 8px;background:#f6d77e;border:2px solid #120d05;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important}
html body .mf-screen .mf-ok{flex:none;min-width:56px;min-height:38px}
html body .mf-screen .mf-muted{color:#6b5a3a!important;-webkit-text-fill-color:#6b5a3a!important;font-size:.85rem}
html body .mf-screen .mf-err{color:#fecaca!important;-webkit-text-fill-color:#fecaca!important;margin:12px 16px}
html body .mf-screen .mf-paper{margin:14px;padding:18px;border-radius:12px;background:var(--mf-paper)}
/* annonces : sous l’en-tête, sans bloquer la grille */
html body .mf-screen .mf-toasts{position:absolute;z-index:44;left:0;right:0;top:calc(env(safe-area-inset-top) + 50px);display:grid;justify-items:center;gap:6px;pointer-events:none}
html body .mf-screen .mf-toast{max-width:90%;padding:8px 14px;border-radius:12px;background:#fffaf0;border:2px solid #120d05;font-size:.86rem;font-weight:700;animation:mfIn .18s ease-out}
html body .mf-screen .mf-t-lead,html body .mf-screen .mf-t-tie{background:#f6d77e}
html body .mf-screen .mf-t-left{background:#efb39d}
@keyframes mfIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes mfPop{0%{transform:scale(1)}45%{transform:scale(1.15)}100%{transform:scale(1)}}
@keyframes mfShake{0%,100%{transform:none}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
html body .mf-screen .mf-pop{animation:mfPop .35s ease-out;z-index:2}
html body .mf-screen .mf-shake{animation:mfShake .25s linear 2;background:#f5c0b8!important}
/* résultat */
html body .mf-screen .mf-overlay{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px;background:rgba(10,14,40,.6)}
html body .mf-screen .mf-result{position:relative;overflow:hidden;width:min(340px,100%);padding:22px 18px 18px;border-radius:16px;text-align:center;background:var(--mf-paper);border:2px solid #120d05;animation:mfIn .25s ease-out}
html body .mf-screen .mf-result h2{margin:6px 0 8px;font-size:1.2rem}
html body .mf-screen .mf-kicker{margin:0;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#6b5a3a!important;-webkit-text-fill-color:#6b5a3a!important}
html body .mf-screen .mf-crown{font-size:2.6rem;animation:mfPop .9s ease-out 2}
html body .mf-screen .mf-res-score{display:flex;justify-content:center;gap:10px;margin:6px 0;font-family:ui-monospace,Menlo,monospace;font-weight:800}
html body .mf-screen .mf-res-score .mf-k{color:var(--mf-ki)!important;-webkit-text-fill-color:var(--mf-ki)!important}html body .mf-screen .mf-res-score .mf-n{color:var(--mf-ni)!important;-webkit-text-fill-color:var(--mf-ni)!important}
html body .mf-screen .mf-result .mf-go{margin-top:10px;width:100%}
html body .mf-screen .mf-confetti{position:absolute;inset:0;pointer-events:none}
html body .mf-screen .mf-confetti i{position:absolute;top:-10px;width:7px;height:7px;background:#e7a48f;animation:mfFall 1.5s ease-in forwards}
html body .mf-screen .mf-confetti i:nth-child(3n){background:#bcd5f6}html body .mf-screen .mf-confetti i:nth-child(3n+1){background:#f1d28a}
html body .mf-screen .mf-tie .mf-confetti i{background:#d9cfb8}
@keyframes mfFall{to{transform:translateY(320px) rotate(220deg);opacity:0}}
/* historique */
html body .mf-screen .mf-histo{padding:4px 12px calc(env(safe-area-inset-bottom) + 30px);display:grid;gap:10px}
html body .mf-screen .mf-histo-head{font-size:.8rem;color:#c9d4f2!important;-webkit-text-fill-color:#c9d4f2!important}
html body .mf-screen .mf-histo-head span{color:#c9d4f2!important;-webkit-text-fill-color:#c9d4f2!important}
html body .mf-screen .mf-histo>.mf-muted{color:#c9d4f2!important;-webkit-text-fill-color:#c9d4f2!important}
html body .mf-screen .mf-res{padding:12px 14px;border-radius:12px;background:var(--mf-paper)}
html body .mf-screen .mf-res header{display:flex;justify-content:space-between;gap:8px;font-size:.85rem}
html body .mf-screen .mf-res header span{color:#6b5a3a!important;-webkit-text-fill-color:#6b5a3a!important}
html body .mf-screen .mf-res-win{margin:2px 0;font-weight:700}
html body .mf-screen .mf-more{justify-self:center}
/* tuile Notre espace */
.mf-card{text-align:left;position:relative}
.mf-card .mf-tile-art{display:flex;gap:3px;margin:6px 0 4px;justify-content:flex-start}
.mf-card .mf-tile-art span{display:grid;place-items:center;width:24px;height:24px;border-radius:4px;background:#f6efdc;font:800 .85rem ui-monospace,Menlo,monospace;border:1.5px solid #3b2a12}
html body .mf-card .mf-tile-art span{color:#1E293B!important;-webkit-text-fill-color:#1E293B!important}html body .mf-card .mf-tile-art .mf-tile-arrow{background:#e9dcc0;color:#8a4b12!important;-webkit-text-fill-color:#8a4b12!important}
/* pause entre deux grilles */
html body .mf-screen .mf-lobby{flex:none;display:grid;gap:8px;margin:6px 6px 0;padding:10px 12px;border-radius:14px;background:#fffaf0;border:2px solid #120d05;color:var(--mf-ink);-webkit-text-fill-color:var(--mf-ink)}
html body .mf-screen .mf-lobby-t{margin:0;font-size:.9rem;font-weight:700}
html body .mf-screen .mf-lobby-w{margin:0;font-size:.8rem;color:#a24b00!important;-webkit-text-fill-color:#a24b00!important}
html body .mf-screen .mf-seg{display:grid;grid-template-columns:1fr 1fr;gap:6px}
html body .mf-screen .mf-seg button{min-height:42px;border-radius:10px;border:2px solid #b9a37a;background:#fff;font-weight:700;font-size:.88rem;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important}
html body .mf-screen .mf-seg button.on{border-color:#120d05;background:#f6d77e}
html body .mf-screen .mf-ready{display:grid;gap:2px;font-size:.78rem}
html body .mf-screen .mf-ready span{color:#6b5a3a!important;-webkit-text-fill-color:#6b5a3a!important}
html body .mf-screen .mf-ready span.ok{color:#2f7d4f!important;-webkit-text-fill-color:#2f7d4f!important;font-weight:700}
html body .mf-screen .mf-next{min-height:46px;font-size:1rem}
html body .mf-screen .mf-welcome{flex:1;display:grid;place-content:center;justify-items:center;gap:14px;padding:20px;text-align:center}
html body .mf-screen .mf-welcome p{max-width:28ch;font-size:.95rem;color:#c9d4f2!important;-webkit-text-fill-color:#c9d4f2!important}
html body .mf-screen .mf-big-art{display:flex;gap:5px}
html body .mf-screen .mf-big-art span{display:grid;place-items:center;width:42px;height:42px;border-radius:6px;background:#f6efdc;border:2px solid #3b2a12;font:800 1.4rem ui-monospace,Menlo,monospace;color:#1E293B!important;-webkit-text-fill-color:#1E293B!important}
html body .mf-screen .mf-big-art span:first-child{background:#e9dcc0;color:#8a4b12!important;-webkit-text-fill-color:#8a4b12!important;font-size:1rem}
/* petit chat */
html body .mf-screen .mf-chatbtn{position:relative}
html body .mf-screen .mf-badge{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#e5484d;font-size:.66rem;font-weight:800;line-height:18px;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .mf-screen .mf-chat{position:absolute;z-index:50;left:6px;right:6px;bottom:6px;height:min(60%,420px);display:flex;flex-direction:column;border-radius:16px;background:#fffaf0;border:2px solid #120d05;box-shadow:0 -8px 30px rgba(0,0,0,.4);animation:mfUp .18s ease-out;color:var(--mf-ink);-webkit-text-fill-color:var(--mf-ink)}
@keyframes mfUp{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
html body .mf-screen .mf-chat-head{flex:none;display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 14px;border-bottom:1px solid #e3d5b5;font-size:.92rem}
html body .mf-screen .mf-chat-x{width:34px;height:34px;padding:0;border:0;border-radius:10px;background:#efe3c8;font-size:1rem;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important}
html body .mf-screen .mf-chat-list{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px 10px 4px;display:flex;flex-direction:column;gap:6px}
html body .mf-screen .mf-chat-empty{margin:auto;font-size:.85rem;color:#6b5a3a!important;-webkit-text-fill-color:#6b5a3a!important}
html body .mf-screen .mf-msg{max-width:80%;padding:7px 10px 4px;border-radius:14px;font-size:.92rem;line-height:1.3;word-break:break-word;white-space:pre-wrap}
html body .mf-screen .mf-msg small{display:block;margin-top:2px;font-size:.62rem;text-align:right;opacity:.6}
html body .mf-screen .mf-me{align-self:flex-end;background:var(--mf-k);border-bottom-right-radius:4px}
html body .mf-screen .mf-them{align-self:flex-start;background:var(--mf-n);border-bottom-left-radius:4px}
html body .mf-screen.mf-me-n .mf-me{background:var(--mf-n)}html body .mf-screen.mf-me-n .mf-them{background:var(--mf-k)}
html body .mf-screen .mf-chat-form{flex:none;display:flex;gap:6px;padding:8px;border-top:1px solid #e3d5b5}
html body .mf-screen .mf-chat-in{flex:1;min-width:0;height:40px;padding:0 12px;border-radius:20px;border:1.5px solid #b9a37a;background:#fff;font-size:16px;color:var(--mf-ink)!important;-webkit-text-fill-color:var(--mf-ink)!important;outline:none}
html body .mf-screen .mf-chat-in::placeholder{color:#9b8a68;-webkit-text-fill-color:#9b8a68}
html body .mf-screen .mf-send{min-height:40px;border-radius:20px}
html body .mf-screen .mf-toast.mf-tap{pointer-events:auto;cursor:pointer}
html body .mf-screen .mf-t-chat{background:#e8f0ff}
@media (prefers-reduced-motion:reduce){html body .mf-screen *{animation:none!important;transition:none!important}}
/* Face à face — plateau de jeu télévisé : projecteurs, pupitres, buzzer */
.fa-card{text-align:left;position:relative}
.fa-card .fa-tile-art{display:flex;margin:6px 0 4px}
.fa-card .fa-tile-buzz{display:block;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ff8a8a,#e11d48 55%,#8f0f2c);box-shadow:0 3px 0 #5e0a1d,0 0 0 3px #f5c542}
html body .screen.fa-screen{--fa-k:#4f9dff;--fa-kd:#1d4ed8;--fa-n:#ff5fa8;--fa-nd:#be185d;--fa-gold:#f5c542;--fa-card:#fffaf0;--fa-ink:#1b1430;
 position:fixed;left:0;right:0;top:0;height:100dvh;z-index:40;display:flex;flex-direction:column;overflow:hidden;margin:0;padding:env(safe-area-inset-top) 0 0;
 background:radial-gradient(120% 70% at 50% 0%,#3b2a8c 0%,#1d1650 45%,#0d0a2b 100%);overscroll-behavior:none;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
html body .fa-screen *{text-shadow:none!important;box-sizing:border-box}
html body .fa-screen,html body .fa-screen :is(p,span,strong,small,b,em,h1,h2,h3,li,label,div){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .fa-screen button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;font:inherit;cursor:pointer}
/* projecteurs */
.fa-lights{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.fa-lights i{position:absolute;top:-30%;width:46%;height:90%;background:linear-gradient(180deg,rgba(255,236,170,.20),rgba(255,236,170,0) 75%);filter:blur(6px);transform-origin:50% 0;clip-path:polygon(42% 0,58% 0,100% 100%,0 100%)}
.fa-lights i:nth-child(1){left:-6%;transform:rotate(18deg);animation:faSweep 9s ease-in-out infinite alternate}
.fa-lights i:nth-child(2){left:27%;opacity:.7;animation:faSweep2 11s ease-in-out infinite alternate}
.fa-lights i:nth-child(3){right:-6%;transform:rotate(-18deg);animation:faSweep3 10s ease-in-out infinite alternate}
@keyframes faSweep{to{transform:rotate(6deg)}}@keyframes faSweep2{from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}@keyframes faSweep3{to{transform:rotate(-6deg)}}
html body .fa-screen>*:not(.fa-lights):not(.fa-stars):not(.fa-floor):not(.fa-overlay):not(.fa-intro):not(.fa-flash):not(.fa-chat){position:relative;z-index:1}
/* en-tête */
html body .fa-screen .fa-head{flex:none;display:flex;align-items:center;gap:8px;height:50px;padding:0 10px}
html body .fa-screen .fa-ib{flex:none;position:relative;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:13px;background:rgba(255,255,255,.12);font-size:1.25rem;line-height:1}
html body .fa-screen .fa-ib:first-child{font-size:1.7rem;padding-bottom:3px}
html body .fa-screen .fa-ib:active{background:rgba(255,255,255,.26)}
html body .fa-screen .fa-title{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;line-height:1.15}
html body .fa-screen .fa-title strong{font-size:1rem;font-weight:900;letter-spacing:.18em;background:linear-gradient(180deg,#fff3c4,#f5c542 60%,#d4931a);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent!important}
html body .fa-screen .fa-title small{font-size:.72rem;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c8c3f0!important;-webkit-text-fill-color:#c8c3f0!important}
html body .fa-screen .fa-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#ff3b5c;font-size:.68rem;font-weight:800;display:grid;place-items:center}
.fa-center{flex:1;display:grid;place-items:center;padding:20px}
.fa-loader{display:flex;gap:7px}.fa-loader i{width:11px;height:11px;border-radius:50%;background:var(--fa-gold);animation:faDot 1s ease-in-out infinite}
.fa-loader i:nth-child(2){animation-delay:.15s}.fa-loader i:nth-child(3){animation-delay:.3s}
@keyframes faDot{0%,100%{transform:scale(.6);opacity:.5}50%{transform:scale(1);opacity:1}}
html body .fa-screen .fa-err{color:#ffc2c2!important;-webkit-text-fill-color:#ffc2c2!important;text-align:center}
html body .fa-screen .fa-muted{font-size:.82rem;color:#bdb6ec!important;-webkit-text-fill-color:#bdb6ec!important;text-align:center;margin:6px 0}
/* ---- plateau ---- */
.fa-stage{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:4px 12px 6px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.fa-pods{flex:none;display:flex;align-items:stretch;gap:6px}
html body .fa-screen .fa-vs{flex:none;align-self:center;font-weight:900;font-size:.85rem;letter-spacing:.1em;color:var(--fa-gold)!important;-webkit-text-fill-color:var(--fa-gold)!important}
.fa-pod{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 6px 9px;border-radius:16px;border:2px solid rgba(255,255,255,.14);
 background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.02));transition:transform .25s,box-shadow .25s,border-color .25s}
.fa-pod-k{--c:var(--fa-k);--cd:var(--fa-kd)}.fa-pod-n{--c:var(--fa-n);--cd:var(--fa-nd)}
.fa-pod::before{content:"";position:absolute;left:12%;right:12%;bottom:-2px;height:4px;border-radius:4px;background:var(--c);box-shadow:0 0 12px var(--c)}
.fa-pod-on{border-color:var(--c);box-shadow:0 0 0 2px var(--c),0 0 26px color-mix(in srgb,var(--c) 60%,transparent);transform:translateY(-2px)}
.fa-pod-good{animation:faGood .9s ease}.fa-pod-bad{animation:faShake .45s ease}
@keyframes faGood{0%{box-shadow:0 0 0 0 #3ddc84}40%{box-shadow:0 0 0 6px #3ddc84,0 0 30px #3ddc84}100%{box-shadow:0 0 0 0 transparent}}
@keyframes faShake{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
.fa-pod-av{width:42px;height:42px;border-radius:50%;overflow:hidden;border:2px solid var(--c);background:#2a2266}
.fa-pod-av img{width:100%;height:100%;object-fit:cover;display:block}
html body .fa-screen .fa-pod-name{font-size:.8rem;font-weight:700;white-space:nowrap}
html body .fa-screen .fa-pod-name small{font-weight:500;font-size:.7rem;color:#c8c3f0!important;-webkit-text-fill-color:#c8c3f0!important}
html body .fa-screen .fa-pod-score{font:800 1.9rem/1 ui-monospace,"SF Mono",Menlo,Consolas,monospace;letter-spacing:.06em;padding:4px 10px 3px;border-radius:9px;background:#07051a;border:1px solid rgba(255,255,255,.12);
 color:var(--c)!important;-webkit-text-fill-color:var(--c)!important;filter:drop-shadow(0 0 6px var(--c))}
.fa-pod-bar{display:flex;gap:2px;width:100%;max-width:150px;margin-top:2px}
.fa-pod-bar i{flex:1;height:6px;border-radius:2px;background:rgba(255,255,255,.13)}
.fa-pod-bar i.on{background:var(--c);box-shadow:0 0 6px var(--c)}
html body .fa-screen .fa-pod-tag{position:absolute;top:-9px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:8px;background:var(--c)}
/* carte question */
.fa-qcard{flex:none;position:relative;border-radius:18px;padding:12px 12px 14px;background:var(--fa-card);border:3px solid var(--fa-gold);box-shadow:0 10px 30px rgba(0,0,0,.45),inset 0 0 0 2px #fff}
html body .fa-screen .fa-qcard :where(p,span,strong,small,b,li,div){color:var(--fa-ink)!important;-webkit-text-fill-color:var(--fa-ink)!important}
.fa-qhead{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
html body .fa-screen .fa-qhead>span:first-child{color:#6b5a1f!important;-webkit-text-fill-color:#6b5a1f!important}
html body .fa-screen .fa-qtheme{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none;letter-spacing:0;font-weight:700}
html body .fa-screen .fa-val{flex:none;padding:3px 9px;border-radius:999px;background:#1b1430;color:var(--fa-gold)!important;-webkit-text-fill-color:var(--fa-gold)!important}
.fa-clues{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.fa-clues li{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;border-radius:12px;background:#f3e8cf;border:1px solid #e2cf9f}
.fa-clues li.new{animation:faIn .5s cubic-bezier(.2,.9,.3,1.3)}
@keyframes faIn{from{opacity:0;transform:translateX(30px) scale(.96)}to{opacity:1;transform:none}}
html body .fa-screen .fa-cn{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-weight:900;font-size:.78rem;background:#1b1430;color:var(--fa-gold)!important;-webkit-text-fill-color:var(--fa-gold)!important}
html body .fa-screen .fa-clues p{margin:0;font-size:.96rem;line-height:1.35;font-weight:600}
.fa-cluebar{margin-top:10px;height:6px;border-radius:4px;background:#e7dbbd;overflow:hidden}
.fa-cluebar i{display:block;height:100%;background:linear-gradient(90deg,#f5c542,#ef7d1a);transition:width .2s linear}
.fa-answer{margin-top:10px;padding:10px;border-radius:12px;text-align:center;background:linear-gradient(180deg,#1b1430,#2e2470);animation:faIn .5s ease}
html body .fa-screen .fa-answer small{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:#c8c3f0!important;-webkit-text-fill-color:#c8c3f0!important}
html body .fa-screen .fa-answer strong{font-size:1.35rem;font-weight:900;color:var(--fa-gold)!important;-webkit-text-fill-color:var(--fa-gold)!important}
.fa-wrongs{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px}
html body .fa-screen .fa-wrongs span{font-size:.78rem;padding:3px 8px;border-radius:8px;background:#ffe1e1;color:#a11a2c!important;-webkit-text-fill-color:#a11a2c!important}
html body .fa-screen .fa-status{flex:none;margin:0;text-align:center;font-size:.92rem;font-weight:700;color:#e9e4ff!important;-webkit-text-fill-color:#e9e4ff!important}
/* dock : buzzer / saisie */
.fa-dock{flex:none;padding:8px 14px calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:center;background:linear-gradient(180deg,transparent,rgba(5,3,20,.55) 40%)}
.fa-buzzwrap{display:flex;align-items:center;gap:14px}
html body .fa-screen .fa-buzzer{width:116px;height:116px;border-radius:50%;border:0;padding:0;position:relative;display:grid;place-items:center;text-align:center;
 background:radial-gradient(circle at 36% 28%,#ff9d9d 0,#ff3b5c 32%,#c3102f 70%,#7c0a1f 100%);box-shadow:0 9px 0 #5a0717,0 12px 22px rgba(0,0,0,.5),0 0 0 6px #f5c542,0 0 0 9px #8a6312;transition:transform .07s,box-shadow .07s,filter .2s}
html body .fa-screen .fa-buzzer span{font-weight:900;font-size:1.45rem;letter-spacing:.08em;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .fa-screen .fa-buzzer.ready{animation:faPulse 1.4s ease-in-out infinite}
html body .fa-screen .fa-buzzer:active:not(:disabled){transform:translateY(7px);box-shadow:0 2px 0 #5a0717,0 4px 10px rgba(0,0,0,.5),0 0 0 6px #f5c542,0 0 0 9px #8a6312}
html body .fa-screen .fa-buzzer:disabled{filter:grayscale(.75) brightness(.7);cursor:default}
html body .fa-screen .fa-buzzer.taken{filter:none;background:radial-gradient(circle at 36% 28%,#c7c2ff,#6c5ce7 45%,#3a2d9c)}
html body .fa-screen .fa-buzzer.taken span{font-size:.92rem}
@keyframes faPulse{0%,100%{box-shadow:0 9px 0 #5a0717,0 12px 22px rgba(0,0,0,.5),0 0 0 6px #f5c542,0 0 0 9px #8a6312}50%{box-shadow:0 9px 0 #5a0717,0 12px 22px rgba(0,0,0,.5),0 0 0 6px #ffe08a,0 0 0 9px #8a6312,0 0 34px 10px rgba(255,59,92,.55)}}
.fa-ansform{width:100%;max-width:520px;display:flex;align-items:center;gap:8px}
html body .fa-screen .fa-ansform input{flex:1;min-width:0;height:52px;border-radius:14px;border:3px solid var(--fa-gold);background:#fffaf0;padding:0 14px;font-size:17px;font-weight:700;
 color:var(--fa-ink)!important;-webkit-text-fill-color:var(--fa-ink)!important;outline:none}
html body .fa-screen .fa-send{flex:none;height:52px;padding:0 16px;border:0;border-radius:14px;font-weight:900;background:linear-gradient(180deg,#3ddc84,#16a35a);box-shadow:0 4px 0 #0c6b3a;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .fa-screen .fa-send:disabled{opacity:.5}
.fa-ring{flex:none;transform:rotate(-90deg)}
.fa-ring-bg{fill:rgba(0,0,0,.35);stroke:rgba(255,255,255,.15);stroke-width:5}
.fa-ring-fg{fill:none;stroke:#3ddc84;stroke-width:5;stroke-linecap:round;transition:stroke-dashoffset .2s linear,stroke .3s}
.fa-ring-fg.fa-ring-hot{stroke:#ff3b5c}
.fa-ring-t{transform:rotate(90deg);transform-origin:center;fill:#fff;font-weight:900;font-size:17px}
/* flash */
html body .fa-screen .fa-flash{position:absolute;left:50%;top:auto;bottom:calc(150px + env(safe-area-inset-bottom));z-index:30;transform:translate(-50%,0);width:max-content;max-width:90%;text-align:center;padding:11px 20px;border-radius:16px;font-weight:900;font-size:1.08rem;line-height:1.25;
 box-shadow:0 12px 36px rgba(0,0,0,.5);animation:faPop 1.8s ease forwards;pointer-events:none}
.fa-flash-good{background:linear-gradient(180deg,#3ddc84,#119150);border:3px solid #c6ffdd}
.fa-flash-bad{background:linear-gradient(180deg,#ff5470,#b0102c);border:3px solid #ffd0d8}
.fa-flash-buzz{background:linear-gradient(180deg,#7d6bff,#3b2bb8);border:3px solid #dcd6ff}
.fa-flash-none{background:linear-gradient(180deg,#4b4670,#25213f);border:3px solid #8f89c4}
@keyframes faPop{0%{opacity:0;transform:translate(-50%,20px) scale(.7)}12%{opacity:1;transform:translate(-50%,0) scale(1.06)}20%{transform:translate(-50%,0) scale(1)}82%{opacity:1}100%{opacity:0;transform:translate(-50%,-14px) scale(.98)}}
/* ---- lobby ---- */
.fa-lobby{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px 14px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px;max-width:560px;width:100%;margin:0 auto}
.fa-logo{text-align:center;padding-top:4px}
.fa-logo-buzz{display:block;margin:4px auto 10px;width:62px;height:62px;border-radius:50%;background:radial-gradient(circle at 36% 28%,#ff9d9d,#ff3b5c 32%,#c3102f 70%,#7c0a1f);box-shadow:0 6px 0 #5a0717,0 0 0 5px #f5c542,0 0 28px rgba(255,59,92,.5)}
html body .fa-screen .fa-logo h1{margin:0;font-size:1.9rem;font-weight:900;letter-spacing:.04em;background:linear-gradient(180deg,#fff3c4,#f5c542 60%,#d4931a);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent!important}
html body .fa-screen .fa-logo p{margin:6px auto 0;max-width:340px;font-size:.88rem;line-height:1.4;color:#d5d0f7!important;-webkit-text-fill-color:#d5d0f7!important}
.fa-lastbox,.fa-pick,.fa-hist{border-radius:18px;padding:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14)}
.fa-lastbox{text-align:center}
.fa-lastbox>p{margin:6px 0}
.fa-last-score{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:900;font-size:1.05rem}
.fa-last-score.big{font-size:1.3rem;margin:10px 0 16px}
html body .fa-screen :is(.fa-last-score,.fa-tally,.fa-hist) .k{color:var(--fa-k)!important;-webkit-text-fill-color:var(--fa-k)!important}
html body .fa-screen :is(.fa-last-score,.fa-tally,.fa-hist) .n{color:var(--fa-n)!important;-webkit-text-fill-color:var(--fa-n)!important}
html body .fa-screen .fa-last-score em{font-style:normal;color:#8f89c4!important;-webkit-text-fill-color:#8f89c4!important}
html body .fa-screen .fa-link{border:0;background:none;padding:4px;font-weight:700;font-size:.85rem;text-decoration:underline;color:var(--fa-gold)!important;-webkit-text-fill-color:var(--fa-gold)!important}
.fa-recap{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:7px;text-align:left}
.fa-recap li{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:9px 10px;border-radius:12px;background:var(--fa-card)}
html body .fa-screen .fa-recap li :is(b,small,p,div){color:var(--fa-ink)!important;-webkit-text-fill-color:var(--fa-ink)!important}
.fa-recap li>div{display:flex;flex-direction:column}
.fa-recap b{font-size:1rem}.fa-recap small{font-size:.72rem;opacity:.75}
.fa-recap p{grid-column:1/-1;margin:3px 0 0;font-size:.75rem;line-height:1.35;opacity:.8}
html body .fa-screen .fa-recap-w{align-self:start;font-size:.75rem;font-weight:800;padding:3px 8px;border-radius:8px;background:#ddd}
html body .fa-screen .fa-recap-w.k{background:var(--fa-kd)}html body .fa-screen .fa-recap-w.n{background:var(--fa-nd)}
html body .fa-screen .fa-recap-w.x{color:#555!important;-webkit-text-fill-color:#555!important}
.fa-seg{display:flex;padding:4px;border-radius:14px;background:rgba(0,0,0,.35)}
html body .fa-screen .fa-seg button{flex:1;height:42px;border:0;border-radius:11px;background:transparent;font-weight:800;font-size:.92rem;color:#c8c3f0!important;-webkit-text-fill-color:#c8c3f0!important;transition:background .2s}
html body .fa-screen .fa-seg button.on{background:linear-gradient(180deg,#fff3c4,#f5c542);box-shadow:0 3px 0 #a87412;color:#2a1a00!important;-webkit-text-fill-color:#2a1a00!important}
.fa-themes{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
html body .fa-screen .fa-chip{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border-radius:999px;border:1.5px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);font-weight:700;font-size:.85rem}
html body .fa-screen .fa-chip.on{border-color:var(--fa-gold);background:rgba(245,197,66,.2);box-shadow:0 0 0 1px var(--fa-gold)}
.fa-ready{display:flex;flex-direction:column;gap:5px;margin-bottom:8px}
html body .fa-screen .fa-ready span{font-size:.8rem;padding:6px 10px;border-radius:10px;background:rgba(0,0,0,.25);color:#bdb6ec!important;-webkit-text-fill-color:#bdb6ec!important}
html body .fa-screen .fa-ready span.ok{background:rgba(61,220,132,.16);color:#a6f5c8!important;-webkit-text-fill-color:#a6f5c8!important}
html body .fa-screen .fa-warn{margin:6px 0;font-size:.82rem;text-align:center;color:#ffd58a!important;-webkit-text-fill-color:#ffd58a!important}
html body .fa-screen .fa-go{display:block;width:100%;height:54px;margin-top:8px;border:0;border-radius:16px;font-weight:900;font-size:1.1rem;letter-spacing:.04em;
 background:linear-gradient(180deg,#ff6b81,#e11d48);box-shadow:0 5px 0 #8f0f2c,0 10px 20px rgba(0,0,0,.35);color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .fa-screen .fa-go:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px 0 #8f0f2c}
html body .fa-screen .fa-go:disabled{background:rgba(255,255,255,.14);box-shadow:none}
html body .fa-screen .fa-hist h3{margin:0 0 8px;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:#c8c3f0!important;-webkit-text-fill-color:#c8c3f0!important}
.fa-tally{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:900;margin-bottom:8px}
html body .fa-screen .fa-tally em{font-style:normal;font-size:.75rem;color:#8f89c4!important;-webkit-text-fill-color:#8f89c4!important}
.fa-hist ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.fa-hist li{display:flex;justify-content:space-between;gap:8px;font-size:.8rem;padding:6px 8px;border-radius:8px;background:rgba(0,0,0,.22)}
html body .fa-screen .fa-hist li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d5d0f7!important;-webkit-text-fill-color:#d5d0f7!important}
/* fin de partie */
.fa-overlay{position:absolute;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:rgba(5,3,20,.72);animation:faFade .3s ease}
@keyframes faFade{from{opacity:0}}
.fa-end{position:relative;overflow:hidden;width:100%;max-width:360px;text-align:center;padding:24px 18px 18px;border-radius:24px;border:3px solid var(--fa-gold);background:radial-gradient(120% 90% at 50% 0%,#4a36b8,#1d1650 70%);box-shadow:0 20px 60px rgba(0,0,0,.6)}
.fa-trophy{font-size:4rem;line-height:1;animation:faBounce 1.2s ease infinite alternate}
@keyframes faBounce{to{transform:translateY(-8px) rotate(-4deg)}}
html body .fa-screen .fa-kicker{margin:8px 0 2px;font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--fa-gold)!important;-webkit-text-fill-color:var(--fa-gold)!important}
html body .fa-screen .fa-end h2{margin:0;font-size:1.35rem;font-weight:900}
.fa-confetti{position:absolute;inset:0;pointer-events:none}
.fa-confetti i{position:absolute;top:-12px;width:8px;height:13px;border-radius:2px;animation:faFall 2.6s linear infinite}
.fa-confetti i:nth-child(4n){background:#f5c542}.fa-confetti i:nth-child(4n+1){background:#ff5fa8}.fa-confetti i:nth-child(4n+2){background:#4f9dff}.fa-confetti i:nth-child(4n+3){background:#3ddc84}
@keyframes faFall{to{transform:translateY(420px) rotate(540deg)}}
/* chat */
html body .fa-screen .fa-chat{position:absolute;z-index:45;right:10px;left:10px;top:calc(env(safe-area-inset-top) + 54px);max-width:420px;margin-left:auto;display:flex;flex-direction:column;max-height:min(60%,440px);border-radius:18px;background:#fffaf0;border:3px solid var(--fa-gold);box-shadow:0 14px 40px rgba(0,0,0,.55);overflow:hidden;animation:faFade .2s ease}
html body .fa-screen .fa-chat :is(p,span,strong,div,button){color:var(--fa-ink)!important;-webkit-text-fill-color:var(--fa-ink)!important}
.fa-chat-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid #e6d7b2}
html body .fa-screen .fa-chat-head button{border:0;background:#f1e3c4;width:32px;height:32px;border-radius:10px}
.fa-chat-list{flex:1;min-height:90px;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:6px}
html body .fa-screen .fa-chat .fa-muted{color:#7a6c4a!important;-webkit-text-fill-color:#7a6c4a!important}
html body .fa-screen .fa-msg{max-width:80%;padding:7px 10px;border-radius:14px;font-size:.9rem;line-height:1.3;word-wrap:break-word}
html body .fa-screen .fa-msg.me{align-self:flex-end;background:#2e2470;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .fa-screen .fa-msg.them{align-self:flex-start;background:#efe2c2}
.fa-chat-form{display:flex;gap:6px;padding:8px;border-top:1px solid #e6d7b2}
html body .fa-screen .fa-chat-form input{flex:1;min-width:0;height:42px;border-radius:12px;border:2px solid #d8c391;padding:0 10px;font-size:16px;background:#fff;color:var(--fa-ink)!important;-webkit-text-fill-color:var(--fa-ink)!important}
html body .fa-screen .fa-chat-form button{border:0;border-radius:12px;padding:0 12px;font-weight:800;background:#2e2470;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .fa-screen .fa-chat-form button:disabled{opacity:.5}
@media (min-height:760px){html body .fa-screen .fa-buzzer{width:132px;height:132px}.fa-pod-av{width:50px;height:50px}}
@media (prefers-reduced-motion:reduce){.fa-screen *,.fa-screen *::before{animation:none!important;transition:none!important}}
/* mode solo */
.fa-seg-mode{max-width:320px;width:100%;margin:0 auto}
.fa-records{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:8px 0}
html body .fa-screen .fa-records span{font-size:.82rem;font-weight:800;padding:5px 10px;border-radius:999px;background:rgba(0,0,0,.28)}
html body .fa-screen .fa-records .k{color:var(--fa-k)!important;-webkit-text-fill-color:var(--fa-k)!important}
html body .fa-screen .fa-records .n{color:var(--fa-n)!important;-webkit-text-fill-color:var(--fa-n)!important}
html body .fa-screen .fa-solo-rules{margin:4px 0;text-align:center;font-size:.86rem;line-height:1.4;color:#d5d0f7!important;-webkit-text-fill-color:#d5d0f7!important}
html body .fa-screen .fa-alone{display:block;margin:10px auto 0}
html body .fa-screen .fa-quit{display:block;margin:-4px auto 0;font-size:.78rem;opacity:.85}
.fa-pod-solo{--c:var(--fa-gold);--cd:#a87412}
.fa-pod-q{display:flex;flex-direction:column;align-items:center;line-height:1.1;margin-bottom:2px}
html body .fa-screen .fa-pod-q small{font-size:.66rem;text-transform:uppercase;letter-spacing:.1em;color:#c8c3f0!important;-webkit-text-fill-color:#c8c3f0!important}
html body .fa-screen .fa-pod-q strong{font-size:1.15rem;font-weight:900}
.fa-pod-solo .fa-pod-score{font-size:1.4rem}
/* jauge des paliers 4-3-2-1 */
.fa-gauge{display:flex;gap:5px;margin:0 0 10px}
.fa-gseg{position:relative;flex:1;height:38px;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:2px;background:#e9dcbc;border:2px solid #d6c08d;transition:opacity .3s,transform .3s}
.fa-gseg i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#f5c542,#ef7d1a);transition:width .2s linear}
html body .fa-screen .fa-gseg b{position:relative;font:900 1.15rem/1 ui-monospace,"SF Mono",Menlo,monospace}
html body .fa-screen .fa-gseg small{position:relative;font-size:.62rem;font-weight:800;text-transform:uppercase}
.fa-gseg.on{border-color:#b7700f;transform:scale(1.06);box-shadow:0 0 14px rgba(245,155,30,.6)}
.fa-gseg.off{opacity:.35}
.fa-gseg.next{background:#f6eedb}
.fa-gseg.won{background:linear-gradient(180deg,#3ddc84,#16a35a);border-color:#0c6b3a}
html body .fa-screen .fa-gseg.won :is(b,small){color:#fff!important;-webkit-text-fill-color:#fff!important}
.fa-gauge.hold .fa-gseg.on{animation:faHold 1s ease-in-out infinite}
.fa-gauge.hold .fa-gseg.on i{background:linear-gradient(90deg,#8f7dff,#5b45e0)}
html body .fa-screen .fa-gauge.hold .fa-gseg.on :is(b,small){color:#fff!important;-webkit-text-fill-color:#fff!important}
@keyframes faHold{50%{box-shadow:0 0 18px rgba(124,104,255,.8)}}
/* ===================== v3 : finition « jeu télé » ===================== */
html body .screen.fa-screen{top:0;bottom:0;height:auto;min-height:100%;font-family:"SF Pro Rounded",ui-rounded,"Nunito","Segoe UI Rounded",system-ui,-apple-system,sans-serif;
 background:radial-gradient(90% 55% at 50% -5%,#5b3fd6 0%,rgba(59,42,140,.0) 70%),radial-gradient(120% 80% at 50% 110%,#2a1660 0%,rgba(13,10,43,0) 60%),linear-gradient(180deg,#1b1250 0%,#0f0b31 55%,#090722 100%)}
html body .fa-screen button,html body .fa-screen input{font-family:inherit}
.fa-stars{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.7;
 background-image:radial-gradient(1.5px 1.5px at 12% 18%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 72% 12%,#fff 50%,transparent 51%),radial-gradient(1.5px 1.5px at 42% 36%,#ffe9a8 50%,transparent 51%),radial-gradient(1px 1px at 88% 44%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 22% 62%,#cfc7ff 50%,transparent 51%),radial-gradient(1.5px 1.5px at 62% 78%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 8% 88%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 92% 92%,#ffe9a8 50%,transparent 51%);
 animation:faTwinkle 5s ease-in-out infinite alternate}
@keyframes faTwinkle{to{opacity:.35}}
.fa-floor{position:absolute;left:0;right:0;bottom:-120px;height:260px;pointer-events:none;z-index:0;background:radial-gradient(50% 50% at 50% 50%,rgba(255,59,92,.28),rgba(124,104,255,.12) 55%,transparent 75%)}
html body .fa-screen .fa-ib{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html body .fa-screen .fa-head{gap:6px}
html body .fa-screen .fa-snd{font-size:1.05rem}
/* --- salon --- */
.fa-lobby{padding-bottom:16px;gap:12px}
.fa-hero{text-align:center;padding-top:2px}
.fa-hero-buzz{position:relative;width:86px;height:86px;margin:2px auto 8px;display:grid;place-items:center}
.fa-hero-buzz span{position:relative;z-index:2;width:62px;height:62px;border-radius:50%;background:radial-gradient(circle at 36% 28%,#ffb3b3 0,#ff3b5c 34%,#c3102f 70%,#7c0a1f 100%);box-shadow:0 6px 0 #5a0717,0 0 0 5px #f5c542,0 0 0 8px #8a6312,0 0 32px rgba(255,59,92,.6)}
.fa-hero-buzz span::after{content:"";position:absolute;left:14px;top:9px;width:22px;height:12px;border-radius:50%;background:rgba(255,255,255,.55);filter:blur(1px);transform:rotate(-20deg)}
.fa-hero-buzz i{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(245,197,66,.55);animation:faRing 2.4s ease-out infinite}
.fa-hero-buzz i:nth-child(2){animation-delay:1.2s}
@keyframes faRing{from{transform:scale(.7);opacity:1}to{transform:scale(1.45);opacity:0}}
html body .fa-screen .fa-hero h1{margin:0;font-size:2.15rem;font-weight:900;letter-spacing:.02em;line-height:1.05;background:linear-gradient(180deg,#fff7d6 0%,#ffd75e 45%,#e59a14 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent!important;filter:drop-shadow(0 3px 0 rgba(90,40,0,.55)) drop-shadow(0 0 18px rgba(245,197,66,.35))}
html body .fa-screen .fa-hero p{margin:6px 0 0;font-size:.9rem;font-weight:600;color:#cfc8ff!important;-webkit-text-fill-color:#cfc8ff!important}
.fa-howto{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.fa-howto>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1px;padding:10px 6px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.12)}
.fa-howto span{font-size:1.35rem;line-height:1.2}
html body .fa-screen .fa-howto b{font-size:.82rem;font-weight:800}
html body .fa-screen .fa-howto small{font-size:.68rem;line-height:1.25;color:#bdb6ec!important;-webkit-text-fill-color:#bdb6ec!important}
.fa-seg-mode{max-width:none}
.fa-lastbox,.fa-pick,.fa-hist{border-radius:22px;padding:14px;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.13);box-shadow:0 10px 30px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.08)}
html body .fa-screen .fa-kick{margin:0 0 2px;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:#a49ce0!important;-webkit-text-fill-color:#a49ce0!important}
html body .fa-screen .fa-pick h3,html body .fa-screen .fa-hist h3{margin:2px 2px 8px;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:#a49ce0!important;-webkit-text-fill-color:#a49ce0!important}
html body .fa-screen .fa-pick h3:not(:first-child){margin-top:14px}
.fa-eds{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0;background:none}
html body .fa-screen .fa-eds .fa-ed{height:auto;display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 6px 10px;border-radius:18px;border:2px solid rgba(255,255,255,.12);background:rgba(0,0,0,.22);transition:transform .15s,border-color .2s,background .2s}
html body .fa-screen .fa-eds .fa-ed .fa-ed-ico{font-size:1.7rem;line-height:1.2}
html body .fa-screen .fa-eds .fa-ed b{font-size:.98rem;font-weight:900;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .fa-screen .fa-eds .fa-ed small{font-size:.7rem;font-weight:600;color:#a49ce0!important;-webkit-text-fill-color:#a49ce0!important}
html body .fa-screen .fa-eds .fa-ed.on{border-color:#f5c542;background:linear-gradient(180deg,rgba(245,197,66,.28),rgba(245,197,66,.08));box-shadow:0 0 0 1px #f5c542,0 8px 22px rgba(245,197,66,.22);transform:translateY(-1px)}
html body .fa-screen .fa-eds .fa-ed.on b{color:#ffe08a!important;-webkit-text-fill-color:#ffe08a!important}
html body .fa-screen .fa-eds .fa-ed:active{transform:scale(.97)}
.fa-themes{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}
html body .fa-screen .fa-chip{height:auto;min-height:46px;padding:7px 10px;border-radius:14px;justify-content:flex-start;text-align:left;gap:8px;background:rgba(0,0,0,.2);border:1.5px solid rgba(255,255,255,.12);transition:transform .12s,border-color .2s,background .2s}
html body .fa-screen .fa-chip:first-child{grid-column:1/-1;justify-content:center}
html body .fa-screen .fa-chip-e{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.1);font-size:1.05rem}
html body .fa-screen .fa-chip-t{font-size:.84rem;font-weight:700;line-height:1.15}
html body .fa-screen .fa-chip.on{border-color:#f5c542;background:rgba(245,197,66,.18);box-shadow:0 0 0 1px #f5c542}
html body .fa-screen .fa-chip.on .fa-chip-e{background:#f5c542}
html body .fa-screen .fa-chip:active{transform:scale(.97)}
.fa-players{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.fa-player{position:relative;display:flex;align-items:center;gap:8px;padding:8px;border-radius:16px;background:rgba(0,0,0,.25);border:1.5px solid rgba(255,255,255,.1);min-width:0}
.fa-player-k{--c:#4f9dff}.fa-player-n{--c:#ff5fa8}
.fa-player img{flex:none;width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid var(--c);background:#2a2266}
.fa-player>div{min-width:0;display:flex;flex-direction:column}
html body .fa-screen .fa-player b{font-size:.8rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fa-screen .fa-player small{font-size:.66rem;line-height:1.2;color:#a49ce0!important;-webkit-text-fill-color:#a49ce0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .fa-screen .fa-player-st{position:absolute;top:-7px;right:-5px;min-width:22px;height:22px;padding:0 4px;border-radius:11px;display:grid;place-items:center;font-size:.72rem;font-weight:900;background:#3a3373;border:2px solid #120d38}
.fa-player.ok{border-color:#3ddc84;background:rgba(61,220,132,.12)}
html body .fa-screen .fa-player.ok .fa-player-st{background:#3ddc84}
html body .fa-screen .fa-player.ok small{color:#a6f5c8!important;-webkit-text-fill-color:#a6f5c8!important}
.fa-records{margin:10px 0 0}
/* barre d'action fixe en bas du salon */
.fa-cta{flex:none;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(9,7,34,0),rgba(9,7,34,.92) 35%);display:flex;flex-direction:column;align-items:center;max-width:560px;width:100%;margin:0 auto}
html body .fa-screen .fa-go{position:relative;overflow:hidden;margin-top:0;height:58px;border-radius:18px;font-size:1.15rem;background:linear-gradient(180deg,#ff7a8e 0%,#ff3b5c 45%,#d0153d 100%);box-shadow:0 6px 0 #7f0c25,0 14px 28px rgba(255,59,92,.35),inset 0 2px 0 rgba(255,255,255,.35)}
html body .fa-screen .fa-go::after{content:"";position:absolute;top:0;bottom:0;left:-40%;width:30%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);animation:faShine 3.2s ease-in-out infinite}
@keyframes faShine{0%,60%{left:-40%}100%{left:130%}}
html body .fa-screen .fa-go:disabled::after,html body .fa-screen .fa-go.wait::after{display:none}
html body .fa-screen .fa-go.wait{background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.18);animation:faWaitPulse 1.6s ease-in-out infinite}
@keyframes faWaitPulse{50%{background:rgba(255,255,255,.16)}}
html body .fa-screen .fa-alone{margin:8px auto 0}
/* --- plateau --- */
.fa-pod{border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.03));backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.fa-pod-av{box-shadow:0 0 0 3px rgba(0,0,0,.35),0 0 18px color-mix(in srgb,var(--c) 55%,transparent)}
.fa-pod-score.pop{animation:faScorePop .6s cubic-bezier(.2,1.6,.4,1)}
@keyframes faScorePop{0%{transform:scale(1)}35%{transform:scale(1.35)}100%{transform:scale(1)}}
html body .fa-screen .fa-gain{position:absolute;top:30%;left:50%;z-index:5;font-weight:900;font-size:1.6rem;color:#3ddc84!important;-webkit-text-fill-color:#3ddc84!important;filter:drop-shadow(0 2px 0 #0c6b3a) drop-shadow(0 0 10px rgba(61,220,132,.7));animation:faGain 1.5s ease-out forwards;pointer-events:none}
@keyframes faGain{0%{opacity:0;transform:translate(-50%,10px) scale(.6)}15%{opacity:1;transform:translate(-50%,0) scale(1.15)}100%{opacity:0;transform:translate(-50%,-46px) scale(1)}}
.fa-qcard{border-radius:22px;box-shadow:0 14px 36px rgba(0,0,0,.5),inset 0 0 0 2px #fff,0 0 0 1px rgba(255,255,255,.2)}
/* anneau de temps autour du buzzer */
.fa-bzring{--p:0;position:relative;display:grid;place-items:center;width:146px;height:146px;border-radius:50%;background:conic-gradient(#f5c542 calc(var(--p)*360deg),rgba(255,255,255,.08) 0)}
.fa-bzring::before{content:"";position:absolute;inset:6px;border-radius:50%;background:#0f0b31}
.fa-bzring.live{box-shadow:0 0 30px rgba(245,197,66,.25)}
.fa-bzring>.fa-buzzer{position:relative;z-index:1}
html body .fa-screen .fa-buzzer::after{content:"";position:absolute;left:24%;top:13%;width:38%;height:20%;border-radius:50%;background:rgba(255,255,255,.45);filter:blur(1px);transform:rotate(-18deg);pointer-events:none}
@media (min-height:760px){.fa-bzring{width:160px;height:160px}}
/* annonce de question */
.fa-intro{position:absolute;inset:0;z-index:35;display:grid;place-items:center;pointer-events:none;background:radial-gradient(60% 40% at 50% 45%,rgba(9,7,34,.75),transparent);animation:faFadeOut 1.5s ease forwards}
.fa-intro>div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 30px;border-radius:22px;background:linear-gradient(180deg,#4a36b8,#241a78);border:3px solid #f5c542;box-shadow:0 18px 50px rgba(0,0,0,.6),0 0 40px rgba(245,197,66,.3);animation:faIntroIn .5s cubic-bezier(.2,1.4,.4,1)}
html body .fa-screen .fa-intro small{font-size:.8rem;font-weight:700;color:#cfc8ff!important;-webkit-text-fill-color:#cfc8ff!important}
html body .fa-screen .fa-intro b{font-size:1.7rem;font-weight:900;letter-spacing:.02em;color:#ffe08a!important;-webkit-text-fill-color:#ffe08a!important}
@keyframes faIntroIn{from{transform:scale(.4) rotate(-6deg);opacity:0}}
@keyframes faFadeOut{0%,75%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.fa-screen *,.fa-screen *::before,.fa-screen *::after{animation:none!important;transition:none!important}}
html body .fa-screen .fa-go{text-align:center;display:flex;align-items:center;justify-content:center}
html body .fa-screen .fa-seg button{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center}
html body .fa-screen .fa-eds .fa-ed{flex-direction:column}
/* v5 : lecture progressive des indices, thème caché, pas de pop-up au début */
.fa-clues li.reading{border-color:#e6b33a;background:#fbf0d2}
html body .fa-screen .fa-rest{letter-spacing:.06em;color:#cdbb8f!important;-webkit-text-fill-color:#cdbb8f!important;filter:blur(1.2px);user-select:none}
html body .fa-screen .fa-caret{display:inline-block;width:3px;height:1em;margin:0 1px -2px 2px;border-radius:2px;background:#e59a14;animation:faCaret .7s steps(2) infinite}
@keyframes faCaret{50%{opacity:0}}
html body .fa-screen .fa-qtheme-hid{font-style:italic;opacity:.75}
.fa-qhead-in{animation:faQhead .6s cubic-bezier(.2,1.4,.4,1)}
@keyframes faQhead{from{opacity:0;transform:translateY(-8px) scale(.96)}}
.fa-intro{display:none!important}
/* ===== DR — Liquid Glass : photos en bulles, bouton central sphérique, formes et palettes de boutons =====
   Ajouté en dernier : remplace les réglages précédents à égalité de spécificité. Aucune donnée touchée. */

/* --- Photos de profil : bulles de verre avec reflet et liseré irisé --- */
.avatar{box-shadow:0 0 0 1.5px rgba(255,255,255,.55),0 0 0 3px rgba(120,200,255,.22),inset 0 0 14px rgba(255,255,255,.22),0 10px 24px rgba(0,25,70,.38)}
.avatar::after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;z-index:2;
 background:radial-gradient(120% 75% at 30% 10%,rgba(255,255,255,.5),rgba(255,255,255,0) 42%),radial-gradient(circle at 50% 115%,rgba(130,205,255,.42),rgba(130,205,255,0) 52%);
 box-shadow:inset 0 1.5px 0 rgba(255,255,255,.75),inset 0 -6px 12px rgba(120,200,255,.28)}

/* --- Bouton central « Choisir un état » : sphère de verre --- */
.state-fab-circle{width:64px;height:64px;border-radius:50%;position:relative;overflow:hidden;
 background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.92) 0 5%,rgba(255,255,255,.34) 16%,rgba(190,230,255,.20) 46%,rgba(60,140,230,.24) 82%,rgba(255,255,255,.38) 100%);
 border:1px solid rgba(235,248,255,.7);
 box-shadow:inset 0 2px 6px rgba(255,255,255,.75),inset 0 -12px 20px rgba(40,120,220,.38),inset 0 0 0 1px rgba(255,255,255,.3),0 12px 30px rgba(20,90,200,.42)}
.state-fab-circle::after{content:"";position:absolute;left:12%;right:12%;top:6%;height:44%;border-radius:50%;pointer-events:none;
 background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0))}
.state-fab-circle svg{position:relative;z-index:1;filter:drop-shadow(0 1px 2px rgba(10,60,140,.45))}
.state-fab-label{font-weight:600;letter-spacing:.01em}

/* --- Barre de navigation : capsule de verre, entrées en cercles --- */
.fv-menu.fv-dock{border-radius:999px!important;padding:6px 8px!important;
 background:linear-gradient(180deg,rgba(255,255,255,.26),rgba(150,200,255,.10))!important;
 border:1px solid rgba(255,255,255,.38);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -6px 16px rgba(120,190,255,.12),0 10px 28px rgba(0,25,70,.30)!important}
.fv-dock .fv-item{border-radius:999px;padding:4px 6px 2px}
.fv-dock .fv-ico{width:46px;height:46px;border-radius:50%;
 background:radial-gradient(circle at 32% 24%,rgba(255,255,255,.7),rgba(255,255,255,.12) 45%,rgba(160,215,255,.18));
 border:1px solid rgba(255,255,255,.42);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -5px 10px rgba(60,140,230,.22)}
.fv-dock .fv-ico svg{width:24px;height:24px}

/* --- Boutons en pilule de verre (palette : verre translucide ; actif = blanc plein) --- */
.chip{border-radius:999px;min-height:40px;padding:0 16px;
 background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.07));
 border:1px solid rgba(255,255,255,.36);color:#fff;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 6px 16px rgba(0,25,70,.22);
 -webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%)}
.chip.active,.chip[aria-pressed="true"]{background:linear-gradient(180deg,#ffffff,#eaf3fb);color:#0a64bd;border-color:#fff;
 box-shadow:inset 0 -2px 0 rgba(10,100,190,.12),0 8px 20px rgba(0,25,70,.28)}
.db-btn{border-radius:999px!important;min-height:30px;padding:0 12px;
 background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.07))!important;
 border:1px solid rgba(255,255,255,.36)!important;color:#fff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 5px 14px rgba(0,25,70,.22)!important;
 -webkit-backdrop-filter:blur(12px) saturate(160%);backdrop-filter:blur(12px) saturate(160%)}
.db-btn:disabled{opacity:.55}
.db-btn-ok{background:linear-gradient(180deg,rgba(200,255,225,.42),rgba(120,220,170,.14))!important}
.btn.primary{border-radius:16px;background:linear-gradient(180deg,rgba(120,195,255,.95),rgba(30,110,220,.95));
 border:1px solid rgba(255,255,255,.55);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.8),inset 0 -8px 14px rgba(255,255,255,.12),0 10px 24px rgba(20,90,200,.38)}
.db-fix{border-radius:999px}
.db-in{border-radius:999px!important;padding:0 14px!important}
/* ---- avatars pixel-art (sprites détourés) ---- */
html body .avatar.drs{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;padding:0!important;outline:0!important;width:calc(var(--size) * .95)!important;height:var(--size)!important;display:block!important}
html body .avatar.drs img{width:100%!important;height:100%!important;object-fit:contain!important;image-rendering:pixelated!important;border-radius:0!important;filter:drop-shadow(0 6px 6px rgba(0,0,0,.35))}
html[data-dr-sky][data-dr-sky] body .first-view .person-photo,html[data-dr-sky][data-dr-sky] .first-view .person-photo.mo-new,html body .first-view .person-photo{background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;outline:0!important}
html[data-dr-sky][data-dr-sky] .first-view .person-photo::before,html[data-dr-sky][data-dr-sky] .first-view .person-photo::after{display:none!important}
html body .first-view .person-photo .avatar.drs{height:calc(var(--size) * 1.32)!important;width:calc(var(--size) * 1.25)!important;margin:0 auto}
.dr-look{padding:12px 14px}
.dr-look-title{font-weight:600;margin-bottom:10px}
.dr-look-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.dr-look-opt{display:grid;justify-items:center;gap:6px;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:inherit;cursor:pointer}
.dr-look-opt img{width:76px;height:auto;image-rendering:pixelated}
.dr-look-opt.on{border-color:#7fb8ff;background:rgba(127,184,255,.18)}
.dr-look-opt span{font-size:.8rem;opacity:.85}
html body .avatar.drs::before,html body .avatar.drs::after,html[data-dr-sky] body .avatar.drs::before,html[data-dr-sky] body .avatar.drs::after{display:none!important;content:none!important}
/* l'initiale de secours ne doit pas se voir derrière un sprite */
html body .avatar.drs{color:transparent!important;font-size:0!important;text-indent:-9999px!important;overflow:visible!important}
html body .avatar.drs img{text-indent:0!important}

/* orientation : les sprites Habbo sont en 3/4 ; Nusayba regarde déjà vers la droite et Kadiali vers la gauche, donc les deux se font face au centre sans miroir */
html body .first-view .duo > .person:nth-child(1) .avatar.drs img{transform:none!important}
html body .first-view .duo > .person:nth-child(2) .avatar.drs img{transform:none!important}

/* effets d'état : zzz (sommeil) et fumée (boisson chaude) */
html body .avatar.drs{position:relative!important}
html body .dr-fx{position:absolute;inset:0;pointer-events:none;text-indent:0;font-size:inherit}
html body .dr-zz i{text-indent:0;position:absolute;left:68%;top:2%;font:700 calc(var(--size) * .2)/1 system-ui,sans-serif;color:#cfe0ff;opacity:0;animation:drZ 3.2s ease-in infinite}
html body .dr-zz i:nth-child(2){animation-delay:1.05s}
html body .dr-zz i:nth-child(3){animation-delay:2.1s;font-size:calc(var(--size) * .28)}
@keyframes drZ{0%{transform:translate(0,6px) scale(.6);opacity:0}25%{opacity:.95}100%{transform:translate(14px,-22px) scale(1.1);opacity:0}}
html body .dr-steam i{position:absolute;top:40%;width:calc(var(--size) * .07);height:calc(var(--size) * .2);border-radius:50%;background:rgba(235,242,255,.75);filter:blur(1.5px);opacity:0;animation:drSteam 2.6s ease-out infinite}
html body .dr-steam.k{--sx:38%}
html body .dr-steam.n{--sx:56%}
/* sprite de droite (en miroir) : la tasse est de l’autre côté */
html body .first-view .duo > .person:nth-child(2) .dr-steam.k{--sx:54%}
html body .first-view .duo > .person:nth-child(2) .dr-zz i{left:20%}
html body .dr-steam i{left:var(--sx)}
html body .dr-steam i:nth-child(2){animation-delay:.85s;left:calc(var(--sx) + 4%)}
html body .dr-steam i:nth-child(3){animation-delay:1.7s;left:calc(var(--sx) - 3%)}
@keyframes drSteam{0%{transform:translateY(0) scaleX(1);opacity:0}20%{opacity:.85}100%{transform:translateY(-28px) scaleX(1.8);opacity:0}}
@media (prefers-reduced-motion:reduce){html body .dr-zz i,html body .dr-steam i{animation:none;opacity:.6}}

/* Scène commune : remplace visuellement les deux avatars du duo, sans changer la mise en page ni les textes */
.first-view .duo.dr-combo{position:relative}
.first-view .duo.dr-combo .person-photo .avatar.drs{visibility:hidden}
.first-view .duo.dr-combo::before{content:"";position:absolute;left:27px;right:27px;top:56px;height:114px;background:var(--dr-scene) center/contain no-repeat;pointer-events:none;z-index:2}
/* ===== DROBO — « Notre espace » V2 (maquette fournie). Scopé sous .esp-v2 : ne touche ni aux autres pages ni au tableau de bord. ===== */
.esp-screen{position:relative;isolation:isolate}
.esp-screen::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(90% 30% at 80% -7%,rgba(82,131,202,.20),rgba(82,131,202,0) 75%)}

.esp-v2{--db-line:rgba(196,218,248,.14);--db-text:#f5f7ff;--db-muted:#aabedc;padding:0 0 calc(var(--sab,0px) + 100px);color:var(--db-text)}
.esp-v2 *{box-sizing:border-box}
.esp-v2 a{color:inherit;text-decoration:none}
.esp-v2 button{font:inherit;color:inherit;margin:0;-webkit-tap-highlight-color:transparent}

/* en-tête d'accueil */
.esp-v2 .db-welcome{padding:14px 22px 20px}
.esp-v2 .db-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.18em;color:#93aee0}
.esp-v2 .db-welcome h1{font-size:clamp(28px,7vw,35px);line-height:1.1;font-weight:680;letter-spacing:-.055em;margin:10px 0 8px}
.esp-v2 .db-dot{color:#b7c8fb}
.esp-v2 .db-welcome p{font-size:14px;color:var(--db-muted);margin:0;line-height:1.5}

/* carte principale : tableau de bord */
.esp-v2 .db-card{display:block;width:100%;text-align:left;transition:transform .18s ease,background .18s ease,border-color .18s ease;cursor:pointer;border:0;background:none;padding:0}
.esp-v2 .db-card:active{transform:scale(.989)}
.esp-v2 .db-card:focus-visible{outline:2px solid #c6d8ff;outline-offset:3px}
.esp-v2 .db-card-featured{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:164px;margin:0 16px;padding:19px 20px 20px;border:1px solid rgba(189,210,255,.29);border-radius:22px;overflow:hidden;background:radial-gradient(circle at 85% 90%,rgba(156,156,255,.19),transparent 40%),linear-gradient(125deg,#31598f 0%,#244674 51%,#1a3560 100%);box-shadow:0 13px 32px rgba(2,11,28,.16),inset 0 1px 0 rgba(255,255,255,.15)}
.esp-v2 .db-card-featured:after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-57px;top:-88px;pointer-events:none}
.esp-v2 .db-featured-top{display:flex;justify-content:space-between;align-items:center}
.esp-v2 .db-featured-kicker{font-size:10px;letter-spacing:.14em;font-weight:750;color:#d1dff7;display:flex;align-items:center}
.esp-v2 .db-live-dot{display:inline-block;width:6px;height:6px;background:#aac6ff;border-radius:50%;margin-right:7px;box-shadow:0 0 12px #8fb4ff}
.esp-v2 .db-arrow-circle{display:grid;place-items:center;width:35px;height:35px;border:1px solid rgba(240,247,255,.3);border-radius:50%;font-size:19px}
.esp-v2 .db-featured-bottom{display:flex;align-items:flex-end;gap:13px;margin-top:14px}
.esp-v2 .db-featured-symbol{display:grid;place-items:center;width:53px;height:53px;border-radius:16px;background:rgba(255,255,255,.15);color:#eff5ff;flex-shrink:0}
.esp-v2 .db-featured-symbol svg{width:37px;height:37px;display:block}
.esp-v2 .db-featured-txt{display:block;min-width:0}
.esp-v2 .db-card-featured h2{font-size:19px;line-height:1.2;letter-spacing:-.035em;margin:0 0 6px;font-weight:650;color:#fff}
.esp-v2 .db-card-featured p{font-size:12.5px;color:#d6e4fb;margin:0}

/* sections */
.esp-v2 .db-section{margin:30px 16px 0}
.esp-v2 .db-section-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px;padding:0 1px}
.esp-v2 .db-section-head h2{font-size:18px;letter-spacing:-.035em;font-weight:650;margin:0}
.esp-v2 .db-section-head span{font-size:10px;letter-spacing:.13em;color:#849dc1;font-weight:700}

/* menu « Se découvrir » : rangées compactes dans une seule carte */
.esp-v2 .db-menu{border:1px solid var(--db-line);border-radius:20px;background:rgba(255,255,255,.032);overflow:hidden;margin:0}
.esp-v2 .db-menu-item{min-height:76px;display:flex;align-items:center;gap:13px;padding:12px 13px;width:100%;border-radius:0;background:none}
.esp-v2 .db-menu-item+.db-menu-item{border-top:1px solid rgba(208,226,251,.09)}
.esp-v2 .db-menu-item:active{background:rgba(255,255,255,.09)}
.esp-v2 .db-icon{display:grid;place-items:center;width:49px;height:49px;flex:0 0 49px;border-radius:15px}
.esp-v2 .db-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.esp-v2 .db-icon-violet{background:rgba(170,158,241,.15);color:#d4caff}
.esp-v2 .db-icon-peach{background:rgba(246,180,163,.14);color:#ffd0bf}
.esp-v2 .db-icon-blue{background:rgba(138,187,244,.15);color:#c4ddff}
.esp-v2 .db-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.esp-v2 .db-card-copy strong{font-size:14.5px;font-weight:610;letter-spacing:-.015em;line-height:1.25}
.esp-v2 .db-card-copy small{font-size:12px;color:var(--db-muted);line-height:1.3}
.esp-v2 .db-chevron{font-size:25px;font-weight:250;color:#91a8c9;padding:0 5px;flex:none}
.esp-v2 .esp-badge{position:static;flex:none;min-width:20px;height:20px;padding:0 6px;border-radius:999px;font-size:11px;font-weight:700;box-shadow:none;background:rgba(244,182,194,.92);color:#2A1222;display:grid;place-items:center}

/* « Notre univers » : deux tuiles */
.esp-v2 .db-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.esp-v2 .db-universe{position:relative;min-height:187px;border:1px solid var(--db-line);border-radius:21px;overflow:hidden;padding:14px 15px 16px;display:flex;flex-direction:column;justify-content:flex-end}
.esp-v2 .db-universe-look{background:radial-gradient(circle at 68% 27%,rgba(247,180,191,.18),transparent 55%),linear-gradient(140deg,#3b355f,#272f57)}
.esp-v2 .db-universe-birds{background:radial-gradient(circle at 60% 24%,rgba(173,221,240,.21),transparent 52%),linear-gradient(135deg,#244f69,#1d365d)}
.esp-v2 .db-tile-arrow{position:absolute;right:13px;top:12px;width:31px;height:31px;border:1px solid rgba(255,255,255,.23);border-radius:50%;display:grid;place-items:center;color:#d9e5fc;font-size:17px}
.esp-v2 .db-tile-art{height:94px;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:7px}
.esp-v2 .db-tile-art svg{width:100%;height:100%;max-width:150px;display:block}
.esp-v2 .db-universe strong{font-size:15px;letter-spacing:-.022em;font-weight:650;line-height:1.3}
.esp-v2 .db-universe small{font-size:11.5px;color:#c4d3eb;line-height:1.35;margin-top:4px}

@media(max-width:360px){
 .esp-v2 .db-card-copy strong{font-size:13px}
 .esp-v2 .db-universe{min-height:176px;padding:12px}
 .esp-v2 .db-universe strong{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
 .esp-v2 .db-card,.esp-v2 *{transition:none!important;animation:none!important}
}

/* ajustements V2 : carte principale pleine largeur, icônes plus lisibles, illustrations entières */
.esp-v2 .db-card-featured{width:calc(100% - 32px);align-items:stretch;text-align:left}
.esp-v2 .db-featured-top{width:100%}
.esp-v2 .db-icon svg{width:24px;height:24px;stroke-width:2}
.esp-v2 .db-icon{width:52px;height:52px;flex-basis:52px;border-radius:16px}
.esp-v2 .db-tile-art{height:112px}
.esp-v2 .db-tile-art svg{width:auto;height:100%;max-width:100%;margin:0 auto}
.esp-v2 .db-universe{min-height:200px}
/* ===== « Un geste pour… » v2 — bleu Drobo, cibles ≥ 44 px, animations discrètes ===== */
.gx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 12px}
.gx-tile{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:92px;padding:10px 6px;border-radius:16px;border:1px solid rgba(163,202,255,.2);background:linear-gradient(165deg,rgba(255,255,255,.09),rgba(255,255,255,.02)),rgba(20,51,103,.6);color:#f4f8ff;font:inherit;cursor:pointer;text-align:center;transition:transform .14s ease,border-color .14s ease;-webkit-tap-highlight-color:transparent;animation:gxIn .32s ease both}
.gx-tile:nth-child(2){animation-delay:.04s}.gx-tile:nth-child(3){animation-delay:.08s}.gx-tile:nth-child(4){animation-delay:.12s}.gx-tile:nth-child(5){animation-delay:.16s}.gx-tile:nth-child(6){animation-delay:.2s}
.gx-tile:active{transform:scale(.96)}
.gx-tile:focus-visible,.gx-row-main:focus-visible,.gx-act:focus-visible,.gx-chip:focus-visible,.gx-star:focus-visible,.gx-back:focus-visible{outline:2px solid #6cc6ff;outline-offset:2px}
.gx-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(108,198,255,.14);border:1px solid rgba(163,202,255,.22);font-size:20px;line-height:1}
.gx-lab{font-size:12px;font-weight:650;line-height:1.25}
.gx-sub{font-size:10.5px;color:#9cb3d2;line-height:1.2}
.gx-ctx{font-size:12px;color:#c9d8ef;margin:2px 2px 8px}
.gx-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.gx-chip{min-height:44px;padding:0 13px;border-radius:999px;border:1px solid rgba(77,225,193,.45);background:rgba(77,225,193,.12);color:#f4f8ff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.gx-chip:active{transform:scale(.97)}
.gx-actions{display:flex;flex-wrap:wrap;gap:6px}
.gx-act{min-height:44px;padding:0 12px;border-radius:999px;border:1px solid rgba(163,202,255,.22);background:rgba(255,255,255,.07);color:#f4f8ff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.gx-act.on{background:rgba(108,198,255,.25);border-color:rgba(108,198,255,.6)}
.gx-surp{margin-top:10px;padding:12px;border-radius:14px;border:1px dashed rgba(255,211,107,.5);background:rgba(255,211,107,.07);display:grid;gap:8px;font-size:13px;animation:gxIn .25s ease both}
.gx-surp-btns{display:flex;flex-wrap:wrap;gap:6px}
.gx-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.gx-back{min-height:44px;padding:0 6px;background:none;border:0;color:#cfe0fa;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.gx-count{font-size:12px;color:#9cb3d2}
.gx-note{font-size:12.5px;color:#ffd36b;margin:4px 0}
.gx-list{display:grid;gap:6px;max-height:60vh;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:8px}
.gx-row{display:flex;align-items:center;gap:6px;border-radius:14px;border:1px solid rgba(163,202,255,.14);background:rgba(255,255,255,.05)}
.gx-row-main{flex:1;min-width:0;min-height:52px;display:flex;align-items:center;gap:10px;padding:6px 10px;background:none;border:0;color:#f4f8ff;font:inherit;text-align:left;cursor:pointer}
.gx-row-main .gx-ico{width:34px;height:34px;font-size:17px;flex:none}
.gx-row-txt{display:grid;gap:2px;min-width:0}
.gx-star{min-width:44px;min-height:44px;background:none;border:0;color:#9cb3d2;font-size:20px;cursor:pointer}
.gx-star.on{color:#ffd36b}
@keyframes gxIn{from{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:none}}
@media (max-width:390px){.gx-grid{gap:6px}.gx-lab{font-size:11.5px}}
@media (prefers-reduced-motion:reduce){.gx-tile,.gx-surp{animation:none!important;transition:none!important}}

/* Drobo : bulles de gestes (accueil). Ancrées au-dessus de l’avatar, même emplacement que l’ancienne bulle d’humeur ; hauteur de la zone inchangée. */
.first-view .person .gb-wrap{position:relative;width:136px;height:30px;margin:0 auto 14px;overflow:visible}
.gb-stack{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:184px;display:flex;flex-direction:column;align-items:center;pointer-events:none}
.gb-item{position:relative;width:184px;margin-top:-20px;display:flex;align-items:center;justify-content:center;animation:gb-in .3s ease-out both}
.gb-item:first-child{margin-top:0}
.gb-item img{display:block;width:184px;height:auto;filter:drop-shadow(0 6px 14px rgba(6,20,50,.28))}
.gb-gen{min-height:52px;border-radius:18px;padding:0 14px;background:linear-gradient(135deg,#8fb8ff,#4c7fe0);color:#fff;font-weight:600;font-size:.86rem;box-shadow:0 6px 14px rgba(6,20,50,.28)}
.gb-txt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gb-more{pointer-events:auto;min-width:44px;min-height:44px;margin-top:2px;border:0;border-radius:999px;padding:0 12px;background:rgba(255,255,255,.22);color:inherit;font:600 .8rem/1 inherit;cursor:pointer}
@keyframes gb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.gb-item{animation:none}}


/* Pastille de geste : même verre que la pastille météo (tokens du fond), teinte légère, plus discrète */
.gb-dd{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:30px;max-width:184px;padding:5px 12px;border-radius:999px;border:1px solid var(--glass-line,rgba(255,255,255,.2));background:linear-gradient(90deg,color-mix(in srgb,var(--tint) 16%,transparent),color-mix(in srgb,var(--tint) 16%,transparent)),var(--glass-fill);backdrop-filter:var(--glass-blur,blur(14px));-webkit-backdrop-filter:var(--glass-blur,blur(14px));box-shadow:var(--glass-hi,inset 0 1px 0 rgba(255,255,255,.3));color:#fff;font-size:12px;font-weight:700;white-space:nowrap;text-shadow:0 1px 1px rgba(10,30,60,.25);animation:gb-in .3s ease-out both}
/* ===== DR — Fond selon le moment de la journée (jour, crépuscule, nuit) =====
   Transitions fluides (variables enregistrées avec @property). Dégradés et points étoilés uniquement : pas de flou sur le fond. */
@property --sk-a{syntax:'<color>';inherits:true;initial-value:#0F3163}
@property --sk-b{syntax:'<color>';inherits:true;initial-value:#0D3A74}
@property --sk-c{syntax:'<color>';inherits:true;initial-value:#0C4586}
@property --sk-halo{syntax:'<color>';inherits:true;initial-value:rgba(0,0,0,0)}
@property --sk-halo2{syntax:'<color>';inherits:true;initial-value:rgba(0,0,0,0)}
@property --sk-stars{syntax:'<number>';inherits:true;initial-value:1}
@property --sk-band{syntax:'<color>';inherits:true;initial-value:rgba(0,0,0,0)}
html{--sk-a:#0F3163;--sk-b:#0D3A74;--sk-c:#0C4586;--sk-halo:rgba(0,0,0,0);--sk-halo2:rgba(0,0,0,0);--sk-stars:1;--sk-band:rgba(0,0,0,0);
 transition:--sk-a 1.6s ease,--sk-b 1.6s ease,--sk-c 1.6s ease,--sk-halo 1.6s ease,--sk-halo2 1.6s ease,--sk-stars 1.6s ease,--sk-band 1.6s ease}
/* jour : bleu plus lumineux, indigo éclairci, léger halo diffus */
html[data-dr-sky=day]{--sk-a:#3A84C6;--sk-b:#2C68B0;--sk-c:#225496;--sk-halo:rgba(170,222,255,.16);--sk-halo2:rgba(0,0,0,0);--sk-stars:0;--sk-band:rgba(205,232,255,.16)}
/* aube : proche du jour, avec une pointe de pêche */
html[data-dr-sky=dawn]{--sk-a:#4A8DC9;--sk-b:#3B70B3;--sk-c:#2D5B9C;--sk-halo:rgba(255,205,180,.16);--sk-halo2:rgba(0,0,0,0);--sk-stars:0;--sk-band:rgba(255,220,200,.16)}
/* crépuscule : bleu violacé, cuivre et pêche très doux */
html[data-dr-sky=sunset]{--sk-a:#2D3A74;--sk-b:#45407F;--sk-c:#5A4577;--sk-halo:rgba(0,0,0,0);--sk-halo2:rgba(226,140,100,.34);--sk-stars:0;--sk-band:rgba(240,165,125,.20)}
/* nuit : bleu nuit et indigo profond, quelques points étoilés très fins */
html[data-dr-sky=night]{--sk-a:#0F3163;--sk-b:#0D3A74;--sk-c:#0C4586;--sk-halo:rgba(0,0,0,0);--sk-halo2:rgba(0,0,0,0);--sk-stars:1;--sk-band:rgba(80,130,240,.16)}
/* pluie et orage : tons gris-bleu, sans étoiles */
html[data-dr-sky]:has(.hero-w-rain){--sk-a:#34485F;--sk-b:#2C3E55;--sk-c:#25354A;--sk-halo:rgba(0,0,0,0);--sk-halo2:rgba(0,0,0,0);--sk-stars:0}
html[data-dr-sky]:has(.hero-w-storm){--sk-a:#2A3848;--sk-b:#222F40;--sk-c:#1C2735;--sk-halo:rgba(0,0,0,0);--sk-halo2:rgba(0,0,0,0);--sk-stars:0}

body{background:
 radial-gradient(140% 20% at 55% 60%,var(--sk-band),rgba(0,0,0,0) 72%),
 radial-gradient(120% 55% at 50% 0%,var(--sk-halo),rgba(0,0,0,0) 70%),
 radial-gradient(110% 42% at 50% 100%,var(--sk-halo2),rgba(0,0,0,0) 72%),
 linear-gradient(180deg,var(--sk-a) 0%,var(--sk-b) 55%,var(--sk-c) 100%) fixed!important}

/* étoiles : points très fins, peu nombreux, diffus (fond uniquement, derrière le contenu) */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--sk-stars);
 background-image:
  radial-gradient(1px 1px at 22px 38px,rgba(255,255,255,.72),rgba(255,255,255,0) 70%),
  radial-gradient(1px 1px at 96px 14px,rgba(255,255,255,.45),rgba(255,255,255,0) 70%),
  radial-gradient(1.2px 1.2px at 150px 88px,rgba(255,255,255,.55),rgba(255,255,255,0) 70%),
  radial-gradient(1px 1px at 58px 120px,rgba(255,255,255,.4),rgba(255,255,255,0) 70%),
  radial-gradient(1px 1px at 190px 150px,rgba(255,255,255,.5),rgba(255,255,255,0) 70%),
  radial-gradient(1px 1px at 240px 52px,rgba(255,255,255,.35),rgba(255,255,255,0) 70%),
  radial-gradient(1.2px 1.2px at 280px 190px,rgba(255,255,255,.45),rgba(255,255,255,0) 70%),
  radial-gradient(1px 1px at 124px 250px,rgba(255,255,255,.4),rgba(255,255,255,0) 70%);
 background-size:300px 300px}
/* ===== Drobo : correctifs du diagnostic (accueil, barre, Fil, Notre espace, lisibilité) ===== */
/* Notre espace : « Nous » en bandeau, « Jouer » en grille */
.esp-nous{display:block}
.esp-nous .db-universe-look{width:100%;min-height:0;display:grid;grid-template-columns:72px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:14px;text-align:left;padding:14px 16px}
.esp-nous .db-universe-look .db-tile-art{grid-row:1/3;width:72px;height:72px;margin:0}
.esp-nous .db-universe-look strong{align-self:end}
.esp-nous .db-universe-look small{align-self:start}
.esp-jeux{margin-top:2px}
/* Fil : consigne discrète */
.subtitle.dr-hint{font-size:13px!important;opacity:.75;margin-top:2px}
/* barre du bas : libellés lisibles sous les icônes */
html .fv-menu.fv-dock .fv-item{min-width:64px}
/* champs de recherche : texte indicatif plus contrasté */
html .screen input.input::placeholder{color:rgba(255,255,255,.78)!important;-webkit-text-fill-color:rgba(255,255,255,.78)!important;opacity:1}
/* Duel des Mots : définitions des cases un peu plus grandes */
html body .mf-screen .mf-def-t{font-size:max(7.5px,calc(var(--mf-cell,46px)*.19))!important}
/* barre du bas : place pour les libellés */
html .fv-menu.fv-dock{height:calc(76px + var(--sab,0px))!important;align-items:flex-start!important;padding-top:6px!important}
html .first-view{padding-bottom:calc(var(--sab,0px) + 80px)!important}
/* accueil : titre moins dominant, les avatars et leurs états passent devant */
html body .hero-hello{font-size:clamp(26px,7.4vw,32px)!important;line-height:1.08!important}
html .fv-menu.fv-dock{background:none!important;background-image:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;border:0!important;border-top:0!important}
html .fv-menu.fv-dock::before,html .fv-menu.fv-dock::after{display:none!important;content:none!important}
html .fv-menu.fv-dock .fv-item{flex-direction:column;gap:3px}
html .fv-menu.fv-dock .fv-lab{display:block!important;font-size:11px;font-weight:600;line-height:1.1;letter-spacing:.01em}
html .fv-menu.fv-dock .fv-item{justify-content:center}.fv-dock .fv-lab{text-shadow:0 1px 2px rgba(6,31,74,.35)}/* ===== DROBO : la maison isométrique (accueil) ===== */
.dh-house{position:relative;width:min(calc(100% + 36px),480px);margin:6px -18px 0;left:50%;transform:translateX(-50%);margin-left:0;margin-right:0;user-select:none;-webkit-user-select:none;isolation:isolate;container-type:inline-size}
.dh-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-drag:none}
.dh-lit{animation:dh-on .9s ease-out both}
@keyframes dh-on{from{opacity:0}to{opacity:1}}
.dh-fog{position:absolute;pointer-events:none;opacity:.92;animation:dh-fog 5s ease-in-out infinite alternate}
@keyframes dh-fog{from{opacity:.75;transform:translateY(2px)}to{opacity:.95;transform:translateY(-3px)}}
.dh-prop{position:absolute;pointer-events:none;object-fit:contain}
.dh-prop.a-float{animation:dh-float 3.2s ease-in-out infinite}
.dh-prop.a-rise{animation:dh-rise 2.6s ease-in-out infinite}
.dh-prop.a-pulse{animation:dh-pulse 1.8s ease-in-out infinite}
@keyframes dh-float{0%,100%{transform:translateY(0);opacity:.95}50%{transform:translateY(-6%);opacity:.7}}
@keyframes dh-rise{0%{transform:translateY(8%);opacity:0}30%{opacity:.9}100%{transform:translateY(-14%);opacity:0}}
@keyframes dh-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
.dh-sprite{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;pointer-events:none;-webkit-user-drag:none;transition:filter .6s}
.dh-duo{pointer-events:none}
.dh-sprite.dim{filter:brightness(.52) saturate(.75) hue-rotate(-8deg)}
/* la fiche (Id) de chaque personne est posée sur son sprite : appui long = geste, toucher = Moments */
.dh-person{position:absolute;z-index:1}
.dh-person .person{position:absolute;inset:0;display:block;margin:0;padding:0;width:auto;min-width:0}
.dh-person .person-photo{position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;border:0!important;overflow:visible!important;transform:none}
.dh-person .person-photo::before,.dh-person .person-photo::after{display:none!important}
.dh-person .person-photo:active .dh-sprite{transform:scale(.97);transform-origin:50% 100%}
.dh-person .person-name,.dh-person .person-status,.dh-person .person-since,.dh-person .status-pop,.dh-person .mood-bubble{display:none!important}
.dh-person .mo-plus{position:absolute!important;right:-6px!important;top:2%!important;bottom:auto!important;left:auto!important;width:18px!important;height:18px!important;min-width:0!important;font-size:13px!important;line-height:16px!important;padding:0!important;z-index:3}
.dh-person.mo-new .dh-sprite,.dh-person .person-photo.mo-new .dh-sprite{filter:drop-shadow(0 0 5px rgba(255,140,200,.95))}
.dh-person.hidden-body .person-photo{opacity:1}
.dh-ghost{display:block;width:100%;height:100%}
.dh-person.in-duo .dh-ghost{display:block}
/* bulles de gestes reçues : au-dessus de la tête */
.dh-person .dr-gb,.dh-person [class*="gest-bub"]{z-index:6}

/* ---- bulles Liquid Glass : une par personne, sans trait ni flèche ---- */
.dh-bubble{position:absolute;z-index:8;display:flex;align-items:center;gap:7px;max-width:min(52%,190px);padding:6px 11px 6px 6px;border-radius:18px;border:0;cursor:pointer;text-align:left;font:inherit;color:#1d2433;opacity:0;transform:translateY(4px) scale(.96);transition:opacity .35s,transform .35s cubic-bezier(.2,.9,.3,1.2),left .45s cubic-bezier(.3,.8,.3,1),top .45s cubic-bezier(.3,.8,.3,1);
  background:linear-gradient(160deg,rgba(255,255,255,.78),rgba(255,255,255,.42));-webkit-backdrop-filter:blur(14px) saturate(1.6);backdrop-filter:blur(14px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 1px rgba(255,255,255,.35),inset 0 0 0 .5px rgba(255,255,255,.7),0 6px 18px rgba(20,30,60,.16),0 1px 3px rgba(20,30,60,.12)}
.dh-bubble.on{opacity:1;transform:none}
.dh-bubble:active{transform:scale(.96)}
.dh-bubble::before{content:"";position:absolute;inset:1px 1px 50% 1px;border-radius:17px 17px 10px 10px;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0));pointer-events:none}
.dh-b-ico{position:relative;flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:17px;line-height:1;background:rgba(255,255,255,.65);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.9),0 1px 2px rgba(20,30,60,.12)}
.dh-b-ico img{width:24px;height:24px;object-fit:contain}
.dh-b-dot{position:absolute;right:-1px;top:-1px;width:9px;height:9px;border-radius:50%;background:#34c46a;box-shadow:0 0 0 2px rgba(255,255,255,.9)}
.dh-b-txt{position:relative;display:flex;flex-direction:column;min-width:0}
.dh-bubble .dh-b-txt b{color:#1d2433!important;text-shadow:none!important;font-size:13px;font-weight:700;line-height:1.15;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dh-bubble .dh-b-txt small{text-shadow:none!important;font-size:11px;line-height:1.2;color:#4a5468!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}
.dh-house.night .dh-bubble{color:#f1f4ff;background:linear-gradient(160deg,rgba(60,72,120,.62),rgba(28,34,70,.42));box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 .5px rgba(255,255,255,.22),0 6px 18px rgba(0,0,10,.35)}
.dh-house.night .dh-bubble::before{background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0))}
.dh-house.night .dh-b-ico{background:rgba(255,255,255,.16)}
.dh-house.night .dh-bubble .dh-b-txt b{color:#f4f6ff!important}.dh-house.night .dh-bubble .dh-b-txt small{color:#c4cbe4!important}

/* ---- dehors : une capsule par personne absente ---- */
.dh-outside{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:8px auto 2px;width:min(100%,460px)}
.dh-out{position:relative;display:flex;align-items:center;gap:8px;flex:1 1 200px;max-width:260px;padding:5px 12px 5px 5px;border-radius:999px;
  background:linear-gradient(160deg,rgba(255,255,255,.72),rgba(255,255,255,.38));-webkit-backdrop-filter:blur(14px) saturate(1.6);backdrop-filter:blur(14px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 .5px rgba(255,255,255,.7),0 6px 18px rgba(20,30,60,.14);color:#1d2433}
.dh-out-av{position:relative;flex:none;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.7);overflow:visible}
.dh-out-av .person{position:absolute;inset:0;margin:0;padding:0;width:auto;min-width:0}
.dh-out-av .person-photo{position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;border-radius:50%!important;display:grid;place-items:center;overflow:hidden}
.dh-out-av .person-name,.dh-out-av .person-status,.dh-out-av .person-since,.dh-out-av .status-pop,.dh-out-av .mood-bubble,.dh-out-av .mo-plus{display:none!important}
.dh-mini{width:92%;height:92%;object-fit:contain;pointer-events:none}
.dh-mini-emoji{font-size:24px}
.dh-out-txt{display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer}
.dh-out .dh-out-txt small{color:#6a7488!important;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#6a7488}
.dh-out .dh-out-txt b{color:#1d2433!important;font-size:13.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px;display:flex;align-items:center;gap:2px}
.dh-out-txt b img{width:18px;height:18px;object-fit:contain;vertical-align:-3px}
.dh-out .dh-out-txt em{color:#4a5468!important;font-style:normal;font-size:11px;color:#4a5468;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.dh-out .dh-b-dot{right:10px;top:8px}
@media (prefers-reduced-motion:reduce){.dh-lit,.dh-fog,.dh-prop,.dh-bubble{animation:none!important;transition:none!important}}
/* le hero de l'accueil force le texte en blanc : les bulles claires gardent leur encre */
html body .dh-house .dh-bubble :is(b,small,span),html body .dh-outside .dh-out :is(b,small,em,span){-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
html[data-dr-sky] body .dh-house .dh-bubble :is(b,small,span),html[data-dr-sky] body .dh-outside .dh-out :is(b,small,em,span){text-shadow:none!important}
html body .dh-house:not(.night) .dh-bubble b,html body .dh-outside .dh-out b{color:#1d2433!important}
html body .dh-house:not(.night) .dh-bubble small,html body .dh-outside .dh-out em{color:#4a5468!important}
html body .dh-outside .dh-out small{color:#6a7488!important}
html body .dh-house.night .dh-bubble b{color:#f4f6ff!important}
html body .dh-house.night .dh-bubble small{color:#c4cbe4!important}
/* capsules « dehors » : verre sombre comme les pastilles du hero */
html body .dh-outside .dh-out{background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.08));box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 0 0 1px rgba(255,255,255,.18),0 8px 22px rgba(0,10,40,.25)}
html body .dh-outside .dh-out b{color:#fff!important}
html body .dh-outside .dh-out em{color:rgba(235,242,255,.82)!important}
html body .dh-outside .dh-out small{color:rgba(220,232,255,.7)!important}
html body .dh-outside .dh-out-av{background:rgba(255,255,255,.85)}
/* encre des bulles : plus forte que les règles globales du ciel (html[data-dr-sky] … :not()…) */
html body .dh-house:not(.night) .dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble b{color:#1d2433!important}
html body .dh-house:not(.night) .dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble small{color:#4a5468!important}
html body .dh-house.night .dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble b{color:#f4f6ff!important}
html body .dh-house.night .dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble small{color:#c4cbe4!important}
html body .dh-outside .dh-out.dh-out.dh-out.dh-out.dh-out.dh-out.dh-out.dh-out b{color:#fff!important}
html body .dh-outside .dh-out.dh-out.dh-out.dh-out.dh-out.dh-out.dh-out.dh-out em{color:rgba(235,242,255,.85)!important}
html body .dh-outside .dh-out.dh-out.dh-out.dh-out.dh-out.dh-out.dh-out.dh-out small{color:rgba(220,232,255,.72)!important}
/* ---- v2 : bulles compactes (une ligne : titre · âge ; commentaire en 2e ligne seulement s'il existe) ---- */
html body .dh-house{width:100%;max-width:460px;margin:2px auto 0;left:auto;transform:none}
html body .dh-house .dh-bubble{gap:6px;max-width:62%;padding:3px 10px 3px 3px;border-radius:15px}
html body .dh-house .dh-bubble::before{border-radius:14px 14px 8px 8px}
html body .dh-house .dh-b-ico{width:22px;height:22px;font-size:13px}
html body .dh-house .dh-b-ico img{width:18px;height:18px}
html body .dh-house .dh-b-dot{width:7px;height:7px;right:-2px;top:-2px;box-shadow:0 0 0 1.5px rgba(255,255,255,.9)}
html body .dh-house .dh-b-l1{display:flex;align-items:baseline;gap:5px;min-width:0;white-space:nowrap}
html body .dh-house .dh-bubble .dh-b-txt b{font-size:12px;line-height:1.2;overflow:hidden;text-overflow:ellipsis}
html body .dh-house .dh-bubble .dh-b-txt small{font-size:10px;line-height:1.2;max-width:none;flex:none;opacity:.85}
html body .dh-house .dh-bubble .dh-b-txt em{display:block;font-style:normal;font-size:10.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px;-webkit-text-fill-color:currentColor!important}
html body .dh-house:not(.night) .dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble em{color:#4a5468!important}
html body .dh-house.night .dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble.dh-bubble em{color:#c4cbe4!important}
html body .dh-house .dh-bubble.shared .dh-b-ico{box-shadow:inset 0 0 0 .5px rgba(255,255,255,.9),0 0 0 2px rgba(255,170,210,.55)}
@media (max-width:360px){html body .dh-house .dh-bubble .dh-b-txt b{font-size:11px}html body .dh-house .dh-bubble .dh-b-txt small{display:none}}
/* bouton « Choisir un état » : flottant au-dessus de la barre (la maison est plus haute que l'ancien duo, il passait sous la barre) */
html body .first-view .fv-cta{position:fixed!important;left:50%!important;transform:translateX(-50%)!important;bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 84px)!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;z-index:40!important;pointer-events:none}
html body .first-view .fv-cta .state-fab{pointer-events:auto;padding:0!important;min-height:0!important}
html body .first-view .fv-cta .state-fab-circle{width:56px!important;height:56px!important;box-shadow:0 8px 24px rgba(0,10,40,.35)!important}
html body .first-view .fv-cta .state-fab-label{display:none!important}
html body .first-view{padding-bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 160px)!important}
html body .first-view .dh-house{width:calc(100% + 24px);max-width:480px;margin:2px -12px 0;align-self:center}
/* maison bord à bord : l'appartement touche les deux côtés de l'écran */
html body .first-view .dh-house{width:100vw;max-width:none;margin:2px calc(50% - 50vw) 0;align-self:center}
html body .first-view .dh-outside{width:100%}
/* bulles de gestes dans la maison : petites, au-dessus de la tête, gardées dans le cadre par le placement (--gbdx) */
html body .first-view .dh-person .gb-wrap{position:absolute!important;left:calc(50% + var(--gbdx,0px))!important;bottom:100%!important;width:0!important;height:0!important;margin:0!important;z-index:7}
html body .first-view .dh-person .gb-stack{width:120px;bottom:2px}
html body .first-view .dh-person .gb-item{width:120px;margin-top:-12px}
html body .first-view .dh-person .gb-item img{width:120px}
html body .first-view .dh-person .gb-gen{min-height:34px;font-size:.72rem;padding:0 10px;border-radius:14px}
html body .first-view .dh-person .gb-more{min-height:28px;min-width:32px;font-size:.7rem;padding:0 8px}
/* « Choisir un état » : intégré à la barre du bas (4 cases : Fil · Alertes · ＋ · Espace), plus rien ne passe sur la maison */
html body .fv-menu.fv-dock{display:grid!important;grid-template-columns:repeat(4,1fr)!important;justify-items:center!important}
html body .fv-menu.fv-dock>:nth-child(3){grid-column:4}
html body .first-view .fv-cta{left:62.5%!important;bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 12px)!important;z-index:16!important}
html body .first-view .fv-cta .state-fab{display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important}
html body .first-view .fv-cta .state-fab-circle{width:54px!important;height:54px!important;margin-top:-6px}
html body .first-view .fv-cta .state-fab-label{display:block!important;font-size:0!important;line-height:1!important}
html body .first-view .fv-cta .state-fab-label::after{content:"État";font-size:11px;font-weight:600;color:#fff;text-shadow:0 1px 2px rgba(6,31,74,.35)}
html body .first-view{padding-bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 96px)!important}
/* bannière « nouvelle version » */
.dr-upd{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 10px);transform:translateX(-50%);z-index:9999;max-width:calc(100% - 32px);padding:10px 16px;border:0;border-radius:999px;font-size:13px;font-weight:600;line-height:1.2;font-family:inherit;color:#0d2147;background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(235,242,255,.85));box-shadow:0 8px 24px rgba(0,10,40,.3);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer}
html body .dr-upd.dr-upd{color:#0d2147!important;-webkit-text-fill-color:#0d2147!important}
/* état ancien : bulle plus discrète, sans point vert */
html body .dh-house .dh-bubble.stale{opacity:.78;filter:saturate(.35)}
html body .dh-house .dh-bubble.stale .dh-b-dot{display:none}
/* apparition douce quand quelqu'un change de pièce */
.dh-person{animation:dh-in .55s ease-out both}
@keyframes dh-in{from{opacity:0;transform:translateY(4%)}to{opacity:1;transform:none}}
.dh-house{cursor:pointer}
/* feuille « pièce » */
.dh-sheet-wrap{position:fixed;inset:0;z-index:70;background:rgba(4,14,34,.35);display:flex;align-items:flex-end;justify-content:center;animation:dh-on .2s}
.dh-sheet{width:min(100%,480px);box-sizing:border-box;margin:0 8px calc(env(safe-area-inset-bottom,0px) + 10px);padding:14px 14px 16px;border-radius:24px;
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(240,245,255,.78));-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 18px 40px rgba(0,10,40,.35);animation:dh-up .25s cubic-bezier(.2,.9,.3,1.1)}
@keyframes dh-up{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
.dh-sheet-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
html body .dh-sheet .dh-sheet-h b{font-size:17px;color:#14203a!important;-webkit-text-fill-color:#14203a!important}
html body .dh-sheet .dh-sheet-x{width:32px;height:32px;border-radius:50%;border:0;background:rgba(20,32,58,.08);color:#14203a!important;-webkit-text-fill-color:#14203a!important;font-size:14px;cursor:pointer}
.dh-sheet-list{display:flex;flex-wrap:wrap;gap:8px}
html body .dh-sheet .dh-chip{border:0;border-radius:999px;padding:9px 13px;font-size:14px;font-weight:600;line-height:1.1;font-family:inherit;background:#fff;color:#14203a!important;-webkit-text-fill-color:#14203a!important;box-shadow:0 1px 3px rgba(20,32,58,.14);cursor:pointer}
html body .dh-sheet .dh-chip.busy{opacity:.5}
html body .dh-sheet .dh-sheet-empty{margin:4px 2px;color:#4a5468!important;-webkit-text-fill-color:#4a5468!important}
@media (prefers-reduced-motion:reduce){.dh-person,.dh-sheet,.dh-sheet-wrap{animation:none!important}}
/* pluie sur la terrasse quand la météo de Dakar annonce pluie ou orage */
.dh-rain{position:absolute;inset:0;pointer-events:none;display:none;opacity:.55;background:repeating-linear-gradient(104deg,transparent 0 9px,rgba(220,236,255,.75) 9px 10px,transparent 10px 22px);background-size:44px 88px;animation:dh-rain .5s linear infinite}
html:has(.hero-w-rain) .dh-rain,html:has(.hero-w-storm) .dh-rain{display:block}
@keyframes dh-rain{from{background-position:0 0}to{background-position:-22px 88px}}
/* heure de prière : halo doux sur les tapis de la chambre + petite pastille */
.dh-pglow{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(255,226,150,.55),rgba(255,214,120,.18) 60%,transparent);mix-blend-mode:screen;animation:dh-pg 3.2s ease-in-out infinite alternate}
@keyframes dh-pg{from{opacity:.65}to{opacity:1}}
.dh-pchip{position:absolute;left:3%;top:2%;z-index:9;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.2;background:linear-gradient(160deg,rgba(255,255,255,.75),rgba(255,255,255,.4));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(0,10,40,.18);pointer-events:none}
html body .dh-house .dh-pchip{color:#1d2433!important;-webkit-text-fill-color:#1d2433!important}
.dh-patch{z-index:0}
@media (prefers-reduced-motion:reduce){.dh-rain,.dh-pglow{animation:none!important}}
/* météo du haut : ville et heure regroupées sur une ligne discrète, sous la pastille */
html body .first-view .hero-wx .hero-wx-age{justify-content:flex-end!important;gap:6px!important}
html body .first-view .hero-wx .hero-wx-when::before{content:"· ";opacity:.7}
/* ==== v6 : cadrage léger, bulles + mini réactions, capsules « dehors » au-dessus de la barre ==== */
html body .first-view .dh-house{overflow:hidden}
.dh-stage{position:absolute;inset:0;transform-origin:0 0;transition:transform .9s cubic-bezier(.3,.8,.3,1);will-change:transform}
@media (prefers-reduced-motion:reduce){.dh-stage{transition:none}}
/* la bulle et ses mini réactions forment un seul bloc placé sans trait */
html body .dh-house .dh-bw{position:absolute;z-index:8;display:flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:62%;opacity:0;transform:translateY(4px);transition:opacity .35s,transform .35s,left .45s cubic-bezier(.3,.8,.3,1),top .45s cubic-bezier(.3,.8,.3,1)}
html body .dh-house .dh-bw.on{opacity:1;transform:none}
html body .dh-house .dh-bw .dh-bubble{position:relative!important;left:auto!important;top:auto!important;max-width:100%;opacity:1!important;transform:none;transition:none}
html body .dh-house .dh-bw .dh-bubble:active{transform:scale(.96)}
/* mini réaction : ~70 % de la bulle, plus légère */
html body .dh-house .dh-react{display:inline-flex;align-items:center;gap:3px;margin-left:10px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:600;line-height:1.25;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  background:linear-gradient(160deg,rgba(255,255,255,.62),rgba(255,255,255,.3));-webkit-backdrop-filter:blur(10px) saturate(1.5);backdrop-filter:blur(10px) saturate(1.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 3px 8px rgba(20,30,60,.12);opacity:.94;animation:dh-react .35s ease-out both}
@keyframes dh-react{from{opacity:0;transform:translateY(-3px) scale(.92)}to{opacity:.94;transform:none}}
html body .dh-house:not(.night) .dh-react.dh-react{color:#2a3346!important;-webkit-text-fill-color:#2a3346!important}
html body .dh-house.night .dh-react.dh-react{color:#eef1ff!important;-webkit-text-fill-color:#eef1ff!important;background:linear-gradient(160deg,rgba(70,82,130,.55),rgba(30,36,72,.38))}
/* l'ancienne pile d'images de gestes reste en place (elle sert à marquer « vu ») mais ne se voit plus dans la maison */
html body .first-view .dh-person .gb-wrap{opacity:0!important;pointer-events:none!important}
/* capsules « dehors » : zone juste au-dessus de la barre du bas */
html body .first-view .dh-outside{position:fixed;left:0;right:0;bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 86px);z-index:14;width:auto;margin:0;padding:0 12px;display:flex;flex-wrap:nowrap;justify-content:center;gap:6px;pointer-events:none}
html body .first-view .dh-out{pointer-events:auto;flex:0 1 auto;max-width:calc(50% - 3px);min-width:0;gap:7px;padding:3px 12px 3px 3px}
html body .first-view .dh-out-av{width:36px;height:36px}
html body .first-view .dh-out .dh-out-txt b{font-size:12.5px;max-width:none;display:flex;align-items:center;gap:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .first-view .dh-out .dh-out-txt small{font-size:9.5px;letter-spacing:.05em}
html body .first-view .dh-out-ico img{width:16px;height:16px;object-fit:contain;vertical-align:-3px}
html body .first-view .dh-out .dh-b-dot{right:6px;top:4px}
html body .first-view:has(.dh-outside){padding-bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 150px)!important}
html body .first-view .dh-out-av .gb-wrap{display:none!important}
html body .first-view .dh-out{padding-right:18px}
html body .first-view .dh-out .dh-b-dot{right:7px;top:6px;width:7px;height:7px}
html body .first-view .dh-out-av .avatar,html body .first-view .dh-out-av img:not(.dh-mini){width:100%!important;height:100%!important;border-radius:50%;object-fit:cover}
/* portrait de la planche dans la capsule : la tête du personnage, cadrée en haut */
html body .first-view .dh-out-av .person-photo{overflow:hidden}
.dh-portrait{width:150%;height:auto;margin-top:6%;object-fit:cover;object-position:50% 0;pointer-events:none;align-self:start;justify-self:center}
/* capsules « dehors » v2 : verre sombre lisible sur n'importe quel fond, une ligne par info, jamais de retour à la ligne */
html body .first-view .dh-outside .dh-out{max-width:min(330px,calc(100% - 24px));height:44px;box-sizing:border-box;padding:4px 18px 4px 4px;gap:8px;
  background:linear-gradient(160deg,rgba(28,52,110,.72),rgba(14,30,72,.62))!important;-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.14),0 8px 22px rgba(0,10,40,.3)}
html body .first-view .dh-outside:has(.dh-out + .dh-out) .dh-out{max-width:calc(50% - 3px)}
html body .first-view .dh-out-av{width:36px;height:36px;flex:none}
html body .first-view .dh-out .dh-out-txt{min-width:0;overflow:hidden;gap:1px}
html body .first-view .dh-outside .dh-out .dh-out-txt small{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9.5px;line-height:1.15;letter-spacing:.04em;color:rgba(220,232,255,.75)!important;-webkit-text-fill-color:rgba(220,232,255,.75)!important}
html body .first-view .dh-outside .dh-out .dh-out-txt b{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;line-height:1.2;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .first-view .dh-out-ico{display:inline-block;vertical-align:-2px}
/* ==== Drobo, le petit robot de la cuisine ==== */
.dh-bot{position:absolute;padding:0;margin:0;border:0;background:none;cursor:pointer;z-index:1;-webkit-tap-highlight-color:transparent}
.dh-bot-in{position:absolute;inset:0;display:block;animation:dh-bot-float 4.2s ease-in-out infinite;transform-origin:50% 100%}
.dh-bot.talking .dh-bot-in{animation:dh-bot-float 4.2s ease-in-out infinite,dh-bot-pop .45s cubic-bezier(.3,1.6,.5,1) 1}
.dh-bot-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;opacity:0;transition:opacity .35s;pointer-events:none;-webkit-user-drag:none}
.dh-bot-img.on{opacity:1}
.dh-bot.dim .dh-bot-img{filter:brightness(.55) saturate(.8)}
/* clignement : deux petites paupières de la couleur de l'écran */
.dh-bot-lid{position:absolute;display:block;border-radius:2px;transform:scaleY(0);transform-origin:50% 0;animation:dh-bot-blink 5.3s infinite}
.dh-bot-lid + .dh-bot-lid{animation-delay:.03s}
/* antenne : petite pulsation lumineuse */
.dh-bot-ant{position:absolute;display:block;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,90,.75),rgba(255,200,60,.25) 55%,transparent);mix-blend-mode:screen;animation:dh-bot-ant 2.4s ease-in-out infinite;pointer-events:none}
.dh-bot.dim .dh-bot-ant{animation-duration:3.2s}
@keyframes dh-bot-float{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-2.5%) rotate(-1.2deg)}60%{transform:translateY(-1%) rotate(1deg)}}
@keyframes dh-bot-pop{0%{transform:scale(1)}40%{transform:scale(1.07,1.03) translateY(-3%)}100%{transform:scale(1)}}
@keyframes dh-bot-blink{0%,93%,100%{transform:scaleY(0)}95.5%{transform:scaleY(1)}}
@keyframes dh-bot-ant{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}
/* bulle de Drobo : petite, au-dessus de lui, apparition douce puis disparition */
html body .dh-house .dh-botb{position:absolute;z-index:9;max-width:62%;padding:5px 11px 6px;border-radius:14px 14px 14px 5px;font-size:12px;font-weight:600;line-height:1.25;pointer-events:none;
  background:linear-gradient(160deg,rgba(255,255,255,.88),rgba(244,250,236,.7));-webkit-backdrop-filter:blur(12px) saturate(1.5);backdrop-filter:blur(12px) saturate(1.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 .5px rgba(150,180,90,.45),0 6px 16px rgba(20,30,60,.18);opacity:0;transform:translateY(6px) scale(.9);transform-origin:30% 100%;animation:dh-botb 5.6s ease both}
html body .dh-house .dh-botb.dh-botb{color:#24321a!important;-webkit-text-fill-color:#24321a!important}
html body .dh-house .dh-botb .dh-botb-n{display:block;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#6c8a2e!important;-webkit-text-fill-color:#6c8a2e!important;margin-bottom:1px}
@keyframes dh-botb{0%{opacity:0;transform:translateY(6px) scale(.85)}7%{opacity:1;transform:translateY(-1px) scale(1.04)}11%{transform:none}88%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-4px) scale(.97)}}
@media (prefers-reduced-motion:reduce){.dh-bot-in,.dh-bot-lid,.dh-bot-ant{animation:none!important}.dh-botb{animation:none!important;opacity:1!important;transform:none!important}}
/* ==== v8 : accueil réorganisé ==== */
/* l'ancien message de Drobo sous le titre : retiré de l'accueil (ses phrases passent par la bulle du robot) */
html body .first-view p.drobo,html body .first-view .drobo{display:none!important}
/* plus de « + » flottant collé aux avatars : remplacé par « Ajouter un moment » en bas */
html body .first-view .dh-person .mo-plus,html body .first-view .dh-out .mo-plus{display:none!important}
/* traits de liaison bulle → avatar */
.dh-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:7}
.dh-links path{fill:none;stroke:rgba(46,58,92,.5);stroke-width:1.2;stroke-linecap:round}
.dh-links circle{fill:rgba(46,58,92,.6);stroke:rgba(255,255,255,.85);stroke-width:1}
.dh-house.night .dh-links path{stroke:rgba(225,232,255,.55)}
.dh-house.night .dh-links circle{fill:rgba(225,232,255,.75);stroke:rgba(20,26,60,.6)}
@media (prefers-reduced-motion:no-preference){.dh-links path,.dh-links circle{animation:dh-on .5s ease-out both}}
/* bulle de Drobo : crème, petite pointe vers lui, texte sombre */
html body .dh-house .dh-botb{max-width:min(58%,210px);padding:6px 11px;border-radius:14px;font-size:12px;font-weight:600;line-height:1.3;
  background:#fffaf0;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 4px 12px rgba(40,30,10,.16),0 0 0 .5px rgba(120,100,60,.18);transform-origin:var(--tail,30px) 100%}
html body .dh-house .dh-botb::after{content:"";position:absolute;left:var(--tail,30px);bottom:-5px;width:10px;height:10px;margin-left:-5px;background:#fffaf0;transform:rotate(45deg);box-shadow:2px 2px 3px rgba(40,30,10,.08);border-radius:0 0 2px 0}
html body .dh-house .dh-botb.below::after{bottom:auto;top:-5px;box-shadow:-1px -1px 2px rgba(40,30,10,.06);border-radius:2px 0 0 0}
html body .dh-house .dh-botb.dh-botb{color:#3a2e1c!important;-webkit-text-fill-color:#3a2e1c!important}
/* zone « dehors » : petites vignettes en haut à gauche de la maison (espace bleu libre) */
html body .first-view .dh-house .dh-outside{position:absolute;left:8px;top:6px;right:auto;bottom:auto;z-index:9;display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:auto;max-width:46%;padding:0;margin:0;pointer-events:auto}
html body .first-view .dh-house .dh-outside .dh-out{height:auto;max-width:100%;padding:3px 12px 3px 3px;gap:6px;border-radius:999px}
html body .first-view .dh-house .dh-outside:has(.dh-out + .dh-out) .dh-out{max-width:100%}
html body .first-view .dh-house .dh-out-av{width:30px;height:30px}
html body .first-view .dh-house .dh-outside .dh-out .dh-out-txt small{font-size:9px}
html body .first-view .dh-house .dh-outside .dh-out .dh-out-txt b{font-size:12px}
html body .first-view .dh-house .dh-out .dh-b-dot{right:5px;top:4px;width:6px;height:6px}
html body .first-view:has(.dh-outside){padding-bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 96px)!important}
/* « Ajouter un moment » : petit bouton stable au-dessus de la barre du bas, à gauche (le bouton « État » reste au centre) */
.dh-addmo{position:fixed;left:max(14px,env(safe-area-inset-left,0px));bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 90px);z-index:14;display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 6px;border:0;border-radius:999px;cursor:pointer;
  font-size:12.5px;font-weight:600;font-family:inherit;background:rgba(255,250,240,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 12px rgba(0,10,40,.18)}
html body .dh-addmo.dh-addmo{color:#3a2e1c!important;-webkit-text-fill-color:#3a2e1c!important}
.dh-addmo-i{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e9dcc2;font-size:15px;line-height:1;font-weight:700}
html body .dh-addmo .dh-addmo-i{color:#6b5530!important;-webkit-text-fill-color:#6b5530!important}
.dh-addmo:active{transform:scale(.97)}
html body .first-view{padding-bottom:calc(var(--sab,env(safe-area-inset-bottom,0px)) + 136px)!important}
/* pastille de prière : en haut à droite (le haut gauche est réservé à la zone « dehors ») */
html body .dh-house .dh-pchip{left:auto;right:3%;top:2%}
/* ==== v9 : animations et ambiance (réglages : HOUSE_CFG.anim) ==== */
/* pause des animations quand l'appli n'est pas visible */
.dh-house.paused *,.dh-house.paused *::before,.dh-house.paused *::after{animation-play-state:paused!important}
/* ambiance selon l'heure : voile très léger, découpé à la forme de la maison */
.dh-amb{position:absolute;inset:0;pointer-events:none;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;transition:background-color 3s ease}
/* respiration : un demi-pixel de posture, lent, jamais de déformation */
.dh-person .dh-sprite{animation:dh-breathe 5.5s ease-in-out infinite}
.dh-person:nth-child(odd) .dh-sprite{animation-delay:-2.3s}
.dh-house.nobreathe .dh-person .dh-sprite,.dh-person.hidden-body .dh-sprite{animation:none}
@keyframes dh-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-0.45%)}}
/* transition d'état : l'ancien dessin s'efface */
.dh-ghostout{position:absolute;pointer-events:none;animation:dh-ghost .55s ease-out forwards}
@keyframes dh-ghost{to{opacity:0;transform:translateY(-2%)}}
/* effets */
.dh-fx{position:absolute;pointer-events:none;display:block;transition:opacity 1.1s ease}
.dh-fx.out{opacity:0!important}
.dh-fx.out img{animation-iteration-count:1!important}
/* vapeur : 2-3 volutes de la planche qui montent lentement en oscillant */
.dh-fx-steam img{position:absolute;bottom:0;width:62%;margin-left:19%;opacity:0;animation:dh-steam var(--rise,3.2s) ease-in infinite}
@keyframes dh-steam{0%{opacity:0;transform:translate(0,15%) scale(.85)}20%{opacity:var(--op,.85)}55%{transform:translate(8%,-35%) scale(1)}100%{opacity:0;transform:translate(-6%,-80%) scale(1.08)}}
/* écran d'ordinateur allumé : petite lueur froide, légère variation */
.dh-fx-screen{border-radius:50%;background:radial-gradient(closest-side,rgba(190,225,255,.75),rgba(150,200,255,.25) 55%,transparent);mix-blend-mode:screen;animation:dh-scr 4.6s ease-in-out infinite}
@keyframes dh-scr{0%,100%{opacity:.75}40%{opacity:.95}70%{opacity:.82}}
/* reflet d'écran sur le visage : froid (ordinateur), bleu-violet lent (séries) */
.dh-fx-faceglow{border-radius:50%;mix-blend-mode:screen}
.dh-fx-faceglow.pc{background:radial-gradient(closest-side,rgba(170,210,255,.28),transparent);opacity:.6}
.dh-house.night .dh-fx-faceglow.pc{opacity:1}
.dh-fx-faceglow.tv{background:radial-gradient(closest-side,rgba(120,140,255,.32),rgba(170,110,255,.12) 60%,transparent);animation:dh-tv 7s ease-in-out infinite}
@keyframes dh-tv{0%,100%{opacity:.55;filter:hue-rotate(0)}35%{opacity:.85}60%{opacity:.6;filter:hue-rotate(-25deg)}80%{opacity:.8}}
/* plaque de cuisson */
.dh-fx-hob{border-radius:50%;background:radial-gradient(closest-side,rgba(255,110,40,.7),rgba(255,80,30,.2) 60%,transparent);mix-blend-mode:screen;animation:dh-hob 3.4s ease-in-out infinite}
@keyframes dh-hob{0%,100%{opacity:.7}50%{opacity:1}}
/* lampes et lanternes la nuit : halo chaud, variation lente (pas de scintillement) */
.dh-fx-lamp{border-radius:50%;background:radial-gradient(closest-side,rgba(255,200,110,.45),rgba(255,170,80,.12) 60%,transparent);mix-blend-mode:screen}
.dh-fx-lamp.lantern{animation:dh-lantern 6.5s ease-in-out infinite}
.dh-fx-lamp.bedside{animation:dh-bedside 19s ease-in-out infinite}
@keyframes dh-lantern{0%,100%{opacity:.75}30%{opacity:1}55%{opacity:.82}80%{opacity:.95}}
@keyframes dh-bedside{0%,90%,100%{opacity:.9}93%{opacity:.75}96%{opacity:.95}}
/* Drobo : regard, antenne occasionnelle, gestes, sommeil */
.dh-bot .dh-bot-in{transition:rotate .6s ease}
.dh-bot.look-l .dh-bot-in{rotate:-5deg}
.dh-bot.look-r .dh-bot-in{rotate:4deg}
.dh-bot-ant{animation:none;opacity:.35}
.dh-bot-ant.ping{animation:dh-ant-ping 1.4s ease-out 1}
@keyframes dh-ant-ping{0%{opacity:.35;transform:scale(.8)}25%{opacity:1;transform:scale(1.35)}100%{opacity:.35;transform:scale(.9)}}
.dh-bot.sleepy .dh-bot-lid{animation:none;transform:scaleY(.55)}
.dh-bot.sleepy .dh-bot-in{animation-duration:7s}
/* faible puissance : on garde la lumière, on coupe le reste */
.dh-house.lowpower .dh-fx-steam img:nth-child(n+2),.dh-house.lowpower .dh-fx-tv{display:none}
.dh-house.lowpower .dh-fx,.dh-house.lowpower .dh-person .dh-sprite{animation:none!important}
@media (prefers-reduced-motion:reduce){.dh-fx,.dh-fx img,.dh-person .dh-sprite,.dh-ghostout,.dh-bot-ant{animation:none!important}.dh-fx-steam img:first-child{opacity:.6}.dh-amb{transition:none}}
.dh-fx-screen{background:radial-gradient(closest-side,rgba(205,232,255,.95),rgba(160,205,255,.4) 55%,transparent)}
.dh-fx-faceglow.pc{background:radial-gradient(closest-side,rgba(175,215,255,.45),transparent);opacity:.7}
.dh-fx-faceglow.tv{background:radial-gradient(closest-side,rgba(120,140,255,.55),rgba(170,110,255,.2) 60%,transparent)}
.dh-fx-hob{background:radial-gradient(closest-side,rgba(255,110,40,.9),rgba(255,80,30,.3) 60%,transparent)}
.dh-fx-faceglow.tv{mix-blend-mode:normal;background:radial-gradient(closest-side,rgba(110,130,255,.32),rgba(170,110,255,.12) 60%,transparent)}
.dh-fx-faceglow.pc{mix-blend-mode:normal;background:radial-gradient(closest-side,rgba(185,220,255,.30),transparent)}
/* ==== v10 : avatars plus vivants (mouvements uniformes, jamais de déformation ; indépendants du look) ==== */
/* arrivée dans une pièce : petit saut + fondu, ancré aux pieds */
.dh-person{animation:dh-arrive .7s cubic-bezier(.25,1.4,.5,1) both}
@keyframes dh-arrive{0%{opacity:0;transform:translateY(6%) scale(.9)}55%{opacity:1;transform:translateY(-3%) scale(1.03)}100%{transform:none}}
.dh-person .dh-sprite{transform-origin:50% 100%;will-change:transform}
/* ombre douce au sol, qui respire avec le personnage */
.dh-person:not(.hidden-body):not(.in-duo)::after{content:"";position:absolute;left:18%;right:18%;bottom:-1.5%;height:5%;border-radius:50%;background:radial-gradient(closest-side,rgba(40,24,10,.28),transparent);z-index:-1;animation:dh-shadow 4.2s ease-in-out infinite}
@keyframes dh-shadow{0%,100%{transform:scaleX(1);opacity:.9}50%{transform:scaleX(.92);opacity:.7}}
/* debout : respiration + transfert de poids */
.dh-person.m-stand .dh-sprite,.dh-person.m-carry .dh-sprite{animation:dh-stand 4.2s ease-in-out infinite}
@keyframes dh-stand{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-1.3%) rotate(.9deg)}50%{transform:translateY(-.4%) rotate(0)}75%{transform:translateY(-1.3%) rotate(-.9deg)}}
/* assis : respiration visible + léger balancement */
.dh-person.m-sit .dh-sprite,.dh-duo.m-duo{animation:dh-sit 4.6s ease-in-out infinite;transform-origin:50% 100%}
@keyframes dh-sit{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-1.4%) rotate(.6deg)}70%{transform:translateY(-.6%) rotate(-.4deg)}}
/* au clavier : petits mouvements rapides par séries, puis une pause */
.dh-person.m-type .dh-sprite{animation:dh-type 3.4s ease-in-out infinite}
@keyframes dh-type{0%,46%,100%{transform:translateY(0) rotate(0)}6%,18%,30%{transform:translateY(-1.4%) rotate(.5deg)}12%,24%,36%{transform:translateY(-.2%) rotate(-.3deg)}60%{transform:translateY(-1%) rotate(-1.2deg)}80%{transform:translateY(-.4%) rotate(0)}}
/* boire : le buste se penche vers la tasse, pause, se redresse */
.dh-person.m-drink .dh-sprite{animation:dh-drink 5.2s ease-in-out infinite}
@keyframes dh-drink{0%,55%,100%{transform:rotate(0) translateY(0)}65%,78%{transform:rotate(-3deg) translateY(-1.6%)}88%{transform:rotate(.6deg)}}
/* manger : petits hochements réguliers */
.dh-person.m-eat .dh-sprite{animation:dh-eat 2.8s ease-in-out infinite}
@keyframes dh-eat{0%,100%{transform:rotate(0) translateY(0)}20%{transform:rotate(2.2deg) translateY(-1.2%)}35%{transform:rotate(0)}60%{transform:translateY(-.8%)}}
/* téléphone : tête qui s'incline de temps en temps, comme en conversation */
.dh-person.m-phone .dh-sprite{animation:dh-phone 3.8s ease-in-out infinite}
@keyframes dh-phone{0%,100%{transform:rotate(0) translateY(0)}30%{transform:rotate(1.8deg) translateY(-1.2%)}55%{transform:rotate(-1deg) translateY(-.4%)}75%{transform:rotate(1.2deg) translateY(-1%)}}
/* lecture : respiration + petit hochement, et de temps en temps « on tourne la page » */
.dh-person.m-read .dh-sprite{animation:dh-read 7s ease-in-out infinite}
@keyframes dh-read{0%,100%{transform:rotate(0)}30%{transform:rotate(1deg) translateY(-1%)}62%{transform:rotate(0)}66%{transform:rotate(-2.4deg) translateY(-1.4%)}72%{transform:rotate(0)}}
/* balai : mouvement de balayage */
.dh-person.m-sweep .dh-sprite{animation:dh-sweep 1.6s ease-in-out infinite}
@keyframes dh-sweep{0%,100%{transform:rotate(-2.5deg) translateX(-1%)}50%{transform:rotate(2.5deg) translateX(1.2%) translateY(-1%)}}
/* sommeil : respiration lente et profonde */
.dh-person.m-sleep .dh-sprite{animation:dh-sleep 5.8s ease-in-out infinite}
@keyframes dh-sleep{0%,100%{transform:translateY(0)}45%{transform:translateY(-1.3%)}}
.dh-person.m-sleep::after{opacity:.5}
/* prière, wird à genoux : quasi immobile (respiration à peine perceptible) */
.dh-person.m-still .dh-sprite{animation:dh-still 6s ease-in-out infinite}
@keyframes dh-still{0%,100%{transform:translateY(0)}50%{transform:translateY(-.5%)}}
/* les deux avatars ne bougent pas en même temps */
.dh-person[data-uid="kadiali"] .dh-sprite{animation-delay:-1.7s}
/* vapeur plus présente, lampes plus chaudes, Drobo plus vif */
.dh-fx-steam img{width:70%;margin-left:15%}
.dh-fx-lamp{background:radial-gradient(closest-side,rgba(255,200,110,.62),rgba(255,170,80,.18) 60%,transparent)}
.dh-bot-in{animation:dh-bot-float 3.4s ease-in-out infinite}
@keyframes dh-bot-float{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-4%) rotate(-2deg)}60%{transform:translateY(-1.5%) rotate(1.6deg)}}
@media (prefers-reduced-motion:reduce){.dh-person,.dh-person .dh-sprite,.dh-duo,.dh-person::after{animation:none!important}}
.dh-house.lowpower .dh-person .dh-sprite,.dh-house.lowpower .dh-duo,.dh-house.lowpower .dh-person::after{animation:none!important}
.dh-house.nobreathe .dh-person .dh-sprite{animation:none}
/* ===== Petites attentions & Journal visuel ===== */
/* objet posé dans la maison : petit, net, un léger reflet de temps en temps */
.dh-attn{position:absolute;padding:0;margin:0;border:0;background:none;cursor:pointer;z-index:1;-webkit-tap-highlight-color:transparent;animation:atn-bob 6s ease-in-out infinite}
.dh-attn img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 1px 1px rgba(40,24,10,.35));pointer-events:none}
.dh-attn-glint{position:absolute;left:-30%;top:-40%;width:160%;height:160%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,250,220,.9),rgba(255,236,170,.25) 45%,transparent 70%);mix-blend-mode:screen;opacity:0;animation:atn-glint 7s ease-in-out infinite;animation-delay:inherit;pointer-events:none}
@keyframes atn-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6%)}}
@keyframes atn-glint{0%,82%,100%{opacity:0;transform:scale(.6)}88%{opacity:1;transform:scale(1)}94%{opacity:0;transform:scale(1.15)}}
.dh-attn:active{transform:scale(.92)}
.dh-attn::before{content:"";position:absolute;inset:-60%}  /* zone tactile plus large que l'objet */
.dh-house.night .dh-attn img{filter:drop-shadow(0 0 3px rgba(255,230,170,.6)) brightness(.95)}
/* carte de découverte */
.atn-wrap{align-items:center}
.atn-card{width:min(calc(100% - 40px),340px);box-sizing:border-box;padding:18px 18px 14px;border-radius:26px;text-align:center;
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(240,245,255,.78));-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 18px 40px rgba(0,10,40,.35);animation:atn-in .38s cubic-bezier(.2,1.3,.4,1) both}
@keyframes atn-in{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
.atn-obj{width:64px;height:64px;margin:0 auto 6px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.9),0 4px 12px rgba(20,30,60,.12)}
.atn-obj img{max-width:42px;max-height:42px;object-fit:contain}
html body .atn-card :is(small,p,b,span,button,em){-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
html body .atn-card .atn-from{display:block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6a5a9a!important}
html body .atn-card .atn-msg{margin:8px 0 4px;font-size:17px;line-height:1.35;font-weight:600;color:#1d2433!important}
html body .atn-card .atn-msg.muted{font-weight:500;color:#4a5468!important}
html body .atn-card .atn-when{display:block;font-size:11.5px;color:#6a7488!important;margin-bottom:12px}
html body .atn-card .atn-err,html body .atn-err{color:#b3261e!important;-webkit-text-fill-color:#b3261e!important;font-size:13px;margin:6px 0}
.atn-acts{display:flex;flex-direction:column;gap:8px;align-items:center}
html body .atn-card .atn-heart{border:0;border-radius:999px;padding:10px 18px;font:inherit;font-weight:700;font-size:15px;background:linear-gradient(180deg,#ff8fb8,#e8619a);color:#fff!important;box-shadow:0 6px 14px rgba(232,97,154,.35);cursor:pointer}
.atn-heart.on{opacity:.75}
.atn-quick{display:flex;gap:8px}
.atn-quick button{width:40px;height:40px;border-radius:50%;border:0;font-size:19px;background:rgba(255,255,255,.85);box-shadow:0 1px 3px rgba(20,30,60,.15);cursor:pointer}
.atn-quick button.on{box-shadow:0 0 0 2px #e8619a}
.atn-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px}
html body :is(.atn-card,.alb-d-acts) .atn-fav{border:0;background:none;font:inherit;font-size:13.5px;font-weight:600;color:#6a5a9a!important;-webkit-text-fill-color:#6a5a9a!important;cursor:pointer;padding:6px 2px}
html body :is(.atn-card,.alb-d-acts) .atn-fav.on{color:#d0457f!important;-webkit-text-fill-color:#d0457f!important}
html body .atn-card .atn-close{border:0;border-radius:999px;padding:8px 16px;font:inherit;font-weight:600;font-size:14px;background:rgba(20,32,58,.08);color:#14203a!important;cursor:pointer}
button:disabled{opacity:.5}
/* feuille de dépôt */
.atn-kinds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 12px}
.atn-kind{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:16px;border:0;font:inherit;font-size:12.5px;font-weight:600;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);color:inherit;cursor:pointer}
.atn-kind img{width:34px;height:34px;object-fit:contain}
.atn-kind.on{background:rgba(255,255,255,.32);box-shadow:inset 0 0 0 2px rgba(255,214,120,.9)}
.atn-lab{display:block;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.8;margin:6px 0}
.atn-ta{width:100%;box-sizing:border-box;resize:none}
.atn-map{position:relative;width:min(100%,300px);margin:4px auto 8px}
.atn-map img{position:absolute;inset:0;width:100%;height:100%}
.atn-pin{position:absolute;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid #fff;background:rgba(255,170,90,.85);box-shadow:0 2px 6px rgba(0,0,0,.35);padding:0;cursor:pointer}
.atn-pin.on{background:#ff5d9a;transform:scale(1.35)}
.atn-pin.taken{background:#9aa;opacity:.6}
.atn-spots{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.atn-spot.on{box-shadow:inset 0 0 0 2px rgba(255,214,120,.95)!important}
.atn-go{width:100%;margin-top:4px}
.gx-attn{white-space:nowrap}
html body .dh-sheet .dh-sheet-attn{display:block;width:100%;margin-top:12px;border:0;border-radius:14px;padding:10px;font:inherit;font-size:14px;font-weight:600;background:rgba(255,214,150,.35);color:#5a3d12!important;-webkit-text-fill-color:#5a3d12!important;cursor:pointer}

/* ===== Journal visuel ===== */
.alb-tabs{display:flex;gap:4px;padding:3px;margin:4px 0 12px;border-radius:999px;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.alb-tabs button{flex:1;border:0;border-radius:999px;padding:7px 0;font:inherit;font-size:13.5px;font-weight:600;background:none;color:inherit;cursor:pointer}
.alb-tabs button.on{background:rgba(255,255,255,.88);box-shadow:0 2px 6px rgba(0,10,40,.18)}
html body .alb-tabs button.on{color:#14203a!important;-webkit-text-fill-color:#14203a!important}
.alb-tabs-fil{position:relative;z-index:2;padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 0;max-width:640px;margin:0 auto}
.alb-tabs-fil .alb-tabs{margin-bottom:0}
.alb-nav{margin-bottom:10px}
.alb-recap{margin:2px 0 14px;padding:10px;border-radius:20px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.alb-recap-h{display:flex;justify-content:space-between;align-items:center;margin:0 2px 8px}
.alb-save{border:0;border-radius:999px;padding:5px 11px;font:inherit;font-size:12px;font-weight:600;background:rgba(255,255,255,.88);cursor:pointer}
html body .alb-save{color:#14203a!important;-webkit-text-fill-color:#14203a!important}
.alb-strip{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:2px;-webkit-overflow-scrolling:touch}
.alb-mini{flex:0 0 112px;scroll-snap-align:start;border:0;padding:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.alb-mini small{display:block;margin-top:4px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.alb-mini b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.alb-card{position:relative;display:flex;flex-direction:column;border:0;padding:6px;border-radius:18px;font:inherit;color:inherit;text-align:left;cursor:pointer;
  background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.07));box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.14)}
.alb-card.duo{box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1.5px rgba(255,190,220,.55)}
.alb-card.attn{box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1.5px rgba(255,214,120,.6)}
.alb-fav{position:absolute;right:12px;top:10px;font-style:normal;font-size:14px;color:#ff7aa8;text-shadow:0 1px 3px rgba(0,0,0,.4)}
.alb-meta{display:flex;flex-direction:column;gap:1px;padding:6px 4px 2px;min-width:0}
.alb-meta b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alb-meta small{font-size:11.5px;opacity:.8}
.alb-meta em{font-style:normal;font-size:11.5px;opacity:.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* mini-scène : la carte entière en %, recadrée ; les sprites gardent leurs proportions */
.alb-scene{position:relative;width:100%;aspect-ratio:4/3;border-radius:13px;overflow:hidden;background:#2c3e70;isolation:isolate}
.alb-scene.big{border-radius:18px;margin:4px 0 10px}
.alb-map{position:absolute}
.alb-bg,.alb-p{position:absolute;pointer-events:none}
.alb-bg{inset:0;width:100%;height:100%}
.alb-p{object-fit:contain;object-position:50% 100%}
.alb-hidden{position:absolute;right:8px;bottom:6px;font-size:20px}
.alb-text,.alb-out{display:grid;place-items:center;background:linear-gradient(160deg,rgba(80,110,190,.55),rgba(60,70,140,.45))}
.alb-text span{font-size:38px}
.alb-out img{max-height:78%;max-width:70%;object-fit:contain}
.alb-out-emo{position:absolute;right:8px;bottom:6px;font-size:22px}
.alb-empty{text-align:center;padding:40px 10px;opacity:.85}
.alb-empty span{font-size:40px}
.alb-gest{margin-top:14px}
.alb-gest small{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7;margin-bottom:6px}
.alb-gest div{display:flex;flex-wrap:wrap;gap:6px}
.alb-g{font-size:12px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.12)}
.alb-d-when{font-size:13px;opacity:.85;margin:0 0 6px}
.alb-d-desc{font-size:15.5px;margin:6px 0}
.alb-d-react{margin:8px 0 2px}.alb-d-react small{font-size:12.5px;opacity:.75}.alb-d-react .alb-d-desc{font-size:26px;margin:2px 0 0;line-height:1.2}
.alb-d-replies p{font-size:13.5px;margin:4px 0}
.alb-d-acts{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.alb-d-acts small{opacity:.75}
html body .alb-d-acts .atn-fav{color:#ffc2da!important;-webkit-text-fill-color:#ffc2da!important}
html body .alb-d-acts .atn-fav.on{color:#ff7aa8!important;-webkit-text-fill-color:#ff7aa8!important}
@media (max-width:360px){.alb-grid{gap:8px}.alb-meta em{display:none}}
@media (prefers-reduced-motion:reduce){.dh-attn,.dh-attn-glint,.atn-card{animation:none!important}}
.dh-house.paused .dh-attn,.dh-house.paused .dh-attn-glint{animation-play-state:paused}
.alb-tabs-fil{position:absolute;left:0;right:0;top:calc(env(safe-area-inset-top,0px) + 58px);padding:0 16px;max-width:none;z-index:6}
.alb-tabs-fil .alb-tabs{max-width:420px;margin:0 auto;background:rgba(20,40,90,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.alb-tabs button{text-align:center;justify-content:center}
.alb-tabs-fil + .screen{margin-top:44px}
.alb-card{height:100%;justify-content:flex-start}
.atn-spots .atn-spot{border:0;border-radius:999px;padding:7px 11px;font:inherit;font-size:12.5px;font-weight:600;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:inherit;cursor:pointer}
.atn-spots .atn-spot:disabled{opacity:.4}
.alb-grid{align-items:stretch}
html body .alb-grid > .alb-card{margin:0!important;vertical-align:top;align-self:stretch}
/* lisibilité de la carte de découverte : fond presque opaque, encre sombre, contrastes AA */
.atn-card{background:linear-gradient(160deg,rgba(255,255,255,.97),rgba(244,247,255,.94));-webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5)}
html body .atn-card.atn-card .atn-from{color:#5b4a8f!important;-webkit-text-fill-color:#5b4a8f!important;font-size:12.5px}
html body .atn-card.atn-card .atn-msg{color:#141b2b!important;-webkit-text-fill-color:#141b2b!important;font-size:18px}
html body .atn-card.atn-card .atn-msg.muted{color:#3c4558!important;-webkit-text-fill-color:#3c4558!important}
html body .atn-card.atn-card .atn-when{color:#4f5a6e!important;-webkit-text-fill-color:#4f5a6e!important;font-size:12px}
html body .atn-card.atn-card .atn-heart{color:#fff!important;-webkit-text-fill-color:#fff!important;background:linear-gradient(180deg,#f06a9f,#d4467f)}
html body .atn-card.atn-card .atn-quick button{background:#fff;box-shadow:0 1px 3px rgba(20,30,60,.2),inset 0 0 0 1px rgba(20,30,60,.08);-webkit-text-fill-color:initial!important}
html body .atn-card.atn-card .atn-fav{color:#5b4a8f!important;-webkit-text-fill-color:#5b4a8f!important;font-size:14px}
html body .atn-card.atn-card .atn-fav.on{color:#c2336f!important;-webkit-text-fill-color:#c2336f!important}
html body .atn-card.atn-card .atn-close{background:#e9edf5;color:#141b2b!important;-webkit-text-fill-color:#141b2b!important}
.atn-wrap{background:rgba(4,14,34,.5)}
/* mes attentions en attente : visibles chez moi, plus discrètes, avec un sablier */
.dh-attn.mine{opacity:.9;animation:none}
.dh-attn.mine img{filter:drop-shadow(0 1px 1px rgba(40,24,10,.35)) saturate(.85)}
.dh-attn-wait{position:absolute;right:-3px;top:-3px;width:7px;height:7px;padding:0;font-size:0;line-height:0;border-radius:50%;background:#ffc94d;box-shadow:0 0 0 1.5px #fff,0 1px 2px rgba(0,0,0,.3);animation:atn-wait 2.4s ease-in-out infinite;pointer-events:none}
@keyframes atn-wait{50%{transform:scale(.7);opacity:.7}}
html body .atn-card.atn-card .atn-wait{margin:0 0 6px;font-size:13.5px;color:#3c4558!important;-webkit-text-fill-color:#3c4558!important}
html body .atn-card.atn-card .atn-take{border:0;border-radius:999px;padding:9px 16px;font:inherit;font-weight:600;font-size:14px;background:#e9edf5;color:#8a2d2d!important;-webkit-text-fill-color:#8a2d2d!important;cursor:pointer}
/* ===== La Chambre des Souvenirs ===== */
/* porte de la cuisine (appartement) : zone tactile + petite plaque discrète */
.mr-door{position:absolute;padding:0;border:0;background:none;cursor:pointer;z-index:1;-webkit-tap-highlight-color:transparent}
.mr-plaque{position:absolute;left:50%;top:40%;transform:translateX(-50%);padding:1px 5px;border-radius:5px;font-size:7px;font-weight:800;letter-spacing:.06em;white-space:nowrap;
  background:#3b2a12;box-shadow:0 0 0 1px #c99a3c,0 1px 2px rgba(0,0,0,.4);pointer-events:none}
html body .mr-plaque.mr-plaque{color:#f3d58a!important;-webkit-text-fill-color:#f3d58a!important}
.mr-door:active .mr-plaque{transform:translateX(-50%) scale(.94)}
/* la pièce, plein écran{position:fixed;inset:0;z-index:48;display:flex;flex-direction:column;background:linear-gradient(180deg,#1d3a78,#3b3f86 60%,#4b4384);animation:mr-in .5s ease both;overflow:hidden}


.mr-top{display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top,0px) + 10px) max(14px,env(safe-area-inset-right,0px)) 6px max(14px,env(safe-area-inset-left,0px))}
.mr-back{white-space:nowrap;flex:0 0 auto;border:0;border-radius:999px;padding:7px 13px;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html body .mr-top :is(.mr-back,b){color:#fff!important;-webkit-text-fill-color:#fff!important}
.mr-top b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mr-view{flex:1;display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;padding:0 4px}
.mr-stage{position:relative;width:min(100%,560px,calc((100dvh - 150px) * 1199 / 1312));transform-origin:0 0;transition:transform .7s cubic-bezier(.3,.8,.3,1);will-change:transform}
.mr-bg,.mr-svg{position:absolute;inset:0;width:100%;height:100%}
.mr-bg{pointer-events:none;-webkit-user-drag:none;user-select:none}
.mr-svg{overflow:visible}
.mr-pix{image-rendering:pixelated}
.mr-hit{fill:transparent;cursor:pointer;outline:none}
.mr-hit:focus-visible{fill:rgba(255,230,160,.22);stroke:#ffd27a;stroke-width:2}
.mr-hit:active{fill:rgba(255,236,190,.18)}
.mr-paper{fill:#f6ecd8}
.mr-li{font:600 14px "Comic Sans MS","Segoe Print","Bradley Hand",cursive,system-ui;fill:#3b2c18}
.mr-li.done{fill:#5f7a35}
.mr-li.more{fill:#8b7550;font-weight:500}
.mr-card-ph{fill:#efe2c6}
.mr-card-t{font:700 9px system-ui,sans-serif;fill:#3b2c18;text-anchor:middle}
.mr-card-ok{font:900 11px system-ui;fill:#5f7a35;text-anchor:end}
.mr-pdf{fill:#b3261e}
.mr-pdf-t{font:800 7.5px system-ui;fill:#fff;text-anchor:middle}
.mr-sofa{pointer-events:none}
.mr-hint{margin:0;padding:6px 16px calc(env(safe-area-inset-bottom,0px) + 12px);text-align:center;font-size:12.5px;opacity:.85}
/* panneaux (taille fixe, au-dessus de la pièce) */
.sheet-backdrop,.sheet{z-index:60}
.mr-show{display:flex;flex-direction:column;gap:8px}
.mr-show-img{position:relative;border:0;padding:0;border-radius:16px;overflow:hidden;background:none;cursor:zoom-in}
.mr-show-img img{display:block;width:100%;max-height:46vh;object-fit:contain;background:rgba(0,0,0,.15)}
.mr-show-img span{position:absolute;right:8px;bottom:8px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:600;background:rgba(0,0,0,.45)}
.mr-meta{font-size:12.5px;opacity:.8;margin:2px 0}
.mr-desc{font-size:14.5px;margin:4px 0}
.mr-form{display:flex;flex-direction:column;gap:8px}
.mr-lab{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;letter-spacing:.03em;flex:1;min-width:0}
.mr-lab .input{font-weight:500;letter-spacing:0}
.mr-chk{font-size:13.5px;display:flex;align-items:center;gap:6px}
.mr-busy{font-size:13px;opacity:.85}
.mr-steps{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}
.mr-steps button{border:0;border-radius:12px;padding:8px;font:inherit;font-size:13px;font-weight:600;background:rgba(255,255,255,.12);color:inherit;cursor:pointer}
.mr-steps button.on{background:rgba(255,255,255,.9)}
html body .mr-steps button.on{color:#14203a!important;-webkit-text-fill-color:#14203a!important}
.mr-voy h3{margin:6px 0 2px;font-size:19px}
.mr-voy-img{width:100%;max-height:30vh;object-fit:cover;border-radius:14px}
.mr-list{display:flex;flex-direction:column;gap:6px;margin:6px 0 10px}
.mr-li-btn{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;border-radius:12px;padding:9px 12px;font:inherit;text-align:left;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);color:inherit;cursor:pointer}
.mr-li-btn small{opacity:.75;font-size:12px}
.mr-li-btn.done b{opacity:.85}
.mr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.mr-tile{border:0;padding:0;background:rgba(255,255,255,.1);border-radius:12px;overflow:hidden;color:inherit;font:inherit;cursor:pointer;display:flex;flex-direction:column}
.mr-tile img{width:100%;aspect-ratio:1;object-fit:cover}
.mr-tile span{font-size:32px;aspect-ratio:1;display:grid;place-items:center}
.mr-tile small{font-size:11px;padding:4px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}select,button){background:#f2e3c4!important;border:1px solid #b88a4f!important;border-radius:10px;padding:6px 8px;font:inherit;font-size:13px;min-width:0}textarea){background:rgba(255,250,235,.7)!important;border:1px dashed #b88a4f!important;border-radius:8px;padding:8px;font:inherit}
/* Journal : pages du cahier et photos souvenirs */
.alb-photo img{width:100%;height:100%;object-fit:cover}
.alb-page{background:radial-gradient(ellipse at 30% 20%,#fbf1dc,#e9d3a8)}
@media (prefers-reduced-motion:reduce){.mr-stage{transition:none}}
/* ===== Les mots du cœur / Une nouvelle page pour toi ===== */
/* ouverture du cahier depuis une notification : courte{animation:mem-book .45s cubic-bezier(.2,.9,.3,1) both;transform-origin:0 50%}




/* alertes : petite icône distinctive{filter:drop-shadow(0 0 4px rgba(255,140,180,.6))}b,label,p,small){font-size:13.5px;font-style:normal;line-height:1.4}

/* ===== DR v17 — Living Interface ===== */
/* objets posés dans la scène (repère de la map, suivent le cadrage) */
.liv-obj{position:absolute;pointer-events:none;object-fit:contain;object-position:50% 100%;-webkit-user-drag:none;image-rendering:auto}
.liv-ctx{animation:liv-in .9s ease-out both}
@keyframes liv-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
/* lumière du four (cuisson déclarée), masquée à la vitre du four */
.liv-oven{position:absolute;pointer-events:none;background:radial-gradient(40% 30% at 73% 22%,rgba(255,170,70,.55),rgba(255,120,40,.15) 70%,transparent);mix-blend-mode:screen;animation:liv-oven 4s ease-in-out infinite}
@keyframes liv-oven{0%,100%{opacity:.55}50%{opacity:.9}}
/* effets d'événements : 500 à 1500 ms, transformations et opacité seulement */
.liv-fx{position:absolute;pointer-events:none;object-fit:contain}
.liv-fx.rise{animation:liv-rise 1.3s ease-out both}
@keyframes liv-rise{0%{opacity:0;transform:translateY(6px) scale(.6)}25%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-16px) scale(.9)}}
.liv-fx.twinkle{animation:liv-twinkle 1.2s ease-out both}
@keyframes liv-twinkle{0%{opacity:0;transform:scale(.4) rotate(-15deg)}35%{opacity:1;transform:scale(1.1) rotate(0)}70%{opacity:1;transform:scale(.95)}100%{opacity:0;transform:scale(.8)}}
.liv-fx.drift{animation:liv-drift 1.5s ease-out both}
@keyframes liv-drift{0%{opacity:0;transform:translateX(-4px)}30%{opacity:.95}100%{opacity:0;transform:translateX(6px)}}


.liv-soft{border-radius:50%;background:radial-gradient(closest-side,rgba(255,236,190,.42),rgba(255,226,170,.12) 60%,transparent);animation:liv-soft 1.5s ease-in-out both}
@keyframes liv-soft{0%,100%{opacity:0}40%,60%{opacity:1}}
.liv-sheen{position:absolute;pointer-events:none;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.75) 50%,transparent 65%) no-repeat;background-size:300% 100%;animation:liv-sheen 1.2s ease-in-out both}
@keyframes liv-sheen{from{background-position:100% 0}to{background-position:0 0}}
.liv-fx.meet-l{animation:liv-meet-l 1.4s ease-in-out both}.liv-fx.meet-r{animation:liv-meet-r 1.4s ease-in-out both}
@keyframes liv-meet-l{0%{opacity:0}30%{opacity:.9}100%{opacity:0;transform:translate(9px,-10px)}}
@keyframes liv-meet-r{0%{opacity:0}30%{opacity:.9}100%{opacity:0;transform:translate(-9px,-10px)}}
/* plaques existantes : accent bref (aucun déplacement) */
@keyframes liv-beat{0%,100%{transform:scale(1)}15%{transform:scale(1.25)}30%{transform:scale(.95)}45%{transform:scale(1.18)}60%{transform:scale(1)}}
/* ambiance : pergola, salle de bain, chambre */
.liv-amb{position:absolute;pointer-events:none}
.liv-clip{display:block}
.liv-bfly{position:absolute;animation:liv-bfly 9s ease-in-out both}
.liv-bfly img{width:100%;height:100%;animation:liv-flap .28s steps(2) infinite;transform-origin:50% 50%}
@keyframes liv-flap{50%{transform:scaleX(.45)}}
@keyframes liv-bfly{0%{opacity:0;transform:translate(0,0)}8%{opacity:1}30%{transform:translate(6.5cqw,-3cqw)}55%{transform:translate(12cqw,-1cqw)}80%{transform:translate(17cqw,-4cqw);opacity:1}100%{transform:translate(21cqw,-2cqw);opacity:0}}
.liv-petal{position:absolute;opacity:0;animation:liv-petal 3.4s ease-in both}
@keyframes liv-petal{0%{opacity:0;transform:translate(0,0) rotate(0)}15%{opacity:.95}100%{opacity:0;transform:translate(-1.2cqw,6cqw) rotate(200deg)}}
.liv-leaf{position:absolute;animation:liv-leaf 4.4s ease-in both}
@keyframes liv-leaf{0%{opacity:0;transform:translate(0,0) rotate(0)}12%{opacity:1}100%{opacity:0;transform:translate(2.2cqw,5cqw) rotate(120deg)}}
.liv-firefly{position:absolute;border-radius:50%;background:radial-gradient(closest-side,#fff7b0,rgba(255,236,120,.7) 45%,transparent);opacity:0;animation:liv-firefly 4s ease-in-out 3 both}
@keyframes liv-firefly{0%,100%{opacity:0;transform:translate(0,0)}40%{opacity:1;transform:translate(.6cqw,-.8cqw)}70%{opacity:.6;transform:translate(1.1cqw,-.2cqw)}}
.liv-bubbles{position:absolute;animation:liv-bub 2.5s ease-out both}
@keyframes liv-bub{0%{opacity:0;transform:translateY(0) scale(.6)}30%{opacity:.9}100%{opacity:0;transform:translateY(-3cqw) scale(1)}}
.liv-glint{position:absolute;pointer-events:none;overflow:hidden;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.8) 46%,transparent 60%) no-repeat;background-size:300% 100%;animation:liv-sheen 1.3s ease-in-out both}
.liv-glint.oval{border-radius:50%}
/* ciel : derrière la maison (premier calque de la scène) */
.liv-sky{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.liv-bird{position:absolute;width:1.9%;height:1%;animation:liv-bird 7s linear both}
.liv-bird i{position:absolute;inset:0;background:url(/house/living/sky_oiseau_a.png) center/contain no-repeat;animation:liv-wing .5s steps(1) infinite}
@keyframes liv-wing{50%{background-image:url(/house/living/sky_oiseau_b.png)}}
@keyframes liv-bird{0%{transform:translate(0,0);opacity:0}6%{opacity:.85}50%{transform:translate(28cqw,-1.2cqw)}94%{opacity:.85}100%{transform:translate(56cqw,.6cqw);opacity:0}}
.liv-cloud{position:absolute;top:5.5%;left:-14%;width:16%;height:4%;border-radius:999px;background:radial-gradient(ellipse 40% 60% at 35% 60%,rgba(255,255,255,.55),transparent 70%),radial-gradient(ellipse 35% 55% at 65% 45%,rgba(255,255,255,.5),transparent 70%);animation:liv-cloud 26s linear both}
@keyframes liv-cloud{0%{opacity:0;transform:none}10%{opacity:.8}90%{opacity:.8}100%{opacity:0;transform:translateX(70cqw)}}
.liv-ray{position:absolute;top:6%;left:4%;width:40%;height:20%;background:linear-gradient(118deg,transparent 30%,rgba(255,236,190,.22) 45%,transparent 62%);transform-origin:0 0;animation:liv-ray 6.5s ease-in-out both}
@keyframes liv-ray{0%,100%{opacity:0}35%,65%{opacity:1}}
.liv-shoot{position:absolute;top:6%;left:12%;width:9%;height:.25%;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95));transform:rotate(14deg);transform-origin:100% 50%;animation:liv-shoot 1.2s ease-out both}
@keyframes liv-shoot{0%{opacity:0;transform:rotate(14deg) translateX(0) scaleX(.3)}20%{opacity:1}100%{opacity:0;transform:rotate(14deg) translateX(18cqw) scaleX(1)}}
.liv-star{position:absolute;width:.6%;height:.45%;border-radius:50%;background:#fffbe6;box-shadow:0 0 4px 1px rgba(255,250,220,.7);opacity:0;animation:liv-star 4s ease-in-out 4 both}
@keyframes liv-star{0%,100%{opacity:0}50%{opacity:.9}}
/* Drobo : accessoires et expressions dans son propre repère (suivent son flottement et son regard) */
.liv-acc{position:absolute;pointer-events:none;opacity:0;transition:opacity .35s;-webkit-user-drag:none}
.liv-acc.on{opacity:1}
.liv-emote{position:absolute;pointer-events:none;animation:liv-emote 1.4s ease-out both}
@keyframes liv-emote{0%{opacity:0;transform:translateY(8%) scale(.5)}25%{opacity:1;transform:scale(1.05)}75%{opacity:1;transform:translateY(-6%)}100%{opacity:0;transform:translateY(-14%) scale(.9)}}
.dh-bot.liv-hop .dh-bot-in{animation:dh-bot-float 4.2s ease-in-out infinite,liv-hop .5s cubic-bezier(.3,1.6,.5,1) 1}
@keyframes liv-hop{0%,100%{translate:0 0}40%{translate:0 -4%}70%{translate:0 .6%}}
.dh-bot.liv-antblink .dh-bot-ant{animation:liv-ant .9s steps(2) 1!important;opacity:1}
@keyframes liv-ant{0%,100%{opacity:.35}25%,75%{opacity:1}50%{opacity:.2}}
/* loupe : la scène entière bouge d'un bloc ; les bulles se replacent après le mouvement */
.dh-house{touch-action:manipulation}
.dh-house.liv-zooming .dh-stage{transition:transform .5s cubic-bezier(.3,.8,.3,1)!important}
.dh-house.liv-zooming :is(.dh-bw,.dh-links,.dh-botb){opacity:0!important;transition:none}
.dh-house.liv-loupe .dh-bw,.dh-house.liv-loupe .dh-links{transition:opacity .25s}
.liv-chip{position:absolute;z-index:6;border:1px solid rgba(255,255,255,.6);border-radius:999px;padding:7px 12px;font:600 13px/1.1 inherit;color:#172b40!important;-webkit-text-fill-color:#172b40!important;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.55));-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 6px 16px rgba(10,30,70,.18);cursor:pointer;animation:liv-in .3s ease-out both}
.liv-back{top:8px;right:10px}
/* panneau des objets (petit, en bas : la maison reste visible pour voir la place proposée) */
@keyframes liv-up{from{transform:translateY(16px);opacity:0}}
/* Liquid Glass : pression, reflet, retour souple (120 à 220 ms) — sur les boutons existants, sans les déplacer */
.fv-item.liv-press .fv-ico{animation:liv-press .22s cubic-bezier(.3,1.4,.5,1)}
@keyframes liv-press{0%{transform:scale(1)}40%{transform:scale(.9);filter:brightness(1.18)}100%{transform:scale(1)}}
.fv-item .fv-ico::after{content:"";position:absolute;inset:-6px;border-radius:50%;background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%) no-repeat;background-size:300% 100%;background-position:100% 0;opacity:0;pointer-events:none}
.fv-item.liv-press .fv-ico::after{animation:liv-glass .22s ease-out}
@keyframes liv-glass{0%{opacity:0;background-position:100% 0}30%{opacity:1}100%{opacity:0;background-position:0 0}}
.state-fab-circle svg{transition:transform .2s cubic-bezier(.3,1.4,.5,1)}
.state-fab-circle.liv-press svg,.fv-cta button.liv-press .state-fab-circle svg{transform:rotate(90deg)}
.fv-item.liv-ring .fv-ico svg{animation:liv-bell .8s ease-in-out;transform-origin:50% 10%}
@keyframes liv-bell{0%,100%{transform:rotate(0)}15%{transform:rotate(14deg)}30%{transform:rotate(-12deg)}45%{transform:rotate(8deg)}60%{transform:rotate(-5deg)}75%{transform:rotate(2deg)}}
.dh-addmo.liv-press .dh-addmo-i{animation:liv-plus .22s ease-out}
@keyframes liv-plus{50%{transform:rotate(90deg) scale(1.12);filter:brightness(1.1)}}
.dh-addmo{background-image:linear-gradient(120deg,transparent 40%,rgba(255,255,255,.0) 50%,transparent 60%)}
.dh-addmo.liv-press{background-image:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.65) 50%,transparent 65%);background-size:300% 100%;background-repeat:no-repeat;animation:liv-glass-bg .22s ease-out}
@keyframes liv-glass-bg{from{background-position:100% 0}to{background-position:0 0}}
/* mode débogage (localStorage dr.debug = "1") */
.liv-debug{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}
.liv-debug .dbg-walk{fill:rgba(60,220,90,.18);stroke:#2fbf55;stroke-width:2}
.liv-debug .dbg-block{fill:rgba(240,60,60,.2);stroke:#e03a3a;stroke-width:2}
.liv-debug .dbg-surf{fill:rgba(60,140,255,.2);stroke:#3a7bea;stroke-width:2}
.liv-debug .dbg-keep{fill:rgba(255,150,0,.25);stroke:#f08c00;stroke-width:1.5;stroke-dasharray:4 3}
.liv-debug .dbg-fx{fill:rgba(200,80,255,.18);stroke:#b04fe0;stroke-width:1.5}
.liv-debug .dbg-occ{fill:rgba(0,0,0,.25);stroke:#000;stroke-width:2;stroke-dasharray:6 3}
.liv-debug .dbg-sky{fill:rgba(255,255,255,.12);stroke:#fff;stroke-width:1.5;stroke-dasharray:8 4}
.liv-debug .dbg-spot{fill:#ffd400;stroke:#000;stroke-width:1.5}
.liv-debug .dbg-slot{fill:#00e0ff;stroke:#003;stroke-width:1}
.liv-debug .dbg-attn{fill:#ff5ab4;stroke:#300;stroke-width:1}
.liv-debug .dbg-ctx{fill:#fff;stroke:#b04fe0;stroke-width:2}
.liv-debug .dbg-anchor{fill:#b04fe0}
.liv-debug .dbg-robot{fill:none;stroke:#ffd400;stroke-width:2;stroke-dasharray:5 3}
.liv-debug .dbg-robotzone{fill:rgba(255,212,0,.45);stroke:#a08000}
.liv-debug .dbg-t{font:bold 13px sans-serif;fill:#fff;paint-order:stroke;stroke:#000;stroke-width:3}
/* appli cachée : tout s'arrête (la maison passe déjà en .paused) ; « Réduire les animations » : rien ne bouge */
.dh-house.paused :is(.liv-sky,.liv-amb,.liv-fx) *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){
  .liv-sky,.liv-amb,.liv-fx,.liv-emote{display:none!important}
  .liv-ctx,.liv-oven,.liv-chip{animation:none!important}
  .dh-bot.liv-hop .dh-bot-in,.dh-bot.liv-antblink .dh-bot-ant{animation:none!important}
  .state-fab-circle svg,.dh-house.liv-zooming .dh-stage{transition:none!important}
}

.dh-sheet-loupe{margin-left:auto;margin-right:8px;border:1px solid rgba(23,43,64,.15);border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.7);font:600 12.5px/1 inherit;cursor:pointer}

/* ===== DR v18 — la bibliothèque du salon ouvre Notre Livre de Souvenirs ===== */
.dh-shelf{position:absolute;padding:0;margin:0;border:0;background:none;cursor:pointer;z-index:1;-webkit-tap-highlight-color:transparent;pointer-events:none}
.dh-shelf-hit{position:absolute;inset:0;display:block;overflow:hidden;pointer-events:auto}
.dh-shelf-sheen{position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,226,140,.0) 40%,rgba(255,226,140,.75) 50%,rgba(255,226,140,0) 60%,transparent 70%) no-repeat;background-size:300% 100%;background-position:100% 0;opacity:0;mix-blend-mode:screen}
.dh-shelf.tap .dh-shelf-sheen{animation:shelf-sheen .45s ease-out}
@keyframes shelf-sheen{0%{opacity:0;background-position:100% 0}25%{opacity:1}100%{opacity:0;background-position:0 0}}
.dh-shelf-spark{position:absolute;width:7%;aspect-ratio:1;margin:-3.5% 0 0 -3.5%;border-radius:50%;background:radial-gradient(closest-side,#fff6c8,rgba(255,214,110,.8) 45%,transparent);opacity:0;pointer-events:none}
.dh-shelf.tap .dh-shelf-spark{animation:shelf-spark .42s ease-out both}
@keyframes shelf-spark{0%{opacity:0;transform:scale(.3)}40%{opacity:1;transform:scale(1.1) translateY(-10%)}100%{opacity:0;transform:scale(.7) translateY(-40%)}}
/* nouvelle page de l'autre : une petite étoile posée sur le rayon du haut (apparition douce, puis immobile ; aucun clignotement) */
.dh-shelf-star{position:absolute;width:20%;pointer-events:none;filter:drop-shadow(0 0 3px rgba(255,214,110,.8));animation:shelf-star .6s ease-out both}
@keyframes shelf-star{0%{opacity:0;transform:scale(.4)}60%{opacity:1;transform:scale(1.15)}100%{opacity:.92;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.dh-shelf-sheen,.dh-shelf-spark,.dh-shelf-star{animation:none!important}.dh-shelf-star{opacity:.92}}

/* ===== DR v21 — Ma tenue (Notre espace) ===== */
.dr-tenue-row{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.dr-tenue-opt{flex:0 0 108px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px 9px!important;height:auto!important;min-height:0!important;border:0;border-radius:18px!important;background:rgba(255,249,239,.9)!important;box-shadow:inset 0 0 0 1.5px rgba(133,154,117,.35),0 1px 3px rgba(48,42,36,.1)!important;cursor:pointer;transition:transform .15s}
.dr-tenue-opt:active{transform:scale(.97)}
.dr-tenue-opt.on{box-shadow:inset 0 0 0 2.5px #859A75,0 2px 8px rgba(52,76,57,.25)!important}
.dr-tenue-img{display:grid;place-items:end center;width:84px;height:118px;border-radius:12px;background:linear-gradient(180deg,#e6eef5,#d6e2ec)}
.dr-tenue-img img{max-width:76px!important;max-height:110px!important;width:auto!important;height:auto!important;object-fit:contain}
html body .dr-tenue-lab{font-size:12.5px;font-weight:700;line-height:1.2;text-align:center;color:#302A24!important;-webkit-text-fill-color:#302A24!important}
.dr-tenue-opt.on .dr-tenue-lab::before{content:"✓ ";color:#4f6a45!important;-webkit-text-fill-color:#4f6a45!important}
.dr-tenue-other{margin:2px 4px 0;font-size:12.5px;opacity:.75}
@media (prefers-reduced-motion:reduce){.dr-tenue-opt{transition:none}}


/* ===== DR v24 — Home Life ===== calques décoratifs : jamais de toucher ; zones tactiles : boutons transparents */
.hl-obj{position:absolute;pointer-events:none;object-fit:fill;-webkit-user-drag:none;user-select:none;animation:hl-in .26s ease-out both}   /* v27 : apparition 260 ms */
.hl-obj.hl-dim,.hl-hit.hl-dim img,.hl-bloom.hl-dim{filter:brightness(.55) saturate(.8)}
.hl-bed{object-fit:fill;opacity:.95}
.hl-hit{position:absolute;padding:0;margin:0;border:0;background:none;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:pan-y;border-radius:40%}
.hl-hit:focus-visible{outline:2px solid #ffd76a;outline-offset:1px}
.hl-hit img{position:absolute;pointer-events:none}
/* une seule action mise en évidence : léger halo doré, respiration lente */
.hl-hit.hl-hint::after{content:"";position:absolute;left:12%;right:12%;top:24%;bottom:6%;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,226,140,.38),rgba(255,214,110,.12) 60%,transparent);animation:hl-hint 3.4s ease-in-out infinite}
.hl-badge{left:50%;top:-6%;width:62%;height:auto;transform:translateX(-50%);filter:drop-shadow(0 1px 1px rgba(40,30,10,.35));animation:hl-bob 3s ease-in-out infinite}
.hl-badge.up{top:-38%;width:46%}
.hl-badgebtn .hl-badge{top:0;width:100%}
.hl-batbtn .hl-bat{left:0;top:0;width:100%;height:auto;animation:hl-blink 1.8s steps(2) infinite}
/* vapeur : quelques pixels de montée, opacité modérée, boucle courte */
.hl-steam{position:absolute;pointer-events:none}
.hl-steam img{position:absolute;left:0;bottom:0;width:100%;opacity:0;animation:hl-steam 2.2s ease-in-out infinite}
.hl-steam img+img{left:28%;animation-delay:-1.1s}
.hl-steam.s1 img{animation-duration:2.6s;animation-name:hl-steam-soft}
.hl-heat{position:absolute;pointer-events:none;opacity:.35;animation:hl-heat 1.8s ease-in-out infinite}
/* gouttes du robinet : apparaissent au bec, descendent, disparaissent (deux éléments au plus) */
.hl-drip{position:absolute;pointer-events:none}
.hl-drip i{position:absolute;left:25%;top:0;width:50%;height:22%;border-radius:50% 50% 50% 50%/40% 40% 60% 60%;background:linear-gradient(#d9f1ff,#7cc3ec);box-shadow:0 0 1px rgba(0,60,110,.5);opacity:0;animation:hl-drip 1.15s ease-in infinite}
.hl-drip i+i{animation-delay:-.57s}
.hl-drip.fast i{animation-duration:.72s}
.hl-drip.still i{animation:none;opacity:.85;top:10%}
.hl-drip.still i+i{display:none}
/* buée : calque du pack découpé à la forme ovale du miroir */
.hl-fog{position:absolute;pointer-events:none;border-radius:50%;background:url(/house/homelife/buee.webp) center/cover,radial-gradient(ellipse at 50% 45%,rgba(240,248,255,.42),rgba(225,238,248,.3) 70%,rgba(225,238,248,.12));transition:opacity 1.2s}
.hl-fog.hl-dim{filter:brightness(.42) saturate(.7)}
/* pannes : lampe éteinte (l'abat-jour perd sa lumière), lanterne faible, trace sur le four */
.hl-lampoff{position:absolute;pointer-events:none;border-radius:50% 50% 46% 46%;background:radial-gradient(ellipse at 50% 35%,rgba(70,58,40,.78),rgba(60,50,35,.5) 55%,transparent 78%);mix-blend-mode:multiply}
.hl-lampoff:not(.still){animation:hl-flick 5s steps(1) infinite}
.hl-lantdim{position:absolute;pointer-events:none;background:rgba(40,28,14,.72);mix-blend-mode:multiply}
.hl-lantdim:not(.still){animation:hl-lant 2.6s ease-in-out infinite}
.hl-smudge{position:absolute;pointer-events:none;background:radial-gradient(ellipse 30% 22% at 38% 55%,rgba(50,42,34,.7),transparent 72%),radial-gradient(ellipse 18% 12% at 62% 40%,rgba(50,42,34,.55),transparent 72%)}
/* feuilles mortes : brise locale de 1 à 2 px, bornée au plancher */
.hl-obj.sway{animation:hl-in .5s ease-out both,hl-sway 4.5s ease-in-out 1s infinite}
.hl-bloom{animation:hl-bloom .9s cubic-bezier(.3,1.5,.5,1) both}
/* fin d'action : petit éclat (300 à 500 ms), objet qui s'efface sur place */
.hl-burst{position:absolute;pointer-events:none}
.hl-burst img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;animation:hl-burst .6s ease-out both}
.hl-burst img.b2{animation-delay:.12s;transform:scale(.7)}
.hl-burst.water img{animation:hl-water .8s ease-in both}
.hl-burst.charge img{animation:hl-charge .9s ease-out both}
.hl-burst.light img{animation:hl-light .8s ease-out both}
.hl-burst.pop img{animation:hl-pop .35s ease-out both}
/* papillon, moustique, bulle : frames alternées, trajectoire bornée */
.hl-bfly,.hl-mosq,.hl-bubble{position:absolute;padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent;z-index:2}
.hl-bfly-in,.hl-mosq-in{position:absolute;left:30%;top:30%;width:40%;height:40%}
.hl-bfly-in img,.hl-mosq-in img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}
.hl-bfly-in img{animation:hl-f5 .6s steps(1) infinite}
.hl-bfly-in{animation:hl-land 1.4s ease-out both}
.hl-bfly.leave .hl-bfly-in{animation:hl-flyoff 1.2s ease-in both}
.hl-mosq-in img{animation:hl-f4 .36s steps(1) infinite}
.hl-mosq-in{animation:hl-buzz 2.4s ease-in-out infinite}
.hl-mosq.hit1 .hl-mosq-in{animation-duration:1.2s}
.hl-mosq.leave .hl-mosq-in{animation:hl-flyoff 0.7s ease-in both}
.hl-bubble img{position:absolute;left:25%;top:25%;width:50%;height:50%;animation:hl-float 3.6s ease-in-out infinite;opacity:.9}
/* mini-pop-up : papier pixel + verre, au plus près de l'objet */
.hl-pop{position:absolute;z-index:12;box-sizing:border-box;padding:9px 10px 10px;border-radius:16px;font-size:13px;line-height:1.25;
  background:linear-gradient(165deg,rgba(255,251,240,.96),rgba(250,242,222,.9));-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1px rgba(120,96,50,.22),0 8px 20px rgba(40,30,10,.22);transform:translateY(-100%);animation:hl-pop-in .18s ease-out both}
.hl-pop.below{transform:none}
.hl-pop::after{content:"";position:absolute;left:var(--tail);bottom:-5px;width:10px;height:10px;margin-left:-5px;background:#faf2de;transform:rotate(45deg);box-shadow:1px 1px 0 rgba(120,96,50,.22);border-radius:0 0 2px 0}
.hl-pop.below::after{bottom:auto;top:-5px;background:#fffbf0;box-shadow:-1px -1px 0 rgba(120,96,50,.18)}
.hl-pop-h{display:flex;align-items:center;gap:8px;font-weight:600;color:#3a2e1c!important;-webkit-text-fill-color:#3a2e1c!important}
.hl-pop-h img{width:28px;height:28px;object-fit:contain;flex:none;image-rendering:auto}
.hl-pop-b{display:flex;gap:6px;margin-top:8px}
.hl-pop-b button{flex:1;min-height:36px;border:0;border-radius:11px;font:inherit;font-weight:700;font-size:13px;cursor:pointer}
.hl-pop-go{background:linear-gradient(#7fa63a,#5f8a24);color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 1px 0 #3f5e16}
.hl-pop-later{background:rgba(90,70,30,.08);color:#5a4a2e!important;-webkit-text-fill-color:#5a4a2e!important}
.hl-pop-b button:focus-visible{outline:2px solid #e2a92c;outline-offset:2px}
/* Drobo : batterie faible (antenne moins lumineuse), recharge sur place */
.dh-bot.hl-lowbat .dh-bot-ant{opacity:.18!important;filter:grayscale(.7)}
.dh-bot.hl-charging .dh-bot-ant{animation:hl-antup 2.4s ease-out both!important;opacity:1!important}
.dh-bot.hl-charging .dh-bot-in{animation:hl-hop .5s ease-out 2}
/* fiche de pièce : petites choses à faire (alternative accessible au toucher précis et au glissement) */
.hl-todo{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hl-todo>small{flex-basis:100%;font-size:12px;font-weight:700;letter-spacing:.02em;color:#5a6478!important;-webkit-text-fill-color:#5a6478!important}
.hl-todo-b img{width:20px;height:20px;vertical-align:-5px;object-fit:contain}
/* Ndekki : sélection facultative */
.hl-ndk{margin:4px 0 14px}
.hl-ndk-h{font-size:13px;font-weight:700;margin:0 0 8px;opacity:.8}
.hl-ndk-g{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.hl-ndk-i{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px 5px;border-radius:12px;border:1px solid rgba(120,100,60,.18);background:rgba(255,255,255,.6);font:inherit;font-size:11px;line-height:1.1;cursor:pointer;color:inherit}
.hl-ndk-i img{width:34px;height:34px;object-fit:contain}
.hl-ndk-i.on{background:#fff6d8;border-color:#d9a43a;box-shadow:0 0 0 2px rgba(217,164,58,.35)}
.hl-ingmini{display:flex;align-items:center;gap:2px;margin-top:3px}
.hl-ingmini img{width:18px;height:18px;object-fit:contain;border-radius:5px;background:rgba(255,255,255,.75)}
.hl-ingmini small{font-size:10px;opacity:.8}
/* mini-jeu Ataya : petite carte, pas de grand écran */
.hl-ataya-wrap{position:fixed;inset:0;z-index:72;display:flex;align-items:flex-end;justify-content:center;background:rgba(20,14,4,.18)}
.hl-ataya{width:min(92vw,300px);margin:0 0 calc(env(safe-area-inset-bottom,0px) + 86px);padding:10px 12px 12px;border-radius:20px;box-sizing:border-box;
  background:linear-gradient(165deg,rgba(255,251,240,.97),rgba(248,238,214,.93));box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(120,96,50,.2),0 14px 30px rgba(40,30,10,.28);animation:hl-pop-in .2s ease-out both;color:#3a2e1c}
.hl-ataya-h{display:flex;justify-content:space-between;align-items:center}
.hl-ataya-h b{color:#3a2e1c!important;-webkit-text-fill-color:#3a2e1c!important}
.hl-ataya-x{width:30px;height:30px;border-radius:50%;border:0;background:rgba(90,70,30,.1);cursor:pointer;color:#3a2e1c!important;-webkit-text-fill-color:#3a2e1c!important}
.hl-ataya-stage{position:relative;width:174px;height:206px;margin:2px auto 0;transform:scale(.9);transform-origin:50% 0}
.hl-ataya-pot{position:absolute;left:0;top:0;width:138px;height:127px;image-rendering:pixelated}
.hl-ataya-pot.pour{animation:hl-pour .5s ease-in-out infinite alternate}
.hl-ataya-glass{position:absolute;left:84px;top:102px;width:80px;height:93px;image-rendering:pixelated}
.hl-ataya-star{position:absolute;left:96px;top:70px;width:56px;animation:hl-burst .8s ease-out both}
.hl-ataya-drops{position:absolute;left:104px;top:178px;width:44px;animation:hl-water .8s ease-in both}
.hl-ataya-stage.win .hl-ataya-glass{animation:hl-hop .45s ease-out 2}
.hl-ataya-msg{margin:-12px 0 8px;text-align:center;font-weight:600;font-size:14px;color:#3a2e1c!important;-webkit-text-fill-color:#3a2e1c!important}
.hl-ataya-btn{display:block;width:100%;min-height:46px;border:0;border-radius:14px;font:inherit;font-weight:800;font-size:15px;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;
  background:linear-gradient(#e0a43c,#c6831f);color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 2px 0 #8a5a12}
.hl-ataya-btn.hold:active{transform:translateY(1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 0 #8a5a12}
.hl-ataya-note{display:block;text-align:center;margin-top:6px;font-size:11px;opacity:.7}
.dh-sheet-ataya{margin-top:10px}
@keyframes hl-in{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}
@keyframes hl-hint{0%,100%{opacity:.35;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}
@keyframes hl-bob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-6%)}}
@keyframes hl-blink{0%{opacity:1}50%{opacity:.45}}
@keyframes hl-steam{0%{opacity:0;transform:translateY(20%) scale(.8)}35%{opacity:.7}100%{opacity:0;transform:translateY(-45%) scale(1.05)}}
@keyframes hl-steam-soft{0%{opacity:0;transform:translateY(20%) scale(.7)}40%{opacity:.4}100%{opacity:0;transform:translateY(-35%) scale(.9)}}
@keyframes hl-heat{0%,100%{opacity:.18;transform:translateY(0)}50%{opacity:.4;transform:translateY(-6%)}}
@keyframes hl-drip{0%{opacity:0;transform:translateY(0) scale(.6)}15%{opacity:1;transform:translateY(0) scale(1)}80%{opacity:1;transform:translateY(340%)}100%{opacity:0;transform:translateY(380%) scale(1.4,.5)}}
@keyframes hl-flick{0%,100%{opacity:1}46%{opacity:.6}47%{opacity:1}72%{opacity:.75}73%{opacity:1}}
@keyframes hl-lant{0%,100%{opacity:1}50%{opacity:.7}}
@keyframes hl-sway{0%,100%{transform:translateX(0) rotate(0)}50%{transform:translateX(1.5px) rotate(2deg)}}
@keyframes hl-bloom{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:none}}
@keyframes hl-burst{0%{opacity:0;transform:scale(.4)}35%{opacity:1;transform:scale(1.1)}100%{opacity:0;transform:scale(1.25) translateY(-10%)}}
@keyframes hl-water{0%{opacity:0;transform:translateY(-40%)}30%{opacity:1}100%{opacity:0;transform:translateY(25%)}}
@keyframes hl-charge{0%{opacity:0;transform:scale(.6)}25%{opacity:1;transform:scale(1)}80%{opacity:1}100%{opacity:0;transform:translateY(-20%)}}
@keyframes hl-light{0%{opacity:0;transform:scale(.6)}30%{opacity:1;filter:drop-shadow(0 0 6px #ffe48a)}100%{opacity:0;transform:translateY(-25%)}}
@keyframes hl-pop{0%{opacity:1;transform:scale(.6)}100%{opacity:0;transform:scale(1.5)}}
@keyframes hl-f5{0%{opacity:1}100%{opacity:1}}
@keyframes hl-f4{0%{opacity:1}100%{opacity:1}}
@keyframes hl-land{from{opacity:0;transform:translate(-60%,-80%) rotate(-12deg)}to{opacity:1;transform:none}}
@keyframes hl-flyoff{to{opacity:0;transform:translate(140%,90%) rotate(14deg)}}
@keyframes hl-buzz{0%,100%{transform:translate(0,0)}20%{transform:translate(30%,-25%)}45%{transform:translate(-25%,-10%)}70%{transform:translate(20%,20%)}85%{transform:translate(-15%,10%)}}
@keyframes hl-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-25%)}}
@keyframes hl-pop-in{from{opacity:0}to{opacity:1}}
@keyframes hl-antup{0%{opacity:.2;transform:scale(.6)}60%{opacity:1;transform:scale(1.6)}100%{opacity:1;transform:scale(1)}}
@keyframes hl-hop{0%,100%{transform:translateY(0)}40%{transform:translateY(-6%)}}
@keyframes hl-pour{from{transform:rotate(0)}to{transform:rotate(2deg)}}
/* frames : chaque image n'est visible que pendant sa tranche (alternance sans JavaScript) */
.hl-bfly-in img{animation-name:none}
.hl-bfly-in img:nth-child(1){animation:hl-fr5a .6s steps(1) infinite}.hl-bfly-in img:nth-child(2){animation:hl-fr5b .6s steps(1) infinite}.hl-bfly-in img:nth-child(3){animation:hl-fr5c .6s steps(1) infinite}
.hl-bfly-in img:nth-child(4){animation:hl-fr5d .6s steps(1) infinite}.hl-bfly-in img:nth-child(5){animation:hl-fr5e .6s steps(1) infinite}
.hl-mosq-in img:nth-child(1){animation:hl-fr4a .36s steps(1) infinite}.hl-mosq-in img:nth-child(2){animation:hl-fr4b .36s steps(1) infinite}
.hl-mosq-in img:nth-child(3){animation:hl-fr4c .36s steps(1) infinite}.hl-mosq-in img:nth-child(4){animation:hl-fr4d .36s steps(1) infinite}
@keyframes hl-fr5a{0%{opacity:1}20%,100%{opacity:0}}@keyframes hl-fr5b{0%,20%{opacity:0}20.01%{opacity:1}40%,100%{opacity:0}}@keyframes hl-fr5c{0%,40%{opacity:0}40.01%{opacity:1}60%,100%{opacity:0}}
@keyframes hl-fr5d{0%,60%{opacity:0}60.01%{opacity:1}80%,100%{opacity:0}}@keyframes hl-fr5e{0%,80%{opacity:0}80.01%,100%{opacity:1}}
@keyframes hl-fr4a{0%{opacity:1}25%,100%{opacity:0}}@keyframes hl-fr4b{0%,25%{opacity:0}25.01%{opacity:1}50%,100%{opacity:0}}@keyframes hl-fr4c{0%,50%{opacity:0}50.01%{opacity:1}75%,100%{opacity:0}}
@keyframes hl-fr4d{0%,75%{opacity:0}75.01%,100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.hl-obj,.hl-badge,.hl-hit.hl-hint::after,.hl-steam img,.hl-heat,.hl-bloom,.hl-burst img,.hl-pop,.hl-ataya,.hl-obj.sway{animation:none!important}
  .hl-steam img{opacity:.45}.hl-burst img{opacity:1}}
.dh-house.lowpower .hl-steam img+img,.dh-house.lowpower .hl-heat,.dh-house.lowpower .hl-hit.hl-hint::after{display:none}
.dh-house.lowpower .hl-obj.sway,.dh-house.lowpower .hl-badge{animation:none!important}
/* ===== v26 : Minou ===== atlas de 21 cases : repos 0-2, marche 3-8, assis 9-12, saut 13-17, sommeil 18-20 (pas = 5 %) */
.hl-cat{position:absolute;padding:0;margin:0;border:0;background:none;cursor:pointer;z-index:1;-webkit-tap-highlight-color:transparent;touch-action:pan-y}
.hl-cat.moving{animation-timing-function:linear;animation-fill-mode:both;animation-iteration-count:1}
.hl-cat:focus-visible{outline:2px solid #ffd76a;outline-offset:1px;border-radius:30%}
.hl-cat-s{position:absolute;top:0;bottom:0;background:url(/house/homelife/chat.webp) 0 0/800% 800% no-repeat;pointer-events:none}
.hl-cat-s.flip{transform:scaleX(-1)}
.hl-cat.hl-dim .hl-cat-s{filter:brightness(.55) saturate(.8)}
.hl-cat.purr{animation:hl-purr .16s linear infinite}
.hl-cat.poke:not(.moving){animation:hl-poke .38s ease-out}
@keyframes hl-cat-move{from{transform:translate(0,0)}to{transform:translate(var(--dx),var(--dy))}}
@keyframes hl-cat-hop{0%{transform:translate(0,0)}45%{transform:translate(calc(var(--dx) * .5),calc(var(--dy) * .5 - 45%))}100%{transform:translate(var(--dx),var(--dy))}}
@keyframes hl-cat-out{from{opacity:1}to{opacity:0}}
@keyframes hl-cat-in{from{opacity:0}to{opacity:1}}
@keyframes hl-purr{0%,100%{translate:0 0}50%{translate:0 -.8%}}
@keyframes hl-poke{0%{translate:0 0}40%{translate:0 -10%}100%{translate:0 0}}
/* empreintes humides de Minou (aplaties dans la perspective du sol) */
.hl-print{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(circle at 50% 60%,rgba(110,130,150,.75) 0 38%,transparent 40%),radial-gradient(circle at 18% 20%,rgba(110,130,150,.7) 0 16%,transparent 18%),radial-gradient(circle at 50% 8%,rgba(110,130,150,.7) 0 16%,transparent 18%),radial-gradient(circle at 82% 20%,rgba(110,130,150,.7) 0 16%,transparent 18%);transition:opacity .4s}
.hl-heart{position:absolute;pointer-events:none;object-fit:contain;animation:hl-heart 1.6s ease-out infinite;opacity:0}
@keyframes hl-heart{0%{opacity:0;transform:translateY(0) scale(.6)}25%{opacity:1}100%{opacity:0;transform:translateY(-160%) scale(1.1)}}
.hl-ask{position:absolute;padding:0;border:0;background:none;cursor:pointer;z-index:3;animation:hl-askbob 1.1s ease-in-out infinite}
.hl-ask img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 1.5px rgba(40,30,10,.4))}
@keyframes hl-askbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-12%)}}
.hl-catmenu{position:absolute;z-index:12;display:flex;gap:1.5%;align-items:stretch}
.hl-catmenu button{flex:1;display:flex;align-items:center;justify-content:center;gap:2px;padding:0 2px;border:0;border-radius:999px;font:inherit;font-size:clamp(7px,2.1vw,12px);font-weight:700;cursor:pointer;
  background:linear-gradient(165deg,rgba(255,251,240,.97),rgba(248,238,214,.93));color:#3a2e1c!important;-webkit-text-fill-color:#3a2e1c!important;box-shadow:0 0 0 1px rgba(120,96,50,.25),0 3px 8px rgba(40,30,10,.2)}
.hl-catmenu img{height:80%;width:auto}
/* ===== v26 : nature ===== */
.hl-fly{position:absolute;padding:0;border:0;background:none;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent}
.hl-fly-w{position:absolute;left:29%;top:29%;width:42%;height:42%;object-fit:contain;animation:hl-flap .22s ease-in-out infinite;transform-origin:50% 50%}
.hl-fly-w.flip{scale:-1 1}
.hl-fly.resting .hl-fly-w{animation:hl-flap-rest 3.2s ease-in-out infinite}
@keyframes hl-flap{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.28)}}
@keyframes hl-flap-rest{0%,80%,100%{transform:scaleX(1)}88%{transform:scaleX(.45)}}
@keyframes hl-fly-move{0%{transform:translate(0,0)}35%{transform:translate(calc(var(--dx) * .35),calc(var(--dy) * .35 - 22%))}70%{transform:translate(calc(var(--dx) * .72),calc(var(--dy) * .72 + 12%))}100%{transform:translate(var(--dx),var(--dy))}}
.hl-fall{position:absolute;pointer-events:none;object-fit:contain;animation:hl-fall 4.1s ease-in forwards}
@keyframes hl-fall{0%{opacity:0;transform:translate(0,0) rotate(0)}10%{opacity:1}30%{transform:translate(60%,280%) rotate(40deg)}55%{transform:translate(-50%,620%) rotate(-30deg)}80%{opacity:1;transform:translate(40%,980%) rotate(25deg)}100%{opacity:0;transform:translate(0,1250%) rotate(0)}}
.hl-lantglow{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(255,200,90,.32),rgba(255,180,60,.1) 60%,transparent);mix-blend-mode:screen;animation:hl-lantb 4.5s ease-in-out infinite;opacity:.55}
.hl-lantglow.night{opacity:1}
@keyframes hl-lantb{0%,100%{transform:scale(.94);filter:brightness(.95)}40%{transform:scale(1.04)}55%{transform:scale(1.01);filter:brightness(1.08)}}
.hl-ray{position:absolute;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,236,170,.16) 45%,rgba(255,236,170,.08) 60%,transparent 72%);animation:hl-rayb 9s ease-in-out infinite}
.hl-ray i{position:absolute;top:20%;width:2.4%;height:1.6%;border-radius:50%;background:rgba(255,246,210,.85);box-shadow:0 0 2px rgba(255,240,190,.9);animation:hl-dust 8.5s linear infinite}
@keyframes hl-rayb{0%,100%{opacity:.6}50%{opacity:1}}
@keyframes hl-dust{0%{transform:translate(0,0);opacity:0}15%{opacity:.9}100%{transform:translate(260%,2600%);opacity:0}}
/* ===== v26 : robinet (formation, chute, éclaboussure) et flaques qui ondulent ===== */
.hl-drip.v2 i.drop{position:absolute;left:30%;top:0;width:40%;height:15%;border-radius:50% 50% 50% 50%/40% 40% 62% 62%;background:linear-gradient(#e6f6ff,#7cc3ec);box-shadow:0 0 1px rgba(0,60,110,.6);opacity:0;animation:hl-drop 1.6s ease-in infinite;transform-origin:50% 0}
.hl-drip.v2 i.ring{position:absolute;left:0;bottom:0;width:100%;height:16%;border-radius:50%;border:1px solid rgba(160,215,245,.95);opacity:0;animation:hl-splash 1.6s ease-out infinite}
.hl-drip.v2.fast i.drop,.hl-drip.v2.fast i.ring{animation-duration:.95s}
.hl-drip.v2.still i.drop{animation:none;opacity:.9;top:2%}
@keyframes hl-drop{0%{opacity:0;transform:translateY(0) scale(.2)}25%{opacity:1;transform:translateY(0) scale(1,1.15)}38%{transform:translateY(0) scale(.9,1.2)}72%{opacity:1;transform:translateY(560%) scale(.85,1.25)}76%,100%{opacity:0;transform:translateY(600%) scale(.6)}}
@keyframes hl-splash{0%,72%{opacity:0;transform:scale(.2)}76%{opacity:1;transform:scale(.6)}100%{opacity:0;transform:scale(1.6)}}
.hl-ripple{position:absolute;pointer-events:none}
.hl-ripple i{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(235,248,255,.85);opacity:0;animation:hl-rip 3.4s ease-out infinite}
.hl-ripple i+i{animation-delay:-1.7s}
@keyframes hl-rip{0%{opacity:0;transform:scale(.25)}15%{opacity:.9}100%{opacity:0;transform:scale(1.1)}}
/* ===== v26 : transitions des avatars et des bulles ===== */
.dh-person{animation:hl-pin .22s ease-out both!important}
@keyframes hl-pin{from{opacity:0}to{opacity:1}}
.dh-ghostout{animation:hl-pout .2s ease-out forwards!important}
@keyframes hl-pout{to{opacity:0}}
.hl-burst.arrive .glow{position:absolute;inset:-30%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,240,190,.75),rgba(255,220,140,.25) 55%,transparent);animation:hl-arrive .55s ease-out forwards}
@keyframes hl-arrive{0%{opacity:0;transform:scale(.5)}35%{opacity:1}100%{opacity:0;transform:scale(1.3)}}
.dh-bw.hl-jump{transition:opacity .2s!important;animation:hl-bubin .25s ease-out}
@keyframes hl-bubin{from{opacity:0}to{opacity:1}}
/* ===== v26 : débogage des emprises (dr.hldebug = 1) ===== */
.hl-dbg{position:absolute;pointer-events:none;outline:1px dashed #ff2d95;background:rgba(255,45,149,.06)}
.hl-dbg b{position:absolute;left:0;bottom:100%;font:600 7px/1 system-ui;white-space:nowrap;color:#ff2d95!important;-webkit-text-fill-color:#ff2d95!important;background:rgba(255,255,255,.8)}
.hl-dbg::after{content:"";position:absolute;left:50%;bottom:-2px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#00c2ff}
.hl-dbg-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hl-dbg-svg line{stroke:#c400ff;stroke-width:1.5;stroke-dasharray:4 3}
.hl-dbg-svg circle{fill:#c400ff}.hl-dbg-svg circle.door{fill:#00b4ff}.hl-dbg-svg circle.sleep{fill:#ffb000}
.hl-dbg-svg text{font:600 9px system-ui;fill:#c400ff}
.hl-dbg-svg polygon.occ{fill:rgba(0,200,255,.15);stroke:#00c8ff}.hl-dbg-svg polygon.fly{fill:none;stroke:#ff9800;stroke-dasharray:3 3}
@media (prefers-reduced-motion:reduce){.hl-cat-s,.hl-cat,.hl-fly-w,.hl-heart,.hl-ask,.hl-ripple i,.hl-lantglow,.hl-ray,.hl-ray i,.dh-person{animation:none!important}.hl-heart{opacity:1}}
.dh-house.lowpower .hl-ray,.dh-house.lowpower .hl-ripple{display:none}
.dh-house.lowpower .hl-cat-s.a-assis,.dh-house.lowpower .hl-cat-s.a-repos,.dh-house.lowpower .hl-cat-s.a-couche,.dh-house.lowpower .hl-lantglow{animation:none}

/* ===== v27 — bulles papier, rangement animé, accessoires vivants ===== */
.hl-pb{position:absolute;padding:0;border:0;background:none;cursor:pointer;z-index:1;-webkit-tap-highlight-color:transparent;transform-origin:50% 100%;animation:hl-pb-in .26s cubic-bezier(.3,1.6,.6,1) both}
.hl-pb::before{content:"";position:absolute;inset:-22px -17px -10px}   /* zone tactile >= 44 px, étendue vers le haut et les côtés : elle ne recouvre jamais l objet (on peut toujours le toucher ou l essuyer du doigt) */
.hl-pb img{position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 1.2px rgba(60,40,10,.28));pointer-events:none}
.hl-pb.paper{background:#fff7ea;border:1px solid #e9d2ab;border-radius:42%;box-shadow:0 1px 2px rgba(60,40,10,.25)}
.hl-pb.paper::after{content:"";position:absolute;left:50%;bottom:-18%;width:22%;height:22%;background:#fff7ea;border-right:1px solid #e9d2ab;border-bottom:1px solid #e9d2ab;transform:translateX(-50%) rotate(45deg)}
.hl-pb.paper img{width:84%;height:84%;margin:8%;filter:none}
.hl-pb.hl-dim img{filter:brightness(.8) drop-shadow(0 1px 1.2px rgba(0,0,0,.3))}
.hl-pb:active{animation:none;transform:scale(.92)}
@keyframes hl-pb-in{0%{opacity:0;transform:translateY(25%) scale(.6)}100%{opacity:1;transform:none}}
.hl-saytxt{position:absolute;display:flex;justify-content:center;pointer-events:none;animation:hl-say 1.5s ease-out forwards}
.hl-saytxt b{font-size:clamp(8px,2.2vw,12px);font-weight:700;white-space:nowrap;padding:1px 7px;border-radius:999px;background:#fff7ea;color:#5a3d1c;border:1px solid #e9d2ab;box-shadow:0 1px 2px rgba(60,40,10,.2)}
@keyframes hl-say{0%{opacity:0;transform:translateY(20%)}15%{opacity:1;transform:none}75%{opacity:1}100%{opacity:0;transform:translateY(-40%)}}
.hl-leave{position:absolute;pointer-events:none;object-fit:fill;animation:.8s ease-in forwards}
.hl-leave.k-close{transform-origin:0% 100%;animation-name:hl-lv-close;animation-duration:.45s}
.hl-leave.k-closed{opacity:0;animation-name:hl-lv-closed}
.hl-leave.k-gather{transform-origin:50% 100%;animation-name:hl-lv-gather}
.hl-leave.k-wiggle{transform-origin:50% 100%;animation-name:hl-lv-wiggle}
.hl-leave.k-shrink{transform-origin:50% 60%;animation-name:hl-lv-shrink;animation-duration:.55s}
.hl-leave.k-smooth{animation-name:hl-lv-fade;animation-duration:.9s}
.hl-leave.k-lift{transform-origin:50% 100%;animation-name:hl-lv-lift}
@keyframes hl-lv-close{0%{opacity:1;transform:none}100%{opacity:0;transform:scaleX(.45)}}
@keyframes hl-lv-closed{0%,35%{opacity:0}50%{opacity:1}80%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-12%)}}
@keyframes hl-lv-gather{0%{opacity:1;transform:none}55%{opacity:1;transform:scale(.7,.85)}100%{opacity:0;transform:scale(.55,.7) translateY(-10%)}}
@keyframes hl-lv-wiggle{0%{transform:none}20%{transform:rotate(-7deg)}40%{transform:rotate(6deg)}60%{opacity:1;transform:rotate(-3deg)}100%{opacity:0;transform:translateY(-18%)}}
@keyframes hl-lv-shrink{0%{opacity:1;transform:none}100%{opacity:0;transform:scale(.12)}}
@keyframes hl-lv-fade{from{opacity:1}to{opacity:0}}
@keyframes hl-lv-lift{0%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-16%) scale(.9)}}
.hl-obj.flutter{transform-origin:20% 100%;animation:hl-in .26s ease-out both,hl-flutter 5.5s ease-in-out .3s infinite}
.hl-obj.corner{transform-origin:100% 100%;animation:hl-in .26s ease-out both,hl-corner 7s ease-in-out .3s infinite}
@keyframes hl-flutter{0%,82%,100%{transform:none}86%{transform:rotate(-1.6deg)}90%{transform:rotate(1.1deg)}94%{transform:rotate(-.6deg)}}
@keyframes hl-corner{0%,88%,100%{transform:none}92%{transform:rotate(-1.4deg) translateY(-1%)}96%{transform:rotate(.4deg)}}
.hl-plantsway{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;animation:hl-plantsway 6s ease-in-out infinite}
@keyframes hl-plantsway{0%,100%{transform:rotate(0)}30%{transform:rotate(.45deg)}65%{transform:rotate(-.35deg)}}
@media (prefers-reduced-motion:reduce){.hl-pb,.hl-saytxt,.hl-leave,.hl-obj.flutter,.hl-obj.corner,.hl-plantsway,.hl-print{animation:none!important}.hl-leave{display:none}}
.dh-house.lowpower .hl-obj.flutter,.dh-house.lowpower .hl-obj.corner,.dh-house.lowpower .hl-plantsway{animation:none}
.hl-dbg-svg .floor{fill:rgba(40,220,90,.12);stroke:#1fbf55;stroke-width:1}
.hl-dbg-svg .surf{fill:rgba(60,160,255,.15);stroke:#2d8cff;stroke-width:1}
.hl-dbg-svg .excl{fill:rgba(255,60,60,.18);stroke:#ff3c3c;stroke-width:.8}
.hl-dbg-svg .obst{fill:none;stroke:rgba(230,30,30,.8);stroke-width:.8;stroke-dasharray:3 2}
.hl-dbg-svg .base{fill:none;stroke:#ff8a00;stroke-width:1.6}
.hl-dbg-svg .path{fill:none;stroke:#ff00d4;stroke-width:2;stroke-dasharray:5 3}
.hl-dbg-svg .slot{fill:#ffe600;stroke:#333;stroke-width:.4}
.hl-dbg-svg circle.comp{fill:#ff6ad5}
.hl-dbg .anc{position:absolute;left:50%;bottom:-2px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#ff0040}
.hl-dbg.cat{border:0;background:none}.hl-dbg.cat b{background:rgba(120,0,90,.8)}

/* Minou v27 : animations générées par tools/build_homelife.py depuis CAT_ANIM (hl_config.py) */
.hl-cat-s{background-size:800% 800%}
@keyframes hl-ca-repos{0.000%{background-position:0.0000% 0.0000%}47.445%{background-position:14.2857% 0.0000%}50.730%{background-position:0.0000% 0.0000%}83.577%{background-position:28.5714% 0.0000%}100%{background-position:0.0000% 0.0000%}}
.hl-cat-s.a-repos{background-position:0.0000% 0.0000%;animation:hl-ca-repos 5480ms steps(1,end) infinite}
@keyframes hl-ca-debout{0.000%{background-position:71.4286% 28.5714%}94.340%{background-position:14.2857% 0.0000%}100%{background-position:71.4286% 28.5714%}}
.hl-cat-s.a-debout{background-position:71.4286% 28.5714%;animation:hl-ca-debout 3180ms steps(1,end) infinite}
@keyframes hl-ca-cligne{0.000%{background-position:14.2857% 0.0000%}46.429%{background-position:0.0000% 0.0000%}100%{background-position:0.0000% 0.0000%}}
.hl-cat-s.a-cligne{background-position:14.2857% 0.0000%;animation:hl-ca-cligne 560ms steps(1,end) 1 forwards}
@keyframes hl-ca-regarde{0.000%{background-position:28.5714% 0.0000%}50.000%{background-position:0.0000% 0.0000%}100%{background-position:28.5714% 0.0000%}}
.hl-cat-s.a-regarde{background-position:28.5714% 0.0000%;animation:hl-ca-regarde 2400ms steps(1,end) infinite}
@keyframes hl-ca-marche{0.000%{background-position:42.8571% 0.0000%}16.667%{background-position:57.1429% 0.0000%}33.333%{background-position:71.4286% 0.0000%}50.000%{background-position:85.7143% 0.0000%}66.667%{background-position:100.0000% 0.0000%}83.333%{background-position:0.0000% 14.2857%}100%{background-position:42.8571% 0.0000%}}
.hl-cat-s.a-marche{background-position:42.8571% 0.0000%;animation:hl-ca-marche 600ms steps(1,end) infinite}
@keyframes hl-ca-trot{0.000%{background-position:42.8571% 0.0000%}16.667%{background-position:57.1429% 0.0000%}33.333%{background-position:71.4286% 0.0000%}50.000%{background-position:85.7143% 0.0000%}66.667%{background-position:100.0000% 0.0000%}83.333%{background-position:0.0000% 14.2857%}100%{background-position:42.8571% 0.0000%}}
.hl-cat-s.a-trot{background-position:42.8571% 0.0000%;animation:hl-ca-trot 372ms steps(1,end) infinite}
@keyframes hl-ca-dos{0.000%{background-position:71.4286% 85.7143%}10.000%{background-position:85.7143% 85.7143%}20.000%{background-position:100.0000% 85.7143%}30.000%{background-position:0.0000% 100.0000%}40.000%{background-position:14.2857% 100.0000%}50.000%{background-position:28.5714% 100.0000%}60.000%{background-position:42.8571% 100.0000%}70.000%{background-position:57.1429% 100.0000%}80.000%{background-position:71.4286% 100.0000%}90.000%{background-position:85.7143% 100.0000%}100%{background-position:71.4286% 85.7143%}}
.hl-cat-s.a-dos{background-position:71.4286% 85.7143%;animation:hl-ca-dos 840ms steps(1,end) infinite}
@keyframes hl-ca-dos_trot{0.000%{background-position:71.4286% 85.7143%}10.000%{background-position:85.7143% 85.7143%}20.000%{background-position:100.0000% 85.7143%}30.000%{background-position:0.0000% 100.0000%}40.000%{background-position:14.2857% 100.0000%}50.000%{background-position:28.5714% 100.0000%}60.000%{background-position:42.8571% 100.0000%}70.000%{background-position:57.1429% 100.0000%}80.000%{background-position:71.4286% 100.0000%}90.000%{background-position:85.7143% 100.0000%}100%{background-position:71.4286% 85.7143%}}
.hl-cat-s.a-dos_trot{background-position:71.4286% 85.7143%;animation:hl-ca-dos_trot 550ms steps(1,end) infinite}
@keyframes hl-ca-saut{0.000%{background-position:71.4286% 14.2857%}20.000%{background-position:85.7143% 14.2857%}40.000%{background-position:100.0000% 14.2857%}60.000%{background-position:0.0000% 28.5714%}80.000%{background-position:14.2857% 28.5714%}100%{background-position:14.2857% 28.5714%}}
.hl-cat-s.a-saut{background-position:71.4286% 14.2857%;animation:hl-ca-saut 600ms steps(1,end) 1 forwards}
@keyframes hl-ca-joue{0.000%{background-position:71.4286% 14.2857%}20.000%{background-position:85.7143% 14.2857%}40.000%{background-position:100.0000% 14.2857%}60.000%{background-position:0.0000% 28.5714%}80.000%{background-position:14.2857% 28.5714%}100%{background-position:71.4286% 14.2857%}}
.hl-cat-s.a-joue{background-position:71.4286% 14.2857%;animation:hl-ca-joue 600ms steps(1,end) infinite}
@keyframes hl-ca-assis_tr{0.000%{background-position:14.2857% 14.2857%}50.000%{background-position:28.5714% 14.2857%}100%{background-position:28.5714% 14.2857%}}
.hl-cat-s.a-assis_tr{background-position:14.2857% 14.2857%;animation:hl-ca-assis_tr 400ms steps(1,end) 1 forwards}
@keyframes hl-ca-assis{0.000%{background-position:28.5714% 14.2857%}68.421%{background-position:42.8571% 14.2857%}72.368%{background-position:28.5714% 14.2857%}96.053%{background-position:57.1429% 14.2857%}100%{background-position:28.5714% 14.2857%}}
.hl-cat-s.a-assis{background-position:28.5714% 14.2857%;animation:hl-ca-assis 7600ms steps(1,end) infinite}
@keyframes hl-ca-assis_regard{0.000%{background-position:42.8571% 42.8571%}55.556%{background-position:14.2857% 71.4286%}100%{background-position:42.8571% 42.8571%}}
.hl-cat-s.a-assis_regard{background-position:42.8571% 42.8571%;animation:hl-ca-assis_regard 5400ms steps(1,end) infinite}
@keyframes hl-ca-heureux{0.000%{background-position:28.5714% 71.4286%}70.968%{background-position:14.2857% 71.4286%}100%{background-position:28.5714% 71.4286%}}
.hl-cat-s.a-heureux{background-position:28.5714% 71.4286%;animation:hl-ca-heureux 3100ms steps(1,end) infinite}
@keyframes hl-ca-toilette{0.000%{background-position:57.1429% 42.8571%}17.213%{background-position:71.4286% 42.8571%}29.508%{background-position:85.7143% 42.8571%}41.803%{background-position:71.4286% 42.8571%}54.098%{background-position:85.7143% 42.8571%}66.393%{background-position:100.0000% 42.8571%}87.705%{background-position:57.1429% 42.8571%}100%{background-position:57.1429% 42.8571%}}
.hl-cat-s.a-toilette{background-position:57.1429% 42.8571%;animation:hl-ca-toilette 2440ms steps(1,end) infinite}
@keyframes hl-ca-baille{0.000%{background-position:14.2857% 71.4286%}12.712%{background-position:42.8571% 71.4286%}25.424%{background-position:57.1429% 71.4286%}67.797%{background-position:42.8571% 71.4286%}78.814%{background-position:14.2857% 71.4286%}100%{background-position:14.2857% 71.4286%}}
.hl-cat-s.a-baille{background-position:14.2857% 71.4286%;animation:hl-ca-baille 2360ms steps(1,end) 1 forwards}
@keyframes hl-ca-etire{0.000%{background-position:71.4286% 28.5714%}6.667%{background-position:85.7143% 28.5714%}23.333%{background-position:100.0000% 28.5714%}53.333%{background-position:0.0000% 42.8571%}76.667%{background-position:85.7143% 28.5714%}86.667%{background-position:71.4286% 28.5714%}100%{background-position:71.4286% 28.5714%}}
.hl-cat-s.a-etire{background-position:71.4286% 28.5714%;animation:hl-ca-etire 3000ms steps(1,end) 1 forwards}
@keyframes hl-ca-queue{0.000%{background-position:14.2857% 42.8571%}50.000%{background-position:28.5714% 42.8571%}100%{background-position:14.2857% 42.8571%}}
.hl-cat-s.a-queue{background-position:14.2857% 42.8571%;animation:hl-ca-queue 600ms steps(1,end) infinite}
@keyframes hl-ca-couche{0.000%{background-position:42.8571% 57.1429%}72.414%{background-position:0.0000% 71.4286%}100%{background-position:42.8571% 57.1429%}}
.hl-cat-s.a-couche{background-position:42.8571% 57.1429%;animation:hl-ca-couche 5800ms steps(1,end) infinite}
@keyframes hl-ca-roule{0.000%{background-position:57.1429% 57.1429%}16.667%{background-position:71.4286% 57.1429%}33.333%{background-position:85.7143% 57.1429%}50.000%{background-position:100.0000% 57.1429%}66.667%{background-position:85.7143% 57.1429%}83.333%{background-position:71.4286% 57.1429%}100%{background-position:57.1429% 57.1429%}}
.hl-cat-s.a-roule{background-position:57.1429% 57.1429%;animation:hl-ca-roule 1920ms steps(1,end) infinite}
@keyframes hl-ca-pelote{0.000%{background-position:85.7143% 71.4286%}15.476%{background-position:100.0000% 71.4286%}30.952%{background-position:0.0000% 85.7143%}46.429%{background-position:14.2857% 85.7143%}64.286%{background-position:28.5714% 85.7143%}82.143%{background-position:42.8571% 85.7143%}100%{background-position:85.7143% 71.4286%}}
.hl-cat-s.a-pelote{background-position:85.7143% 71.4286%;animation:hl-ca-pelote 1680ms steps(1,end) infinite}
@keyframes hl-ca-pelote_dort{0.000%{background-position:57.1429% 85.7143%}100%{background-position:57.1429% 85.7143%}}
.hl-cat-s.a-pelote_dort{background-position:57.1429% 85.7143%;animation:hl-ca-pelote_dort 1000ms steps(1,end) infinite}
@keyframes hl-ca-somnole{0.000%{background-position:71.4286% 71.4286%}64.706%{background-position:14.2857% 71.4286%}100%{background-position:71.4286% 71.4286%}}
.hl-cat-s.a-somnole{background-position:71.4286% 71.4286%;animation:hl-ca-somnole 3400ms steps(1,end) infinite}
@keyframes hl-ca-caresse{0.000%{background-position:0.0000% 57.1429%}33.333%{background-position:14.2857% 57.1429%}66.667%{background-position:28.5714% 57.1429%}100%{background-position:0.0000% 57.1429%}}
.hl-cat-s.a-caresse{background-position:0.0000% 57.1429%;animation:hl-ca-caresse 2100ms steps(1,end) infinite}
@keyframes hl-ca-dort{0.000%{background-position:42.8571% 28.5714%}50.000%{background-position:57.1429% 28.5714%}100%{background-position:42.8571% 28.5714%}}
.hl-cat-s.a-dort{background-position:42.8571% 28.5714%;animation:hl-ca-dort 3600ms steps(1,end) infinite}
@keyframes hl-ca-dort_long{0.000%{background-position:0.0000% 71.4286%}100%{background-position:0.0000% 71.4286%}}
.hl-cat-s.a-dort_long{background-position:0.0000% 71.4286%;animation:hl-ca-dort_long 2000ms steps(1,end) infinite}
@keyframes hl-ca-reveil{0.000%{background-position:28.5714% 28.5714%}41.667%{background-position:42.8571% 28.5714%}66.667%{background-position:28.5714% 28.5714%}100%{background-position:28.5714% 28.5714%}}
.hl-cat-s.a-reveil{background-position:28.5714% 28.5714%;animation:hl-ca-reveil 1200ms steps(1,end) 1 forwards}

.hl-st-ico{width:1.35em;height:1.35em;object-fit:contain;vertical-align:-.3em}
