:root {
  --bg: #f2f5f2;
  --bg-deep: #e3ebe5;
  --ink: #14241c;
  --muted: #6a7a71;
  --card: #ffffff;
  --line: rgba(20, 36, 28, 0.09);
  --accent: #0f766e;
  --accent-strong: #0d5f58;
  --accent-soft: #ccfbf1;
  --accent-ink: #fff;
  --urgent: #e24b3b;
  --ok: #2a9b6a;
  --info: #0f766e;
  --matched: #c45c26;
  --shadow: 0 10px 28px rgba(20, 36, 28, 0.08);
  --radius: 18px;
  --font: "Noto Sans TC", "Geist", system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --hero-from: #042f2e;
  --hero-mid: #0f766e;
  --hero-to: #14b8a6;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  padding-bottom: calc(88px + var(--safe-b));
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: calc(10px + var(--safe-t)) 16px 12px;
  backdrop-filter: blur(14px);
  background: rgba(242, 245, 242, 0.92);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #ccfbf1, #f0fdfa);
  font-size: 1.1rem; flex-shrink: 0;
}
.brand-mark {
  font-weight: 900; font-size: 1.05rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-actions {
  display: flex; gap: 8px; align-items: center; flex-shrink: 0;
}
.topbar-actions .btn {
  padding: 8px 12px; font-size: 0.84rem; white-space: nowrap;
}
.topbar-actions .top-auth.btn-ghost { padding: 8px 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.85rem; overflow: hidden; font-weight: 700; color: var(--muted);
}
.nav-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.nav-fallback {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #14241c; color: #fff; font-weight: 800; font-size: 0.9rem;
}

.view { max-width: 560px; margin: 0 auto; padding: 12px 16px 32px; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 64px 1fr 1fr;
  align-items: end; gap: 2px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 6px 8px calc(6px + var(--safe-b));
  box-shadow: 0 -8px 24px rgba(20,36,28,0.06);
}
.tab {
  text-align: center; padding: 8px 4px 6px; border-radius: 12px;
  color: var(--muted); font-weight: 700; font-size: 0.72rem;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.tab-ico { font-size: 1.05rem; line-height: 1; }
.tab.on { color: var(--accent); }
.tab-fab {
  width: 56px; height: 56px; margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #14b8a6, #0f766e);
  color: #fff; font-size: 2rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.4);
  transform: translateY(-16px);
}
.tab-fab:active { transform: translateY(-16px) scale(0.95); }
.tab-fab span { line-height: 1; margin-top: -2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; border: 0; border-radius: 999px; padding: 12px 18px;
  cursor: pointer; font-weight: 700;
  transition: transform .15s, box-shadow .2s, opacity .15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff; box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: var(--urgent); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-threads { background: #111; color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.home-stack { display: flex; flex-direction: column; gap: 12px; animation: rise .4s both; }
.search-wrap {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 16px; box-shadow: var(--shadow);
}
.search-ico { opacity: 0.5; }
.search-wrap input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 0.95rem; }

.chips {
  display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto;
  padding: 2px 0 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 1.5px solid #d5e3dc; background: #fff;
  border-radius: 999px; padding: 9px 14px; cursor: pointer;
  font-size: 0.84rem; font-weight: 700; color: var(--muted);
  transition: all .2s;
}
.chip.active, .lb-tabs .chip.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 6px 14px rgba(15,118,110,.28);
}
.sort-row { display: flex; gap: 8px; align-items: center; }
.sort-pill {
  flex: 1; border: 1.5px solid #d5e3dc; background: #fff;
  border-radius: 999px; padding: 10px 14px; font-weight: 700; color: var(--muted);
}

.cta-card {
  position: relative; display: flex; gap: 12px; align-items: center;
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  border: 1px solid #99f6e4; border-radius: 18px; padding: 16px;
  animation: rise .45s .05s both;
}
.cta-x {
  position: absolute; top: 8px; right: 10px;
  border: 0; background: transparent; font-size: 1.2rem;
  color: var(--muted); cursor: pointer; line-height: 1;
}
.cta-ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: #fff; display: grid; place-items: center; font-size: 1.4rem;
  flex-shrink: 0; box-shadow: var(--shadow);
}
.cta-body b { display: block; margin-bottom: 4px; }
.cta-body p { margin: 0 0 10px; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }

.h-section-title {
  display: flex; align-items: center; gap: 6px;
  font-weight: 900; margin: 4px 0 10px; font-size: 1rem;
}
.h-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-card {
  flex: 0 0 220px;
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .15s; animation: rise .4s both;
}
.h-card:active { transform: scale(0.98); }
.h-card-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: #134e4a; color: #fff;
  font-size: 0.75rem; font-weight: 700;
}
.h-card-top.urgent { background: linear-gradient(90deg, #ef4444, #f97316); }
.h-pill { background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 8px; font-size: 0.68rem; }
.h-card-body { padding: 12px; }
.h-tag { color: var(--muted); font-size: 0.75rem; font-weight: 700; margin-bottom: 4px; }
.h-title {
  font-weight: 900; font-size: 0.98rem; line-height: 1.35; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.h-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 0.75rem; color: var(--muted); font-weight: 600; margin-bottom: 8px;
}
.h-user { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; }

.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow);
  transition: transform .2s; animation: rise .45s both;
}
.job-card:active { transform: scale(0.985); }
.job-list .job-card:nth-child(1) { animation-delay: .04s; }
.job-list .job-card:nth-child(2) { animation-delay: .08s; }
.job-list .job-card:nth-child(3) { animation-delay: .12s; }
.job-thumb {
  width: 92px; height: 92px; border-radius: 14px;
  background: linear-gradient(145deg, #d9efe8, #c5e4d9);
  display: grid; place-items: center; color: var(--muted); font-size: 0.72rem;
  overflow: hidden; font-weight: 700;
}
.job-thumb img { width: 100%; height: 100%; object-fit: cover; }
.job-title {
  font-weight: 800; font-size: 1rem; margin: 0 0 6px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; color: var(--muted); font-size: 0.78rem; align-items: center; }
.job-meta .meta-strong { color: var(--ink); font-weight: 700; }
.job-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 4px 9px;
  font-size: 0.72rem; font-weight: 800; animation: popIn .35s both;
}
.badge-urgent { background: #ffe3de; color: var(--urgent); }
.badge-open { background: #e6f7f3; color: var(--info); }
.badge-applying {
  background: #fff0e0; color: #c45f12;
  animation: pulseSoft 2s ease-in-out infinite, popIn .35s both;
}
.badge-matched { background: #ffedd5; color: var(--matched); }
.badge-done { background: #dff5ea; color: var(--ok); }
.badge-cancel { background: #eceff2; color: var(--muted); }

.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  animation: rise .45s both;
}
.panel + .panel { margin-top: 12px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff;
  border-radius: 14px; padding: 13px 14px; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(15,118,110,.5); box-shadow: 0 0 0 4px rgba(15,118,110,.12);
}
.hint { color: var(--muted); font-size: 0.8rem; margin-top: 6px; line-height: 1.45; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 130px; }

.profile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.avatar {
  border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle;
  background: var(--bg-deep); border: 2.5px solid #fff; box-shadow: 0 4px 14px rgba(20,36,28,.1);
}
.avatar-fallback {
  display: inline-grid; place-items: center; border-radius: 50%;
  background: linear-gradient(145deg, #2a3746, #1c242e);
  color: #fff; font-weight: 800; vertical-align: middle;
  border: 2.5px solid #fff;
}
.avatar-edit { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.points-card {
  background: linear-gradient(135deg, #134e4a 0%, #0f766e 70%, #2dd4bf 130%);
  color: #fff; border-radius: 18px; padding: 16px; margin-bottom: 14px;
  position: relative; overflow: hidden; animation: rise .5s .05s both;
}
.points-card::before {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,.08); right: -30px; top: -40px;
  animation: floaty 6s ease-in-out infinite;
}
.points-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; position: relative; }
.points-big { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; }
.points-sub { opacity: 0.85; font-size: 0.82rem; margin-top: 2px; }
.level-bar {
  height: 8px; background: rgba(255,255,255,.2); border-radius: 999px; margin-top: 12px; overflow: hidden;
}
.level-bar > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #5eead4, #fff);
  border-radius: 999px; transition: width .8s cubic-bezier(.22,1,.36,1);
}

.milestone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.milestone {
  border: 1px solid var(--line); border-radius: 16px; padding: 12px;
  background: #fff; animation: rise .4s both;
}
.milestone.on {
  border-color: rgba(15,118,110,.35);
  box-shadow: 0 8px 22px rgba(15,118,110,.12);
  background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
}
.milestone .ico { font-size: 1.35rem; display: block; margin-bottom: 4px; }
.milestone .t { font-weight: 800; font-size: 0.88rem; }
.milestone .d { color: var(--muted); font-size: 0.72rem; margin-top: 2px; }
.m-bar { height: 5px; background: #e3ebe5; border-radius: 999px; margin-top: 8px; overflow: hidden; }
.m-bar > i {
  display: block; height: 100%; background: var(--accent); border-radius: 999px;
  transition: width .7s cubic-bezier(.22,1,.36,1);
}

.stat-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.stat-mini > div {
  text-align: center; background: #f4f8f5; border-radius: 14px; padding: 10px 6px; border: 1px solid var(--line);
}
.stat-mini b { display: block; font-size: 1.15rem; font-weight: 900; }

.list-item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start;
}
.list-item:last-child { border-bottom: 0; }

.chat { display: flex; flex-direction: column; height: calc(100dvh - 160px); min-height: 400px; }
.chat-msgs {
  flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, #eef7f3, #fff);
  border-radius: 14px; border: 1px solid var(--line); margin-bottom: 10px;
}
.bubble {
  max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 0.94rem;
  white-space: pre-wrap; word-break: break-word; animation: bubbleIn .28s both;
}
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, #ccfbf1, #99f6e4); border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.system { align-self: center; background: transparent; color: var(--muted); font-size: 0.8rem; }
.bubble img { max-width: 100%; border-radius: 10px; display: block; }
.chat-compose { display: flex; gap: 8px; align-items: flex-end; }
.chat-compose textarea { flex: 1; min-height: 46px; max-height: 120px; resize: vertical; }

.stars { display: flex; gap: 8px; font-size: 1.8rem; cursor: pointer; }
.star { opacity: 0.28; transition: transform .15s, opacity .15s; }
.star.on { opacity: 1; transform: scale(1.1); }

.empty { text-align: center; color: var(--muted); padding: 48px 12px; animation: rise .4s both; }
.photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.photo-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.stat { background: var(--bg-deep); border-radius: 14px; padding: 14px; text-align: center; }
.stat b { display: block; font-size: 1.35rem; }

.toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-b));
  transform: translateX(-50%);
  background: rgba(20, 36, 28, 0.94); color: #fff;
  padding: 12px 18px; border-radius: 999px; z-index: 100;
  font-weight: 700; box-shadow: var(--shadow);
  animation: toastIn .35s both; max-width: calc(100vw - 32px); text-align: center;
}
.publish-time { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); margin: 10px 0 4px; }
.publish-time strong { color: var(--ink); }
.detail-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }

