*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Noto Sans SC",system-ui,sans-serif;background:#fff;color:#1a1a1a;line-height:1.78;font-size:16px}
a{color:#00838f;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}

.site-header{background:#fff;border-bottom:1px solid #e0f2f1;position:sticky;top:0;z-index:300}
.header-inner{max-width:1120px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}
.brand{display:flex;align-items:center;gap:10px;color:#111;font-weight:600;font-size:.95rem}
.brand:hover{text-decoration:none}
.brand img{border-radius:8px}
.brand em{font-style:normal;color:#00838f;font-weight:700}
.site-nav ul{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none}
.site-nav a{color:#555;font-size:.9rem;padding:4px 0}
.site-nav a.active,.site-nav a:hover{color:#ff7043;font-weight:600;border-bottom:2px solid #ff7043;text-decoration:none}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:#333;transition:.2s}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.is-open span:nth-child(2){opacity:0}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.ads-top-bar{background:#fafafa;border-bottom:1px solid #eee;padding:10px 0}
.applist-title{font-size:.78rem;color:#888;text-align:center;margin-bottom:6px}
#ads{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
#ads .caption{font-size:.7rem;color:#666;margin-top:4px;text-align:center;max-width:70px;line-height:1.3}

.hero-wave{background:linear-gradient(135deg,#e0f7fa 0%,#fff5f0 55%,#fff 100%);padding:40px 20px 36px;border-bottom:1px solid #b2ebf2}
.hero-inner{max-width:1120px;margin:0 auto}
.hero-wave .tag{display:inline-block;background:linear-gradient(90deg,#00838f,#ff7043);color:#fff;font-size:.76rem;font-weight:600;padding:5px 14px;border-radius:999px;margin-bottom:14px;letter-spacing:.04em}
.hero-wave h1{font-size:1.75rem;line-height:1.35;margin-bottom:16px;color:#111;max-width:780px}
.hero-wave .lead{color:#333;margin-bottom:12px;font-size:1.02rem;max-width:800px;text-align:justify}
.hero-wave .lead:last-of-type{margin-bottom:0}

.chapter-bar{position:sticky;top:57px;z-index:250;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #ffe0b2;padding:10px 20px}
.chapter-inner{max-width:1120px;margin:0 auto;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.chapter-inner a{font-size:.82rem;padding:6px 14px;border:1px solid #e0e0e0;border-radius:999px;color:#555;background:#fafafa;transition:.15s;white-space:nowrap}
.chapter-inner a:hover,.chapter-inner a.is-active{background:linear-gradient(90deg,#e0f7fa,#ffe0b2);border-color:#80deea;color:#006064;text-decoration:none;font-weight:600}

.panel-stack{max-width:1120px;margin:0 auto;padding:0 20px 48px}

.wave-panel{margin-top:28px;padding:32px 28px;border-radius:16px;border:1px solid #e0e0e0;position:relative;overflow:hidden}
.wave-panel::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#00838f,#4dd0e1,#ff7043,#ffab91,#00838f)}
.wave-panel:nth-child(even){background:#fffaf7}
.wave-panel:nth-child(odd){background:#fff}

.panel-head{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px}
.panel-num{flex-shrink:0;width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#00838f,#ff7043);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem}
.panel-head h2{font-size:1.2rem;color:#111;line-height:1.4;flex:1;padding-top:6px}

.wave-panel p{margin-bottom:12px;color:#333;font-size:.97rem;text-align:justify}
.wave-panel p:last-child{margin-bottom:0}

.panel-split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin-top:16px}
.panel-split figure{border:1px solid #eee;border-radius:10px;overflow:hidden}
.panel-split figcaption{font-size:.8rem;color:#666;padding:8px 12px;background:#fafafa}

.note-strip{margin:16px 0;padding:14px 18px;background:#e0f7fa;border-left:4px solid #00838f;border-radius:0 8px 8px 0;font-size:.93rem;color:#004d40}
.coral-strip{margin:16px 0;padding:14px 18px;background:#fff3e0;border-left:4px solid #ff7043;border-radius:0 8px 8px 0;font-size:.93rem;color:#bf360c}
.twin-boxes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.twin-box{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:16px 18px}
.twin-box h3{font-size:.95rem;color:#00838f;margin-bottom:8px}
.twin-box.coral h3{color:#ff7043}
.twin-box ul{margin-left:18px;color:#444;font-size:.9rem}
.twin-box li{margin-bottom:4px}

.faq-block{margin-top:36px;padding:28px;background:linear-gradient(135deg,#e0f7fa,#fff5f0);border-radius:16px;border:1px solid #e0e0e0}
.faq-block h2{font-size:1.2rem;margin-bottom:16px;color:#111}
.faq-block details{border:1px solid #ddd;border-radius:8px;margin-bottom:8px;background:#fff}
.faq-block summary{padding:12px 16px;cursor:pointer;font-weight:500;color:#222;list-style:none}
.faq-block summary::-webkit-details-marker{display:none}
.faq-block details[open] summary{border-bottom:1px solid #eee;background:#fafafa}
.faq-block details p{padding:12px 16px;color:#444;font-size:.94rem}

.closing-band{margin-top:32px;padding:24px 28px;background:linear-gradient(135deg,#e0f7fa,#ffe0b2);border:1px solid #b2ebf2;border-radius:16px}
.closing-band h2{font-size:1.1rem;margin-bottom:12px;color:#111}
.closing-band p{margin-bottom:10px;color:#333;font-size:.95rem}

.site-footer{background:#fafafa;border-top:1px solid #eee;padding:28px 20px;text-align:center;font-size:.88rem;color:#666}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:10px}
.footer-links a{color:#555}

.prose-page{max-width:720px;margin:0 auto;padding:32px 20px 48px}
.prose-page h1{font-size:1.5rem;margin-bottom:16px}
.prose-page p{margin-bottom:12px;color:#333}
.error-page{text-align:center;padding:48px 20px 24px}
.error-page h1{font-size:3rem;color:#00838f}

@media(max-width:860px){
  .panel-split,.twin-boxes{grid-template-columns:1fr}
  .nav-toggle{display:flex}
  .site-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #eee;padding:12px 20px;display:none}
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column;gap:10px}
  .chapter-bar{top:52px}
  .chapter-inner{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;-webkit-overflow-scrolling:touch}
}
