.hd-root *{box-sizing:border-box;margin:0;padding:0}:root{--cream:#fdf6ec;--mint:#e8faf2;--blue:#4a9eff;--darkblue:#1e5bbf;--teal:#2cc9a0;--coral:#ff6b6b;--yellow:#ffd93d;--gold:#f5a623;--white:#fff;--text:#3a2e1e;--wall-top:#d8c8a8;--wall-bot:#c4a870;--floor-top:#b8946a;--floor-bot:#9a7a50;--baseboard:#7a5a30;--floor-h:38%}.hd-root{z-index:9999;background:#111;justify-content:center;align-items:center;font-family:"M PLUS Rounded 1c",sans-serif;display:flex;position:fixed;inset:0;overflow:hidden}#door-scene{z-index:1000;background:#b1d2d6;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}.door-frame{perspective:800px;background:#e7ebec;border:20px solid #5a3e28;border-radius:10px 10px 0 0;width:400px;height:700px;position:relative;box-shadow:0 0 60px #ffc8644d}.door-panel-left{transform-origin:0;width:50%;height:100%;transform-style:preserve-3d;background:linear-gradient(135deg,#6b4423 0%,#4a2e14 50%,#6b4423 100%);transition:transform 1.8s cubic-bezier(.4,0,.2,1);position:absolute;top:0;left:0;overflow:hidden}.door-panel-right{transform-origin:100%;width:50%;height:100%;transform-style:preserve-3d;background:linear-gradient(225deg,#6b4423 0%,#4a2e14 50%,#6b4423 100%);transition:transform 1.8s cubic-bezier(.4,0,.2,1);position:absolute;top:0;right:0;overflow:hidden}.door-panel-left .door-knob{background:radial-gradient(circle at 35% 35%,gold,#b8860b);border-radius:50%;width:25px;height:25px;position:absolute;top:50%;right:8px;transform:translateY(-50%);box-shadow:0 2px 4px #00000080}.door-panel-right .door-knob{background:radial-gradient(circle at 35% 35%,gold,#b8860b);border-radius:50%;width:25px;height:25px;position:absolute;top:50%;left:8px;transform:translateY(-50%);box-shadow:0 2px 4px #00000080}.door-sign{text-align:center;white-space:nowrap;color:#5a3800;background:#fff8e1;border:2px solid #d4a017;border-radius:6px;padding:6px 10px;font-size:11px;font-weight:900;position:absolute;top:30%;left:50%;transform:translate(-50%)}.door-light{background:radial-gradient(#ffe69600 0% 100%);transition:background 2s;position:absolute;inset:0}#door-scene.opening .door-panel-left{transform:perspective(800px)rotateY(-75deg)}#door-scene.opening .door-panel-right{transform:perspective(800px)rotateY(75deg)}#door-scene.opening .door-light{background:radial-gradient(#fff0c8cc 0%,#ffc85000 70%)}.door-text{color:#d4a017;text-align:center;white-space:nowrap;font-size:14px;font-weight:700;animation:1.5s infinite pulse;position:absolute;bottom:60px;left:50%;transform:translate(-50%)}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}#app{background:var(--cream);flex-direction:column;width:100%;max-width:100vw;height:100dvh;display:none;position:relative;overflow:hidden}#app.show{display:flex}#waiting-room{background:linear-gradient(#f8f6f2 0% 45%,#c8b89a 45% 46%,#f2e4c6 46%,#e6d0a8 100%);position:absolute;inset:0 0 56px;overflow:hidden}.wr-wallpaper{pointer-events:none;z-index:1;background-image:repeating-linear-gradient(0deg,#0000,#0000 39px,#b4aa9b26 39px 40px),repeating-linear-gradient(90deg,#0000,#0000 39px,#b4aa9b26 39px 40px);height:45%;position:absolute;top:0;left:0;right:0}.wr-floor-texture{pointer-events:none;z-index:1;background-image:repeating-linear-gradient(0deg,#0000,#0000 28px,#a07c4829 28px 30px),repeating-linear-gradient(90deg,#0000,#0000 148px,#a07c481a 148px 151px);height:55%;position:absolute;bottom:0;left:0;right:0}.wr-baseboard{z-index:1;background:linear-gradient(#c8c0b0,#b0a890);height:14px;position:absolute;bottom:55%;left:0;right:0;box-shadow:0 3px 8px #00000026}#hd-logout-btn{z-index:30;color:#999;cursor:pointer;background:#ffffffd9;border:none;border-radius:20px;padding:5px 12px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:11px;font-weight:700;position:absolute;top:108px;right:12px;box-shadow:0 2px 8px #0000001f}#hd-logout-btn:active{transform:scale(.95)}#hd-mail-btn{z-index:30;color:#7a4a00;cursor:pointer;background:linear-gradient(135deg,#fbbf24,#f59e0b);border:none;border-radius:20px;padding:6px 12px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:11px;font-weight:900;position:absolute;top:146px;right:12px;box-shadow:0 3px 10px #0003}#hd-mail-btn:active{transform:scale(.95)}.hd-mail-badge{color:#fff;text-align:center;background:#ef4444;border-radius:9px;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:900;line-height:18px;position:absolute;top:-6px;right:-6px;box-shadow:0 2px 6px #00000040}#hd-help-btn{z-index:30;color:#888;cursor:pointer;background:#ffffffd9;border:none;border-radius:20px;padding:5px 12px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:11px;font-weight:700;text-decoration:none;position:absolute;top:184px;right:12px;box-shadow:0 2px 8px #0000001f}.hd-help-link{color:#fff;text-align:center;background:linear-gradient(135deg,#38bdf8,#0284c7);border-radius:50px;width:100%;margin-top:12px;padding:12px;font-size:15px;font-weight:900;text-decoration:none;display:block;box-shadow:0 4px 12px #0284c74d}.hd-help-link.form{background:linear-gradient(135deg,#fbbf24,#f59e0b);box-shadow:0 4px 12px #f59e0b4d}.hd-msg-list{flex-direction:column;gap:8px;max-height:46vh;margin-bottom:10px;display:flex;overflow-y:auto}.hd-msg-item{text-align:left;background:#f6f4ff;border-radius:12px;padding:10px 12px}.hd-msg-date{color:#999;margin-bottom:4px;font-size:10px}.hd-msg-body{color:#3a2e1e;white-space:pre-wrap;word-break:break-word;font-size:13px;font-weight:700;line-height:1.8}.hd-msg-form-link{text-align:center;color:#4a8fe0;margin-bottom:10px;font-size:11px;font-weight:700;text-decoration:underline;display:block}.hd-login-help{text-align:center;color:#4a8fe0;margin-top:12px;font-size:11px;font-weight:700;text-decoration:underline;display:block}.hd-login-endnote{color:#b03a6b;text-align:center;background:#fdf0f5;border:2px solid #f2a7c3;border-radius:14px;margin:10px 0 4px;padding:10px 12px;font-size:13px;font-weight:900;line-height:1.7}.hd-login-notes{text-align:left;background:#fff8e6;border:2px dashed #f2c37e;border-radius:14px;margin-top:14px;padding:10px 12px}.hd-login-notes-title{color:#c77b1f;margin-bottom:4px;font-size:12px;font-weight:900}.hd-login-note-row{color:#7a6a4f;font-size:11px;font-weight:700;line-height:1.8}.hd-login-note-row b{color:#c7541f}.wr-ceiling{z-index:5;background:linear-gradient(#e0ddd8,#f0ece6);height:14px;position:absolute;top:0;left:0;right:0}.wr-window{z-index:5;border:10px solid #fff;border-radius:8px 8px 0 0;width:200px;height:160px;position:absolute;top:80px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 0 8px #00000026}.wr-window-bg{background:linear-gradient(#7ec8e8 0%,#b8e0f8 35%,#d0f0b8 65%,#80c858 100%);position:absolute;inset:0}.window-cloud{background:#ffffffe6;border-radius:50px;animation:30s linear infinite cloudMove;position:absolute}.window-cloud:first-child{width:70px;height:24px;animation-delay:0s;top:18%;left:-80px}.window-cloud:nth-child(2){width:50px;height:18px;animation-delay:4s;top:34%;left:-60px}.window-sun{background:radial-gradient(circle,#ffe866,#fc0);border-radius:50%;width:36px;height:36px;position:absolute;top:10px;right:18px;box-shadow:0 0 18px gold}.wr-window-frame{pointer-events:none;position:absolute;inset:0}.wr-window-frame:before{content:"";background:#fffffff2;width:5px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.wr-window-frame:after{content:"";background:#fffffff2;height:5px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.window-sill{z-index:4;background:linear-gradient(#fff,#e8e8e8);border-radius:0 0 6px 6px;width:222px;height:16px;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 4px 8px #0003}@keyframes cloudMove{0%{left:-90px}to{left:230px}}.bookshelf-wrap{z-index:4;position:absolute;left:0}.bookshelf-body{background:linear-gradient(90deg,#c0bab2 0%,#d8d2ca 18%,#e8e2d8 50%,#d8d2ca 82%,#c0bab2 100%);border-radius:6px 6px 0 0;width:110px;height:220px;position:relative;box-shadow:6px 0 16px #0006,inset -4px 0 10px #0003}.bookshelf-side-l{background:linear-gradient(90deg,#a8a4a0,#c8c4bc);border-radius:6px 0 0;width:10px;height:100%;position:absolute;top:0;left:0}.bookshelf-side-r{background:linear-gradient(270deg,#a8a4a0,#c8c4bc);border-radius:0 6px 0 0;width:10px;height:100%;position:absolute;top:0;right:0}.bookshelf-top{background:linear-gradient(#e8e4de,#d0ccc6);border-radius:4px 4px 0 0;height:12px;position:absolute;top:-10px;left:-5px;right:-5px;box-shadow:0 -3px 6px #0003}.shelf-row{border-bottom:5px solid #b0aaa4;align-items:flex-end;gap:2px;display:flex;position:absolute;left:10px;right:10px}.shelf-row:after{content:"";background:linear-gradient(#d0ccc6,#b8b4ac);height:7px;position:absolute;bottom:-10px;left:-10px;right:-10px}.shelf-row:nth-child(2){height:58px;top:10px}.shelf-row:nth-child(3){height:58px;top:82px}.shelf-row:nth-child(4){height:58px;top:152px}.book{border-radius:1px 3px 3px 1px;flex-shrink:0;position:relative;box-shadow:inset -2px 0 4px #0000004d}.book:after{content:"";background:#ffffff2e;width:2px;position:absolute;top:4px;bottom:4px;right:0}.bookshelf-base{background:linear-gradient(#c8c4bc,#b0aca4);border-radius:0 0 4px 4px;width:120px;height:10px;margin:0 auto}.wr-tv-item{z-index:6;display:none;position:absolute;top:20px;right:160px}.tv-frame{background:#111;border:8px solid #444;border-radius:10px;width:130px;height:88px;position:relative;overflow:hidden;box-shadow:4px 4px 16px #00000080}.tv-screen{background:linear-gradient(135deg,#0a2040,#0d3060);border-radius:4px;position:absolute;inset:0}.tv-screen-content{justify-content:center;align-items:center;font-size:32px;display:flex;position:absolute;inset:0}.tv-leg{background:#333;border-radius:0 0 6px 6px;width:60px;height:10px;margin:0 auto}.sofa-wrap{z-index:11;position:absolute}.sofa-frame{width:280px;position:relative}.sofa-back{background:linear-gradient(#f0ece4 0%,#e0dbd0 60%,#d0cbc0 100%);border-radius:16px 16px 6px 6px;width:272px;height:80px;margin:0 auto;display:none;position:relative;box-shadow:0 -3px 10px #00000026}.sofa-back:before{content:"";background:linear-gradient(#faf8f4,#ede8e0);border-radius:10px;position:absolute;inset:10px 12px;box-shadow:inset 0 3px 8px #00000014}.sofa-seat-row{border-radius:8px 8px 0 0;gap:0;margin-top:0;display:flex}.sofa-seat{background:linear-gradient(#dceee2,#c2ddcc);border-radius:4px;width:90px;height:55px;position:relative;box-shadow:inset 0 3px 6px #0000001f,0 4px #a89030}.sofa-seat:after{content:"";background:linear-gradient(#f2faf4,#ddeee3);border-radius:2px;position:absolute;inset:6px}.sofa-armrest{background:linear-gradient(90deg,#d8d4cc,#c0bbb0);border-radius:8px;width:20px;height:78px;position:relative;box-shadow:3px 0 8px #0003}.sofa-armrest:after{content:"";background:linear-gradient(#eeece8,#d8d4cc);border-radius:4px;height:16px;position:absolute;top:6px;left:3px;right:3px}.sofa-armrest.r{background:linear-gradient(270deg,#d8d4cc,#c0bbb0)}.sofa-legs{justify-content:space-between;padding:0 16px;display:flex}.sofa-leg{background:linear-gradient(#c0bbb0,#a0989090);border-radius:0 0 4px 4px;width:14px;height:14px}.carpet-item{z-index:10;display:none;position:absolute}.carpet-inner{background:radial-gradient(#c060a0,#7a2060);border-radius:50%;width:320px;height:36px;position:relative;box-shadow:0 4px 12px #00000040}.carpet-inner:after{content:"";border:2px dashed #ffffff59;border-radius:50%;position:absolute;inset:6px}.plant-wrap{z-index:11;position:absolute}.plant-pot{background:linear-gradient(#c05030,#902820);border-radius:5px 5px 10px 10px;width:48px;height:38px;position:relative;box-shadow:3px 5px 10px #0000004d}.plant-pot:before{content:"";background:linear-gradient(#d86040,#b03820);border-radius:5px;height:10px;position:absolute;top:-7px;left:-5px;right:-5px}.plant-soil{background:#5a3820;border-radius:3px;height:10px;position:absolute;top:3px;left:5px;right:5px}.plant-stem{background:linear-gradient(#3a7a20,#2a5a18);border-radius:3px;width:5px;height:60px;position:absolute;bottom:36px;left:50%;transform:translate(-50%)}.plant-leaf{background:#4a9a28;border-radius:50% 5%;position:absolute;box-shadow:inset -2px 2px 4px #0050004d}.plant-leaf:first-child{width:50px;height:28px;bottom:40px;left:-42px;transform:rotate(-25deg)}.plant-leaf:nth-child(2){width:46px;height:26px;bottom:56px;left:4px;transform:rotate(18deg)}.plant-leaf:nth-child(3){width:44px;height:24px;bottom:70px;left:-36px;transform:rotate(-45deg)}.plant-leaf:nth-child(4){width:40px;height:22px;bottom:82px;left:2px;transform:rotate(35deg)}.plant-leaf:nth-child(5){width:36px;height:20px;bottom:92px;left:-28px;transform:rotate(-60deg)}.aquarium-wrap{z-index:11;display:none;position:absolute}.aq-tank{background:linear-gradient(#50b4f0b3,#2878c8cc);border:5px solid #7a9ab8;border-radius:5px;width:100px;height:72px;position:relative;overflow:hidden}.aq-tank:before{content:"";background:linear-gradient(#5a8828,#3a6018);height:14px;position:absolute;bottom:0;left:0;right:0}.aq-fish{font-size:16px;animation:4s ease-in-out infinite swim;position:absolute}.aq-fish:first-child{top:28%;left:5%}.aq-fish:nth-child(2){animation-delay:2s;top:55%;left:50%;transform:scaleX(-1)}@keyframes swim{0%,to{transform:translate(0)}50%{transform:translate(24px)}}.aq-stand{background:linear-gradient(#666,#444);border-radius:0 0 5px 5px;width:100px;height:12px}.mag-rack{z-index:11;position:absolute;right:24px}.mag-body{background:linear-gradient(#e0dbd6,#c8c4bc);border-radius:5px 5px 10px 10px;width:52px;height:72px;position:relative}.mag-item{border-radius:3px;width:38px;height:52px;position:absolute;top:10px}.mag-item:first-child{background:#d04040;left:4px;transform:rotate(-6deg)}.mag-item:nth-child(2){background:#4070c0;left:8px;transform:rotate(4deg)}.mag-item:nth-child(3){background:#40a050;left:12px;transform:rotate(-2deg)}.wr-diploma{z-index:6;display:none;position:absolute}.diploma-frame{text-align:center;background:#fff8e1;border:5px solid #c89010;border-radius:6px;width:90px;padding:8px 10px;box-shadow:3px 3px 10px #0003}.diploma-inner{border:2px solid #e8b020;border-radius:3px;padding:4px}.diploma-icon{font-size:22px}.diploma-text{color:#6a4000;margin-top:2px;font-size:8px;font-weight:900;line-height:1.3}.wr-clock{z-index:8;background:#fff;border:6px solid #9a7820;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;display:flex;position:absolute;top:24px;left:28px;box-shadow:0 3px 10px #00000040}.clock-dot{background:#333;border-radius:50%;width:6px;height:6px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.clock-hand-hour{transform-origin:bottom;background:#222;border-radius:3px;width:3px;height:16px;animation:43200s linear infinite hourHand;position:absolute;bottom:50%;left:50%;transform:translate(-50%)rotate(0)}.clock-hand-min{transform-origin:bottom;background:#444;border-radius:2px;width:2px;height:21px;animation:3600s linear infinite minHand;position:absolute;bottom:50%;left:50%;transform:translate(-50%)rotate(90deg)}.clock-hand-sec{transform-origin:bottom;background:#cc2020;border-radius:1px;width:1px;height:23px;animation:60s linear infinite minHand;position:absolute;bottom:50%;left:50%;transform:translate(-50%)rotate(180deg)}@keyframes hourHand{0%{transform:translate(-50%)rotate(0)}to{transform:translate(-50%)rotate(360deg)}}@keyframes minHand{0%{transform:translate(-50%)rotate(0)}to{transform:translate(-50%)rotate(360deg)}}.waiting-light{z-index:8;animation:5s ease-in-out infinite lightSwing;position:absolute;top:0;left:50%;transform:translate(-50%)}.light-cord{background:linear-gradient(#999,#777);width:4px;height:36px;margin:0 auto}.light-shade{background:linear-gradient(#e0e0e0,#b8b8b8);border-radius:50% 50% 6px 6px/35% 35% 6px 6px;width:64px;height:36px;position:relative;box-shadow:0 4px 16px #fff0b499}.light-glow{filter:blur(6px);background:#fff0b499;border-radius:50%;width:80px;height:18px;position:absolute;bottom:-10px;left:50%;transform:translate(-50%)}@keyframes lightSwing{0%,to{transform:translate(-50%)rotate(-2deg)}50%{transform:translate(-50%)rotate(2deg)}}.wr-counter{z-index:18;background:linear-gradient(#e8e4de,#d8d4cc);border-radius:8px 0 0;width:200px;height:60px;position:absolute;bottom:0;right:0;box-shadow:0 -4px 14px #00000026}.wr-counter-top{background:linear-gradient(#f0ece6,#e0dbd4);border-radius:8px 0 0;height:12px;position:absolute;top:-10px;left:-5px;right:0;box-shadow:0 -2px 6px #0000001a}.counter-items{align-items:flex-end;gap:6px;display:flex;position:absolute;top:4px;left:10px}.counter-pc{background:#222;border:2px solid #555;border-radius:4px;width:34px;height:26px;position:relative}.counter-pc:after{content:"";background:#333;border-radius:0 0 3px 3px;width:16px;height:6px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%)}.counter-phone{background:#333;border-radius:3px;width:12px;height:20px}.receptionist-wrap{z-index:16;position:absolute}.person-figure{position:relative}.fig-head{background:#f2c7a5;border-radius:50%;position:absolute;box-shadow:inset -2px -2px 4px #0000001a}.fig-hair{border-radius:30px 30px 14px 14px;position:absolute}.fig-eye{background:#1a1a1a;border-radius:50%;position:absolute}.fig-eye:after{content:"";background:#fff9;border-radius:50%;width:2px;height:2px;position:absolute;top:1px;left:1px}.fig-brow{background:#5a3010;border-radius:2px;position:absolute}.fig-nose{background:#d4956a;border-radius:2px;position:absolute}.fig-mouth{background:#b06060;border-radius:3px;position:absolute}.smile .fig-mouth{border-radius:0 0 10px 10px;width:12px;height:6px}.neutral .fig-mouth{width:12px;height:2px}.worried .fig-mouth{border-radius:10px 10px 0 0;width:12px;height:5px}.fig-blush{background:#ff78784d;border-radius:50%;position:absolute}.fig-ear{background:#f2c7a5;border-radius:50%;position:absolute}.fig-body{border-radius:12px 12px 6px 6px;position:absolute}.fig-collar{background:#fff;border-radius:0 0 8px 8px;position:absolute}.fig-arm{background:#f2c7a5;border-radius:8px;position:absolute}.fig-skirt{border-radius:0 0 12px 12px;position:absolute}.fig-leg{background:#f2c7a5;border-radius:5px;position:absolute}.fig-pants{background:#444;border-radius:4px;position:absolute}.fig-shoe{background:#2a2a2a;border-radius:5px 5px 3px 3px;position:absolute}@keyframes breathe{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.rec-fig{width:70px;height:145px;position:relative}.rec-fig .fig-head{width:34px;height:36px;top:0;left:18px}.rec-fig .fig-hair{background:#5a2d0c;width:40px;height:20px;top:-6px;left:-3px}.rec-fig .fig-hair:after{content:"";background:#5a2d0c;border-radius:50%;width:18px;height:18px;position:absolute;top:-10px;left:50%;transform:translate(-50%)}.rec-fig .fig-ear{width:7px;height:10px;top:14px;left:12px}.rec-fig .fig-ear.r{left:auto;right:12px}.rec-fig .fig-eye{width:5px;height:5px;top:16px}.rec-fig .fig-eye.l{left:7px}.rec-fig .fig-eye.r{right:7px}.rec-fig .fig-brow{width:9px;height:2px;top:11px}.rec-fig .fig-brow.l{left:5px;transform:rotate(-5deg)}.rec-fig .fig-brow.r{right:5px;transform:rotate(5deg)}.rec-fig .fig-nose{width:4px;height:6px;bottom:14px;left:15px}.rec-fig .fig-mouth{background:#c07070;width:12px;height:3px;bottom:9px;left:11px}.rec-fig .fig-blush{width:8px;height:5px;bottom:16px}.rec-fig .fig-blush.l{left:4px}.rec-fig .fig-blush.r{right:4px}.rec-fig .fig-body{background:linear-gradient(#3a7abf,#2a5a9f);width:48px;height:56px;top:34px;left:11px}.rec-fig .fig-collar{width:14px;height:16px;top:34px;left:28px}.rec-fig .fig-arm{width:12px;height:44px;top:38px}.rec-fig .fig-arm.l{left:0;transform:rotate(-6deg)}.rec-fig .fig-arm.r{right:0;transform:rotate(6deg)}.rec-fig .fig-skirt{clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);background:linear-gradient(#2a5a9f,#1a3a7f);width:54px;height:32px;top:88px;left:8px}.rec-fig .fig-leg{width:12px;height:18px;top:118px}.rec-fig .fig-leg.l{left:22px}.rec-fig .fig-leg.r{right:22px}.rec-fig .fig-shoe{width:16px;height:8px;top:134px}.rec-fig .fig-shoe.l{background:#532;left:19px}.rec-fig .fig-shoe.r{background:#532;right:19px}.person{z-index:20;animation:4s ease-in-out infinite breathe;position:absolute}.person:nth-child(2){animation-delay:.5s}.person:nth-child(3){animation-delay:1.1s}.person:nth-child(4){animation-delay:1.8s}.stand-fig{width:80px;height:160px;position:relative}.stand-fig .fig-head{width:38px;height:42px;top:0;left:21px}.stand-fig .fig-hair{width:44px;height:22px;top:-7px;left:-3px}.stand-fig .fig-ear{width:8px;height:11px;top:16px}.stand-fig .fig-ear.l{left:14px}.stand-fig .fig-ear.r{right:14px}.stand-fig .fig-eye{width:5px;height:6px;top:18px}.stand-fig .fig-eye.l{left:8px}.stand-fig .fig-eye.r{right:8px}.stand-fig .fig-brow{width:10px;height:2px;top:13px}.stand-fig .fig-brow.l{left:6px;transform:rotate(-5deg)}.stand-fig .fig-brow.r{right:6px;transform:rotate(5deg)}.stand-fig .fig-nose{width:4px;height:7px;bottom:15px;left:17px}.stand-fig .fig-mouth{width:13px;height:3px;bottom:9px;left:12px}.stand-fig .fig-blush{width:9px;height:6px;bottom:18px}.stand-fig .fig-blush.l{left:5px}.stand-fig .fig-blush.r{right:5px}.stand-fig .fig-body{width:54px;height:62px;top:40px;left:13px}.stand-fig .fig-collar{width:14px;height:16px;top:40px;left:33px}.stand-fig .fig-arm{width:14px;height:50px;top:44px}.stand-fig .fig-arm.l{left:1px}.stand-fig .fig-arm.r{right:1px}.stand-fig .fig-skirt{width:60px;height:36px;top:100px;left:10px}.stand-fig .fig-pants{width:18px;height:42px;top:100px}.stand-fig .fig-pants.l{border-radius:4px 2px 6px 6px;left:21px}.stand-fig .fig-pants.r{border-radius:2px 4px 6px 6px;right:21px}.stand-fig .fig-leg{width:14px;height:24px;top:136px}.stand-fig .fig-leg.l{left:21px}.stand-fig .fig-leg.r{right:21px}.stand-fig .fig-shoe{width:18px;height:10px;top:155px}.stand-fig .fig-shoe.l{left:18px}.stand-fig .fig-shoe.r{right:18px}.person.child .fig-hair{background:#4a2c18;border-radius:30px 30px 10px 10px}.person.man .fig-hair{background:#3a2010}.person.woman .fig-hair{background:#2a1408}.person.woman .fig-hair:after{content:"";background:#2a1408;border-radius:50%;width:18px;height:18px;position:absolute;top:5px;right:-10px}.person.elderly .fig-hair{background:#d4d0cc}.person.elderly2 .fig-hair{background:#c0bcb8}.person.seated{z-index:16;animation:none!important}.seat-fig{width:70px;height:110px;position:relative}.seat-fig .fig-head{width:34px;height:38px;top:0;left:18px}.seat-fig .fig-hair{width:40px;height:20px;top:-6px;left:-3px}.seat-fig .fig-ear{width:7px;height:10px;top:14px}.seat-fig .fig-ear.l{left:12px}.seat-fig .fig-ear.r{right:12px}.seat-fig .fig-eye{width:5px;height:5px;top:16px}.seat-fig .fig-eye.l{left:7px}.seat-fig .fig-eye.r{right:7px}.seat-fig .fig-brow{width:9px;height:2px;top:11px}.seat-fig .fig-brow.l{left:5px}.seat-fig .fig-brow.r{right:5px}.seat-fig .fig-nose{width:4px;height:5px;bottom:15px;left:15px}.seat-fig .fig-mouth{width:12px;height:3px;bottom:9px;left:11px}.seat-fig .fig-blush{width:8px;height:5px;bottom:17px}.seat-fig .fig-blush.l{left:4px}.seat-fig .fig-blush.r{right:4px}.seat-fig .fig-body{width:48px;height:52px;top:36px;left:11px}.seat-fig .fig-collar{width:12px;height:14px;top:36px;left:29px}.seat-fig .fig-arm{width:11px;height:38px;top:40px}.seat-fig .fig-arm.l{left:0}.seat-fig .fig-arm.r{right:0}.seat-fig .fig-skirt{clip-path:polygon(0 0,100% 0,92% 100%,8% 100%);width:54px;height:28px;top:86px;left:8px}.seat-fig .fig-thigh{background:#444;border-radius:4px;width:16px;height:32px;position:absolute;top:84px}.seat-fig .fig-thigh.l{left:12px;transform:rotate(10deg)}.seat-fig .fig-thigh.r{right:12px;transform:rotate(-10deg)}.seat-fig.woman-sit .fig-thigh{background:#f2c7a5}.seat-fig .fig-calf{background:#333;border-radius:4px;width:14px;height:28px;position:absolute;top:112px}.seat-fig .fig-calf.l{left:13px;transform:rotate(-20deg)}.seat-fig .fig-calf.r{right:13px;transform:rotate(20deg)}.seat-fig .fig-shoe{width:16px;height:9px;top:134px}.seat-fig .fig-shoe.l{left:8px}.seat-fig .fig-shoe.r{right:8px}.seat-fig.child-sit .fig-hair{background:#4a2c18}.seat-fig.man-sit .fig-hair{background:#3a2010}.seat-fig.woman-sit .fig-hair{background:#2a1408}.seat-fig.woman-sit .fig-hair:after{content:"";background:#2a1408;border-radius:50%;width:16px;height:16px;position:absolute;top:5px;right:-10px}.seat-fig.elderly-sit .fig-hair{background:#d4d0cc}.wr-grade-badge{background:var(--yellow);color:#7a5900;z-index:30;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:46px;height:46px;font-size:11px;font-weight:900;line-height:1.1;display:flex;position:absolute;top:16px;right:12px;box-shadow:0 3px 8px #0003}.coin-bar{color:#ffd93d;z-index:30;background:#0009;border-radius:20px;align-items:center;gap:5px;padding:5px 14px;font-size:14px;font-weight:700;display:flex;position:absolute;top:12px;left:12px}.treatment-ticket{color:#fff;z-index:30;background:#ff6b6b;border-radius:14px;padding:5px 12px;font-size:12px;font-weight:700;animation:.4s bounce-in;display:none;position:absolute;top:62px;left:12px}@keyframes bounce-in{0%{transform:scale(0)}70%{transform:scale(1.2)}to{transform:scale(1)}}.clinic-name-bar{z-index:30;background:linear-gradient(135deg,#fff9f0,#fff0e0);border:2px solid #f5a623;border-radius:20px;align-items:center;gap:6px;padding:5px 10px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 3px 10px #f5a62340}.clinic-name-bar:before{content:"🦷";font-size:14px}.clinic-name-bar input{color:#5a3800;background:0 0;border:none;outline:none;width:110px;font-family:inherit;font-size:12px;font-weight:700}.clinic-name-bar button{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#f5a623,#e08000);border:none;border-radius:12px;flex-shrink:0;padding:4px 10px;font-family:inherit;font-size:11px;font-weight:900;box-shadow:0 2px 4px #00000026}.clinic-name-bar button:active{transform:scale(.95)}.wr-notification{color:#5a3800;opacity:0;white-space:nowrap;pointer-events:none;z-index:50;background:#ffd93d;border-radius:14px;padding:7px 16px;font-size:12px;font-weight:700;transition:opacity .3s;position:absolute;top:52px;left:50%;transform:translate(-50%)}.wr-notification.show{opacity:1}.wr-sign{color:#1e5bbf;white-space:nowrap;z-index:30;background:#fff;border:2px solid #4a9eff;border-radius:8px;padding:4px 10px;font-size:10px;font-weight:700;position:absolute}.tab-nav{z-index:100;background:#fff;border-top:.5px solid #0000001a;height:56px;padding:4px 0 2px;display:flex;position:fixed;bottom:0;left:0;right:0}.tab-btn{cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:1px;padding:4px 2px;font-family:inherit;transition:all .2s;display:flex;position:relative}.tab-btn .tab-icon{font-size:20px;transition:transform .2s}.tab-btn .tab-label{color:#999;font-size:9px;font-weight:700}.tab-btn.active .tab-label{color:var(--blue)}.tab-btn.active .tab-icon{transform:scale(1.15)}.tab-badge{background:var(--coral);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;font-size:9px;font-weight:700;display:flex;position:absolute;top:2px;right:12px}.tab-panel{background:var(--cream);display:none;position:absolute;inset:0 0 56px;overflow-y:auto}.tab-panel.active{flex-direction:column;display:flex}.brush-header{background:linear-gradient(135deg,var(--teal),#1a9e7a);text-align:center;color:#fff;padding:16px}.brush-header h2{font-size:18px;font-weight:900}.brush-header p{opacity:.85;margin-top:2px;font-size:12px}.camera-container{aspect-ratio:4/3;background:#111;border-radius:16px;margin:12px;position:relative;overflow:hidden;box-shadow:0 4px 16px #0003}#cam-video{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;transform:scaleX(-1)}.cam-placeholder{color:#aaa;background:linear-gradient(135deg,#1a2a3a,#0d1a28);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}.cam-placeholder span{font-size:48px}.cam-placeholder p{font-size:12px}.timer-overlay{color:#fff;font-variant-numeric:tabular-nums;background:#000000b3;border-radius:50px;padding:8px 24px;font-size:28px;font-weight:900;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.timer-overlay.done{background:var(--teal)}.brush-phases{justify-content:center;gap:6px;padding:0 12px;display:flex}.phase-chip{text-align:center;color:#aaa;background:#fff;border:2px solid #e0e0e0;border-radius:10px;flex:1;padding:8px 4px;font-size:10px;font-weight:700;transition:all .3s}.phase-chip.active{border-color:var(--teal);color:var(--teal);background:#e8faf2}.phase-chip.done{color:#aaa;background:#f5f5f5;border-color:#ccc}.phase-chip .ph-icon{margin-bottom:2px;font-size:16px;display:block}.brush-controls{flex-direction:column;gap:8px;padding:12px;display:flex}.start-btn{background:linear-gradient(135deg,var(--teal),#1a9e7a);color:#fff;cursor:pointer;border:none;border-radius:50px;width:100%;padding:14px;font-family:inherit;font-size:16px;font-weight:900;transition:transform .1s,filter .1s}.start-btn:active{transform:scale(.97)}.start-btn:disabled{cursor:default;background:#ccc}.streak-bar{background:#fff;border-radius:12px;align-items:center;gap:10px;padding:10px 14px;display:flex;box-shadow:0 1px 4px #00000014}.streak-label{color:#888;flex:1;font-size:12px}.streak-flames{gap:3px;display:flex}.flame{filter:grayscale();font-size:18px;transition:filter .3s}.treat-header{background:linear-gradient(135deg,var(--coral),#e03030);color:#fff;text-align:center;padding:16px}.treat-header h2{font-size:18px;font-weight:900}.treat-header p{opacity:.85;margin-top:2px;font-size:12px}.patient-queue{padding:10px}.queue-title{color:#888;padding:0 4px 8px;font-size:13px;font-weight:700}.patient-card{cursor:pointer;background:#fff;border:2px solid #0000;border-radius:16px;align-items:center;gap:12px;margin-bottom:10px;padding:14px;transition:transform .15s;display:flex;box-shadow:0 2px 8px #00000012}.patient-card:active{transform:scale(.98)}.patient-avatar{text-align:center;width:50px;font-size:36px}.patient-info{flex:1}.patient-name{color:var(--text);font-size:14px;font-weight:700}.patient-issue{color:#888;margin-top:2px;font-size:11px}.patient-reward{color:var(--gold);background:#fff8e1;border-radius:8px;padding:4px 8px;font-size:12px;font-weight:700}.no-patients{text-align:center;color:#aaa;padding:32px 16px}.no-patients span{margin-bottom:8px;font-size:48px;display:block}.no-patients p{font-size:13px}.treat-modal-overlay{z-index:500;background:#0009;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.treat-modal{background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:420px;padding:20px;animation:.35s slide-up}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.treat-modal h3{color:var(--text);margin-bottom:4px;font-size:16px;font-weight:900}.treat-modal .patient-big{text-align:center;margin:8px 0;font-size:56px}.teeth-display{flex-wrap:wrap;justify-content:center;gap:6px;max-height:46vh;margin:10px 0;display:flex;overflow-y:auto}.tooth-item{cursor:pointer;background:#fff;border:2px solid #ddd;border-radius:8px;flex:none;justify-content:center;align-items:center;width:40px;height:48px;font-size:22px;transition:background .2s,border-color .2s;display:flex}.tooth-item.bad{border-color:var(--coral);background:#ffe4e4;animation:.3s wiggle}.tooth-item.tooth-fixed{border-color:var(--teal);background:#e8faf2}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}.treat-action-btn{background:linear-gradient(135deg,var(--coral),#e03030);color:#fff;cursor:pointer;border:none;border-radius:50px;width:100%;margin-top:8px;padding:14px;font-family:inherit;font-size:15px;font-weight:900}.close-btn-modal{color:#aaa;cursor:pointer;background:#fff;border:2px solid #eee;border-radius:50px;width:100%;margin-top:6px;padding:10px;font-family:inherit;font-size:13px;font-weight:700}.history-header{color:#fff;text-align:center;background:linear-gradient(135deg,#7b68ee,#5e4de0);padding:16px}.history-header h2{font-size:18px;font-weight:900}.history-list{padding:10px}.history-card{background:#fff;border-radius:14px;align-items:center;gap:12px;margin-bottom:8px;padding:12px 14px;display:flex;box-shadow:0 1px 6px #0000000f}.history-avatar{text-align:center;width:44px;font-size:32px}.history-info{flex:1}.history-name{color:var(--text);font-size:13px;font-weight:700}.history-date{color:#aaa;margin-top:1px;font-size:11px}.history-reward{color:var(--gold);font-size:12px;font-weight:700}.history-empty{text-align:center;color:#ccc;padding:40px 16px}.history-empty span{margin-bottom:8px;font-size:48px;display:block}.shop-header{background:linear-gradient(135deg,var(--gold),#e08a00);color:#fff;justify-content:space-between;align-items:center;padding:16px;display:flex}.shop-header h2{font-size:18px;font-weight:900}.shop-coins{background:#ffffff40;border-radius:20px;padding:4px 12px;font-size:13px;font-weight:700}.shop-section{padding:10px}.shop-section-title{color:#888;padding:4px 4px 8px;font-size:12px;font-weight:700}.shop-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.shop-item{text-align:center;background:#fff;border:2px solid #0000;border-radius:16px;padding:14px 10px;box-shadow:0 2px 8px #0000000f}.shop-item.owned{border-color:var(--teal);background:#f0fdf8}.shop-item .si-icon{font-size:40px}.shop-item .si-name{color:var(--text);margin-top:6px;font-size:13px;font-weight:700}.shop-item .si-price{color:#888;margin-top:2px;font-size:12px}.si-btn{cursor:pointer;border:none;border-radius:50px;margin-top:8px;padding:6px 16px;font-family:inherit;font-size:12px;font-weight:700}.si-btn.buy{background:var(--gold);color:#fff}.si-btn.owned{color:var(--teal);background:#e8faf2}.si-btn.cant{color:#aaa;cursor:default;background:#f0f0f0}.rank-header{color:#fff;text-align:center;background:linear-gradient(135deg,#1e5bbf,#0d3a8a);padding:16px}.rank-header h2{font-size:18px;font-weight:900}.rank-list{padding:10px}.rank-item{background:#fff;border-radius:14px;align-items:center;gap:12px;margin-bottom:8px;padding:12px 14px;display:flex;box-shadow:0 1px 6px #0000000f}.rank-item.me{border:2px solid var(--blue);background:#f0f7ff}.rank-num{min-width:32px;color:var(--darkblue);font-size:20px;font-weight:900}.rank-info{flex:1}.rank-name{color:var(--text);font-size:14px;font-weight:700}.rank-grade{color:#888;margin-top:1px;font-size:11px}.rank-score{color:var(--gold);font-size:13px;font-weight:700}.my-rank-card{background:linear-gradient(135deg,var(--blue),var(--darkblue));color:#fff;text-align:center;border-radius:16px;margin:10px;padding:16px}.my-rank-card .mr-label{opacity:.8;font-size:12px}.my-rank-card .mr-grade{margin:4px 0;font-size:24px;font-weight:900}.my-rank-card .mr-score{opacity:.85;font-size:13px}.coin-fly{z-index:9000;pointer-events:none;font-size:24px;animation:1.2s forwards fly-up;position:fixed}@keyframes fly-up{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-120px)scale(.5)}}.complete-flash{z-index:8000;pointer-events:none;background:#2cc9a04d;animation:.6s forwards flash-out;position:fixed;inset:0}@keyframes flash-out{0%{opacity:1}to{opacity:0}}.person.chubby .stand-fig .fig-body{border-radius:14px 14px 8px 8px;width:62px;left:9px}.person.chubby .stand-fig .fig-head{width:42px;height:46px;left:19px}.person.chubby .stand-fig .fig-hair{width:48px;left:-3px}.person.slim .stand-fig .fig-body{width:44px;left:18px}.person.slim .stand-fig .fig-head{width:32px;height:36px;left:24px}.person.slim .stand-fig .fig-hair{width:38px;left:17px}.person.child .stand-fig{transform-origin:bottom;transform:scale(.72)}.person.elderly .stand-fig{transform-origin:bottom;transform:scale(.86)rotate(3deg)}.person.tall .stand-fig .fig-pants{height:52px}.person.tall .stand-fig .fig-leg{top:146px}.person.tall .stand-fig .fig-shoe{top:164px}.person.short .stand-fig{transform-origin:bottom;transform:scale(.82)}.fig-sleeve{z-index:1;border-radius:6px 6px 3px 3px;position:absolute}.stand-fig .fig-sleeve{width:16px;height:26px;top:44px}.rec-fig .fig-sleeve{width:14px;height:22px;top:38px}.seat-fig .fig-sleeve{width:13px;height:20px;top:40px}.stand-fig .fig-arm.l{border-radius:4px 4px 8px 8px;top:42px;left:10px}.stand-fig .fig-arm.r{border-radius:4px 4px 8px 8px;top:42px;right:10px}.stand-fig .fig-sleeve{z-index:3;width:18px;height:24px;top:40px}.stand-fig .fig-sleeve.l{left:9px}.stand-fig .fig-sleeve.r{right:9px}.rec-fig .fig-arm.l{border-radius:4px 4px 8px 8px;top:36px;left:8px}.rec-fig .fig-arm.r{border-radius:4px 4px 8px 8px;top:36px;right:8px}.rec-fig .fig-sleeve{z-index:3;width:16px;height:22px;top:34px}.rec-fig .fig-sleeve.l{left:7px}.rec-fig .fig-sleeve.r{right:7px}.seat-fig .fig-arm.l{border-radius:4px 4px 8px 8px;top:38px;left:8px}.seat-fig .fig-arm.r{border-radius:4px 4px 8px 8px;top:38px;right:8px}.seat-fig .fig-sleeve{z-index:3;width:15px;height:20px;top:36px}.seat-fig .fig-sleeve.l{left:7px}.seat-fig .fig-sleeve.r{right:7px}.stand-fig .fig-pants.l{border-radius:3px 2px 6px 6px;top:100px;left:17px}.stand-fig .fig-pants.r{border-radius:2px 3px 6px 6px;top:100px;right:17px}.stand-fig .fig-leg.l{background:linear-gradient(#e0b888,#f2c7a5);border-radius:2px 2px 5px 5px;top:140px;left:18px}.stand-fig .fig-leg.r{background:linear-gradient(#e0b888,#f2c7a5);border-radius:2px 2px 5px 5px;top:140px;right:18px}.stand-fig .fig-shoe.l{top:158px;left:15px}.stand-fig .fig-shoe.r{top:158px;right:15px}.seat-fig .fig-thigh{width:16px;height:30px;top:86px}.seat-fig .fig-thigh.l{border-radius:6px 4px 4px 6px;left:10px;transform:rotate(6deg)}.seat-fig .fig-thigh.r{border-radius:4px 6px 6px 4px;right:10px;transform:rotate(-6deg)}.seat-fig .fig-calf{width:14px;height:26px;top:110px}.seat-fig .fig-calf.l{border-radius:4px 4px 6px 6px;left:9px;transform:rotate(-15deg)}.seat-fig .fig-calf.r{border-radius:4px 4px 6px 6px;right:9px;transform:rotate(15deg)}.seat-fig .fig-shoe.l{top:130px;left:5px}.seat-fig .fig-shoe.r{top:130px;right:5px}.prop{z-index:2;pointer-events:none;position:absolute}.prop-book{background:linear-gradient(135deg,#e05030,#c03020);border-left:3px solid #8a2010;border-radius:2px 3px 3px 2px;width:20px;height:26px;box-shadow:2px 2px 4px #0000004d}.prop-book:after{content:"";background:#fff6;border-radius:1px;height:2px;position:absolute;top:4px;left:4px;right:3px;box-shadow:0 5px #ffffff4d,0 10px #ffffff4d}.prop-phone{background:linear-gradient(#222,#111);border:1.5px solid #555;border-radius:3px;width:12px;height:20px;box-shadow:1px 1px 4px #0006}.prop-phone:after{content:"";background:linear-gradient(135deg,#4a90e8,#1a5abf);border-radius:2px;position:absolute;inset:2px}.prop-news{background:linear-gradient(#f8f0d8,#e8e0c0);border:1px solid #c0b090;border-radius:2px;width:26px;height:20px;transform:rotate(-8deg)}.prop-news:before{content:"";background:#888;border-radius:1px;height:1.5px;position:absolute;top:3px;left:2px;right:2px;box-shadow:0 3px #aaa,0 6px #999,0 9px #bbb,0 12px #aaa}#furniture-btn{z-index:40;color:#fff;cursor:pointer;background:linear-gradient(135deg,#f5a623,#e08000);border:none;border-radius:20px;padding:8px 14px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:12px;font-weight:900;transition:transform .1s,background .3s;position:absolute;bottom:12px;right:12px;box-shadow:0 3px 10px #0003}#furniture-btn:active{transform:scale(.95)}#furniture-btn.active-mode{background:linear-gradient(135deg,#2cc9a0,#1a9e7a)}#furniture-panel{z-index:41;background:#fffffff7;border:2px solid #f5a6234d;border-radius:18px;flex-direction:column;gap:5px;min-width:148px;max-height:280px;padding:10px 8px 8px;display:none;position:absolute;bottom:54px;right:8px;overflow-y:auto;box-shadow:0 6px 24px #00000038}#furniture-panel-header{color:#aaa;text-align:center;border-bottom:1px solid #f0f0f0;padding:0 4px 6px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:10px;font-weight:900}.furniture-chip{cursor:pointer;color:#444;background:#f8f8f8;border:2px solid #0000;border-radius:12px;align-items:center;gap:8px;padding:8px 12px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:12px;font-weight:700;transition:all .15s;display:flex}.furniture-chip:active{transform:scale(.96)}.furniture-chip.selected{color:#1a6a50;background:#e8faf2;border-color:#2cc9a0}.furniture-chip .chip-hint{color:#aaa;white-space:nowrap;margin-left:auto;font-size:9px}.furniture-chip.selected .chip-hint{color:#2cc9a0}.furniture-mode-overlay{z-index:39;pointer-events:none;border:3px dashed #f5a62380;border-radius:0;animation:2s ease-in-out infinite modeFlash;display:none;position:absolute;inset:0}.furniture-mode-active .furniture-mode-overlay{display:block}@keyframes modeFlash{0%,to{border-color:#f5a6234d}50%{border-color:#f5a623b3}}.furniture-draggable{cursor:grab!important;outline-offset:3px!important;border-radius:6px!important;outline:3px dashed #f5a623!important}.furniture-draggable:active{cursor:grabbing!important}.treat-notify{z-index:9500;color:#fff;text-align:center;background:linear-gradient(135deg,#ff6b6b,#e03030);padding:0;font-family:"M PLUS Rounded 1c",sans-serif;transition:transform .4s cubic-bezier(.175,.885,.32,1.275);position:fixed;top:0;left:0;right:0;transform:translateY(-100%);box-shadow:0 4px 20px #0000004d}.treat-notify.show{transform:translateY(0)}.treat-notify-inner{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:16px 20px;display:flex}.treat-notify-icon{font-size:36px;animation:.5s infinite alternate wiggle2}.treat-notify-text{font-size:18px;font-weight:900;line-height:1.3}.treat-notify-text small{opacity:.85;margin-top:2px;font-size:12px;font-weight:700;display:block}.treat-notify-btn{color:#e03030;cursor:pointer;background:#fff;border:none;border-radius:50px;padding:10px 22px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:14px;font-weight:900;animation:1s infinite pulse2;box-shadow:0 2px 8px #0003}@keyframes wiggle2{0%{transform:rotate(-10deg)scale(1.1)}to{transform:rotate(10deg)scale(1.2)}}@keyframes pulse2{0%,to{transform:scale(1)}50%{transform:scale(1.07)}}.quiz-modal-overlay{z-index:600;background:#000000a6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.quiz-modal{text-align:center;background:#fff;border-radius:24px;width:100%;max-width:380px;padding:28px 24px;animation:.3s slide-up;box-shadow:0 8px 32px #0000004d}.quiz-modal .quiz-icon{margin-bottom:8px;font-size:52px}.quiz-modal .quiz-q{color:#3a2e1e;margin-bottom:20px;font-size:17px;font-weight:900;line-height:1.5}.quiz-choices{flex-direction:column;gap:10px;margin-bottom:16px;display:flex}.quiz-choice-btn{color:#3a2e1e;cursor:pointer;text-align:left;background:#f8f8f8;border:3px solid #e0e0e0;border-radius:16px;padding:14px 16px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:15px;font-weight:700;transition:all .15s}.quiz-choice-btn:hover{background:#f0f7ff;border-color:#4a9eff}.quiz-choice-btn.correct{color:#1a6a50;background:#e8faf2;border-color:#2cc9a0;animation:.4s correctPop}.quiz-choice-btn.wrong{color:#a03030;background:#ffe4e4;border-color:#ff6b6b;animation:.4s wrongShake}.quiz-close-btn{color:#aaa;cursor:pointer;background:#fff;border:2px solid #eee;border-radius:50px;width:100%;margin-top:4px;padding:10px;font-family:inherit;font-size:13px;font-weight:700}.quiz-result{min-height:24px;margin-top:8px;font-size:15px;font-weight:900}.quiz-result.ok{color:#2cc9a0}.quiz-result.ng{color:#ff6b6b}@keyframes correctPop{0%{transform:scale(1)}50%{transform:scale(1.06)}to{transform:scale(1)}}@keyframes wrongShake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}.hd-detect-ring{pointer-events:none;border:5px solid #0000;border-radius:16px;transition:border-color .25s,box-shadow .25s;position:absolute;inset:0}.hd-detect-ring.active{border-color:var(--teal);box-shadow:inset 0 0 24px #2cc9a073}.hd-motion-pill{color:#fff;white-space:nowrap;background:#0009;border-radius:50px;align-items:center;gap:6px;padding:5px 14px;font-size:12px;font-weight:700;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%)}.hd-status-dot{background:#888;border-radius:50%;width:9px;height:9px;transition:background .25s}.hd-status-dot.on{background:var(--teal);box-shadow:0 0 8px var(--teal)}.hd-fx-layer{pointer-events:none;border-radius:16px;position:absolute;inset:0;overflow:hidden}.hd-fx{pointer-events:none;will-change:transform,opacity;font-size:26px;line-height:1;animation:1.2s ease-out forwards hdFxFloat;position:absolute}@keyframes hdFxFloat{0%{opacity:1;transform:translateY(0)scale(.5)rotate(-10deg)}60%{opacity:1;transform:translateY(-70px)scale(1.3)rotate(15deg)}to{opacity:0;transform:translateY(-130px)scale(1)rotate(5deg)}}@media (prefers-reduced-motion:reduce){.hd-fx{animation-duration:.01ms;animation-iteration-count:1}}.hd-mb-btn{text-align:center;font-size:18px;font-weight:900}.hd-choice-btn{text-align:left;font-size:14px;font-weight:700;line-height:1.5}.hd-quiz-num{justify-content:center;align-items:center;gap:8px;display:flex}.hd-quiz-num-input{text-align:center;color:#3a2e1e;border:3px solid #d8d2ff;border-radius:14px;outline:none;width:96px;padding:10px;font-family:inherit;font-size:24px;font-weight:900}.hd-quiz-num-input:focus{border-color:#4a9eff}.hd-quiz-num-unit{color:#5a4a38;font-size:16px;font-weight:900}.hd-quiz-num-ok{flex:none;width:auto;padding:10px 18px;font-size:15px}.hd-quiz-num-answered{color:#5a4a38;text-align:center;padding:6px 0;font-size:16px;font-weight:900}.hd-quiz-num-correct{color:#2cc9a0;margin-top:6px;font-size:14px;font-weight:900}.hd-quiz-explain{color:#5a4a38;text-align:left;background:#fff8ec;border:2px solid #ffe1ab;border-radius:12px;margin-top:10px;padding:10px 12px;font-size:13px;line-height:1.6}#hd-card-btn{z-index:40;color:#fff;cursor:pointer;background:linear-gradient(135deg,#7b68ee,#5e4de0);border:none;border-radius:20px;padding:8px 14px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:12px;font-weight:900;transition:transform .1s;position:absolute;bottom:12px;left:12px;box-shadow:0 3px 10px #0003}#hd-card-btn:active{transform:scale(.95)}#hd-dentist-btn{z-index:40;color:#fff;cursor:pointer;background:linear-gradient(135deg,#2dd4bf,#0d9488);border:none;border-radius:20px;padding:6px 12px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:11px;font-weight:900;transition:transform .1s;position:absolute;bottom:52px;left:12px;box-shadow:0 3px 10px #0003}#hd-dentist-btn:active{transform:scale(.95)}.hd-cal-dentist{font-size:10px;line-height:1;position:absolute;top:1px;right:2px}.hd-dentist{max-width:340px}.hd-dentist-note{color:#666;margin:10px 0;font-size:13px;line-height:1.7}.hd-dentist-current{color:#0d9488;margin-bottom:8px;font-size:13px}.hd-dentist-input{border:2px solid #ddd;border-radius:12px;width:100%;margin:6px 0 12px;padding:10px;font-family:inherit;font-size:16px;display:block}.hd-dentist-save{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2dd4bf,#0d9488);border:none;border-radius:14px;width:100%;margin-bottom:8px;padding:12px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:15px;font-weight:900;display:block}.hd-dentist-save:disabled{opacity:.5;cursor:default}.hd-cal-overlay{z-index:600;background:#0009;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.hd-cal{background:#fff;border-radius:24px;width:100%;max-width:380px;padding:18px 16px;animation:.3s slide-up;box-shadow:0 8px 32px #0000004d}@media (min-width:480px){.hd-cal{max-width:460px;padding:22px 20px}.hd-cal-title{font-size:17px}.hd-cal-cell{font-size:13px}.hd-cal-legend{font-size:12px}.hd-cal-legend img{vertical-align:-4px;width:20px;height:20px}.hd-cal-stat b{font-size:24px}}.hd-cal-head{justify-content:space-between;align-items:center;gap:6px;margin-bottom:12px;display:flex}.hd-cal-title{color:#3a2e1e;text-align:center;flex:1;font-size:15px;font-weight:900}.hd-cal-nav{cursor:pointer;color:#5e4de0;background:#efeaff;border:none;border-radius:10px;flex-shrink:0;width:34px;height:34px;font-family:inherit;font-size:18px;font-weight:900}.hd-cal-nav:active{transform:scale(.92)}.hd-cal-dow{grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:4px;display:grid}.hd-cal-dow span{text-align:center;color:#aaa;font-size:11px;font-weight:700}.hd-cal-grid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.hd-cal-cell{aspect-ratio:1;color:#999;background:#f6f6f6;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;font-size:11px;line-height:1;display:flex;position:relative}.hd-cal-cell.empty{background:0 0}.hd-cal-cell.brushed{color:#5e4de0;background:#eef0ff;font-weight:900}.hd-cal-cell.today{outline-offset:-1px;outline:2px solid #ffcf33}.hd-cal-stamp{-o-object-fit:contain;object-fit:contain;width:62%;height:auto;margin-top:1px}.hd-cal-stat{gap:8px;margin-top:14px;display:flex}.hd-cal-stat>div{text-align:center;background:#f6f4ff;border-radius:12px;flex:1;padding:9px 4px}.hd-cal-stat b{color:#5e4de0;font-size:20px;font-weight:900;display:block}.hd-cal-stat small{color:#888;font-size:10px}.hd-cal-close{color:#aaa;cursor:pointer;background:#fff;border:2px solid #eee;border-radius:50px;width:100%;margin-top:12px;padding:11px;font-family:inherit;font-size:13px;font-weight:700}.hd-rotate-overlay{display:none}@media screen and (pointer:coarse) and (orientation:landscape) and (min-width:480px) and (max-height:500px){.hd-rotate-overlay{z-index:10000;color:#5a3800;text-align:center;background:#fff8e8;flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:18px;font-weight:900;line-height:1.9;display:flex;position:fixed;inset:0}.hd-rotate-icon{font-size:54px;animation:1.6s ease-in-out infinite hd-rotate-wiggle}}@keyframes hd-rotate-wiggle{0%,to{transform:rotate(-90deg)}50%,70%{transform:rotate(0)}}.hd-cal-legend{text-align:center;color:#888;margin-top:12px;font-size:11px;font-weight:700}.hd-person-emoji{text-align:center;filter:drop-shadow(0 4px 3px #0000002e);-webkit-user-select:none;user-select:none;line-height:1;display:block}.hd-cal-legend{white-space:nowrap}.hd-cal-legend img{-o-object-fit:contain;object-fit:contain;vertical-align:-3px;width:16px;height:16px;display:inline-block}@media (max-width:360px){.clinic-name-bar input{width:78px;font-size:11px}.clinic-name-bar button{padding:4px 8px;font-size:10px}.tab-btn .tab-label{white-space:nowrap;font-size:8px}}@media (min-width:768px){#hd-card-btn{border-radius:28px;padding:16px 30px;font-size:20px;bottom:24px;left:24px;box-shadow:0 6px 18px #5e4de059}#hd-dentist-btn{padding:10px 18px;font-size:14px;bottom:92px;left:24px}}@media (min-width:1100px){#hd-card-btn{border-radius:34px;padding:22px 42px;font-size:26px;bottom:32px;left:32px}#hd-dentist-btn{padding:12px 22px;font-size:16px;bottom:118px;left:32px}}.hd-login-screen{z-index:1200;background:linear-gradient(160deg,#bfe9ff 0%,#e6f7ff 45%,#fff4e0 100%);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.hd-login-card{background:#fff;border-radius:28px;width:100%;max-width:360px;padding:24px 22px;animation:.3s slide-up;box-shadow:0 12px 40px #2f7cf62e}.hd-login-logo{text-align:center;margin-bottom:4px;font-size:44px;line-height:1}.hd-login-app-title{color:#2b6cb0;text-align:center;margin-bottom:4px;font-size:22px;font-weight:900}.hd-login-label{color:#888;margin:12px 0 4px 4px;font-size:12px;font-weight:900;display:block}.hd-kid-step{color:#3a2e1e;justify-content:center;align-items:center;gap:8px;margin:10px 0 12px;font-size:15px;font-weight:900;display:flex}.hd-kid-step-no{color:#fff;background:#2f7cf6;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:13px;display:inline-flex}.hd-pin-boxes{justify-content:center;gap:10px;margin-bottom:12px;display:flex}.hd-pin-box{color:#3a2e1e;background:#faf9ff;border:3px solid #d8d2ff;border-radius:14px;justify-content:center;align-items:center;width:52px;height:60px;font-size:28px;font-weight:900;display:flex}.hd-pin-box.filled{background:#f1eeff;border-color:#5e4de0}.hd-pin-box.current{border-color:#2f7cf6;box-shadow:0 0 0 3px #2f7cf626}.hd-keypad{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.hd-key{color:#2b3a55;cursor:pointer;background:#f0f4ff;border:none;border-radius:16px;height:58px;font-family:inherit;font-size:24px;font-weight:900;transition:transform 50ms;box-shadow:0 3px #d5ddf0}.hd-key:active{transform:translateY(2px);box-shadow:0 1px #d5ddf0}.hd-key:disabled{opacity:.5}.hd-key-del{color:#c0564a;background:#fff0ee;font-size:16px;box-shadow:0 3px #f0d5d0}.hd-key-ok{color:#fff;background:linear-gradient(135deg,#34d399,#10b981);font-size:20px;box-shadow:0 3px #0d9268}.hd-kid-back{color:#888;cursor:pointer;background:0 0;border:none;width:100%;margin-top:10px;padding:8px;font-family:inherit;font-size:13px;font-weight:700;display:block}.hd-login-mode-link{color:#c0bcd0;cursor:pointer;background:0 0;border:none;width:100%;margin-top:10px;padding:6px;font-family:inherit;font-size:11px;font-weight:700;text-decoration:underline;display:block}#hd-login-btn{z-index:30;color:#fff;cursor:pointer;background:linear-gradient(135deg,#38bdf8,#0284c7);border:none;border-radius:20px;padding:6px 12px;font-family:"M PLUS Rounded 1c",sans-serif;font-size:11px;font-weight:900;transition:transform .1s;position:absolute;top:70px;right:12px;box-shadow:0 3px 10px #0003}#hd-login-btn:active{transform:scale(.95)}.hd-login-title{color:#3a2e1e;text-align:center;margin-bottom:10px;font-size:16px;font-weight:900}.hd-login-note{color:#777;margin-bottom:12px;font-size:12px;line-height:1.7}.hd-login-input{box-sizing:border-box;text-align:center;letter-spacing:2px;color:#3a2e1e;border:2px solid #d8d2ff;border-radius:14px;outline:none;width:100%;padding:12px;font-family:inherit;font-size:18px;font-weight:900}.hd-login-input:focus{border-color:#5e4de0}.hd-login-error{color:#e0564a;text-align:center;margin-top:8px;font-size:12px;font-weight:700}.hd-login-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#38bdf8,#0284c7);border:none;border-radius:50px;width:100%;margin-top:12px;padding:12px;font-family:inherit;font-size:15px;font-weight:900;box-shadow:0 4px 12px #0284c74d}.hd-login-submit:disabled{opacity:.6;cursor:default}
