@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Noto+Sans:wght@300;400;500;600;700&display=swap');

:root{
  --blue:#3bb1ff;
  --red:#ff5252;
  --ink:#000000;
  --paper:#f2efe9;
  --edge:3px solid #000000;
  --hard:5px 5px 0 #000000;
  --hard-sm:3px 3px 0 #000000;
}

*,*::before,*::after{box-sizing:border-box;}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Be Vietnam Pro','Noto Sans',system-ui,-apple-system,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.68;
  font-weight:400;
  overflow-x:hidden;
}

img{max-width:100%;height:auto;display:block;}

a{color:inherit;}

button{font:inherit;cursor:pointer;}

:focus-visible{outline:3px solid var(--red);outline-offset:3px;}

.nav-toggle{
  position:absolute;
  top:0;left:0;
  width:1px;height:1px;
  opacity:0;
  pointer-events:none;
}

/* ---------- 顶栏（两行） ---------- */
.top{
  background:#ffffff;
  border-bottom:var(--edge);
  position:relative;
  z-index:20;
}

.top-brand{
  background:var(--blue);
  border-bottom:var(--edge);
  padding:10px 16px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:800;
  font-size:clamp(1.4rem,6vw,2.05rem);
  line-height:1.15;
  letter-spacing:-.02em;
  max-width:100%;
}

.brand-dot{
  width:16px;height:16px;
  background:var(--red);
  border:var(--edge);
  display:inline-block;
  flex:0 0 auto;
}

.brand-img,.brand img{
  width:44px;height:44px;
  object-fit:cover;
  border:var(--edge);
}

.brand-txt{overflow-wrap:anywhere;}

.top-bar{
  display:flex;
  align-items:stretch;
  gap:10px;
  padding:10px 16px;
  flex-wrap:wrap;
}

.find{
  display:flex;
  flex:1 1 180px;
  min-width:0;
}

.find-in{
  flex:1 1 auto;
  min-width:0;
  min-height:44px;
  padding:0 12px;
  font:inherit;
  font-size:16px;
  color:var(--ink);
  background:#ffffff;
  border:var(--edge);
  border-right:none;
  border-radius:0;
}

.find-in::placeholder{color:#5a5a5a;}

.find-btn{
  flex:0 0 auto;
  min-height:44px;
  padding:0 14px;
  background:var(--blue);
  border:var(--edge);
  font-weight:700;
  font-size:16px;
  letter-spacing:.02em;
}

.find-btn:hover{background:var(--red);}

.burger{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:0 14px;
  background:var(--red);
  border:var(--edge);
  box-shadow:var(--hard-sm);
  font-weight:700;
  font-size:16px;
  cursor:pointer;
  user-select:none;
}

.burger:active{transform:translate(3px,3px);box-shadow:0 0 0 #000;}

.burger-bars{
  width:18px;height:3px;
  background:#000;
  box-shadow:0 -6px 0 #000,0 6px 0 #000;
}

/* ---------- 全屏遮罩菜单 ---------- */
.drawer{
  position:fixed;
  inset:0;
  z-index:60;
  background:#000000;
  color:#ffffff;
  padding:16px 16px 28px;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:18px;
  overflow-y:auto;
  transform:translateY(-102%);
  transition:transform .3s cubic-bezier(.2,.8,.3,1);
}

.nav-toggle:checked ~ .drawer{transform:translateY(0);}

.drawer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-bottom:3px solid var(--blue);
  padding-bottom:12px;
}

.drawer-mark{
  margin:0;
  font-weight:800;
  font-size:19px;
  letter-spacing:-.01em;
  color:var(--blue);
}

.drawer-x{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 16px;
  background:var(--red);
  color:#000;
  border:3px solid #ffffff;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
}

.drawer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  align-content:start;
  padding-bottom:20px;
}

