/* =========================================================
   套餐激活系统 · H5 用户端样式（v3：激活码 + 作品链接）
   移动优先（390px 设计稿），纯手写，无外部字体 / CDN / 图标库
   ========================================================= */

/* ---------- 0. 重置与设计变量 ---------- */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #241f3d;
  background-color: #f3f0fb;
  background-image:
    radial-gradient(1100px 620px at 12% -8%, #e9e2ff 0%, rgba(233, 226, 255, 0) 62%),
    radial-gradient(900px 520px at 96% 12%, #e3f1ff 0%, rgba(227, 241, 255, 0) 58%),
    radial-gradient(900px 620px at 50% 108%, var(--brand-soft) 0%, rgba(247, 236, 255, 0) 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body::before,
body::after{
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(48px);
  opacity: 0.7;
}

body::before{
  width: 240px;
  height: 240px;
  left: -90px;
  top: 130px;
  background: radial-gradient(circle, rgba(139, 123, 255, 0.3) 0%, rgba(139, 123, 255, 0) 70%);
}

body::after{
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: 70px;
  background: radial-gradient(circle, rgba(255, 170, 200, 0.22) 0%, rgba(255, 170, 200, 0) 70%);
}

:root{
  --brand: #6c5ce7;
  --brand-2: #8b7bff;
  --brand-3: #a78bfa;
  --brand-deep: #5b4bd6;
  --brand-soft: #f1edff;
  --brand-soft-2: #f8f5ff;
  --ink: #241f3d;
  --ink-2: #4a4468;
  --muted: #8a85a3;
  --muted-2: #a9a4bf;
  --line: #edeaf7;
  --card: #ffffff;
  --success: #12b886;
  --success-soft: #e6faf2;
  --warning: #f0a020;
  --danger: #ef4444;
  --gold: #f6b73c;
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 10px 30px rgba(76, 60, 168, 0.08), 0 2px 8px rgba(76, 60, 168, 0.04);
  --shadow-soft: 0 6px 18px rgba(76, 60, 168, 0.05);
  --shadow-float: 0 14px 34px rgba(76, 60, 168, 0.18);
  --grad-brand: linear-gradient(135deg, #8272ff 0%, #6c5ce7 55%, #5b4bd6 100%);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

[hidden]{
  display: none !important;
}

button,
input,
textarea{
  font-family: inherit;
  color: inherit;
}

button{
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a{
  color: var(--brand);
}

svg{
  display: block;
}

::selection{
  background: rgba(108, 92, 231, 0.22);
}

.noscript{
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 999;
  background: rgba(34, 28, 66, 0.92);
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
}

/* ---------- 1. 页面容器 ---------- */
.app{
  position: relative;
  z-index: 1;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 4px 16px 0;
}

.main{
  padding-bottom: 56px;
}

/* ---------- 2. 顶部品牌 / 公告 / 客服 ---------- */
.site-header{
  padding: 12px 2px 4px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand__logo{
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand__logo svg{
  width: 23px;
  height: 23px;
}

.brand__meta{
  min-width: 0;
}

.brand__name{
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__slogan{
  margin: 3px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 236, 255, 0.9));
  border: 1px solid rgba(108, 92, 231, 0.13);
  box-shadow: 0 4px 14px rgba(76, 60, 168, 0.05);
  animation: fadeUp 0.4s both;
}

.notice__icon{
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--brand);
}

.notice__icon svg{
  width: 100%;
  height: 100%;
}

.notice__text{
  font-size: 12px;
  line-height: 1.55;
  color: #5b5580;
  word-break: break-word;
}










/* ---------- 3. 激活页 Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  padding: 22px 20px 44px;
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 18px 36px rgba(91, 75, 214, 0.28);
  animation: cardIn 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.hero::before,
.hero::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before{
  width: 200px;
  height: 200px;
  right: -70px;
  top: -100px;
  background: rgba(255, 255, 255, 0.14);
}

.hero::after{
  width: 130px;
  height: 130px;
  left: -54px;
  bottom: -72px;
  background: rgba(255, 255, 255, 0.09);
}

.hero__eyebrow{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  opacity: 0.8;
}

.hero__dot{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9ffec;
  box-shadow: 0 0 0 3px rgba(201, 255, 236, 0.2);
}

.hero__title{
  position: relative;
  margin: 10px 0 0;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.hero__title span{
  background: linear-gradient(90deg, #ffffff 0%, #efe9ff 70%, #dcd2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc{
  position: relative;
  margin: 9px 0 0;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

/* ---------- 4. 卡片 / 基础组件 ---------- */
.card{
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(108, 92, 231, 0.08);
  box-shadow: var(--shadow-card);
}

.soft-icon{
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.soft-icon svg{
  width: 19px;
  height: 19px;
}

.soft-icon--brand{
  color: var(--brand);
  background: linear-gradient(135deg, #f2eeff, #e8e1ff);
  border: 1px solid rgba(108, 92, 231, 0.1);
}

.card-title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.card-sub{
  margin: 3px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.inline-error{
  display: none;
  margin: 10px 2px 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #ffe0e0;
  font-size: 12px;
  line-height: 1.55;
  color: #d94a4a;
}

.inline-error.is-show{
  display: block;
  animation: fadeUp 0.22s both;
}

.btn-activate{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  background: var(--grad-brand);
  box-shadow: 0 12px 24px rgba(108, 92, 231, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-activate svg{
  width: 17px;
  height: 17px;
  letter-spacing: 0;
}

.btn-activate:active{
  transform: scale(0.985);
  box-shadow: 0 6px 16px rgba(108, 92, 231, 0.26);
}

.btn-activate:disabled{
  opacity: 0.72;
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------- 5. 激活成功卡片 ---------- */
.success-root{
  margin-top: 16px;
}

.success-card{
  position: relative;
  overflow: hidden;
  padding: 20px 18px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
  border: 1px solid rgba(108, 92, 231, 0.13);
  box-shadow: 0 16px 36px rgba(76, 60, 168, 0.11);
  animation: riseIn 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.success-card::before{
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 123, 255, 0.16) 0%, rgba(139, 123, 255, 0) 68%);
  pointer-events: none;
}

.success-head{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-badge{
  position: relative;
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 22px rgba(108, 92, 231, 0.32);
  animation: popBig 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.success-badge::before{
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 123, 255, 0.3);
  animation: ringPulse 2.2s ease-in-out infinite;
}

.success-badge svg{
  width: 27px;
  height: 27px;
}

.success-badge svg path{
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: drawCheck 0.5s 0.18s ease forwards;
}

.success-head__text{
  min-width: 0;
}

.success-title{
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-2) 55%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.success-sub{
  margin: 4px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

.success-body{
  position: relative;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.success-label{
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--muted-2);
}

.success-plan{
  margin: 5px 0 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--ink);
  word-break: break-word;
}

.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #5b4fbf;
  background: var(--brand-soft-2);
  border: 1px solid #e8e2ff;
  border-radius: 8px;
}

.chip svg{
  width: 12px;
  height: 12px;
  flex: none;
  color: var(--brand-2);
}

.chip span{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip--more{
  color: var(--muted);
  background: #f8f7fc;
  border-color: #efedf6;
}

.success-expire{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.success-expire svg{
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.success-expire strong{
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.success-code{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft-2), var(--brand-soft-2));
  border: 1px dashed #dcd4ff;
}

.success-code__label{
  flex: none;
  font-size: 10.5px;
  color: var(--muted);
}

.success-code__value{
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #4b3fc0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn{
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid #e4deff;
  background: #fff;
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

.copy-btn svg{
  width: 12px;
  height: 12px;
}

.copy-btn:active{
  transform: scale(0.94);
  background: var(--brand-soft);
}

.success-tip{
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted-2);
}

.success-tip svg{
  flex: none;
  width: 13px;
  height: 13px;
  color: #a094e8;
}

.success-actions{
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  height: 44px;
  border-radius: 13px;
  border: 1px solid #eae5f6;
  background: #f7f5fc;
  color: #6a638a;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-ghost:active{
  transform: scale(0.985);
  background: #f1edfa;
}

/* 成功卡片上的彩纸屑装饰 */
.confetti{
  position: absolute;
  inset: -26px 0 auto;
  height: 320px;
  pointer-events: none;
  overflow: hidden;
}

.confetti span{
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  opacity: 0;
  animation: confettiFloat 2.6s ease-in-out infinite;
}

.confetti span:nth-child(1){
  left: 10%;
  top: 24%;
  background: var(--brand-2);
  animation-delay: 0.1s;
}

.confetti span:nth-child(2){
  left: 22%;
  top: 10%;
  width: 6px;
  height: 10px;
  border-radius: 2px;
  background: #ffb44d;
  animation-delay: 0.5s;
}

.confetti span:nth-child(3){
  right: 14%;
  top: 16%;
  background: #5ed6b3;
  animation-delay: 0.9s;
}

.confetti span:nth-child(4){
  right: 24%;
  top: 36%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff8fb1;
  animation-delay: 0.3s;
}

.confetti span:nth-child(5){
  left: 7%;
  top: 48%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd166;
  animation-delay: 1.2s;
}

.confetti span:nth-child(6){
  right: 8%;
  top: 50%;
  background: #a4c8ff;
  animation-delay: 1.5s;
}

.confetti span:nth-child(7){
  left: 31%;
  top: 5%;
  width: 5px;
  height: 8px;
  background: #c8b6ff;
  animation-delay: 1.8s;
}

.confetti span:nth-child(8){
  right: 32%;
  top: 6%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ee0c2;
  animation-delay: 2s;
}

.section-block{
  margin-top: 22px;
}

/* ---------- 11. Toast ---------- */
.toast-root{
  position: fixed;
  left: 50%;
  bottom: calc(102px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 48px);
  pointer-events: none;
}

.toast{
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(34, 28, 66, 0.92);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(30, 22, 70, 0.25);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-show{
  opacity: 1;
  transform: none;
}

.toast__icon{
  flex: none;
  width: 15px;
  height: 15px;
  color: #a9c4ff;
}

.toast__icon svg{
  width: 100%;
  height: 100%;
}

.toast--success .toast__icon{
  color: #6ee7b7;
}

.toast--error .toast__icon{
  color: #ff9a9a;
}

.spinner{
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner--brand{
  border-color: rgba(108, 92, 231, 0.22);
  border-top-color: var(--brand);
}

/* ---------- 12.5 作品链接输入 / 任务状态徽章（契约 v3） ---------- */
.link-field-wrap{
  margin-top: 14px;
}

.field-label{
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 2px 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.field-req{
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  color: #b26a00;
  background: #fff4e0;
  border: 1px solid #ffe3b3;
}

.link-field{
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  background: #fbfaff;
  border: 1.5px solid #e8e3f5;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.link-field:focus-within{
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.11), 0 6px 16px rgba(108, 92, 231, 0.08);
}

.link-field__icon{
  flex: none;
  width: 17px;
  height: 17px;
  color: #a094e8;
}

.link-field__icon svg{
  width: 100%;
  height: 100%;
}

.input-link{
  width: 100%;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}

.input-link::placeholder{
  font-family: var(--mono);
  font-size: 11.5px;
  color: #bfb9d1;
}

.field-hint{
  margin: 7px 2px 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted-2);
}

.link-field.is-invalid{
  border-color: #f3b6b6;
  background: #fffafa;
}

.link-field.is-invalid:focus-within{
  border-color: #e88b8b;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* 作品链接展示行（激活成功卡片 / 我的卡片共用） */
.work-line{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft-2), var(--brand-soft-2));
  border: 1px dashed #dcd4ff;
}

.work-line__label{
  flex: none;
  font-size: 10.5px;
  color: var(--muted);
}

.work-link{
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand-deep);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.work-link:active{
  opacity: 0.7;
}

.work-link.is-empty{
  color: var(--muted-2);
  font-weight: 500;
}

/* 任务状态徽章：task_status 0 待投放（橙） / 1 已投放（绿） */
.task-badge{
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.task-badge--pending{
  color: #b26a00;
  background: #fff4e0;
  border: 1px solid #ffe3b3;
}

.task-badge--done{
  color: #0b8a68;
  background: #e4f8f0;
  border: 1px solid #c8f1e0;
}

.task-time{
  flex: none;
  margin-left: auto;
  font-size: 10.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 359px) {

  .input-link{
    font-size: 12px;
  }

  .input-link::placeholder{
    font-size: 10.5px;
  }

}

/* ---------- 12.7 领取链接激活（?oid=） ---------- */
.claim-root{
  position: relative;
  z-index: 2;
  margin-top: -26px;
}

.claim-card{
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfcff 100%);
  animation: cardIn 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.claim-head{
  display: flex;
  align-items: center;
  gap: 10px;
}

.claim-plan{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-soft-2), var(--brand-soft-2));
  border: 1px dashed #dcd4ff;
}

.claim-plan__label{
  flex: none;
  font-size: 11px;
  color: var(--muted);
}

.claim-plan__name{
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-deep);
  word-break: break-word;
}

.claim-loading{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding: 18px 0;
  font-size: 12px;
  color: var(--muted);
}

.claim-notice{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 13px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.6;
  animation: fadeUp 0.25s both;
}

.claim-notice svg{
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.claim-notice--warn{
  color: #b26a00;
  background: #fff7e8;
  border: 1px solid #ffe3b3;
}

.claim-retry{
  width: 100%;
  margin-top: 12px;
}
@media (max-width: 359px) {

  .claim-plan__name{
    font-size: 15px;
  }

}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes popBig {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.35;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes confettiFloat {
  0% {
    opacity: 0;
    transform: translateY(6px) rotate(0deg) scale(0.6);
  }
  25% {
    opacity: 1;
  }
  60% {
    opacity: 0.9;
    transform: translateY(-12px) rotate(160deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-26px) rotate(320deg) scale(0.7);
  }
}

/* ---------- 14. 小屏 / 桌面适配 ---------- */
@media (max-width: 359px) {

  .hero__title{
    font-size: 24px;
  }

  .hero__desc{
    font-size: 11.5px;
  }

}
@media (min-width: 560px) {

  body{
    padding: 24px 0;
  }

  .app{
    border-radius: 32px;
    background: linear-gradient(180deg, #f9f7ff 0%, #f4f1ff 100%);
    box-shadow: 0 30px 70px rgba(50, 36, 120, 0.18), 0 4px 14px rgba(50, 36, 120, 0.06);
  }

  .site-header{
    padding-top: 18px;
  }

}

/* ---------- 15. 可访问性 / 杂项 ---------- */
button:focus-visible,
input:focus-visible{
  outline: 2px solid rgba(108, 92, 231, 0.5);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {

  *,
*::before,
*::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/* ---------- 16. 纯领取页：无链接提示卡 ---------- */
.hint-card{
  position: relative;
  z-index: 2;
  margin-top: -26px;
  padding: 24px 18px 20px;
  text-align: center;
  animation: cardIn 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.hint-card__icon{
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-2);
  background: linear-gradient(135deg, var(--brand-soft-2), var(--brand-soft));
}

.hint-card__icon svg{
  width: 24px;
  height: 24px;
}

.hint-card__title{
  font-size: 16px;
  line-height: 1.5;
}

.hint-card__sub{
  margin: 8px auto 0;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.65;
}

.hint-card__recover{
  display: flex;
  gap: 8px;
  margin: 16px auto 0;
  max-width: 340px;
}

.hint-card__input{
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line, #e8e4f8);
  background: var(--field, #f7f5ff);
  font-size: 14px;
  color: inherit;
  outline: none;
  -webkit-appearance: none;
}

.hint-card__input:focus{
  border-color: var(--brand-2);
  background: #fff;
}

.hint-card__btn{
  flex: 0 0 auto;
  height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hint-card__btn:active{
  opacity: .86;
}

.hint-card__tip{
  margin: 10px auto 0;
  max-width: 300px;
  font-size: 11px;
  line-height: 1.6;
  color: #9aa0b4;
}






.claim-head__text{
  min-width: 0;
}


/* ---------- 已激活状态卡 ---------- */
.claim-status{
  margin-top: 14px;
  padding: 14px 14px 12px;
  border-radius: var(--radius-lg, 16px);
  background: #f7f5ff;
  border: 1px solid rgba(108, 92, 231, 0.12);
}
.claim-status__head{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.claim-status__hint{
  font-size: 12px;
  color: #6b6f80;
}
.claim-status__list{
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.claim-status__item{
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.claim-status__item dt{
  flex: none;
  width: 64px;
  color: #8a8fa3;
}
.claim-status__item dd{
  margin: 0;
  color: #2f3242;
  word-break: break-all;
}
.claim-status__link{
  color: var(--brand);
}
.claim-status__copy{
  margin-left: 8px;
  padding: 0 8px;
  height: 22px;
  border-radius: 11px;
  border: 1px solid rgba(108, 92, 231, 0.35);
  background: #fff;
  color: var(--brand);
  font-size: 11px;
  cursor: pointer;
}
.claim-status__foot{
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(108, 92, 231, 0.18);
  font-size: 12px;
  color: #8a8fa3;
}
