/* YsnSkin lolcsk — Modern Dark Blue-Violet Glassmorphic Theme */

:root {
  color-scheme: dark;
  --bg-base: #060911;
  --panel-bg: rgba(12, 17, 32, 0.58);
  --panel-border: rgba(139, 92, 246, 0.28);
  --panel-border-subtle: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(8, 12, 22, 0.60);
  --input-border: rgba(99, 102, 241, 0.28);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 320px;
  min-height: 100%;
  background-color: var(--bg-base);
}

body {
  min-height: 100vh;
  color: var(--text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button, input {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   全屏清晰明亮背景与蓝紫环境光
   ========================================================================== */
.bg-wallpaper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('csk-background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 70% 25%;
  transform: scale(1.01);
  filter: brightness(1.08) saturate(1.12) contrast(1.03);
  transition: transform 0.6s ease-out;
}

@media (min-width: 960px) {
  .bg-wallpaper {
    background-position: center 25%;
  }
}

@media (max-width: 640px) {
  .bg-wallpaper {
    background-position: 65% center;
  }
}

/* 大幅降低遮罩强度，移除模糊，中央 0.08~0.15，边缘最高不超过 0.45 */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(8, 12, 22, 0.10) 0%, rgba(6, 9, 18, 0.22) 60%, rgba(4, 6, 14, 0.45) 100%),
    linear-gradient(180deg, rgba(6, 9, 17, 0.10) 0%, rgba(6, 9, 18, 0.15) 50%, rgba(4, 6, 14, 0.42) 100%);
}

@media (max-width: 640px) {
  .bg-overlay {
    background:
      radial-gradient(ellipse at 50% 30%, rgba(8, 12, 22, 0.15) 0%, rgba(6, 9, 18, 0.28) 65%, rgba(4, 6, 14, 0.48) 100%),
      linear-gradient(180deg, rgba(6, 9, 17, 0.14) 0%, rgba(6, 9, 18, 0.20) 50%, rgba(4, 6, 14, 0.45) 100%);
  }
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.bg-ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.45;
  animation: float-orb 16s ease-in-out infinite alternate;
}

.bg-ambient-orb.orb-1 {
  width: 400px;
  height: 400px;
  top: 8%;
  right: 12%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(59, 130, 246, 0.10) 60%, transparent 80%);
}

.bg-ambient-orb.orb-2 {
  width: 450px;
  height: 450px;
  bottom: 10%;
  left: 8%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(99, 102, 241, 0.10) 60%, transparent 80%);
  animation-duration: 20s;
  animation-delay: -6s;
}

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -20px) scale(1.06); }
  100% { transform: translate(-20px, 25px) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-ambient-orb,
  .inventory-dot,
  .claim-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   页面容器与深色半透明 3D 悬浮微动玻璃主卡片
   ========================================================================== */
.page-shell {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 36px 16px;
  perspective: 1200px;
}

.claim-card {
  width: min(100%, 530px);
  padding: 34px 32px 24px;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(10, 15, 28, 0.48) 0%, rgba(6, 10, 20, 0.58) 100%);
  border: 1px solid var(--panel-border);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--panel-border-subtle),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 28px rgba(139, 92, 246, 0.05);
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.claim-card > * {
  position: relative;
  z-index: 2;
}

/* 鼠标移动时的径向光晕聚光灯 */
.claim-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(56, 189, 248, 0.14) 0%,
    rgba(139, 92, 246, 0.06) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

/* 鼠标跟随的高亮发光边缘 */
.claim-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(56, 189, 248, 0.9) 0%,
    rgba(139, 92, 246, 0.7) 35%,
    rgba(6, 182, 212, 0.25) 65%,
    transparent 80%
  );
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.claim-card:hover::before,
.claim-card:hover::after {
  opacity: 1;
}

.claim-card:hover {
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(139, 92, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 32px rgba(56, 189, 248, 0.08);
}

/* ==========================================================================
   Brand Header
   ========================================================================== */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
  background: rgba(9, 14, 24, 0.6);
}