.drawer-item{
  display:flex;
  align-items:center;
  min-height:54px;
  padding:10px 12px;
  background:var(--blue);
  color:#000000;
  border:3px solid #ffffff;
  box-shadow:4px 4px 0 var(--red);
  border-radius:10px;
  font-weight:700;
  font-size:16px;
  line-height:1.3;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.drawer-item:nth-child(even){background:#ffffff;}

.drawer-item:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--red);}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:45vh;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  background:var(--blue);
  border-bottom:var(--edge);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 34px),0 100%);
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  top:14px;left:14px;
  width:52px;height:52px;
  background:var(--red);
  border:var(--edge);
  z-index:2;
}

.hero-media{position:absolute;inset:-10% 0 0;}

.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.3);
}

.hero-img{
  width:100%;height:100%;
  object-fit:cover;
  will-change:transform;
}

.hero-copy{
  position:relative;
  z-index:3;
  padding:18px 16px 46px;
  text-align:right;
  max-width:100%;
}

.hero-h1{
  margin:0;
  font-size:clamp(1.75rem,7vw,3.4rem);
  line-height:1.14;
  font-weight:800;
  letter-spacing:-.02em;
  color:#ffffff;
  text-shadow:2px 0 0 #000,-2px 0 0 #000,0 2px 0 #000,0 -2px 0 #000,2px 2px 0 #000,-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000;
  overflow-wrap:anywhere;
}

.hero-band{
  position:absolute;
  left:0;right:0;bottom:0;
  height:14px;
  background:var(--red);
  border-top:var(--edge);
  z-index:4;
}

/* ---------- 主区 ---------- */
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:26px 16px 44px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 286px;
  gap:28px;
  align-items:start;
}

.col-main{min-width:0;}

.prose{
  background:#ffffff;
  border:var(--edge);
  border-radius:10px;
  box-shadow:var(--hard);
  padding:22px 18px 8px;
  overflow-wrap:anywhere;
}

.prose section{
  padding-bottom:22px;
  margin-bottom:26px;
  border-bottom:4px solid var(--ink);
  scroll-margin-top:20px;
}

.prose section:last-child{
  border-bottom:none;
  padding-bottom:6px;
  margin-bottom:6px;
}

.prose h2{
  margin:0 0 12px;
  padding-left:12px;
  border-left:10px solid var(--blue);
  font-size:clamp(1.3rem,4.4vw,1.85rem);
  line-height:1.28;
  font-weight:800;
  letter-spacing:-.01em;
}

.prose h3{
  margin:20px 0 8px;
  font-size:1.12rem;
  font-weight:800;
  border-bottom:3px solid var(--red);
  display:inline-block;
  padding-bottom:2px;
}

.prose p{margin:0 0 14px;}

.prose a{
  color:#000;
  text-decoration:underline;
  text-decoration-thickness:3px;
  text-decoration-color:var(--red);
  text-underline-offset:3px;
}

.prose a:hover{background:var(--blue);}

.prose ul,.prose ol{margin:0 0 14px;padding-left:24px;}

.prose li{margin-bottom:8px;}

.prose img{
  border:var(--edge);
  border-radius:10px;
  margin:16px 0;
}

.prose blockquote{
  margin:16px 0;
  padding:12px 14px;
  background:var(--blue);
  border:var(--edge);
  border-radius:10px;
}

.prose blockquote p:last-child{margin-bottom:0;}

.prose table{
  width:100%;
  border-collapse:collapse;
  margin:16px 0;
  font-size:16px;
}

.prose th,.prose td{
  border:2px solid #000;
  padding:8px 10px;
  text-align:left;
  vertical-align:top;
}

.prose th{background:var(--blue);font-weight:700;}

.prose code{
  background:#000;
  color:var(--blue);
  padding:1px 5px;
  font-size:15px;
}

.prose pre{
  background:#000;
  color:#f2efe9;
  border:var(--edge);
  border-radius:10px;
  padding:14px;
  overflow-x:auto;
}

.prose pre code{background:none;color:inherit;padding:0;}

