:root {
  color-scheme: light;
  --bg: #fbfbfa;
  --panel: #ffffff;
  --panel-soft: #f6f6f5;
  --text: #111111;
  --muted: #727272;
  --quiet: #9a9a9a;
  --line: #dfdfdc;
  --line-strong: #c9c9c5;
  --shadow: 0 18px 48px rgba(15, 15, 15, 0.07);
  --accent: #1677ff;
  --accent-2: #9b6cff;
  --ok: #0b8f65;
  --warn: #b25e00;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(22, 119, 255, 0.05), transparent 28rem),
    var(--bg);
  color: var(--text);
}

button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 56px 28px 44px;
}

.hero {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 290px;
}

.mark {
  position: relative;
  width: 96px;
  height: 82px;
  margin-bottom: 24px;
}

.mark-symbol,
.mark-letter {
  position: absolute;
  font-weight: 800;
  line-height: 1;
}

.mark-symbol {
  top: 2px;
  left: 12px;
  color: var(--accent);
  font-size: 60px;
}

.mark-letter {
  right: 11px;
  bottom: 0;
  color: var(--accent-2);
  font-size: 58px;
}

.hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.15rem, 4.4vw, 4.25rem);
  line-height: 1.1;
  font-weight: 760;
  letter-spacing: 0;
}

.hero p {
  margin: 20px 0 0;
  color: #666;
  font-size: clamp(1.2rem, 2vw, 1.78rem);
  line-height: 1.45;
  letter-spacing: 0;
}

.translator {
  display: grid;
  gap: 24px;
}

.language-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.select-shell {
  position: relative;
  display: block;
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

select {
  width: 100%;
  height: 70px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  padding: 0 64px 0 28px;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  letter-spacing: 0;
  appearance: none;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

select:focus {
  border-color: #b8cef5;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.13);
  background: #fff;
}

.swap-button {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #707070;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.swap-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #fff;
}

.swap-button svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.panes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pane {
  position: relative;
  min-height: 430px;
  border: 1.5px solid var(--line);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.input-pane {
  background: var(--panel);
}

.output-pane {
  min-height: 300px;
  background: var(--panel-soft);
  box-shadow: none;
}

textarea,
#result-primary,
#result-secondary {
  width: 100%;
  min-height: 430px;
  padding: 52px 74px 72px 38px;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--text);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  line-height: 1.55;
  letter-spacing: 0;
}

textarea::placeholder,
.result-placeholder {
  color: #8f8f8f;
}

.output-pane #result-primary,
.output-pane #result-secondary {
  min-height: 300px;
  padding-top: 82px;
}

.output-heading,
.output-status {
  position: absolute;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.output-heading {
  top: 30px;
  left: 38px;
  font-weight: 700;
}

.output-status {
  right: 34px;
  bottom: 44px;
}

.output-status.error {
  color: #a33b2d;
}

.output-status.ok {
  color: var(--ok);
}

.pane-actions {
  position: absolute;
  left: 34px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-pane .pane-actions {
  left: auto;
  right: 34px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6d6d6d;
  transition:
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.icon-button:hover {
  background: rgba(0, 0, 0, 0.055);
  color: #111;
  transform: translateY(-1px);
}

.icon-button.active,
.icon-button[aria-pressed="true"] {
  background: rgba(22, 119, 255, 0.11);
  color: #0b63d1;
}

.icon-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.counter {
  position: absolute;
  left: 38px;
  bottom: 38px;
  color: var(--quiet);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4f4f4f;
  padding: 0 16px;
  font-weight: 650;
  letter-spacing: 0;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.control-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #fff;
  color: #111;
}

.control-button.active,
.control-button[aria-pressed="true"] {
  border-color: rgba(22, 119, 255, 0.38);
  background: rgba(22, 119, 255, 0.1);
  color: #0b63d1;
}

.control-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.status.error {
  color: #a33b2d;
}

.status.ok {
  color: var(--ok);
}

.translate-button {
  min-width: 132px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 0 28px;
  font-weight: 680;
  letter-spacing: 0;
  transition:
    transform 150ms ease,
    opacity 150ms ease,
    background 150ms ease;
}

.translate-button:hover {
  transform: translateY(-1px);
  background: #2a2a2a;
}

.translate-button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .shell {
    padding: 34px 16px 28px;
  }

  .hero {
    min-height: 230px;
  }

  .mark {
    margin-bottom: 14px;
    transform: scale(0.82);
  }

  .hero p {
    margin-top: 14px;
  }

  .language-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  select {
    height: 58px;
    padding: 0 44px 0 18px;
    font-size: 1.05rem;
  }

  .select-shell::after {
    right: 20px;
    width: 10px;
    height: 10px;
    border-width: 2.5px;
  }

  .swap-button {
    width: 52px;
    height: 52px;
  }

  .swap-button svg {
    width: 26px;
    height: 26px;
  }

  .panes {
    grid-template-columns: 1fr;
  }

  .pane,
  textarea,
  #result-primary,
  #result-secondary {
    min-height: 270px;
  }

  .pane {
    border-radius: 28px;
  }

  textarea,
  #result-primary,
  #result-secondary {
    padding: 32px 28px 72px;
    font-size: 1.14rem;
  }

  .output-pane #result-primary,
  .output-pane #result-secondary {
    min-height: 250px;
    padding-top: 70px;
  }

  .output-heading {
    top: 24px;
    left: 28px;
  }

  .output-status {
    right: 22px;
    bottom: 30px;
  }

  .pane-actions,
  .input-pane .pane-actions {
    right: 22px;
    left: auto;
    bottom: 22px;
  }

  .output-pane .pane-actions {
    left: 22px;
    right: auto;
  }

  .counter {
    left: 28px;
    bottom: 32px;
  }

  .footer-row {
    align-items: stretch;
    flex-direction: column;
  }

  .controls {
    justify-content: stretch;
  }

  .control-button,
  .translate-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.06rem;
  }

  .language-row {
    grid-template-columns: 1fr;
  }

  .swap-button {
    justify-self: center;
    transform: rotate(90deg);
  }

  .swap-button:hover {
    transform: rotate(90deg) translateX(-1px);
  }

  .control-button {
    min-width: 0;
  }
}

