/* ============================================================
   JoyFinger 指跃游戏 · 邯郸传悦网络科技有限公司
   官网全站共享样式 — D:\games\pc\css\style.css
   视觉语言：浅蓝 azure / deep 科技风
   ============================================================ */

:root {
  --ink: #12202F;
  --mist: #5B6C81;
  --fog: #F4F7FB;
  --panel: #FFFFFF;
  --line: #E4EAF2;
  --azure: #00A9E6;
  --deep: #0073D1;
  --coin: #F5A623;
  --berry: #FF5C8A;
  --cloud: #E8F6FD;
  --radius: 1rem;
  --shadow-sm: 0 2px 10px rgba(18, 32, 47, .04);
  --shadow-md: 0 22px 44px -20px rgba(0, 169, 230, .35), 0 4px 14px rgba(18, 32, 47, .06);
  --grad-brand: linear-gradient(95deg, #00A9E6 0%, #2F7CF3 45%, #FF5C8A 100%);
  --grad-cta: linear-gradient(115deg, #00A9E6 0%, #2F7CF3 55%, #7B5CFF 100%);
  --font-sans: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", "Consolas", monospace;
}

/* ---------- reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--fog);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
::selection { background: rgba(0, 169, 230, .18); color: #0B3550; }
:focus-visible { outline: 2px solid rgba(0, 169, 230, .55); outline-offset: 2px; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }

/* ---------- 背景光晕 ---------- */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -6%, rgba(0,169,230,.16), transparent 62%),
    radial-gradient(820px 520px at 92% 12%, rgba(255,92,138,.12), transparent 62%),
    radial-gradient(1000px 700px at 50% 112%, rgba(245,166,35,.13), transparent 62%); }

