:root{
    --bg:#F6E7A8;
    --deep-bg:#E8D27A;
    --paper:#FFF8DC;
    --soft:#F3E6B0;
    --title:#3A2E08;
    --text:#4A3C12;
    --muted:#7A6418;
    --assist:#9A8428;
    --gold:#8A6A12;
    --shell:#3A2E08;
    --moss:#5A7A38;
    --line:rgba(58,46,8,.16);
    --strong-line:rgba(138,106,18,.48);
    --shadow:0 12px 28px rgba(58,46,8,.08);
    --max:960px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;font-size:15px;line-height:1.7;overflow-x:hidden;padding-bottom:0}
body.overlay-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit}
img{max-width:100%;display:block}
.top-rail{position:fixed;z-index:80;top:0;left:0;right:0;height:20px;background:var(--shell);color:var(--bg);font-size:12px}
.top-rail-inner,.site-header-inner,.bean-grid-inner,.site-main,.footer-inner{width:min(var(--max),calc(100% - 32px));margin:0 auto}
.top-rail-inner{height:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.text-button,.menu-open,.menu-close,.search-close{appearance:none;border:0;background:none;color:inherit;cursor:pointer}
.text-button{min-height:20px;padding:0 2px;font-size:12px}
.site-header{position:fixed;z-index:79;top:20px;left:0;right:0;height:54px;background:var(--bg);border-bottom:1px solid var(--strong-line)}
.site-header-inner{height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand-link{min-width:120px;height:44px;display:flex;align-items:center}
.brand-link img,.footer-brand img,.menu-brand img{height:24px;width:auto;max-width:160px;object-fit:contain;object-position:center}
.brand-text{font-size:16px;font-weight:800;color:var(--title)}
.header-actions{display:flex;align-items:center;gap:8px}
.header-app,.menu-open{min-height:44px;padding:0 14px;border:1px solid var(--strong-line);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;color:var(--title);white-space:nowrap}
.menu-open{background:var(--shell);color:var(--bg)}
.bean-grid{position:fixed;z-index:78;top:74px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line)}
.bean-grid-inner{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,36px)}
.bean-cell{height:36px;display:flex;align-items:center;justify-content:center;border-right:1px solid var(--strong-line);border-bottom:1px solid var(--strong-line);font-size:13px;color:var(--title)}
.bean-cell:nth-child(2n){border-right:0}
.bean-cell:nth-last-child(-n+2){border-bottom:0}
.bean-cell.is-active{background:var(--gold);color:var(--bg)}
.site-main{padding-top:170px;padding-bottom:56px}
h1,h2,h3{margin:0;color:var(--title);font-weight:800;letter-spacing:.01em}
h1{font-size:24px;line-height:1.3}
h2{font-size:20px;line-height:1.4}
h3{font-size:16px;line-height:1.45}
p{margin:0}
.section{margin:0 0 28px}
.section + .section{margin-top:28px}
.eyebrow{font-size:12px;letter-spacing:.08em;color:var(--gold);font-weight:800;margin-bottom:8px}
.lead{font-size:16px;line-height:1.75;color:var(--text);max-width:760px}
.muted{color:var(--muted)}
.hero-copy{padding:24px 0 10px;border-bottom:1px solid var(--line)}
.hero-copy h1{margin:8px 0 10px}
.hero-copy .lead{margin-bottom:18px}
.quick-index{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.quick-index a{min-height:40px;padding:8px 14px;border:1px solid var(--strong-line);border-radius:999px;display:inline-flex;align-items:center;background:var(--paper);color:var(--title);font-size:13px}
.btn-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.btn-primary,.btn-secondary{min-height:40px;padding:0 18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;white-space:nowrap;border:1px solid var(--strong-line)}
.btn-primary{background:linear-gradient(135deg,#F6E7A8 0%,#8A6A12 100%);color:var(--title);font-weight:800}
.btn-secondary{background:var(--shell);color:var(--bg)}
a:hover,.text-button:hover,button:hover{filter:brightness(.96)}
a:focus-visible,button:focus-visible{outline:3px solid rgba(90,122,56,.55);outline-offset:3px}
.media-slot{background:var(--paper);border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:var(--shadow)}
.media-slot img{width:100%;height:100%;object-fit:contain;object-position:center}
.media-placeholder{min-height:140px}
.portrait-frame{width:min(420px,100%);height:280px;margin:0 auto}
.banner-frame{width:100%;height:200px}
.app-frame{width:min(300px,100%);height:320px}
.square-icon{width:48px;height:48px;border-radius:10px;box-shadow:none}
.timeline{position:relative;padding-left:28px;display:grid;gap:18px}
.timeline:before{content:"";position:absolute;left:8px;top:8px;bottom:8px;width:2px;background:var(--strong-line)}
.timeline-item{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px;box-shadow:var(--shadow)}
.timeline-item:before{content:"";position:absolute;left:-25px;top:25px;width:12px;height:12px;border-radius:50%;background:var(--gold);border:3px solid var(--bg)}
.timeline-item h3{margin-bottom:7px}
.timeline-media{height:220px;margin:12px 0}
.fold-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fold-card{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:20px;box-shadow:var(--shadow)}
.fold-card:after{content:"";position:absolute;right:-1px;top:-1px;border-style:solid;border-width:0 34px 34px 0;border-color:transparent var(--deep-bg) transparent transparent}
.fold-card .media-slot{height:190px;margin-bottom:14px;box-shadow:none}
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.info-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px;box-shadow:var(--shadow)}
.info-card h3{margin-bottom:8px}
.card-media{height:210px;margin-bottom:14px;box-shadow:none}
.week-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.week-card{background:var(--paper);border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:10px;padding:18px;min-height:170px}
.week-card h3{margin-bottom:8px}
.status-list{display:grid;gap:10px}
.status-row{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:start;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:14px 16px}
.status-label{font-weight:800;color:var(--gold)}
.memo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.memo-item{background:var(--paper);border-left:4px solid var(--moss);border-radius:8px;padding:16px 18px;box-shadow:var(--shadow)}
.memo-item h3{margin-bottom:6px}
.method-list{counter-reset:method;display:grid;gap:14px}
.method-item{counter-increment:method;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px 18px 18px 58px;position:relative}
.method-item:before{content:counter(method);position:absolute;left:16px;top:16px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--bg);font-weight:800}
.album-list{display:grid;gap:14px}
.album-item{display:grid;grid-template-columns:160px 1fr;gap:18px;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:10px}
.album-mark{min-height:104px;border-radius:8px;background:var(--soft);display:grid;place-items:center;color:var(--gold);font-weight:800;text-align:center;padding:10px}
.album-item h3{margin-bottom:7px}
.center-stack{display:grid;gap:18px;max-width:760px;margin:0 auto}
.center-card{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:22px;text-align:center;box-shadow:var(--shadow)}
.center-card p{text-align:left;margin-top:10px}
.single-flow{max-width:760px;margin:0 auto;display:grid;gap:18px}
.single-block{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:20px}
.single-block h2,.single-block h3{margin-bottom:8px}
.single-media{height:250px;margin:14px 0}
.app-band{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:24px;align-items:center;background:var(--shell);color:var(--bg);border-radius:12px;padding:24px;box-shadow:var(--shadow)}
.app-band h2,.app-band h3{color:var(--bg)}
.app-band .eyebrow{color:var(--bg)}
.app-band p{color:#FFF8DC}
.app-copy{display:grid;gap:12px}
.app-brandline{display:flex;gap:12px;align-items:center}
.app-band .btn-primary{background:var(--bg);color:var(--title)}
.app-band .btn-secondary{border-color:rgba(246,231,168,.5)}
.legal-sections{display:grid;gap:16px}
.legal-section{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:20px}
.legal-section h2{margin-bottom:8px}
.faq-list{display:grid;gap:12px}
.faq-item{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px}
.faq-item h2{font-size:16px;margin-bottom:8px}
.note-box{background:var(--deep-bg);color:var(--title);border:1px solid var(--strong-line);border-radius:10px;padding:16px 18px}
.note-box strong{display:block;margin-bottom:4px}
.simple-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.simple-links a{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid var(--strong-line);border-radius:8px;background:var(--paper)}
.site-footer{background:#2E2408;color:var(--bg);border-top:1px solid rgba(246,231,168,.35);padding:32px 0 28px;font-size:13px}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:20px;font-size:16px}
.footer-brand span{font-size:12px;opacity:.8}
.footer-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.footer-groups section{display:flex;flex-direction:column;gap:6px}
.footer-groups h2{font-size:13px;color:var(--bg);margin-bottom:4px}
.footer-groups a{color:#FFF8DC}
.footer-note{margin-top:24px;padding-top:16px;border-top:1px solid rgba(246,231,168,.2);color:#FFF8DC}
.footer-copy{margin-top:8px;color:rgba(246,231,168,.78)}
.page-mask{position:fixed;z-index:88;inset:0;background:rgba(46,36,8,.45);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease}
.page-mask.is-active{opacity:1;visibility:visible;pointer-events:auto}
.menu-sheet{position:fixed;z-index:90;left:0;right:0;bottom:0;height:42vh;min-height:320px;background:var(--paper);border-radius:16px 16px 0 0;box-shadow:0 -18px 50px rgba(46,36,8,.22);transform:translateY(105%);visibility:hidden;pointer-events:none;transition:.22s ease;overflow-y:auto;padding-bottom:max(20px,env(safe-area-inset-bottom))}
.menu-sheet.is-open{transform:translateY(0);visibility:visible;pointer-events:auto}
.menu-head{position:sticky;top:0;background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--line);z-index:2}
.menu-brand{display:flex;align-items:center;gap:10px;color:var(--title)}
.menu-close,.search-close{min-height:44px;padding:0 14px;border:1px solid var(--strong-line);border-radius:8px;color:var(--title)}
.menu-groups{width:min(var(--max),calc(100% - 32px));margin:0 auto;padding:16px 0 28px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.menu-groups section{display:flex;flex-direction:column;gap:8px}
.menu-groups h2{font-size:14px;color:var(--gold);margin-bottom:2px}
.menu-groups a{border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--soft);min-height:64px}
.menu-groups b{display:block;color:var(--title);font-size:14px}
.menu-groups span{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:2px}
.search-layer{position:fixed;z-index:91;left:0;right:0;top:74px;visibility:hidden;pointer-events:none;opacity:0;transition:.18s ease}
.search-layer.is-open{visibility:visible;pointer-events:auto;opacity:1}
.search-panel{width:min(var(--max),calc(100% - 32px));margin:0 auto;background:var(--paper);border:1px solid var(--strong-line);border-radius:0 0 12px 12px;box-shadow:var(--shadow);padding:18px}
.search-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.search-head strong{display:block;color:var(--title);font-size:16px}
.search-head p{font-size:13px;color:var(--muted);margin-top:2px}
.search-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.search-presets a{min-height:40px;padding:0 14px;display:inline-flex;align-items:center;border:1px solid var(--strong-line);border-radius:999px;background:var(--bg);color:var(--title)}
.mobile-bottom{display:none}
.brand-banner-copy{margin-top:18px}
.brand-banner-copy h1{margin-bottom:10px}
.brand-statement{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.brand-statement article{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:20px}
.brand-statement h2{margin-bottom:8px}
.contact-route{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.contact-route article{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px}
.contact-route h2{margin-bottom:8px}
@media (max-width:720px){
    body{padding-bottom:calc(48px + env(safe-area-inset-bottom))}
    .top-rail-inner,.site-header-inner,.site-main,.footer-inner{width:calc(100% - 32px)}
    .site-header-inner{gap:8px}
    .brand-link{min-width:0;max-width:44%}
    .brand-link img{max-width:132px}
    .header-actions{gap:6px}
    .header-app,.menu-open{padding:0 10px}
    .bean-grid{display:none}
    .site-main{padding-top:98px;padding-bottom:40px}
    .fold-grid,.card-grid,.memo-list,.week-strip,.footer-groups,.brand-statement,.contact-route{grid-template-columns:1fr}
    .album-item{grid-template-columns:1fr}
    .album-mark{min-height:76px}
    .status-row{grid-template-columns:1fr;gap:4px}
    .app-band{grid-template-columns:1fr;padding:20px}
    .app-frame{margin:0 auto;height:300px}
    .menu-sheet{height:42vh;min-height:360px}
    .menu-groups{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:70px}
    .search-layer{top:0;bottom:0;background:var(--shell);padding:20px 0}
    .search-panel{height:100%;width:calc(100% - 32px);border:0;border-radius:12px;background:var(--shell);color:var(--bg);box-shadow:none}
    .search-head strong,.search-head p{color:var(--bg)}
    .search-close{color:var(--bg);border-color:rgba(246,231,168,.45)}
    .search-presets a{background:var(--bg);color:var(--title);border-color:rgba(246,231,168,.45)}
    .mobile-bottom{position:fixed;z-index:77;left:0;right:0;bottom:0;height:calc(48px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--paper);border-top:1px solid var(--strong-line);display:grid;grid-template-columns:repeat(4,1fr)}
    .mobile-bottom a{display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--title);min-height:48px}
    .mobile-bottom a.is-active{background:var(--gold);color:var(--bg)}
    .footer-copy{padding-bottom:8px}
}
