@charset "UTF-8";

:root{
  --board-bg:#f6f8fb;
  --board-surface:#ffffff;
  --board-surface-2:#f0f5f7;
  --board-text:#101828;
  --board-sub:#667085;
  --board-line:#dfe7ee;
  --board-primary:#5fa8ff;
  --board-primary-dark:#356fb8;
  --board-dark:#111827;
  --board-warning:#f59e0b;
  --board-danger:#ef4444;
  --board-success:#10b981;
  --board-shadow:0 14px 36px rgba(16,24,40,.08);
}

.board-page{
  min-height:100vh;
  margin:0;
  background:var(--board-bg);
  color:var(--board-text);
  font-family:var(--bc-font-sans);
  padding-bottom:84px;
}

.board-page a{color:inherit;text-decoration:none;}
.board-page button{font:inherit;}

.board-header{
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(223,231,238,.86);
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
}

.board-header-inner{
  max-width:1320px;
  height:68px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:18px;
}

.board-logo{display:inline-flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.04em;white-space:nowrap;}
.board-logo span{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:var(--board-dark);color:#fff;}
.board-logo strong{font-size:22px;}

.board-search{
  flex:1 1 auto;
  min-width:220px;
  max-width:560px;
  height:46px;
  display:flex;
  align-items:center;
  padding:0 8px 0 16px;
  border:1.6px solid var(--board-primary);
  border-radius:14px;
  background:#fff;
}
.board-search input{flex:1 1 auto;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--board-text);font-size:.94rem;}
.board-search input::placeholder{color:#98a2b3;}
.board-search button{width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:var(--board-text);font-size:1.18rem;}

.board-top-actions{display:flex;align-items:center;gap:10px;white-space:nowrap;}
.board-top-actions a,.board-top-actions button,.write-link{
  min-height:38px;
  padding:0 13px;
  border:1px solid var(--board-line);
  border-radius:12px;
  background:#fff;
  color:var(--board-text);
  font-weight:600;
  font-size:.86rem;
}
.write-link{border-color:var(--board-primary);background:#eef7ff;color:var(--board-primary-dark);}

.board-shell{max-width:1320px;margin:0 auto;padding:24px 24px 96px;}

.board-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:18px;
  align-items:stretch;
}

.board-hero-copy{
  position:relative;
  overflow:hidden;
  min-height:280px;
  border-radius:24px;
  padding:36px;
  background:
    radial-gradient(circle at 86% 22%, rgba(0,166,178,.24), transparent 32%),
    linear-gradient(135deg,#101828,#356fb8);
  color:#fff;
  box-shadow:var(--board-shadow);
}
.board-hero-copy::after{content:"";position:absolute;right:-80px;bottom:-90px;width:280px;height:280px;border-radius:50%;border:40px solid rgba(255,255,255,.08);}
.board-hero-copy span{display:inline-flex;margin-bottom:12px;color:rgba(255,255,255,.72);font-size:.72rem;font-weight:700;letter-spacing:.1em;}
.board-hero-copy h1{position:relative;z-index:1;max-width:780px;margin:0;color:#fff;font-size:clamp(2rem,4.8vw,3.5rem);line-height:1.12;font-weight:700;letter-spacing:-.06em;}
.board-hero-copy p{position:relative;z-index:1;max-width:640px;margin:14px 0 0;color:rgba(255,255,255,.78);line-height:1.65;}
.board-hero-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}

.board-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 15px;
  border:1px solid var(--board-line);
  border-radius:12px;
  background:#fff;
  color:var(--board-text);
  font-weight:700;
  cursor:pointer;
}
.board-btn.primary{border-color:transparent;background:var(--board-primary);color:#fff;}
.board-btn.ghost{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28);color:#fff;}
.board-right-panel .board-btn.ghost{background:#fff;color:var(--board-text);border-color:var(--board-line);}

.board-hero-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  border:1px solid var(--board-line);
  border-radius:24px;
  padding:18px;
  background:var(--board-surface);
  box-shadow:var(--board-shadow);
}
.board-hero-card div{display:flex;flex-direction:column;justify-content:space-between;min-height:112px;padding:18px;border:1px solid var(--board-line);border-radius:18px;background:var(--board-surface-2);}
.board-hero-card strong{color:var(--board-sub);font-size:.82rem;}
.board-hero-card span{font-size:2rem;font-weight:700;letter-spacing:-.05em;color:var(--board-primary-dark);}

.board-system-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;}
.board-system-strip article{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:16px;border:1px solid var(--board-line);border-radius:18px;background:var(--board-surface);box-shadow:0 8px 24px rgba(16,24,40,.05);}
.board-system-strip i{grid-row:1/3;width:42px;height:42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;background:#eef7ff;color:var(--board-primary-dark);font-size:1.16rem;}
.board-system-strip strong{display:block;font-weight:700;}
.board-system-strip span{display:block;color:var(--board-sub);font-size:.78rem;line-height:1.45;}

.board-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 310px;gap:18px;margin-top:22px;align-items:start;}
.board-sidebar,.board-feed,.board-right-panel section{border:1px solid var(--board-line);border-radius:20px;background:var(--board-surface);box-shadow:0 8px 24px rgba(16,24,40,.05);}
.board-sidebar{position:sticky;top:88px;padding:14px;display:grid;gap:8px;}
.board-side-title{padding:8px 8px 12px;}
.board-side-title strong{display:block;font-size:1.1rem;font-weight:700;}
.board-side-title span{display:block;margin-top:4px;color:var(--board-sub);font-size:.8rem;}
.board-channel{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:48px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--board-text);text-align:left;padding:0 10px;cursor:pointer;}
.board-channel i{width:34px;height:34px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:var(--board-surface-2);color:var(--board-primary-dark);}
.board-channel span{font-weight:700;}
.board-channel em{font-style:normal;color:var(--board-sub);font-size:.8rem;font-weight:600;}
.board-channel.active,.board-channel:hover{border-color:#a5edf2;background:#eef7ff;}

.board-feed{padding:18px;}
.board-feed-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:14px;}
.board-feed-head h2{margin:0;font-size:1.45rem;font-weight:700;letter-spacing:-.04em;}
.board-feed-head p{margin:5px 0 0;color:var(--board-sub);font-size:.9rem;}
.board-sort-row{display:flex;gap:7px;flex-wrap:wrap;}
.board-sort-row button{min-height:34px;padding:0 11px;border:1px solid var(--board-line);border-radius:11px;background:#fff;color:var(--board-text);font-size:.8rem;font-weight:700;}
.board-sort-row button.active,.board-sort-row button:hover{background:var(--board-dark);border-color:var(--board-dark);color:#fff;}

.board-post-card{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:14px;padding:17px 0;border-top:1px solid var(--board-line);}
.board-post-card:first-of-type{border-top:0;}
.board-post-card.pinned{margin-bottom:4px;padding:16px;border:1px solid #a5edf2;border-radius:16px;background:#eef7ff;}
.post-main h3{margin:7px 0 6px;font-size:1.08rem;font-weight:700;line-height:1.4;letter-spacing:-.03em;}
.post-main h3 a:hover{color:var(--board-primary-dark);}
.post-main p{margin:0;color:#475467;font-size:.9rem;line-height:1.55;}
.post-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:8px;font-size:.73rem;font-weight:700;}
.post-badge.notice{background:#111827;color:#fff;}
.post-badge.question{background:#e0f2fe;color:#0369a1;}
.post-badge.request{background:#fef3c7;color:#b45309;}
.post-badge.resource{background:#e9d5ff;color:#7e22ce;}
.post-badge.meetup{background:#dcfce7;color:#047857;}
.post-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;color:var(--board-sub);font-size:.78rem;font-weight:600;}
.post-meta span{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:var(--board-surface-2);}
.post-stats{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:6px;text-align:right;}
.post-stats strong{color:var(--board-primary-dark);font-size:.92rem;font-weight:700;}
.post-stats span{color:var(--board-sub);font-size:.8rem;}

.board-right-panel{display:grid;gap:14px;}
.board-right-panel section{padding:18px;}
.board-write-card span{display:block;color:var(--board-primary-dark);font-size:.72rem;font-weight:700;letter-spacing:.1em;}
.board-write-card h2,.board-moderation-card h2,.board-chat-card h2{margin:6px 0 8px;font-size:1.15rem;font-weight:700;letter-spacing:-.04em;}
.board-write-card p,.board-chat-card p{color:var(--board-sub);font-size:.86rem;line-height:1.6;}
.board-write-card .board-btn,.board-chat-card .board-btn{width:100%;margin-top:10px;}
.board-moderation-card{display:grid;gap:8px;}
.board-moderation-card a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;min-height:44px;padding:8px;border:1px solid var(--board-line);border-radius:13px;background:var(--board-surface-2);}
.board-moderation-card i{width:34px;height:34px;border-radius:10px;background:#fff;color:var(--board-primary-dark);display:inline-flex;align-items:center;justify-content:center;}
.board-moderation-card span{font-weight:700;font-size:.86rem;}

.board-floating-write{position:fixed;right:22px;bottom:88px;z-index:1001;width:56px;height:56px;border-radius:18px;background:var(--board-dark);color:#fff;display:none;align-items:center;justify-content:center;box-shadow:0 14px 30px rgba(16,24,40,.22);font-size:1.35rem;}
.board-bottom-nav{display:none;}

.board-page.amoled{--board-bg:#000;--board-surface:#080b10;--board-surface-2:#10151d;--board-text:#f4f6f8;--board-sub:#98a2b3;--board-line:#1f2937;--board-shadow:none;}
.board-page.amoled .board-header{background:rgba(0,0,0,.92);}
.board-page.amoled .board-search,.board-page.amoled .board-top-actions a,.board-page.amoled .board-top-actions button,.board-page.amoled .board-sort-row button{background:#080b10;color:var(--board-text);}
.board-page.amoled .board-post-card.pinned{background:#06252a;}

@media(max-width:1120px){
  .board-hero{grid-template-columns:1fr;}
  .board-layout{grid-template-columns:210px minmax(0,1fr);}
  .board-right-panel{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:820px){
  .board-page{padding-bottom:86px;}
  .board-header-inner{height:auto;min-height:64px;padding:10px 13px;display:grid;grid-template-columns:1fr auto;gap:10px;}
  .board-logo strong{font-size:1.18rem;}
  .board-search{grid-column:1/-1;order:3;max-width:none;width:100%;height:44px;}
  .board-top-actions{justify-content:flex-end;}
  .board-top-actions a{display:none;}
  .board-top-actions button{min-height:34px;padding:0 10px;font-size:.8rem;}
  .board-top-actions .write-link{display:none;}
  .board-shell{padding:14px 12px 100px;}
  .board-hero-copy{min-height:250px;border-radius:18px;padding:24px 20px;}
  .board-hero-copy h1{font-size:2rem;}
  .board-hero-actions .board-btn{flex:1 1 auto;}
  .board-hero-card{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;border-radius:18px;padding:10px;}
  .board-hero-card div{min-height:74px;padding:10px;border-radius:13px;}
  .board-hero-card strong{font-size:.68rem;}
  .board-hero-card span{font-size:1.28rem;}
  .board-system-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .board-system-strip article{grid-template-columns:34px minmax(0,1fr);padding:12px;border-radius:14px;}
  .board-system-strip i{width:34px;height:34px;border-radius:10px;font-size:1rem;}
  .board-system-strip span{display:none;}
  .board-layout{display:block;margin-top:16px;}
  .board-sidebar{position:static;display:flex;gap:8px;overflow-x:auto;padding:0 0 10px;border:0;background:transparent;box-shadow:none;scrollbar-width:none;}
  .board-sidebar::-webkit-scrollbar{display:none;}
  .board-side-title{display:none;}
  .board-channel{grid-template-columns:28px auto;min-width:max-content;min-height:42px;border:1px solid var(--board-line);background:#fff;padding:0 12px;border-radius:13px;}
  .board-channel i{width:28px;height:28px;font-size:.88rem;}
  .board-channel em{display:none;}
  .board-feed{padding:14px;border-radius:18px;}
  .board-feed-head{display:block;}
  .board-sort-row{margin-top:12px;}
  .board-post-card{grid-template-columns:1fr;padding:15px 0;}
  .board-post-card.pinned{padding:14px;}
  .post-main h3{font-size:1rem;}
  .post-stats{flex-direction:row;align-items:center;justify-content:space-between;text-align:left;}
  .board-right-panel{grid-template-columns:1fr;margin-top:14px;}
  .board-floating-write{display:flex;}
  .board-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:grid;grid-template-columns:repeat(5,1fr);height:66px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--board-line);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);}
  .board-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#667085;font-size:.72rem;font-weight:600;}
  .board-bottom-nav i{font-size:1.18rem;}
  .board-bottom-nav a.active{color:var(--board-primary-dark);}
  .board-page.amoled .board-bottom-nav{background:rgba(0,0,0,.94);}
  .board-page.amoled .board-channel{background:#080b10;}
}

.post-badge.guide{background:#111827;color:#fff;}
.board-chat-card .board-btn + .board-btn{margin-top:8px;}
@media(max-width:820px){
  .board-bottom-nav{grid-template-columns:repeat(7,1fr);}
  .board-bottom-nav a{font-size:.68rem;}
}

/* v210 common app bottom nav */
@media(max-width:820px){.board-bottom-nav{grid-template-columns:repeat(5,1fr)!important;}}
