/* HEMENG Digital Space — shared visual layer */
:root{
  --space-ink:#29272f;
  --space-paper:#fffdf8;
  --space-cream:#fff8f3;
  --space-rose:#ef8d9e;
  --space-yellow:#ffdf83;
  --space-blue:#cce8ec;
  --space-purple:#e8def5;
  --space-line:rgba(54,45,58,.18);
  --space-shadow:7px 8px 0 rgba(41,39,47,.92);
  --space-soft-shadow:0 18px 50px rgba(74,54,73,.10);
}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{
  background-color:var(--space-cream)!important;
  background-image:
    radial-gradient(circle at 8% 12%,rgba(239,141,158,.17),transparent 24rem),
    radial-gradient(circle at 92% 30%,rgba(153,173,222,.16),transparent 27rem),
    radial-gradient(rgba(41,39,47,.075) .8px,transparent 1px)!important;
  background-size:auto,auto,15px 15px!important;
  color:var(--space-ink);
}
.site-header,.topbar,header{
  background:rgba(255,253,248,.90)!important;
  border-bottom:2px solid var(--space-ink)!important;
  box-shadow:0 4px 0 rgba(41,39,47,.07)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.header-inner,.header-inner a,.topbar-inner{min-height:64px}
.brand img{border-radius:10px}
.hero,.hero-wrap,.container,.tool-inner,.main-content{
  isolation:isolate;
}
.hero{
  border-radius:8px!important;
  box-shadow:var(--space-shadow)!important;
}
.kicker,.hero-label,.hero-label,.world-index{
  letter-spacing:1.5px;
}
.tool-card,.world-card,.tool-zone,.panel,.tool-card a{
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.tool-card,.world-card{
  border-radius:8px!important;
  box-shadow:5px 5px 0 var(--space-ink)!important;
}
.tool-card:hover,.world-card:hover{
  transform:translateY(-4px)!important;
  box-shadow:8px 9px 0 var(--space-ink)!important;
}
button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--space-rose)!important;
  outline-offset:4px;
}
::selection{background:var(--space-yellow);color:var(--space-ink)}
/* Secondary pages share one spatial frame */
body:has(.topbar) .hero,
body:has(.back) .hero{
  border-radius:8px;
}
.topbar-inner{
  max-width:1240px!important;
  min-height:68px!important;
}
.topbar .brand{letter-spacing:.5px}
.topbar .back,header .back{
  padding:9px 13px;
  border:1.5px solid var(--space-ink);
  border-radius:5px;
  background:var(--space-paper);
  box-shadow:3px 3px 0 var(--space-ink);
  font-weight:850;
}
.topbar .back:hover,header .back:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--space-ink)}
/* Tool center */
.tools-grid,.tool-grid{gap:20px!important}
.tool-card{
  background:rgba(255,253,248,.94)!important;
  border:2px solid var(--space-ink)!important;
  padding:23px!important;
}
.tool-card:nth-child(4n+1){background:#fff0c4!important}
.tool-card:nth-child(4n+2){background:#e5f1f2!important}
.tool-card:nth-child(4n+3){background:#f8e4e8!important}
.tool-card:nth-child(4n){background:#eee7f7!important}
.future{
  border:2px dashed var(--space-ink)!important;
  border-radius:8px!important;
  background:rgba(255,253,248,.8)!important;
}
footer{
  background:rgba(255,253,248,.92)!important;
  border-top:2px solid var(--space-ink)!important;
}
/* Audio/video workspace */
body:has(.topbar) .hero{
  max-width:1120px;
  margin:34px auto 26px;
  background:
    radial-gradient(rgba(41,39,47,.12) .8px,transparent 1px) 0 0/12px 12px,
    linear-gradient(118deg,#ffe49a 0 54%,#f6cbd2 54% 76%,#cce8ec 76%)!important;
}
body:has(.topbar) .container{max-width:1120px}
body:has(.topbar) .panel{
  border-radius:8px!important;
  box-shadow:var(--space-shadow)!important;
}
body:has(.topbar) .tab{
  border-radius:6px!important;
  min-height:64px;
}
body:has(.topbar) .tab:hover{transform:translateY(-2px)}
body:has(.topbar) .primary,body:has(.topbar) .secondary{
  border-radius:5px!important;
}
@media(max-width:700px){
  .topbar-inner{padding-inline:15px!important}
  body:has(.topbar) .hero{margin:20px 13px 18px}
  .tool-card,.world-card{box-shadow:4px 4px 0 var(--space-ink)!important}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}

/* =========================================
   RESPONSIVE SYSTEM · Desktop + Tablet
   Mobile-first baseline is preserved.
========================================= */

/* Wide desktop: use the available canvas instead of enlarging mobile layouts. */
@media (min-width: 1200px) {
  body:has(.world-grid) .header-inner,
  body:has(.world-grid) .hero-wrap,
  body:has(.world-grid) .section,
  body:has(.world-grid) .tool-inner {
    max-width: 1320px;
  }

  body:has(.world-grid) .hero {
    min-height: 500px;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  }

  body:has(.world-grid) .world-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  body:has(.world-grid) .tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
  }

  body:has(.tools-grid) .header-inner,
  body:has(.tools-grid) .container {
    max-width: 1180px;
  }

  body:has(.tools-grid) .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  body:has(.tools-grid) .tool-card {
    min-height: 270px;
    padding: 27px !important;
  }
}

/* Desktop and laptop: keep navigation horizontal and content comfortably centered. */
@media (min-width: 681px) {
  body:has(.world-grid) .header-inner {
    flex-direction: row;
    align-items: center;
  }

  body:has(.world-grid) .header-right {
    width: auto;
    justify-content: flex-end;
  }

  body:has(.world-grid) .main-nav {
    overflow: visible;
  }

  body:has(.world-grid) .hero-copy {
    max-width: 720px;
  }

  body:has(.tools-grid) .header-inner {
    min-height: 76px;
    padding-inline: 30px;
  }

  body:has(.tools-grid) .hero {
    padding-block: clamp(58px, 7vw, 88px);
  }
}

/* Touch devices: make important controls easier to hit without changing the theme. */
@media (hover: none) and (pointer: coarse) {
  button,
  .filter-button,
  .action-primary,
  .action-secondary,
  .all-tools,
  .tool-link,
  .world-enter {
    min-height: 44px;
  }

  .tool-card:hover,
  .world-card:hover {
    transform: none !important;
  }
}

/* Small phones: prevent horizontal overflow and preserve readable spacing. */
@media (max-width: 420px) {
  body:has(.tools-grid) .container {
    padding-inline: 16px;
  }

  body:has(.tools-grid) .tool-card {
    min-height: 0;
    padding: 19px !important;
  }

  body:has(.tools-grid) .hero h1 {
    letter-spacing: 1px;
  }

  body:has(.world-grid) .hero-wrap,
  body:has(.world-grid) .tool-inner {
    padding-inline: 15px;
  }

  body:has(.world-grid) .world-grid {
    gap: 11px;
  }
}


/* HEMENG Creator · responsive media workspace */
body:has(#coverInput) {
  min-height:100vh;
  background:
    radial-gradient(circle,rgba(41,39,43,.09) 1px,transparent 1.5px) 0 0/13px 13px,
    #f3eee4 !important;
  color:#29272b !important;
}
body:has(#coverInput) main {
  width:min(1120px,calc(100% - 36px));
}
body:has(#coverInput) header {
  min-height:76px;
  margin-top:12px;
  padding:10px 20px;
  border:2.5px solid #29272b;
  border-radius:5px;
  background:#fffdf6;
  box-shadow:5px 5px 0 #29272b;
}
body:has(#coverInput) .brand {
  font-weight:1000;
  letter-spacing:.08em;
}
body:has(#coverInput) header select {
  min-height:40px;
  border:2px solid #29272b;
  border-radius:4px;
  box-shadow:2px 2px 0 #29272b;
  color:#29272b;
  background:#fffdf6;
}
body:has(#coverInput) .hero {
  padding:68px 10px 35px;
}
body:has(#coverInput) .hero small {
  display:inline-block;
  padding:7px 12px;
  border:2px solid #29272b;
  background:#ed6757;
  color:#fff;
  font-weight:1000;
  letter-spacing:2px;
  transform:rotate(-1.5deg);
}
body:has(#coverInput) .hero h1 {
  color:#29272b;
  font-size:clamp(32px,5vw,48px);
  font-weight:1000;
  text-shadow:3px 3px 0 #ffd65a;
}
body:has(#coverInput) .hero p {color:#655e58;font-weight:650}
body:has(#coverInput) .panel {
  margin:22px 0;
  padding:clamp(20px,3vw,30px);
  border:2.5px solid #29272b;
  border-radius:5px;
  background:#fffdf6;
  box-shadow:6px 7px 0 #29272b;
}
body:has(#coverInput) .panel h2 {
  color:#29272b;
  font-size:clamp(18px,2vw,22px);
  font-weight:1000;
}
body:has(#coverInput) .desc {color:#71665f;line-height:1.9}
body:has(#coverInput) .upload {
  border:2px dashed #29272b;
  border-radius:5px;
  background:#fff4d8;
}
body:has(#coverInput) .upload:nth-child(2) {background:#e8f2f1}
body:has(#coverInput) .upload label {color:#29272b}
body:has(#coverInput) .upload input {
  min-height:44px;
  max-width:100%;
}
body:has(#coverInput) .stage {
  min-height:260px;
  max-height:620px;
  border:3px solid #29272b;
  border-radius:5px;
  box-shadow:4px 4px 0 #29272b;
}
body:has(#coverInput) button {
  min-height:46px;
  padding:10px 20px;
  border:2px solid #29272b;
  border-radius:4px;
  background:#ed6757;
  box-shadow:3px 3px 0 #29272b;
  color:#fff;
  font-weight:900;
}
body:has(#coverInput) button.secondary {
  background:#fffdf6;
  color:#29272b;
}
body:has(#coverInput) button:not(:disabled):hover {
  transform:translate(-1px,-1px);
  box-shadow:4px 4px 0 #29272b;
}
body:has(#coverInput) button:disabled {
  opacity:.45;
  box-shadow:none;
}
body:has(#coverInput) .status {
  border:1.5px solid #29272b;
  border-radius:4px;
  background:#f2edf8;
  color:#514b55;
}
body:has(#coverInput) .status.good {background:#e8f2e7;color:#365c3c}
body:has(#coverInput) .status.bad {background:#fbe5e1;color:#8c3934}
body:has(#coverInput) .step {
  border:1.5px solid #29272b;
  border-radius:4px;
  background:#fff4d8;
  color:#655e58;
}
body:has(#coverInput) .step:nth-child(2) {background:#e8f2f1}
body:has(#coverInput) .step:nth-child(3) {background:#f0eafa}
body:has(#coverInput) .step strong {color:#d95649}
body:has(#coverInput) footer {color:#71665f}

@media (min-width: 900px) {
  body:has(#coverInput) .panel:has(#coverInput) {
    display:grid;
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
    column-gap:28px;
    align-items:start;
  }
  body:has(#coverInput) .panel:has(#coverInput) > h2,
  body:has(#coverInput) .panel:has(#coverInput) > .desc {
    grid-column:1 / -1;
  }
  body:has(#coverInput) .panel:has(#coverInput) .uploads {
    grid-column:1;
    grid-row:3;
    grid-template-columns:1fr;
    align-self:start;
  }
  body:has(#coverInput) .panel:has(#coverInput) .stage {
    grid-column:2;
    grid-row:3 / span 2;
    margin-top:0;
    aspect-ratio:4 / 3;
  }
  body:has(#coverInput) .panel:has(#coverInput) .caption,
  body:has(#coverInput) .panel:has(#coverInput) .actions,
  body:has(#coverInput) .panel:has(#coverInput) .status {
    grid-column:1;
  }
  body:has(#coverInput) .panel:has(#coverInput) .caption {grid-row:4}
  body:has(#coverInput) .panel:has(#coverInput) .actions {grid-row:5}
  body:has(#coverInput) .panel:has(#coverInput) .status {grid-row:6}
}
@media (max-width: 600px) {
  body:has(#coverInput) main {width:calc(100% - 26px)}
  body:has(#coverInput) header {padding:10px 12px;gap:8px}
  body:has(#coverInput) header > div {display:flex;align-items:center;gap:8px}
  body:has(#coverInput) .hero {padding:48px 8px 22px}
  body:has(#coverInput) .panel {padding:17px;margin:16px 0}
  body:has(#coverInput) .uploads {grid-template-columns:1fr}
  body:has(#coverInput) .stage {min-height:190px;aspect-ratio:4/3}
  body:has(#coverInput) .caption {align-items:flex-start;flex-direction:column}
  body:has(#coverInput) .actions button {flex:1 1 100%}
  body:has(#coverInput) .steps {grid-template-columns:1fr}
}


/* ==========================================
   HOMEPAGE REFRESH · HEMENG comic digital space
   Scoped to the homepage only.
========================================== */
body:has(.world-grid) {
  background-color:#f4efe4 !important;
  background-image:
    radial-gradient(circle at 7% 8%,rgba(239,102,85,.12),transparent 25rem),
    radial-gradient(circle at 94% 25%,rgba(124,114,184,.12),transparent 28rem),
    radial-gradient(#27252b .65px,transparent .8px) !important;
  background-size:auto,auto,11px 11px !important;
}
body:has(.world-grid) .site-header {
  background:rgba(255,253,246,.96) !important;
  border-bottom:3px solid #24232a !important;
  box-shadow:0 4px 0 rgba(36,35,42,.10) !important;
}
body:has(.world-grid) .header-inner {
  max-width:1320px;
  min-height:76px;
}
body:has(.world-grid) .brand img {
  width:38px;
  height:38px;
  border:2px solid #24232a;
  border-radius:8px;
  background:#fffdf6;
  box-shadow:2px 2px 0 #24232a;
}
body:has(.world-grid) .hero-wrap {
  max-width:1320px;
  margin-top:30px;
}
body:has(.world-grid) .hero {
  min-height:510px;
  border:3px solid #24232a !important;
  border-radius:5px !important;
  background:
    radial-gradient(#24232a .8px,transparent 1px) 0 0/11px 11px,
    linear-gradient(112deg,#fff0b8 0 47%,#f7b1a5 47% 72%,#a8d2d2 72% 100%) !important;
  box-shadow:9px 10px 0 #24232a !important;
}
body:has(.world-grid) .hero::before {
  opacity:.13;
  background-image:linear-gradient(135deg,transparent 48%,rgba(255,255,255,.9) 49%,rgba(255,255,255,.9) 51%,transparent 52%);
  background-size:24px 24px;
}
body:has(.world-grid) .hero-copy {
  padding-left:8%;
}
body:has(.world-grid) .hero-label {
  border:2px solid #24232a;
  border-radius:4px;
  background:#fffdf6;
  color:#d94e40;
  box-shadow:3px 3px 0 #24232a;
  letter-spacing:1.8px;
}
body:has(.world-grid) .hero-label::before {
  background:#ef6655;
  box-shadow:0 0 0 3px rgba(239,102,85,.18);
}
body:has(.world-grid) .hero h1 {
  color:#24232a;
  font-weight:1000;
  text-shadow:3px 3px 0 #fffdf6;
}
body:has(.world-grid) .hero h1 span {
  color:#d94e40;
  text-shadow:3px 3px 0 #fffdf6;
}
body:has(.world-grid) .hero-description {
  color:#514b50;
  font-weight:650;
}
body:has(.world-grid) .action-primary,
body:has(.world-grid) .action-secondary {
  min-height:48px;
  border:2px solid #24232a;
  border-radius:4px;
  box-shadow:4px 4px 0 #24232a;
  font-weight:900;
}
body:has(.world-grid) .action-primary {
  background:#ef6655;
  color:#fff;
}
body:has(.world-grid) .action-secondary {
  background:#fffdf6;
  color:#24232a;
}
body:has(.world-grid) .action-primary:hover,
body:has(.world-grid) .action-secondary:hover {
  transform:translate(2px,2px);
  box-shadow:2px 2px 0 #24232a;
}
body:has(.world-grid) .hero-note {
  color:#625b60;
  font-weight:800;
}
body:has(.world-grid) .mascot-card {
  border:3px solid #24232a;
  border-radius:5px;
  background:#fffdf6;
  box-shadow:7px 8px 0 #24232a;
}
body:has(.world-grid) .speech-bubble {
  border:2px solid #24232a;
  border-radius:5px;
  color:#24232a;
  box-shadow:4px 4px 0 #24232a;
}
body:has(.world-grid) .speech-bubble::after {
  border-color:#24232a;
}
body:has(.world-grid) .scene-sticker {
  border:2px solid #24232a;
  border-radius:5px;
  box-shadow:4px 4px 0 #24232a;
}
body:has(.world-grid) .scene-caption {
  color:#514b50;
  font-weight:900;
  letter-spacing:2px;
}
body:has(.world-grid) .section {
  max-width:1320px;
  padding-top:76px;
  padding-bottom:76px;
}
body:has(.world-grid) .section-heading h2,
body:has(.world-grid) .tool-zone-heading h2 {
  color:#24232a;
  font-weight:1000;
}
body:has(.world-grid) .heading-icon {
  border:2px solid #24232a;
  border-radius:5px;
  background:#ffd65b;
  color:#24232a;
  box-shadow:3px 3px 0 #24232a;
}
body:has(.world-grid) .heading-kicker,
body:has(.world-grid) .mini-label {
  color:#d94e40;
  font-weight:1000;
}
body:has(.world-grid) .world-card {
  min-height:220px;
  border:2px solid #24232a !important;
  border-radius:5px !important;
  box-shadow:5px 5px 0 #24232a !important;
}
body:has(.world-grid) .world-card:nth-child(4n+1) {background:#fff0c4}
body:has(.world-grid) .world-card:nth-child(4n+2) {background:#e5f1f2}
body:has(.world-grid) .world-card:nth-child(4n+3) {background:#f8e4e8}
body:has(.world-grid) .world-card:nth-child(4n) {background:#eee7f7}
body:has(.world-grid) .world-card:hover {
  transform:translate(-2px,-2px) !important;
  box-shadow:7px 7px 0 #24232a !important;
}
body:has(.world-grid) .world-icon {
  border:2px solid #24232a;
  border-radius:5px;
  background:rgba(255,255,255,.72);
}
body:has(.world-grid) .world-card h3 {font-weight:1000}
body:has(.world-grid) .world-card p {color:#514b50}
body:has(.world-grid) .world-enter {font-weight:1000}
body:has(.world-grid) .tool-zone {
  border-top:3px solid #24232a;
  border-bottom:3px solid #24232a;
  background:
    radial-gradient(#24232a .7px,transparent .9px) 0 0/12px 12px,
    linear-gradient(115deg,#fff0c4,#f8e4e8 52%,#e5f1f2) !important;
}
body:has(.world-grid) .tool-card {
  min-height:190px;
  border:2px solid #24232a !important;
  border-radius:5px !important;
  box-shadow:5px 5px 0 #24232a !important;
}
body:has(.world-grid) .tool-card:nth-child(4n+1) {background:#fffdf6 !important}
body:has(.world-grid) .tool-card:nth-child(4n+2) {background:#f4f0ff !important}
body:has(.world-grid) .tool-card:nth-child(4n+3) {background:#fff5d9 !important}
body:has(.world-grid) .tool-card:nth-child(4n) {background:#eaf4f2 !important}
body:has(.world-grid) .tool-card:hover {
  transform:translate(-2px,-2px) !important;
  box-shadow:7px 7px 0 #24232a !important;
}
body:has(.world-grid) .tool-symbol {
  border:2px solid #24232a;
  border-radius:5px;
}
body:has(.world-grid) .tool-card h3 {font-weight:1000}
body:has(.world-grid) .tool-card p {color:#625b60}
body:has(.world-grid) .tool-open {font-weight:1000}
body:has(.world-grid) .tool-search,
body:has(.world-grid) .filter-button,
body:has(.world-grid) .all-tools {
  min-height:44px;
  border:2px solid #24232a;
  border-radius:4px;
  box-shadow:3px 3px 0 #24232a;
  background:#fffdf6;
  color:#24232a;
  font-weight:850;
}
body:has(.world-grid) .filter-button.active,
body:has(.world-grid) .filter-button:hover {
  background:#ffd65b;
  color:#24232a;
}
body:has(.world-grid) .discovery-card,
body:has(.world-grid) .recent-card,
body:has(.world-grid) .article-card,
body:has(.world-grid) .community-panel {
  border:2px solid #24232a;
  border-radius:5px;
  box-shadow:5px 5px 0 #24232a;
}
body:has(.world-grid) .discovery-card {
  background:linear-gradient(120deg,#fff0c4,#f8e4e8 58%,#eee7f7);
}
body:has(.world-grid) .recent-card {background:#fffdf6}
body:has(.world-grid) .recent-item,
body:has(.world-grid) .community-actions a,
body:has(.world-grid) .section-more {
  min-height:42px;
  border:1.5px solid #24232a;
  border-radius:4px;
  box-shadow:2px 2px 0 #24232a;
  background:#fffdf6;
  color:#514b50;
  font-weight:850;
}
body:has(.world-grid) .article-card {background:#fffdf6}
body:has(.world-grid) .article-category {
  border:1.5px solid #24232a;
  border-radius:3px;
  background:#eee7f7;
  color:#514b50;
  font-weight:850;
}
body:has(.world-grid) .community-panel {
  background:linear-gradient(115deg,#e5f1f2,#fff0c4 55%,#f8e4e8);
}
body:has(.world-grid) footer {
  border-top:3px solid #24232a;
  background:#fffdf6;
  color:#625b60;
}
body:has(.world-grid) .footer-brand {
  color:#d94e40;
  font-weight:1000;
}
@media (min-width:1200px) {
  body:has(.world-grid) .world-grid {gap:20px}
  body:has(.world-grid) .tool-grid {gap:17px}
}
@media (max-width:950px) {
  body:has(.world-grid) .hero {min-height:430px}
  body:has(.world-grid) .section {padding-top:58px;padding-bottom:58px}
}
@media (max-width:680px) {
  body:has(.world-grid) .hero-wrap {margin-top:18px}
  body:has(.world-grid) .hero {box-shadow:5px 6px 0 #24232a !important}
  body:has(.world-grid) .hero-copy {padding:38px 7% 8px}
  body:has(.world-grid) .hero-scene {min-height:300px}
  body:has(.world-grid) .mascot-card {box-shadow:5px 5px 0 #24232a}
  body:has(.world-grid) .section {padding-top:48px;padding-bottom:48px}
  body:has(.world-grid) .world-card {min-height:190px}
  body:has(.world-grid) .tool-card {min-height:165px}
  body:has(.world-grid) .community-panel {box-shadow:4px 4px 0 #24232a}
}
@media (max-width:380px) {
  body:has(.world-grid) .hero h1 {font-size:35px}
  body:has(.world-grid) .speech-bubble {right:-9%;max-width:125px}
}


/* Official HEMENG mascot portrait */
body:has(.world-grid) .mascot-card {
  width:min(370px,94%);
  padding:8px;
  overflow:hidden;
  background:#fffdf8;
}
body:has(.world-grid) .mascot-art {
  display:block;
  width:100%;
  height:auto;
  max-height:440px;
  object-fit:contain;
  border-radius:2px;
}
@media (max-width:680px) {
  body:has(.world-grid) .mascot-card {width:min(310px,88%);padding:6px}
  body:has(.world-grid) .mascot-art {max-height:390px}
}


/* HEMENG unified footer · 2026-11-17 */
.site-footer{
  width:min(1184px,calc(100% - 40px));
  margin:56px auto 0;
  padding:28px 18px 30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  border-top:2px solid var(--space-ink);
  background:rgba(255,253,248,.82);
  color:#716b75;
  text-align:center;
  font-size:12px;
  line-height:1.8;
}
.site-footer .footer-brand{
  color:var(--space-ink);
  font-size:15px;
  font-weight:950;
  letter-spacing:1.5px;
}
.site-footer .footer-description{margin:0;color:#827986}
.site-footer .footer-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}
.site-footer .footer-contact a{
  color:#b96d83;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
}
.site-footer .footer-copyright{color:#a49aa5;font-size:10px}
@media(max-width:600px){
  .site-footer{width:calc(100% - 28px);margin-top:38px;padding:23px 12px}
}


/* HEMENG shared primary navigation · 2026-11-17 */
.hm-global-header{position:sticky;top:0;z-index:100;width:100%;background:rgba(255,253,248,.94);border-bottom:2px solid #29272b;box-shadow:0 3px 0 rgba(41,39,43,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.hm-global-header-inner{width:min(1184px,calc(100% - 40px));min-height:72px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hm-global-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;color:#29272b;text-decoration:none}
.hm-global-brand img{width:39px;height:39px;object-fit:contain;background:#fffdf6;border:2px solid #29272b;border-radius:7px;box-shadow:2px 2px 0 #29272b}
.hm-global-brand span{display:flex;flex-direction:column;gap:2px}.hm-global-brand strong{font-size:17px;font-weight:1000;letter-spacing:.08em;line-height:1.1}.hm-global-brand small{font-size:9px;letter-spacing:.18em;color:#827986;font-weight:800}
.hm-global-nav{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.hm-global-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border:1.5px solid transparent;border-radius:4px;color:#625b60;text-decoration:none;font-size:13px;font-weight:850;white-space:nowrap;transition:background .18s,border-color .18s,transform .18s}
.hm-global-nav a:hover{background:#fff0c4;border-color:#29272b;color:#29272b;transform:translateY(-1px)}.hm-global-nav a[aria-current="page"]{background:#ffd65b;border:1.5px solid #29272b;color:#29272b;box-shadow:2px 2px 0 #29272b}
@media(max-width:720px){.hm-global-header-inner{width:100%;min-height:0;padding:10px 14px 9px;display:flex;flex-wrap:wrap;gap:9px}.hm-global-brand img{width:35px;height:35px}.hm-global-brand strong{font-size:15px}.hm-global-nav{width:100%;justify-content:flex-start;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 2px 5px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.hm-global-nav a{min-height:38px;padding:7px 12px;font-size:12px;flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.hm-global-nav a{transition:none}}
