/* ============================================================
   FlightTrack Web · Dopamine Maximalism 设计系统
   tokens 与静态报告页（report_style.py）同源，扩展 Web 组件：
   导航 / 表单 / 面板 / 表格 / 热力日历 / toast / 进度条
   ============================================================ */
:root {
  --bg: #0D0D1A; --fg: #FFFFFF; --muted: #2D1B4E;
  --acc-1: #FF3AF2; --acc-2: #00F5D4; --acc-3: #FFE600;
  --acc-4: #FF6B35; --acc-5: #7B2FFF;
  --font-head: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-disp: "Bangers", "Outfit", "PingFang SC", cursive;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body); background: var(--bg); color: var(--fg);
  line-height: 1.625; overflow-x: hidden; position: relative; min-height: 100vh;
}
/* 全局双层 pattern */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,58,242,.09) 1.2px, transparent 1.2px),
    repeating-linear-gradient(45deg, transparent, transparent 14px,
      rgba(255,230,0,.045) 14px, rgba(255,230,0,.045) 28px);
  background-size: 26px 26px, auto;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255,58,242,.11) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 26%, rgba(0,245,212,.09) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 88%, rgba(123,47,255,.11) 0%, transparent 55%);
}
main { position: relative; z-index: 10; padding-bottom: 70px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============ 导航栏 ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,26,.92); backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--acc-1);
  box-shadow: 0 4px 0 var(--acc-5), 0 8px 24px rgba(123,47,255,.35);
}
.nav-in { max-width: 1280px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand {
  font-family: var(--font-disp); font-size: 26px; letter-spacing: .04em;
  color: #fff; text-decoration: none; text-shadow: 2px 2px 0 var(--acc-5), 4px 4px 0 var(--acc-1);
  display: flex; align-items: center; gap: 8px;
}
.brand em { font-style: normal;
  background: linear-gradient(90deg, #FF3AF2, #00F5D4, #FFE600, #FF3AF2);
  background-size: 250% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-shift 4s ease infinite; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.nav-link {
  font-family: var(--font-head); font-weight: 800; font-size: 13.5px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: #fff; padding: 8px 16px; border-radius: 999px;
  border: 3px solid transparent; transition: all .22s ease-out;
}
.nav-link:hover { border-color: var(--nc, var(--acc-2)); transform: translateY(-2px) rotate(-1deg); }
.nav-link.on {
  border-color: var(--nc, var(--acc-2)); color: #0D0D1A; background: var(--nc, var(--acc-2));
  box-shadow: 0 0 16px var(--nc, var(--acc-2)); }

/* ============ 通用文字 ============ */
.ts-1 { text-shadow: 2px 2px 0 var(--acc-5); }
.ts-2 { text-shadow: 2px 2px 0 var(--acc-5), 4px 4px 0 var(--acc-1); }
.ts-3 { text-shadow: 2px 2px 0 var(--acc-5), 4px 4px 0 var(--acc-1), 6px 6px 0 var(--acc-2); }
.ts-mega { text-shadow: 4px 4px 0 var(--acc-5), 8px 8px 0 var(--acc-1), 12px 12px 0 var(--acc-2); }
.grad-text {
  background: linear-gradient(90deg, #FF3AF2, #00F5D4, #FFE600, #FF3AF2);
  background-size: 250% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-shift 4s ease infinite;
}
.page-head { padding: 44px 0 6px; position: relative; }
.page-head h1 {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.page-head .sub { color: rgba(255,255,255,.72); font-weight: 600; margin-top: 8px; font-size: 16px; }
.sec-title {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(24px, 4vw, 40px); line-height: 1.05; }
.sec-emoji { font-size: clamp(26px, 3.4vw, 38px); animation: wiggle 1.6s ease-in-out infinite; }
.sec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 34px 0 20px; }
.sec-note { color: rgba(255,255,255,.65); font-weight: 700; letter-spacing: .12em;
  font-size: 13px; text-transform: uppercase; }

/* ============ 面板 / 表单 ============ */
.panel {
  border: 4px solid var(--c1, var(--acc-1)); border-radius: 24px;
  background: rgba(45,27,78,.82); backdrop-filter: blur(6px);
  box-shadow: 8px 8px 0 var(--c2, var(--acc-5));
  padding: 22px; margin-bottom: 26px; position: relative;
}
.panel.dashed { border-style: dashed; }
.panel.double { border-style: double; border-width: 6px; }
.panel-title {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: 19px; letter-spacing: .02em; margin-bottom: 14px;
  text-shadow: 2px 2px 0 var(--c1, var(--acc-1));
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--lc, var(--acc-3));
  margin-bottom: 6px; transform: rotate(-.4deg);
}
.field input, .field select, .field textarea {
  width: 100%; background: rgba(13,13,26,.55); border: 3px solid var(--fc, var(--acc-1));
  border-radius: 14px; padding: 10px 14px; color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  transition: all .25s ease-out; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--acc-2); background: rgba(13,13,26,.85);
  box-shadow: 0 0 0 3px rgba(0,245,212,.22), 0 0 22px rgba(0,245,212,.28);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.field select option { background: #1d1233; color: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.check {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-weight: 700; font-size: 13.5px; border: 3px dashed var(--acc-2);
  border-radius: 999px; padding: 6px 14px; user-select: none;
  transition: all .2s ease-out; background: rgba(13,13,26,.4);
}
.check input { accent-color: #FF3AF2; width: 15px; height: 15px; }
.check:has(input:checked) { border-style: solid; background: var(--acc-2); color: #0D0D1A;
  box-shadow: 0 0 14px rgba(0,245,212,.55); }

/* ============ toggle 按钮组（替代复选框：选中变色） ============ */
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.tg {
  font-family: var(--font-head); font-weight: 800; font-size: 13.5px;
  letter-spacing: .06em; color: rgba(255,255,255,.85); cursor: pointer;
  background: rgba(13,13,26,.45); border: 3px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 8px 18px; user-select: none;
  transition: all .22s cubic-bezier(.68,-0.55,.265,1.55);
}
.tg:hover { border-color: var(--c1, var(--acc-2)); transform: translateY(-2px); }
.tg.on {
  background: var(--c1, var(--acc-2)); border-color: var(--c1, var(--acc-2));
  color: #0D0D1A; box-shadow: 0 0 16px var(--c1, var(--acc-2)), 3px 3px 0 rgba(13,13,26,.6);
  transform: rotate(-1deg) scale(1.03);
}
.tg.on:active { transform: scale(.95); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  letter-spacing: .1em; font-size: 15px; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 13px 30px; border: 4px solid var(--bc, var(--acc-3));
  background: linear-gradient(90deg, var(--bg1, #FF3AF2), var(--bg2, #7B2FFF), var(--bg3, #00F5D4));
  background-size: 200% auto; color: #fff;
  box-shadow: 0 0 22px rgba(255,58,242,.45), 6px 6px 0 var(--sc, rgba(255,230,0,.9));
  transition: all .25s cubic-bezier(.68,-0.55,.265,1.55);
}
.btn:hover { transform: scale(1.05) rotate(-1deg); background-position: right center;
  box-shadow: 0 0 34px rgba(255,58,242,.7), 9px 9px 0 var(--sc, rgba(255,230,0,.9)); }
.btn:active { transform: scale(.96); box-shadow: 0 0 10px rgba(255,58,242,.4); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost {
  background: transparent; border: 3px dashed var(--bc, var(--acc-2));
  box-shadow: none; font-size: 13px; padding: 9px 20px;
}
.btn.ghost:hover { background: var(--bc, var(--acc-2)); color: #0D0D1A; border-style: solid;
  box-shadow: 0 0 18px var(--bc, var(--acc-2)); }
.btn.danger { background: linear-gradient(90deg, #FF3AF2, #FF6B35);
  border-color: #FFE600; box-shadow: 4px 4px 0 #7B2FFF; }
.btn.sm { font-size: 12.5px; padding: 8px 18px; }

/* ============ 进度 ============ */
.progress-wrap { margin: 4px 0 10px; }
.progress-bar {
  height: 26px; border: 4px solid var(--acc-3); border-radius: 999px;
  background: rgba(13,13,26,.6); overflow: hidden; position: relative;
}
.progress-fill {
  height: 100%; width: 0%;
  background: repeating-linear-gradient(45deg, #FF3AF2 0 14px, #7B2FFF 14px 28px, #00F5D4 28px 42px);
  background-size: 200% auto; animation: gradient-shift 2.4s linear infinite;
  transition: width .6s ease-out;
}
.progress-meta { display: flex; justify-content: space-between; margin-top: 8px;
  font-weight: 700; font-size: 13.5px; color: rgba(255,255,255,.85); }
.progress-meta .city { color: var(--acc-2); }

/* ============ 卡片墙（与静态报告同款） ============ */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 26px; }
.chip {
  font-family: var(--font-head); font-weight: 800; font-size: 13.5px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: rgba(45,27,78,.6); border: 3px dashed var(--c1, var(--acc-1));
  border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: all .22s ease-out;
}
.chip:hover { transform: scale(1.06) rotate(-1deg); background: var(--c1, var(--acc-1)); color: #0D0D1A; }
.chip.on { border-style: solid; background: var(--c1, var(--acc-1)); color: #0D0D1A;
  box-shadow: 0 0 16px var(--c1, var(--acc-1)); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px 26px; }
.card {
  position: relative; border: 4px solid var(--c1); border-radius: 24px;
  background: rgba(45,27,78,.85); backdrop-filter: blur(4px);
  box-shadow: 8px 8px 0 var(--c2), 16px 16px 0 var(--c3);
  padding: 22px 22px 18px; transform: rotate(var(--rot, 0deg));
  transition: transform .3s cubic-bezier(.68,-0.55,.265,1.55), box-shadow .3s ease-out;
}
.card:nth-child(5n+1) { --rot: -1.2deg; } .card:nth-child(5n+2) { --rot: 1deg; }
.card:nth-child(5n+3) { --rot: -.6deg; margin-top: 18px; }
.card:nth-child(5n+4) { --rot: 1.4deg; } .card:nth-child(5n+5) { --rot: -1deg; margin-top: 10px; }
.card:hover { transform: rotate(0) scale(1.03);
  box-shadow: 10px 10px 0 var(--c2), 22px 22px 0 var(--c3), 0 0 34px var(--c1); z-index: 20; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dest { font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: 25px; line-height: 1.1; text-shadow: 2px 2px 0 var(--c2); }
.route { font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: rgba(255,255,255,.6); text-transform: uppercase; margin-top: 2px; }
.badge { flex-shrink: 0; font-family: var(--font-disp); font-size: 15px; letter-spacing: .08em;
  border: 3px solid #0D0D1A; border-radius: 999px; padding: 2px 12px;
  background: var(--c3); color: #0D0D1A; transform: rotate(3deg); }
.badge.hit { background: var(--acc-2); animation: pulse-glow 2s ease-in-out infinite; }
.price { font-family: var(--font-head); font-weight: 900; letter-spacing: -.03em;
  font-size: clamp(38px, 4.6vw, 54px); line-height: 1; margin: 10px 0 2px;
  text-shadow: 3px 3px 0 var(--c1); }
.price small { font-size: .45em; vertical-align: 18%; margin-right: 2px;
  color: rgba(255,255,255,.75); text-shadow: none; font-weight: 800; }
.trip { font-size: 15px; font-weight: 700; }
.trip .dim, .dim { color: rgba(255,255,255,.62); font-weight: 500; }
.why { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: #0D0D1A;
  background: var(--c1); border-radius: 10px; padding: 7px 12px;
  border: 2px dashed rgba(13,13,26,.55); display: inline-block; }
.meta { margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.62); font-weight: 600; }
.spark { width: 100%; height: 46px; margin-top: 12px; display: block; }
.jump { margin-top: 12px; display: inline-block; text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: #0D0D1A;
  background: var(--c2); border: 3px solid #0D0D1A; border-radius: 999px;
  padding: 8px 18px; box-shadow: 4px 4px 0 #0D0D1A; transition: all .2s ease-out; }
.jump:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #0D0D1A; }
.jump:active { transform: translate(2px,2px); box-shadow: 0 0 0 #0D0D1A; }

/* ============ 日期点选弹层（RangePicker） ============ */
.rp-wrap { position: relative; }
.rp-input { cursor: pointer; }
.rp-layer { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; }
.rp-pop {
  display: flex; gap: 14px; padding: 16px; position: relative;
  background: #17102b; border: 4px solid var(--acc-3); border-radius: 20px;
  box-shadow: 8px 8px 0 var(--acc-5), 0 0 40px rgba(123,47,255,.35);
}
@media (max-width: 640px) {
  .rp-pop { flex-direction: column; }
  .rp-pop .month { min-width: 0; }
}
.rp-pop .month { border: none; box-shadow: none; background: transparent;
  padding: 0; min-width: 240px; }
.rp-pop .month h3 { font-size: 17px; margin-bottom: 8px;
  text-shadow: 2px 2px 0 var(--acc-5); }
.rp-nav { display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-bottom: 8px; }
.rp-nav button {
  font-family: var(--font-head); font-weight: 900; font-size: 15px; cursor: pointer;
  background: var(--acc-1); color: #0D0D1A; border: 2px solid #0D0D1A;
  border-radius: 10px; padding: 3px 12px; box-shadow: 2px 2px 0 #0D0D1A;
  transition: transform .15s ease-out;
}
.rp-nav button:hover { transform: translate(-1px,-1px); }
.rp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.rp-days .hd { font-size: 10.5px; font-weight: 800; color: rgba(255,255,255,.5);
  text-align: center; padding-bottom: 3px; }
.rp-d {
  aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 12.5px; font-weight: 700; cursor: pointer;
  border: 2px solid rgba(255,255,255,.1); background: rgba(45,27,78,.5);
  transition: transform .12s ease-out;
}
.rp-d:hover:not(.dis) { transform: scale(1.12); border-color: #fff; z-index: 2; }
.rp-d.dis { opacity: .25; cursor: not-allowed; }
.rp-d.in-range { background: var(--acc-5); border-color: var(--acc-2); }
.rp-d.edge { background: var(--acc-2); color: #0D0D1A; border-color: #0D0D1A;
  box-shadow: 0 0 12px rgba(0,245,212,.6); font-weight: 900; }
.rp-d.today { border-color: var(--acc-3); }

/* ============ 热力日历 ============ */
.cal-controls { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 24px; }
.cal-legend { display: flex; gap: 10px; align-items: center; margin: 10px 0 20px;
  font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.75); flex-wrap: wrap; }
.cal-legend .sw { width: 22px; height: 14px; border-radius: 4px; display: inline-block;
  border: 2px solid rgba(255,255,255,.25); }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.month { border: 4px solid var(--mc, var(--acc-1)); border-radius: 20px;
  background: rgba(45,27,78,.75); padding: 16px;
  box-shadow: 6px 6px 0 var(--ms, var(--acc-5)); }
.month h3 { font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: 21px; letter-spacing: .02em; margin-bottom: 10px;
  text-shadow: 2px 2px 0 var(--ms, var(--acc-5)); }
.dow-row, .day-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow-row span { text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  color: rgba(255,255,255,.5); text-transform: uppercase; padding-bottom: 4px; }
.day {
  aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: clamp(9px, 1.5vw, 12px); font-weight: 800; color: #fff;
  border: 2px solid rgba(255,255,255,.08); cursor: pointer; position: relative;
  transition: transform .15s ease-out; text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.day:hover { transform: scale(1.14); border-color: #fff; z-index: 5; }
.day.empty { background: transparent; border: none; cursor: default; }
.day.holiday::after { content: "★"; position: absolute; top: 1px; right: 3px;
  font-size: 8px; color: var(--acc-3); }
.day.past { opacity: .32; cursor: default; }
.day.best { border: 2px solid var(--acc-3); animation: pulse-glow 2.4s ease-in-out infinite; }
.day-tip { position: fixed; z-index: 90; pointer-events: none;
  background: #0D0D1A; border: 3px solid var(--acc-2); border-radius: 12px;
  padding: 10px 14px; font-weight: 700; font-size: 13.5px;
  box-shadow: 6px 6px 0 var(--acc-5); max-width: 260px; }

/* ============ 表格 ============ */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.tbl th { text-align: left; font-family: var(--font-head); font-weight: 800;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--acc-2); padding: 4px 14px; }
.tbl td { background: rgba(45,27,78,.75); padding: 12px 14px; font-weight: 600;
  font-size: 14.5px; border-top: 3px solid var(--tc, rgba(255,58,242,.5)); }
.tbl tr td:first-child { border-left: 3px solid var(--tc, rgba(255,58,242,.5));
  border-radius: 14px 0 0 14px; }
.tbl tr td:last-child { border-right: 3px solid var(--tc, rgba(255,58,242,.5));
  border-radius: 0 14px 14px 0; }
.tbl tr:hover td { background: rgba(61,36,110,.9); }
.num { font-family: var(--font-head); font-weight: 900; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  border-radius: 999px; padding: 2px 12px; border: 2px solid currentColor; }

/* ============ 统计砖 ============ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.stat { border: 4px solid var(--c1); border-radius: 24px; padding: 16px 18px;
  background: rgba(45,27,78,.8); backdrop-filter: blur(4px);
  box-shadow: 8px 8px 0 var(--c2); transition: transform .3s ease-out, box-shadow .3s ease-out; }
.stat:nth-child(odd) { transform: rotate(-1deg); }
.stat:nth-child(even) { transform: rotate(1deg) translateY(6px); }
.stat:hover { transform: rotate(0) scale(1.04); box-shadow: 12px 12px 0 var(--c2); }
.stat .num { font-family: var(--font-head); font-weight: 900; font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1; letter-spacing: -.02em; text-shadow: 2px 2px 0 #0D0D1A, 4px 4px 0 var(--c2); }
.stat .lab { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.85); }

/* ============ toast ============ */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 100;
  display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast { border: 4px solid var(--tc, var(--acc-2)); border-radius: 16px;
  background: #0D0D1A; padding: 13px 16px; font-weight: 700; font-size: 14px;
  box-shadow: 6px 6px 0 var(--ts, var(--acc-5)); animation: toast-in .35s ease-out; }
.toast.err { --tc: #FF6B35; --ts: #FF3AF2; }
@keyframes toast-in { from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; } }

/* ============ 空状态 / 骨架 ============ */
.empty { border: 4px dashed var(--acc-1); border-radius: 24px; padding: 52px 30px;
  text-align: center; font-size: 19px; font-weight: 700;
  background: rgba(45,27,78,.6); box-shadow: 8px 8px 0 var(--acc-5); }
.empty .big { font-size: 50px; display: block; margin-bottom: 12px;
  animation: bounce-subtle 2s ease-in-out infinite; }
.skeleton { border: 4px solid rgba(255,58,242,.3); border-radius: 18px; height: 120px;
  background: linear-gradient(100deg, rgba(45,27,78,.5) 40%, rgba(90,50,160,.5) 50%, rgba(45,27,78,.5) 60%);
  background-size: 200% 100%; animation: gradient-shift 1.4s linear infinite; }

/* ============ 浮动装饰 ============ */
.shape { position: fixed; z-index: 1; pointer-events: none; user-select: none;
  filter: drop-shadow(0 0 12px currentColor); }
.spin-slow { animation: spin-slow 20s linear infinite; }
.float { animation: float 6s ease-in-out infinite; }
.float-rev { animation: float-reverse 5s ease-in-out infinite; }
.bounce-s { animation: bounce-subtle 2.2s ease-in-out infinite; }

/* ============ 页脚 ============ */
footer { position: relative; z-index: 10; margin-top: 60px; padding: 30px 0 44px;
  border-top: 8px double var(--acc-1); }
footer .fine { color: rgba(255,255,255,.6); font-size: 13px; }
footer .fine strong { color: #fff; }

/* ============ 动画 ============ */
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(5deg); } }
@keyframes float-reverse { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(20px) rotate(-5deg); } }
@keyframes wiggle { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes bounce-subtle { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 14px rgba(0,245,212,.4); }
  50% { box-shadow: 0 0 26px rgba(0,245,212,.75); } }

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .nav-links { margin-left: 0; }
  .card:nth-child(n) { margin-top: 0; }
  main { padding-bottom: 40px; }
  .toasts { left: 14px; right: 14px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .15s !important; }
}
