@font-face{font-family:"TVPP HY Thu Phap 4";src:url("/fonts/hy-thu-phap-4.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#152b32;color:#f7f3e9;font-family:Arial,sans-serif}canvas{display:block;touch-action:none}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer;padding:12px 18px;border:1px solid #ffffff30;border-radius:8px;background:#18333ce8;color:#f7f3e9}button:hover{background:#36535b}button:focus-visible,a:focus-visible{outline:3px solid #dfb875;outline-offset:3px}button:disabled{opacity:.55;cursor:default}header{position:fixed;top:25px;left:28px;right:28px;display:flex;gap:10px;align-items:start;pointer-events:none}header>div{margin-right:auto;text-shadow:0 2px 8px #000}header button{pointer-events:auto;backdrop-filter:blur(10px)}header small{font-size:11px;letter-spacing:3px;display:block;color:#e4c38e}header b{display:block;font:23px Georgia;margin:9px 0}header span{font-size:13px;color:#d6e2e4}#labels{position:fixed;inset:0;pointer-events:none}.place{position:absolute;transform:translate(-50%,-100%);padding:9px 14px;color:#fff;background:#15333cdd;border:1px solid #d3af6e66;border-radius:6px;font-size:13px;white-space:nowrap;pointer-events:auto;box-shadow:0 5px 20px #0003}.place small{display:block;color:#e6c996;font-size:10px;letter-spacing:2px;margin-bottom:5px}#cross{position:fixed;top:50%;left:50%;width:5px;height:5px;background:white;border-radius:50%;box-shadow:0 0 3px #000;pointer-events:none}#cross.hit{box-shadow:0 0 0 5px #e4bf7d66}#hint{position:fixed;top:54%;left:10%;width:80%;text-align:center;text-shadow:0 1px 4px #000;pointer-events:none}#toolbar{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;white-space:nowrap}#progress{font-size:12px;padding:12px;background:#18333cd9;border-radius:8px}.veil{position:fixed;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#0c252af5,#0c252a55);z-index:10}.welcome{width:min(720px,90vw);padding:35px}.eyebrow{font-size:11px;letter-spacing:3px;color:#dfb875}h1{font:clamp(38px,5vw,66px)/1.1 Georgia,serif;letter-spacing:-1px;margin:22px 0}.welcome p{font-size:17px;line-height:1.7;max-width:490px;color:#d1dde0}.primary{background:#d6b582;color:#142d34;border:0;font-weight:bold;padding:16px 27px}.primary:hover{background:#eacda0}.keyguide{margin:25px 0;display:flex;align-items:center;gap:12px;font-size:13px}.welcome small{font-size:12px;color:#b5c8cb}kbd{border:1px solid #ffffff40;padding:5px 7px;border-radius:4px}dialog{width:min(820px,94vw);max-height:88vh;overflow:auto;border:1px solid #e1c18b60;border-radius:16px;padding:36px;background:#f5f1e8;color:#22373c;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#071e29bb;backdrop-filter:blur(6px)}dialog h2{font:36px Georgia;margin:12px 30px 18px 0}dialog h3{font:23px Georgia}dialog p,dialog li{font-size:16px;line-height:1.75}dialog button{margin:5px 5px 5px 0}dialog a{color:#315d68}dialog .close{position:sticky;top:0;float:right;padding:5px 13px;font-size:24px;margin:-15px -15px 0 0}dialog .muted{font-size:13px;color:#697777}.cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card{border:1px solid #d5d7ce;border-radius:10px;padding:18px;background:#fff9}.card button{width:100%;margin:12px 0 0}.chart{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:20px 0}.chart button{height:75px;font-size:14px;margin:0;padding:5px}.chart .center{grid-area:2/2/4/4;display:grid;place-items:center;text-align:center;border:1px solid #c3ae83;color:#56615e;font:24px Georgia;padding:10px}.chart button.active{background:#b99a64;color:#fff}textarea{width:100%;min-height:230px;padding:16px;font:16px/1.7 Arial;border:1px solid #bcc6c3;border-radius:8px;background:#fff;color:#1f363b}#pad{display:none;position:fixed;bottom:24px;left:18px;grid-template-columns:repeat(3,46px);gap:5px}#pad button{padding:13px}#pad button:first-child{grid-column:2}#pad button:nth-child(2){grid-column:1}#resume{position:fixed;bottom:84px;left:50%;transform:translateX(-50%)}#toast{position:fixed;top:110px;left:50%;transform:translateX(-50%);background:#18333c;padding:12px 20px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}.answer{display:block;text-align:left;width:100%}#graphics{font-size:12px;color:#d6b582}.article{max-width:650px}.badge{font-size:11px;letter-spacing:2px;color:#7d6641}@media(pointer:coarse){#pad{display:grid}#toolbar{left:auto;right:14px;transform:none;bottom:24px;flex-direction:column;align-items:end}#progress{display:none}#resume{display:none!important}}@media(max-width:600px){header{top:15px;left:15px;right:15px;gap:5px}header b{font-size:17px}header button{font-size:12px;padding:9px}header small{font-size:9px}header span{font-size:12px}.welcome{padding:20px}.keyguide{flex-wrap:wrap}.cards{grid-template-columns:1fr}dialog{padding:24px}dialog h2{font-size:29px}#toolbar{max-width:60vw}#toolbar button{font-size:12px}.place{font-size:11px;padding:7px}#hint{font-size:13px}}

/* DAOTAO: warm lacquer, antique gold and rice-paper interface. */
html,body{background:#342b23;color:#f9edcf}
button{background:#52362ce8;border-color:#bda06b99;color:#f7e9ca;border-radius:5px}button:hover{background:#704a37}header>div{padding:10px 15px;background:#352a23da;border:1px solid #bfa06c88;border-radius:5px}header small{color:#e6c38d}header span{color:#efdfc1}
header b,h1,dialog h2,dialog h3{font-family:Georgia,"Times New Roman",serif}
.place{background:#573228ec;border:1px solid #d3ad6d;color:#f8ebce;border-radius:3px;box-shadow:0 3px 12px #24190e55}.place small{color:#e6bf7c}
.veil{background:linear-gradient(90deg,#30261fdb,#30261f38)}.welcome{background:#3e3025e0;border:1px solid #bd9858;border-radius:6px;box-shadow:0 0 0 5px #b99a6330,0 15px 60px #1b160f55}.welcome p,.welcome small{color:#e2d3b4}.primary{background:#c7a164;color:#402a1c}.primary:hover{background:#dfc08b}
dialog{background:#f2e9d5;color:#493b2c;border:2px solid #a68249;border-radius:7px;box-shadow:0 0 0 4px #ae8c5655,0 25px 70px #25190e66}dialog::backdrop{background:#30241d99}dialog a{color:#855137}dialog .muted{color:#796951}.card{background:#f9f1df;border-color:#cbb798}.badge{color:#8b613b}#progress,#toast{background:#51392d}
.academy-plan{display:block;width:100%;height:auto;max-height:66vh;background:#f8f1e3;border:1px solid #c8b48c;border-radius:4px}
.academy-plan .room-text{fill:#463d30;font:700 12px Arial,sans-serif;text-anchor:middle;pointer-events:none}
.academy-plan .plan-small{fill:#79654a;font:11px Arial,sans-serif;text-anchor:middle;pointer-events:none}
.academy-plan .door{fill:none;stroke:#826b49;stroke-width:1.4}
.academy-plan .furniture{fill:#ad9473;stroke:#765c40;stroke-width:1;rx:2}
.academy-plan .plan-room{cursor:pointer;outline:none}.academy-plan .plan-room:hover .room-fill,.academy-plan .plan-room:focus-visible .room-fill{fill:#e8c886;stroke:#9b5d2e;stroke-width:4}
@media(max-width:600px){header>div{padding:7px 9px}.welcome{padding:20px}.academy-plan{max-height:unset}dialog{padding:18px}dialog h2{font-size:27px}}

/* Analog mobile joystick. */
#pad{display:none;position:fixed;left:max(20px,env(safe-area-inset-left));bottom:max(26px,env(safe-area-inset-bottom));width:118px;height:118px;border:1px solid #d5ba8288;border-radius:50%;background:#352a2355;box-shadow:inset 0 0 0 5px #e8d4aa16;touch-action:none;user-select:none;-webkit-user-select:none;z-index:4;cursor:grab}
#pad .joy-ring{position:absolute;inset:15px;border:1px dashed #e0c79866;border-radius:50%;pointer-events:none}
#pad .joy-thumb{position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 25%,#e4c78b,#9f7944);border:1px solid #f2dcb2;box-shadow:0 3px 8px #261c1977;pointer-events:none}
#pad.engaged{background:#352a2388}#pad.engaged .joy-thumb{background:radial-gradient(circle at 35% 25%,#f8dfaa,#b89251)}
@media(pointer:coarse),(any-pointer:coarse){#pad{display:block}}
@media(max-height:440px) and (pointer:coarse){#pad{width:100px;height:100px;bottom:12px}}
#toolbar{z-index:3}#world{position:fixed;inset:0}#labels{z-index:2}header{z-index:5}

/* Seated lesson mode: centered 3D board, no roaming HUD. */
#studyControls[hidden]{display:none!important}#studyControls{position:fixed;z-index:7;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:9px 12px;border:1px solid #bfa06c88;background:#352a23e8;border-radius:9px;color:#f6e5c2;white-space:nowrap;font:13px Helvetica,Arial,sans-serif}#studyControls button{padding:9px 14px;background:#c7a164;color:#402a1c;border-radius:7px;font-weight:700}.academy-seated #toolbar,.academy-seated #pad,.academy-seated #hint,.academy-seated #resume,.academy-seated #labels,.academy-seated #academy-online .online-tag,.academy-seated #academy-online .online-menu,.academy-seated #academy-online .online-bubble{display:none!important}#panel.teaching-panel{width:min(1100px,95vw);max-height:91dvh;min-height:min(58dvh,400px);background:#28443e;color:#f4ebd8;border:5px solid #aab5ae;box-shadow:0 14px 65px #0008,inset 0 0 45px #102c2455;font-family:Helvetica,Arial,sans-serif}#panel.teaching-panel h2,#panel.teaching-panel h3{color:#f4e3bd;font-family:Helvetica,Arial,sans-serif}#panel.teaching-panel .card{background:#354f47;border-color:#899c8566;color:#f4ebd8}#panel.teaching-panel .muted,#panel.teaching-panel .badge{color:#d2dacb}#panel.teaching-panel a{color:#f4d6a0}#panel.teaching-panel .article{max-width:900px}#panel.teaching-panel .chart .center{color:#f5e8ce;border-color:#879c90}#panel.teaching-panel .close{color:#f7e5c1}#panel.teaching-panel::backdrop{background:#081c1870;backdrop-filter:none}@media(max-width:600px){#studyControls{gap:8px;font-size:11px;max-width:94vw;white-space:normal}#studyControls button{flex-shrink:0}#panel.teaching-panel{padding:20px;min-height:0}}

/* Final HUD layout: real grid regions, not overlapping fixed-position buttons. */
#academyHeaderActions{display:flex;align-items:flex-start;gap:8px;margin:0;padding:0;background:transparent;border:0;box-shadow:none;pointer-events:none;text-shadow:none}#academyHeaderActions button{pointer-events:auto;white-space:nowrap}#academyIdentity{min-width:0}#toolbar .online-toggle{position:static;flex-shrink:0;white-space:nowrap}#toolbar button{pointer-events:auto} .academy-seated #academy-online .online-tag.self{display:block!important}
@media(max-width:767px),(pointer:coarse) and (max-width:1024px){
 #academyHeader{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;top:max(9px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));align-items:start;flex-wrap:unset!important}
 #academyIdentity{width:100%;margin:0;padding:8px!important;overflow:hidden}#academyIdentity small{font-size:9px;letter-spacing:1.8px;line-height:1.3}#academyIdentity b{font-size:clamp(11px,3.6vw,16px);line-height:1.2;margin:5px 0;white-space:normal}#academyIdentity #location{display:block;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
 #vn-clock{position:static!important;top:auto!important;left:auto!important;width:100%!important;box-sizing:border-box!important;margin:6px 0 0;padding:6px 0 0!important;border:0!important;border-top:1px solid #bfa06c66!important;border-radius:0!important;background:none!important}#vn-clock time{font-size:clamp(15px,5vw,21px)!important;letter-spacing:.3px!important}#vn-clock>div{font-size:10px!important;white-space:normal!important;overflow-wrap:anywhere}
 #academyHeaderActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;min-width:0;margin:0!important;padding:0!important;align-items:stretch}#academyHeaderActions button{width:100%;height:42px;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.15;padding:4px!important;font:12px Helvetica,Arial,sans-serif}
 #toolbar{position:fixed!important;left:auto!important;right:max(10px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));transform:none!important;display:flex;flex-direction:column;align-items:stretch;gap:6px;width:min(45vw,188px);max-width:none;white-space:normal}#toolbar button,#toolbar .online-toggle{width:100%;height:42px;min-height:42px;max-height:42px;white-space:normal;line-height:1.15;padding:5px 8px;font:12px Helvetica,Arial,sans-serif;position:static!important;margin:0!important;overflow:hidden}#progress{display:none}#pad{left:max(12px,env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));width:clamp(90px,29vw,118px);height:clamp(90px,29vw,118px)}#hint{top:auto;bottom:calc(150px + env(safe-area-inset-bottom));left:12px;width:calc(100% - 24px);font-size:12px;pointer-events:none}#toast{top:auto;bottom:calc(160px + env(safe-area-inset-bottom));max-width:90vw;z-index:8;font-size:12px;white-space:normal;text-align:center}#studyControls{bottom:calc(12px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);width:max-content;white-space:normal;font-size:12px}#studyControls button{min-height:42px;flex-shrink:0}.online-tag{max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.academy-seated #toolbar{display:none!important}
}
@media(max-height:440px) and (pointer:coarse){#academyHeader{grid-template-columns:minmax(150px,40%) minmax(0,1fr);left:8px;right:8px;top:8px}#academyHeaderActions{grid-template-columns:repeat(4,minmax(0,1fr))}#academyHeaderActions button{height:36px}#academyIdentity #vn-clock{display:grid;grid-template-columns:1fr 1fr;gap:1px 5px}#vn-clock time{font-size:15px!important}#toolbar{width:168px;gap:4px}#toolbar button,#toolbar .online-toggle{height:34px;min-height:34px;max-height:34px}#pad{width:92px;height:92px}}

/* Keep roaming controls within the visible viewport on all devices. */
#resume[hidden]{display:none!important}
@media(min-width:768px){#academyHeader{min-width:0;flex-wrap:wrap}#academyHeaderActions{max-width:100%;flex-wrap:wrap;justify-content:flex-end}#toolbar{width:max-content;max-width:calc(100vw - 32px);bottom:calc(18px + env(safe-area-inset-bottom));flex-wrap:wrap;justify-content:center;white-space:normal}#toolbar button{min-width:0;max-width:100%;white-space:normal}#progress{flex-shrink:0}}
@media(min-width:768px) and (max-width:1024px) and (pointer:coarse){#toolbar{width:min(45vw,188px);max-width:45vw;align-items:stretch}}

/* Academy glass system: day/night follows the same solar elevation as the 3D scene. */
:root{color-scheme:dark;--glass:rgba(24,31,38,.78);--glass-soft:rgba(38,47,57,.63);--glass-border:rgba(255,255,255,.25);--glass-ink:#f6f7fa;--glass-muted:#d4d9e3;--glass-gold:#f2d39b;--glass-btn:rgba(255,255,255,.11);--glass-hover:rgba(255,255,255,.22);--glass-shadow:0 10px 32px #0004,inset 0 1px 0 #ffffff28;--glass-veil:rgba(10,16,23,.38)}
:root[data-academy-theme=light]{color-scheme:light;--glass:rgba(249,251,255,.83);--glass-soft:rgba(255,255,255,.68);--glass-border:rgba(255,255,255,.88);--glass-ink:#18252e;--glass-muted:#465563;--glass-gold:#805b21;--glass-btn:rgba(255,255,255,.54);--glass-hover:rgba(255,255,255,.86);--glass-shadow:0 10px 32px #22384c22,inset 0 1px 0 #ffffffcc;--glass-veil:rgba(223,233,241,.19)}
html,body{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
#academyIdentity,#vn-clock,.welcome,dialog,#studyControls,#progress,#toast,.online-menu,.online-bubble{background:var(--glass)!important;color:var(--glass-ink)!important;border:1px solid var(--glass-border)!important;border-radius:20px!important;box-shadow:var(--glass-shadow)!important;text-shadow:none;backdrop-filter:blur(16px) saturate(145%);-webkit-backdrop-filter:blur(16px) saturate(145%)}
#academyIdentity{position:relative;margin-right:auto;padding:12px 16px!important;min-width:230px;max-width:340px}
#academyIdentity small{font:650 11px/1.35 -apple-system,BlinkMacSystemFont,Arial,sans-serif;letter-spacing:.6px;color:var(--glass-muted)}
#academyIdentity b{font:650 17px/1.35 -apple-system,BlinkMacSystemFont,Arial,sans-serif;margin:7px 0 2px;overflow-wrap:anywhere}
#academyIdentity #academyLevel{display:block;color:var(--glass-gold);font:650 10px/1.4 Arial,sans-serif;letter-spacing:.45px}
#academyIdentity #location{display:block;color:var(--glass-muted);font-size:12px;margin-top:8px;padding-top:7px;border-top:1px solid var(--glass-border)}
#vn-clock{position:absolute;top:calc(100% + 8px);left:0;width:100%;padding:10px 16px!important;font-variant-numeric:tabular-nums;pointer-events:none}
#vn-clock time{display:block;color:var(--glass-ink)!important;font:650 24px/1.15 -apple-system,BlinkMacSystemFont,Arial,sans-serif!important;letter-spacing:.7px}
#vn-clock>div{font-size:12px;color:var(--glass-muted)!important;margin-top:4px}
button,#toolbar .online-toggle,#academyHeaderActions button,#studyControls button,#academy-online .online-menu button,#academy-online .online-bubble button{font-family:inherit;background:var(--glass-btn)!important;color:var(--glass-ink)!important;border:1px solid var(--glass-border)!important;border-radius:999px!important;box-shadow:inset 0 1px 0 #ffffff25;min-height:40px;padding:8px 16px;line-height:1.2;font-size:13px;font-weight:550;transition:background .15s,transform .15s}
button:hover,#toolbar .online-toggle:hover{background:var(--glass-hover)!important}button:active:not(:disabled){transform:scale(.97)}
#academyHeaderActions button,#toolbar button,#toolbar .online-toggle{background:var(--glass)!important;box-shadow:var(--glass-shadow);height:42px;min-height:42px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
#academyHeaderActions{display:grid;grid-template-columns:repeat(4,minmax(104px,1fr));gap:7px}
#academyHeaderActions button{width:100%;padding:6px 10px!important;font-size:13px!important;white-space:nowrap}
.veil{background:var(--glass-veil);padding:16px;overflow:auto}
.welcome{width:min(580px,94vw);max-height:calc(100dvh - 32px);overflow:auto;padding:clamp(20px,5vw,40px)!important;text-align:center}
.welcome h1{font:650 clamp(25px,5vw,42px)/1.15 -apple-system,BlinkMacSystemFont,Arial,sans-serif;letter-spacing:-.6px;margin:15px 0}
.welcome p{font-size:14px;line-height:1.6;margin:12px auto;color:var(--glass-muted)}.welcome small,.welcome .eyebrow,.welcome-domain,.account-state,#graphics{color:var(--glass-muted)!important}
.account-state{font-size:13px;margin:12px 0}.welcome-domain{display:block;margin-top:14px}
.welcome .primary{display:block;width:min(100%,340px);height:46px;margin:8px auto!important;font-weight:650}
#enter.primary{background:linear-gradient(140deg,#e6c788,#c69b54)!important;color:#302113!important;border-color:#fff7!important}
.keyguide{justify-content:center;flex-wrap:wrap;margin:18px 0;gap:8px;color:var(--glass-muted)}kbd{border-color:var(--glass-border);border-radius:7px}
.glass-input,textarea,select,input{background:var(--glass-btn);color:var(--glass-ink);border:1px solid var(--glass-border);border-radius:12px;padding:10px 14px;font:inherit}
.glass-input{display:block;width:min(100%,340px);margin:8px auto}
.glass-input[hidden]{display:none!important}.glass-input::placeholder{color:var(--glass-muted)}
dialog{padding:24px}dialog::backdrop{background:var(--glass-veil);backdrop-filter:blur(4px)}dialog h2,dialog h3{font-family:inherit;color:var(--glass-ink)}dialog .muted,dialog .badge{color:var(--glass-muted)}dialog a{color:var(--glass-gold)}dialog .card{background:var(--glass-btn);border-color:var(--glass-border);color:var(--glass-ink);border-radius:14px}dialog .close{width:36px;height:36px;min-height:36px;padding:0!important;line-height:1;font-size:23px}#accountBody .account-row{border-color:var(--glass-border)!important}
#panel.teaching-panel{background:#28443e!important;color:#f4ebd8!important;backdrop-filter:none;-webkit-backdrop-filter:none}#panel.teaching-panel h2,#panel.teaching-panel h3{color:#f4ebd8}#panel.teaching-panel button{background:#ffffff18!important;color:#f4ebd8!important}
#pad{background:var(--glass-soft);border-color:var(--glass-border);box-shadow:inset 0 1px 0 #fff4}#pad .joy-thumb{background:var(--glass);border-color:var(--glass-border)}
@media(max-width:767px),(pointer:coarse) and (max-width:1024px){#academyIdentity{min-width:0;max-width:none;padding:9px!important}#academyIdentity small{font-size:10px;letter-spacing:0}#academyIdentity b{font-size:14px;margin:4px 0}#academyIdentity #academyLevel{font-size:9px}#academyIdentity #location{font-size:11px;margin-top:5px;padding-top:5px}#vn-clock{position:absolute!important;top:calc(100% + 7px)!important;left:0!important;margin:0!important;width:100%!important;padding:8px 10px!important;border:1px solid var(--glass-border)!important;border-radius:16px!important;background:var(--glass)!important}#vn-clock time{font-size:20px!important}#vn-clock>div{font-size:11px!important}#academyHeaderActions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#academyHeaderActions button{font-size:12px!important;white-space:normal;height:42px;min-height:42px}#toolbar button,#toolbar .online-toggle{font-size:12px;backdrop-filter:none;-webkit-backdrop-filter:none}#academyIdentity,#vn-clock,#academyHeaderActions button{backdrop-filter:none;-webkit-backdrop-filter:none}.welcome{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}}
@media(max-height:440px) and (pointer:coarse){#academyHeaderActions{grid-template-columns:repeat(4,minmax(0,1fr))}#academyHeaderActions button{height:34px;min-height:34px}#vn-clock{display:block!important}#vn-clock time{font-size:17px!important}.welcome{padding:14px!important}.welcome h1{font-size:25px;margin:8px 0}.keyguide{margin:8px 0}}

/* Clear glass: one geometry system on desktop, tablet and phone. Clock is a sibling, not a clipped absolute child. */
:root{--glass:rgba(24,31,38,.89);--glass-soft:rgba(38,47,57,.80);--glass-border:rgba(255,255,255,.31);--glass-veil:rgba(10,16,23,.15)}
:root[data-academy-theme=light]{--glass:rgba(249,251,255,.92);--glass-soft:rgba(255,255,255,.84);--glass-veil:rgba(223,233,241,.10)}
#academyHeader{display:grid!important;grid-template-columns:minmax(220px,310px) 1fr;grid-template-rows:auto auto;align-items:start;gap:8px 12px}
#academyIdentity{grid-column:1;grid-row:1;overflow:visible!important;width:100%;min-width:0;margin:0!important;max-width:none}
#vn-clock{grid-column:1;grid-row:2;position:static!important;top:auto!important;left:auto!important;margin:0!important;max-width:100%;width:100%;display:flex!important;align-items:baseline;justify-content:space-between;gap:6px;padding:9px 12px!important;border:1px solid var(--glass-border)!important;border-radius:16px!important}
#vn-clock time{font-size:22px!important;letter-spacing:.2px!important}#vn-clock>div{margin:0;font-size:12px!important;white-space:nowrap!important}
#academyHeaderActions{grid-column:2;grid-row:1 / 3;justify-self:end;grid-template-columns:repeat(4,minmax(94px,110px));width:auto;align-items:start}
#academyHeaderActions button,#toolbar button,#toolbar .online-toggle{height:42px;min-height:42px;max-height:42px;font-size:13px!important;border-radius:999px!important}
#academyIdentity,#vn-clock,.welcome,dialog,#studyControls,#progress,#toast,#academyHeaderActions button,#toolbar button,#toolbar .online-toggle{backdrop-filter:blur(7px) saturate(120%);-webkit-backdrop-filter:blur(7px) saturate(120%)}
.welcome{width:min(580px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;overflow:auto}
.welcome h1{font-weight:600;letter-spacing:.2px}.welcome .primary{min-height:44px;max-width:340px}
#world canvas{image-rendering:auto;width:100%;height:100%}
@media(max-width:767px),(pointer:coarse) and (max-width:1024px){
 #academyHeader{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-rows:auto auto;gap:6px 8px;top:max(8px,env(safe-area-inset-top));left:max(9px,env(safe-area-inset-left));right:max(9px,env(safe-area-inset-right))}
 #academyIdentity{padding:9px!important}#academyIdentity small{font-size:10px;line-height:1.3}#academyIdentity b{font-size:14px}
 #academyHeaderActions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #academyHeaderActions button,#toolbar button,#toolbar .online-toggle{font-size:12px!important;height:42px;min-height:42px;max-height:42px;padding:5px 6px!important}
 #vn-clock{padding:8px!important;flex-wrap:wrap;justify-content:flex-start;gap:2px 8px}#vn-clock time{font-size:19px!important}#vn-clock>div{font-size:10px!important}
 #academyIdentity,#vn-clock,.welcome,dialog,#studyControls,#progress,#toast,#academyHeaderActions button,#toolbar button,#toolbar .online-toggle{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .veil{padding:12px;overflow:auto}.welcome{width:min(94vw,520px);padding:20px 16px!important;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
 .welcome h1{font-size:clamp(26px,7vw,36px);line-height:1.18;margin:12px 0}.welcome p{font-size:14px;line-height:1.5}.welcome .primary{width:100%;max-width:340px}
 .keyguide{gap:6px;margin:12px 0}dialog{padding:18px;max-height:88vh;max-height:88dvh}dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(max-height:440px) and (pointer:coarse){#academyHeader{grid-template-columns:minmax(140px,36%) minmax(0,1fr)}#academyHeaderActions{grid-template-columns:repeat(4,minmax(0,1fr))}#academyHeaderActions button,#toolbar button,#toolbar .online-toggle{height:34px;min-height:34px;max-height:34px}#vn-clock{display:flex!important}#vn-clock time{font-size:16px!important}.welcome{padding:14px!important}.welcome h1{font-size:24px}.welcome .primary{height:40px;min-height:40px}}

/* Destructive/close controls are consistently red, not neutral glass. */
#academy-online .online-menu button.close-action,dialog button.close,#accountClose,#photoClose{background:#b92531!important;color:#fff!important;border-color:#ed6974!important}#academy-online .online-menu button.close-action:hover,dialog button.close:hover{background:#d43843!important}

/* Mobile controls: larger touch target, retain safe-area margins. */
@media(pointer:coarse),(any-pointer:coarse){#pad{width:clamp(142px,39vw,178px);height:clamp(142px,39vw,178px);left:max(12px,env(safe-area-inset-left));bottom:calc(14px + env(safe-area-inset-bottom))}#pad .joy-thumb{width:62px;height:62px}#pad .joy-ring{inset:19px}}
@media(max-height:480px) and (pointer:coarse){#pad{width:136px;height:136px;bottom:calc(10px + env(safe-area-inset-bottom))}#pad .joy-thumb{width:56px;height:56px}#pad .joy-ring{inset:17px}}

/* In-world identity labels are text, never large glass pills. */
#academy-online button.online-tag,#academy-online .online-tag.self{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:1px 3px!important;min-height:0!important;height:auto!important;width:max-content;max-width:min(180px,42vw);font-size:12px!important;line-height:1.2!important;font-weight:650!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 3px #000,0 0 5px #000!important;transition:none!important}#academy-online .online-tag small{font-size:9px;line-height:1.1;text-shadow:0 1px 3px #000}#academy-online .online-tag.tag-compact small{display:none}#academy-online .online-tag.tag-compact{font-size:11px!important}#academy-online .online-tag.self{font-size:14px!important;color:#ffe3a2!important}#academy-online .online-tag.npc{color:#e7d3a9!important}

/* Names only: no pill, stroke, halo, shadow or focus border. */
#academy-online button.online-tag,#academy-online .online-tag.self,#academy-online .online-tag.tag-compact,#academy-online .online-tag[data-rank]{appearance:none!important;-webkit-appearance:none!important;background:none!important;border:none!important;outline:none!important;box-shadow:none!important;text-shadow:none!important;-webkit-text-stroke:0!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0!important;padding:0 2px!important;font:500 11px/1.2 Arial,sans-serif!important;min-height:0!important;height:auto!important}#academy-online .online-tag.self{font-weight:600!important;font-size:12px!important}#academy-online .online-tag small{display:none!important}#academy-online .online-tag::before,#academy-online .online-tag::after{content:none!important;display:none!important}#academy-online .online-tag:focus-visible{font-weight:700!important}

/* Daylight controls: high contrast, scoped to light theme; world labels untouched. */
:root[data-academy-theme=light]{--glass-btn:#e7edf0;--glass-hover:#d5e1e7;--glass-ink:#172c38;--glass-muted:#405460;--glass-border:#9baeb8}
:root[data-academy-theme=light] button:not(.online-tag):not(.close-action):not(.close):not(#accountClose):not(#photoClose):not(#enter),
:root[data-academy-theme=light] #academyHeaderActions button,
:root[data-academy-theme=light] #toolbar button,
:root[data-academy-theme=light] #toolbar .online-toggle{
 background:#edf3f6!important;color:#172c38!important;border:1px solid #849da9!important;
 font-weight:650;box-shadow:0 2px 5px #18364529,inset 0 1px 0 #fff;
}
:root[data-academy-theme=light] button:not(.online-tag):not(.close-action):not(.close):not(#accountClose):not(#photoClose):not(#enter):hover{background:#d9e7ed!important;border-color:#587887!important}
:root[data-academy-theme=light] button:not(.online-tag):disabled{opacity:.68}
:root[data-academy-theme=light] #academy-online .online-menu .chat-send:not(:disabled){background:#23694b!important;color:white!important;border-color:#18543b!important}
:root[data-academy-theme=light] #academy-online .chat-compose input{background:#fff!important;color:#172c38!important;border-color:#849da9!important}
:root[data-academy-theme=light] #pad{background:#e7edf0c9;border-color:#607f8d;box-shadow:0 2px 8px #18364535}
:root[data-academy-theme=light] #pad .joy-thumb{background:#63818e;border-color:#365969;box-shadow:0 2px 6px #18364540}
:root[data-academy-theme=light] #pad .joy-ring{border-color:#607f8d99}
:root[data-academy-theme=light] #panel.teaching-panel button:not(.close){background:#ffffff18!important;color:#f4ebd8!important;border-color:#aab5ae!important}
:root[data-academy-theme=light] #avatarSetup button[aria-pressed=true]{background:#e6c788!important;color:#302113!important;border-color:#987137!important}
:root[data-academy-theme=light] button:not(.online-tag):focus-visible{outline:2px solid #315c74;outline-offset:2px}

#academyIdentity{border-radius:20px!important;clip-path:none!important}
#academy-online .online-bubble[data-reply],#academy-online .online-bubble[data-reply]>div{color:#fff!important;text-shadow:0 1px 2px #0004!important}
#academyLoginPanel{width:min(540px,calc(100vw - 30px));border-radius:24px!important;padding:28px 30px 26px!important;background:#fff!important;color:#223b2e!important;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}
#academyLoginPanel h2{font-size:clamp(23px,3vw,28px);line-height:1.25;font-weight:800;margin:0 40px 16px 0;color:#223b2e!important}
#academyLoginPanel p{font-size:16px;line-height:1.65;font-weight:600;margin:8px 0 18px;color:#223b2e!important}
#academyLoginPanel .tara-providers{display:grid;gap:9px;margin:12px 0 15px}
#academyLoginPanel .tara-providers button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:0;border:1px solid #cbdcd1!important;border-radius:11px!important;padding:12px!important;background:#fff!important;color:#20422e!important;font-size:14px;font-weight:700}
#academyLoginPanel .tara-providers button:hover{background:#edf5ee!important}
#academyLoginPanel .tara-login-note{font-size:12px!important;font-weight:400!important;line-height:1.5!important;margin:10px 0 0}
#academyLoginPanel .tara-login-note a{color:#17563d!important;text-decoration:underline}
@media(max-width:600px){#academyLoginPanel{padding:20px!important}}

/* Welcome name pill and clickable header over welcome veil. */
#welcome #academyGuestName{border-radius:999px!important;text-align:center!important;height:46px;min-height:46px;padding:8px 18px!important;margin:8px auto!important;width:min(100%,340px);font-weight:600;outline:none}
#welcome #academyGuestName:focus{outline:2px solid #c69b54!important;outline-offset:1px}
#academyHeader{z-index:11!important;pointer-events:none}
#academyHeaderActions #accountButton{pointer-events:auto!important;position:relative;z-index:12}
body:has(#welcome:not([style*="display: none"])) #academyHeaderActions button:not(#accountButton){pointer-events:none}
@media(max-height:440px) and (pointer:coarse){#welcome #academyGuestName{height:40px;min-height:40px}}

/* Academy Liquid Glass sign-in */
#academyLoginPanel{background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(231,241,237,.65))!important;backdrop-filter:blur(32px) saturate(160%);-webkit-backdrop-filter:blur(32px) saturate(160%);border:1px solid rgba(255,255,255,.85)!important;border-radius:32px!important;box-shadow:inset 0 1px 2px #fff,0 20px 65px #162d3540!important;color:#203b32!important;padding:26px!important}#academyLoginPanel::backdrop{background:#20332e30;backdrop-filter:blur(12px)}#academyLoginPanel .tara-providers button{border-radius:999px!important;background:linear-gradient(180deg,#ffffffc9,#dcebe680)!important;border:1px solid #ffffffd9!important;box-shadow:inset 0 1px 1px white,0 4px 12px #213c301a!important;min-height:46px}#academyLoginPanel .tara-providers button:hover{background:#ffffffdf!important}#academyLoginPanel .close{border-radius:50%!important;background:#ffffff90!important;color:#233d34!important;border:1px solid #fff!important;box-shadow:0 3px 12px #18372e22!important}#academyLoginPanel #academyPhoneNote:empty{display:none}#academyPhoneForm input{border-radius:18px!important;background:#ffffff90!important;border:1px solid #fff!important;padding:10px 14px!important;color:#233d34!important}#academyLoginPanel h2{font-size:clamp(18px,4vw,23px);text-align:center;letter-spacing:-.02em}#academyLoginPanel p{font-size:14px;line-height:1.55;font-weight:500}

/* Readable player names, anchored just above each character's actual height. */
#academy-online button.online-tag,#academy-online .online-tag[data-rank],#academy-online .online-tag.tag-compact{font-size:15px!important;font-weight:600!important;max-width:min(260px,46vw)!important;line-height:1.22!important;text-shadow:0 1px 3px #0009!important}#academy-online .online-tag.self,#academy-online .online-tag[data-rank=master]{font-size:17px!important;font-weight:700!important}@media(max-width:600px){#academy-online button.online-tag,#academy-online .online-tag[data-rank],#academy-online .online-tag.tag-compact{font-size:14px!important}#academy-online .online-tag.self,#academy-online .online-tag[data-rank=master]{font-size:16px!important}}

/* Precisely centered vector controls: no font-dependent glyph baseline or padding. */
dialog button.close,#accountClose,#photoClose,#academyLoginClose,#avatarSetup .skin-arrow{box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important;padding:0!important;border-radius:50%!important;line-height:0!important;font-size:0!important;letter-spacing:0!important;flex:0 0 36px!important;isolation:isolate}
dialog button.close::before,dialog button.close::after{content:'';position:absolute;left:50%;top:50%;width:15px;height:2px;background:currentColor;border-radius:2px;transform:translate(-50%,-50%) rotate(45deg)}dialog button.close::after{transform:translate(-50%,-50%) rotate(-45deg)}
#avatarSetup .skin-gallery{position:relative!important}#avatarSetup .skin-arrow{position:absolute!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;z-index:3;margin:0!important}#avatarSetup .skin-prev{left:10px!important;right:auto!important}#avatarSetup .skin-next{right:10px!important;left:auto!important}#avatarSetup .skin-arrow::before{content:'';position:absolute;left:50%;top:50%;width:10px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;border-radius:1px;transform:translate(-62%,-50%) rotate(-45deg)}#avatarSetup .skin-prev::before{transform:translate(-38%,-50%) rotate(135deg)}#avatarSetup .skin-arrow::after{content:none!important}@media(max-width:600px){dialog button.close,#avatarSetup .skin-arrow{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}}

#enter[aria-busy=true]{opacity:.72;cursor:progress}#enter[aria-busy=true]::after{content:' · Đang tải…';font-size:.85em;font-weight:400}

/* Keep the short proximity notification on exactly one line at every viewport. */
#toast.toast-near-user{width:max-content;max-width:calc(100vw - 16px);white-space:nowrap!important;overflow-wrap:normal;word-break:normal;text-align:center;padding:10px clamp(8px,3vw,20px);font-size:clamp(10px,3.6vw,14px);line-height:1.3}

/* Equal inset and concentric circular popup controls. */
dialog button.close,dialog #accountClose,dialog #photoClose,dialog #academyLoginClose{
 position:sticky!important;top:0!important;right:auto!important;bottom:auto!important;left:auto!important;
 float:right!important;margin:0 0 8px 12px!important;transform:none!important;
 width:36px!important;height:36px!important;aspect-ratio:1;box-sizing:border-box!important;
 padding:0!important;display:inline-grid!important;place-items:center!important;
 border-radius:50%!important;z-index:4;
}
dialog{padding:16px!important}
#academyLoginPanel{padding:16px!important}
dialog button.close:focus-visible,dialog #accountClose:focus-visible,dialog #photoClose:focus-visible,dialog #academyLoginClose:focus-visible,#avatarSetup .skin-arrow:focus-visible{outline:2px solid var(--glass-gold,#dfb875)!important;outline-offset:2px!important}
#academyHeaderActions,#toolbar,#studyControls{align-items:center}
#academyHeaderActions button,#toolbar button,#studyControls button{box-sizing:border-box;text-align:center;justify-content:center;align-items:center;line-height:1.2}

/* Fixed equal top/right inset, independent of heading and legacy floats. */
dialog:has(>button.close){padding:16px!important;padding-top:20px!important}
dialog>button.close,dialog#accountPanel>#accountClose,dialog#photoPanel>#photoClose,dialog#academyLoginPanel>#academyLoginClose{
position:absolute!important;inset:16px 16px auto auto!important;float:none!important;margin:0!important;transform:none!important;
width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important;
border:1px solid #ed6974!important;box-shadow:none!important;outline:none!important;
}
dialog>button.close:focus-visible{outline:2px solid currentColor!important;outline-offset:1px!important}
dialog:has(>button.close) h2:first-of-type{padding-right:44px;margin-top:0}

/* Welcome screen owns the UI until the player enters the campus. */


#vn-clock{box-sizing:border-box;text-align:center!important;align-items:center!important;justify-content:center!important}#vn-clock>div{font-size:clamp(13px,1.25vw,18px)!important;font-weight:700!important;line-height:1.35!important;text-align:center!important;width:100%;margin:3px 0 0!important;font-variant-numeric:tabular-nums}#vn-clock>time{text-align:center!important;width:100%;display:block}

:root[data-academy-theme=light] #welcome #accountLogin{background:#18583c!important;color:#fff!important;border:1px solid #10442d!important;box-shadow:0 3px 11px #12372c35!important}:root[data-academy-theme=light] #welcome #guestChoice{background:#cbd0d5!important;color:#27323a!important;border:1px solid #88939d!important;box-shadow:0 3px 10px #182c342a!important}:root[data-academy-theme=light] #welcome #accountLogin:hover{background:#104a32!important}:root[data-academy-theme=light] #welcome #guestChoice:hover{background:#b8c0c7!important}

#academyHeader #academyOnlineCount{grid-column:2;grid-row:2;justify-self:end;align-self:start;display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;padding:7px 13px;border-radius:999px;background:var(--glass,rgba(20,48,52,.82));border:1px solid var(--glass-border,#ffffff40);box-shadow:var(--glass-shadow,0 4px 16px #0003);color:var(--glass-ink,#fff);font:700 clamp(12px,1.2vw,14px)/1.3 Arial,sans-serif;white-space:nowrap;text-align:center;pointer-events:none;z-index:12;letter-spacing:.01em}:root[data-academy-theme=light] #academyHeader #academyOnlineCount{background:#e8f1f2!important;color:#18583c!important;border-color:#95b9ab!important}@media(max-width:767px){#academyHeader #academyOnlineCount{grid-column:2;grid-row:2;justify-self:end;max-width:100%;font-size:11px!important;padding:6px 8px!important}}@media(max-height:440px) and (pointer:coarse){#academyHeader #academyOnlineCount{font-size:10px!important;padding:4px 6px!important}}html.academy-entry #academyOnlineCount,html.academy-fly #academyOnlineCount{display:none!important}

/* Online count directly below account; clock left, date right. */
#academyHeader #academyHeaderActions #academyOnlineCount{grid-column:4;grid-row:2;justify-self:end;align-self:start;white-space:nowrap;font-size:11px!important;font-weight:500!important;padding:5px 9px!important;margin:0!important}
#vn-clock{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}
#vn-clock>time{width:auto!important;flex:0 0 auto;text-align:left!important}
#vn-clock>div{width:auto!important;flex:1 1 auto;text-align:right!important;font-size:clamp(10px,1vw,12px)!important;font-weight:400!important;margin:0!important;line-height:1.2!important}
@media(max-width:767px){#academyHeader #academyHeaderActions #academyOnlineCount{grid-column:2;grid-row:3;font-size:10px!important;padding:4px 6px!important}#vn-clock>div{font-size:10px!important}}
@media(max-height:440px) and (pointer:coarse){#academyHeader #academyHeaderActions #academyOnlineCount{grid-column:4;grid-row:2}}

#academyHeader #academyHeaderActions #academyOnlineCount{justify-self:center!important;margin-inline:auto!important}

#academyHeader #academyHeaderActions #academyOnlineCount{box-sizing:border-box;width:100%;height:42px;min-height:42px;max-height:42px;border-radius:999px!important;font-size:13px!important;font-weight:650!important;padding:5px 4px!important;gap:5px;justify-content:center;white-space:nowrap}
#academyHeader #academyHeaderActions #academyOnlineCount::before{content:'';display:block;width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#22c55e}
@media(max-width:767px){#academyHeader #academyHeaderActions #academyOnlineCount{font-size:12px!important}}
@media(max-height:440px) and (pointer:coarse){#academyHeader #academyHeaderActions #academyOnlineCount{height:34px;min-height:34px;max-height:34px;font-size:12px!important}}

/* Dedicated seated status dock: bottom safe area, no floating overlay on avatar. */
body.academy-seated #studyControls{
 position:fixed!important;
 inset:auto auto calc(env(safe-area-inset-bottom,0px) + 4px) 50%!important;
 transform:translateX(-50%)!important;
 z-index:30!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:10px!important;
 width:max-content!important;
 max-width:calc(100vw - 24px)!important;
 min-height:48px!important;
 padding:5px 8px 5px 14px!important;
 margin:0!important;
 white-space:nowrap!important;
 pointer-events:auto!important;
}
body.academy-seated #studyControls[hidden]{display:none!important}
body.academy-seated #studyControls span{white-space:nowrap!important;line-height:1.2!important}
body.academy-seated #studyControls button{min-height:38px!important;flex:0 0 auto!important}
@media(max-width:600px){
 body.academy-seated #studyControls{font-size:12px!important;gap:9px!important}
 body.academy-seated #studyControls button{font-size:12px!important;padding:7px 12px!important}
}

body.academy-meditating #studyControls{position:fixed!important;top:auto!important;right:auto!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;left:50%!important;transform:translateX(-50%)!important;z-index:40!important}body.academy-meditating #toast.seat-toast{display:none!important}html body.academy-meditating #academyActionCluster#academyActionCluster,html body.academy-meditating #pad#pad,html body.academy-meditating #toolbar#toolbar{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* TARA v2.3 inspired unified soft-corner Liquid Glass geometry (2026-11-30). */
:root{--tara-dialog-radius:26px;--tara-card-radius:18px;--tara-control-radius:14px}
:is(#academyHeaderActions button,#toolbar button,#toolbar .online-toggle,#studyControls button,#welcome button,dialog button:not(.close):not(.skin-arrow),#academyRoomButton,#academyRoomChat button:not(.room-msg-delete),#academyRoomAdmin button){border-radius:var(--tara-control-radius)!important}
:is(#academyHeader #academyOnlineCount,#academyIdentity,#vn-clock,#studyControls,#toast,.welcome,#academyShoutPanel,#academy-online .online-menu,#academy-online .online-bubble){border-radius:var(--tara-card-radius)!important}
:is(dialog,#academyRoomChat,#academyRoomAdmin){border-radius:var(--tara-dialog-radius)!important;overflow:hidden}
dialog{border-width:1px!important;box-shadow:inset 0 1px 0 #ffffff24,0 18px 52px #0005!important}
:is(dialog input,dialog select,dialog textarea,#academyRoomChat input,#academyRoomAdmin input,#academyRoomAdmin select,#academy-online .online-menu input,#academy-online .online-menu select){border-radius:12px!important}
:is(dialog .card,dialog .tara-providers button,#avatarSetup .skin-gallery){border-radius:var(--tara-card-radius)!important}
:is(dialog button.close,#accountClose,#photoClose,#academyLoginClose,#avatarSetup button.skin-arrow){border-radius:50%!important}
:is(#academyRoomChat,#academyRoomAdmin){border:1px solid var(--glass-border)!important;box-shadow:var(--glass-shadow)!important;backdrop-filter:blur(14px) saturate(130%);-webkit-backdrop-filter:blur(14px) saturate(130%)}
@media(max-width:767px){:root{--tara-dialog-radius:22px;--tara-card-radius:16px;--tara-control-radius:12px}}
