:root{--bg: #f6f7f9;--surface: #ffffff;--surface-2: #f7f8fa;--surface-3: #eef0f4;--ink: #171a20;--ink-2: #4a5160;--muted: #8a92a1;--line: #e9ebef;--line-strong: #dde1e7;--accent: #ff5c39;--accent-hover: #ec4c2a;--accent-soft: #fff1ec;--accent-ink: #cc3f1d;--gold: #f2a33c;--gold-soft: #fdf3e3;--violet: #7b61ff;--violet-soft: #f1eeff;--green: #17b26a;--green-soft: #e7f8ef;--blue: #3a8dde;--blue-soft: #eaf3fd;--pink: #e8618c;--pink-soft: #fdeef3;--r-xs: 8px;--r-sm: 10px;--r-md: 12px;--r-lg: 16px;--r-xl: 20px;--r-2xl: 26px;--r-pill: 999px;--radius: var(--r-xl);--radius-sm: var(--r-md);--shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .05);--shadow: 0 4px 10px -2px rgba(16, 24, 40, .06), 0 18px 36px -12px rgba(16, 24, 40, .12);--shadow-lg: 0 24px 64px -16px rgba(16, 24, 40, .22);--safe: env(safe-area-inset-bottom, 0px);--vvh: 100dvh;--kbd: 0px}html{touch-action:manipulation}body{overscroll-behavior-y:contain}button,.chip,.element,.rarity{user-select:none;-webkit-user-select:none}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0}body{background:radial-gradient(900px 420px at 50% -140px,#ffffff 0%,transparent 70%),var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Segoe UI,sans-serif;font-size:14.5px;line-height:1.55;min-height:100dvh;-webkit-font-smoothing:antialiased}h1,h2,h3,h4,p{margin:0}button{font-family:inherit;font-size:inherit;color:inherit;border:none;background:none;cursor:pointer;padding:0}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}input{font-family:inherit}:focus-visible{outline:2px solid rgba(255,92,57,.55);outline-offset:2px}.shell{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}.app{min-height:100dvh;padding-bottom:96px}.main{padding:26px 0 40px;animation:fadeUp .25s ease both}@keyframes fadeUp{0%{opacity:0;transform:translateY(6px)}}.topbar{position:sticky;top:0;z-index:40;background:#ffffffd1;backdrop-filter:saturate(180%) blur(16px);-webkit-backdrop-filter:saturate(180%) blur(16px);border-bottom:1px solid var(--line)}.topbar-inner{height:62px;display:flex;align-items:center;gap:18px}.brand{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto}.brand-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:var(--r-xs);background:var(--accent-soft);color:var(--accent-ink)}.brand-text{font-weight:700;font-size:14px;letter-spacing:-.01em;white-space:nowrap}.topnav{display:none;align-items:center;gap:2px;flex:1}.topnav-item{height:34px;padding:0 14px;border-radius:var(--r-xs);font-size:13.5px;font-weight:600;color:var(--muted);transition:color .15s,background .15s}.topnav-item:hover{color:var(--ink);background:var(--surface-2)}.topnav-item.is-active{color:var(--ink);background:var(--surface-3)}.top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.icon-btn{position:relative;width:34px;height:34px;border-radius:var(--r-sm);display:grid;place-items:center;color:var(--ink-2);border:1px solid var(--line);background:var(--surface);transition:background .15s,border-color .15s}.icon-btn:hover{background:var(--surface-2)}.badge{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:var(--r-pill);background:var(--accent);color:#fff;font-size:9.5px;font-weight:700;display:grid;place-items:center;border:2px solid var(--surface)}.wallet{display:flex;gap:6px}.wallet-chip{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border-radius:var(--r-xs);background:var(--surface);border:1px solid var(--line);font-size:12.5px;font-variant-numeric:tabular-nums}.wallet-chip b{font-weight:650}.wallet-coin{color:var(--accent)}.wallet-star{color:var(--violet)}.tabbar{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:space-around;padding:6px 8px calc(6px + var(--safe));background:#ffffffeb;backdrop-filter:saturate(180%) blur(16px);-webkit-backdrop-filter:saturate(180%) blur(16px);border-top:1px solid var(--line)}.tabbar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;border-radius:var(--r-md);color:var(--muted);font-size:10px;font-weight:600}.tabbar-item.is-active{color:var(--accent)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 16px;border-radius:var(--r-sm);font-size:14px;font-weight:600;border:1px solid transparent;transition:background .15s,border-color .15s,transform .08s;white-space:nowrap}.btn:active:not(:disabled){transform:scale(.985)}.btn:disabled{opacity:.45}.btn-primary:disabled{background:var(--surface-3);color:var(--muted);opacity:1;box-shadow:none}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 1px 2px #ff5c3947}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-ghost{background:var(--surface);border-color:var(--line-strong);color:var(--ink-2)}.btn-ghost:hover:not(:disabled){background:var(--surface-2)}.btn-soft{background:var(--accent-soft);color:var(--accent-ink)}.btn-soft:hover:not(:disabled){background:#ffe6dd}.btn-sm{height:32px;padding:0 12px;font-size:12.5px;border-radius:var(--r-xs)}.btn-xs{height:26px;padding:0 10px;font-size:11.5px;border-radius:var(--r-xs)}.btn-lg{height:48px;padding:0 22px;font-size:15px;border-radius:var(--r-md)}.btn-block{width:100%}.link-btn{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:600;color:var(--accent-ink);padding:4px 0}.link-btn:hover{color:var(--accent)}.icon-btn svg,.link-btn svg{flex:0 0 auto}.chip{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:var(--r-xs);background:var(--surface-2);border:1px solid var(--line);font-size:11.5px;font-weight:600;color:var(--ink-2);white-space:nowrap}.chip-soft{background:var(--accent-soft);border-color:transparent;color:var(--accent-ink)}.chip-shiny{background:var(--gold-soft);border-color:#f7e3bd;color:#a5721a}.muted{color:var(--muted);font-size:13px}.center{text-align:center}.center-title{font-size:20px;text-align:center}.eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink);margin-bottom:6px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.page-head h1{font-size:28px;line-height:1.2;letter-spacing:-.025em;font-weight:700}.lede{font-size:13.5px;color:var(--muted);margin-top:6px;line-height:1.6}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title h3{font-size:15px;font-weight:650;letter-spacing:-.01em}.section-title p{font-size:12px;color:var(--muted);margin-top:2px}.empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 16px;color:var(--muted);font-size:13px}.spinner{display:inline-block;width:18px;height:18px;border-radius:50%;border:2px solid var(--line-strong);border-top-color:var(--accent);animation:spin .7s linear infinite}.spinner-wrap{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px;color:var(--muted);font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}.splash{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:13px}.splash-paw{font-size:40px;animation:bob 2s ease-in-out infinite}.centered-page{min-height:100dvh;display:grid;place-items:center;padding:20px}.reset-card{width:100%;max-width:400px;padding:28px 24px}.reset-card h1{font-size:22px;margin-bottom:6px}.reset-card .muted{display:block;margin-bottom:20px}.field{display:block;margin-bottom:14px}.field>span{display:block;font-size:12.5px;font-weight:600;color:var(--ink-2);margin-bottom:6px}.input{width:100%;height:42px;padding:0 13px;border-radius:var(--r-sm);border:1px solid var(--line-strong);background:var(--surface);font-size:14.5px;color:var(--ink);transition:border-color .15s,box-shadow .15s}.input::placeholder{color:#b3b9c4}.input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #ff5c391f}.form-error{font-size:12.5px;color:#d14343;margin-bottom:12px}.form-note{font-size:12px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.6}.sheet-backdrop{position:fixed;inset:0;background:#11141a6b;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center;z-index:60;animation:fadeIn .18s ease both}@keyframes fadeIn{0%{opacity:0}}.sheet{width:100%;max-width:560px;max-height:min(90dvh,calc(var(--vvh) - 20px));overflow-y:auto;overscroll-behavior-y:contain;background:var(--surface);border-radius:var(--r-2xl) var(--r-2xl) 0 0;padding:10px 20px calc(24px + var(--safe));box-shadow:var(--shadow-lg);animation:slideUp .26s cubic-bezier(.22,1,.36,1) both}.sheet.is-dragging{animation:none;transition:none}body.kbd-open .sheet-backdrop{height:var(--vvh)}body.kbd-open .tabbar{display:none}@keyframes slideUp{0%{transform:translateY(36px);opacity:.5}}.sheet-grip{width:38px;height:4px;border-radius:var(--r-pill);background:var(--line-strong);margin:2px auto 12px}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.sheet-title{font-size:20px;font-weight:700;letter-spacing:-.02em}.sheet-sub{font-size:12.5px;color:var(--muted);margin-top:3px}.sheet-body{padding-bottom:4px}.toast-stack{position:fixed;bottom:calc(86px + var(--safe) + var(--kbd));left:50%;transform:translate(-50%);z-index:120;display:flex;flex-direction:column;gap:8px;width:max-content;max-width:min(92vw,420px);pointer-events:none}body[data-sheet=open] .toast-stack{bottom:auto;top:14px}.toast{display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:var(--r-sm);font-size:13px;font-weight:550;background:#181c24f0;color:#fff;box-shadow:var(--shadow);animation:toastIn .2s ease both}.toast-bad{background:#c43d3df5}.toast-dot{width:6px;height:6px;border-radius:50%;background:#ffc6a8;flex:0 0 auto}@keyframes toastIn{0%{opacity:0;transform:translateY(-8px)}}.statbar{display:flex;align-items:center;gap:8px;font-size:12px}.statbar-label{display:inline-flex;align-items:center;gap:4px;width:54px;flex:0 0 auto;color:var(--ink-2);font-weight:600}.statbar-label svg{color:var(--muted)}.statbar-track{flex:1;height:6px;border-radius:var(--r-pill);background:var(--surface-3);overflow:hidden}.statbar-fill{height:100%;border-radius:var(--r-pill);transition:width .35s cubic-bezier(.22,1,.36,1)}.tone-green{background:var(--green)}.tone-orange{background:var(--gold)}.tone-blue{background:var(--blue)}.tone-pink{background:var(--pink)}.statbar-num{width:24px;text-align:right;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}.rarity{font-size:11px;letter-spacing:1px;line-height:1}.rarity-N{color:#a8afba}.rarity-R{color:#4a90e2}.rarity-SR{color:#9d6cf0}.rarity-SSR{color:#eda32c}.element{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:var(--r-xs);font-size:11.5px;font-weight:600}.element-compact{height:22px;padding:0 7px}.element-water{background:var(--blue-soft);color:#2f7cc4}.element-fire{background:#ffece6;color:#d9512f}.element-grass{background:var(--green-soft);color:#118a52}.element-light{background:var(--gold-soft);color:#b4740f}.element-dark{background:var(--violet-soft);color:#6a4fe0}.landing{max-width:1120px;margin:0 auto;padding:0 20px 48px}.landing-nav{height:64px;display:flex;align-items:center;justify-content:space-between}.hero{display:grid;gap:40px;align-items:center;padding:28px 0 56px}.hero-copy h1{font-size:40px;line-height:1.15;letter-spacing:-.035em;font-weight:700;margin-bottom:14px}.hero-lede{font-size:14.5px;line-height:1.8;color:var(--ink-2);margin-bottom:26px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero-note{font-size:12.5px;color:var(--muted);margin-top:14px}.hero-visual{order:-1}.hero-scene{position:relative;height:330px;border-radius:var(--r-2xl);overflow:hidden;background:linear-gradient(180deg,#eaf4ff,#f4fbff 55%,#eef8e9);border:1px solid var(--line);box-shadow:var(--shadow)}.hero-pet{position:absolute;bottom:30px;filter:drop-shadow(0 14px 18px rgba(30,40,60,.12))}.hero-pet.a{left:0;right:0;display:flex;justify-content:center;z-index:3;animation:bob 3.4s ease-in-out infinite}.hero-pet.b{left:8%;bottom:52px;z-index:2;animation:bob 4.2s ease-in-out infinite .5s}.hero-pet.c{right:7%;bottom:58px;z-index:2;animation:bob 3.9s ease-in-out infinite 1s}.features{display:grid;gap:14px;grid-template-columns:1fr;padding-bottom:40px}.feature{padding:20px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line)}.feature-icon{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:var(--r-sm);background:var(--accent-soft);color:var(--accent-ink);margin-bottom:12px}.feature h3{font-size:15px;font-weight:650;margin-bottom:4px}.feature p{font-size:13px;color:var(--muted);line-height:1.6}.landing-foot{display:flex;justify-content:space-between;padding-top:24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.scene-sun{position:absolute;top:22px;right:26px;width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 35% 32%,#ffe6a8,#ffd166 70%);box-shadow:0 0 30px #ffd16673}.scene-cloud{position:absolute;background:#ffffffeb;border-radius:var(--r-pill);height:24px}.scene-cloud:before,.scene-cloud:after{content:"";position:absolute;background:inherit;border-radius:50%}.scene-cloud.c1{width:86px;top:54px;left:24px;animation:drift 30s linear infinite}.scene-cloud.c1:before{width:38px;height:38px;left:14px;top:-18px}.scene-cloud.c1:after{width:26px;height:26px;left:48px;top:-11px}.scene-cloud.c2{width:64px;top:96px;right:70px;opacity:.75;animation:drift 40s linear infinite reverse}.scene-cloud.c2:before{width:30px;height:30px;left:10px;top:-14px}@keyframes drift{0%{transform:translate(0)}to{transform:translate(40px)}}.scene-hill{position:absolute;left:-12%;right:-12%;bottom:-58px;height:190px;border-radius:50% 50% 0 0;background:linear-gradient(180deg,#cfecc0,#b9dfa6)}.scene-hill:after{content:"";position:absolute;left:14%;right:14%;top:30px;height:56px;border-radius:50%;background:#ffffff40}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.home-grid{display:grid;gap:18px;grid-template-columns:1fr;margin-bottom:26px}.pet-hero{padding:0;overflow:hidden;display:grid;grid-template-columns:1fr}.scene{position:relative;min-height:300px;overflow:hidden;background:linear-gradient(180deg,#fdf7ee,#f8eddc 58%,#f3e3cc 58.2%,#e8d3b6);border-bottom:1px solid var(--line)}.scene-window{position:absolute;left:8%;top:8%;width:34%;height:30%;border-radius:var(--r-md);background:linear-gradient(180deg,#d9edff,#eef8ff 62%,#e7f4d9);border:5px solid #fff;box-shadow:0 10px 24px #785a3c1a,inset 0 0 0 1px #00000008}.scene-window:before,.scene-window:after{content:"";position:absolute;background:#fff}.scene-window:before{left:50%;top:0;bottom:0;width:4px;margin-left:-2px}.scene-window:after{top:50%;left:0;right:0;height:4px;margin-top:-2px}.scene-rug{position:absolute;left:50%;bottom:5%;transform:translate(-50%);width:58%;height:11%;border-radius:50%;background:radial-gradient(ellipse at center,#f8dfc8,#eac9ab 72%);box-shadow:inset 0 0 0 1px #78503214}.scene-prop{position:absolute;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#8a6a4a;background:#fffaf2;border:1px solid #ecdcc8;box-shadow:0 4px 10px #785a3c14}.prop-bowl{left:10%;bottom:16%}.prop-ball{right:11%;bottom:13%}.prop-plant{right:9%;top:13%;width:38px;height:38px;border-radius:var(--r-md);color:#4f8f63}.scene-pet{position:absolute;left:0;right:0;bottom:9%;display:flex;justify-content:center;animation:bob 3.6s ease-in-out infinite;filter:drop-shadow(0 16px 20px rgba(60,40,20,.18))}.scene-plate{position:absolute;left:50%;bottom:12px;transform:translate(-50%);display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:var(--r-pill);background:#ffffffeb;border:1px solid var(--line);box-shadow:var(--shadow-sm);font-size:11.5px;white-space:nowrap}.scene-plate b{font-weight:650}.scene-plate span{color:var(--muted);font-size:10.5px}.scene-bubble{position:absolute;top:18px;left:50%;transform:translate(-50%);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);padding:7px 13px;font-size:12px;font-weight:550;color:var(--ink-2);box-shadow:var(--shadow-sm);white-space:nowrap;z-index:3;animation:popIn .2s ease both}.scene-bubble.small{top:8px;font-size:11.5px}@keyframes popIn{0%{opacity:0;transform:translate(-50%) translateY(4px) scale(.96)}}.scene-pop{position:absolute;left:50%;top:42%;color:var(--accent);animation:floatUp .9s ease forwards;pointer-events:none}@keyframes floatUp{0%{opacity:0;transform:translate(-50%,6px) scale(.8)}30%{opacity:1;transform:translate(-50%,-4px) scale(1.05)}to{opacity:0;transform:translate(-50%,-34px) scale(.9)}}.hero-body{position:relative;z-index:1;background:var(--surface);padding:20px;display:flex;flex-direction:column;gap:16px}.hero-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.hero-title h2{font-size:21px;font-weight:700;letter-spacing:-.02em;display:flex;align-items:center;gap:4px}.name-edit{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:var(--r-xs);color:var(--muted);border:1px solid transparent}.name-edit:hover{background:var(--surface-2);border-color:var(--line);color:var(--ink-2)}.rename-inline{display:flex;align-items:center;gap:6px;margin-bottom:4px}.rename-inline .input{width:160px;height:34px}.name-field{margin-top:2px}.hero-title p{font-size:12.5px;color:var(--muted);margin-top:3px;display:flex;align-items:center;gap:6px}.shiny-tag{font-style:normal;font-size:10.5px;font-weight:700;color:#a5721a;background:var(--gold-soft);padding:1px 7px;border-radius:var(--r-xs)}.needs{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.care-row{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.hero-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 8px;border-radius:var(--r-md);background:var(--surface-2)}.hero-meta>div{text-align:center}.hero-meta b{display:block;font-size:16px;font-weight:650;font-variant-numeric:tabular-nums}.hero-meta span{font-size:10.5px;color:var(--muted)}.care-btn{display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 4px 8px;border-radius:var(--r-md);border:1px solid var(--line);background:var(--surface);transition:background .15s,border-color .15s,transform .08s}.care-btn:hover:not(:disabled){background:var(--surface-2);border-color:var(--line-strong)}.care-btn:active:not(:disabled){transform:scale(.97)}.care-btn:disabled{opacity:.5}.care-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink)}.care-icon.is-empty{background:var(--surface-3);color:var(--muted)}.care-label{font-size:11.5px;font-weight:600}.care-count{font-size:10px;color:var(--muted)}.care-count.is-empty{color:#d14343}.home-side{display:flex;flex-direction:column;gap:18px}.task-list{display:flex;flex-direction:column;gap:14px}.task{display:grid;gap:5px;position:relative}.task.is-done{opacity:.55}.task-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.task-head b{font-size:13.5px;font-weight:600}.task-head span{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}.task p{font-size:11.5px;color:var(--muted)}.task-track{height:5px;border-radius:var(--r-pill);background:var(--surface-3);overflow:hidden}.task-track>div{height:100%;border-radius:var(--r-pill);background:var(--accent);transition:width .35s ease}.task .btn{justify-self:start;margin-top:2px}.supply-card{display:flex;align-items:center;justify-content:space-between;gap:12px}.supply-head{display:flex;align-items:center;gap:11px}.supply-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:var(--r-sm);background:var(--gold-soft);color:#b4740f}.supply-head b{font-size:13.5px;font-weight:650}.supply-head p{font-size:11.5px;color:var(--muted);margin-top:1px}.collect-track{height:6px;border-radius:var(--r-pill);background:var(--surface-3);overflow:hidden;margin-bottom:10px}.collect-track>div{height:100%;border-radius:var(--r-pill);background:linear-gradient(90deg,#ffb199,var(--accent))}.pets-strip{margin-bottom:8px}.strip-head{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}.strip-head h3{font-size:15px;font-weight:650}.strip-head span{font-size:12px;color:var(--muted)}.strip-scroll{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}.pet-chip{flex:0 0 auto;width:108px;padding:8px 6px 9px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:2px;transition:border-color .15s,box-shadow .15s}.pet-chip:hover{border-color:var(--line-strong)}.pet-chip.is-active{border-color:var(--accent);box-shadow:0 0 0 3px #ff5c391a}.pet-chip b{font-size:12px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-chip span{font-size:10px;color:var(--muted)}.pet-chip-add{justify-content:center;border-style:dashed;gap:4px;color:var(--muted)}.chip-plus{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--surface-2);color:var(--muted)}.mood-note{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-top:4px}.sheet-pet{display:flex;flex-direction:column;gap:16px}.sheet-scene{position:relative;display:grid;place-items:center;min-height:190px;border-radius:var(--r-lg);background:linear-gradient(180deg,#f3f9ff,#fbfdf7);border:1px solid var(--line)}.sheet-tags{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:14px 8px;border-radius:var(--r-md);background:var(--surface-2)}.info-grid>div{text-align:center}.info-grid b{display:block;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}.info-grid span{font-size:10.5px;color:var(--muted)}.talent{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--r-md);background:var(--gold-soft);color:#8a5f14}.talent b{font-size:12.5px}.talent p{font-size:11.5px;opacity:.85;margin-top:1px}.rename-row{display:flex;gap:8px}.rename-row .input{flex:1}.sheet-actions{display:flex;gap:8px}.sheet-actions .btn{flex:1}.tagline{font-size:12px;color:var(--muted);text-align:center;line-height:1.6}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);margin-bottom:18px}.toolbar-text{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-2);font-variant-numeric:tabular-nums}.offer-grid{display:grid;gap:14px;grid-template-columns:1fr}.offer{padding:0;overflow:hidden;display:grid;grid-template-columns:132px 1fr;gap:0;text-align:left;transition:box-shadow .18s,transform .1s}.offer:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.offer-art{position:relative;display:grid;place-items:center;padding:10px 0;background:var(--surface-2);border-right:1px solid var(--line)}.offer-art.tone-N{background:linear-gradient(180deg,#f6f7f9,#eef0f4)}.offer-art.tone-R{background:linear-gradient(180deg,#f2f8ff,#e6f0fb)}.offer-art.tone-SR{background:linear-gradient(180deg,#f7f2ff,#efe6fb)}.offer-art.tone-SSR{background:linear-gradient(180deg,#fff8e8,#fdecc8)}.shiny-badge{position:absolute;top:8px;left:8px;padding:2px 7px;border-radius:var(--r-xs);background:#ffffffeb;color:#a5721a;font-size:10px;font-weight:700;box-shadow:var(--shadow-sm)}.offer-body{padding:14px 16px;display:flex;flex-direction:column;gap:7px;min-width:0}.offer-title{display:flex;align-items:baseline;gap:8px}.offer-title h3{font-size:16px;font-weight:700}.offer-desc{font-size:12px;color:var(--muted);line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.offer-meta{display:flex;align-items:center;gap:6px}.offer-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.price{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:650;color:var(--accent-ink);font-variant-numeric:tabular-nums}.price.is-poor{color:var(--muted)}.link-text{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:600;color:var(--ink-2)}.note-card{margin-top:20px;padding:16px 18px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--line)}.note-card b{font-size:13px}.note-card ul{margin:8px 0 0;padding-left:18px;font-size:12.5px;color:var(--ink-2);line-height:1.9}.note-card p{font-size:12.5px;color:var(--ink-2);line-height:1.8;margin-top:6px}.preview{display:flex;flex-direction:column;gap:12px}.preview-art{display:grid;place-items:center;padding:10px;border-radius:var(--r-lg);background:linear-gradient(180deg,#f3f9ff,#fbfdf7);border:1px solid var(--line)}.preview-meta{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.preview-desc{font-size:12.5px;color:var(--ink-2);text-align:center;line-height:1.6}.preview-talent{font-size:12px;color:#8a5f14;background:var(--gold-soft);border-radius:var(--r-sm);padding:9px 12px;text-align:center}.dex-progress{margin-bottom:18px}.dex-progress-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.dex-progress-top b{font-size:24px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.dex-progress-top span{font-size:12.5px;color:var(--muted)}.dex-progress-side{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--ink-2);background:var(--surface-2);border-radius:var(--r-xs);padding:5px 9px}.dex-grid{display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.dex-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:10px;display:flex;flex-direction:column;gap:6px;text-align:left;transition:box-shadow .18s,transform .1s}.dex-card:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.dex-art{position:relative;display:grid;place-items:center;min-height:118px;border-radius:var(--r-md);background:linear-gradient(180deg,#f7f9fc,#f2f5f9)}.dex-card.is-locked .dex-art .pet-art>svg,.dex-card.is-locked .dex-art .pet-art>img{filter:grayscale(1) opacity(.3) brightness(1.05)}.dex-lock{position:absolute;font-size:22px;font-weight:700;color:var(--muted);opacity:.7}.dex-info{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.dex-card .element{align-self:flex-start}.dex-info b{font-size:13px;font-weight:600}.dex-info span{font-size:10.5px;color:var(--muted)}.owned-list{display:flex;flex-direction:column;gap:8px}.owned-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--r-md);background:var(--surface-2)}.owned-row div{flex:1}.owned-row b{display:block;font-size:13px;font-weight:600}.owned-row span{font-size:11px;color:var(--muted)}.gacha{position:relative;display:grid;gap:8px;border-radius:var(--r-xl);padding:26px;background:linear-gradient(120deg,#fff5f0,#fdf6ff 55%,#f2f6ff);border:1px solid #f2e6e0;margin-bottom:26px;overflow:hidden}.gacha-copy h2{font-size:24px;font-weight:700;letter-spacing:-.025em;margin-bottom:8px}.gacha-copy>p{font-size:13px;color:var(--ink-2);max-width:340px;line-height:1.65}.gacha-odds{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 18px}.gacha-odds span{font-size:11px;font-weight:600;color:var(--ink-2);background:#ffffffb3;border:1px solid rgba(255,255,255,.9);border-radius:var(--r-xs);padding:3px 8px}.gacha-art{display:flex;align-items:flex-end;justify-content:center;gap:2px}.item-grid{display:grid;gap:12px;grid-template-columns:1fr;margin-bottom:22px}.item{display:flex;align-items:center;gap:12px;padding:14px 16px}.item-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--r-sm);background:var(--surface-2);color:var(--ink-2);flex:0 0 auto}.item-info{flex:1;min-width:0}.item-info b{font-size:13.5px;font-weight:600}.item-info p{font-size:11.5px;color:var(--muted);margin:1px 0 2px}.item-info span{font-size:10.5px;color:var(--muted)}.mail-list{display:flex;flex-direction:column;gap:8px;max-width:780px}.mail-row{display:flex;gap:12px;padding:14px 16px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);text-align:left;transition:border-color .15s,box-shadow .15s}.mail-row:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.mail-row.is-unread{border-color:#ffd9cc;background:#fffaf7}.mail-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--r-sm);background:var(--surface-2);color:var(--ink-2);flex:0 0 auto}.mail-main{flex:1;min-width:0}.mail-title{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.mail-title b{font-size:13.5px;font-weight:600}.mail-title span{font-size:10.5px;color:var(--muted);white-space:nowrap}.mail-main>p{font-size:12px;color:var(--muted);margin:3px 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.dot{width:6px;height:6px;border-radius:50%;background:var(--accent);margin-left:auto}.mail-body{font-size:14px;line-height:1.9;color:var(--ink-2);white-space:pre-wrap;padding:2px 0 14px}.attach-box{padding:13px;border-radius:var(--r-md);background:var(--surface-2);margin-bottom:14px}.attach-box>b{font-size:11.5px;color:var(--muted)}.attach-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.attach-item{display:inline-flex;align-items:center;gap:5px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xs);padding:5px 9px;font-size:11.5px}.attach-item b{color:var(--accent-ink)}.mail-expire{font-size:11px;color:var(--muted);text-align:center;margin-top:10px}.profile{display:flex;align-items:center;gap:16px;margin-bottom:18px}.profile-avatar{width:92px;height:92px;border-radius:var(--r-xl);background:linear-gradient(180deg,#f3f9ff,#fbfdf7);border:1px solid var(--line);display:grid;place-items:center;flex:0 0 auto;color:var(--muted)}.profile-main{min-width:0}.profile-main h1{font-size:24px;font-weight:700;letter-spacing:-.025em}.profile-main>p{font-size:12px;color:var(--muted);margin-top:2px;word-break:break-all}.profile-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.profile-chips span{font-size:11px;font-weight:600;color:var(--ink-2);background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-xs);padding:2px 8px}.bind,.account{margin-bottom:18px}.bind-head{display:flex;gap:12px;margin-bottom:16px}.bind-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--r-sm);background:var(--accent-soft);color:var(--accent-ink);flex:0 0 auto}.bind-head b{font-size:14px;font-weight:650}.bind-head p{font-size:12.5px;color:var(--muted);margin-top:3px;line-height:1.6}.account-row{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.account-row:last-of-type{border-bottom:none}.account-row span{color:var(--muted)}.account-row b{font-weight:600;word-break:break-all;text-align:right}.hint{font-size:11.5px;color:var(--muted);margin-top:10px;line-height:1.6}.account-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.mail-status{font-size:11.5px;color:var(--muted)}.board{display:flex;flex-direction:column}.board-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.board-row:last-child{border-bottom:none}.board-rank{width:20px;height:20px;border-radius:var(--r-xs);display:grid;place-items:center;font-size:11px;font-weight:650;background:var(--surface-2);color:var(--muted);flex:0 0 auto}.board-rank.is-first{background:var(--gold-soft);color:#b4740f}.board-row b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.board-row span{font-size:11px;color:var(--muted)}.board-row em{font-style:normal;font-weight:650;color:var(--accent-ink);font-size:12.5px;font-variant-numeric:tabular-nums}.list{padding:6px;margin-bottom:18px}.list-row{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:var(--r-sm);width:100%;text-align:left}.list-row:hover{background:var(--surface-2)}.list-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--r-xs);background:var(--surface-2);color:var(--ink-2);flex:0 0 auto}.list-row div{flex:1;min-width:0}.list-row b{display:block;font-size:13.5px;font-weight:600}.list-row p{font-size:11.5px;color:var(--muted)}.list-row>svg{color:var(--muted);flex:0 0 auto}.about{margin-bottom:20px}.credits{margin-bottom:20px;padding:16px 20px}.credits summary{font-size:13px;font-weight:600;color:var(--ink-2);cursor:pointer}.credits p{font-size:12px;color:var(--muted);margin:10px 0 6px}.credits ul{margin:0;padding-left:18px;font-size:11.5px;color:var(--muted);line-height:1.8}.credits a{color:var(--accent-ink);text-decoration:underline}.about b{font-size:13.5px;font-weight:650}.about p{font-size:12.5px;color:var(--ink-2);line-height:1.75;margin-top:6px}.logout{color:#c43d3d;margin-bottom:12px}.version{text-align:center;font-size:11px;color:var(--muted)}.auth-form{display:flex;flex-direction:column}.seg{display:flex;gap:3px;padding:3px;background:var(--surface-2);border-radius:var(--r-sm);margin-bottom:14px}.seg button{flex:1;height:32px;border-radius:var(--r-xs);font-size:12.5px;font-weight:600;color:var(--muted)}.seg button.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.code-btn{flex:0 0 auto;min-width:100px}.row-inline{display:flex;gap:8px}.row-inline .input{flex:1}.auth-links{display:flex;justify-content:center;gap:18px;margin-top:14px;flex-wrap:wrap}.auth-links button{font-size:12.5px;font-weight:600;color:var(--accent-ink)}.dev-mail-hint{display:flex;align-items:center;gap:6px;font-size:12px;color:#8a5f14;background:var(--gold-soft);border-radius:var(--r-xs);padding:9px 11px;margin-bottom:14px;line-height:1.5}.dev-code-note{font-size:12px;font-weight:600;color:#118a52;background:var(--green-soft);border-radius:var(--r-xs);padding:8px 11px;margin-bottom:12px}.pet-art{position:relative;display:inline-block;flex:0 0 auto;line-height:0}.pet-art:before{content:"";position:absolute;left:20%;right:20%;bottom:0;height:6%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(40,30,20,.16),transparent 70%);z-index:0}.pet-art>svg,.pet-art>img{position:relative;z-index:1;width:100%;height:100%;display:block;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;transform-origin:50% 88%;transition:filter .25s ease;filter:var(--pet-filter, none)}.pet-art.is-pixel>svg{image-rendering:pixelated}.pet-art.is-photo{padding:4%;background:#fff;border-radius:22%;box-shadow:0 10px 26px #19192829;overflow:hidden}.pet-art.is-photo:before{display:none}.pet-art.is-photo>img{border-radius:16%;object-fit:cover;object-position:center 35%}.pet-art.is-anim{animation:bob 3.8s ease-in-out infinite;will-change:transform}.pet-shine{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 22% 18%,rgba(255,244,190,.95) 0 2px,transparent 3px),radial-gradient(circle at 78% 26%,rgba(255,244,190,.9) 0 1.5px,transparent 2.5px),radial-gradient(circle at 30% 78%,rgba(255,244,190,.8) 0 1.5px,transparent 2.5px),radial-gradient(circle at 70% 72%,rgba(255,244,190,.85) 0 2px,transparent 3px);animation:twinkle 2s ease-in-out infinite alternate}@keyframes twinkle{0%{opacity:.35}to{opacity:1}}.pop-feed,.pop-snack{animation:nom .6s ease}@keyframes nom{0%,to{transform:scale(1)}40%{transform:scale(1.08,.94)}}.pop-play{animation:hop .7s ease}@keyframes hop{0%,to{transform:translateY(0)}40%{transform:translateY(-10px)}}.pop-wash{animation:shake .7s ease}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-3px)}75%{transform:translate(3px)}}.pop-pet{animation:lean .7s ease}@keyframes lean{0%,to{transform:translateY(0) rotate(0)}40%{transform:translateY(-3px) rotate(-2deg)}}@media(max-width:720px){.input,select.input,textarea,.otp-input{font-size:16px}.icon-btn{width:44px;height:44px}.btn-sm{height:44px;padding:0 15px}.btn-xs{position:relative;height:36px;padding:0 12px;font-size:12px}.btn-xs:after{content:"";position:absolute;inset:-4px 0}.chip-plus,.gift-tab,.gift-kind,.link-btn{min-height:44px}.sheet-grip{position:relative;width:44px;height:5px}.sheet-grip:before{content:"";position:absolute;inset:-16px -20px -10px}.tabbar{padding-left:6px;padding-right:6px}.tabbar-item{gap:3px;min-width:0;min-height:48px;padding:6px 0;font-size:11px;transition:transform .08s}.tabbar-item:active{transform:scale(.88)}}@media(hover:none){.btn:active:not(:disabled){transform:scale(.96)}.care-btn:active:not(:disabled){transform:scale(.94)}.chip-plus:active,.gift-tab:active,.gift-kind:active,.link-btn:active{transform:scale(.95)}.icon-btn:active{background:var(--surface-3)}}@media(orientation:landscape){.shell{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}}@media(min-width:720px){.shell{padding:0 32px}.app{padding-bottom:0}.tabbar{display:none}.topnav{display:flex}.main{padding:34px 0 60px}.page-head h1{font-size:32px}.home-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);gap:20px}.pet-hero{grid-template-columns:1.02fr 1fr}.scene{min-height:100%;border-bottom:none;border-right:1px solid var(--line)}.hero-body{padding:24px;justify-content:center}.scene-pet .pet-art{width:210px!important;height:210px!important}.hero-copy h1{font-size:52px}.hero{grid-template-columns:1.05fr .95fr;gap:56px;padding:48px 0 72px}.hero-visual{order:0}.hero-scene{height:400px}.features{grid-template-columns:repeat(3,1fr)}.offer-grid{grid-template-columns:repeat(2,1fr)}.dex-grid{grid-template-columns:repeat(4,1fr)}.item-grid{grid-template-columns:repeat(2,1fr)}.gacha{grid-template-columns:1.4fr .6fr;padding:34px 38px;align-items:center}.sheet-backdrop{align-items:center;padding:24px}.sheet{border-radius:var(--r-xl);padding:14px 24px 26px;max-height:86dvh}.toast-stack{bottom:28px}.needs{grid-template-columns:1fr 1fr}}@media(min-width:1024px){.dex-grid{grid-template-columns:repeat(5,1fr)}.hero-copy h1{font-size:58px}}@media(min-width:1200px){.shell{max-width:1560px;padding:0 36px}.main{padding:30px 0 48px}.home-grid{grid-template-columns:minmax(0,1.8fr) minmax(380px,.82fr);gap:24px}.scene{min-height:clamp(360px,calc(100dvh - 380px),540px)}.scene-pet .pet-art{width:240px!important;height:240px!important}.offer-grid,.item-grid{grid-template-columns:repeat(3,1fr)}.dex-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.landing{max-width:1400px}.hero-copy h1{font-size:62px}.hero-scene{height:440px}}@media(min-width:1600px){.shell{max-width:1800px;padding:0 44px}.home-grid{grid-template-columns:minmax(0,1.95fr) minmax(400px,.8fr)}.scene{min-height:clamp(400px,calc(100dvh - 400px),580px)}.scene-pet .pet-art{width:270px!important;height:270px!important}.landing{max-width:1520px}.hero{gap:72px;padding:56px 0 80px}.hero-copy h1{font-size:68px}}@media(max-width:380px){.brand-text{display:none}.hero-copy h1{font-size:34px}.care-row{gap:5px}.care-label{font-size:10.5px}.wallet-chip{padding:0 7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}@media(orientation:landscape)and (max-height:560px){.tabbar{display:none!important}.topnav{display:flex!important}.app{padding-bottom:0}.shell{padding:0 18px}.topbar-inner{height:46px;gap:10px}.brand-text{display:none}.topnav-item{height:28px;padding:0 9px;font-size:12px}.wallet-chip{height:26px;font-size:11.5px;padding:0 7px}.icon-btn{width:30px;height:30px}.main{padding:10px 0 22px}.page-head{margin-bottom:10px}.page-head h1{font-size:21px}.eyebrow{margin-bottom:2px}.lede{display:none}.home-grid{grid-template-columns:minmax(0,1.55fr) minmax(240px,.85fr);gap:12px;margin-bottom:14px;align-items:start}.pet-hero{grid-template-columns:.85fr 1fr;align-items:start}.scene{height:205px;min-height:0;border-bottom:none;border-right:1px solid var(--line)}.toast-stack{bottom:12px}.scene-pet .pet-art{width:150px!important;height:150px!important}.scene-plate{bottom:6px;padding:3px 9px}.hero-body{padding:12px 14px;gap:9px}.hero-title h2{font-size:17px}.needs{gap:5px 12px}.care-btn{padding:5px 2px 4px;gap:3px}.care-icon{width:26px;height:26px}.care-label{font-size:10.5px}.care-count{font-size:9px}.home-side{gap:10px}.card{padding:12px 14px;border-radius:var(--r-lg)}.section-title{margin-bottom:8px}.task-list{gap:8px}.pets-strip{margin-top:4px}.pet-chip{width:86px;padding:5px}.pet-chip .pet-art{width:52px!important;height:52px!important}.strip-head{margin-bottom:6px}.offer-grid{grid-template-columns:repeat(2,1fr);gap:10px}.offer{grid-template-columns:96px 1fr}.offer-art{padding:6px 0}.offer-art .pet-art{width:84px!important;height:84px!important}.offer-body{padding:9px 11px;gap:4px}.offer-desc{-webkit-line-clamp:1}.toolbar{margin-bottom:10px;padding:8px 12px}.dex-grid{grid-template-columns:repeat(5,1fr);gap:8px}.dex-art{min-height:84px}.item-grid{grid-template-columns:repeat(2,1fr);gap:8px}.gacha{padding:18px 22px;margin-bottom:14px}.gacha-copy h2{font-size:19px}.gacha-odds{margin:8px 0 10px}.profile-avatar{width:64px;height:64px}.profile-avatar .pet-art{width:56px!important;height:56px!important}.landing{padding-bottom:24px}.landing-nav{height:48px}.hero{grid-template-columns:1.1fr .9fr;gap:28px;padding:6px 0 24px}.hero-copy h1{font-size:34px;margin-bottom:8px}.hero-lede{font-size:12.5px;line-height:1.7;margin-bottom:14px}.hero-actions .btn{height:40px;font-size:13.5px}.hero-note{margin-top:8px;font-size:11.5px}.hero-scene{height:200px}.hero-pet.a .pet-art{width:128px!important;height:128px!important}.hero-pet.b .pet-art{width:96px!important;height:96px!important}.hero-pet.c .pet-art{width:88px!important;height:88px!important}.features{grid-template-columns:repeat(3,1fr);gap:10px;padding-bottom:20px}.feature{padding:12px 14px}.feature-icon{width:28px;height:28px;margin-bottom:8px}.sheet{max-height:96dvh;padding:8px 18px 16px}.sheet-pet{gap:10px}.sheet-scene{min-height:120px}.sheet-scene .pet-art{width:128px!important;height:128px!important}.info-grid{padding:8px 6px}.care-row{gap:5px}.mail-list{max-width:none}}@media(orientation:landscape)and (max-height:560px)and (max-width:760px){.home-grid{grid-template-columns:1fr}.home-side{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:start}.home-side .card{height:100%}.pets-strip{display:none}}@media(orientation:landscape)and (max-height:430px){.scene{min-height:168px}.scene-pet .pet-art{width:126px!important;height:126px!important}.hero-title p,.section-title p,.pets-strip{display:none}}.gallery{max-width:1100px;margin:0 auto;padding:32px 24px 80px}.gallery h1{font-size:26px;margin-bottom:6px}.gallery-row{display:flex;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.gallery-label{width:110px;flex:0 0 auto}.gallery-label b{display:block;font-size:14px}.gallery-label span{font-size:11px;color:var(--muted)}.gallery-items{display:flex;gap:10px;flex-wrap:wrap}.gallery-item{background:#f2f6fb;border-radius:var(--r-lg);padding:4px;display:grid;place-items:center}.gallery-item.dark{background:#232833}@media(max-width:720px){.gallery-row{flex-direction:column;align-items:flex-start;gap:8px}}.bt{display:flex;flex-direction:column;gap:12px;width:100%;max-width:940px;margin:0 auto;min-height:calc(100vh - 210px);justify-content:center;padding:8px 0 24px}.bt-loading{padding:40px 0;text-align:center;color:var(--muted);font-size:13px}.bt-stage{position:relative;height:302px;border-radius:var(--r-2xl);overflow:hidden;background:linear-gradient(180deg,#d9edfb,#e8f4f1 58%,#e6f2d9 58.2%,#dcf0c9);border:1px solid rgba(23,26,32,.06);isolation:isolate}.bt-sun{position:absolute;top:26px;right:34px;width:56px;height:56px;border-radius:50%;background:#ffe0a8;box-shadow:0 0 0 14px #ffe0a847,0 0 44px 8px #ffd28c80}.bt-cloud{position:absolute;height:20px;border-radius:var(--r-pill);background:#fff;opacity:.82}.bt-cloud.is-a{width:76px;top:44px;left:18%}.bt-cloud.is-b{width:54px;top:78px;left:58%;opacity:.66}.bt-hill{position:absolute;border-radius:50% 50% 0 0/100% 100% 0 0}.bt-hill.is-back{width:82%;height:132px;left:-16%;bottom:-44px;background:#e9f5d9}.bt-hill.is-front{width:64%;height:112px;right:-14%;bottom:-34px;background:#d8ecc2}.bt-stage:after{content:"";position:absolute;left:0;right:0;top:58%;height:1px;background:#7a985c2e}.bt-top{position:absolute;top:14px;left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;z-index:4}.bt-chip{font-size:11.5px;font-weight:600;letter-spacing:.02em;color:#2f4f57;background:#ffffffc7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:var(--r-pill);padding:4px 11px}.bt-quit{font-size:11.5px;font-weight:600;color:#4a5160;background:#ffffffc7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:var(--r-pill);padding:4px 11px}.bt-quit:hover{background:#fff;color:var(--ink)}.bt-fighter{position:absolute;bottom:18px;display:flex;flex-direction:column;align-items:center;gap:5px;width:150px;z-index:3}.bt-fighter.is-you{left:11%}.bt-fighter.is-foe{right:11%}.bt-hp-pill{display:flex;align-items:center;gap:8px;padding:3px 10px;border-radius:var(--r-pill);background:#ffffffe6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:11.5px;font-weight:600;color:#333a45;box-shadow:0 2px 6px #171a2014;white-space:nowrap}.bt-hp-pill b{font-variant-numeric:tabular-nums;color:var(--ink)}.bt-hp{display:block;width:108px;height:6px;border-radius:var(--r-pill);background:#ffffffb8;overflow:hidden;box-shadow:inset 0 0 0 1px #171a200d}.bt-hp i{display:block;height:100%;border-radius:var(--r-pill);background:linear-gradient(90deg,#4cc184,#17a45f);transition:width .32s cubic-bezier(.22,1,.36,1)}.bt-hp.is-foe i{background:linear-gradient(90deg,#f6bc5c,#e0952a)}.bt-art{position:relative;z-index:1;width:124px;height:124px;border-radius:50%;overflow:hidden;border:4px solid rgba(255,255,255,.95);box-shadow:0 14px 26px -10px #171a206b;animation:bt-bob 3.4s ease-in-out infinite}.bt-fighter:after{content:"";position:absolute;bottom:-2px;width:96px;height:15px;border-radius:50%;background:#4a68342e;filter:blur(3px);z-index:0}.bt-fighter.is-foe .bt-art{width:112px;height:112px;animation-delay:1.5s}.bt-fighter.is-hit .bt-art{animation:bt-hit .32s ease-in-out}@keyframes bt-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes bt-hit{0%,to{transform:translate(0);filter:none}30%{transform:translate(-5px);filter:brightness(1.12) saturate(.8)}60%{transform:translate(4px)}}.bt-fx{position:absolute;bottom:168px;font-size:24px;font-weight:800;letter-spacing:-.02em;z-index:5;pointer-events:none;animation:bt-float .9s cubic-bezier(.22,1,.36,1) forwards;text-shadow:0 2px 0 rgba(255,255,255,.85)}.bt-fx.is-you{left:15%}.bt-fx.is-foe{right:15%}.bt-fx.tone-bad{color:#e0452b}.bt-fx.tone-good{color:#12a264}@keyframes bt-float{0%{opacity:0;transform:translateY(8px) scale(.86)}25%{opacity:1;transform:translateY(0) scale(1.06)}to{opacity:0;transform:translateY(-34px) scale(1)}}.bt-stamp{position:absolute;top:50%;left:50%;width:104px;height:104px;margin:-52px 0 0 -52px;border-radius:var(--r-lg);border:3px solid currentColor;display:grid;place-items:center;font-size:44px;font-weight:800;color:#d85a30d9;transform:rotate(-11deg);z-index:6;animation:bt-stamp .4s cubic-bezier(.34,1.56,.64,1)}@keyframes bt-stamp{0%{opacity:0;transform:rotate(-11deg) scale(1.8)}to{opacity:1;transform:rotate(-11deg) scale(1)}}.bt-log{min-height:52px;padding:9px 16px;border-radius:var(--r-lg);background:var(--surface-2);border:1px solid var(--line);display:flex;flex-direction:column;gap:2px;justify-content:center;max-width:720px;margin:0 auto;width:100%}.bt-log p{font-size:12.5px;line-height:1.5;color:var(--muted)}.bt-log p.is-fresh{color:var(--ink);font-weight:500}.bt-log em{font-style:normal;font-size:11.5px;color:var(--accent-ink)}.bt-desk{display:flex;align-items:flex-end;justify-content:center;gap:14px;padding:4px 0 0;width:100%}.bt-orb{flex:0 0 auto;width:62px;height:62px;border-radius:50%;margin-bottom:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:radial-gradient(circle at 32% 26%,#ff8b6b,#f2542d 62%,#d8441f);box-shadow:0 8px 18px -8px #d8441fd9,inset 0 0 0 2px #ffffff47;color:#fff}.bt-orb b{font-size:22px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.bt-orb span{font-size:11px;opacity:.9}.bt-hand{flex:0 1 auto;min-width:0;display:flex;align-items:flex-end;justify-content:center;padding:22px 0 6px;min-height:186px}.bt-card{position:relative;flex:0 0 auto;width:112px;height:164px;margin:0 -4px;padding:32px 11px 11px;border-radius:var(--r-lg);border:1px solid var(--line-strong);background:#fff;text-align:left;display:flex;flex-direction:column;gap:3px;transform-origin:bottom center;transform:rotate(var(--rot)) translateY(var(--ty));transition:transform .18s cubic-bezier(.22,1,.36,1),box-shadow .18s ease,border-color .18s ease;box-shadow:0 8px 18px -10px #171a2066,0 2px 4px #171a200f}.bt-card:before{content:"";position:absolute;inset:0 0 auto;height:58px;opacity:.85;border-radius:var(--r-lg) var(--r-lg) 0 0;background:linear-gradient(180deg,#fff1ec,#fff0);pointer-events:none}.bt-card.kind-guard:before{background:linear-gradient(180deg,var(--blue-soft),rgba(255,255,255,0))}.bt-card.kind-heal:before{background:linear-gradient(180deg,var(--green-soft),rgba(255,255,255,0))}.bt-card:hover:not(:disabled){transform:rotate(0) translateY(-18px) scale(1.06);box-shadow:0 22px 34px -14px #171a2080,0 3px 8px #171a2014;border-color:var(--accent);z-index:40}.bt-card:active:not(:disabled){transform:rotate(0) translateY(-10px) scale(1.01)}.bt-card.is-off{opacity:.46;filter:grayscale(.55);cursor:not-allowed}.bt-cost{position:absolute;top:-6px;left:-6px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:800;color:#fff;background:linear-gradient(160deg,#ff7a56,#e94a22);border:2px solid #fff;box-shadow:0 4px 10px -3px #d8441fb3;z-index:2}.bt-card.kind-guard .bt-cost{background:linear-gradient(160deg,#5aa6ee,#2f7fd6);box-shadow:0 4px 10px -3px #2f7fd699}.bt-card.kind-heal .bt-cost{background:linear-gradient(160deg,#45c98c,#12a264);box-shadow:0 4px 10px -3px #12a2648c}.bt-dot{position:absolute;top:9px;right:9px;width:8px;height:8px;border-radius:50%;z-index:2}.bt-dot.is-water{background:#3f9fda}.bt-dot.is-fire{background:#ef6b4a}.bt-dot.is-grass{background:#4fae74}.bt-dot.is-light{background:#e0a428}.bt-dot.is-dark{background:#8267c9}.bt-card b{position:relative;font-size:13.5px;font-weight:700;color:var(--ink);letter-spacing:-.01em;z-index:1}.bt-card em{position:relative;font-style:normal;font-size:11.5px;font-weight:700;color:var(--accent-ink);z-index:1}.bt-card.kind-guard em{color:#1c6cbe}.bt-card.kind-heal em{color:#0d8b57}.bt-card p{position:relative;margin-top:auto;font-size:11.5px;line-height:1.45;color:var(--muted);z-index:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.bt-pass{align-self:center;padding:10px 20px;border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line-strong);font-size:12.5px;font-weight:600;color:var(--ink-2)}.bt-pass:hover{border-color:var(--accent);color:var(--accent-ink)}.bt-hint{text-align:center;font-size:11.5px;color:var(--muted)}.bt-result{display:flex;flex-direction:column;gap:16px}.bt-rewards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bt-rewards div{background:var(--surface-2);border-radius:var(--r-lg);padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:3px}.bt-rewards span{font-size:11px;color:var(--muted)}.bt-rewards b{font-size:18px;font-weight:800;color:var(--accent);font-variant-numeric:tabular-nums}.bt-list{display:flex;flex-direction:column;gap:16px}.bt-stamina{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line)}.bt-stamina-label{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--ink-2);white-space:nowrap}.bt-stamina-track{flex:1;height:6px;border-radius:var(--r-pill);background:var(--surface-3);overflow:hidden}.bt-stamina-track i{display:block;height:100%;border-radius:var(--r-pill);background:linear-gradient(90deg,#f7bb62,#e8952b)}.bt-stamina-hint{font-size:11px;color:var(--muted);white-space:nowrap}.bt-stages{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px}.bt-stage-card{position:relative;overflow:hidden;text-align:left;padding:14px 14px 12px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:3px;min-height:104px;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.bt-stage-card:after{content:"";position:absolute;top:-26px;right:-26px;width:78px;height:78px;border-radius:50%;background:var(--surface-3);opacity:.6}.bt-stage-card.is-water:after{background:#dff1fd}.bt-stage-card.is-fire:after{background:#ffe6de}.bt-stage-card.is-grass:after{background:#e2f6e8}.bt-stage-card.is-light:after{background:#fff3d6}.bt-stage-card.is-dark:after{background:#eee8fb}.bt-stage-card:hover:not(:disabled){transform:translateY(-2px);border-color:var(--accent);box-shadow:var(--shadow)}.bt-stage-no{position:absolute;top:6px;right:12px;font-size:34px;font-weight:800;line-height:1;color:#171a201a;font-variant-numeric:tabular-nums;z-index:1}.bt-stage-card b{font-size:14px;font-weight:700;color:var(--ink)}.bt-stage-card p{font-size:11.5px;line-height:1.5;color:var(--muted);max-width:88%}.bt-stage-mark{position:absolute;left:14px;bottom:11px;font-size:10.5px;font-weight:700;letter-spacing:.02em;color:var(--accent-ink)}.bt-stage-card.is-cleared{border-color:#cfe9d8;background:linear-gradient(180deg,var(--green-soft),var(--surface) 64%)}.bt-stage-card.is-cleared .bt-stage-mark{color:var(--green)}.bt-stage-card.is-locked{opacity:.55;cursor:not-allowed}.bt-stage-card.is-locked b,.bt-stage-card.is-locked .bt-stage-no{color:var(--muted)}.bt-who{padding:14px 16px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:4px}.bt-who>b{font-size:13px}.bt-who .muted{font-size:11.5px}.bt-who-row{display:flex;gap:8px;overflow-x:auto;padding:8px 0 2px}.bt-who-item{flex:0 0 auto;width:80px;padding:8px 4px 9px;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--surface-2);display:flex;flex-direction:column;align-items:center;gap:2px;transition:border-color .14s ease,background .14s ease}.bt-who-item span{font-size:11.5px;font-weight:600;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bt-who-item em{font-style:normal;font-size:10.5px;color:var(--muted)}.bt-who-item.is-active{border-color:var(--accent);background:var(--accent-soft)}.bt-confirm{display:flex;flex-direction:column;align-items:center;gap:6px}.bt-confirm-art{width:112px;height:112px;border-radius:50%;overflow:hidden;border:4px solid #fff;box-shadow:0 14px 26px -12px #171a2073;margin-bottom:4px}.bt-confirm>b{font-size:15px}.bt-confirm .muted{font-size:11.5px}.bt-confirm-rows{width:100%;display:flex;flex-direction:column;gap:6px;margin:8px 0 4px}.bt-confirm-rows div{display:flex;gap:10px;background:var(--surface-2);border-radius:var(--r-md);padding:9px 12px}.bt-confirm-rows dt{flex:0 0 auto;font-size:11.5px;font-weight:700;color:var(--accent-ink)}.bt-confirm-rows dd{font-size:11.5px;color:var(--ink-2);line-height:1.5}@media(max-width:720px){.bt-stage{height:250px;border-radius:var(--r-xl)}.bt-fighter.is-you{left:6%}.bt-fighter.is-foe{right:6%}.bt-art{width:96px;height:96px;border-width:3px}.bt-fighter.is-foe .bt-art{width:88px;height:88px}.bt-hp{width:86px}.bt-sun{width:40px;height:40px;top:20px;right:22px}.bt-fx{bottom:132px;font-size:20px}.bt-desk{align-items:center;gap:8px}.bt-orb{width:52px;height:52px;margin-bottom:0}.bt-hand{justify-content:flex-start;overflow-x:auto;min-height:0;padding:10px 2px 12px;scrollbar-width:none}.bt-hand::-webkit-scrollbar{display:none}.bt-card{width:104px;height:102px;margin:0 5px 0 0;transform:none;padding:27px 10px 10px}.bt-card p{display:none}.bt-vs{top:36%;width:42px;height:42px;font-size:12px}.bt-card:hover:not(:disabled){transform:translateY(-6px)}.bt-stages{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}.bt-stage-card{min-height:96px;padding:12px 12px 10px}.bt-stage-no{font-size:28px}}.bt-vs{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:800;letter-spacing:.06em;color:#c84e28d1;background:#ffffffb3;border:1px solid rgba(216,90,48,.22);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2}@supports (corner-shape: squircle){:where(.brand-mark,.topnav-item,.icon-btn,.badge,.wallet-chip,.tabbar-item,.btn,.btn-sm,.btn-xs,.btn-lg,.chip,.input,.sheet,.sheet-grip,.toast,.statbar-track,.statbar-fill,.element,.hero-scene,.feature-icon,.scene-cloud,.scene-window,.prop-plant,.scene-plate,.scene-bubble,.name-edit,.shiny-tag,.hero-meta,.care-btn,.task-track,.task-track>div,.supply-icon,.collect-track,.collect-track>div,.pet-chip,.sheet-scene,.info-grid,.talent,.toolbar,.shiny-badge,.note-card,.preview-art,.preview-talent,.dex-progress-side,.dex-card,.dex-art,.owned-row,.gacha,.gacha-odds span,.item-icon,.mail-row,.mail-icon,.attach-box,.attach-item,.profile-avatar,.profile-chips span,.bind-icon,.board-rank,.list-row,.list-icon,.seg,.seg button,.dev-mail-hint,.dev-code-note,.card,.gallery-item,.bt-stage,.bt-cloud,.bt-chip,.bt-quit,.bt-hp-pill,.bt-hp,.bt-hp i,.bt-stamp,.bt-log,.bt-card,.bt-card:before,.bt-pass,.bt-rewards div,.bt-stamina,.bt-stamina-track,.bt-stamina-track i,.bt-stage-card,.bt-who,.bt-who-item,.bt-confirm-rows div,.gate-card,.gate-logo,.otp,.otp-cell){corner-shape:squircle}}.gate{min-height:100vh;display:grid;place-items:center;padding:30px 18px;background:radial-gradient(120% 70% at 50% 0%,var(--accent-soft) 0%,rgba(255,241,236,0) 56%),var(--bg)}.gate-card{width:min(430px,100%);padding:22px 22px 20px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-2xl);box-shadow:var(--shadow)}.gate-brand{display:flex;align-items:center;gap:9px}.gate-logo{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:var(--accent);color:#fff;font-size:15px;font-weight:700;line-height:1}.gate-brand-name{font-size:13px;font-weight:600;color:var(--ink)}.gate-tag{margin-left:auto;padding:4px 10px;border-radius:var(--r-pill);background:var(--accent-soft);color:var(--accent-ink);font-size:10.5px;letter-spacing:.04em}.gate-head{padding-top:20px}.gate-card h1{margin:0;font-size:22px;line-height:1.35;letter-spacing:-.01em}.gate-lede{margin:7px 0 0;font-size:13px;line-height:1.75;color:var(--ink-2)}.gate-lede b{margin:0 2px;color:var(--ink);word-break:break-all}.gate-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:14px}.gate-actions .link-btn{font-size:12px;font-weight:500;color:var(--ink-2)}.gate-actions .link-btn:last-child{color:var(--muted)}.gate-actions .link-btn:hover:not(:disabled){color:var(--accent-ink)}.gate-actions .link-btn:disabled{color:var(--muted);opacity:.75}.gate-note{margin:13px 0 0;font-size:11.5px;line-height:1.65;color:var(--muted)}.code-form{display:flex;flex-direction:column;gap:14px;margin:18px 0 0}.otp{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;cursor:text}.otp-cell{height:56px;display:grid;place-items:center;font-size:23px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);background:var(--surface-2);border:1px solid var(--line-strong);border-radius:var(--r-lg);transition:background .14s ease,border-color .14s ease,box-shadow .14s ease}.otp-cell.is-filled{background:var(--surface)}.otp-cell.is-active{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.otp-caret{width:2px;height:22px;border-radius:1px;background:var(--accent);animation:otp-blink 1.1s steps(1) infinite}@keyframes otp-blink{50%{opacity:0}}.otp-error{animation:gate-shake .34s ease}@keyframes gate-shake{0%,to{transform:none}25%{transform:translate(-4px)}60%{transform:translate(4px)}85%{transform:translate(-2px)}}.otp-input{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;opacity:0;background:transparent;color:transparent;caret-color:transparent}.gate-error{display:flex;align-items:flex-start;gap:7px;margin:12px 0 0;padding:9px 11px;font-size:12px;line-height:1.55;color:#b83c1c;background:var(--accent-soft);border-radius:var(--r-sm)}.gate-error svg{flex:none;margin-top:2px}.gate-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.gate-facts div{padding:9px 4px 10px;text-align:center;background:var(--surface-2);border-radius:var(--r-md)}.gate-facts span{display:block;font-size:12px;font-weight:600;color:var(--ink)}.gate-facts em{display:block;margin-top:2px;font-size:10.5px;font-style:normal;color:var(--muted)}@media(max-width:400px){.gate-card{padding:18px 16px 16px}.otp{gap:6px}.otp-cell{height:50px;font-size:21px}.gate-card h1{font-size:20px}}.name-edit{display:inline-grid;place-items:center;width:22px;height:22px;margin-left:6px;vertical-align:-2px;border-radius:50%;color:var(--muted);background:transparent;transition:color .14s ease,background .14s ease}.name-edit:hover{color:var(--accent-ink);background:var(--accent-soft)}.profile .rename-inline .input{width:220px}.bt-seg{display:inline-flex;align-self:flex-start;gap:2px;padding:3px;margin-bottom:4px;background:var(--surface-3);border-radius:var(--r-pill)}.bt-seg button{padding:7px 16px;font-size:12.5px;font-weight:600;color:var(--muted);background:transparent;border:0;border-radius:var(--r-pill);transition:background .15s ease,color .15s ease}.bt-seg button.is-on{color:var(--ink);background:var(--surface);box-shadow:var(--shadow-sm)}.pv{display:flex;flex-direction:column;gap:16px;padding-bottom:20px}.pv-guest{padding:11px 14px;font-size:12.5px;line-height:1.65;color:var(--accent-ink);background:var(--accent-soft);border:1px solid #ffddce;border-radius:var(--r-lg)}.pv-card{display:flex;flex-direction:column;gap:13px;padding:16px 16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-sm)}.pv-card>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.pv-card>header b{font-size:14px}.pv-card>header span{font-size:11.5px;color:var(--muted)}.pv-pets{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.pv-pets::-webkit-scrollbar{display:none}.pv-join{display:flex;gap:10px}.pv-code-input{flex:1;min-width:0;height:46px;text-align:center;font-size:21px;font-weight:600;letter-spacing:.3em;text-indent:.3em;font-variant-numeric:tabular-nums;color:var(--ink);background:var(--surface-2);border:1px solid var(--line-strong);border-radius:var(--r-md);transition:border-color .14s ease,box-shadow .14s ease}.pv-code-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.pv-code-input::placeholder{color:var(--muted);font-weight:500}.pv-rooms,.pv-top{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-sm)}.pv-rooms-head{display:flex;align-items:baseline;justify-content:space-between;padding:14px 16px 10px}.pv-rooms-head b{font-size:13.5px}.pv-rooms-head .muted{font-size:11px}.pv-room-row{display:flex;align-items:center;gap:11px;width:100%;padding:11px 16px;text-align:left;background:transparent;border:0;border-top:1px solid var(--line);transition:background .14s ease}.pv-room-row:hover:not(:disabled){background:var(--surface-2)}.pv-room-art{width:44px;height:44px;flex:none;display:grid;place-items:center;background:var(--surface-2);border-radius:var(--r-md)}.pv-room-main{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.pv-room-main b{font-size:13px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pv-room-main em{font-size:11.5px;font-style:normal;color:var(--muted)}.pv-room-go{flex:none;padding:5px 12px;font-size:11.5px;font-weight:600;color:var(--accent-ink);background:var(--accent-soft);border-radius:var(--r-pill)}.pv-empty{padding:4px 16px 16px;font-size:12.5px;line-height:1.7;color:var(--muted)}.pv-top-row{display:flex;align-items:center;justify-content:space-between;padding:9px 16px;border-top:1px solid var(--line);font-size:12.5px;color:var(--ink-2)}.pv-top-row.is-me{color:var(--ink);background:var(--accent-soft);font-weight:600}.pv-top-row em{font-style:normal;color:var(--muted);font-variant-numeric:tabular-nums}.pv-top-row.is-me em{color:var(--accent-ink)}.pv-resume{display:flex;align-items:center;gap:9px;width:100%;padding:12px 14px;text-align:left;font-size:12.5px;color:var(--accent-ink);background:var(--accent-soft);border:1px solid #ffddce;border-radius:var(--r-lg)}.pv-resume span{flex:1}.pv-resume b{font-size:12px}.pv-back{align-self:flex-start;color:var(--muted)}.pv-waiting{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:-28px;padding:22px 20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow)}.pv-wait-code{font-size:40px;font-weight:700;letter-spacing:.16em;text-indent:.16em;font-variant-numeric:tabular-nums;color:var(--ink)}.pv-wait-hint{font-size:12.5px;color:var(--ink-2);text-align:center}.pv-wait-dots{display:flex;gap:6px}.pv-wait-dots i{width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:.35;animation:pv-dot 1.2s ease-in-out infinite}.pv-wait-dots i:nth-child(2){animation-delay:.16s}.pv-wait-dots i:nth-child(3){animation-delay:.32s}@keyframes pv-dot{0%,to{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}.pv-empty-art{display:grid;place-items:center;width:96px;height:96px;font-size:32px;font-weight:700;color:var(--muted);background:#ffffff80;border-radius:50%}.pv-turn{align-self:center;padding:7px 15px;font-size:12.5px;font-weight:600;color:var(--ink-2);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);text-align:center}.pv-turn.is-mine{color:var(--accent-ink);background:var(--accent-soft);border-color:#ffddce}.pv-actions{display:flex;flex-direction:column;align-items:center;gap:6px}.pv-resign{font-size:11.5px;color:var(--muted);font-weight:500}@media(max-width:420px){.pv-card{padding:14px 14px 16px}.pv-wait-code{font-size:34px}}.twin-tag{margin-left:6px;padding:1px 7px;font-size:10.5px;font-style:normal;font-weight:700;color:#5b45d6;background:var(--violet-soft);border-radius:var(--r-xs)}.twin-badge{position:absolute;top:10px;left:10px;padding:3px 8px;font-size:10px;font-weight:700;letter-spacing:.06em;color:#fff;background:linear-gradient(135deg,#8a6cff,#6b4fe0);border-radius:var(--r-pill);box-shadow:0 2px 8px #5b45d659;z-index:2}.offer-twins,.preview-twins{display:flex;align-items:center;justify-content:center}.offer-twins>:last-child{margin-left:-26px;transform:rotate(6deg)}.preview-twins>:last-child{margin-left:-34px;transform:rotate(5deg)}.preview-art.is-twin{padding-top:4px}.preview-twin-note{margin:0;padding:10px 12px;font-size:12px;line-height:1.7;text-align:left;color:#5b45d6;background:var(--violet-soft);border-radius:var(--r-md)}.preview-twin-note b{font-weight:700}.twin-name-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.twin-name-row .name-field{margin:0}.twin-switch{position:absolute;top:12px;left:50%;transform:translate(-50%);display:inline-flex;gap:2px;padding:3px;background:#ffffffdb;border:1px solid rgba(255,255,255,.9);border-radius:var(--r-pill);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:4}.twin-switch.is-sheet{position:static;transform:none;margin:0 auto 12px;background:var(--surface-2);border-color:var(--line)}.twin-tab{padding:5px 12px;font-size:11.5px;font-weight:600;color:var(--ink-2);background:transparent;border:0;border-radius:var(--r-pill);transition:background .14s ease,color .14s ease}.twin-tab.is-on{color:#5b45d6;background:var(--violet-soft)}.pet-chip.is-twin{width:132px}.pet-chip.is-twin .twin-art{display:flex;align-items:center;justify-content:center;height:46px;margin-bottom:2px}.pet-chip.is-twin .twin-art>:last-child{margin-left:-16px}.pet-chip.is-twin b{font-size:11.5px;line-height:1.35;text-align:center}@media(max-width:420px){.twin-name-row{grid-template-columns:1fr}}.bt-top-left{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0;max-width:calc(100% - 64px)}.bt-chip.is-twin{color:#5b45d6;background:var(--violet-soft);box-shadow:0 1px 5px #5b45d62e}.bt-chip.is-twin.is-foe{color:#a2543f;background:#ffe9df;box-shadow:0 1px 5px #a2543f29}.bt-who-twin{margin-left:4px;padding:1px 5px;font-size:9.5px;font-style:normal;font-weight:700;color:#5b45d6;background:var(--violet-soft);border-radius:var(--r-xs)}.bt-who-item.is-twin{width:116px}.bt-who-item.is-twin .bt-who-pair{display:flex;align-items:center;justify-content:center;height:48px;margin-bottom:1px}.bt-who-item.is-twin .bt-who-pair>:last-child{margin-left:-14px}.bt-who-item.is-twin span:not(.bt-who-pair){max-width:108px;font-size:11px}.twin-switch.is-pick{position:static;display:flex;width:fit-content;transform:none;margin:10px auto 0;background:var(--surface-2);border-color:var(--line);box-shadow:none}.bt-twin-hint{margin:8px 0 0;font-size:11.5px;line-height:1.6;color:var(--muted);text-align:center}.vip-chip{color:#7a4d00!important;background:linear-gradient(135deg,#ffeab0,#ffd166)!important;border:1px solid #eec24e!important;font-weight:700!important}.rename-inline{flex-wrap:wrap}.vip-hint{flex:0 0 100%;margin:4px 0 0;font-size:11px;color:var(--muted)}.gift-entry{display:grid;gap:12px}.gift-tabs{display:flex;gap:6px;padding:4px;margin-bottom:14px;background:var(--surface-3);border-radius:var(--r-md)}.gift-tab{flex:1;padding:8px 6px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--ink-2);font-size:12.5px;font-weight:600;cursor:pointer}.gift-tab.is-active{background:var(--surface);color:var(--accent-ink);box-shadow:0 1px 4px #0000000f}.gift-guest{display:grid;gap:10px;padding:12px 14px;margin-bottom:12px;background:var(--blue-soft);border-radius:var(--r-md)}.gift-guest p{margin:0;font-size:12.5px;line-height:1.6;color:var(--ink-2)}.gift-guest .btn{justify-self:start}.gift-form{display:grid;gap:12px}.gift-kind-row{display:flex;gap:8px}.gift-kind{flex:1;padding:8px 4px;border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--surface);color:var(--ink-2);font-size:12.5px;cursor:pointer}.gift-kind.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-ink);font-weight:700}.gift-list{display:grid;gap:8px}.gift-empty{padding:26px 12px;text-align:center;font-size:13px;color:var(--muted)}.gift-row{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}.gift-row.is-claimed{opacity:.62}.gift-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:var(--r-sm);background:var(--pink-soft);color:var(--pink)}.gift-main{display:grid;gap:2px;flex:1;min-width:0}.gift-who{font-size:13px;color:var(--ink)}.gift-what{font-size:13px;font-weight:700;color:var(--accent-ink)}.gift-msg{font-size:12px;color:var(--ink-2);overflow-wrap:anywhere}.gift-meta{font-size:11px;color:var(--muted)}.gift-row .btn{flex:0 0 auto}.diet-tag{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:999px;font-size:10px;font-style:normal;font-weight:600;vertical-align:middle}.diet-tag.is-healthy{color:var(--green);background:var(--green-soft)}.diet-tag.is-junk{color:var(--accent-ink);background:var(--accent-soft)}.diet-tag.is-staple{color:var(--muted);background:var(--surface-3)}.care-btn.is-on{border-color:var(--accent);background:var(--accent-soft)}.food-pop{margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2)}.food-menu{display:grid;gap:12px;max-height:340px;overflow-y:auto}.food-group-head{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}.food-group-head b{font-size:12px;color:var(--ink)}.food-group-head span{font-size:10.5px;color:var(--muted)}.food-list{display:grid;gap:6px}.food-item{display:flex;align-items:center;gap:9px;width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.food-item:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.food-item:disabled{opacity:.45;cursor:not-allowed}.food-icon{flex:0 0 auto;font-size:20px;line-height:1}.food-info{display:grid;gap:2px;flex:1;min-width:0}.food-info b{font-size:12px;font-weight:600;color:var(--ink)}.food-eff{font-size:10.5px;line-height:1.35;color:var(--muted)}.food-count{flex:0 0 auto;font-size:11px;color:var(--ink-2)}.food-count.is-empty{color:var(--muted)}.shop-group{margin-bottom:4px}.item-icon{font-size:21px}.item-eff{color:var(--ink-2)!important}.card.item.is-healthy{border-color:#17b26a59}.card.item.is-junk{border-color:#ff5c394d}@media(max-width:520px){.food-menu{max-height:300px}.food-group-head{flex-direction:column;gap:1px}}.mail-row.is-gift.is-unread{border-color:#ff8a5c8c;background:#fff8f4}.chip-gift{background:#ff8a5c29;border-color:transparent;color:#b4522a}.gift-entry-actions{display:flex;gap:8px}.gift-entry-actions .btn{flex:1}.tabbar-ico{position:relative;display:inline-flex}.tabbar-badge{top:-7px;right:-9px;border-width:2px}@media(max-width:380px){.tabbar-item{font-size:10px}}.chat-page .page-head{align-items:center}.chat-head-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.chat-sync{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface-2);color:var(--muted);font-size:11.5px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.chat-sync-dot{width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.55}.chat-sync.is-live{color:var(--green);border-color:var(--green-soft);background:var(--green-soft)}.chat-sync.is-live .chat-sync-dot{background:var(--green);opacity:1;box-shadow:0 0 0 3px #17b26a29;animation:chatPulse 2.4s ease-in-out infinite}@keyframes chatPulse{0%,to{opacity:1}50%{opacity:.45}}@media(max-width:720px){.chat-head-side{gap:6px}.chat-sync{padding:5px 9px;font-size:10.5px}}.chat-entry{margin-bottom:18px}.chat-guest{display:flex;flex-direction:column;align-items:center;gap:10px;padding:40px 24px;text-align:center}.chat-guest-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--violet-soft);color:var(--violet)}.chat-guest h2{font-size:18px}.chat-guest p{max-width:380px;font-size:13px;line-height:1.65;color:var(--muted)}.chat-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;height:min(620px,calc(var(--vvh) - 210px));min-height:420px}.chat-list,.chat-room{display:flex;flex-direction:column;min-height:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.chat-new{display:grid;gap:8px;padding:14px;border-bottom:1px solid var(--line)}.chat-new-title{font-size:12.5px;font-weight:700;color:var(--ink-2)}.chat-new-row{display:flex;gap:8px}.chat-new-row .input{flex:1;min-width:0}.chat-new-row .btn{flex:0 0 auto}.chat-new-hint{font-size:11px;line-height:1.5;color:var(--muted)}.chat-threads{flex:1;overflow-y:auto;padding:6px}.chat-thread-item{position:relative;display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:var(--r-md);text-align:left;transition:background .15s}.chat-thread-item:hover,.chat-thread-item.is-active{background:var(--surface-2)}.chat-thread-item.is-active{box-shadow:inset 0 0 0 1px var(--line-strong)}.chat-avatar{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--violet-soft);color:var(--violet);font-size:15px;font-weight:700}.chat-thread-main{flex:1;min-width:0;display:grid;gap:2px}.chat-thread-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.chat-thread-top b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}.chat-thread-top time{flex:0 0 auto;font-size:10.5px;color:var(--muted)}.chat-thread-last{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}.chat-unread{top:auto;bottom:10px;right:10px}.chat-room-head{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}.chat-room-title{flex:1;min-width:0;display:grid}.chat-room-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px}.chat-room-title span{font-size:11px;color:var(--muted)}.chat-back{display:none}.chat-back svg{transform:rotate(180deg)}.chat-bubbles{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:16px;background:var(--surface-2)}.chat-bubble{align-self:flex-start;display:grid;gap:3px;max-width:min(76%,420px);padding:9px 12px;border:1px solid var(--line);border-radius:var(--r-md) var(--r-md) var(--r-md) 4px;background:var(--surface);box-shadow:var(--shadow-sm);font-size:13.5px;line-height:1.55;word-break:break-word}.chat-bubble.is-me{align-self:flex-end;border-color:transparent;border-radius:var(--r-md) var(--r-md) 4px var(--r-md);background:var(--accent);color:#fff}.chat-bubble time{font-size:10px;text-align:right;opacity:.6}.chat-first-tip{align-self:center;padding:8px 14px;border:1px dashed var(--line-strong);border-radius:var(--r-pill);background:var(--surface);font-size:12px;text-align:center;color:var(--muted)}.chat-compose{display:flex;gap:8px;padding:10px 12px calc(10px + var(--safe));border-top:1px solid var(--line);background:var(--surface)}.chat-compose .input{flex:1;min-width:0}.chat-placeholder{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted)}.chat-placeholder p{font-size:14px;font-weight:600;color:var(--ink-2)}.chat-placeholder span{font-size:12px}@media(max-width:720px){.top-actions .top-me{display:none}.chat-layout{display:block;height:calc(var(--vvh) - 190px);min-height:360px}.chat-list,.chat-room{height:100%}.chat-room{display:none}.chat-room.is-open-mobile{display:flex}.chat-list.is-masked-mobile{display:none}.chat-back{display:grid}.chat-bubble{max-width:82%}}.tabbar-more.is-active{color:var(--accent)}.pull-indicator{position:fixed;top:64px;left:50%;z-index:45;display:flex;align-items:center;gap:8px;padding:9px 15px;border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm);color:var(--ink-2);font-size:12px;font-weight:600;white-space:nowrap;transform:translate(-50%,-60px);opacity:0;pointer-events:none}.pull-spinner{width:14px;height:14px;flex:none;border:2px solid var(--line-strong);border-top-color:var(--accent);border-radius:50%;animation:pullSpin .9s linear infinite}@keyframes pullSpin{to{transform:rotate(360deg)}}@media(hover:hover)and (min-width:720px){.pull-indicator{display:none}}.more-grid{display:grid;gap:10px}.more-item{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:66px;padding:10px 14px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);text-align:left;transition:transform .08s,border-color .15s}.more-item:active{transform:scale(.98)}.more-item.is-active{border-color:var(--accent)}.more-ico{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:14px;background:var(--surface-3);color:var(--accent)}.more-main{display:flex;flex-direction:column;gap:2px}.more-main b{font-size:15px}.more-main small{font-size:12px;color:var(--muted)}.more-item .badge{top:50%;right:14px;transform:translateY(-50%)}.more-tip{margin:16px 0 2px;font-size:12px;line-height:1.7;color:var(--muted);text-align:center}