[hidden] {
  display: none !important;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.topbar-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(22, 119, 255, 0.12);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
}

.topbar-name {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.account-area {
  display: flex;
  justify-content: flex-end;
}

.account-button {
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4f4f4f;
  padding: 0 22px;
  font-weight: 650;
  letter-spacing: 0;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.account-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #fff;
  color: #111;
}

.account-chip {
  position: relative;
}

.account-summary {
  display: grid;
  justify-items: end;
  gap: 2px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 8px 18px;
  text-align: right;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.account-summary:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.account-email {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 650;
}

.account-usage {
  color: var(--muted);
  font-size: 0.8rem;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 4px;
  min-width: 176px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 8px;
}

.account-menu-item {
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  padding: 0 14px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0;
  transition:
    background 150ms ease,
    color 150ms ease;
}

.account-menu-item:hover {
  background: var(--panel-soft);
}

.account-menu-item-danger:hover {
  background: rgba(163, 59, 45, 0.08);
  color: #a33b2d;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 15, 15, 0.45);
}

.modal {
  position: relative;
  width: min(100%, 440px);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 34px 32px 32px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6d6d6d;
  font-size: 1.35rem;
  line-height: 1;
  transition:
    background 150ms ease,
    color 150ms ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.055);
  color: #111;
}

.modal-title {
  margin: 0 0 18px;
  font-size: 1.45rem;
  font-weight: 740;
  letter-spacing: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border-radius: 999px;
  background: var(--panel-soft);
  padding: 6px;
  margin-bottom: 22px;
}

.auth-tab {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0;
  transition:
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.auth-tab[aria-selected="true"] {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(15, 15, 15, 0.08);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-label {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text);
}

.field-hint {
  color: var(--quiet);
  font-size: 0.8rem;
}

.field-input {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 0 16px;
  font-size: 1rem;
  letter-spacing: 0;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.field-input:focus {
  border-color: #b8cef5;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.13);
}

.auth-error {
  margin: 0;
  color: #a33b2d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-submit {
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 680;
  letter-spacing: 0;
  transition:
    transform 150ms ease,
    opacity 150ms ease,
    background 150ms ease;
}

.auth-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #2a2a2a;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.plans {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 740;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.plans-status {
  margin: 0;
  min-height: 1.4em;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.plans-status.error {
  color: #a33b2d;
}

.plans-status.ok {
  color: var(--ok);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 30px 28px 28px;
}

.plan-card.current {
  border-color: rgba(22, 119, 255, 0.45);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.plan-badge.using {
  background: var(--ok);
}

.plan-name {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 740;
  letter-spacing: 0;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price-amount {
  font-size: 2.05rem;
  font-weight: 780;
  letter-spacing: 0;
}

.plan-price-period {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-daily {
  margin: 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 650;
}

.plan-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
}

.plan-action {
  margin-top: auto;
  padding-top: 4px;
}

.plan-subscribe-button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 680;
  letter-spacing: 0;
  transition:
    transform 150ms ease,
    opacity 150ms ease,
    background 150ms ease;
}

.plan-subscribe-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #0b63d1;
}

.plan-subscribe-button:disabled {
  cursor: default;
  opacity: 0.64;
  transform: none;
}

.plan-subscribe-button.ghost {
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #4f4f4f;
}

.plan-subscribe-button.ghost:hover:not(:disabled) {
  background: #fff;
}

.orders-block {
  margin-top: 4px;
}

.orders-details {
  border: 1.5px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  padding: 4px 24px 12px;
}

.orders-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.orders-details summary::-webkit-details-marker {
  display: none;
}

.orders-details summary::after {
  content: "▾";
  color: var(--muted);
  transition: transform 150ms ease;
}

.orders-details[open] summary::after {
  transform: rotate(180deg);
}

.orders-list {
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.order-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
  padding: 14px 18px;
}

.order-info {
  display: grid;
  gap: 4px;
}

.order-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0;
}

.order-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.order-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-amount {
  font-weight: 700;
}

.order-status {
  display: inline-flex;
  align-items: center;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted);
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.order-status.paid {
  background: rgba(11, 143, 101, 0.12);
  color: var(--ok);
}

.order-status.pending {
  background: rgba(178, 94, 0, 0.12);
  color: var(--warn);
}

.order-status.cancelled,
.order-status.expired {
  background: rgba(163, 59, 45, 0.1);
  color: #a33b2d;
}

.order-empty {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .topbar {
    margin-bottom: 10px;
  }

  .account-summary {
    padding: 6px 14px;
  }

  .account-email {
    max-width: 168px;
  }

  .modal {
    border-radius: 26px;
    padding: 28px 22px 26px;
  }

  .plans {
    margin-top: 28px;
  }

  .plans-grid {
    gap: 18px;
  }

  .plan-card {
    border-radius: 26px;
    padding: 24px 20px 22px;
  }

  .orders-details {
    padding: 2px 16px 10px;
  }

  .order-item {
    border-radius: 14px;
    padding: 12px 14px;
  }
}

/* 綁定 LINE */
.line-bind-desc{margin:12px 0 8px;color:#595959;font-size:14px;line-height:1.7}
.line-bind-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.line-bind-button{background:#00a19c;color:#fff;border:none;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:600;cursor:pointer}
.line-bind-button:disabled{opacity:.6;cursor:default}
.line-bind-code{font-family:ui-monospace,Menlo,monospace;font-size:20px;font-weight:700;letter-spacing:2px;color:#00a19c;background:rgba(0,161,156,.08);padding:6px 14px;border-radius:8px}
.line-bind-hint{margin:10px 0 0;color:#8c8c8c;font-size:13px;line-height:1.7}
.line-bind-hint code{background:rgba(0,0,0,.06);padding:2px 6px;border-radius:4px;font-size:12px}

/* 頂欄品牌改為可點擊回首頁 */
a.topbar-brand{color:inherit;text-decoration:none}

/* LINE Bot 引導區塊 */
.line-cta{width:100%;max-width:880px;margin:0 auto 56px}
.line-cta-card{display:flex;flex-wrap:wrap;gap:28px;align-items:stretch;border:1.5px solid var(--line);border-radius:32px;background:var(--panel);box-shadow:var(--shadow);padding:34px 32px}
.line-cta-main{flex:1 1 300px;display:flex;flex-direction:column;gap:14px;min-width:0}
.line-cta-main h2{margin:0;font-size:1.5rem;font-weight:760;letter-spacing:0}
.line-cta-main p{margin:0;color:var(--muted);font-size:0.98rem;line-height:1.7}
.line-cta-main strong{color:var(--accent)}
.line-cta-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;margin-top:auto;background:#06c755;color:#fff;border-radius:999px;padding:13px 34px;font-size:1.02rem;font-weight:700;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.line-cta-button:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(6,199,85,.35)}
.line-cta-steps{flex:1 1 260px;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;justify-content:center;gap:16px}
.line-cta-steps li{display:flex;align-items:flex-start;gap:12px;color:var(--muted);font-size:0.95rem;line-height:1.65}
.line-cta-steps li span{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#06c755;color:#fff;font-size:0.82rem;font-weight:700;margin-top:2px}
.line-cta-steps code{background:rgba(0,0,0,.06);padding:2px 8px;border-radius:5px;font-size:0.85em}
@media (max-width:640px){.line-cta-card{padding:26px 22px;border-radius:24px}}

/* LINE 引導：QR 碼側欄 */
.line-cta-side{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:10px;justify-content:center}
.line-cta-qr{width:148px;height:148px;padding:10px;background:#fff;border:1.5px solid var(--line);border-radius:18px}
.line-cta-qr svg{display:block;width:100%;height:100%}
.line-cta-qr-caption{margin:0;text-align:center;color:var(--muted);font-size:0.85rem;line-height:1.5}
.line-cta-note{margin:0;color:var(--muted);font-size:0.85rem;line-height:1.6}

/* 首頁 hero：LINE 加入按鈕 */
.member-button.line-button{background:#06c755;color:#fff;border:none}
.member-button.line-button:hover{filter:brightness(1.06)}
