:root{--cream:#fffaf0;--cream-2:#f7efdf;--ink:#3f3a2e;--ink-soft:#6f7767;--green:#5d8b63;--green-deep:#3f6b4b;--mint:#bfe3c8;--mint-soft:#e3f2e5;--peach:#ffcda8;--sky:#bfe0f0;--line:#665c441f;--shadow:0 18px 50px #2e3a262e;--shadow-soft:0 8px 24px #2e3a261f;--radius:24px;--font:"PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;font-family:var(--font);color:var(--ink);overscroll-behavior:none;background:#cfe8d6;margin:0;padding:0;overflow:hidden}body{width:100%;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}#app{width:100vw;height:100dvh;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}#scene{touch-action:none;outline:none;width:100%;height:100%;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.vignette{pointer-events:none;mix-blend-mode:multiply;z-index:1;background:radial-gradient(120% 95% at 50% 46%,#0000 52%,#2030211f 100%),linear-gradient(#fffcf01a 0%,#0000 22%);position:absolute;top:0;bottom:0;left:0;right:0}.hidden{display:none!important}.overlay{z-index:20;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.loader{z-index:40;background:radial-gradient(circle at 50% 38%,#f3fbef 0%,#d6ecd9 52%,#c2e0c9 100%);transition:opacity .5s}.loader.fade{opacity:0;pointer-events:none}.loader-inner{color:var(--green-deep);flex-direction:column;align-items:center;gap:16px;display:flex}.loader-inner p{letter-spacing:.18em;color:#67806a;margin:0;font-size:13px}.leaf-spinner{color:#4f7f5b;width:54px;height:54px;animation:1.6s ease-in-out infinite leaf-bob}.leaf-spinner svg{width:100%;height:100%}@keyframes leaf-bob{0%,to{transform:translateY(0)rotate(-8deg)}50%{transform:translateY(-8px)rotate(8deg)}}.start{z-index:30;padding:calc(22px + env(safe-area-inset-top)) clamp(18px, 5vw, 56px) calc(18px + env(safe-area-inset-bottom));background:linear-gradient(#172f2038 0%,#172f2005 34%,#172f200d 62%,#10261952 100%);flex-direction:column;justify-content:space-between;display:flex}.start:before{content:"";pointer-events:none;background:radial-gradient(60% 42% at 18% 18%,#fffcf047,#0000 70%);position:absolute;top:0;bottom:0;left:0;right:0}.start-top,.start-footer,.start-card{z-index:1;position:relative}.start-top{justify-content:space-between;align-items:center;gap:16px;display:flex}.brand{color:#fffaf0;text-shadow:0 2px 14px #172c1e59;align-items:center;gap:12px;display:flex}.brand-mark{color:#35553d;background:#fffaf0e6;border-radius:14px;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 8px 22px #14281b38}.brand-mark svg{width:25px;height:25px}.brand-text{flex-direction:column;line-height:1.1;display:flex}.brand-text strong{letter-spacing:.16em;font-size:17px;font-weight:700}.brand-text span{letter-spacing:.32em;color:#fffaf0b8;margin-top:5px;font-size:9px}.start-badge{letter-spacing:.14em;color:#334f3b;white-space:nowrap;background:#fffaf0d1;border-radius:999px;padding:8px 14px;font-size:11px;box-shadow:0 6px 18px #14281b29}.start-top-right{align-items:center;gap:10px;display:flex}.lang-btn{-webkit-backdrop-filter:blur(14px)saturate(1.15);backdrop-filter:blur(14px)saturate(1.15);min-width:48px;height:40px;box-shadow:var(--shadow-soft);color:#52624c;letter-spacing:.08em;cursor:pointer;background:#fffaf0d1;border:1px solid #ffffffb8;border-radius:999px;padding:0 12px;font-family:inherit;font-size:12px;font-weight:700;transition:transform .16s,background .16s}.lang-btn:active{transform:scale(.94)}.season-wrap{position:relative}.season-btn{-webkit-backdrop-filter:blur(14px)saturate(1.15);backdrop-filter:blur(14px)saturate(1.15);height:40px;box-shadow:var(--shadow-soft);color:#52624c;letter-spacing:.04em;cursor:pointer;background:#fffaf0d1;border:1px solid #ffffffb8;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-family:inherit;font-size:12px;font-weight:700;transition:transform .16s,background .16s;display:inline-flex}.season-btn svg{width:15px;height:15px}.season-btn:active{transform:scale(.94)}.season-menu{z-index:60;-webkit-backdrop-filter:blur(16px)saturate(1.1);backdrop-filter:blur(16px)saturate(1.1);background:#fffaf0f5;border:1px solid #ffffffd9;border-radius:16px;gap:2px;min-width:178px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 40px #172c1e38}.season-menu.hidden{display:none}.season-opt{color:#465842;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:8px 10px;font-family:inherit;font-size:12px;font-weight:600;transition:background .15s;display:flex}.season-opt:hover{background:#78a07824;outline:none}.season-opt:focus-visible{background:#78a07824;outline:none}.season-opt.is-active{color:#2f4a35;background:#78a0782e}.season-check{opacity:0;color:#5d8a67;font-size:12px}.season-opt.is-active .season-check{opacity:1}.start-card{-webkit-backdrop-filter:blur(16px)saturate(1.1);backdrop-filter:blur(16px)saturate(1.1);background:linear-gradient(160deg,#fffbf2f5,#f9f2e2f0);border:1px solid #ffffffb8;border-radius:32px;width:min(520px,100%);margin:0 auto;padding:clamp(24px,4.4vw,40px);animation:.7s cubic-bezier(.22,.9,.3,1) both card-rise;box-shadow:0 30px 80px #172c1e52,inset 0 1px #ffffffe6}@keyframes card-rise{0%{opacity:0;transform:translateY(18px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.start-eyebrow{letter-spacing:.22em;color:#8a9a83;margin:0 0 12px;font-size:12px}.start-card h1{letter-spacing:.02em;color:#34462f;margin:0;font-size:clamp(27px,4.6vw,38px);font-weight:800;line-height:1.24}.start-desc{color:#6f7a68;margin:14px 0 26px;font-size:13.5px;line-height:1.85}.enter-form label{letter-spacing:.16em;color:#8a9a83;margin-bottom:8px;font-size:11px;display:block}.name-row{align-items:stretch;gap:10px;display:flex}#nick-input{min-width:0;height:50px;color:var(--ink);background:#f6f0e3;border:1px solid #7780652e;border-radius:16px;outline:none;flex:1;padding:0 16px;font-family:inherit;font-size:15px;transition:border-color .2s,box-shadow .2s,background .2s}#nick-input::placeholder{color:#b1b5a5}#nick-input:focus{background:#fffdf8;border-color:#8fbb98;box-shadow:0 0 0 4px #8fbb9838}.primary-btn{letter-spacing:.04em;color:#fdfcf5;cursor:pointer;white-space:nowrap;background:linear-gradient(145deg,#7ab887 0%,#568c66 100%);border:none;border-radius:16px;justify-content:center;align-items:center;gap:8px;height:50px;padding:0 22px;font-family:inherit;font-size:14.5px;font-weight:600;transition:transform .18s,box-shadow .18s,filter .18s;display:inline-flex;box-shadow:0 12px 24px #45705052,inset 0 1px #ffffff4d}.primary-btn svg{width:17px;height:17px}.primary-btn:hover{filter:brightness(1.03);transform:translateY(-1px);box-shadow:0 16px 28px #4570505c}.primary-btn:active{transform:translateY(1px)scale(.99)}.start-meta{color:#83907c;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px;font-size:11.5px;display:flex}.meta-item{align-items:center;gap:7px;display:inline-flex}.dot{background:#7cb084;border-radius:50%;width:7px;height:7px;animation:2.2s ease-in-out infinite pulse-dot;box-shadow:0 0 0 3px #7cb0842e}@keyframes pulse-dot{0%,to{box-shadow:0 0 0 3px #7cb08429}50%{box-shadow:0 0 0 6px #7cb0840f}}.meta-sep{background:#6e786438;width:1px;height:11px}.meta-item.soft{color:#9aa392}.start-footer{text-align:center;letter-spacing:.16em;color:#fffaf0a8;text-shadow:0 1px 8px #14281b4d;font-size:10.5px}#hud{z-index:10;pointer-events:none;position:fixed;top:0;bottom:0;left:0;right:0}.hud-top{top:calc(12px + env(safe-area-inset-top));justify-content:space-between;align-items:flex-start;gap:12px;padding:0 14px;display:flex;position:absolute;left:0;right:0}.hud-left{flex-direction:column;gap:10px;min-width:0;max-width:min(62vw,360px);display:flex}.online-pill{pointer-events:auto;height:38px;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(14px)saturate(1.15);backdrop-filter:blur(14px)saturate(1.15);color:#46523f;white-space:nowrap;background:#fffaf0d1;border:1px solid #ffffffb3;border-radius:999px;align-items:center;gap:8px;width:-moz-fit-content;width:fit-content;padding:0 14px;font-size:12px;font-weight:600;display:inline-flex}.live-dot{background:#6fae7d;border-radius:50%;width:8px;height:8px;animation:2.2s ease-in-out infinite pulse-dot}.room-tag{letter-spacing:.06em;color:#8a9a83;border-left:1px solid #6e786433;padding-left:8px;font-size:10px;font-weight:500}.hud-right{pointer-events:auto;align-items:flex-start;gap:8px;display:flex}.hud-actions{gap:8px;display:flex}.icon-btn{-webkit-backdrop-filter:blur(14px)saturate(1.15);backdrop-filter:blur(14px)saturate(1.15);width:40px;height:40px;box-shadow:var(--shadow-soft);color:#52624c;cursor:pointer;background:#fffaf0d1;border:1px solid #ffffffb8;border-radius:50%;place-items:center;padding:0;font-family:inherit;font-size:15px;transition:transform .16s,background .16s,opacity .16s;display:grid}.icon-btn svg{width:19px;height:19px}.icon-btn:active{transform:scale(.94)}.icon-btn.is-off{color:#9aa392;opacity:.66}.icon-btn.is-off:after{content:"";background:currentColor;border-radius:2px;width:22px;height:2px;position:absolute;transform:rotate(-42deg)}.icon-btn{position:relative}.chat-log{width:min(320px,100%);max-width:100%;max-height:34vh;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(12px)saturate(1.12);backdrop-filter:blur(12px)saturate(1.12);background:#fffaf0b3;border:1px solid #ffffff9e;border-radius:18px;flex-direction:column;align-items:stretch;gap:5px;padding:10px 12px;display:flex;overflow:hidden}.chat-log:empty{display:none}.chat-msg{pointer-events:none;color:#4b5344;word-break:break-word;max-width:100%;padding:0;font-size:12px;line-height:1.55;animation:.28s both msg-in}.chat-msg .who{color:#55644d;margin-right:6px;font-weight:700}.chat-msg .txt{color:#5b6455}.chat-msg.is-self .who{color:#4f7f5b}.chat-msg.is-system{color:#8c937f;font-style:italic}@keyframes msg-in{0%{opacity:0;transform:translateY(-6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.hud-bottom{left:0;right:0;bottom:calc(10px + env(safe-area-inset-bottom));pointer-events:none;justify-content:center;padding:0 14px;display:flex;position:absolute}.chat-bar{pointer-events:auto;-webkit-backdrop-filter:blur(16px)saturate(1.1);backdrop-filter:blur(16px)saturate(1.1);background:#fffaf0e6;border:1px solid #ffffffbf;border-radius:999px;align-items:center;gap:8px;width:min(520px,100%);height:50px;padding:0 6px 0 18px;display:flex;box-shadow:0 14px 34px #26362433}#chat-input{min-width:0;height:100%;color:var(--ink);background:0 0;border:none;outline:none;flex:1;font-family:inherit;font-size:13.5px}#chat-input::placeholder{color:#a7ae9f}.chat-send{color:#fbfaf2;cursor:pointer;background:linear-gradient(145deg,#7ab887,#568c66);border:none;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;padding:0;transition:transform .15s;display:grid;box-shadow:0 6px 14px #45705047}.chat-send svg{width:17px;height:17px;margin-left:-1px}.chat-send:active{transform:scale(.92)}.joystick{left:calc(18px + env(safe-area-inset-left));bottom:calc(76px + env(safe-area-inset-bottom));touch-action:none;pointer-events:auto;z-index:11;background:radial-gradient(circle,#fffaf038 0%,#fffaf01a 68%,#0000 72%);border-radius:50%;place-items:center;width:106px;height:106px;transition:opacity .25s;display:none;position:fixed}body.is-touch .joystick{display:grid}body.is-seated .joystick{opacity:0;pointer-events:none}.joy-ring{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#3f583a24;border:1.5px solid #fffaf08c;border-radius:50%;position:absolute;top:8px;bottom:8px;left:8px;right:8px;box-shadow:inset 0 2px 10px #1e301e2e}.joy-stick{background:#fffaf0e6;border:1px solid #fffc;border-radius:50%;width:44px;height:44px;transition:transform 80ms ease-out;position:relative;box-shadow:0 6px 16px #24362247}.seat-panel{pointer-events:auto;left:50%;bottom:calc(72px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px)saturate(1.1);backdrop-filter:blur(16px)saturate(1.1);z-index:12;background:#fffaf0e6;border:1px solid #ffffffbf;border-radius:22px;flex-direction:column;align-items:center;gap:8px;max-width:calc(100vw - 24px);padding:10px 12px;animation:.3s cubic-bezier(.22,.9,.3,1) both seat-in;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 16px 36px #26362433}@keyframes seat-in{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.seat-hint{letter-spacing:.12em;color:#8b9884;padding-top:2px;font-size:10.5px}.seat-actions{gap:6px;display:flex}.seat-btn{color:#5c6353;cursor:pointer;white-space:nowrap;background:#f4eedf;border:1px solid #0000;border-radius:12px;align-items:center;gap:5px;padding:8px 11px;font-family:inherit;font-size:12px;font-weight:600;transition:background .16s,color .16s,transform .16s;display:inline-flex}.seat-btn svg{width:15px;height:15px}.seat-btn:active{transform:scale(.95)}.seat-btn.is-active{color:#fdfbf4;background:linear-gradient(145deg,#86bd90,#60956d);box-shadow:0 6px 14px #45705040}.seat-btn.leave{color:#8b8171;background:#f7f1e6}.seat-panel:not(.is-fire) .seat-btn[data-state=warm]{display:none}.seat-panel.is-fire .seat-actions{gap:4px}.seat-panel.is-fire .seat-btn{padding:8px 9px}.fish-panel{pointer-events:auto;left:50%;bottom:calc(72px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px)saturate(1.1);backdrop-filter:blur(16px)saturate(1.1);z-index:12;background:#fffaf0eb;border:1px solid #ffffffbf;border-radius:22px;flex-direction:column;align-items:center;gap:8px;max-width:calc(100vw - 24px);padding:10px 12px;animation:.3s cubic-bezier(.22,.9,.3,1) both seat-in;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 16px 36px #26362433}.fish-hint{letter-spacing:.12em;color:#8b9884;padding-top:2px;font-size:10.5px}.fish-actions{gap:8px;display:flex}.fish-btn{color:#fbfaf2;cursor:pointer;white-space:nowrap;background:linear-gradient(145deg,#7fb2c5,#4f8397);border:1px solid #0000;border-radius:13px;align-items:center;gap:6px;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:600;transition:background .16s,color .16s,transform .16s;display:inline-flex;box-shadow:0 6px 14px #3a6a7a47}.fish-btn svg{width:16px;height:16px}.fish-btn:active{transform:scale(.95)}.fish-btn.is-bite{background:linear-gradient(145deg,#f0a35e,#d97b4a);animation:.7s ease-in-out infinite bite-pulse;box-shadow:0 8px 18px #c46e4259}@keyframes bite-pulse{50%{transform:scale(1.06)}}.fish-btn.leave{color:#8b8171;box-shadow:none;background:#f4eedf;padding:10px 13px;font-size:12px}.tap-hint{left:50%;bottom:calc(148px + env(safe-area-inset-bottom));color:#fffcf2eb;letter-spacing:.06em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;opacity:0;white-space:nowrap;z-index:11;background:#2e3f2e8c;border-radius:999px;padding:9px 16px;font-size:12px;transition:opacity .4s;position:fixed;transform:translate(-50%)}.tap-hint.show{opacity:1}.toast-layer{top:calc(64px + env(safe-area-inset-top));pointer-events:none;z-index:30;flex-direction:column;align-items:center;gap:6px;display:flex;position:fixed;left:0;right:0}.toast{color:#fdfbf3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:center;background:#3a4a36d1;border-radius:999px;max-width:82vw;padding:9px 16px;font-size:12px;animation:.25s both toast-in;box-shadow:0 8px 22px #1c2a1c3d}.toast.out{opacity:0;transition:opacity .35s,transform .35s;transform:translateY(-6px)}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.help{z-index:35;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f2e2152;padding:18px}.help-card{width:min(640px,100%);max-height:min(86dvh,720px);box-shadow:var(--shadow);background:linear-gradient(165deg,#fffcf4,#f7eedd);border:1px solid #ffffffb3;border-radius:28px;padding:clamp(20px,4vw,34px);animation:.35s both card-rise;overflow:auto}.help-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.help-eyebrow{letter-spacing:.28em;color:#93a08a;margin:0 0 6px;font-size:10px}.help-head h2{color:#35462f;letter-spacing:.02em;margin:0;font-size:23px}.help-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.help-grid section{background:#ffffff8c;border:1px solid #858f731f;border-radius:16px;padding:14px 16px}.help-grid h3{color:#4c6147;letter-spacing:.05em;margin:0 0 6px;font-size:13px}.help-grid p{color:#7c8474;margin:0;font-size:12px;line-height:1.78}.help-card .primary-btn{width:100%}@media (max-width:700px){.hud-right{flex-direction:column;align-items:flex-end;gap:8px}.hud-actions{gap:6px}}@media (max-width:560px){.start{padding-bottom:calc(14px + env(safe-area-inset-bottom));justify-content:flex-end;gap:20px}.start-top{top:calc(16px + env(safe-area-inset-top));position:absolute;left:16px;right:16px}.start-badge{display:none}.start-card{border-radius:26px;margin-bottom:8px;padding:22px 20px 20px}.start-card h1{font-size:26px}.start-desc{margin:10px 0 18px;font-size:12.5px;line-height:1.8}.start-desc br{display:none}.name-row{flex-direction:column}#nick-input,.primary-btn{width:100%;height:47px}.start-meta{margin-top:16px;font-size:10.5px}.start-footer{display:none}.start-footer,.brand-text strong{font-size:15px}.help-grid{grid-template-columns:1fr}.help-card{border-radius:24px}.hud-left{max-width:58vw}.online-pill{height:32px;padding:0 10px;font-size:10.5px}.online-pill .room-tag{display:none}.icon-btn{width:36px;height:36px}.icon-btn svg{width:17px;height:17px}.lang-btn{min-width:44px;height:36px;padding:0 10px;font-size:11px}.season-btn{height:36px;padding:0 10px;font-size:11px}.season-btn svg{width:14px;height:14px}.season-menu{min-width:170px}.seat-panel{bottom:calc(68px + env(safe-area-inset-bottom));border-radius:18px;padding:9px}.seat-hint{display:none}.seat-btn{gap:4px;padding:8px 9px;font-size:11.5px}.seat-btn svg{width:14px;height:14px}.fish-panel{bottom:calc(68px + env(safe-area-inset-bottom));border-radius:18px;padding:9px}.fish-hint{display:none}.fish-btn{gap:5px;padding:9px 14px;font-size:12px}.fish-btn svg{width:15px;height:15px}.fish-btn.leave{padding:9px 11px;font-size:11.5px}.chat-bar{height:46px;padding-left:15px}.chat-msg{padding:0;font-size:11.5px}.chat-log{border-radius:15px;max-height:28vh;padding:8px 10px}.tap-hint{bottom:calc(132px + env(safe-area-inset-bottom));font-size:11px}.joystick{width:92px;height:92px;left:14px;bottom:calc(70px + env(safe-area-inset-bottom))}.joy-stick{width:38px;height:38px}}@media (max-height:620px) and (orientation:landscape){.start{justify-content:center}.start-top{position:absolute;top:12px;left:18px;right:18px}.start-card{width:min(600px,86vw);max-height:80dvh;padding:20px 24px;overflow:auto}.start-card h1{font-size:24px}.start-desc{display:none}.start-meta{margin-top:14px}.start-footer{display:none}}@media (max-width:420px){.season-label{display:none}.season-btn{justify-content:center;width:36px;padding:0}.hud-left{max-width:48vw}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