.brand-text h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #38bdf8 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.brand-text p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  font-weight: 500;
}

/* ==========================================================================
   动态库存状态组件
   ========================================================================== */
.inventory-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.inventory-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.inventory-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* plenty: 青绿色呼吸 */
.inventory-strip.status-plenty .inventory-pill {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.15);
}
.inventory-strip.status-plenty .inventory-dot {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34, 197, 94, 0.55);
  animation: pulse-dot-green 2.4s ease-in-out infinite;
}

/* normal: 金黄色 */
.inventory-strip.status-normal .inventory-pill {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}
.inventory-strip.status-normal .inventory-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b, 0 0 14px rgba(245, 158, 11, 0.5);
}

/* low: 橙红色缓脉动 */
.inventory-strip.status-low .inventory-pill {
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fb923c;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.18);
}
.inventory-strip.status-low .inventory-dot {
  background: #f97316;
  box-shadow: 0 0 10px #f97316, 0 0 20px rgba(249, 115, 22, 0.65);
  animation: pulse-dot-orange 2s ease-in-out infinite;
}

/* empty: 鲜明红色 */
.inventory-strip.status-empty .inventory-pill {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.22);
}
.inventory-strip.status-empty .inventory-dot {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 18px rgba(239, 68, 68, 0.65);
}

/* unavailable: 灰蓝色中性 */
.inventory-strip.status-unavailable .inventory-pill,
.inventory-strip.status-loading .inventory-pill {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: #94a3b8;
}
.inventory-strip.status-unavailable .inventory-dot,
.inventory-strip.status-loading .inventory-dot {
  background: #64748b;
  box-shadow: 0 0 6px rgba(100, 116, 139, 0.5);
}

.inventory-empty-hint {
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
  width: 100%;
}

@keyframes pulse-dot-green {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34, 197, 94, 0.55); }
  50% { transform: scale(1.25); opacity: 0.85; box-shadow: 0 0 12px #22c55e, 0 0 24px rgba(34, 197, 94, 0.8); }
}

@keyframes pulse-dot-orange {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px #f97316, 0 0 18px rgba(249, 115, 22, 0.5); }
  50% { transform: scale(1.2); opacity: 0.85; box-shadow: 0 0 14px #f97316, 0 0 26px rgba(249, 115, 22, 0.8); }
}

/* ==========================================================================
   引导卡片 (Intro)
   ========================================================================== */
.intro {
  padding: 16px 18px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 34, 58, 0.40) 0%, rgba(12, 18, 34, 0.35) 100%);
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.intro-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.intro-icon {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 750;
}

.intro h2 {
  font-size: 13.5px;
  font-weight: 650;
  color: #e2e8f0;
}

.intro > p {
  margin: 6px 0 11px 27px;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.guide-list {
  display: grid;
  gap: 9px;
  list-style: none;
}

.guide-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.guide-list li > span {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #041018;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  font-size: 10.5px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.guide-list strong {
  display: block;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
}

.guide-list small {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
}

.notice-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 2px 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
}

.notice-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

/* ==========================================================================
   步骤面板与表单
   ========================================================================== */