/* ---------- 文字工具 ---------- */
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-mist { color: var(--mist); }
.text-deep { color: var(--deep); }
.text-ink { color: var(--ink); }
.text-coin { color: var(--coin); }
.text-azure { color: var(--azure); }
.font-mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); letter-spacing: .32em; font-size: .75rem; color: var(--azure); text-transform: uppercase; }
.center { text-align: center; }
.note { text-align: center; font-family: var(--font-mono); font-size: .75rem; color: var(--mist); margin-top: 2rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .875rem; padding: .85rem 1.5rem; border-radius: .75rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn-sm { padding: .6rem 1.25rem; border-radius: .6rem; }
.btn-primary { background: linear-gradient(90deg, var(--azure), var(--deep)); color: #fff; box-shadow: 0 10px 26px -10px rgba(0,150,220,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0,150,220,.8); }
.btn-ghost { border: 1px solid #C6D6E6; background: #fff; color: #33506B; }
.btn-ghost:hover { border-color: rgba(0,169,230,.65); color: var(--deep); box-shadow: 0 6px 18px -10px rgba(0,169,230,.45); }
.btn-white { background: #fff; color: var(--deep); box-shadow: 0 10px 24px -10px rgba(0,0,0,.25); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.3); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-white:hover { border-color: rgba(255,255,255,.8); transform: translateY(-2px); }

/* ---------- 卡片 ---------- */
.card {
  position: relative; border: 1px solid rgba(13,36,61,.08); background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,169,230,.5); box-shadow: var(--shadow-md); }

/* ---------- 顶部导航 ---------- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-nav.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(13,36,61,.08); box-shadow: 0 8px 24px -18px rgba(18,32,47,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-logo { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .6rem;
  border: 1px solid rgba(0,169,230,.4); background: #fff; box-shadow: var(--shadow-sm); }
.brand-name { display: block; font-weight: 900; font-size: .9375rem; letter-spacing: .06em; color: var(--ink); }
.brand-sub { display: block; font-size: .625rem; color: var(--mist); margin-top: .2rem; font-family: var(--font-mono); }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: .875rem; color: var(--mist); }
.nav-links a:hover { color: var(--azure); }
.nav-links a.active { color: var(--azure); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .6rem;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.25rem; line-height: 1; }
@media (min-width: 768px) { .nav-links { display: flex; } .nav-toggle { display: none; } }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 1rem 1.5rem;
  box-shadow: 0 12px 24px -18px rgba(18,32,47,.25); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .7rem 0; color: var(--ink); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--azure); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 7.5rem 0 4.5rem; overflow: hidden; }
@media (min-width: 640px) { .hero { padding: 9.5rem 0 6rem; } }
.hero-grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem;
  border-radius: 999px; border: 1px solid rgba(0,169,230,.3); background: var(--cloud);
  font-family: var(--font-mono); font-size: .75rem; color: var(--deep); }
.hero-badge .dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--azure); animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero h1 { margin-top: 1.75rem; font-size: 2.5rem; font-weight: 900; line-height: 1.12; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero p.lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; color: var(--mist); line-height: 1.75; }
@media (min-width: 640px) { .hero p.lead { font-size: 1.125rem; } }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 28rem; margin-top: 3rem; }
.stat-value { font-size: 1.5rem; font-weight: 900; line-height: 1; }
@media (min-width: 640px) { .stat-value { font-size: 1.875rem; } }
.stat-label { margin-top: .3rem; font-size: .75rem; color: var(--mist); }

/* ---------- 运营主体卡片 ---------- */
.entity-strip { position: relative; margin-top: 3.5rem; }
.entity-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1.5rem; }
@media (min-width: 640px) { .entity-card { flex-direction: row; align-items: center; justify-content: space-between; } }
.entity-label { font-family: var(--font-mono); font-size: .75rem; color: var(--mist); }
.entity-name { font-weight: 900; font-size: 1.0625rem; color: var(--ink); margin-top: .5rem; }
.entity-en { font-size: .875rem; color: var(--mist); margin-top: .25rem; }
.duns-tag { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(0,169,230,.3);
  background: var(--cloud); color: var(--deep); font-family: var(--font-mono); font-size: .75rem;
  border-radius: .5rem; padding: .45rem .85rem; white-space: nowrap; }

/* ---------- 代码窗 ---------- */
.code-window { border: 1px solid rgba(13,36,61,.1); border-radius: 1rem; background: #fff;
  box-shadow: 0 30px 60px -30px rgba(18,50,85,.35), 0 2px 6px rgba(18,32,47,.05); }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.code-dots { display: flex; gap: .4rem; }
.code-dot { width: .75rem; height: .75rem; border-radius: 50%; }
.code-title { font-family: var(--font-mono); font-size: .6875rem; color: var(--mist); }
.code-body { padding: 1.25rem 1.5rem; overflow-x: auto; font-family: var(--font-mono); font-size: .781rem; line-height: 1.9; }
@media (min-width: 640px) { .code-body { font-size: .843rem; line-height: 2; } }
.cursor-blink { animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-caption { margin-top: 1rem; text-align: center; font-family: var(--font-mono); font-size: .6875rem; color: rgba(91,108,129,.7); }
.code-caption strong { color: rgba(0,115,209,.8); font-weight: 600; }

/* ---------- 区块 ---------- */
.section { padding: 5.5rem 0; }
@media (min-width: 640px) { .section { padding: 7.5rem 0; } }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 3.5rem; }
.section-head h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 900; line-height: 1.2; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { margin-top: 1rem; color: var(--mist); line-height: 1.7; }

/* ---------- 网格 ---------- */
.grid-2 { display: grid; gap: 1.25rem; }
.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.feature-card { padding: 1.5rem; }
.feature-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .6rem;
  background: var(--cloud); border: 1px solid rgba(0,169,230,.3); color: var(--deep); font-size: 1.3rem; }
.feature-card h3 { margin-top: 1.25rem; font-size: 1.0625rem; font-weight: 700; }
.feature-card p { margin-top: .5rem; font-size: .875rem; color: var(--mist); line-height: 1.65; }

/* ---------- 游戏案例卡片 ---------- */
.case-card { overflow: hidden; }
.case-thumb { height: 10rem; display: grid; place-items: center; position: relative; font-size: 3rem; }
.case-thumb .tag { position: absolute; top: .75rem; right: .75rem; font-family: var(--font-mono); font-size: .625rem;
  padding: .25rem .5rem; border-radius: .3rem; background: rgba(255,255,255,.85); color: var(--mist); border: 1px solid var(--line); }
.case-body { padding: 1.25rem; }
.case-body h3 { font-weight: 700; }
.case-body p { margin-top: .4rem; font-size: .875rem; color: var(--mist); }
.case-link { margin-top: .75rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 600; color: var(--deep); }
.case-link:hover { color: var(--azure); }
.case-link .arr { transition: transform .2s ease; }
.case-card:hover .case-link .arr { transform: translateX(4px); }
.grad-1 { background: linear-gradient(135deg, #DFF1FF, #ffffff 55%, #FFE4EE); }
.grad-2 { background: linear-gradient(135deg, #FFE8CC, #ffffff 55%, #FFE4EE); }
.grad-3 { background: linear-gradient(135deg, #D5F0F9, #ffffff 55%, #D6E9FF); }
.grad-4 { background: linear-gradient(135deg, #FFE3EA, #ffffff 55%, #FFE8CC); }
.grad-5 { background: linear-gradient(135deg, #D9F5E8, #ffffff 55%, #D5F0F9); }
.grad-6 { background: linear-gradient(135deg, #E9E0FF, #ffffff 55%, #FFE3EA); }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 3.5rem 1.5rem; text-align: center;
  background: var(--grad-cta); color: #fff; box-shadow: 0 30px 70px -30px rgba(47,124,243,.55); }
@media (min-width: 640px) { .cta-band { padding: 4rem 4rem; } }
.cta-band .eyebrow { color: rgba(255,255,255,.8); }
.cta-band h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 900; line-height: 1.2; }
@media (min-width: 640px) { .cta-band h2 { font-size: 3rem; } }
.cta-band p { margin: 1.25rem auto 0; max-width: 36rem; color: rgba(255,255,255,.85); }
.cta-actions { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* ---------- 滚动字幕 ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.7); padding: 1rem 0; }
.marquee-track { display: flex; width: max-content; gap: 3rem; padding: 0 1.5rem;
  font-family: var(--font-mono); font-size: .875rem; color: var(--mist); animation: marq 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-track em { color: var(--azure); font-style: normal; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.85); }
.footer-grid { display: grid; gap: 2.5rem; padding: 4rem 0 2rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 1rem; max-width: 20rem; font-size: .875rem; color: var(--mist); line-height: 1.7; }
.footer-email { margin-top: 1rem; font-family: var(--font-mono); font-size: .75rem; color: var(--mist); }
.footer-col h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .875rem; color: var(--mist); }
.footer-col a:hover { color: var(--deep); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.5rem 0; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: .75rem; color: var(--mist); }
.footer-links { display: flex; gap: 1.5rem; font-size: .75rem; color: var(--mist); }
.footer-links button:hover { color: var(--deep); }
.footer-en { text-align: center; font-family: var(--font-mono); font-size: .75rem; color: var(--mist); padding-bottom: 1.5rem; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 1rem 1.5rem; visibility: hidden; transition: visibility .3s; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11,27,43,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-panel { position: relative; width: 100%; max-width: 42rem; max-height: 85vh; display: flex; flex-direction: column;
  overflow: hidden; border-radius: 1.25rem; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(11,27,43,.4);
  transform: translateY(24px) scale(.98); opacity: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .3s ease; }
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line); background: var(--fog); }
.modal-head h3 { font-weight: 900; }
.modal-head p { margin-top: .25rem; font-family: var(--font-mono); font-size: .6875rem; color: var(--mist); }
.modal-close { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .6rem;
  border: 1px solid var(--line); background: #fff; color: var(--mist); font-size: .875rem; }
.modal-close:hover { color: var(--ink); border-color: rgba(0,169,230,.5); }
.modal-body { overflow-y: auto; padding: 1.5rem; color: var(--mist); font-size: .875rem; line-height: 1.8; }
.modal-body h4 { color: var(--ink); font-weight: 700; margin-bottom: .5rem; }
.modal-body section + section { margin-top: 1.5rem; }
.modal-body ul { list-style: disc; padding-left: 1.25rem; }
.modal-body li { margin: .3rem 0; }
.modal-body strong { color: var(--ink); }
.modal-foot { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line); background: var(--fog); }
@media (min-width: 640px) { .modal-foot { flex-direction: row; } .modal-foot .btn { flex: 1; } }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 内页 Hero ---------- */
.page-hero { position: relative; padding: 8rem 0 3.5rem; overflow: hidden; }
@media (min-width: 640px) { .page-hero { padding: 9.5rem 0 4.5rem; } }
.page-hero h1 { font-size: 2.25rem; font-weight: 900; line-height: 1.15; }
@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p.lead { margin-top: 1.25rem; max-width: 38rem; color: var(--mist); line-height: 1.75; }

/* ---------- 面包屑 ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .75rem; color: var(--mist); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--azure); }
.breadcrumb .sep { color: #B9C6D6; }

/* ---------- 案例详情 ---------- */
.case-hero-card { border-radius: 1.5rem; padding: 3rem 1.5rem; text-align: center; }
@media (min-width: 640px) { .case-hero-card { padding: 4rem 3rem; } }
.case-hero-emoji { font-size: 4rem; }
.case-hero-card h1 { margin-top: 1rem; font-size: 2rem; font-weight: 900; }
@media (min-width: 640px) { .case-hero-card h1 { font-size: 2.5rem; } }
.case-hero-card p { margin-top: .75rem; color: var(--mist); }
.case-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.tag-chip { font-family: var(--font-mono); font-size: .6875rem; padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); color: var(--mist); }

.data-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .data-grid { grid-template-columns: repeat(4, 1fr); } }
.data-cell { padding: 1.5rem; text-align: center; }
.data-value { font-size: 1.875rem; font-weight: 900; line-height: 1; }
.data-label { margin-top: .4rem; font-size: .75rem; color: var(--mist); }

/* ---------- 双栏 ---------- */
.cols { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- 清单 ---------- */
.check-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .35rem 0; color: var(--mist); }
.check-list .mark { color: var(--azure); flex-shrink: 0; }

/* ---------- 表单 ---------- */
.form-card { max-width: 34rem; padding: 2rem; }
.form-card label { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); margin: 1rem 0 .4rem; }
.form-card label:first-child { margin-top: 0; }
.form-card input, .form-card textarea { width: 100%; background: var(--fog); border: 1px solid var(--line);
  border-radius: .6rem; padding: .8rem 1rem; font-size: .875rem; color: var(--ink); font-family: inherit; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: rgba(0,169,230,.6); }
.form-msg { margin-top: .75rem; font-size: .75rem; min-height: 1rem; }

/* ---------- 浮动装饰 ---------- */
.floaty { position: absolute; pointer-events: none; }
.floaty-1 { top: 8rem; left: 8%; width: 2.5rem; height: 2.5rem; border: 2px solid rgba(0,169,230,.3); transform: rotate(12deg); animation: floaty 7s ease-in-out infinite; }
.floaty-2 { top: 15rem; right: 12%; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid rgba(245,166,35,.4); animation: floaty 7s ease-in-out 1.6s infinite; }
.floaty-3 { bottom: 6rem; left: 16%; width: 1.25rem; height: 1.25rem; border: 2px solid rgba(255,92,138,.35); transform: rotate(-45deg); animation: floaty 7s ease-in-out 2.4s infinite; }
.floaty-4 { top: 6rem; right: 32%; width: .875rem; height: .875rem; border-radius: 50%; background: rgba(0,169,230,.4); animation: floaty 7s ease-in-out .8s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(8deg); } }

/* ---------- 技术标签 ---------- */
.tech-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.tech-badge { font-family: var(--font-mono); font-size: .75rem; padding: .45rem .85rem; border-radius: .45rem; }
.tech-badge.azure { border: 1px solid rgba(0,169,230,.3); color: var(--deep); background: var(--cloud); }
.tech-badge.coin { border: 1px solid rgba(245,166,35,.35); color: #B47300; background: #FFF6E2; }
.tech-badge.neutral { border: 1px solid var(--line); color: var(--ink); background: #fff; }

/* ---------- 栈条 ---------- */
.stack-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 2rem; margin-top: 2rem; }
.stack-bar h3 { font-size: 1.0625rem; font-weight: 700; }

/* ---------- 相关案例 ---------- */
.related { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { padding: 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.related a .rel-emoji { font-size: 1.5rem; }
.related a h4 { font-weight: 700; font-size: .9375rem; }
.related a p { font-size: .8125rem; color: var(--mist); }
.related a:hover h4 { color: var(--azure); }

/* ---------- 工具间距 ---------- */
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #EDF2F8; }
::-webkit-scrollbar-thumb { background: #C6D4E2; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #9FB6CC; }

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