.lb-panel { padding: 0 !important; overflow: hidden; }
.lb-hero {
  background: linear-gradient(145deg, #134e4a 0%, #0f766e 60%, #2dd4bf 120%);
  color: #fff; padding: 22px 18px 18px; text-align: center;
}
.lb-emoji { font-size: 2rem; margin-bottom: 6px; animation: floaty 3s ease-in-out infinite; }
.lb-tabs { display: flex; gap: 8px; padding: 14px 14px 0; overflow-x: auto; }
.lb-list { padding: 10px 14px 18px; }
.lb-row {
  display: grid; grid-template-columns: 42px 46px 1fr auto;
  gap: 10px; align-items: center;
  padding: 12px; margin-bottom: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  animation: rise .35s both;
}
.lb-row.top { background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%); border-color: #99f6e4; }
.lb-rank { font-weight: 900; text-align: center; font-size: 1rem; }
.lb-name { font-weight: 800; }
.lb-score { font-weight: 900; color: var(--accent); font-size: 1.05rem; }

.v-badge {
  display: inline-grid; place-items: center;
  width: 1.05em; height: 1.05em; border-radius: 50%;
  background: linear-gradient(145deg, #14b8a6, #0f766e);
  color: #fff; font-size: 0.65em; font-weight: 900;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.35);
  vertical-align: middle; margin-left: 4px;
  line-height: 1;
}
.v-badge.lg { width: 42px; height: 42px; font-size: 1.2rem; margin: 0; }
.a-badge {
  display: inline-grid; place-items: center;
  width: 1.15em; height: 1.15em; border-radius: 6px;
  background: linear-gradient(145deg, #0f172a, #334155);
  color: #f8fafc; font-size: 0.55em; font-weight: 900;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
  vertical-align: middle; margin-left: 4px;
  line-height: 1;
  letter-spacing: 0;
}
.a-badge.lg { width: 42px; height: 42px; font-size: 0.95rem; margin: 0; border-radius: 12px; }
.a-tag {
  display: inline-flex; align-items: center;
  background: #0f172a; color: #f8fafc;
  border: 1px solid #334155; border-radius: 999px;
  padding: 2px 8px; font-size: 0.72rem; font-weight: 800;
  margin-left: 4px;
}
.v-tag {
  display: inline-flex; align-items: center;
  background: #f0fdfa; color: #0f766e;
  border: 1px solid #99f6e4; border-radius: 999px;
  padding: 2px 8px; font-size: 0.72rem; font-weight: 800;
  margin-left: 4px;
}
.verify-ok {
  display: flex; gap: 14px; align-items: center;
  background: #f0fdfa; border: 1px solid #99f6e4;
  border-radius: 16px; padding: 16px; margin: 12px 0 16px;
}
.verify-ways { display: grid; gap: 8px; margin: 12px 0; }
.verify-way {
  padding: 12px 14px; border-radius: 14px;
  background: #f4f8f5; border: 1px solid var(--line);
}
.verify-way b { display: block; margin-bottom: 4px; }
.verify-way p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.verify-progress {
  margin: 14px 0 4px; padding: 14px; border-radius: 14px;
  background: linear-gradient(180deg, #f0fdfa, #fff);
  border: 1px solid #99f6e4;
}
.verify-progress-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.88rem; margin-bottom: 8px;
}
.verify-bar {
  height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden;
}
.verify-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #2dd4bf);
}

.top-auth {
  padding: 8px 14px !important;
  font-size: 0.86rem !important;
}
.icon-btn[hidden], .top-auth[hidden] { display: none !important; }

.land-hero {
  position: relative;
  border-radius: 24px;
  padding: 22px 18px 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(45,212,191,.35), transparent 55%),
    linear-gradient(145deg, #042f2e 0%, #0f766e 55%, #14b8a6 100%);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.28);
  animation: rise .5s both;
}
.land-hero::after {
  content: "🪳";
  position: absolute; right: 12px; bottom: -8px;
  font-size: 4.5rem; opacity: 0.15;
  transform: rotate(-12deg);
  pointer-events: none;
}
.land-hero-pro {
  min-height: min(52vh, 420px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 22px 26px;
  border-radius: 28px;
  background:
    radial-gradient(520px 260px at 85% 15%, rgba(94,234,212,.35), transparent 50%),
    radial-gradient(420px 220px at 10% 90%, rgba(15,118,110,.4), transparent 55%),
    linear-gradient(155deg, #042f2e 0%, #134e4a 38%, #0f766e 100%);
  box-shadow: 0 20px 50px rgba(4, 47, 46, 0.35);
}
.land-hero-pro::after { opacity: 0.1; font-size: 5.5rem; right: 8px; bottom: -18px; }
.land-hero-glow {
  position: absolute; inset: -20% auto auto 40%;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.35), transparent 70%);
  animation: glowDrift 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.land-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  pointer-events: none;
}
.land-brand {
  position: relative; z-index: 1;
  margin: 0 0 10px;
  font-family: "Geist", var(--font);
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.land-hero-pro h1 {
  position: relative; z-index: 1;
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 6.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 14em;
  animation: rise .55s .05s both;
}
.land-hero-lead {
  position: relative; z-index: 1;
  margin: 0 0 18px;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 28rem;
  animation: rise .55s .1s both;
}
.land-hero-badge {
  display: inline-flex;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.land-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 6vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.land-hero p { margin: 0 0 16px; opacity: 0.9; font-size: 0.92rem; line-height: 1.55; max-width: 28rem; }
.land-actions { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; animation: rise .55s .14s both; }
.land-hero .btn-ghost, .land-cta .btn-ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn-lg { padding: 12px 18px !important; font-size: 0.95rem !important; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  animation: rise .5s .08s both;
}
.stat-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-pill .stat-num {
  display: block;
  font-family: "Geist", var(--font);
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-pill .stat-label {
  display: block; margin-top: 2px;
  font-size: 0.68rem; color: var(--muted); font-weight: 700;
}
@media (max-width: 400px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  animation: rise .5s .06s both;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.stat-card.c1::before { background: #0f766e; }
.stat-card.c2::before { background: #10b981; }
.stat-card.c3::before { background: #f59e0b; }
.stat-card.c4::before { background: #c45c26; }
.stat-label { font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.stat-num {
  font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em;
  margin: 4px 0 2px; color: var(--ink);
}
.stat-unit { font-size: 0.75rem; color: var(--muted); font-weight: 600; }

.auth-banner {
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  border: 1px solid #99f6e4;
  border-radius: 18px;
  padding: 16px;
  animation: rise .5s .1s both;
}
.auth-banner b { font-size: 1rem; }
.auth-banner p { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }

.land-page { display: flex; flex-direction: column; gap: 14px; }
.land-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  animation: rise .45s .08s both;
}
.land-section-soft { background: linear-gradient(180deg, #f3faf7 0%, #fff 55%); }
.land-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #0f766e;
}
.land-kicker-light { color: rgba(153,246,228,.95); }
.land-section h2 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 900; letter-spacing: -0.02em; }
.land-lead { margin: 0 0 16px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.land-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px;
}
.land-more { color: var(--accent); font-weight: 800; font-size: 0.88rem; white-space: nowrap; }
.how-rail { display: grid; gap: 10px; }
.how-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 2px 12px;
  padding: 14px; border-radius: 16px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
}
.how-n {
  grid-row: 1 / span 2; align-self: center;
  font-family: "Geist", var(--font);
  font-size: 1.05rem; font-weight: 800; color: #0f766e;
}
.how-step b { font-size: 0.98rem; }
.how-step p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.45; grid-column: 2; }
.trust-grid { display: grid; gap: 10px; }
@media (min-width: 520px) {
  .how-rail, .trust-grid { grid-template-columns: 1fr 1fr; }
}
.trust-item {
  padding: 14px; border-radius: 16px;
  background: #f4f8f5; border: 1px solid var(--line);
}
.trust-item b { display: block; margin-bottom: 4px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.fit-grid { display: grid; gap: 10px; }
@media (min-width: 520px) {
  .fit-grid { grid-template-columns: 1fr 1fr; }
}
.fit-card {
  padding: 16px; border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f4f8f5);
  border: 1px solid var(--line);
}
.fit-card b { display: block; margin-bottom: 4px; }
.fit-card p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.land-cta {
  border-radius: 22px; padding: 22px 18px;
  background: linear-gradient(145deg, #134e4a, #0f766e);
  color: #fff; text-align: left;
  box-shadow: 0 14px 32px rgba(15,118,110,.25);
  animation: rise .45s .12s both;
}
.land-cta-pro {
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(45,212,191,.32), transparent 50%),
    linear-gradient(145deg, #042f2e, #0f766e);
}
.land-cta b { display: block; font-size: 1.15rem; line-height: 1.35; margin-bottom: 6px; }
.land-cta p { margin: 0 0 14px; opacity: .9; font-size: 0.9rem; line-height: 1.45; }
.land-preview { gap: 8px; }

.land-footer {
  padding: 8px 4px 20px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.land-footer-brand { font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.land-footer-links {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin: 12px 0 8px;
}
.land-footer-links a { color: #0f766e; font-weight: 700; }
.land-footer-copy { margin: 0; font-size: 0.75rem; opacity: .8; }

.legal-page h1 { margin: 4px 0 6px; font-size: 1.45rem; font-weight: 900; }
.legal-body { font-size: 0.92rem; line-height: 1.65; color: var(--ink); }
.legal-body h3 { margin: 18px 0 8px; font-size: 1rem; }
.legal-body p { margin: 0 0 10px; color: #3d5348; }
.legal-body ul { margin: 0 0 12px; padding-left: 1.2em; color: #3d5348; }
.legal-body li { margin-bottom: 6px; }
.legal-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 18px 0 12px;
}
.legal-nav a {
  padding: 8px 12px; border-radius: 999px;
  background: #eef4f0; font-size: 0.82rem; font-weight: 700; color: var(--muted);
}
.legal-nav a.on { background: #ccfbf1; color: #0f766e; }
.legal-inline a { color: #0f766e; font-weight: 700; }

.jobs-page { display: flex; flex-direction: column; gap: 14px; }
.jobs-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 16px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(320px 140px at 100% 0%, rgba(45,212,191,.32), transparent 55%),
    linear-gradient(145deg, #042f2e, #0f766e);
  box-shadow: 0 14px 32px rgba(4, 47, 46, 0.22);
}
.jobs-hero .jobs-title { color: #fff; font-size: 1.4rem; }
.jobs-hero .jobs-sub { color: rgba(255,255,255,.82); }
.jobs-hero .btn-primary {
  background: #fff; color: #0f766e; border-color: #fff;
  white-space: nowrap; align-self: center;
}
.jobs-toolbar {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.jobs-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.jobs-title { margin: 0; font-size: 1.45rem; font-weight: 900; letter-spacing: -0.02em; }
.jobs-sub { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; }
.job-card.is-done { opacity: 0.72; background: #f4f8f5; }
.job-card.is-urgent-card { border-color: rgba(239,68,68,.25); }
.job-thumb-empty {
  background: linear-gradient(145deg, #ccfbf1, #f0fdfa);
  color: #0f766e; font-weight: 800;
}
.done-section { opacity: 0.95; }

.apps-page, .notif-page { display: flex; flex-direction: column; gap: 14px; }
.apps-hero {
  padding: 18px 16px; border-radius: 22px;
  background: linear-gradient(180deg, #f3faf7, #fff);
  border: 1px solid var(--line);
}
.apps-hero h1 { margin: 0; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.apps-h { margin: 4px 0 10px; font-size: 0.92rem; font-weight: 800; color: var(--muted); }
.apps-list { display: flex; flex-direction: column; gap: 10px; }
.apps-sections { display: flex; flex-direction: column; gap: 16px; }
.app-card, .my-app-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 14px; box-shadow: var(--shadow);
}
.app-card-top { display: flex; gap: 12px; align-items: flex-start; }
.app-card-who { flex: 1; min-width: 0; }
.app-name { font-weight: 800; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.app-msg {
  margin: 12px 0; padding: 12px; border-radius: 12px;
  background: #f2f7f4; color: var(--ink); font-size: 0.9rem; line-height: 1.5;
}
.app-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-status {
  font-size: 0.72rem; font-weight: 800; border-radius: 999px; padding: 4px 8px; white-space: nowrap;
}
.app-status.wait, .status-wait .app-status { background: #fff0e0; color: #c45f12; }
.app-status.ok, .status-ok .app-status { background: #dff5ea; color: var(--ok); }
.app-status.no, .status-no .app-status { background: #eceff2; color: var(--muted); }
.my-app-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.my-app-card.status-ok { border-color: #a7f3d0; }
.my-app-card.status-wait { border-color: #fed7aa; }
.my-app-card.is-deleted { opacity: 0.85; background: #f4f8f5; }
.my-app-link { display: block; color: inherit; text-decoration: none; }
.my-app-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-sm { padding: 8px 12px; font-size: 0.82rem; }

.notif-actions { display: flex; justify-content: flex-end; }
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif-card {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: flex-start;
  padding: 14px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.notif-card.unread { border-color: #99f6e4; background: linear-gradient(180deg, #f0fdfa, #fff); }
.notif-card.nearby.unread { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #fff); }
.notif-card.read { opacity: 0.7; }
.notif-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: #eef4f0; font-size: 1.1rem;
}
.notif-body b { display: block; margin-bottom: 4px; }
.notif-body p { margin: 0 0 4px; color: #3d5348; font-size: 0.88rem; line-height: 1.45; }
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #0f766e; margin-top: 8px;
}

body.is-land .view { max-width: 640px; }

@keyframes glowDrift {
  from { transform: translate(-10px, 0) scale(1); opacity: .7; }
  to { transform: translate(18px, 12px) scale(1.08); opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15,118,110,.25); }
  50% { box-shadow: 0 0 0 6px rgba(15,118,110,0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.a2hs-banner {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(72px + var(--safe-b));
  z-index: 45; /* 低於 tabbar(50)，避免擋住導覽；仍高於內容 */
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 12px 12px 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, #042f2e, #0f766e); color: #fff;
  box-shadow: 0 14px 32px rgba(4, 47, 46, 0.35);
  animation: rise .35s both;
  pointer-events: auto;
}
.a2hs-banner[hidden] { display: none !important; }
.a2hs-banner-text { min-width: 0; padding-right: 4px; }
.a2hs-banner b { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.a2hs-banner span { display: block; font-size: 0.78rem; opacity: .88; line-height: 1.35; }
.a2hs-banner .btn { flex-shrink: 0; padding: 10px 12px; font-size: 0.82rem; white-space: nowrap; }
.a2hs-banner-actions {
  display: flex; flex-direction: column; gap: 6px; align-items: stretch;
}
.a2hs-banner .a2hs-mini-x {
  border: 0; background: rgba(255,255,255,.14);
  color: #fff; font-size: 0.78rem; font-weight: 700;
  border-radius: 999px; padding: 6px 10px; cursor: pointer; line-height: 1;
}
body.has-a2hs-banner {
  padding-bottom: calc(160px + var(--safe-b));
}
@media (min-width: 720px) {
  .a2hs-banner { bottom: 24px; max-width: 420px; margin: 0 auto; left: 0; right: 0; z-index: 60; }
  body.has-a2hs-banner { padding-bottom: 120px; }
}

.a2hs-sheet[hidden] { display: none !important; }
.a2hs-sheet {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: end center;
  padding: var(--safe-t) 0 0;
}
.a2hs-backdrop {
  position: absolute; inset: 0; background: rgba(4, 47, 46, 0.45);
  backdrop-filter: blur(2px);
}
.a2hs-panel {
  position: relative; z-index: 1;
  width: min(100%, 480px);
  max-height: min(calc(100dvh - var(--safe-t) - 12px), 720px);
  display: flex; flex-direction: column;
  background: #fff; border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 40px rgba(20, 36, 28, 0.18);
  animation: rise .35s both;
  overflow: hidden;
}
.a2hs-panel-head {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 0 18px;
}
.a2hs-panel-scroll {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 10px 18px 12px;
  flex: 1; min-height: 0;
}
.a2hs-panel-actions {
  flex-shrink: 0;
  padding: 10px 18px calc(14px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: #fff;
}
.a2hs-panel-actions .btn { margin-bottom: 8px; }
.a2hs-panel-actions .btn:last-child { margin-bottom: 0; }
.a2hs-x {
  position: static;
  border: 0; background: #f2f5f2;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.35rem; color: var(--muted); cursor: pointer; line-height: 1;
  flex-shrink: 0;
  display: grid; place-items: center;
}
.a2hs-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(145deg, #ccfbf1, #f0fdfa);
  margin-bottom: 10px;
}
.a2hs-panel h2 { margin: 0; font-size: 1.2rem; font-weight: 900; flex: 1; min-width: 0; }
.a2hs-lead { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.a2hs-steps {
  margin: 0 0 12px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.a2hs-steps li {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start;
  font-size: 0.92rem; line-height: 1.45; font-weight: 600;
}
.a2hs-steps .n {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0f766e; color: #fff; font-size: 0.8rem; font-weight: 800;
}
.a2hs-steps .k {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 8px; margin: 0 2px; border-radius: 8px;
  background: #e6f7f3; color: #0f766e; font-weight: 800; font-size: 0.86rem;
}
.a2hs-note { margin: 0 0 4px; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

.install-card {
  margin: 12px 0 4px; padding: 14px; border-radius: 16px;
  background: linear-gradient(180deg, #f0fdfa, #fff);
  border: 1px solid #99f6e4;
}
.install-card b { display: block; margin-bottom: 4px; }
.install-card p { margin: 0 0 10px; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.install-page { padding-bottom: 24px; }
.install-page .btn-block { position: relative; z-index: 1; }
.install-status {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 14px;
}
.install-pill {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800;
  background: #eef4f0; color: var(--muted);
  border: 1px solid var(--line);
}
.install-pill.on {
  background: #ccfbf1; color: #0f766e; border-color: #99f6e4;
}

.me-menu-label {
  margin: 16px 0 4px; padding: 0 2px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.me-menu-label:first-child { margin-top: 4px; }
.me-menu .list-item a {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  width: 100%;
}
.me-menu-sub {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--muted); line-height: 1.35;
}


@media (min-width: 720px) {
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .view { max-width: 640px; padding-top: 22px; }
  .job-card { grid-template-columns: 110px 1fr; }
  .job-thumb { width: 110px; height: 110px; }
}

/* asset 1783979476 */

/* theme 1783979572 */

/* theme 1783979674 */

/* a2hs 1783981200 */

/* a2hs-fix 1783984200 */

/* app-notify hub 1783984800 */

/* safe-top 1783985100 */

/* app-soft-del 1783985600 */

/* me-hub 1783986000 */

/* account-delete 1783986500 */