.step-panel {
  margin-top: 22px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.step-title > span {
  color: #38bdf8;
  font-family: "SF Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.step-title h2 {
  font-size: 15px;
  font-weight: 650;
  color: #f1f5f9;
}

.step-title p {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
}

.step-title p strong {
  color: #38bdf8;
  font-weight: 600;
}

.field {
  margin-top: 15px;
}

.field:first-child {
  margin-top: 0;
}

label {
  display: inline-block;
  margin-bottom: 7px;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 550;
}

input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  outline: none;
  color: var(--text-main);
  background: var(--input-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder {
  color: #64748b;
}

input:hover {
  border-color: rgba(129, 140, 248, 0.45);
}

input:focus {
  border-color: rgba(56, 189, 248, 0.85);
  background: rgba(12, 18, 34, 0.80);
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.15),
    0 0 16px rgba(56, 189, 248, 0.18),
    inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.otp-input {
  text-align: center;
  font-family: "SF Mono", "Courier New", monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.25em;
  padding-left: 0.25em;
}

.field-hint {
  margin: 6px 1px 0;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.4;
}

.form-message {
  min-height: 19px;
  margin: 8px 1px 2px;
  color: var(--danger);
  font-size: 11.5px;
  line-height: 1.45;
  transition: all 0.2s ease;
}

.form-message.info {
  color: var(--text-muted);
}

/* ==========================================================================
   按钮体系
   ========================================================================== */
.claim-button {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #7c3aed 100%);
  box-shadow:
    0 10px 24px rgba(2, 132, 199, 0.25),
    0 4px 12px rgba(124, 58, 237, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.claim-button:hover:not(:disabled) {
  filter: brightness(1.12);
  box-shadow:
    0 14px 30px rgba(2, 132, 199, 0.35),
    0 6px 16px rgba(124, 58, 237, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.claim-button:active:not(:disabled) {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.claim-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.2);
  box-shadow: none;
}

.button-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.claim-button:hover:not(:disabled) .button-arrow {
  transform: translateX(2px);
}

.claim-button.is-loading .button-arrow {
  opacity: 0;
}

.secondary-button {
  display: block;
  width: 100%;
  min-height: 40px;
  margin-top: 12px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 10px;
  cursor: pointer;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.08);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.secondary-button:hover {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(139, 92, 246, 0.18);
  color: #f3e8ff;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.15);
}

.secondary-hint {
  margin: 7px 1px 0;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.resend-row {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.resend-row button,
.back-row button {
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  font-size: 12px;
  transition: color 0.15s ease;
}

.resend-row button {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resend-row button:disabled {
  color: var(--text-dim);
  text-decoration: none;
  cursor: default;
}

.back-row {
  margin-top: 10px;
  text-align: center;
}

.back-row button {
  color: var(--text-muted);
}

.back-row button:hover {
  color: #f1f5f9;
}

/* ==========================================================================
   成功面板与激活码卡片
   ========================================================================== */
.success-panel {
  padding-top: 10px;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--success);
  font-size: 24px;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.2);
}

.eyebrow {
  margin-bottom: 6px;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.success-panel h2 {
  font-size: 18px;
  color: #f1f5f9;
}

.key-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.08);
}

.key-box code {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  color: #38bdf8;
  font-family: "SF Mono", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.key-box button {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  cursor: pointer;
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.14);
  font-size: 11.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.key-box button:hover {
  background: rgba(56, 189, 248, 0.24);
  border-color: rgba(56, 189, 248, 0.65);
}

.success-notice {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* ==========================================================================
   历史激活码查询
   ========================================================================== */
.history-panel {
  margin-top: 22px;
}

.history-result-panel {
  padding-top: 10px;
  text-align: center;
}

.history-result-panel h2 {
  font-size: 18px;
}

.history-empty {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.history-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  text-align: left;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 11px 14px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.history-item-details {
  min-width: 0;
  flex: 1;
}

.history-item code {
  display: block;
  overflow-wrap: anywhere;
  color: #38bdf8;
  font-family: "SF Mono", "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.history-item small {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10.5px;
}

.history-copy-button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 7px;
  cursor: pointer;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.12);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.history-copy-button:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(168, 85, 247, 0.6);
}

.history-result-panel > .secondary-button {
  margin-top: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 11px;
}

.footer-brand {
  color: #7dd3fc;
  font-weight: 650;
}

.footer-dot {
  color: var(--text-dim);
}

/* ==========================================================================
   响应式调整 (Mobile & Small screens)
   ========================================================================== */
@media (max-width: 520px) {
  .page-shell {
    padding: 16px 12px;
  }

  .claim-card {
    padding: 26px 18px 18px;
    border-radius: 20px;
  }

  .brand {
    margin-bottom: 16px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text h1 {
    font-size: 23px;
  }

  .intro {
    padding: 14px 14px 12px;
  }

  .intro > p {
    margin-left: 27px;
  }

  .notice-strip {
    align-items: flex-start;
  }

  .notice-dot {
    margin-top: 5px;
  }
}
