:root{--green:#245c4c;--ink:#293f35;--muted:#7b897c;--line:#e3e8dd;--paper:#f6f7f0;--pale:#eaf0e4;--gold:#a78a52}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#dce5d2 url('/assets/garden.webp') center center/cover fixed no-repeat;font-size:15px}button,input,textarea{font:inherit;color:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-decoration:none}button{border:0;background:transparent}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #799d82;outline-offset:4px}.app-shell{width:100%;max-width:480px;min-height:100dvh;margin:auto;background:var(--paper);position:relative;box-shadow:0 0 80px #203d3426;padding-bottom:92px}.top{position:relative;z-index:20;display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:7px;padding:6px 10px;padding-top:calc(6px + env(safe-area-inset-top));background:#f6f7f0f5;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:6px;white-space:nowrap;min-height:44px;font-weight:700;font-size:14px;letter-spacing:.5px}.brand span{font-size:14px;letter-spacing:.4px}.brand img{width:28px;height:28px;border-radius:9px}.brand span{font-weight:650;font-size:22px;letter-spacing:2px}.brand small{font-size:8px;letter-spacing:2.6px;display:block;color:var(--muted);margin-top:4px;font-weight:400}.profile{display:grid;place-items:center;width:40px;height:40px;border:1px solid #dce4d6;border-radius:50%;background:#ecf0e4;color:#59765c;font-family:serif}.search{display:flex;align-items:center;min-width:0;height:40px;border:1px solid #dfe5d6;border-radius:22px;background:#fff;padding:0 3px 0 12px}.search svg{width:18px;color:#8c9b89}.search input{width:100%;min-width:0;border:0;background:transparent;outline:none;font-size:16px;color:var(--ink);padding:0;line-height:24px}.search button{flex:none;width:34px;height:38px;display:grid;place-items:center;padding:0;color:var(--green)}.search input::placeholder{color:#98a092}.plus{width:44px;height:44px;display:grid;place-items:center;border:1px solid #cbd9c2;border-radius:50%;background:radial-gradient(circle at 30% 20%,#ffffff,#e8f0e2 65%,#d5e2cd);color:var(--green);font-size:30px;line-height:1;box-shadow:inset 0 1px 3px #fff,0 3px 10px #1c49360e;touch-action:manipulation}.plus[aria-expanded=true]{background:var(--green);color:white}#quick-menu{position:absolute;left:4px;right:4px;top:calc(100% + 5px);width:auto;max-height:min(460px,max(96px,calc(100dvh - 166px - env(safe-area-inset-top) - env(safe-area-inset-bottom))));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:0;background:transparent;backdrop-filter:none;box-shadow:none;padding:6px 2px;color:#254b3d;scrollbar-width:thin;touch-action:pan-y}#quick-menu[hidden]{display:none}#quick-menu a{padding:0}#quick-menu a:hover{background:transparent}#quick-menu svg{width:23px;height:23px}.main-pad{padding:22px}.page-kicker{font-size:10px;letter-spacing:2px;color:var(--gold);font-weight:600}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.page-title h1{font-size:23px;letter-spacing:1px;font-family:"Songti SC",serif;font-weight:600}.page-title small{font-size:11px;color:var(--muted)}.hero{height:166px;padding:24px;background:linear-gradient(90deg,#204f44e8 0%,#22534592 48%,#26574810 100%),url('/assets/garden.webp') 68% 70%/cover;border-radius:19px;position:relative;color:white;overflow:hidden}.hero .eyebrow{font-size:10px;letter-spacing:2px;color:#e5e6c6}.hero h2{font-size:25px;line-height:1.45;font-family:"Songti SC",serif;font-weight:500;letter-spacing:3px;margin-top:8px}.hero p{color:#e0e9d7;font-size:11px;letter-spacing:1px;margin-top:7px}.hero .seal{position:absolute;right:18px;top:19px;writing-mode:vertical-rl;border:1px solid #f4f2d58c;padding:8px 4px;border-radius:4px;color:#faf1d1;font-family:serif;font-size:12px;letter-spacing:3px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 14px}.section-head h2{font-size:17px;letter-spacing:.5px}.section-head small,.text-link{color:var(--muted);font-size:11px}.arts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.art-card{padding:17px 6px 11px;text-align:center;border:1px solid #e7e6d8;border-radius:15px;position:relative;background:#eeeede}.art-card:nth-child(2){background:#e7eddf}.art-card:nth-child(3){background:#f0e9df}.art-card:nth-child(4){background:#e5ece8}.art-card .art-letter{font-size:34px;font-family:"Songti SC",serif;display:block;color:#61754c;line-height:1.2}.art-card span:last-child{display:block;font-size:10px;color:#89927b;margin-top:9px}.health-card{display:flex;gap:15px;align-items:center;background:#edf1e5;border:1px solid #dfe5d6;border-radius:18px;padding:19px;margin-top:23px}.health-emblem{height:58px;width:58px;flex:none;border-radius:50%;display:grid;place-items:center;background:#fff9e9;color:#849261;border:1px solid #e2e7d1}.health-emblem svg{width:32px;height:32px}.health-card h2{font-family:"Songti SC",serif;font-size:21px;margin-bottom:7px}.health-card p{font-size:11px;color:#7e896e;line-height:1.7}.health-card .arrow{margin-left:auto;color:#7e8e6c}.tiny-tag{display:inline-block;padding:4px 7px;border-radius:5px;background:#fff9e8;color:#a38757;font-size:10px;margin-left:7px;vertical-align:middle}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.category-card{min-height:89px;border:1px solid var(--line);border-radius:13px;background:#fff;padding:13px 8px 11px;text-align:center}.category-card svg{width:22px;margin-bottom:7px;color:#6f8865}.category-card strong{display:block;font-weight:500;font-size:12px}.category-card small{font-size:9px;color:#9ca594;margin-top:6px;display:block}.list{border:1px solid var(--line);background:#fff;border-radius:15px;overflow:hidden}.article-row{padding:16px;display:flex;align-items:center;gap:14px;min-height:78px;border-bottom:1px solid var(--line)}.article-row:last-child{border-bottom:0}.article-row .number{width:35px;flex:none;color:#a49d7b;font-family:serif;font-size:22px}.article-row .copy{min-width:0;flex:1}.article-row strong{display:block;font-size:14px;font-weight:500;line-height:1.5}.article-row p{font-size:11px;line-height:1.6;color:var(--muted);margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.article-row svg{width:17px;color:#8d9b85}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:30;width:100%;max-width:480px;border-top:1px solid #dce3d3;background:#fafbf5f5;backdrop-filter:blur(16px);display:grid;grid-template-columns:repeat(4,1fr);padding:11px 8px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #2d45320b}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;color:#929c8d;position:relative;padding:0}.bottom-nav svg{width:24px;height:24px}.bottom-nav a.active{color:var(--green);font-weight:600}.bottom-nav a.active:before{content:'';position:absolute;top:-12px;width:24px;height:3px;border-radius:0 0 4px 4px;background:var(--green)}.footer{padding:16px 20px 5px;text-align:center;font-size:9px;color:#a1aa99;line-height:1.9}.footer a{display:block;text-decoration:underline}.tabs,.filter-chips{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:16px 0}.tabs a,.filter-chips button{flex-shrink:0;border:1px solid var(--line);border-radius:30px;padding:9px 15px;font-size:12px;background:white}.tabs .active,.filter-chips .active{background:var(--green);border-color:var(--green);color:white}.hub-card{padding:22px;background:white;border:1px solid var(--line);border-radius:16px;margin:13px 0}.hub-card h2{font-size:19px;font-family:serif;margin-bottom:10px}.hub-card p{font-size:13px;color:var(--muted);line-height:1.8}.hub-card .text-link{display:block;color:var(--green);margin-top:15px}.title-bar{display:flex;align-items:center;gap:11px;margin-bottom:17px}.back{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:white}.back svg{width:17px}.title-bar h1{font-size:20px}.intro{font-size:12px;line-height:1.9;color:var(--muted);margin:12px 0 20px}.empty{padding:35px 20px;text-align:center;color:var(--muted);line-height:1.8;font-size:13px}.empty svg{margin-bottom:13px;width:32px;height:32px}.primary,.secondary{border-radius:11px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;font-size:13px}.primary{background:var(--green);color:white}.secondary{background:var(--pale);color:var(--green)}.full{width:100%}.actions{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.reading h1{font-family:"Songti SC",serif;line-height:1.5;font-size:27px;letter-spacing:1px;margin-top:12px}.reading .lead{font-size:14px;line-height:1.9;color:#809075;border-left:3px solid #b6c49e;padding-left:15px;margin:22px 0 28px}.reading section{margin:24px 0}.reading h2{font-size:18px;margin:0 0 12px;font-family:serif}.reading section p,.reading section li{font-size:15px;line-height:2;color:#4c6050;white-space:pre-line}.reading .sources{background:#edf1e6;padding:15px;border-radius:12px;font-size:11px;color:#78886e;line-height:1.9}.reading .sources a{display:block;overflow-wrap:anywhere;text-decoration:underline}.article-tools{position:sticky;bottom:78px;border:1px solid var(--line);border-radius:13px;display:flex;padding:8px;gap:8px;background:#fffef9;box-shadow:0 7px 24px #233d3412}.article-tools button{flex:1;padding:9px;font-size:12px}.article-tools svg{width:17px;height:17px;vertical-align:middle;margin-right:6px}.note{background:#edf1e6;padding:13px 16px;font-size:12px;color:#73866c;line-height:1.9;border-radius:12px;margin:15px 0}.conversation{display:flex;border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:20px 16px;background:white}.conversation.pinned{background:#fafff2}.chat-row{flex:1;display:flex;align-items:center;gap:13px;text-align:left;min-width:0;padding:0}.chat-row .avatar{width:45px;height:45px;border-radius:14px;background:#e4edda;display:grid;place-items:center;font-family:serif;color:var(--green);font-size:25px;flex:none}.chat-row .copy{flex:1;min-width:0}.chat-row strong{display:block;font-size:15px}.chat-row small{font-size:12px;color:var(--muted);display:block;margin-top:7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pin{border-radius:25px;padding:10px;font-size:11px;background:#edf1e6;color:var(--green)}.unread{background:#ad705a;color:white;border-radius:20px;padding:2px 6px;font-size:10px}.friend-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.friend-row strong{flex:1;font-size:13px}.friend-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.friend-row button{font-size:11px;padding:9px}dialog{border:1px solid var(--line);border-radius:23px;padding:0;width:calc(100% - 24px);max-width:452px;max-height:86dvh;color:var(--ink);background:var(--paper);box-shadow:0 20px 100px #14372e30}dialog::backdrop{background:#18392a55;backdrop-filter:blur(3px)}.sheet-head{position:sticky;top:0;background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid var(--line);z-index:2}.sheet-head h2{font-size:17px}.sheet-head button{font-size:26px}#sheet-body{padding:20px}label{display:block;font-size:12px;margin-bottom:16px}label input,textarea{display:block;width:100%;border:1px solid #d7e0ce;border-radius:11px;background:white;padding:13px;margin-top:7px;outline:none}input[type=checkbox]{display:inline;width:auto}form .error{color:#a65f4e;font-size:12px;line-height:1.7;margin:10px 0}.switch{display:flex;justify-content:space-between;margin-top:17px;font-size:12px;color:var(--green)}#toast{position:fixed;z-index:100;left:50%;bottom:100px;transform:translateX(-50%) translateY(10px);background:#264c40ee;color:#fff;padding:12px 20px;border-radius:12px;font-size:12px;width:max-content;max-width:90%;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%)}.messages{height:47dvh;overflow:auto;padding:8px 0}.message{display:flex;margin:12px 0}.message.mine{justify-content:flex-end}.bubble{max-width:84%;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.mine .bubble{background:#e0ead5}.bubble small{display:block;color:#8a9784;font-size:9px;margin-bottom:5px}.send-form{display:flex;gap:7px;margin-top:8px}.send-form textarea{margin:0;resize:none;min-width:0;height:48px;padding:10px}.send-form button{flex:none}.wallet{background:var(--green);color:white;border-radius:18px;padding:24px;margin:17px 0}.wallet strong{display:block;font-size:36px;margin:14px 0}.wallet small{font-size:11px;color:#c6d7b5}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.stats div{background:white;border:1px solid var(--line);border-radius:12px;text-align:center;padding:16px 8px}.stats strong{display:block;font-size:22px;font-weight:500}.stats small{font-size:10px;color:var(--muted);display:block;margin-top:7px}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:20px;font-size:12px}.knowledge-answer{background:white;border:1px solid var(--line);border-radius:13px;margin:18px 0;padding:18px;line-height:1.9;font-size:13px}.city-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.city-grid a{border-radius:13px;background:white;border:1px solid var(--line);padding:16px}.city-grid strong{display:block;font-size:14px;margin-bottom:7px}.city-grid small{font-size:10px;color:var(--muted)}.loading{padding:45px;text-align:center;color:var(--muted);font-size:13px}.hidden{display:none!important}@media(max-width:380px){.top{padding:6px 8px;padding-top:calc(6px + env(safe-area-inset-top))}.main-pad{padding:17px}.art-card{padding-top:15px}.category-card strong{font-size:11px}.brand span{font-size:13px}}@media(min-width:700px){.app-shell{box-shadow:0 0 0 1px #dae3cd,0 0 70px #17392b25}.bottom-nav{border-left:1px solid #dce3d3;border-right:1px solid #dce3d3}}

/* The header stays in the page flow until the full-screen navigation opens. */
.top:focus-within .search{border-color:#9db393}.brand:focus-visible,.plus:focus-visible,.search button:focus-visible,.pearl:focus-visible{outline:2px solid #b68b40;outline-offset:3px}.plus span{display:block;transition:transform .35s cubic-bezier(.2,.8,.2,1)}.plus[aria-expanded=true] span{transform:rotate(45deg)}/* Each transparent droplet stays inside its own touch cell. */
body #quick-menu,body.hall-view #quick-menu{border:0;border-radius:0;background:transparent;backdrop-filter:none;box-shadow:none}
#quick-menu .pearl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:92px;gap:4px 6px;padding:8px 4px 12px;align-items:center;justify-items:center}
#quick-menu .pearl{display:grid;place-items:center;width:100%;height:92px;min-width:0;min-height:44px;margin:0;touch-action:manipulation;background:transparent;outline-offset:-2px;border-radius:18px}
#quick-menu .pearl-core{--drop-size:72px;--rest-x:0px;--rest-y:0px;--float-time:7.2s;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:min(var(--drop-size),calc(100% - 2px));height:auto;aspect-ratio:1;padding:5px;border-radius:48% 52% 50% 50% / 52% 47% 53% 48%;border:1px solid #f6fffbd9;background:radial-gradient(ellipse at 28% 19%,#ffffffea 0%,#fafff7a8 26%,#e5f3e89e 54%,#8fb9a75c 83%,#f2fff9a3 100%);backdrop-filter:blur(3px) saturate(1.15);box-shadow:inset 2px 3px 5px #ffffffc9,inset -3px -5px 8px #23594833,0 5px 9px #143c2e22;transform:translate(var(--shift-x,var(--rest-x)),var(--shift-y,var(--rest-y)));transition:box-shadow .2s,border-color .2s;color:#183f35;text-shadow:0 1px 1px #ffffffa6;font-size:10.5px;line-height:1.25;white-space:nowrap}
#quick-menu .pearl-core:before{content:"";position:absolute;left:19%;top:11%;width:30%;height:11%;border-radius:50%;background:#ffffffb8;transform:rotate(-28deg);filter:blur(.6px);pointer-events:none}
#quick-menu .pearl-core span{position:relative}#quick-menu .pearl-core svg{width:21px;height:21px;flex:none;position:relative}
/* Alternating row phases keep the visible droplets away from table-like alignment. */
#quick-menu .pearl:nth-child(16n+1) .pearl-core{--drop-size:84px;--rest-x:-4px;--rest-y:-8px;--float-time:7.6s}
#quick-menu .pearl:nth-child(16n+2) .pearl-core{--drop-size:52px;--rest-x:2px;--rest-y:10px;--float-time:6.8s;border-radius:53% 47% 48% 52% / 48% 52% 48% 52%}
#quick-menu .pearl:nth-child(16n+3) .pearl-core{--drop-size:76px;--rest-x:-4px;--rest-y:-2px;--float-time:8.2s}
#quick-menu .pearl:nth-child(16n+4) .pearl-core{--drop-size:56px;--rest-x:2px;--rest-y:8px;--float-time:7s;border-radius:45% 55% 52% 48% / 53% 47% 53% 47%}
#quick-menu .pearl:nth-child(16n+5) .pearl-core{--drop-size:54px;--rest-x:7px;--rest-y:8px;--float-time:8s}
#quick-menu .pearl:nth-child(16n+6) .pearl-core{--drop-size:82px;--rest-x:-1px;--rest-y:-8px;--float-time:7.4s;border-radius:53% 47% 48% 52% / 48% 52% 48% 52%}
#quick-menu .pearl:nth-child(16n+7) .pearl-core{--drop-size:52px;--rest-x:7px;--rest-y:10px;--float-time:6.6s}
#quick-menu .pearl:nth-child(16n+8) .pearl-core{--drop-size:84px;--rest-x:-1px;--rest-y:-4px;--float-time:8.4s;border-radius:45% 55% 52% 48% / 53% 47% 53% 47%}
#quick-menu .pearl:nth-child(16n+9) .pearl-core{--drop-size:80px;--rest-x:-5px;--rest-y:-4px;--float-time:7.8s}
#quick-menu .pearl:nth-child(16n+10) .pearl-core{--drop-size:56px;--rest-x:1px;--rest-y:10px;--float-time:6.9s;border-radius:53% 47% 48% 52% / 48% 52% 48% 52%}
#quick-menu .pearl:nth-child(16n+11) .pearl-core{--drop-size:84px;--rest-x:-5px;--rest-y:-8px;--float-time:8.1s}
#quick-menu .pearl:nth-child(16n+12) .pearl-core{--drop-size:54px;--rest-x:1px;--rest-y:6px;--float-time:7.3s;border-radius:45% 55% 52% 48% / 53% 47% 53% 47%}
#quick-menu .pearl:nth-child(16n+13) .pearl-core{--drop-size:52px;--rest-x:5px;--rest-y:10px;--float-time:6.7s}
#quick-menu .pearl:nth-child(16n+14) .pearl-core{--drop-size:80px;--rest-x:-3px;--rest-y:-4px;--float-time:8.3s;border-radius:53% 47% 48% 52% / 48% 52% 48% 52%}
#quick-menu .pearl:nth-child(16n+15) .pearl-core{--drop-size:58px;--rest-x:5px;--rest-y:6px;--float-time:7.1s}
#quick-menu .pearl:nth-child(16n+16) .pearl-core{--drop-size:78px;--rest-x:-3px;--rest-y:-8px;--float-time:7.7s;border-radius:45% 55% 52% 48% / 53% 47% 53% 47%}
#quick-menu .pearl:nth-child(3n+2) .pearl-core{background:radial-gradient(ellipse at 28% 19%,#fffaf2ed,#f5ecd6a8 28%,#ead8b59c 62%,#b7975a55 87%,#fff5dfa6)}
#quick-menu .pearl:nth-child(3n) .pearl-core{background:radial-gradient(ellipse at 28% 19%,#f9fffeed,#ddf2eda8 28%,#c4e6de99 62%,#75a89d5c 87%,#f1fffca6)}
body.hall-view #quick-menu .pearl-core{color:#254334;border-color:#fff4d4d9;background:radial-gradient(ellipse at 28% 19%,#fff9e9e0,#faf0d6bf 29%,#eddfbaad 60%,#a9995b70 87%,#fff4ccb8);text-shadow:0 1px 1px #ffffffc2;box-shadow:inset 2px 3px 5px #fff7ddb3,inset -3px -5px 8px #54482940,0 5px 9px #070f102e}
body.hall-view #quick-menu .pearl:nth-child(3n+2) .pearl-core{background:radial-gradient(ellipse at 28% 19%,#f5fff5e0,#e0efcebf 29%,#d1e4b8ad 60%,#83ae8570 87%,#f0ffe2b8)}
body.hall-view #quick-menu .pearl:nth-child(3n) .pearl-core{background:radial-gradient(ellipse at 28% 19%,#f5fffbe0,#dcefe9bf 29%,#cae5ddad 60%,#80b6a970 87%,#e4fff3b8)}
#quick-menu .pearl:hover .pearl-core{border-color:#fffef1;box-shadow:inset 2px 3px 6px #fff9,inset -3px -5px 8px #23594833,0 6px 12px #143c2e30}
#quick-menu .pearl:active .pearl-core{animation:none;transform:translate(var(--shift-x,var(--rest-x)),var(--shift-y,var(--rest-y))) scale(.96)}
@media(prefers-reduced-motion:no-preference){#quick-menu .pearl-core{animation:pearl-float var(--float-time) ease-in-out infinite;animation-delay:calc(var(--order) * -.37s)}#quick-menu.is-burst .pearl-core{animation:pearl-float var(--float-time) ease-in-out infinite,pearl-burst .64s cubic-bezier(.2,.8,.25,1.12) both;animation-delay:calc(var(--order) * -.37s),calc(var(--order) * 14ms)}@keyframes pearl-float{0%,100%{transform:translate(var(--shift-x,var(--rest-x)),calc(var(--shift-y,var(--rest-y)) - 2px))}50%{transform:translate(var(--shift-x,var(--rest-x)),calc(var(--shift-y,var(--rest-y)) + 2px))}}@keyframes pearl-burst{0%{translate:var(--burst-x) var(--burst-y);scale:.14;opacity:0}65%{translate:0px 3px;scale:1.04;opacity:1}100%{translate:0px 0px;scale:1;opacity:1}}}
@media(max-width:370px){.top{gap:5px;padding-left:8px;padding-right:8px}.brand{font-size:13px;gap:4px;letter-spacing:0}.brand img{width:26px;height:26px}.search{padding-left:9px}#quick-menu .pearl-grid{grid-auto-rows:88px}#quick-menu .pearl{height:88px}#quick-menu .pearl-core{font-size:10px}#quick-menu .pearl-core svg{width:20px;height:20px}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.plus span,#quick-menu .pearl-core{transition:none}#quick-menu .pearl-core,#quick-menu.is-burst .pearl-core{animation:none;translate:none;scale:none;opacity:1}#quick-menu .pearl:hover .pearl-core,#quick-menu .pearl:active .pearl-core{transform:translate(var(--shift-x,var(--rest-x)),var(--shift-y,var(--rest-y)))}}

/* Full-screen droplets share the entire visible canvas, without a nested scroll panel. */
body.quick-menu-open .top{position:fixed;left:var(--menu-left,0px);top:var(--menu-top,0px);width:var(--menu-width,100vw);max-width:none;z-index:60;background:#f6f7f0fa}
body.hall-view.quick-menu-open .top{background:#211b12fa}
body.quick-menu-open .bottom-nav{visibility:hidden;pointer-events:none}
body.quick-menu-open #quick-menu{position:fixed;left:var(--menu-left,0px);right:auto;top:calc(var(--menu-top,0px) + var(--menu-header,56px));width:var(--menu-width,100vw);height:var(--menu-height,calc(100dvh - 56px));max-height:none;margin:0;padding:0;overflow:hidden;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;background-color:#1d382c;background-size:cover;background-position:center;isolation:isolate}
body.quick-menu-open #quick-menu::-webkit-scrollbar{display:none}
body.quick-menu-open #quick-menu .pearl-grid{height:100%;min-height:100%;grid-template-columns:repeat(var(--menu-columns,4),minmax(0,1fr));grid-template-rows:repeat(var(--menu-rows,6),minmax(0,1fr));grid-auto-rows:auto;gap:6px;padding:12px 12px calc(12px + env(safe-area-inset-bottom));}
body.quick-menu-open #quick-menu .pearl{height:100%;min-height:44px;min-width:44px;outline-offset:-3px}
body.quick-menu-open #quick-menu .pearl-core{--shift-x:calc(var(--rest-x) * var(--pearl-drift,1));--shift-y:calc(var(--rest-y) * var(--pearl-drift,1));width:clamp(min(64px,var(--pearl-cap)),calc(var(--drop-size) * var(--pearl-scale)),var(--pearl-cap));gap:3px;padding:4px;font-size:var(--pearl-font,12px);transform:translate(var(--shift-x),var(--shift-y))}
body.quick-menu-open #quick-menu .pearl-core svg{width:var(--pearl-icon,22px);height:var(--pearl-icon,22px)}
/* At high browser zoom, preserve readable links and let the full canvas remain reachable. */
body.quick-menu-open #quick-menu[data-compact=true]{overflow:auto;scrollbar-width:auto}
body.quick-menu-open #quick-menu[data-compact=true] .pearl-grid{height:auto;min-width:218px;grid-template-rows:repeat(var(--menu-rows),minmax(80px,1fr))}
body.quick-menu-open.quick-menu-compact .top .brand span{display:none}

#quick-menu .pearl-core small{display:block;position:relative;font-size:9px;line-height:1.25;font-weight:600;white-space:nowrap}
.newyear-count-card{margin:20px 0;padding:32px 16px;border-radius:24px;color:#fff5d9;text-align:center;background:linear-gradient(145deg,#173f35df,#2b594bd9),url('/assets/garden.webp') center/cover;box-shadow:0 15px 34px #173f3517}
.newyear-count-card>p{font-size:12px;line-height:1.8;color:#e5dec6}.newyear-count-card h2{font:500 24px/1.6 "Songti SC",serif;margin:14px 0}.newyear-number{display:flex;align-items:baseline;justify-content:center;gap:10px;margin:18px 0;color:#f2dca1}.newyear-number strong{font:500 clamp(58px,18vw,88px)/1.1 Georgia,serif}.newyear-number span{font-size:18px}
.newyear-date-card{margin:12px 0;padding:20px;background:#fffef8;border:1px solid var(--line);border-radius:18px}.newyear-date-card h2{font-size:13px;color:var(--muted);margin-bottom:8px}.newyear-date-card time{font:500 24px/1.4 Georgia,serif;color:var(--green)}.newyear-date-card p{font-size:12px;margin-top:8px;color:var(--muted)}

/* Public calendar and natural-day queries; no member or reward controls. */
.date-tool-page{padding:20px 12px}.date-tool-page>.title-bar,.date-tool-page>.intro{margin-left:4px;margin-right:4px}
.date-tool-calendar{width:calc(100% + 16px);margin:18px -8px;border:1px solid #dce5d0;border-radius:20px;background:#fffef7;overflow-x:auto;overscroll-behavior-x:contain}
.date-tool-month{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 8px}.date-tool-month h2{font:500 20px/1.5 "Songti SC",serif}.date-tool-month button{width:44px;min-height:44px;font-size:28px;color:var(--green);border-radius:12px}
.date-tool-week,.date-tool-grid{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));min-width:308px}.date-tool-week{padding:5px 0 8px;border-bottom:1px solid #e3e9d8;color:#8b9a80;text-align:center;font-size:11px}
.date-tool-day,.date-tool-spacer{min-width:44px;min-height:63px;margin:0}.date-tool-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:5px 0;border:2px solid transparent;border-radius:12px;line-height:1.2;color:#466548}.date-tool-day strong{font-size:17px;font-weight:500}.date-tool-day small{font-size:10px;color:#93a080;white-space:nowrap}.date-tool-day.is-today strong{border-radius:50%;background:#618455;color:#fff;min-width:26px;line-height:26px;margin-top:-3px;margin-bottom:-3px}.date-tool-day.is-selected{border-color:#b59b5f;background:#f5f0da}.date-tool-day:focus-visible{outline:2px solid #376750;outline-offset:-3px}
.date-tool-picker{display:flex;align-items:end;gap:10px;margin:18px 4px}.date-tool-picker label{flex:1;min-width:0;margin:0}.date-tool-picker button{min-height:48px;margin-bottom:0;flex:none}
.date-tool-page input[type=date]{width:100%;min-width:0;max-width:100%;min-height:48px;padding:10px 8px;box-sizing:border-box;background:#fffef9;font-size:15px}
.date-tool-detail,.date-tool-range{margin:18px 0;padding:20px 15px;border:1px solid #dce4cf;border-radius:20px;background:#fffef9}.date-tool-detail h2{font:500 21px/1.5 Georgia,serif;color:var(--green)}.date-tool-detail h2 small{font:11px sans-serif;color:#8d9a80;margin-left:8px}.date-tool-detail>p{font-size:12px;line-height:1.85;color:#738566;margin-top:10px}.date-tool-detail .date-tool-lunar{font-size:16px;font-family:"Songti SC",serif;color:#5b764a}
.date-tool-ganzhi{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0 13px}.date-tool-ganzhi>div{padding:13px 5px;text-align:center;background:#edf2e5;border:1px solid #e0e7d4;border-radius:14px}.date-tool-ganzhi dt{font-size:10px;line-height:1.6;color:#8b997c}.date-tool-ganzhi dd{margin:7px 0 0;font:500 24px/1.4 "Songti SC",serif;color:#4c6d46}.date-tool-detail .date-tool-convention{font-size:10px;line-height:1.9;color:#939d84}
.date-tool-range h2{font-size:16px;font-weight:550;margin:0 0 20px}.date-tool-range-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.date-tool-range-inputs label{min-width:0;margin-bottom:15px;font-size:11px}.date-tool-range button{min-height:48px}
.date-tool-result{margin-top:16px;padding:18px 12px;border-radius:15px;background:#edf3e4;border:1px solid #dce5cf;text-align:center;color:var(--green)}.date-tool-result p{font-size:11px;line-height:1.7;color:#829274}.date-tool-result strong{display:block;margin:10px 0;font:500 27px/1.5 "Songti SC",serif}.date-tool-result span{display:block;font-size:13px;line-height:1.8}.date-tool-result small{display:block;font-size:10px;margin-top:9px;color:#8f9b80}.date-tool-hint,.date-tool-credit{font-size:10px;line-height:1.9;color:#919d82;margin:13px 0 0}.date-tool-credit{margin:20px 5px 5px}.date-tool-credit a{text-decoration:underline}.date-tool-error{margin:12px 4px;padding:11px;border-radius:12px;background:#f8eee5;color:#9c7052;font-size:12px;line-height:1.8}

/* Equal side controls keep the search field centered in the shared header. */
.app-shell > .top{grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;padding-left:12px;padding-right:12px}
.app-shell > .top > .brand{display:grid;place-items:center;width:44px;height:44px;min-height:44px;gap:0;overflow:hidden;border-radius:50%;background:var(--green)}
.app-shell > .top > .brand img{display:block;width:44px;height:44px;border-radius:50%;object-fit:cover}
.app-shell > .top > .brand span{display:none}
.app-shell > .top > .search{width:100%;height:44px;margin:0;justify-self:center}
.app-shell > .top > .plus{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%}
@media(max-width:340px){.app-shell > .top{gap:8px;padding-left:10px;padding-right:10px}}
