:root {
    --bg:#0F0E0A; --bg-deep:#080706; --panel:#1A1810; --panel-2:#242010;
    --title:#F5E6A8; --text:#E8DCB0; --muted:#B8A46A; --soft:#8A7A48;
    --yellow:#E8B923; --yellow-bright:#F3D056; --yellow-deep:#A88212; --cream:#FFF6D8;
    --border:rgba(232,185,35,.18); --border-strong:rgba(232,185,35,.46);
    --shadow:0 12px 28px rgba(0,0,0,.40); --max:1120px; --topline:22px; --sitebar:60px; --daysign:40px; --mobile-bottom:48px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-width:0;overflow-x:hidden;background:radial-gradient(circle at 20% 0%,rgba(232,185,35,.06),transparent 28%),var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.7}
body.is-locked{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
img{display:block;max-width:100%}
button{cursor:pointer}
[hidden]{display:none!important}
.skip-link{position:fixed;left:12px;top:-60px;z-index:300;padding:9px 14px;border-radius:8px;background:var(--yellow-bright);color:var(--bg);transition:top .2s ease}
.skip-link:focus{top:10px}

.topline{position:fixed;z-index:120;inset:0 0 auto 0;height:var(--topline);background:var(--bg-deep);border-bottom:1px solid var(--border);color:var(--title);font-size:12px}
.topline-inner,.sitebar-inner,.day-sign-inner,.page-shell,.footer-inner{width:min(calc(100% - 32px),var(--max));margin:0 auto}
.topline-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}
.topline-brand{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topline-search{min-width:52px;height:22px;padding:0 6px;border:0;background:transparent;color:var(--title);font-size:12px}

.sitebar{position:fixed;z-index:118;inset:var(--topline) 0 auto 0;height:var(--sitebar);background:rgba(15,14,10,.98);border-bottom:1px solid var(--border-strong);backdrop-filter:blur(12px)}
.sitebar-inner{height:100%;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px}
.site-logo{min-width:0;justify-self:start;display:flex;align-items:center;min-height:44px;font-weight:800;color:var(--title)}
.site-logo img{width:auto;height:28px;object-fit:contain;object-position:left center}
.site-logo span{font-size:16px;white-space:nowrap}
.drawer-trigger{min-width:80px;height:44px;padding:0 18px;border:1px solid var(--border-strong);border-radius:999px;background:var(--panel);color:var(--title);font-weight:800}
.app-entry{justify-self:end;min-height:44px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;background:linear-gradient(135deg,#F3D056 0%,#E8B923 55%,#A88212 100%);color:var(--bg);font-size:14px;font-weight:900;white-space:nowrap}

.day-sign{position:fixed;z-index:116;inset:calc(var(--topline) + var(--sitebar)) 0 auto 0;height:var(--daysign);background:var(--bg-deep);border-bottom:1px solid var(--border)}
.day-sign-inner{height:100%;display:flex;align-items:center;justify-content:center;gap:10px}
.day-sign a{min-width:84px;min-height:32px;padding:4px 16px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--title);font-size:13px;font-weight:800}
.day-sign a.is-active{background:var(--yellow);color:var(--bg)}

.page-main{min-height:60vh;padding-top:calc(var(--topline) + var(--sitebar) + var(--daysign) + 28px)}
.page-shell{padding-bottom:56px}
.hero{padding:26px 0 24px}
.eyebrow{display:inline-block;margin-bottom:8px;color:var(--yellow-bright);font-size:12px;font-weight:900;letter-spacing:.12em}
h1,h2,h3,p{margin-top:0}
h1{margin-bottom:14px;color:var(--title);font-size:24px;line-height:1.3}
h2{color:var(--title);font-size:20px;line-height:1.4}
h3{color:var(--title);font-size:16px;line-height:1.45}
p{margin-bottom:14px}
.lead{max-width:820px;color:var(--text);font-size:16px}
.kicker{color:var(--muted);font-size:13px}
.section{margin-top:28px}
.mt-12{margin-top:12px}
.mt-14{margin-top:14px}
.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:14px}
.section-head p{max-width:660px;margin:0;color:var(--muted)}
.card{border:1px solid var(--border);border-radius:12px;background:linear-gradient(180deg,rgba(36,32,16,.78),rgba(26,24,16,.96));box-shadow:var(--shadow)}
.card-body{padding:20px}
.card p:last-child{margin-bottom:0}
.note-box,.policy-box{padding:18px 20px;border:1px solid var(--border-strong);border-radius:12px;background:var(--panel)}
.note-box strong,.policy-box strong{color:var(--yellow-bright)}

.btn-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.btn{min-height:42px;padding:0 18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:900}
.btn-primary{background:linear-gradient(135deg,#F3D056 0%,#E8B923 55%,#A88212 100%);color:var(--bg)}
.btn-secondary{border:1px solid var(--border-strong);background:var(--bg-deep);color:var(--title)}
a:hover,button:hover{filter:brightness(1.06)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--yellow-bright);outline-offset:3px}

.media-slot{width:100%;min-height:140px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(135deg,rgba(232,185,35,.06),transparent 46%),var(--bg-deep);overflow:hidden}
.media-slot img{width:100%;height:100%;object-fit:contain;object-position:center}
.banner-slot{height:260px}.feature-slot{height:180px}.issue-slot{height:200px}.app-slot{height:min(360px,68vw)}.icon-slot{width:48px;height:48px;min-height:48px;border-radius:12px}
.cover-copy{padding:20px 0 0}
.cover-copy .brandline{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.cover-copy .brandline strong{color:var(--title);font-size:18px}
.cover-copy .brandline span{color:var(--muted);font-size:12px;letter-spacing:.12em}
.cover-slogan{margin:10px 0 8px;color:var(--cream);font-size:26px;line-height:1.35;font-weight:900}
.cover-intro{max-width:850px}

.three-grid,.two-grid,.four-grid,.info-grid{display:grid;gap:16px}
.three-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.two-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.four-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.feature-card{overflow:hidden}
.feature-card .card-body{min-height:190px}
.feature-card .mini-link{display:inline-flex;margin-top:8px;color:var(--yellow-bright);font-weight:800}

.numbered-list,.shelf-list,.today-list,.check-list{margin:0;padding:0;list-style:none}
.numbered-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.numbered-list li{min-height:128px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}
.numbered-list .num,.today-list .num{display:block;margin-bottom:8px;color:var(--yellow-bright);font-weight:900;font-size:13px}
.numbered-list strong{color:var(--title)}
.shelf-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.shelf-list li{min-height:104px;padding:16px;border-left:3px solid var(--yellow-deep);background:var(--panel)}
.shelf-list strong{display:block;margin-bottom:4px;color:var(--title)}
.shelf-list span{color:var(--muted)}
.today-list{display:grid;gap:10px}
.today-list li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}
.today-list .num{margin:0;font-size:20px;color:var(--title)}
.today-list strong{color:var(--yellow-bright)}

.timeline{position:relative;display:grid;gap:0}
.timeline::before{content:"";position:absolute;left:17px;top:18px;bottom:18px;width:1px;background:var(--border-strong)}
.timeline-item{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;padding:12px 0}
.timeline-dot{z-index:1;width:12px;height:12px;margin:8px 0 0 12px;border:2px solid var(--yellow);border-radius:50%;background:var(--bg)}
.timeline-card{padding:16px 18px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}
.status{display:inline-flex;min-height:26px;padding:2px 9px;align-items:center;border:1px solid var(--border-strong);border-radius:999px;color:var(--title);font-size:12px;font-weight:800}

.memo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.memo-grid article{padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}
.app-panel{display:grid;grid-template-columns:minmax(220px,340px) minmax(0,1fr);gap:24px;align-items:center}
.app-title-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.app-title-row h2{margin:0}

.faq-mini,.faq-list{display:grid;gap:10px}
.faq-mini details,.faq-list details{border:1px solid var(--border);border-radius:10px;background:var(--panel);overflow:hidden}
.faq-mini summary,.faq-list summary{cursor:pointer;min-height:46px;padding:12px 16px;color:var(--title);font-weight:900}
.faq-mini details p,.faq-list details p{padding:0 16px 16px;margin:0}
.page-index{margin-right:.6em;color:var(--yellow-bright);font-weight:900}
.article-grid{display:grid;gap:16px}
.article-card{padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.article-card h2,.article-card h3{margin-bottom:8px}
.article-card .subtle{color:var(--muted)}
.article-card p:last-child{margin-bottom:0}
.directory-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.directory-list li{display:grid;grid-template-columns:70px minmax(0,1fr);gap:16px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.directory-list .label{color:var(--yellow-bright);font-weight:900}
.shelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.shelf-item{padding:18px;border:1px solid var(--border);border-left:4px solid var(--yellow-deep);border-radius:10px;background:var(--panel)}
.shelf-item h2{margin-bottom:6px}
.policy-sections{display:grid;gap:16px}
.policy-sections section{padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.policy-sections ul{margin:0;padding-left:1.2em}
.policy-sections li+li{margin-top:6px}
.contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.contact-cards article{min-height:180px;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}

.site-footer{border-top:1px solid var(--border-strong);background:var(--bg-deep);color:var(--text);font-size:13px}
.footer-inner{padding:34px 0 calc(34px + env(safe-area-inset-bottom))}
.footer-brand-row{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.footer-logo-wrap{min-width:140px;height:28px;display:flex;align-items:center}
.footer-logo-wrap img{height:28px;width:auto;object-fit:contain}
.footer-logo-text{color:var(--title);font-weight:900}
.footer-brand-row strong{display:block;color:var(--title);font-size:15px}
.footer-brand-row span{color:var(--muted)}
.footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:24px 0}
.footer-links h2{margin-bottom:8px;font-size:14px}
.footer-links a{min-height:32px;display:flex;align-items:center;color:var(--muted)}
.footer-note{max-width:900px;padding-top:18px;border-top:1px solid var(--border)}
.footer-copy{color:var(--soft);margin-bottom:0}

.overlay{position:fixed;z-index:180;inset:0;visibility:hidden;pointer-events:none;opacity:0;background:rgba(0,0,0,.72);transition:opacity .2s ease,visibility .2s ease}
.overlay.is-visible{visibility:visible;pointer-events:auto;opacity:1}
.site-drawer{position:fixed;z-index:200;top:0;right:0;width:min(400px,86vw);height:100dvh;visibility:hidden;pointer-events:none;transform:translateX(102%);background:var(--bg-deep);border-left:1px solid var(--border-strong);box-shadow:var(--shadow);transition:transform .24s ease,visibility .24s ease}
.site-drawer.is-open{visibility:visible;pointer-events:auto;transform:translateX(0)}
.drawer-head{height:74px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-bottom:1px solid var(--border)}
.drawer-brand{min-width:0;display:flex;align-items:center;gap:10px}
.drawer-brand img{width:auto;height:28px;object-fit:contain}
.drawer-brand strong{display:block;color:var(--title);font-size:15px}
.drawer-brand span{display:block;color:var(--muted);font-size:11px}
.drawer-close,.search-head button{min-width:54px;min-height:44px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--title)}
.drawer-scroll{height:calc(100dvh - 74px);overflow-y:auto;padding:10px 16px 28px}
.drawer-group{padding:14px 0;border-bottom:1px solid var(--border)}
.drawer-group h2{margin-bottom:8px;font-size:13px;color:var(--yellow-bright)}
.drawer-group a{display:block;min-height:58px;padding:9px 10px;border-radius:8px}
.drawer-group a:hover{background:var(--panel)}
.drawer-group strong{display:block;color:var(--title);font-size:14px}
.drawer-group span{display:block;color:var(--muted);font-size:12px;line-height:1.55}

.search-layer{position:fixed;z-index:190;top:calc(var(--topline) + var(--sitebar));left:0;right:0;visibility:hidden;pointer-events:none;opacity:0;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.search-layer.is-open{visibility:visible;pointer-events:auto;opacity:1;transform:translateY(0)}
.search-card{width:min(calc(100% - 32px),720px);margin:14px auto 0;padding:20px;border:1px solid var(--border-strong);border-radius:14px;background:var(--bg-deep);box-shadow:var(--shadow)}
.search-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.search-head h2{margin-bottom:10px}
.search-label{display:block;margin-bottom:6px;color:var(--muted);font-size:13px}
.search-input{width:100%;height:44px;padding:0 13px;border:1px solid var(--border-strong);border-radius:9px;background:var(--panel);color:var(--cream)}
.search-input::placeholder{color:var(--soft)}
.search-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.search-presets a{min-height:42px;padding:0 14px;display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;color:var(--title)}
.search-empty{margin:12px 0 0;color:var(--muted)}
.mobile-bottom{display:none}

@media(max-width:860px){
    .three-grid,.info-grid{grid-template-columns:1fr}
    .two-grid,.contact-cards{grid-template-columns:1fr}
    .four-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .numbered-list{grid-template-columns:repeat(2,minmax(0,1fr))}
    .shelf-list{grid-template-columns:1fr}
    .memo-grid{grid-template-columns:1fr}
    .app-panel{grid-template-columns:1fr}
    .app-slot{height:320px}
    .footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
    :root{--daysign:0px}
    body{padding-bottom:calc(var(--mobile-bottom) + env(safe-area-inset-bottom))}
    .topline-inner,.sitebar-inner,.page-shell,.footer-inner{width:calc(100% - 32px)}
    .day-sign{display:none}
    .page-main{padding-top:calc(var(--topline) + var(--sitebar) + 18px)}
    .sitebar-inner{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);gap:6px}
    .site-logo{max-width:100%;overflow:hidden}
    .site-logo img{max-width:112px}
    .site-logo span{max-width:105px;overflow:hidden;text-overflow:ellipsis;font-size:14px}
    .drawer-trigger{min-width:72px;width:72px;height:44px;padding:0 10px}
    .app-entry{max-width:100%;min-width:0;padding:0 10px;overflow:hidden;text-overflow:ellipsis}
    .hero{padding-top:18px}
    .cover-slogan{font-size:23px}
    .banner-slot{height:260px}
    .feature-slot{height:180px}
    .numbered-list,.four-grid{grid-template-columns:1fr}
    .shelf-grid{grid-template-columns:1fr}
    .directory-list li{grid-template-columns:1fr;gap:6px}
    .today-list li{grid-template-columns:40px minmax(0,1fr)}
    .footer-links{grid-template-columns:1fr 1fr;gap:12px}
    .footer-inner{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
    .search-layer{top:0;bottom:0;background:var(--bg-deep)}
    .search-card{width:100%;height:100dvh;margin:0;padding:calc(24px + env(safe-area-inset-top)) 16px 24px;border:0;border-radius:0;box-shadow:none}
    .search-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
    .search-presets a{justify-content:center}
    .mobile-bottom{position:fixed;z-index:150;left:0;right:0;bottom:0;height:calc(var(--mobile-bottom) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--border-strong);background:rgba(8,7,6,.98)}
    .mobile-bottom a{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;padding:0 4px;color:var(--title);font-size:12px;font-weight:800}
    .mobile-bottom a.is-active{background:var(--yellow);color:var(--bg)}
}
