:root {
  --ink: #172438;
  --muted: #718096;
  --green: #65cdbf;
  --green2: #e2f7f3;
  --paper: #f4f7fb;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(26, 43, 65, .07);
  --shadow-hover: 0 22px 54px rgba(26, 43, 65, .12);
}
html { scroll-behavior: smooth; }
body { background: radial-gradient(ellipse at 85% 0%, #e8f8f6 0, transparent 32rem), var(--paper); color: var(--ink); }
.shell { max-width: 1380px; }
header.shell { position: relative; z-index: 10; }
.topbar { height: 78px; border-bottom-color: rgba(26, 43, 65, .08); }
.brand { letter-spacing: -1.1px; font-size: 23px; }
.brandmark { width: 36px; height: 36px; border-radius: 12px; background: var(--green); box-shadow: 0 6px 16px color-mix(in srgb, var(--green) 34%, transparent); }
.brand img { max-width: 190px !important; height: 38px !important; }
.nav { gap: 8px; }
.nav a { padding: 10px 13px; border-radius: 10px; transition: background .18s, color .18s; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.82); color: var(--ink); }
.actions { gap: 9px; }
.btn { border-radius: 12px; padding: 12px 18px; box-shadow: 0 5px 14px rgba(23,36,56,.08); }
.btn.light { background: rgba(255,255,255,.9); }
.btn.lime { background: var(--green); color: #102a34; }
.btn.lime:hover { background: color-mix(in srgb, var(--green) 84%, white); }
.avatar { background: #e0f4f0; color: #23655d; }
.hero { padding: 68px 0 42px; gap: clamp(32px,6vw,82px); }
.hero h1 { font-size: clamp(46px,6vw,78px); letter-spacing: -4.3px; }
.hero h1 span { color: #348f87; }
.hero p { max-width: 570px; font-size: 17px; }
.hero-card { min-height: 250px; background: linear-gradient(135deg, var(--green), #c6f1e9 72%, #d9eefb); box-shadow: var(--shadow); }
.hero-card:after { color: rgba(18, 52, 67, .08); }
.stack span { border: 1px solid rgba(255,255,255,.65); }
.toolbar { margin: 16px 0 24px; }
.tabs { gap: 5px; }
.tab { border-radius: 11px; }
.search { border-color: rgba(26,43,65,.08); border-radius: 13px; box-shadow: 0 6px 22px rgba(26,43,65,.035); }
.search:focus-within { border-color: color-mix(in srgb, var(--green) 70%, #568bba); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 20%, transparent); }
.content { gap: 24px; }
.side { align-self: start; }
.panel, .card { border-color: rgba(29,48,71,.075); border-radius: 19px; box-shadow: var(--shadow); }
.panel { padding: 21px; }
.panel h3 { font-size: 14px; letter-spacing: -.2px; }
.catlist a { padding: 9px 10px; border-radius: 10px; }
.catlist a:hover, .catlist a.active { background: #e7f6f3; color: #286e68; }
.catlist em { min-width: 22px; text-align: right; }
.latest-list a { padding: 10px; border-radius: 10px; }
.latest-list a:hover { background: #f1f8f8; }
.cta { background: linear-gradient(145deg, #172438, #243c56); }
.cta .btn { box-shadow: none; }
.card { padding: 20px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h2 { font-size: 19px; line-height: 1.32; }
.card h2 a:hover { color: #287f78; }
.card p { color: #687a90; }
.category { color: #28736d; background: #e7f6f3; border-radius: 9px; }
.domain { color: #657b8c; }
.favicon { border-radius: 6px; }
.cardfoot { border-top-color: #edf1f5; }
.iconbtn { border-radius: 9px; transition: background .16s, color .16s; }
.iconbtn:hover, .iconbtn.on { color: #24776f; background: #e4f6f2; }
.by .avatar { background: #e4f5f2; }
.pagewrap { max-width: 1100px; }
.pagehead { margin-bottom: 30px; }
.pagehead h1 { font-size: clamp(34px,5vw,48px); letter-spacing: -1.8px; }
.formcard, .authcard { border-color: rgba(29,48,71,.075); border-radius: 22px; box-shadow: var(--shadow); }
.formcard { padding: clamp(24px,4vw,36px); }
.field label { color: #273b52; }
.field input, .field textarea, .field select { background: #fbfcfe; border-color: #dfe6ee; border-radius: 11px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #63bdb3; box-shadow: 0 0 0 4px rgba(101,205,191,.16); }
.authwrap { max-width: 480px; margin: 72px auto 100px; }
.authcard { padding: clamp(25px,6vw,38px); }
.authcard h1 { font-size: 34px; letter-spacing: -1.5px; }
.authcard>p { line-height: 1.65; }
.authcard .brand { margin-bottom: 30px !important; }
.authcard .btn { min-height: 48px; }
.profilehead { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.profilehead .avatar { box-shadow: inset 0 0 0 1px rgba(35,101,93,.08); }
.detail-content { align-items: start; }
.detail-card { padding: clamp(24px,4vw,48px) !important; }
.detail-card h1 { line-height: 1.08 !important; }
.detail-card h1 a { text-decoration: underline; text-decoration-color: rgba(52,143,135,.25); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.detail-card h1 a:hover { color: #287f78; text-decoration-color: currentColor; }
.detail-card>p { color: #64768b !important; }
.detail-card .domain { display: inline-flex; background: #f3f8fa; border-radius: 9px; padding: 8px 11px; }
.detail-card .cardfoot { margin-top: 22px; padding-top: 18px; }
.notice { border: 1px solid var(--line); box-shadow: var(--shadow); }
.toast { border: 1px solid rgba(53,116,78,.1); border-radius: 12px; }
.toast.error { border-color: rgba(162,62,49,.12); }
.foot { border-top-color: rgba(29,48,71,.1); padding: 27px 0; }
@media (max-width: 960px) {
  .hero { padding-top: 52px; }
  .content { gap: 18px; }
  .side .panel { padding: 17px; }
}
@media (max-width: 760px) {
  .topbar { height: 68px; }
  .hero { padding: 42px 0 28px; }
  .hero h1 { letter-spacing: -2.7px; }
  .hero-card { min-height: 205px; }
  .detail-card { padding: 23px !important; }
  .authwrap { margin: 42px auto 70px; }
}
@media (max-width: 480px) {
  .shell { padding-left: 15px; padding-right: 15px; }
  .hero h1 { font-size: 43px; }
  .actions .btn.small { padding: 9px 10px; }
  .card { padding: 17px; }
  .detail-card { padding: 18px !important; }
}
