.mbar,.mdraw{display:none}
@media screen and (max-width:820px){
html{-webkit-text-size-adjust:100%;scroll-padding-top:70px}
body{padding-bottom:calc(64px + env(safe-area-inset-bottom));overflow-x:hidden}
img,svg,video,canvas{max-width:100%}
table{display:block;overflow-x:auto;max-width:100%}
.w{padding-left:16px!important;padding-right:16px!important}
a,button{-webkit-tap-highlight-color:transparent}
.btn,button,input,select,textarea{min-height:44px}
input,select,textarea{font-size:16px}
/* top bar */
.nav{position:sticky;top:0;z-index:40}
.nav .w{height:54px!important;gap:10px!important;justify-content:space-between}
.nav .links,.nav .mbtn,.nav .srch,.nav .r .btn.s.out-only{display:none!important}
.nav .logo{font-size:15px}.nav .r a{font-size:14px;font-weight:600}
.mmenu{display:none!important}
/* bottom tab bar */
.mbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid #E1E6E3;padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
.mbar a,.mbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;border:0;background:none;font:inherit;font-size:11px;font-weight:600;color:#6b7772;border-radius:12px;text-decoration:none;cursor:pointer}
.mbar svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mbar a.on{color:#1f3d33;background:#E9F1ED}.mbar a.on svg{stroke-width:2.2}
/* drawer */
.mdraw:not([hidden]){display:block;position:fixed;inset:0 0 0 0;z-index:70;background:#fff;overflow-y:auto;padding:0 16px calc(90px + env(safe-area-inset-bottom));animation:mdin .22s ease-out}
@keyframes mdin{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
html.mlock{overflow:hidden}
.mdh{display:flex;justify-content:space-between;align-items:center;height:54px;position:sticky;top:0;background:#fff;z-index:2}.mdh b{font-size:20px;font-stretch:125%;font-weight:300}.mdh button{font-size:30px;line-height:1;background:none;border:0;width:44px}
.mda{display:flex;gap:10px;margin:6px 0 14px}.mda a{flex:1;text-align:center;padding:13px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none;border:1px solid #1f3d33;color:#1f3d33}.mda a.mdb{background:#1f3d33;color:#fff}
.mdraw details{border-top:1px solid #E1E6E3}.mdraw summary{display:flex;justify-content:space-between;align-items:baseline;padding:16px 0;list-style:none;cursor:pointer}.mdraw summary::-webkit-details-marker{display:none}.mdraw summary b{font-size:22px;font-stretch:125%;font-weight:300}.mdraw summary span{font-size:13px;color:#5B6662}
.mdg{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 0 16px}.mdg a{padding:12px 14px;background:#f5f0e8;border-radius:10px;font-size:14px;font-weight:600;color:#1c1714;text-decoration:none}.mdg a.all{grid-column:1/-1;background:#1f3d33;color:#fff;text-align:center}
.mdk{border-top:1px solid #E1E6E3;margin-top:4px;padding-top:8px}.mdk a{display:block;padding:14px 0;font-size:16px;color:#1c1714;text-decoration:none;border-bottom:1px solid #F0F2F1}
/* season pages */
.in-only{display:none}html.fc-in .in-only{display:inline-block}html.fc-in .out-only{display:none!important}
.catnav{position:sticky;top:54px;z-index:30;background:#fff}.catnav .w,.catnav>div{display:flex!important;overflow-x:auto;gap:8px;scroll-snap-type:x proximity;scrollbar-width:none;padding-top:8px;padding-bottom:8px}.catnav::-webkit-scrollbar,.catnav .w::-webkit-scrollbar{display:none}.catnav a{flex:none;scroll-snap-align:start}
.hero{padding-top:28px!important}.hero h1,.ph1 h1,.thh h1{font-size:clamp(30px,9vw,40px)!important;line-height:1.08;overflow-wrap:anywhere}
.lead{font-size:17px!important}
.sec{padding:30px 0!important}.sec h2,.tsec h2{font-size:26px!important}.tsec{padding-top:28px;margin-top:22px;scroll-margin-top:110px}
.tg{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.tile .tt b{font-size:14px}.tile .tm{font-size:12px}
.rg,.thg,.scg2,.stl2,.hsg,.hf,.cg,.tcg,.swg{grid-template-columns:1fr!important}
.cg,.tcg,.scg2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.swr{display:grid!important;grid-template-columns:repeat(2,1fr);gap:10px}.swm{min-width:0}
.thh{display:flex!important;flex-direction:column-reverse;gap:18px}.thp{width:100%;max-height:360px;overflow:hidden;border-radius:12px}.thp img{width:100%;max-height:360px;object-fit:cover}
.ttoc,.toc{position:sticky!important;top:54px;z-index:20;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;padding:8px 16px!important;margin:0!important;background:#fff;border-bottom:1px solid #E1E6E3;scrollbar-width:none}.ttoc::-webkit-scrollbar,.toc::-webkit-scrollbar{display:none}.ttoc a,.toc a{flex:none;white-space:nowrap;font-size:13px}
.mboard{padding:14px!important;gap:10px!important;grid-template-columns:1fr 1fr!important}.mb.m1{grid-column:1/-1!important}.mb img{aspect-ratio:4/5;flex:none!important;height:auto}.tx span{aspect-ratio:4/5;flex:none!important}.mwords{font-size:18px!important;gap:14px!important;grid-column:1/-1!important}.mbr{grid-column:1/-1!important}.mnotes{grid-template-columns:1fr!important}.cmr{grid-template-columns:1fr 1fr!important}
.rh2{gap:20px!important}.rhl h1{font-size:30px!important}.rf img{aspect-ratio:4/3;max-height:320px}.rtime{flex-direction:column;gap:6px;padding:14px 16px}.fx{gap:20px}.rtri{grid-template-columns:1fr!important}
.lc{max-width:none}
.ft .fg{grid-template-columns:1fr 1fr!important;gap:24px!important}
.tick{display:none}
/* detail pop-up as full-screen sheet */
dialog{width:100%!important;max-width:100%!important;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
.dcg{display:flex!important;flex-direction:column;height:100dvh!important}.dci{flex:none;height:44vh}.dcb{flex:1;max-height:none!important;padding:18px 18px calc(24px + env(safe-area-inset-bottom))!important}
.dcb .x{position:fixed!important;top:12px;right:12px;width:40px;height:40px;border-radius:50%;background:#fff!important;box-shadow:0 2px 10px rgba(0,0,0,.25);z-index:5}
}
@media(max-width:380px){.tg{gap:8px!important}.mdg{grid-template-columns:1fr}}
@media print{.mbar,.mdraw{display:none!important}body{padding-bottom:0}}
@media screen and (max-width:820px){.cv .gv2{font-size:24px!important}.cv .ga,.cv .gl{font-size:21px!important}.now text{font-size:18px}.cv .cl,.cv .cf{stroke-width:4.5}.cv .dot{stroke-width:3.5}}
