:root{--ink: #fff8ec;--ink-soft: rgba(255, 248, 236, .72);--glass: rgba(34, 26, 18, .46);--glass-strong: rgba(34, 26, 18, .68);--line: rgba(255, 236, 200, .18);--gold: #e9c27a;--son: #b5432f;--font: "Be Vietnam Pro", system-ui, sans-serif;--serif: "Lora", Georgia, serif;--pinned-height: 0px;--ticker-height: 0px;--mq: calc(var(--pinned-height) + var(--ticker-height))}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#2a2118;color:var(--ink);font-family:var(--font);-webkit-tap-highlight-color:transparent;user-select:none;touch-action:none}#scene{position:fixed;inset:0;width:100%;height:100%;display:block;outline:none}#hud{position:fixed;inset:0;pointer-events:none}#hud .pill,#hud button{pointer-events:auto}.pill{position:absolute;display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;background:var(--glass);border:1px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:14px}.zone-pill{top:calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px));left:14px;max-width:calc(100% - 172px);white-space:nowrap}.zone-pill .zone{overflow:hidden;text-overflow:ellipsis;min-width:0}.zone-pill .brand,.zone-pill .sep,.zone-pill .count{flex:none}@media (max-width: 480px){.zone-pill .brand,.zone-pill .sep{display:none}}.zone-pill .brand{font-family:var(--serif);font-weight:600;font-size:16px;color:var(--gold)}.zone-pill .sep{width:1px;height:16px;background:var(--line)}.top-right{position:absolute;top:calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px));right:14px;display:flex;gap:8px}.icon-btn{width:40px;height:40px;border-radius:999px;border:1px solid var(--line);background:var(--glass);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:var(--ink);display:grid;place-items:center;cursor:pointer;padding:0}.icon-btn svg{width:20px;height:20px}.icon-fb{background:#1877f2;border-color:#1877f2;color:#fff}.icon-gao{background:#d9962b;border-color:#efc06a;color:#2c1a06}.icon-sound{background:#2f8f68;border-color:#5cbd94;color:#fff}.icon-sound.off{background:#a8483a;border-color:#cf7a6a}.icon-gear{background:#5d6b82;border-color:#8c9ab0;color:#fff}@media (max-width: 420px){.top-right{gap:6px}.top-right .icon-btn{width:37px;height:37px}.zone-pill{max-width:calc(100vw - 194px);overflow:hidden;white-space:nowrap}}.menu-btn{position:absolute;right:14px;bottom:max(20px,env(safe-area-inset-bottom));width:48px;height:48px}.fade{position:absolute;inset:0;background:#1d1610;opacity:0;transition:opacity .4s ease;pointer-events:none}.fade.on{opacity:1}.hint{position:absolute;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translate(-50%);padding:10px 18px;border-radius:999px;background:var(--glass-strong);border:1px solid var(--line);font-size:14px;color:var(--ink-soft);white-space:nowrap;transition:opacity .8s ease}.toast{position:absolute;z-index:4;top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 96px);left:50%;transform:translate(-50%);padding:8px 16px;border-radius:999px;background:var(--glass-strong);border:1px solid var(--line);font-size:14px;opacity:0;transition:opacity .4s ease;white-space:nowrap}.toast.show{opacity:1}.action-bar{position:absolute;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translate(-50%);display:flex;gap:6px;padding:6px;border-radius:22px;background:var(--glass);border:1px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.action-bar button{min-width:64px;padding:8px 10px 6px;border:0;border-radius:16px;background:transparent;color:var(--ink);font-family:var(--font);font-size:12px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer}.action-bar button:hover,.action-bar button:active{background:#ffecc81f}.action-bar svg{width:22px;height:22px}.name-tag{position:absolute;transform:translate(-50%,-100%);padding:2px 9px;border-radius:999px;background:#221a128c;font-size:12px;color:var(--ink);white-space:nowrap;pointer-events:none}.name-tag.me{color:var(--gold)}.name-tag.friend{background:#18402ec7;box-shadow:0 0 0 1px #8fe3b0a6}.name-tag.friend>span:before{content:"❀ ";color:#8fe3b0}.name-tag.tru-tri{z-index:3;padding:0 12px 4px;border-radius:10px;background:linear-gradient(180deg,#8f1f14,#5e120b);border:1.5px solid #f4cf74;box-shadow:0 0 0 1px #5a1408e6,0 0 12px #ffc450bf,inset 0 0 6px #ffd27859;animation:tru-tri-glow 2.6s ease-in-out infinite}.name-tag.tru-tri:before{content:"☸ TRỤ TRÌ ☸";display:block;margin:-1px -12px 2px;padding:1px 8px;border-radius:8px 8px 0 0;background:linear-gradient(90deg,#c9902c,#ffe08a 50%,#c9902c);color:#6a1208;font-size:9.5px;font-weight:800;letter-spacing:.14em}.name-tag.tru-tri>span{font-size:14px;font-weight:700;background:linear-gradient(180deg,#fff3c4,#f2c45a);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}.name-tag.tru-tri .rank{color:#f7dfae}@keyframes tru-tri-glow{50%{box-shadow:0 0 0 1px #5a1408e6,0 0 20px #ffce64f2,inset 0 0 8px #ffdc8c80}}@media (prefers-reduced-motion: reduce){.name-tag.tru-tri{animation:none}}.pk-rank.r-trutri{background:linear-gradient(90deg,#a5520f,#d99a2b);color:#fff4d6}.name-tag.moi>small.rank:before{content:"Khách mới · ";color:#ffd27a}.name-tag>small.title{display:block;font-size:9.5px;font-style:italic;letter-spacing:.02em;color:#f1dca8;opacity:.92}.name-tag.ql-1:not(.tru-tri){border:1px solid #a97a48;padding:1px 9px}.name-tag.ql-1:not(.tru-tri):not(.friend){background:#342212b8}.name-tag.ql-1:not(.tru-tri):not(.friend)>span:before{content:"";display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;background:radial-gradient(circle,#fff3c0 0 30%,#ffb23e 70%);box-shadow:0 0 5px 1px #ffb23ed9;vertical-align:middle}.name-tag.ql-2:not(.tru-tri){border:1px solid #dfe7f2;padding:1px 13px;box-shadow:0 0 7px #d6e4ff80}.name-tag.ql-2:not(.tru-tri):not(.friend){background:linear-gradient(180deg,#404654d1,#1c1e28d1)}.name-tag.ql-2:not(.tru-tri)>span{color:#f2f6ff}.name-tag.ql-2:not(.tru-tri):before,.name-tag.ql-2:not(.tru-tri):after{content:"";position:absolute;top:50%;width:6px;height:6px;margin-top:-4px;border:1.5px solid #dfe7f2;border-radius:50%;border-bottom-color:transparent}.name-tag.ql-2:not(.tru-tri):before{left:3px;border-right-color:transparent;transform:rotate(-30deg)}.name-tag.ql-2:not(.tru-tri):after{right:3px;border-left-color:transparent;transform:rotate(30deg)}.name-tag.ql-3:not(.tru-tri){z-index:2;overflow:hidden;padding:1px 10px 2px;border-radius:10px;border:1.5px solid #f4cf74;box-shadow:0 0 10px #ffc45099}.name-tag.ql-3:not(.tru-tri):not(.friend){background:linear-gradient(180deg,#7a1e12e6,#460e08e6)}.name-tag.ql-3:not(.tru-tri)>span{font-weight:700;color:#ffe39a}.name-tag.ql-3:not(.tru-tri):not(.friend)>span:before,.name-tag.ql-3:not(.tru-tri)>span:after{content:"✿";color:#f4cf74;font-size:10px;margin:0 4px;font-weight:400}.name-tag.ql-3:not(.tru-tri) .rank{color:#f7dfae}.name-tag.ql-3:not(.tru-tri):after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,rgba(255,232,160,.38) 50%,transparent 65%);background-size:300% 100%;animation:ql-sweep 3.6s linear infinite;pointer-events:none}@keyframes ql-sweep{0%{background-position:100% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion: reduce){.name-tag.ql-3:after{animation:none}}#loading{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:radial-gradient(circle at 50% 40%,#3b2d1f,#1d1610 70%);transition:opacity .9s ease;z-index:10}#loading.done{opacity:0;pointer-events:none}#gioi-thieu.da-vao{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.loading-mark{font-family:var(--serif);font-size:34px;font-weight:600;color:var(--gold);letter-spacing:.02em}.loading-text{font-size:14px;color:var(--ink-soft)}.loading-bar{width:140px;height:2px;border-radius:2px;background:var(--line);overflow:hidden}.loading-bar span{display:block;width:40%;height:100%;background:var(--gold);animation:load 1.4s ease-in-out infinite}@keyframes load{0%{transform:translate(-100%)}to{transform:translate(260%)}}.zone-pill .count{color:var(--ink-soft);font-size:13px}.chat-bar{position:absolute;left:14px;right:74px;bottom:max(20px,env(safe-area-inset-bottom));max-width:560px;margin:0 auto;display:flex;align-items:center;gap:4px;padding:4px;border-radius:999px;background:var(--glass);border:1px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:auto}.chat-bar input{flex:1;min-width:0;height:38px;padding:0 12px;border:0;border-radius:999px;background:#fff8ec1a;color:var(--ink);font-family:var(--font);font-size:15px;outline:none;user-select:text}.chat-bar input::placeholder{color:var(--ink-soft)}html.touch .cd-head small{display:none}.cd-head b{white-space:nowrap;flex:1}.chat-icon{flex:none;width:38px;height:38px;border:0;border-radius:999px;background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer;padding:0}.chat-icon:hover,.chat-icon:active{background:#ffecc824}.chat-icon svg{width:21px;height:21px}.emotes{display:flex;gap:0}.chat-bar.quiet{right:auto;left:50%;transform:translate(-50%)}.chat-bar.quiet input,.chat-bar.quiet>.chat-icon,.chat-bar.quiet .emotes button:not([data-emote=chap]){display:none}@media (max-width: 520px){.emotes button:not([data-emote=chap]){width:32px}}.chat-log{position:absolute;left:14px;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 56px);width:min(340px,calc(100% - 28px));max-height:34vh;overflow-y:auto;display:none;flex-direction:column;gap:4px;padding:10px 12px;border-radius:16px;background:var(--glass-strong);border:1px solid var(--line);font-size:13px;line-height:1.4;pointer-events:auto;user-select:text}.chat-log.open{display:flex}.chat-log.hushed{display:none!important}html.touch .chat-log{width:min(270px,calc(100% - 104px));max-height:30vh;min-height:120px}.chat-log b{color:var(--gold);font-weight:600}.chat-log .warn:after{content:" · cẩn thận lừa đảo";color:#f3a07a}.chat-log{overflow:hidden;padding:8px 10px 8px 12px}.cd-head{display:flex;align-items:baseline;gap:8px;padding-bottom:6px;border-bottom:1px solid var(--line)}.cd-head b{font-family:var(--serif);font-size:14px}.cd-head small{flex:1;font-size:11px;color:var(--ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-close{flex:none;width:26px;height:26px;border:0;border-radius:999px;background:#ffecc814;color:var(--ink-soft);font-size:16px;line-height:1;cursor:pointer}.cd-list{display:flex;flex-direction:column;gap:5px;overflow-y:auto;min-height:0;padding-top:6px;overscroll-behavior:contain}.cd-list small{margin-left:6px;font-size:10.5px;color:var(--ink-soft);opacity:.75}.cd-news{color:#f0d9a8;font-size:12.5px;padding:3px 8px;border-radius:8px;background:#e9c27a14}.cd-news:before{content:"✦ ";color:var(--gold)}.cd-empty{margin:4px 0;font-size:12.5px;color:var(--ink-soft)}.chat-icon.unread{position:relative}.chat-icon.unread:after{content:"";position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:#ff6b5a;box-shadow:0 0 0 2px var(--glass-strong)}.action-bar{bottom:calc(max(20px,env(safe-area-inset-bottom)) + 56px)}.bubble{position:absolute;z-index:4;transform:translate(-50%,-100%);max-width:220px;padding:7px 11px;border-radius:14px;background:#fffaf0f0;color:#2b2118;font-size:13px;line-height:1.35;display:none;flex-direction:column;gap:3px;pointer-events:none;box-shadow:0 2px 10px #00000040;word-break:break-word}.bubble:after{content:"";position:absolute;left:50%;bottom:-6px;transform:translate(-50%);border:6px solid transparent;border-bottom:0;border-top-color:#fffaf0f0}.bubble small{color:#a3401f;font-size:11px}.bubble[class*=bub-]:after{border-top-color:var(--tail)}.bubble.bub-giaydo{--tail: #5a4632;background:linear-gradient(180deg,#f6ead0,#ecdcb8);border:1.5px solid #5a4632;border-radius:6px;color:#2e2216;font-family:var(--serif);box-shadow:2px 2px #5a463240}.bubble.bub-may{--tail: #eaf2fb;background:#eaf2fb;color:#2a3848;border-radius:20px;box-shadow:inset 0 -2px #8caacd59,0 0 0 1.5px #b7cce2}.bubble.bub-may:before{content:"";position:absolute;left:14%;right:14%;top:-7px;height:12px;background:radial-gradient(circle at 15% 100%,#eaf2fb 7px,transparent 7.5px),radial-gradient(circle at 45% 90%,#eaf2fb 9px,transparent 9.5px),radial-gradient(circle at 78% 100%,#eaf2fb 7px,transparent 7.5px);pointer-events:none}.bubble.bub-sen{--tail: #ffd5e1;background:linear-gradient(180deg,#ffe6ee,#ffd5e1);color:#5a2233;border:1.5px solid #e88aa6}.bubble.bub-sen:before{content:"❀";position:absolute;top:-11px;left:-7px;font-size:19px;color:#e0608a;text-shadow:0 0 2px #fff}.bubble.bub-bode{--tail: #cfe7bd;background:linear-gradient(160deg,#e3f2d6,#cfe7bd);color:#233a17;border:1.5px solid #6e9c58;border-radius:16px 16px 16px 4px}.bubble.bub-bode:before{content:"";position:absolute;left:12px;right:12px;top:50%;height:1px;background:#6e9c5840;pointer-events:none}.bubble.bub-denlong{--tail: #a91d14;background:linear-gradient(180deg,#c8261c,#a91d14);color:#fff2cf;border-top:3px solid #f4cf74;border-bottom:3px solid #f4cf74;border-radius:12px}.bubble.bub-denlong small{color:#ffd98a}.bubble.bub-kimquang{--tail: #f4cf74;background:linear-gradient(180deg,#7a1e12,#4a0f08);color:#ffe7a8;border:1.5px solid #f4cf74;box-shadow:0 0 10px #ffc4508c;overflow:visible}.bubble.bub-kimquang small{color:#ffd98a}.bubble.bub-kimquang>span{background:linear-gradient(100deg,#ffe7a8 40%,#fff8de,#ffe7a8 60%);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:ql-sweep 3.6s linear infinite}@media (prefers-reduced-motion: reduce){.bubble.bub-kimquang>span{animation:none;color:#ffe7a8}}.bubble.emote[class*=bub-]{color:inherit}.bubble.emote{padding:6px;color:#b5432f}.bubble.emote svg{width:22px;height:22px}.peer-card{position:absolute;left:50%;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 60px);transform:translate(-50%);display:none;flex-direction:column;gap:2px;min-width:200px;padding:10px;border-radius:18px;background:var(--glass-strong);border:1px solid var(--line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);pointer-events:auto}.peer-card.open{display:flex}.peer-name{padding:2px 10px 8px;font-family:var(--serif);font-size:16px;color:var(--gold)}.peer-card button{text-align:left;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:var(--ink);font-family:var(--font);font-size:14px;cursor:pointer}.peer-card button:hover{background:#ffecc81f}.peer-card button.danger{color:#f3a07a}.banner{position:absolute;top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 50px);left:50%;transform:translate(-50%,-8px);padding:7px 16px;border-radius:999px;background:#782814b8;border:1px solid rgba(240,190,110,.4);color:#ffe6b8;font-size:13px;white-space:nowrap;opacity:0;transition:opacity .6s ease,transform .6s ease;pointer-events:none}.banner.show{opacity:1;transform:translate(-50%)}.sheet{position:absolute;left:50%;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 60px);transform:translate(-50%,16px);width:min(380px,calc(100% - 24px));max-height:calc(100% - 140px);overflow-y:auto;padding:18px 18px 16px;border-radius:22px;background:#261c14eb;border:1px solid var(--line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:none;flex-direction:column;gap:12px;pointer-events:auto;opacity:0;transition:opacity .3s ease,transform .3s ease;z-index:3}.sheet.open{display:flex;opacity:1;transform:translate(-50%)}.sheet-title{font-family:var(--serif);font-size:19px;color:var(--gold);display:flex;align-items:center;gap:8px}.sheet-sub{margin:0;font-size:13px;color:var(--ink-soft)}.sheet-sub.name-warn{color:#ff9b85;margin-bottom:4px}.sheet-sub.name-warn[hidden]{display:none}.sheet-sub b{color:var(--ink);font-weight:500}.sheet-close{position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;border-radius:999px;background:#ffecc814;color:var(--ink);font-size:20px;line-height:1;cursor:pointer}.primary,.ghost{height:44px;border-radius:999px;font-family:var(--font);font-size:15px;font-weight:500;cursor:pointer;padding:0 20px}.primary{border:0;background:linear-gradient(180deg,#d9a14a,#b8782c);color:#2a1a0c}.primary:disabled{opacity:.5}.ghost{border:1px solid var(--line);background:transparent;color:var(--ink)}.donate .qr{align-self:center;width:min(240px,70vw);aspect-ratio:1;border-radius:14px;background:#fff;padding:8px;object-fit:contain}.donate .acct{display:flex;flex-direction:column;gap:6px;font-size:13px}.donate .acct div{display:flex;align-items:center;gap:8px}.donate .acct span{width:96px;flex:none;color:var(--ink-soft)}.donate .acct b{color:var(--ink);font-weight:500;overflow-wrap:anywhere}.donate .acct .copy{height:28px;padding:0 12px;font-size:12px;margin-left:auto}.donate .warn{font-size:12px}.dot{display:inline-block;width:12px;height:12px;border-radius:999px}.dot.vang{background:#ffc35a;box-shadow:0 0 10px #ffb02e}.dot.hong{background:#ff8fb0;box-shadow:0 0 10px #ff5c8a}.lantern .choice{display:flex;gap:8px}.lantern .choice button{flex:1;height:42px;border-radius:14px;border:1px solid var(--line);background:transparent;color:var(--ink);font-family:var(--font);font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.lantern .choice button.on{background:#ffecc824;border-color:var(--gold)}.lantern textarea{width:100%;resize:none;padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:#fff8ec14;color:var(--ink);font-family:var(--font);font-size:15px;outline:none;user-select:text}.chips{display:flex;flex-wrap:wrap;gap:6px}.chips button{padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--ink-soft);font-family:var(--font);font-size:12px;cursor:pointer}.lantern .wish{margin:0;font-family:var(--serif);font-size:18px;line-height:1.5;color:var(--ink)}.tube{align-self:center;position:relative;width:76px;height:120px;margin:26px 0 4px;border-radius:10px 10px 14px 14px;background:linear-gradient(90deg,#6e1a10,#a8321f 45%,#6e1a10);border:2px solid #d9a845}.tube .sticks{position:absolute;left:8px;right:8px;top:-30px;display:flex;justify-content:space-between}.tube .sticks i{display:block;width:4px;height:52px;border-radius:2px;background:#d8b878}.tube .sticks i:nth-child(odd){height:44px;margin-top:8px}.tube.shaking{animation:shake .18s ease-in-out 8}@keyframes shake{0%,to{transform:rotate(-9deg)}50%{transform:rotate(9deg) translateY(-4px)}}.paper{padding:18px 16px;border-radius:10px;background:linear-gradient(180deg,#b8321f,#8e2414);border:2px solid #e3b65a;color:#fff1d0;text-align:center;display:flex;flex-direction:column;gap:10px}.paper-head{font-family:var(--serif);font-size:18px;color:#ffd98a}.poem{font-family:var(--serif);font-size:16px;line-height:1.6}.poem div:nth-child(odd){padding-left:1.2em}.meaning{font-size:13px;line-height:1.5;color:#ffe9c9}.match:not(:empty){font-size:12px;color:#ffd98a}.beads{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:space-between;padding:max(24px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 50%,#3c2818db,#140e09f5);pointer-events:auto;z-index:5}.beads.open{display:flex}.beads-top{text-align:center;display:flex;flex-direction:column;gap:6px}.beads-count{font-family:var(--serif);font-size:22px;color:var(--gold)}.beads-mantra{font-size:14px;color:var(--ink-soft);letter-spacing:.04em}.strand{position:relative;flex:1;width:100%;touch-action:none;cursor:grab}.strand:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:linear-gradient(180deg,transparent,#8a5a2a 20%,#8a5a2a 80%,transparent)}.strand i{position:absolute;left:calc(50% - 26px);top:calc(50% - 26px);width:52px;height:52px;border-radius:999px;background:radial-gradient(circle at 35% 30%,#c98a4a,#7a4520 60%,#4a2610);box-shadow:0 4px 10px #00000073,inset 0 -3px 6px #0000004d;transition:transform .25s ease,opacity .25s ease}.strand i.current{box-shadow:0 0 0 3px #e9c27a8c,0 4px 14px #00000080}.strand.step i{animation:nudge .25s ease}@keyframes nudge{0%{margin-top:64px}to{margin-top:0}}.beads-bottom{display:flex;gap:10px}.beads-hint{position:absolute;bottom:calc(max(24px,env(safe-area-inset-bottom)) + 60px);font-size:12px;color:var(--ink-soft)}.chant{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;gap:8px;padding:calc(max(14px,env(safe-area-inset-top)) + var(--mq)) 16px max(16px,env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 45%,#2c1c10c7,#100a06f0);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);pointer-events:auto;z-index:5}.chant.open{display:flex}body:has(.chant.open) .joystick{opacity:0;pointer-events:none}.chant button{touch-action:manipulation}.chant-tabs{display:flex;gap:8px;max-width:100%;overflow-x:auto;scrollbar-width:none;flex-shrink:0;padding:1px}.chant-tabs::-webkit-scrollbar{display:none}.chant-tabs button{flex:none;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,236,200,.3);background:#261a108c;color:#f3e6cf;font-size:14px;cursor:pointer}.chant-tabs button.on{background:linear-gradient(180deg,#f0cd85,#d6a24e);border-color:transparent;color:#2c1a0a;font-weight:700}.chant-note{font-size:13px;color:var(--ink-soft);text-align:center}.chant-lines{flex:1;min-height:0;width:min(620px,100%);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:12px;overflow:hidden;padding-bottom:8px}.chant-lines p{margin:0;text-align:center;font-family:var(--serif);font-size:18px;line-height:1.35;color:#f3e6cf;transition:opacity .3s ease,color .3s ease}.chant-lines p[data-age="0"]{font-size:22px;font-weight:700;color:#ffe9b0;animation:chant-rise .35s ease}.chant-lines p[data-age="1"]{opacity:.62}.chant-lines p[data-age="2"]{opacity:.38}.chant-lines p[data-age="3"]{opacity:.18}@keyframes chant-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.chant-count{font-size:13px;color:var(--gold);min-height:18px}.chant-next{display:none}.chant-next.show{display:block}.chant-mo{flex:none;width:124px;height:104px;padding:0;border:0;background:none;cursor:pointer;filter:drop-shadow(0 8px 12px rgba(0,0,0,.55));-webkit-tap-highlight-color:transparent}.chant-mo svg{display:block;width:100%;height:100%}.chant-mo.hit{animation:chant-hit .16s ease}@keyframes chant-hit{40%{transform:scale(.93)}}.chant-bar{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;flex-shrink:0}.chant-bar button{font-size:13px;padding:8px 12px}.chant-auto.on{border-color:var(--gold);color:var(--gold)}@media (max-height: 480px){.chant{padding-top:calc(max(6px,env(safe-area-inset-top)) + var(--mq));padding-bottom:max(8px,env(safe-area-inset-bottom));padding-right:max(16px,env(safe-area-inset-right));padding-left:max(16px,env(safe-area-inset-left))}.chant.open{display:grid;grid-template-columns:1fr 210px;grid-template-rows:auto 1fr auto auto;column-gap:12px;row-gap:4px;justify-items:center}.chant-tabs{grid-column:1 / -1;justify-self:start}.chant-note{display:none}.chant-lines{grid-column:1;grid-row:2 / 5;height:100%;gap:6px;justify-content:center;padding-bottom:0}.chant-lines p{font-size:15px}.chant-lines p[data-age="0"]{font-size:19px}.chant-count{grid-column:2;grid-row:2;align-self:end}.chant-next{position:absolute;left:16px;bottom:8px;padding:6px 10px;font-size:12px}.chant-mo{grid-column:2;grid-row:3;width:104px;height:86px}.chant-bar{grid-column:2;grid-row:4;gap:4px}.chant-bar button{font-size:12px;padding:5px 8px}}.joystick{position:fixed;width:120px;height:120px;margin:-60px 0 0 -60px;border-radius:999px;border:1px solid rgba(255,236,200,.35);background:radial-gradient(circle,#261c1426,#261c1473);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);pointer-events:none;opacity:0;transition:opacity .15s ease;z-index:5}.joystick.on{opacity:1}.joystick-knob{position:absolute;left:50%;top:50%;width:52px;height:52px;border-radius:999px;background:#ffe4b4d9;box-shadow:0 2px 10px #00000059;transform:translate(-50%,-50%)}.settings{width:min(400px,calc(100% - 24px));max-height:min(60vh,calc(100% - 140px));gap:10px}:is(.settings,.merit,.journal) .tabs{display:flex;gap:4px;padding:3px;border-radius:999px;background:#ffecc812}:is(.settings,.merit,.journal) .tabs button,:is(.settings,.merit,.journal) .seg button{flex:1;min-height:36px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft);font-family:var(--font);font-size:13px;cursor:pointer}:is(.settings,.merit,.journal) .tabs button.on{background:#e9c27a33;color:var(--gold);font-weight:600}:is(.settings,.merit,.journal) .tab-body{display:flex;flex-direction:column;gap:10px}:is(.settings,.look-editor) .field-label{font-size:12px;color:var(--ink-soft);display:flex;justify-content:space-between;margin-top:2px}:is(.settings,.look-editor) .pick-name{color:var(--gold)}:is(.settings,.look-editor) .name-row{display:flex;gap:8px}:is(.settings,.look-editor) .name-row input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--serif);font-size:17px;outline:none;user-select:text}:is(.settings,.look-editor) .name-row input:focus{border-color:var(--gold)}:is(.settings,.look-editor) .ghost.small{height:44px;padding:0 14px;font-size:13px;white-space:nowrap;border-radius:14px}:is(.settings,.merit,.journal) .seg{display:flex;gap:6px}:is(.settings,.merit,.journal) .seg button{border:1px solid var(--line);border-radius:14px;color:var(--ink);font-size:14px}:is(.settings,.merit,.journal) .seg button.on{background:#e9c27a29;border-color:var(--gold);color:var(--gold)}:is(.settings,.merit,.journal) .seg.tall button{display:flex;flex-direction:column;gap:2px;padding:8px 6px}:is(.settings,.merit,.journal) .seg.tall small{font-size:11px;color:var(--ink-soft);line-height:1.3}:is(.settings,.look-editor) .swatches{display:flex;gap:10px;flex-wrap:wrap}:is(.settings,.look-editor) .swatch{width:36px;height:36px;border-radius:999px;border:2px solid transparent;background:var(--c);box-shadow:inset 0 -6px 10px #00000040,0 0 0 1px var(--line);cursor:pointer}:is(.settings,.look-editor) .swatch.on{border-color:var(--gold);box-shadow:inset 0 -6px 10px #00000040,0 0 0 3px #e9c27a4d}.settings .toggle{display:flex;align-items:center;gap:12px;padding:8px 0;cursor:pointer}.settings .toggle span{flex:1;display:flex;flex-direction:column;gap:2px}.settings .toggle b{font-weight:500;font-size:14px}.settings .toggle small{font-size:12px;color:var(--ink-soft)}.settings .toggle input{position:absolute;opacity:0;pointer-events:none}.settings .toggle i{flex:none;width:44px;height:26px;border-radius:999px;background:#ffecc829;position:relative;transition:background .2s}.settings .toggle i:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:var(--ink);transition:transform .2s}.settings .toggle input:checked+i{background:#c48a3a}.settings .toggle input:checked+i:after{transform:translate(18px)}.settings .toggle input:focus-visible+i{outline:2px solid var(--gold);outline-offset:2px}.settings input[type=range]{width:100%;accent-color:#d9a14a}.settings .stats{display:flex;gap:8px}.settings .stats div{flex:1;padding:10px 6px;border-radius:14px;background:#ffecc80f;display:flex;flex-direction:column;align-items:center;gap:2px}.settings .stats b{font-family:var(--serif);font-size:22px;color:var(--gold);font-weight:500}.settings .stats span{font-size:12px;color:var(--ink-soft)}.settings .primary{margin-top:4px}@media (min-width: 760px){.settings{inset:70px 16px auto auto;transform:translate(16px);max-height:calc(100% - 160px)}.settings.open{transform:none}}.emote-toggle{display:none}.joystick.idle{opacity:.4;transition:opacity .3s ease}.joystick.idle .joystick-knob{background:#ffe4b48c}.touch .chat-bar{left:calc(14px + env(safe-area-inset-left));right:calc(74px + env(safe-area-inset-right));max-width:none}.touch .chat-bar input{height:42px;font-size:16px}.touch .chat-icon{width:42px;height:42px}.touch .chat-bar:not(.typing) .send{display:none}.touch .chat-bar.typing .emote-toggle{display:none}.touch .chat-bar:not(.quiet) .emote-toggle{display:grid}.touch .chat-bar:not(.quiet) .emotes{position:absolute;right:0;bottom:calc(100% + 8px);display:none;gap:4px;padding:5px;border-radius:999px;background:var(--glass-strong);border:1px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.touch .chat-bar:not(.quiet) .emotes.open{display:flex}.touch .emotes button:not([data-emote=chap]){width:44px}.touch .emotes .chat-icon{width:44px;height:44px}.touch .menu-btn{right:calc(14px + env(safe-area-inset-right))}.touch .zone-pill{left:calc(14px + env(safe-area-inset-left))}.touch .top-right{right:calc(14px + env(safe-area-inset-right))}.touch .action-bar{left:auto;right:calc(12px + env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 62px);transform:none;flex-direction:column-reverse;gap:10px;padding:0;background:none;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}.touch .action-bar button{width:64px;min-width:0;padding:0;gap:3px;font-size:11px;line-height:1.15;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.8)}.touch .action-bar button:hover,.touch .action-bar button:active{background:none}.touch .action-bar svg{width:52px;height:52px;padding:14px;border-radius:999px;background:var(--glass-strong);border:1px solid rgba(233,194,122,.45);box-sizing:border-box}.touch .action-bar button:active svg{background:#e9c27a59;transform:scale(.94)}@media (max-height: 500px){.touch .action-bar{flex-direction:row-reverse;bottom:calc(max(14px,env(safe-area-inset-bottom)) + 58px)}.touch .action-bar svg{width:46px;height:46px;padding:12px}.touch .chat-bar{bottom:max(10px,env(safe-area-inset-bottom));max-width:460px}.touch .menu-btn{bottom:max(10px,env(safe-area-inset-bottom))}.toast{top:calc(calc(max(10px,env(safe-area-inset-top)) + var(--mq, 0px)) + 54px)}.banner{top:calc(calc(max(10px,env(safe-area-inset-top)) + var(--mq, 0px)) + 48px)}.sheet{max-height:calc(100% - 80px);bottom:max(10px,env(safe-area-inset-bottom))}.sheet.settings{top:calc(max(10px,env(safe-area-inset-top)) + var(--mq, 0px));bottom:auto;max-height:calc(100% - max(10px,env(safe-area-inset-top)) - var(--mq, 0px) - max(10px,env(safe-area-inset-bottom)))}}@media (max-width: 520px){.toast{white-space:normal;text-align:center;width:max-content;max-width:calc(100% - 40px);border-radius:16px}.banner{white-space:normal;text-align:center;max-width:calc(100% - 40px);border-radius:16px}}.guide{position:absolute;inset:0;display:none;pointer-events:auto;background:#140e0959;z-index:3}.guide.open{display:block}.guide.open.walking{background:none;pointer-events:none}.guide-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 32px));padding:18px;border-radius:22px;background:#261c14f2;border:1px solid rgba(233,194,122,.4);box-shadow:0 10px 40px #0006;display:flex;flex-direction:column;gap:8px}.guide-card p{margin:0;font-size:15px;line-height:1.5;color:var(--ink)}.guide-step{font-size:12px;color:var(--ink-soft)}.guide-foot{display:flex;align-items:center;gap:8px;margin-top:6px}.guide-dots{flex:1;display:flex;gap:6px}.guide-dots i{width:6px;height:6px;border-radius:999px;background:var(--line)}.guide-dots i.on{background:var(--gold);width:16px}.primary.small,.ghost.small{height:40px;padding:0 16px;font-size:14px}.touch .guide[data-at=left] .guide-card{left:calc(16px + env(safe-area-inset-left));top:auto;bottom:260px;transform:none}.touch .guide[data-at=right] .guide-card{inset:auto 92px 150px auto;transform:none;width:min(300px,calc(100% - 110px))}.touch .guide[data-at=top] .guide-card{left:auto;right:14px;top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 58px);transform:none}@media (max-height: 500px){.touch .guide .guide-card{transform:translateY(-50%)!important;inset:50% auto auto 50%!important;translate:-50% 0}}.loading-quote{max-width:300px;margin-top:10px;text-align:center;font-family:var(--serif);font-size:15px;line-height:1.5;color:var(--ink-soft);font-style:italic;padding:0 20px}.merit-row{position:absolute;top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 48px);left:calc(14px + env(safe-area-inset-left));display:flex;align-items:center;gap:10px;pointer-events:none}.merit-pill{position:relative;padding:6px 12px 6px 10px;gap:6px;color:var(--ink);font-family:var(--font);font-size:13px;cursor:pointer}.merit-pill svg{width:18px;height:18px;color:var(--gold)}.merit-pill b{color:var(--gold);font-weight:600;font-size:14px}.merit-pill span{color:var(--ink-soft)}.merit-pill.ready:after{content:"";width:8px;height:8px;border-radius:999px;background:#ff7a59;box-shadow:0 0 8px #ff7a59}.merit-float{display:flex;flex-direction:column;gap:1px;opacity:0;pointer-events:none;text-shadow:0 1px 4px rgba(0,0,0,.8)}.merit-float b{color:#ffd98a;font-size:15px}.merit-float span{color:var(--ink);font-size:12px}.merit-float.show{animation:merit-up 2.4s ease forwards}@keyframes merit-up{0%{opacity:0;transform:translateY(8px)}12%,75%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}.sheet.merit{width:min(420px,calc(100% - 24px));gap:10px}.merit-head{display:flex;gap:14px;align-items:center}.merit-total{display:flex;flex-direction:column;align-items:center;padding:8px 12px;border-radius:16px;background:#e9c27a1a}.merit-total b{font-family:var(--serif);font-size:26px;color:var(--gold);font-weight:600;line-height:1.1}.merit-total span{font-size:11px;color:var(--ink-soft)}.merit-level{flex:1;display:flex;flex-direction:column;gap:5px}.merit-level>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.merit-level b{font-family:var(--serif);font-size:17px;color:var(--ink)}.merit-level span,.merit-level small{font-size:12px;color:var(--ink-soft)}.merit .bar{height:6px;border-radius:999px;background:#ffecc81a;overflow:hidden}.merit .bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#c48a3a,#f0cd84)}.quest{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#ffecc80d;border:1px solid transparent}.quest.ready{border-color:#e9c27a8c;background:#e9c27a1a}.quest.claimed{opacity:.55}.q-text{flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}.q-text b{font-weight:500;font-size:14px}.q-text small{font-size:11px;color:var(--ink-soft)}.q-reward{color:var(--gold);font-size:13px;white-space:nowrap}.q-done{color:var(--ink-soft);font-size:12px;white-space:nowrap}.quest .primary.small{height:36px;padding:0 12px;font-size:13px;white-space:nowrap}.q-go{flex:none;height:36px;min-width:44px;padding:0 12px;border:1px solid rgba(233,194,122,.45);border-radius:999px;background:#e9c27a1f;color:var(--gold);font-family:var(--font);font-size:13px;cursor:pointer}.q-all{flex:none;width:100%}.merit .tabs button{white-space:nowrap;font-size:11.5px;padding-left:2px;padding-right:2px}.ht-titles{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.ht-titles li{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:12px;background:#ffecc80d;opacity:.6}.ht-titles li.got{opacity:1;background:#e9c27a1f}.ht-titles b{font-weight:500;font-size:13px}.ht-titles small{font-size:11px;color:var(--ink-soft)}.rank-list{display:flex;flex-direction:column;gap:2px}.rank-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px}.rank-row.me{background:#e9c27a24;outline:1px solid rgba(233,194,122,.4)}.rank-n{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:999px;font-size:13px;color:var(--ink-soft)}.rank-row.top1 .rank-n{background:#e9c27a;color:#2a1a0c;font-weight:600}.rank-row.top2 .rank-n{background:#cfc6b8;color:#2a1a0c;font-weight:600}.rank-row.top3 .rank-n{background:#c48a5a;color:#2a1a0c;font-weight:600}.rank-name{flex:1;min-width:0;display:flex;flex-direction:column}.rank-name b{font-weight:500;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-name small{font-size:11px;color:var(--ink-soft)}.rank-merit{font-family:var(--serif);color:var(--gold);font-size:15px}.rank-gap{text-align:center;color:var(--ink-soft);line-height:1}@media (max-height: 500px){.merit-row{top:calc(calc(max(10px,env(safe-area-inset-top)) + var(--mq, 0px)) + 46px)}}@media (max-width: 520px){.banner{top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 96px)}.toast{top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 140px)}}body:has(.sheet.open,.guide.open,.beads.open,.chant.open) .joystick.idle{opacity:0}.sheet.profile,.sheet.friends{width:min(400px,calc(100% - 24px));gap:10px}.card-head{display:flex;gap:14px;align-items:center;padding:10px;border-radius:18px;background:linear-gradient(135deg,#e9c27a29,#b5432f1f)}.avatar{width:64px;height:64px;flex:none;border-radius:999px;overflow:hidden;box-shadow:0 0 0 2px #e9c27ab3,0 4px 14px #00000059}.avatar svg{width:100%;height:100%;display:block}.card-who{min-width:0;display:flex;flex-direction:column;gap:2px}.card-who b{font-family:var(--serif);font-size:20px;color:var(--ink);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-who span{font-size:13px;color:var(--ink-soft)}.card-who em{font-style:normal;color:var(--gold)}.card-who small{font-size:12px;color:var(--ink-soft)}.card-who small.on{color:#9fd58a}.card-bio{margin:0;font-family:var(--serif);font-size:15px;line-height:1.5;color:var(--ink);padding:0 4px}.profile .stats,.settings .stats{display:flex;gap:6px}.profile .stats div{flex:1;min-width:0;padding:8px 4px;border-radius:14px;background:#ffecc80f;display:flex;flex-direction:column;align-items:center;gap:1px}.profile .stats b{font-family:var(--serif);font-size:18px;color:var(--gold);font-weight:600}.profile .stats span{font-size:11px;color:var(--ink-soft);text-align:center}.profile .field-label,.friends .field-label{font-size:12px;color:var(--ink-soft);margin-top:2px}.wish-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.wish-chips::-webkit-scrollbar{display:none}.wish-chips button{flex:none;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:13px;cursor:pointer}.wish-chips button:active{background:#e9c27a40}:is(.profile,.friends) .name-row{display:flex;gap:8px}:is(.profile,.friends) .name-row input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:16px;outline:none;user-select:text}:is(.profile,.friends) .name-row input:focus{border-color:var(--gold)}:is(.profile,.friends) .ghost.small,:is(.profile,.friends) .primary.small{height:44px;border-radius:14px;white-space:nowrap}.card-main{display:flex;gap:8px}.card-main button{flex:1;padding:0 10px}.card-main .primary{flex:1.4}.card-main small{color:var(--ink-soft);font-size:12px}.card-main button:disabled{opacity:.45}.tuyhy-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;border-radius:14px;border:1px solid rgba(255,160,190,.55);background:linear-gradient(180deg,#e86e9652,#be466e47);color:#ffe3ec;font-family:var(--font);font-size:15px;font-weight:600;cursor:pointer}.tuyhy-btn svg{width:20px;height:20px;color:#ffb3c9;flex:none}.tuyhy-btn small{font-weight:400;font-size:12px;color:#ffe3ecbf}.tuyhy-btn:disabled{opacity:.5;cursor:default}.card-thy{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-size:13px;color:var(--ink-soft)}.card-thy svg{width:16px;height:16px;color:#ffb3c9;flex:none}.card-thy b{color:#ffd0de;font-weight:600}.bubble.cheer{display:flex;flex-direction:row;align-items:center;gap:5px;background:linear-gradient(180deg,#ffe6ee,#ffd0de);color:#8a2648;font-size:12px;font-weight:600;padding:4px 10px}.bubble.cheer svg{width:16px;height:16px;flex:none}.card-more{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:center;border-top:1px solid var(--line);padding-top:8px}.card-more button{border:0;background:none;color:var(--ink-soft);font-family:var(--font);font-size:13px;padding:6px 2px;cursor:pointer}.card-more button.danger{color:#f3a07a}:is(.settings,.look-editor) textarea{width:100%;box-sizing:border-box;padding:10px 14px;border-radius:14px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:16px;resize:none;outline:none;user-select:text}:is(.settings,.look-editor) textarea:focus{border-color:var(--gold)}.friends-pill{position:relative;padding:6px 12px 6px 10px;gap:6px;color:var(--ink);font-family:var(--font);font-size:13px;cursor:pointer}.friends-pill svg{width:18px;height:18px;color:var(--gold)}.friends-pill b{color:var(--ink);font-weight:600}.friends-pill.ready:after{content:"";width:8px;height:8px;border-radius:999px;background:#ff7a59;box-shadow:0 0 8px #ff7a59}.friends .tabs{display:flex;gap:4px;padding:3px;border-radius:999px;background:#ffecc812}.friends .tabs button{flex:1;min-height:36px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft);font-family:var(--font);font-size:13px;cursor:pointer}.friends .tabs button.on{background:#e9c27a33;color:var(--gold);font-weight:600}.friend-list{display:flex;flex-direction:column;gap:4px}.friend-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:#ffecc80d;cursor:pointer}.friend-row .ghost.small,.friend-row .primary.small{height:36px;padding:0 12px;font-size:13px}.f-dot{width:10px;height:10px;flex:none;border-radius:999px;background:#ffecc840}.f-dot.on{background:#8fd16f;box-shadow:0 0 8px #8fd16f}.f-name{flex:1;min-width:0;display:flex;flex-direction:column}.f-name b{font-weight:500;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.f-name small{font-size:11px;color:var(--ink-soft)}.talk-head{display:flex;align-items:center;gap:10px;padding-right:40px}.talk-head .ghost.small{height:34px;padding:0 12px;font-size:13px}.talk-head b{font-family:var(--serif);font-size:17px}.talk-head small{font-size:12px;color:var(--ink-soft)}.talk-head small.on{color:#9fd58a}.dm-list{display:flex;flex-direction:column;gap:6px;min-height:120px;max-height:40vh;overflow-y:auto;padding:4px 2px;user-select:text}.dm{align-self:flex-start;max-width:80%;display:flex;flex-direction:column;gap:2px}.dm span{padding:8px 12px;border-radius:16px 16px 16px 4px;background:#ffecc81a;font-size:14px;line-height:1.4;word-break:break-word}.dm.mine{align-self:flex-end}.dm.mine span{border-radius:16px 16px 4px;background:linear-gradient(180deg,#d9a14a,#b8782c);color:#2a1a0c}.dm small{font-size:11px;color:#f3a07a}.sheet.journal{width:min(420px,calc(100% - 24px));gap:10px}.journal .card-head{margin-top:2px}.journal .stage{height:max(150px,min(240px,28vh))}.profile-actions .edit-look{display:flex;align-items:center;justify-content:center;gap:5px;flex:1.2;box-shadow:0 0 0 1px #ffe2a08c,0 4px 16px #d9a14a73;font-weight:600;font-size:14px;white-space:nowrap;padding:0 8px;min-width:0}.profile-actions .edit-look svg{width:18px;height:18px;flex:none}.profile-actions .ghost{flex:1;font-size:14px;white-space:nowrap;padding:0 8px;min-width:0}.level-bar{display:flex;flex-direction:column;gap:5px}.level-bar .bar,.journal .bar{height:7px;border-radius:999px;background:#ffecc81a;overflow:hidden}.level-bar .bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#c48a3a,#f0cd84)}.level-bar small{font-size:12px;color:var(--ink-soft)}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.stat-grid div{padding:10px 12px;border-radius:14px;background:#ffecc80f;display:flex;flex-direction:column;gap:2px}.stat-grid b{font-family:var(--serif);font-size:21px;color:var(--gold);font-weight:600}.stat-grid span{font-size:12px;color:var(--ink-soft)}.title-list{display:flex;flex-direction:column;gap:6px}.title-row{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:1px 10px;text-align:left;padding:10px 12px;border-radius:14px;border:1px solid transparent;background:#ffecc80d;color:var(--ink);font-family:var(--font);cursor:pointer}.title-row b{font-weight:500;font-size:14px}.title-row small{grid-column:1;font-size:12px;color:var(--ink-soft)}.title-row span{grid-column:2;grid-row:1 / 3;align-self:center;font-size:12px;color:var(--ink-soft)}.title-row.got span{color:var(--gold)}.title-row.on{border-color:#e9c27a99;background:#e9c27a1f}.title-row:disabled{opacity:.5;cursor:default}.acct-box{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:12px 14px;border-radius:16px;background:#e9c27a1a;border:1px solid rgba(233,194,122,.35)}.acct-box b{font-size:15px;font-weight:600}.acct-box small{grid-column:1;font-size:12px;color:var(--ink-soft);line-height:1.4}.acct-box button{grid-column:2;grid-row:1 / 3;height:38px!important}.acct-box.ok{background:#8fd16f1a;border-color:#8fd16f59}.journal form{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:#ffecc80d}.journal form input,.journal .code-box{height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:16px;outline:none;user-select:text}.journal form input:focus{border-color:var(--gold)}.journal .code-box{font-family:ui-monospace,monospace;font-size:14px;letter-spacing:.02em}.form-err{margin:0;min-height:0;font-size:13px;color:#f3a07a}.form-err:empty{display:none}.journal .field-label{font-size:12px;color:var(--ink-soft);display:flex;justify-content:space-between}.journal .pick-name{color:#f3a07a}.journal .card-main button{height:44px}.acct-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;border-top:1px solid var(--line);padding-top:8px}.acct-links button{border:0;background:none;color:var(--ink-soft);font-family:var(--font);font-size:13px;padding:6px 2px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.acct-links .danger{color:#f3a07a}@media (min-height: 501px){.touch .sheet:not(.settings){max-height:calc(100% - 180px)}}.menu-bar{position:absolute;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translate(-50%);display:flex;gap:6px;pointer-events:auto;max-width:calc(100% - 28px);overflow-x:auto;scrollbar-width:none}.menu-bar button,.menu-grid .grid button{position:relative;display:flex;align-items:center;gap:7px;height:42px;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:var(--glass-strong);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:var(--ink);font-family:var(--font);font-size:13px;white-space:nowrap;cursor:pointer}.menu-bar button:hover{border-color:#e9c27a8c}.menu-bar svg{width:18px;height:18px;color:var(--gold);flex:none}.menu-bar .badge,.menu-grid .badge,.menu-btn .badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#e5533a;color:#fff;font-size:11px;font-style:normal;font-weight:600;line-height:18px;text-align:center;display:none}.menu-btn{position:absolute;right:14px;bottom:max(20px,env(safe-area-inset-bottom));width:48px;height:48px;display:none}.menu-btn svg{width:22px;height:22px}html:not(.touch) .chat-bar{bottom:calc(max(14px,env(safe-area-inset-bottom)) + 52px);right:14px}html:not(.touch) .action-bar{bottom:calc(max(14px,env(safe-area-inset-bottom)) + 108px)}html:not(.touch) .chat-log{bottom:calc(max(14px,env(safe-area-inset-bottom)) + 108px)}html:not(.touch) .sheet:not(.settings){bottom:calc(max(14px,env(safe-area-inset-bottom)) + 112px);max-height:calc(100% - 200px)}.touch .menu-bar{display:none}.touch .menu-btn{display:grid;right:calc(14px + env(safe-area-inset-right))}.sheet.menu-grid{overflow:hidden}.menu-scroll{flex:0 1 244px;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}.menu-more{flex:none;margin-top:-4px;text-align:center;font-size:12px;color:var(--gold);pointer-events:none;opacity:0;transition:opacity .2s ease}.menu-more.on{opacity:1}@media (max-height: 500px){.sheet.menu-grid{gap:8px;padding:12px 16px 10px}.menu-scroll{flex-basis:178px}.sheet.menu-grid .grid{gap:5px}.sheet.menu-grid .grid button{height:56px;gap:3px;padding:4px 2px}.sheet.menu-grid .grid svg{width:20px;height:20px}}.menu-grid .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.menu-grid .grid button{flex-direction:column;justify-content:center;gap:6px;height:76px;padding:6px 2px;border-radius:16px;background:#ffecc80f;font-size:12px;white-space:normal;text-align:center;line-height:1.2}.menu-grid .grid svg{width:24px;height:24px;color:var(--gold)}.menu-grid .badge{top:4px;right:8px}.sheet.map{width:min(440px,calc(100% - 24px));gap:8px}.map svg{width:100%;height:auto;max-height:calc(100vh - 290px);border-radius:16px;background:#2b2219;touch-action:manipulation}.touch .map svg{max-height:calc(100vh - 330px)}.m-ground{fill:#4f5a3a}.m-garden{fill:#5f7444}.m-water{fill:#3f6f86}.m-stone{fill:#b3a891}.m-terrace{fill:#c9bc9f}.m-wood{fill:#8a5a33}.m-roof{fill:#7d3a2a}.m-hall{fill:#a3452f;stroke:#e9c27a;stroke-width:.8}.m-gold{fill:#e9c27a}.m-place{cursor:pointer}.m-place circle{fill:#e9c27a}.m-place rect{fill:#261c14d9;stroke:#e9c27a99;stroke-width:.5}.m-place text{fill:#fff3dc;font-size:4.6px;font-family:var(--font);text-anchor:middle}.m-place:hover rect,.m-place:active rect{fill:#c48a3af2}.m-dots circle{fill:#f3ead8;stroke:#2b2219;stroke-width:.6}.m-dots circle.friend{fill:#8fd16f}.m-me circle{fill:#f0c35a;stroke:#2b2219;stroke-width:.8}.m-me path{fill:#f0c35a;stroke:#2b2219;stroke-width:.6}.m-legend{display:flex;gap:14px;justify-content:center;font-size:12px;color:var(--ink-soft)}.m-legend span{display:flex;align-items:center;gap:5px}.m-legend i{width:10px;height:10px;border-radius:999px;background:#f3ead8}.m-legend i.me{background:#f0c35a}.m-legend i.friend{background:#8fd16f}.sheet.bag{width:min(420px,calc(100% - 24px));gap:10px}.bag-today{display:flex;gap:6px}.bag-today div{flex:1;padding:8px 6px;border-radius:14px;background:#e9c27a1a;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}.bag-today b{font-family:var(--serif);font-size:20px;color:var(--gold)}.bag-today span{font-size:11px;color:var(--ink-soft);line-height:1.3}.bag .tabs{display:flex;gap:4px;padding:3px;border-radius:999px;background:#ffecc812}.bag .tabs button{flex:1;min-height:36px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft);font-family:var(--font);font-size:12px;cursor:pointer}.bag .tabs button.on{background:#e9c27a33;color:var(--gold);font-weight:600}.bag-list{display:flex;flex-direction:column;gap:6px}.bag-item{display:flex;flex-direction:column;gap:3px;text-align:left;padding:10px 12px;border-radius:14px;border:0;background:#ffecc80d;color:var(--ink);font-family:var(--font)}button.bag-item{cursor:pointer}button.bag-item:hover{background:#e9c27a1f}.bag-item b{font-size:14px;font-weight:500;color:var(--gold)}.bag-item span{font-family:var(--serif);font-size:14px;line-height:1.45}.bag-item small{font-size:11px;color:var(--ink-soft)}.showcase{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:20px;background:#ffecc80d;border:1px solid var(--line)}.stage{position:relative;height:min(300px,38vh);border-radius:16px;overflow:hidden;background:radial-gradient(circle at 50% 42%,#7a5530,#4a321e 45%,#2a1c12)}.stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.stage canvas:active{cursor:grabbing}.pose-row{display:flex;gap:8px;align-items:center}.pose-row .seg{flex:1;display:flex;gap:4px;padding:3px;border-radius:999px;background:#ffecc812}.pose-row .seg button{flex:1;height:34px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft);font-family:var(--font);font-size:13px;cursor:pointer}.pose-row .seg button.on{background:linear-gradient(180deg,#d9a14a,#b8782c);color:#2a1a0c;font-weight:600}.pose-row .ghost.small{height:40px;border-radius:999px;padding:0 14px;font-size:13px}.worn{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.worn button{display:flex;align-items:center;gap:6px;padding:6px;border:0;border-radius:12px;background:transparent;color:var(--ink);font-family:var(--font);font-size:12px;text-align:left;cursor:pointer;min-width:0}.worn button:hover{background:#ffecc812}.worn svg,.gear-item svg{width:34px;height:34px;flex:none;border-radius:10px;background:#00000040;padding:2px;box-sizing:border-box}.worn span{display:flex;flex-direction:column;min-width:0;line-height:1.25}.worn small{font-size:10px;color:var(--ink-soft)}.gear-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}.gear-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px 8px;border-radius:14px;border:1px solid transparent;background:#ffecc80d;color:var(--ink);font-family:var(--font);cursor:pointer;text-align:center}.gear-item svg{width:44px;height:44px}.gear-item b{font-size:12px;font-weight:500;line-height:1.25}.gear-item small{font-size:10px;color:var(--ink-soft)}.gear-item.on{border-color:#e9c27ab3;background:#e9c27a24}.gear-item.on small{color:var(--gold)}.gear-item.locked{opacity:.5;cursor:default}.gear-item.locked svg{filter:grayscale(.8)}.journal .tabs button{font-size:12px}.pose-row .seg button,.journal .tabs button{white-space:nowrap;font-size:12px}.pose-row .ghost.small{padding:0 12px;white-space:nowrap}.worn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.worn span,.worn small{overflow:hidden;text-overflow:ellipsis}.ticker{position:fixed;top:calc(env(safe-area-inset-top) + var(--pinned-height));left:0;right:0;height:24px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));background:linear-gradient(180deg,#801e10f5,#62160cf5);border-bottom:1px solid rgba(240,196,110,.55);color:#ffd98a;font-size:13px;line-height:1.4;opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:7}.ticker.show{opacity:1}.ticker>i{flex:none;width:16px;height:16px;color:#f3c46a;display:grid}.ticker>i svg{width:100%;height:100%}.ticker-in{flex:1;min-width:0;max-width:720px;overflow:hidden;white-space:nowrap;text-align:center}.ticker-in.long{text-align:left}.ticker-in span{display:inline-block;text-shadow:0 1px 2px rgba(60,10,0,.6)}.ticker-in b{color:#fff1c4;font-weight:600}.ticker.tone-1 .ticker-in span,.ticker.tone-1 .ticker-in b{color:#fff4dc}.ticker.tone-2 .ticker-in span,.ticker.tone-2 .ticker-in b{color:#ffc8dc}.ticker.tone-3{background:linear-gradient(180deg,#96280ef7,#6e1a0af7);border-bottom-color:#ffcf5a}.ticker.tone-3 .ticker-in span{color:#ffd54f;text-shadow:0 0 6px rgba(255,190,60,.75),0 1px 2px rgba(60,10,0,.6)}.ticker.tone-3 .ticker-in b{color:#fff3b8}.ticker.tone-3>i{color:#ffe27a}@keyframes ticker-run{0%{transform:translate(var(--from))}to{transform:translate(var(--to))}}.ticker-on .banner{opacity:0!important}.name-tag{text-align:center;line-height:1.25}.name-tag .rank{display:block;font-size:10px;letter-spacing:.02em;color:var(--rank, #d8cfc0)}.name-tag .rank:empty{display:none}.rank-0{--rank: #d8cfc0}.rank-1{--rank: #9fd49a}.rank-2{--rank: #8cc4ef}.rank-3{--rank: #f2b36b}.rank-4{--rank: #f39bb4}.rank-5{--rank: #c7a6f5}.rank-6{--rank: #ffd66b}.rank-7{--rank: #ffe08f}.rank-8{--rank: #fff0b8}.rank-9{--rank: #fff6d6}.rank-10{--rank: #ffffff}.sheet.week{width:min(400px,calc(100% - 24px));gap:12px;align-items:stretch;text-align:center}.sheet.week .sheet-title{justify-content:center}.week-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.week-day{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 8px;border-radius:14px;background:#ffecc80d;border:1px solid var(--line);font-size:11px;color:var(--ink-soft);min-height:92px}.week-day b{font-size:12px;color:var(--ink);font-weight:500}.week-day svg{width:30px;height:30px;color:var(--gold)}.week-day.done{opacity:.55}.week-day.done:after{content:"✓";position:absolute;top:4px;right:7px;color:#9fd49a;font-size:13px}.week-day.today{border-color:var(--gold);background:#e9c27a29;color:var(--ink);animation:week-glow 1.6s ease-in-out infinite alternate}.week-day.rare{grid-column:span 2}.week-day.rare svg{width:36px;height:36px;color:#e0703a}@keyframes week-glow{0%{box-shadow:0 0 #e9c27a00}to{box-shadow:0 0 14px 2px #e9c27a73}}.week-got{font-size:14px;color:var(--ink)}.week-got b{color:var(--gold)}.week-foot{display:flex;justify-content:center;gap:8px}.vow-said{margin:6px 0 4px;padding:10px 12px;border-left:3px solid var(--gold);background:#e9c27a14;border-radius:8px;font-size:15px;color:var(--ink)}.vow-who{margin:6px 0;font-size:14px;color:var(--ink-soft)}.vow-who b{color:var(--gold)}.vow-line{margin:10px 0 14px;font-size:15px;line-height:1.5;color:var(--gold);text-align:center;font-style:italic}.my-vows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.my-vows li{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:#fff4e00d;font-size:14px}.my-vows small{color:var(--ink-soft);font-size:12px}.week-foot button{flex:1;max-width:170px}.sheet.community{width:min(380px,calc(100% - 24px));gap:10px}.comm-link{display:flex;align-items:center;justify-content:center;text-decoration:none}.sheet.thoikhoa{width:min(380px,calc(100% - 24px));gap:12px}.tk-line{margin:4px 0;padding:14px 16px;font-family:var(--serif);font-size:18px;line-height:1.5;color:var(--ink);text-align:center;border-radius:14px;background:#e9c27a1a;border:1px solid rgba(233,194,122,.3)}.tk-invite{position:absolute;left:calc(14px + env(safe-area-inset-left));top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 104px);display:none;align-items:center;pointer-events:auto;border-radius:999px;background:#261c14db;border:1px solid rgba(233,194,122,.45)}.tk-invite.open{display:flex}.tk-invite button{height:40px;background:none;border:none;color:var(--gold);font:inherit;font-size:14px}.tk-go{padding:0 4px 0 14px}.tk-invite .tk-no{width:36px;color:var(--ink-soft);font-size:18px}.loi-chuc{position:absolute;z-index:6;left:50%;top:calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px) + 168px);transform:translate(-50%);width:min(360px,calc(100% - 24px));padding:14px 14px 12px;border-radius:18px;background:#261c14eb;border:1px solid rgba(233,194,122,.45);box-shadow:0 12px 32px #00000059;pointer-events:auto;display:flex;flex-direction:column;gap:8px}.loi-chuc h2{margin:0;padding-right:28px;font-family:var(--serif);font-size:16px;font-weight:500;color:var(--gold);line-height:1.35}.loi-chuc p{margin:0;font-size:13px;line-height:1.45;color:var(--ink-soft)}.loi-chuc .x{position:absolute;top:8px;right:8px;width:32px;height:32px;border:0;border-radius:999px;background:#ffecc814;color:var(--ink);font-size:18px;line-height:1;cursor:pointer}.loi-chuc .row{display:flex;flex-wrap:wrap;gap:6px}.loi-chuc .row>*{flex:1 1 calc(50% - 6px);min-height:40px;height:auto;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;font-size:13px;line-height:1.25;text-align:center;text-decoration:none;white-space:normal}.loi-chuc .primary{flex-basis:100%}.loi-chuc input{width:100%;height:36px;border-radius:10px;border:1px solid var(--line);background:#fff8ec14;color:var(--ink);font:inherit;font-size:12px;padding:0 10px;user-select:text}@media (max-height: 500px){.loi-chuc{top:calc(max(8px,env(safe-area-inset-top)) + var(--mq, 0px) + 52px);bottom:auto;left:calc(188px + env(safe-area-inset-left));transform:none;width:min(340px,calc(100% - 320px));padding:8px 10px;gap:4px}.loi-chuc h2{font-size:14px}.loi-chuc p{font-size:12px}.loi-chuc .row>*{min-height:34px;padding:4px 8px}}.sheet.sosen{width:min(400px,calc(100% - 24px));gap:10px}.sen-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.sen-head b{font-family:var(--serif);font-weight:500;color:var(--ink);text-align:center}.sen-head button{width:40px;padding:0;font-size:20px}.sen-head button:disabled{opacity:.25}.sen-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.sen-day{position:relative;aspect-ratio:1;border-radius:10px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;background:#e9c27a0a}.sen-day b{font-size:12px;font-weight:400;color:var(--ink-soft)}.sen-day svg{position:absolute;inset:12%;width:76%;height:76%;fill:none;stroke:#e9c27a6b;stroke-width:1}.sen-day.on{background:#e79ab024}.sen-day.on svg{fill:#e79ab0;stroke:none}.sen-day.on.holy{background:#e9c27a2e}.sen-day.on.holy svg{fill:var(--gold)}.sen-day.on b,.sen-day:has(svg) b{position:absolute;right:5px;bottom:2px;font-size:10px;color:var(--ink)}.sen-day.today{border-color:var(--gold)}.sen-day.ring{box-shadow:0 0 0 1px var(--gold),0 0 10px #e9c27a8c}.sen-day.later{opacity:.55}@media (max-height: 500px){.sen-grid{grid-template-columns:repeat(10,1fr)}.sheet.sosen{width:min(560px,calc(100% - 24px))}}.moves{position:absolute;right:calc(14px + env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 70px);display:none;flex-direction:column;gap:4px;padding:6px;border-radius:18px;background:#261c14eb;border:1px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:auto;z-index:4}.moves.open{display:flex}.moves button{display:flex;align-items:center;gap:10px;min-width:170px;padding:9px 12px;border:0;border-radius:12px;background:transparent;color:var(--ink);font-family:var(--font);font-size:14px;text-align:left;cursor:pointer}.moves button:hover,.moves button:active{background:#ffecc81a}.moves svg{width:22px;height:22px;color:var(--gold);flex:none}.moves{max-height:calc(100dvh - 120px);overflow-y:auto}@media (max-height: 500px){.moves{max-height:calc(100dvh - 180px)}}.moves button span small{display:none;font-size:11px;color:var(--ink-soft)}.moves button.tier-1 svg{color:#fff4dc}.moves button.tier-2 svg{color:#ffb3c9}.moves button.tier-3 svg{color:#ffd54f;filter:drop-shadow(0 0 3px rgba(255,200,70,.7))}.moves button.locked{opacity:.5}.moves button.locked span small{display:block}.moves button span{display:flex;flex-direction:column}.moves button.tier-1{margin-top:2px;border-top:1px solid var(--line);border-radius:0 0 12px 12px}html:not(.touch) .moves{right:auto;left:50%;transform:translate(-50%);bottom:calc(max(20px,env(safe-area-inset-bottom)) + 150px)}.touch .moves{right:calc(76px + env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 62px)}@media (max-height: 500px){.touch .moves{right:calc(12px + env(safe-area-inset-right));bottom:calc(max(14px,env(safe-area-inset-bottom)) + 116px)}}.pet-tag{position:absolute;transform:translate(-50%,-100%);padding:1px 8px;border-radius:999px;background:#221a1280;font-size:11px;color:#f6e2c4;white-space:nowrap;pointer-events:none}.pet-tag.mine{color:var(--gold)}.pet-tag.res{color:#cfe7c4;background:#222e1a80}.pet-heart{position:absolute;width:16px;height:16px;margin:-16px 0 0 -8px;pointer-events:none;background:no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f0607a' d='M12 21s-7.5-4.6-7.5-10.4A4.2 4.2 0 0 1 12 8a4.2 4.2 0 0 1 7.5 2.6C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");animation:pet-heart 1.5s ease-out forwards;opacity:0}@keyframes pet-heart{0%{opacity:0;transform:translateY(0) scale(.6)}20%{opacity:1;transform:translateY(-8px) scale(1.1)}to{opacity:0;transform:translateY(-46px) scale(.9)}}.pet-icon{width:44px;height:44px;border-radius:999px;background:#e9c27a24}.gear-item .pet-icon{width:40px;height:40px;border-radius:999px;padding:0;background:#e9c27a24}.sheet.pets{width:min(400px,calc(100% - 24px));gap:12px}.pet-head{display:flex;align-items:center;gap:14px}.pet-head .pet-icon{width:72px;height:72px;flex:none;box-shadow:0 0 0 2px #e9c27a99}.pet-kind{font-size:13px;color:var(--ink-soft)}.pet-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pet-stats div{display:flex;flex-direction:column;align-items:center;padding:8px 4px;border-radius:14px;background:#ffecc80f}.pet-stats b{font-family:var(--serif);font-size:18px;color:var(--gold);font-weight:600}.pet-stats span{font-size:11px;color:var(--ink-soft)}.pet-stats .mood-vui{color:#9fd49a}.pet-stats .mood-buonngu{color:#b9b0c9}.pet-form{display:flex;gap:8px}.pet-form input{flex:1;min-width:0;height:42px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:16px}.sheet-sub.center{text-align:center}.card-pet{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ink-soft)}.card-pet .pet-icon{width:34px;height:34px;flex:none}.card-pet b{color:var(--ink);font-weight:500}body:has(.sheet.open) .pet-tag,body:has(.sheet.open) .pet-heart{visibility:hidden}.sheet.pets .warn{color:#f3c08a}.sheet.pets .danger-text{color:#f3a07a}.sheet.pets .primary.danger-btn{background:linear-gradient(180deg,#c45a3c,#9a3a24);color:#fff2e4}.sheet.vows{width:min(420px,calc(100% - 24px));gap:10px}.vow-form{display:flex;flex-direction:column;gap:8px}.vow-form textarea{width:100%;resize:none;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.4;box-sizing:border-box}.vow-ideas{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.vow-ideas button{flex:none;padding:5px 10px;border-radius:999px;border:1px solid rgba(233,194,122,.35);background:#e9c27a14;color:var(--ink-soft);font-family:var(--font);font-size:12px;cursor:pointer}.vow-done{text-align:center;padding:6px 0;color:var(--gold)}.vow-list{display:flex;flex-direction:column;gap:8px}.vow{padding:10px 12px;border-radius:14px;background:#ffecc80d;border-left:3px solid rgba(181,67,47,.8)}.vow.mine{border-left-color:var(--gold);background:#e9c27a14}.vow p{margin:0 0 6px;font-family:var(--serif);font-size:15px;line-height:1.45;color:var(--ink);user-select:text}.vow-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--ink-soft)}.vow-foot b{color:var(--ink);font-weight:500}.vow-foot em{font-style:normal;color:var(--gold)}.vow-acts{display:flex;gap:6px;align-items:center;flex:none}.vow-like,.vow-report{border:0;border-radius:999px;padding:5px 10px;font-family:var(--font);font-size:12px;cursor:pointer}.vow-like{background:#e9c27a2e;color:var(--gold)}.vow-like.on{background:#9fd49a2e;color:#9fd49a}.vow-report{background:none;color:#f3a07acc;padding:5px 4px}.sheet.vows .warn{color:#f3c08a;margin:0}.sheet.lantern .warn{color:#f3c08a;margin:8px 0 0}.sheet.lantern .warn:empty{display:none}.lantern-report{align-self:center;padding:8px 12px}.chore-pill{position:absolute;left:50%;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 200px);transform:translate(-50%);display:none;align-items:center;gap:8px;padding:6px 8px 6px 14px;border-radius:999px;background:var(--glass-strong);border:1px solid rgba(233,194,122,.45);font-size:14px;pointer-events:auto}.chore-pill.show{display:flex}.chore-pill b{color:var(--gold);font-weight:600}.chore-pill button{width:26px;height:26px;border:0;border-radius:999px;background:#ffecc81f;color:var(--ink);font-size:16px;line-height:1;cursor:pointer}.touch .chore-pill{top:calc(calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px)) + 140px);bottom:auto}@media (max-height: 500px){.touch .chore-pill{top:calc(calc(max(10px,env(safe-area-inset-top)) + var(--mq, 0px)) + 92px)}}.banned{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:#140e09eb;text-align:center}.banned b{display:block;font-family:var(--serif);font-size:22px;color:var(--gold);margin-bottom:8px}.banned p{margin:0;max-width:340px;color:var(--ink-soft)}.pass-box{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:60;box-sizing:border-box;width:min(340px,calc(100vw - 32px));padding:14px 12px 10px;border-radius:16px;border:1px solid rgba(233,194,122,.35);background:#140e09f5;box-shadow:0 12px 40px #00000080;text-align:center}.pass-box[hidden]{display:none}.pass-box p{margin:0 0 8px;color:var(--gold);font-size:14px}.pass-box small{display:block;margin-top:8px;color:#fff4e0bf;font-size:13px;line-height:1.4}.pass-box small[hidden],.pass-box button[hidden]{display:none}.pass-box button{min-height:44px;margin-top:10px;padding:0 22px}.banned button{width:auto;min-height:44px;margin-top:16px;padding:0 22px}.sheet.feedback{width:min(420px,calc(100% - 24px));gap:10px}.fb-form{display:flex;flex-direction:column;gap:8px}.fb-form textarea,.fb-form input{width:100%;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.4;box-sizing:border-box;resize:vertical}.sheet.feedback .warn{color:#f3c08a;margin:0}.fb-thanks{margin:6px 0;font-family:var(--serif);font-size:16px;color:var(--gold);line-height:1.5}.marquee{position:fixed;left:0;right:0;top:0;z-index:6;height:calc(env(safe-area-inset-top) + 24px);padding-top:env(safe-area-inset-top);display:none;align-items:center;overflow:hidden;background:linear-gradient(180deg,#801e10f5,#62160cf5);border-bottom:1px solid rgba(240,196,110,.55);color:#ffd98a;font-size:13px;white-space:nowrap;pointer-events:none}.marquee.show{display:flex}.marquee span{display:inline-block;padding-left:100%;animation:marquee-run var(--mq-dur, 30s) linear infinite}.marquee b{color:#fff1c4;font-weight:600;margin-right:6px}@keyframes marquee-run{0%{transform:translate(0)}to{transform:translate(-100%)}}html.has-marquee{--pinned-height: 24px}html.has-ticker{--ticker-height: 24px}.bed-tag{position:absolute;transform:translate(-50%,-100%);padding:2px 9px;border-radius:10px;background:#221a129e;text-align:center;line-height:1.25;pointer-events:none;white-space:nowrap}.bed-tag b{display:block;font-size:11px;font-weight:500;color:var(--ink)}.bed-tag.mine b{color:var(--gold)}.bed-tag small{display:block;font-size:10px;color:#cfe7c4}.bed-tag small.thirsty{color:#9ad0ea}body:has(.sheet.open) .bed-tag{visibility:hidden}.sheet.garden{width:min(400px,calc(100% - 24px));gap:10px}.in-am .chat-bar,.am-editing .joystick{display:none}.journal .sheet-sub.warn{color:#f3c08a}.am-items{display:grid;grid-template-columns:1fr 1fr;gap:8px}.am-item{min-height:44px;padding:8px 10px;border-radius:14px;border:1px solid var(--line);background:#ffecc80d;color:var(--ink);font-family:var(--font);font-size:14px;cursor:pointer}.am-item.on{border-color:var(--gold);color:var(--gold);background:#e9c27a24}.am-item.empty{color:var(--ink-soft)}.seed-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.seed{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border-radius:14px;border:1px solid var(--line);background:#ffecc80d;color:var(--ink);font-family:var(--font);cursor:pointer;text-align:center}.seed b{font-weight:500;font-size:13px}.seed small{font-size:11px;color:var(--ink-soft)}.flower-icon{width:44px;height:44px}.bed-head{display:flex;align-items:center;gap:12px}.bed-head .flower-icon{width:56px;height:56px;padding:6px;border-radius:999px;background:#e9c27a1f}.bed-head b{display:block;font-family:var(--serif);font-size:19px;color:var(--gold);font-weight:600}.bed-head span{font-size:13px;color:var(--ink-soft)}.grow{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:14px;background:#ffecc80d}.grow span{font-size:14px}.grow small{font-size:12px;color:var(--ink-soft)}.dots{display:flex;gap:6px}.dots i{width:22px;height:8px;border-radius:999px;background:#ffecc81f}.dots i.on{background:linear-gradient(90deg,#6fae5a,#9fd49a)}.in-hand{font-size:13px;color:var(--ink-soft);padding-top:4px;border-top:1px solid var(--line)}.in-hand b{color:var(--gold);font-weight:500}.in-hand .ghost{margin-left:6px;padding:5px 10px;font-size:12px}.sheet.garden .warn{color:#f3c08a}.quiz-pill{position:relative;padding:6px 12px 6px 10px;gap:6px;color:var(--ink);font-family:var(--font);font-size:13px;cursor:pointer}.quiz-pill svg{width:18px;height:18px;color:var(--gold);flex:none}.quiz-pill b{color:var(--gold);font-weight:600}.quiz-pill.on{border-color:#e9c27a99}.quiz-pill.on:after{content:"";width:8px;height:8px;border-radius:999px;background:#ff7a59;box-shadow:0 0 8px #ff7a59;animation:quiz-blink 1.4s ease-in-out infinite}@keyframes quiz-blink{50%{opacity:.3}}.sheet.quiz{width:min(440px,calc(100% - 24px));gap:10px}.sheet.quiz .sheet-title svg{width:22px;height:22px}.quiz-wait{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px;border-radius:16px;background:#e9c27a1a}.quiz-wait span{font-size:13px;color:var(--ink-soft)}.quiz-wait b{font-family:var(--serif);font-size:34px;color:var(--gold);font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}.quiz-head{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;color:var(--ink-soft)}.quiz-head b{color:var(--gold);font-size:16px}.quiz-q{margin:0;font-family:var(--serif);font-size:17px;line-height:1.45;color:var(--ink)}.quiz-opts{display:flex;flex-direction:column;gap:8px}.quiz-opt{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 12px;border-radius:14px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.35;text-align:left;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}.quiz-opt i{flex:none;width:26px;height:26px;border-radius:999px;display:grid;place-items:center;background:#ffecc81a;font-style:normal;font-size:12px;font-weight:600;color:var(--gold)}.quiz-opt:disabled{cursor:default}.quiz-opt.picked{border-color:var(--gold);background:#e9c27a2e}.quiz-opt.right{border-color:#8fcf7e;background:#6fae5a47}.quiz-opt.right i{background:#6fae5a;color:#142010}.quiz-opt.wrong{border-color:#e0806b;background:#b5432f52}.quiz-opt.dim{opacity:.5}.quiz-bar{height:6px;border-radius:999px;background:#ffecc81a;overflow:hidden}.quiz-bar i{display:block;height:100%;width:100%;border-radius:999px;background:linear-gradient(90deg,#d9a14a,#e9c27a);transition:width .25s linear}.quiz-why{margin:0;padding:10px 12px;border-radius:14px;background:#b5432f2e;font-size:13px;line-height:1.45}.quiz-why.ok{background:#6fae5a33}.quiz-why b{color:var(--ink)}.quiz-me{margin:0;padding:10px 12px;border-radius:14px;background:#e9c27a1f;font-size:14px}.quiz-me b{color:var(--gold)}.quiz-board{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.quiz-board li{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:12px;background:#ffecc80d;font-size:14px}.quiz-board li.mine{background:#e9c27a29}.quiz-board i{width:22px;font-style:normal;font-family:var(--serif);color:var(--gold);text-align:center}.quiz-board li:nth-child(-n+3) i{font-weight:700}.quiz-board span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quiz-board small{color:var(--ink-soft);font-size:12px}.quiz-board b{font-family:var(--serif);color:var(--gold);min-width:34px;text-align:right}.sheet.quiz .quiz-back{align-self:center}@media (max-height: 500px){.quiz-q{font-size:15px}.quiz-opts{display:grid;grid-template-columns:1fr 1fr;gap:6px}.quiz-opt{min-height:40px;padding:6px 10px;font-size:13px}.quiz-wait b{font-size:26px}}.sheet.donors{width:min(420px,calc(100% - 24px));gap:10px}.donor-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:46vh;overflow-y:auto}.donor-list li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:#e9c27a14;font-size:14px}.donor-list i{width:24px;font-style:normal;font-family:var(--serif);color:var(--gold);text-align:center;flex:none}.donor-list span{flex:1;min-width:0}.donor-list b{color:var(--gold);font-weight:500;font-size:13px;white-space:nowrap}.sheet.donors .small{font-size:12px;text-align:center}.le-card{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:14px;margin-bottom:4px;background:linear-gradient(160deg,#b5432f52,#e9c27a1f);border:1px solid rgba(233,194,122,.5)}.le-card.le-phatdan{background:linear-gradient(160deg,#e9aa324d,#2b5fae24)}.le-card.le-vulan{background:linear-gradient(160deg,#e46b864d,#e9c27a1a)}.le-head{display:flex;align-items:center;gap:10px}.le-head b{flex:1;font-family:var(--serif);font-size:15px;font-weight:600;color:var(--gold)}.le-head .primary.small{height:36px;padding:0 14px;font-size:13px;white-space:nowrap}.le-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.le-steps li{display:flex;align-items:center;gap:8px;font-size:13px}.le-steps li i{width:14px;height:14px;flex:none;border-radius:50%;border:1.5px solid var(--ink-soft)}.le-steps li.done i{background:var(--gold);border-color:var(--gold)}.le-steps li span{flex:1;min-width:0}.le-steps li.done span{color:var(--ink-soft)}.le-steps small,.le-card>small{font-size:11px;color:var(--ink-soft)}.le-card>small b{color:var(--gold);font-weight:500}.keep-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.keep-list li{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:12px;background:#e9c27a14;font-size:13px}.keep-list li i{width:12px;height:16px;flex:none;border-radius:50% 50% 45% 45%;background:#f0a238;box-shadow:0 0 8px #f0a23899}.keep-list li.keep-tet i{background:#f6c624}.keep-list li.keep-phatdan i{background:#f4f1e8}.keep-list li.keep-vulan i{background:#e46b86}.keep-list li span{flex:1;min-width:0}.keep-list li small{font-size:11px;color:var(--ink-soft);white-space:nowrap}.sheet.duyen{width:min(420px,calc(100% - 24px));gap:10px}.duyen-warn{font-size:12px;line-height:1.45;color:#f3d2a8;padding:9px 11px;border-radius:12px;background:#b5432f2e;border:1px solid rgba(243,160,122,.35)}.duyen-warn b{display:block;color:#f3a07a;font-weight:600;margin-bottom:2px}.duyen-check{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-soft)}.duyen-check input{width:18px;height:18px;accent-color:#c8322a}.duyen-check.need{color:#f3a07a}.duyen-row{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:#e9c27a14;font-size:13px}.duyen-row span{flex:1;min-width:0}.duyen-row .small{height:34px;padding:0 10px;font-size:13px;white-space:nowrap}.duyen-badge{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:linear-gradient(160deg,#c8322a59,#e9c27a1a);border:1px solid rgba(255,120,110,.45)}.duyen-badge.waiting{background:#c8322a24;border-style:dashed}.duyen-badge>div:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}.duyen-badge b{font-weight:500;font-size:14px}.duyen-badge small{font-size:12px;color:var(--ink-soft)}.duyen-knot{width:40px;height:40px;flex:none;color:#ff6a5e}.sheet.duyen .danger-text{color:#f3a07a}.sheet.duyen .small{font-size:12px}.card-duyen{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;text-align:left;font:inherit;color:var(--ink-soft);font-size:13px;background:#c8322a29;border:1px solid rgba(255,120,110,.35)}.card-duyen i{width:22px;height:3px;flex:none;border-radius:2px;background:#ff4a3d;box-shadow:0 0 8px #ff4a3d}.card-duyen span{display:flex;flex-direction:column;gap:2px}.card-duyen b{color:var(--ink);font-weight:500}.card-duyen small{font-size:11px}.duyen .name-row{display:flex;gap:8px}.duyen input[data-born]{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#fff8ec14;color:var(--ink);font:16px var(--font);user-select:text}.duyen .name-row button{min-width:56px;min-height:44px}.map-view{min-height:0;overflow:auto;max-height:56vh;overscroll-behavior:contain;border-radius:16px}.map .map-view svg{display:block;max-height:none}.map-shrine{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;width:100%;min-height:44px;padding:9px 12px;border:1px solid rgba(233,194,122,.55);border-radius:12px;color:var(--ink);background:#b5432f40;font:13px var(--font);cursor:pointer;text-align:left}.map-shrine span{font-size:11px;color:var(--gold);white-space:nowrap}.map-shrine:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.m-leader{fill:none;stroke:var(--gold);stroke-width:.7}.m-place:focus-visible{outline:none}.m-place:focus-visible rect{stroke:#fff3dc;stroke-width:1.2}.map .m-legend{flex-shrink:0}.zone-pill{cursor:pointer}.sheet.rooms{width:min(420px,calc(100% - 24px));gap:10px}.room-list{display:flex;flex-direction:column;gap:6px}@media (min-height: 501px){.touch .sheet.rooms{max-height:calc(100% - 230px)}}body:has(.sheet.open) .joystick{visibility:hidden}.room-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#ffecc80d;border:1px solid transparent}.room-row.here{border-color:#e9c27a8c;background:#e9c27a1a}.room-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.room-main b{font-family:var(--serif);font-weight:600;font-size:15px;color:var(--gold)}.room-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12px;color:var(--ink-soft)}.room-tag{padding:1px 8px;border-radius:999px;font-weight:600;font-size:11px}.room-tag.vua{background:#6eb47840;color:#bfe6c3}.room-tag.dong{background:#f0a23840;color:#f6cf8f}.room-tag.day{background:#c83c2d4d;color:#f6a594}.room-friends{color:var(--ink)}.room-main .bar{height:5px;border-radius:999px;background:#ffecc81a;overflow:hidden}.room-main .bar i{display:block;height:100%;border-radius:999px}.room-main .bar i.vua{background:#7fbf87}.room-main .bar i.dong{background:#f0a238}.room-main .bar i.day{background:#d0533f}.room-row .primary.small{height:38px;padding:0 16px;font-size:14px;flex:none}.room-here{flex:none;font-size:12px;color:var(--gold)}.room-now{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:14px;background:#e9c27a1a;border:1px solid rgba(233,194,122,.45)}.room-now small{font-size:11px;color:var(--ink-soft)}.room-now b{font-family:var(--serif);font-size:16px;font-weight:600;color:var(--gold)}.room-now>span{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-soft)}.room-tip{display:flex;flex-direction:column;gap:8px}.room-tip p{margin:0;font-size:13px;color:var(--ink)}.room-tip .primary{height:44px}.sheet.rooms .small{font-size:12px}.touch .room-row .primary.small{height:44px;min-width:64px}.touch .action-bar:has(>button:nth-child(7)){gap:6px}.touch .action-bar:has(>button:nth-child(7)) svg{width:46px;height:46px;padding:12px}.sheet.support{width:min(420px,calc(100% - 24px));gap:10px}.sp-list{min-height:160px;max-height:46vh}.dm.tt span{background:#b5432f52;border:1px solid rgba(233,194,122,.35)}.dm.ai span{background:#5aa0c838;border:1px solid rgba(120,190,220,.4)}.sp-list .dm small{color:var(--ink-soft)}.sp-list .dm.mine{align-items:flex-end}.sp-row{display:flex;gap:8px;align-items:flex-end}.sp-row textarea{flex:1;min-width:0;resize:none;padding:11px 14px;border-radius:20px;border:1px solid var(--line);background:#ffecc80f;color:var(--ink);font:inherit;font-size:16px;line-height:1.35;user-select:text}.sp-row .primary.small{height:44px;padding:0 16px;flex:none}.sheet.support .small{font-size:12px}@media (max-height: 500px){.sp-list{max-height:30vh;min-height:90px}}.sheet-sub.copyright{font-size:12px;text-align:center;border-top:1px solid var(--line);padding-top:10px}.sheet-sub.copyright a{color:var(--gold)}.chat-error{position:absolute;left:0;right:0;bottom:calc(100% + 8px);padding:8px 12px;border:1px solid rgba(243,160,122,.5);border-radius:12px;background:#2b1910f7;color:#ffd8bd;font-size:12px;line-height:1.45;max-height:100px;overflow:auto;pointer-events:none}.chat-error:empty{display:none}.in-phap .chat-bar,.in-phap .bubble{display:none}.in-phap .name-tag:not(.me){display:none!important}.phap-panel{position:absolute;z-index:2;bottom:max(14px,env(safe-area-inset-bottom));left:max(14px,env(safe-area-inset-left));right:calc(74px + env(safe-area-inset-right));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:16px;background:var(--glass-strong);pointer-events:none}.phap-panel[hidden],.phap-panel [hidden]{display:none}.phap-eyebrow{grid-column:1 / -1;overflow:hidden;color:var(--gold);font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.phap-panel.live .phap-eyebrow:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#ff8d6b;vertical-align:1px}.phap-title{overflow:hidden;color:var(--ink);font-family:var(--serif);font-size:16px;font-weight:600;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.phap-sub{overflow:hidden;color:var(--ink-soft);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.phap-bar{grid-column:1 / -1;height:4px;margin-top:7px;overflow:hidden;border-radius:2px;background:#ffecc829}.phap-bar i{display:block;height:100%;border-radius:2px;background:var(--gold);transition:width 1s linear}.phap-listen{width:auto;min-height:44px;padding:0 12px;font-size:13px;white-space:nowrap;pointer-events:auto}@media (max-height: 480px){.phap-panel{bottom:max(8px,env(safe-area-inset-bottom));left:190px;right:165px;padding:6px 12px;border-radius:14px}.phap-bar{margin-top:4px}.phap-listen{min-height:40px}}.lib{position:absolute;inset:0;z-index:5;display:none;flex-direction:column;gap:10px;padding:calc(max(12px,env(safe-area-inset-top)) + var(--mq)) max(14px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:#1b120b;color:var(--ink);pointer-events:auto}.lib.open{display:flex}body:has(.lib.open) .joystick{opacity:0;pointer-events:none}.tinh-tam #hud>:not(.calm):not(.fade):not(.breath),.tinh-tam .marquee,.tinh-tam .joystick{visibility:hidden!important}.breath{position:absolute;left:50%;top:42%;z-index:6;display:none;flex-direction:column;align-items:center;gap:10px;transform:translate(-50%,-50%);pointer-events:none}.breath.on{display:flex}.breath-ring{width:min(46vw,46vh,220px);aspect-ratio:1;display:grid;place-items:center}.breath-ring i{width:100%;height:100%;border-radius:50%;border:2px solid rgba(255,226,160,.75);background:radial-gradient(circle,#ffd68c52,#ffd68c0a 70%);box-shadow:0 0 40px #ffc87859;transform:scale(.5);transition:transform var(--out, 4s) ease-in-out}.breath-ring.in i{transform:scale(1);transition-duration:var(--in, 4s)}.breath.night .breath-ring i{border-color:#bed2ff99;background:radial-gradient(circle,#aac3ff3d,#aac3ff08 70%);box-shadow:0 0 40px #96b4ff47}.breath-word{font-family:var(--serif);font-size:20px;color:#fff1c4;text-shadow:0 1px 6px rgba(20,8,0,.85)}.breath-left{font-size:13px;color:#fff1c4cc;text-shadow:0 1px 4px rgba(20,8,0,.85);font-variant-numeric:tabular-nums}.khong-dem .merit-float,.khong-dem .merit-pill>b,.khong-dem .merit-total,.khong-dem .level-bar small{display:none!important}.tk-breath{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,236,200,.12);display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.calm{position:absolute;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:6;display:none;flex-direction:column;align-items:center;gap:8px;transform:translate(-50%);pointer-events:none}.tinh-tam .calm{display:flex}.calm-time{font-family:var(--serif);font-size:22px;color:#fff1c4;font-variant-numeric:tabular-nums;text-shadow:0 1px 6px rgba(20,8,0,.85)}.calm-row{display:flex;gap:8px;pointer-events:auto}.calm-btn{min-width:88px;min-height:44px;padding:0 14px;border:1px solid rgba(255,236,200,.28);border-radius:22px;background:#1b120b80;color:var(--ink);font-size:14px;cursor:pointer;touch-action:manipulation}.tk.reading .lib-top{display:none}.tk-head{min-width:0}.tk-title{font-family:var(--serif);font-size:22px;font-weight:600;line-height:1.2;color:#ffe9b0}.tk-sub{font-size:13px;color:var(--ink-soft)}.tk-home{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;width:min(680px,100%);margin:0 auto}.tk-home.off{display:none}.tk-tools{display:flex;flex-direction:column;gap:8px;flex:none;min-width:0}.tk-search{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#ffecc814;color:var(--ink);font-size:16px}.tk-search::placeholder{color:var(--ink-soft)}.tk-search:focus{outline:2px solid var(--gold);outline-offset:1px}.tk-regions button{flex:1 1 0;justify-content:center;text-align:center;white-space:nowrap}.tk-count{flex:none;font-size:13px;color:var(--ink-soft)}.tk-cards{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.tk-none{margin:16px 4px;font-size:15px;line-height:1.5;color:var(--ink-soft)}.tk .lib-name{font-size:16px;line-height:1.25;white-space:normal}.tk .lib-source a{color:var(--gold)}.tk-free{margin-top:8px}.tk-report{width:auto;min-height:44px;margin-top:12px;padding:0 14px;font-size:14px}@media (max-height: 500px){.tk-tools{flex-direction:row;align-items:center}.tk-search{flex:1 1 40%;min-width:150px}.tk-regions{flex:0 1 auto}.tk:not(.reading) .tk-home{padding-right:76px}.tk:not(.reading) .lib-top{position:absolute;top:calc(6px + var(--mq));right:max(14px,env(safe-area-inset-right));width:auto;margin:0;z-index:1}.tk:not(.reading) .tk-head{display:none}}.lib-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;width:min(680px,100%);margin:0 auto}.lib-tabs{min-width:0}.lib-close{width:auto;min-height:44px;height:44px;padding:0 16px;flex:none;font-size:14px}.lib-page,.lib-read{display:none;flex:1;min-height:0;width:min(680px,100%);margin:0 auto}.lib-page.on{display:flex;flex-direction:column;gap:8px;overflow-y:auto}.lib-read.on{display:flex;flex-direction:column;gap:8px}.lib-card{display:flex;flex-direction:column;gap:3px;flex:none;min-height:62px;padding:11px 14px;border:1px solid var(--line);border-radius:14px;background:#ffecc80f;color:var(--ink);text-align:left;cursor:pointer;touch-action:manipulation}.lib-card b{font-family:var(--serif);font-size:17px;font-weight:600;color:#ffe9b0}.lib-card span{font-size:13px;color:var(--ink-soft)}.lib-intro{margin:0 0 4px;font-size:14px;line-height:1.45;color:var(--ink-soft)}.lib-cal h3{flex:none;margin:8px 0 0;font-family:var(--serif);font-size:15px;font-weight:600;color:var(--gold)}.lib-row{flex:none;display:grid;grid-template-columns:104px minmax(0,1fr);gap:2px 10px;padding:10px 12px;border:1px solid var(--line);border-radius:14px}.lib-row.live{border-color:var(--gold);background:#d9a8451f}.lib-when{font-size:14px;font-weight:600}.lib-when-note{grid-column:1;grid-row:2;font-size:12px;color:var(--ink-soft)}.lib-row.live .lib-when-note{color:var(--gold)}.lib-what{grid-column:2;grid-row:1 / span 2;display:flex;flex-direction:column;align-items:flex-start}.lib-what button{min-height:32px;padding:0;border:0;background:none;color:#ffe9b0;font-family:var(--serif);font-size:15px;text-align:left;cursor:pointer;touch-action:manipulation}.lib-head{display:flex;align-items:center;gap:6px;flex:none}.lib-head .ghost{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;flex:none;font-size:15px}.lib-head .lib-back{font-size:24px;line-height:1}.lib-name{flex:1;min-width:0;overflow:hidden;font-family:var(--serif);font-size:18px;font-weight:600;color:#ffe9b0;text-overflow:ellipsis;white-space:nowrap}.lib-text{position:relative;flex:1;min-height:0;overflow-y:auto;padding:4px 4px 20px;font-family:var(--serif);line-height:1.65;overscroll-behavior:contain}.lib-text p{margin:0 0 .75em;padding:2px 8px;border-radius:8px;color:#f3e6cf;transition:background .3s ease,color .3s ease}.lib-text p.lit{background:#d9a8452e;color:#ffe9b0}.lib-note{margin-bottom:12px;padding:0 8px;font-size:14px;font-style:italic;color:var(--ink-soft)}.lib-source{margin-top:18px;padding:10px 8px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.45;color:var(--ink-soft);overflow-wrap:anywhere}.lib-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;flex:none;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:#ffecc80d}.lib-bar[hidden]{display:none}.lib-play{width:92px;min-height:44px;height:44px;padding:0;font-size:14px}.lib-seek{width:100%;height:44px;margin:0;accent-color:var(--gold);touch-action:none}.lib-time{font-size:12px;color:var(--ink-soft);white-space:nowrap;font-variant-numeric:tabular-nums}@media (max-width: 480px){.lib-bar{grid-template-columns:auto minmax(0,1fr);min-height:60px}.lib-time{grid-column:2;grid-row:1;align-self:start;justify-self:end;pointer-events:none}.lib-seek{grid-column:2;grid-row:1;align-self:end;height:30px}}@media (max-height: 480px){.lib{gap:6px;padding-top:calc(6px + var(--mq));padding-bottom:max(6px,env(safe-area-inset-bottom))}.lib.reading .lib-top{display:none}.lib-bar{padding:3px 10px}}.sheet.thaydo{width:min(420px,calc(100% - 24px));gap:10px;align-items:stretch}.td-wishes{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.td-wish{min-height:42px;height:auto;padding:6px 8px;font-size:14px;line-height:1.25}.td-paper{display:block;width:100%;height:auto;max-height:42vh;object-fit:contain;border-radius:6px;cursor:pointer}.td-from{margin:0;padding-right:34px;font-family:var(--serif);font-size:16px;color:var(--gold);overflow-wrap:anywhere}.td-to{margin:0;text-align:center;font-family:var(--serif);font-size:17px;color:var(--ink);overflow-wrap:anywhere}.td-to:empty{display:none}.td-word{font-size:14px;line-height:1.5;color:var(--ink)}.td-bless{margin:0;font-family:var(--serif);font-size:15px;line-height:1.45;color:var(--gold)}.td-honest{margin:0;font-size:11.5px;line-height:1.4;color:var(--ink-soft)}.td-field{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink-soft)}.td-field input,.td-field select{height:42px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:#ffffff0f;color:var(--ink);font:inherit;font-size:16px}.td-field select option{color:#222}.td-tu{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.td-cell{display:flex;flex-direction:column;align-items:center;gap:3px;padding:0;border:0;background:none;color:var(--ink);font:inherit;cursor:pointer}.td-cell canvas{display:block;width:100%;height:auto;border-radius:4px}.td-cell small{font-size:11.5px;color:var(--ink-soft)}.td-cell.none{cursor:default;opacity:.32}@media (orientation: landscape) and (max-height: 500px){.td-wishes{grid-template-columns:repeat(3,1fr)}.td-tu{grid-template-columns:repeat(4,1fr)}.td-paper{max-height:34vh}}.sheet-close+.td-paper{margin-top:30px}.sheet.thaydo .week-foot button{flex:1;max-width:none;min-height:44px;height:auto;padding:6px 10px;line-height:1.25}.gon #hud>:is(.zone-pill,.top-right,.action-bar,.chat-bar,.chat-log,.merit-row,.tk-invite,.chore-pill,.menu-bar,.menu-btn){visibility:hidden!important;pointer-events:none!important}.gon-btn{position:absolute;left:18px;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 232px);width:60px;padding:0;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;color:var(--ink);font:inherit;font-size:11px;text-shadow:0 1px 4px rgba(20,8,0,.9);pointer-events:auto;cursor:pointer;touch-action:manipulation;z-index:2}.gon-btn svg{box-sizing:border-box;width:42px;height:42px;padding:10px;border-radius:50%;border:1px solid rgba(255,236,200,.3);background:#1b120b80}.gon-btn:active svg{background:#e9c27a59}body:has(.sheet.open,.guide.open,.beads.open,.chant.open,.lib.open) .gon-btn{visibility:hidden}@media (orientation: landscape) and (max-height: 500px){.gon-btn{left:auto;right:calc(max(14px,env(safe-area-inset-right)) + 58px);bottom:max(10px,env(safe-area-inset-bottom))}}.gear-board{display:grid;grid-template-columns:72px minmax(0,1fr) 72px;gap:6px;align-items:stretch}.gear-board .stage{height:auto;min-height:216px}.gear-board .stage canvas{position:absolute;inset:0}.gb-row{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.gb-row .gb-slot{min-height:0;flex:none;padding:5px 3px}.gb-row .gb-slot>svg{width:26px;height:26px}.gb-row .gb-slot b{-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis}.gb-col{display:flex;flex-direction:column;gap:6px;min-width:0}.gb-slot{flex:1 0 auto;min-height:68px;min-width:0;padding:5px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid var(--line);border-radius:12px;background:#ffecc80f;color:var(--ink);font-family:var(--font);text-align:center}button.gb-slot{cursor:pointer}button.gb-slot:active{background:#e9c27a33}.gb-slot svg{width:30px;height:30px;flex:none}.gb-slot small{font-size:10px;line-height:1.2;color:var(--ink-soft)}.gb-slot b{width:100%;font-size:11px;font-weight:500;line-height:1.2;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.gb-slot.empty{border-style:dashed;color:var(--ink-soft)}.gb-slot.empty b{color:var(--ink-soft)}.sheet.profile>*:not(.sheet-close){flex-shrink:0}.pk-list{display:flex;flex-direction:column;gap:6px}.pk-row{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:1px solid var(--line);border-radius:14px;background:#ffecc80d;color:var(--ink);font-family:var(--font);text-align:left;cursor:pointer}.pk-row.on{border-color:var(--gold);background:#e9c27a24}.pk-row:disabled{cursor:default}.pk-tile{flex:none;width:56px;height:56px;padding:5px;box-sizing:border-box;border-radius:12px;background:radial-gradient(circle at 50% 40%,#6a4a2c,#2c1d12)}.pk-tile svg{display:block;width:100%;height:100%}.pk-row.locked .pk-tile svg{opacity:.8}.pk-text{min-width:0;display:flex;flex-direction:column;gap:2px}.pk-text b{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;font-family:var(--serif);font-size:15px;font-weight:600}.pk-text small{font-size:12px;line-height:1.35;color:var(--ink-soft)}.pk-text .pk-how{color:var(--gold)}.pk-rank{padding:1px 7px;border-radius:999px;font-family:var(--font);font-size:10.5px;font-style:normal;font-weight:600}.pk-rank.r-thuong{background:#ffecc824;color:var(--ink-soft)}.pk-rank.r-hiem{background:#f3dfa8;color:#5a3f12}.pk-rank.r-quy{background:linear-gradient(180deg,#d9a14a,#b8782c);color:#2a1a0c}.sheet.hac{width:min(400px,calc(100% - 24px));gap:10px}.sheet.hac>*{flex-shrink:0}.sheet.hac .sheet-title .pet-icon{width:34px;height:34px}.hac-steps{list-style:none;margin:2px 0;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.hac-steps li{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10.5px;color:var(--ink-soft);text-align:center;line-height:1.15}.hac-steps i{width:14px;height:14px;border-radius:999px;border:1.5px solid rgba(233,194,122,.5)}.hac-steps li.done i{background:var(--gold);border-color:var(--gold)}.hac-steps li.done{color:var(--ink)}.hac-steps li.now i{border-color:var(--gold);box-shadow:0 0 0 3px #e9c27a40}.hac-steps li.now{color:var(--gold)}.hac-step{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#e9c27a12;display:flex;flex-direction:column;gap:4px}.hac-step b{color:var(--gold);font-weight:500}.hac-step p{margin:0;font-size:13.5px}.hac-step q{font-family:var(--serif);font-style:italic;font-size:14px;color:var(--ink-soft);quotes:"“" "”"}.hac-note{font-size:12px}.hac-land{position:absolute;left:50%;bottom:calc(22px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:30;display:none}.hac-land.on{display:block}.trau-steps{grid-template-columns:repeat(5,1fr);row-gap:8px}.rua-tale-text{display:flex;flex-direction:column;gap:8px}.rua-tale-text p{margin:0;font-size:14.5px;line-height:1.55;color:var(--ink)}.rua-word{display:block;font-family:var(--serif);font-style:italic;font-size:15px;color:var(--gold);text-align:center;padding:4px 6px;quotes:"“" "”";flex-shrink:0}.sheet.rua .rua-tale{text-align:left;font-size:13.5px;padding:8px 12px}.sheet.bode>*{flex-shrink:0}.bode-total{position:relative;border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:13px;overflow:hidden;color:var(--ink-soft)}.bode-total b{color:var(--gold);font-size:16px;position:relative;z-index:1}.bode-total i{position:absolute;left:0;top:0;bottom:0;background:#e9c27a29}.bode-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.bode-list li{display:grid;grid-template-columns:34px 1fr;gap:4px 10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:6px 10px}.bode-list li.done{background:#c43b2a14}.bode-row{display:flex;align-items:center;gap:8px;min-width:0}.bode-row b{font-weight:500;font-size:14px;flex:1;min-width:0}.bode-row span{font-size:12.5px;color:var(--ink-soft);white-space:nowrap}.bode-row button{padding:5px 10px;font-size:12.5px;min-height:0;white-space:nowrap}.bode-seal{width:34px;height:34px}.bode-seal rect{fill:none;stroke:#e9c27a59;stroke-width:1.5;stroke-dasharray:3 3}.bode-seal text{fill:#e9c27a59;font-family:var(--serif);font-size:13px;text-anchor:middle}.bode-seal.on rect{fill:#b8352a;stroke:#e0574a;stroke-dasharray:none}.bode-seal.on text{fill:#fbe9d7}.bode-ke{grid-column:1 / -1;font-family:var(--serif);font-style:italic;font-size:14px;color:var(--gold);quotes:"“" "”";padding:2px 4px 4px}.hv-overlay{position:absolute;inset:0;z-index:40;display:none}.hv-overlay.on{display:block}.hv-catch{position:absolute;inset:0;touch-action:none}.hv-panel{position:absolute;left:50%;bottom:calc(max(14px,env(safe-area-inset-bottom)) + 8px);transform:translate(-50%);width:min(420px,calc(100% - 24px));max-height:56%;overflow-y:auto;background:#1c140ed1;backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:10px;color:var(--ink)}.hv-panel>*{flex-shrink:0}.hv-panel .sheet-close{position:absolute;top:8px;right:8px}.hv-title{font-family:var(--serif);font-size:20px;color:var(--gold)}.hv-sub{margin:0;font-size:13.5px;color:var(--ink-soft);line-height:1.45}.hv-choose{display:flex;flex-direction:column;gap:8px}.hv-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:center}.hv-row button{flex:1;min-width:120px}.hv-left{font-size:13.5px;color:var(--ink-soft)}.hv-left b{color:var(--gold);font-size:17px}.hv-hint{margin:0;text-align:center;font-size:14px;color:var(--gold);padding-right:24px}.hv-done{margin:0;font-family:var(--serif);font-style:italic;font-size:16px;color:var(--gold);text-align:center;line-height:1.5;padding:0 20px}.hv-khan p{margin:0 0 6px;font-size:14px;line-height:1.55}.hv-panel input,.hv-panel textarea{font:inherit;font-size:15px;color:var(--ink);background:#ffffff0f;border:1px solid var(--line);border-radius:10px;padding:9px 11px;resize:none}.hv-on>*:not(.hv-overlay):not(.toast):not(.toasts){visibility:hidden}@media (max-height: 500px){.hv-panel{max-height:48%;padding:10px 14px;gap:8px}.hv-panel .hv-sub{font-size:12.5px}.hv-choose{flex-direction:row;flex-wrap:wrap}.hv-choose button{flex:1;min-width:150px}.hv-title{font-size:17px}}.quang-path{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.qp-step{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border-radius:12px;background:#fff4e00a;border:1px solid transparent;opacity:.6}.qp-step.next{opacity:1;border-color:#f0cd8459}.qp-step.got{opacity:1;background:#ffdc8c14}.qp-step>div{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.qp-step b{font-size:14px}.qp-step small{color:var(--ink-soft);font-size:12px}.qp-step .qp-done{color:var(--gold)}.qp-part{display:flex;flex-direction:column;gap:3px}.qp-part .bar{height:5px;border-radius:999px;background:#ffecc81a;overflow:hidden}.qp-part .bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#c48a3a,#f0cd84)}.qp-icon{flex:none;width:26px;height:26px;margin-top:2px;border-radius:50%}.qp-tamdang .qp-icon{background:radial-gradient(circle at 50% 60%,#fffbe8 0 18%,#ffcf6e 30%,#ffaa3c00 68%)}.qp-nganquang .qp-icon{border:2px solid #eef4ff;box-shadow:0 0 8px #bed7ffcc,inset 0 0 6px #bed7ff80}.qp-kimquang .qp-icon{border:2.5px solid #ffe7a6;box-shadow:0 0 10px #ffc446e6,inset 0 0 6px #ffc44699}.qp-step:not(.got) .qp-icon{filter:grayscale(.8) brightness(.8)}.pk-text .pk-glow{color:var(--ink-soft);font-size:11.5px}.pk-text .pk-glow.got{color:#ffe08f;text-shadow:0 0 6px rgba(255,200,80,.6)}.face-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.face-pick{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px 5px;border-radius:12px;background:#fff4e00d;border:1.5px solid transparent;color:var(--ink-soft);min-width:0}.face-pick img{width:44px;height:44px;border-radius:50%;display:block}.face-pick small{font-size:10.5px;line-height:1.15;text-align:center;max-width:100%;overflow-wrap:anywhere}.face-pick.on{border-color:var(--gold);color:var(--ink);background:#f0cd841f}.face-pick.locked{opacity:.45}.face-pick.locked img{filter:grayscale(.7)}.look-editor{display:flex;flex-direction:column;gap:10px}.look-stage{padding:6px}.journal .tabs{flex:none;overflow-x:auto;scrollbar-width:none}.journal .tabs::-webkit-scrollbar{display:none}.journal .tabs{gap:2px}.journal .tabs button{flex:1 1 0;min-width:max-content;padding:0 3px;font-size:11px}.loi-chuc.doi-ten{top:calc(max(14px,env(safe-area-inset-top)) + var(--mq, 0px) + 104px)}.loi-chuc.doi-ten h2{font-size:17px}.loi-chuc.doi-ten .primary{flex-basis:100%;min-height:44px;font-size:15px;font-weight:600;border-radius:14px}@media (max-height: 500px){.loi-chuc.doi-ten p{display:none}}#loading.ready .loading-text,#loading.ready .loading-bar{display:none}.enter-btn{min-width:200px;height:54px;padding:0 32px;border:0;border-radius:999px;background:linear-gradient(180deg,#e2b25c,#b8782c);color:#2a1a0c;font:600 19px var(--serif, serif);letter-spacing:.04em;box-shadow:0 0 #e9c27a80;animation:enter-glow 1.8s ease-in-out infinite alternate;cursor:pointer}@keyframes enter-glow{to{box-shadow:0 0 22px 4px #e9c27a73}}.tk-lock{position:fixed;inset:0;z-index:40;display:none;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));background:#140e09b8;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.tk-lock.open{display:flex}.tk-lock-card{width:min(380px,100%);max-height:100%;overflow-y:auto;padding:18px 18px 16px;border-radius:22px;background:#261c14f5;border:1px solid var(--line);display:flex;flex-direction:column;gap:12px}.tk-lock form{display:flex;flex-direction:column;gap:8px}.tk-lock input{height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:#fff8ec14;color:var(--ink);font:inherit;font-size:16px}@media (max-height: 500px){.tk-lock-card{width:min(520px,100%);gap:6px;padding:10px 14px}.tk-lock .sheet-sub{font-size:12px;line-height:1.35}.tk-lock form{gap:6px}.tk-lock input,.tk-lock button{height:36px;min-height:36px}}