.prose hr{border:none;border-top:3px dashed #000;margin:22px 0;}

/* ---------- 右侧栏 ---------- */
.rail{
  display:grid;
  gap:18px;
  align-self:start;
  position:sticky;
  top:16px;
}

.rail-box{
  background:var(--blue);
  border:var(--edge);
  border-radius:10px;
  box-shadow:var(--hard);
  padding:16px 14px 18px;
}

.rail-h{
  margin:0;
  font-size:1.18rem;
  font-weight:800;
  letter-spacing:-.01em;
}

.subtitle{
  margin:4px 0 14px;
  font-size:16px;
  font-weight:600;
  line-height:1.4;
}

.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}

.rail-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:6px 10px;
  background:#ffffff;
  border:2px solid #000;
  border-radius:8px;
  font-size:16px;
  font-weight:600;
  line-height:1.35;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.rail-list a:hover{background:var(--red);}

.to-top{
  min-height:46px;
  background:#000;
  color:#ffffff;
  border:var(--edge);
  border-radius:10px;
  box-shadow:var(--hard);
  font-weight:700;
  font-size:16px;
  letter-spacing:.04em;
}

.to-top:active{transform:translate(3px,3px);box-shadow:0 0 0 #000;}

/* ---------- 页脚 ---------- */
.foot{
  margin-top:20px;
  background:#000000;
  color:#ffffff;
  border-top:8px solid var(--red);
}

.foot-big{
  margin:0;
  padding:18px 16px 4px;
  font-size:clamp(2.4rem,13vw,7rem);
  line-height:.98;
  font-weight:800;
  letter-spacing:-.035em;
  color:var(--blue);
  overflow-wrap:anywhere;
}

.foot-mid{
  max-width:1180px;
  margin:0 auto;
  padding:12px 16px 20px;
  display:flex;
  flex-wrap:wrap;
  gap:18px 32px;
  justify-content:space-between;
  border-top:3px solid var(--blue);
}

.foot-addr{
  font-style:normal;
  display:grid;
  gap:2px;
  font-size:16px;
  line-height:1.5;
}

.foot-addr-name{font-weight:800;}

.foot-addr-host{color:var(--blue);overflow-wrap:anywhere;}

.foot-nav{flex:1 1 260px;}

.foot-nav dl{
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:2px 14px;
}

.foot-nav dt,.foot-nav dd{margin:0;}

.foot-nav a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:16px;
  color:#ffffff;
  text-decoration:none;
  border-bottom:3px solid var(--blue);
}

.foot-nav a:hover{color:var(--blue);}

.foot-base{
  max-width:1180px;
  margin:0 auto;
  padding:12px 16px 26px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  align-items:center;
  justify-content:space-between;
  border-top:3px solid #ffffff;
}

.copy{margin:0;font-size:16px;color:var(--blue);font-weight:700;overflow-wrap:anywhere;}

.foot-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
}

.foot-links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:16px;
  text-decoration:none;
  border-bottom:2px solid var(--red);
}

.foot-links a:hover{color:var(--red);}

/* ---------- 滚动浮现 ---------- */
.js .prose section{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .5s ease,transform .5s ease;
}

.js .prose section.in{
  opacity:1;
  transform:none;
}

/* ---------- 断点 ---------- */
@media (max-width:880px){
  .wrap{
    grid-template-columns:minmax(0,1fr);
    gap:22px;
    padding-top:20px;
  }
  .rail{position:static;}
  .prose{padding:18px 14px 6px;}
}

@media (max-width:560px){
  body{font-size:16px;}
  .hero{min-height:44vh;}
  .hero::before{width:38px;height:38px;top:10px;left:10px;}
  .drawer-grid{grid-template-columns:1fr;}
  .foot-big{padding-left:14px;padding-right:14px;}
  .foot-mid,.foot-base{padding-left:14px;padding-right:14px;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .drawer{transition:none;}
  .js .prose section{opacity:1;transform:none;transition:none;}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

button[aria-expanded]{min-width:44px;min-height:44px}
