/* ========== 基础 ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: #0a0a12;
  color: #e9e6f5;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: .85;
  z-index: -1;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(178,141,255,.15), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(255,154,60,.10), transparent 55%),
    linear-gradient(160deg, rgba(10,10,20,.25), rgba(20,10,40,.35));   /* ← 从 .92/.95 改成 .55/.65 */
  z-index: -1;
  pointer-events: none;
}

.gacha-app { max-width: 1100px; margin: 0 auto; padding: 28px 20px 60px; }

/* ========== 顶部 ========== */
.gacha-top { text-align: center; margin-bottom: 22px; }
.gacha-title {
  margin: 0; font-size: 24px; font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #ffd166, #b28dff, #7fc4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gacha-sub { color: rgba(233,230,245,.5); font-size: 11px; letter-spacing: 4px; margin-top: 4px; }

/* ========== 卡池 tabs ========== */
.pool-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.pool-tab {
  padding: 8px 18px; border-radius: 22px; font-size: 13.5px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(233,230,245,.6);
  cursor: pointer; user-select: none; transition: all .2s;
}
.pool-tab:hover { color: #e9e6f5; background: rgba(255,255,255,.08); }
.pool-tab.on {
  background: linear-gradient(120deg, rgba(255,209,102,.2), rgba(178,141,255,.22));
  border-color: #ffd166; color: #fff;
  box-shadow: 0 0 20px rgba(255,209,102,.15);
}

/* ========== 横幅 ========== */
.banner {
  position: relative; overflow: hidden;
  padding: 28px 32px; border-radius: 20px;
  background: linear-gradient(120deg, var(--ba, #5b8def), var(--bb, #c084fc));
  margin-bottom: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transition: background .5s;
}
.banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.3), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,.2), transparent 45%);
  pointer-events: none;
}
.banner-inner { position: relative; z-index: 1; }
.banner h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.banner-sub {
  display: inline-block; padding: 3px 12px;
  background: rgba(0,0,0,.3); border-radius: 20px;
  font-size: 12px; letter-spacing: .5px; backdrop-filter: blur(4px); margin-bottom: 10px;
}
.banner-desc { margin: 0; max-width: 620px; font-size: 13.5px; color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* ========== 保底栏 ========== */
.pity-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.pity-item {
  flex: 1; min-width: 220px;
  display: flex; align-items: baseline; gap: 10px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.pity-item #pity-num { font-size: 26px; font-weight: 800; color: #ffd166; line-height: 1; }
.pity-label { color: rgba(233,230,245,.55); font-size: 13px; }
.info-btn {
  padding: 14px 22px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #e9e6f5; font-size: 13px; cursor: pointer;
  font-family: inherit; transition: all .2s;
}
.info-btn:hover { background: rgba(255,255,255,.1); }

/* ========== 抽卡按钮 ========== */
.actions { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.action-btn {
  flex: 1; min-width: 200px;
  padding: 18px 24px; border: none; border-radius: 16px;
  cursor: pointer; color: #fff;
  font-family: inherit; transition: all .2s;
  position: relative; overflow: hidden;
}
.action-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); }
.action-btn:active:not(:disabled) { transform: translateY(0); }
.action-btn:disabled { opacity: .5; cursor: not-allowed; }
.action-btn .al { display: block; font-size: 17px; font-weight: 800; letter-spacing: 1px; }
.action-btn .as { display: block; font-size: 11px; opacity: .7; letter-spacing: 2px; margin-top: 2px; }
.action-btn.single { background: linear-gradient(120deg, #5b8def, #7a4ddb); box-shadow: 0 12px 32px rgba(91,141,239,.3); }
.action-btn.ten { background: linear-gradient(120deg, #ff9a3c, #d63384); box-shadow: 0 12px 32px rgba(255,154,60,.28); }

/* ========== 结果网格 ========== */
.results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; min-height: 140px; }
@media (max-width: 780px) { .results { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .results { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.empty-hint {
  grid-column: 1 / -1;
  padding: 50px 20px; text-align: center;
  border: 1px dashed rgba(255,255,255,.12); border-radius: 16px;
  color: rgba(233,230,245,.5); font-size: 14px;
}

/* ========== 结果卡片 ========== */
.card {
  position: relative; border-radius: 14px;
  aspect-ratio: 3 / 4; overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 2px solid rgba(255,255,255,.1);
  animation: cardIn .5s cubic-bezier(.4, 1.4, .6, 1) both;
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
@keyframes cardIn {
  0%   { transform: rotateY(90deg) scale(.85); opacity: 0; }
  60%  { transform: rotateY(-8deg) scale(1.02); opacity: 1; }
  100% { transform: rotateY(0) scale(1); opacity: 1; }
}
.card-art {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--ca, #5b8def), var(--cb, #2b2b4a));
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-art img {
  width: 100%; height: 100%;
  object-fit: contain;   /* 从 cover 改成 contain，不裁切 */
  display: block;
  background: rgba(0, 0, 0, .15);   /* 图片之外的留白给个底色 */
}
.card-glyph {
  font-size: 72px; font-weight: 900; color: rgba(255,255,255,.92);
  text-shadow: 0 4px 20px rgba(0,0,0,.5), 0 0 40px rgba(255,255,255,.3);
  font-family: "STKaiti", "KaiTi", "PingFang SC", serif;
  letter-spacing: -4px;
}
.card-up {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  padding: 2px 8px; border-radius: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(120deg, #ffd166, #ff9a3c); color: #4a2b00;
}
.card-rarity {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  padding: 2px 8px; border-radius: 5px;
  font-size: 11px; font-weight: 800;
  background: rgba(0,0,0,.65); color: #fff;
  backdrop-filter: blur(4px);
}
.card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 10px 10px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.55) 60%, transparent);
}
.card-name { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.card-title { font-size: 10.5px; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.card-stars { font-size: 11px; letter-spacing: 1px; margin-top: 3px; }

.card.rarity-1 { border-color: #CFCFCF; }
.card.rarity-1 .card-rarity { background: #CFCFCF; color: #333; }
.card.rarity-1 .card-stars { color: #CFCFCF; }
.card.rarity-2 { border-color: #616161; }
.card.rarity-2 .card-rarity { background: #616161; }
.card.rarity-2 .card-stars { color: #a0a0a0; }
.card.rarity-3 { border-color: #4ade80; }
.card.rarity-3 .card-rarity { background: #4ade80; color: #052e16; }
.card.rarity-3 .card-stars { color: #4ade80; }
.card.rarity-4 { border-color: #3b82f6; box-shadow: 0 0 0 1px rgba(59,130,246,.3), 0 6px 22px rgba(59,130,246,.2); }
.card.rarity-4 .card-rarity { background: #3b82f6; }
.card.rarity-4 .card-stars { color: #3b82f6; }
.card.rarity-5 { border-color: #b28dff; box-shadow: 0 0 0 1px rgba(178,141,255,.3), 0 6px 24px rgba(178,141,255,.25); }
.card.rarity-5 .card-rarity { background: #b28dff; }
.card.rarity-5 .card-stars { color: #b28dff; }
.card.rarity-6 {
  border-color: #ffd166;
  box-shadow: 0 0 0 1px rgba(255,209,102,.35), 0 8px 32px rgba(255,209,102,.35);
}
.card.rarity-6 .card-rarity { background: linear-gradient(120deg, #ffd166, #ff9a3c); color: #4a2b00; }
.card.rarity-6 .card-stars { color: #ffd166; }
.card.rarity-6 .card-art { animation: pulseGold 2.4s ease-in-out infinite; }
@keyframes pulseGold { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.15); } }

.card.rarity-7 {
  border-color: #ff9a3c;
  box-shadow: 0 0 0 1px rgba(255,154,60,.4), 0 8px 34px rgba(255,154,60,.4);
}
.card.rarity-7 .card-rarity { background: linear-gradient(120deg, #ff9a3c, #d63384); }
.card.rarity-7 .card-stars { color: #ff9a3c; }
.card.rarity-7 .card-art { animation: pulseGold 2s ease-in-out infinite; }

.card.rarity-8 {
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(20,20,30,.9), rgba(20,20,30,.9)) padding-box,
    linear-gradient(120deg, #d63384, #7a4ddb, #5b8def) border-box;
  box-shadow: 0 0 0 1px rgba(214,51,132,.4), 0 10px 36px rgba(214,51,132,.4);
}
.card.rarity-8 .card-rarity { background: linear-gradient(120deg, #d63384, #7a4ddb); }
.card.rarity-8 .card-stars { color: #e879b3; }
.card.rarity-8 .card-art { animation: pulseGold 1.8s ease-in-out infinite; }

.card.rarity-9 {
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(20,20,30,.9), rgba(20,20,30,.9)) padding-box,
    linear-gradient(120deg, #ffd166, #d63384, #7a4ddb, #5b8def, #ffd166) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: holoShift 4s linear infinite;
  box-shadow: 0 0 0 1px rgba(255,209,102,.5), 0 12px 40px rgba(214,51,132,.5);
}
@keyframes holoShift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 0 0, 300% 0; }
}
.card.rarity-9 .card-rarity { background: linear-gradient(120deg, #ffd166, #d63384, #7a4ddb); }
.card.rarity-9 .card-stars { color: #ffd166; }
.card.rarity-9 .card-art { animation: pulseGold 1.4s ease-in-out infinite; }

/* ============================================================
   十连过场 overlay
   布局：立绘居中 + 右下角纵向堆叠（名字/称号/星级 → Q版）
   ============================================================ */
.overlay {
  position: fixed; inset: 0; z-index: 999;
  display: none;
  align-items: center; justify-content: center;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(30,10,60,.82), rgba(0,0,0,.96) 70%),
    radial-gradient(circle at 15% 15%, rgba(178,141,255,.22), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255,154,60,.18), transparent 45%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.overlay.show { display: flex; animation: overlayIn .28s ease-out; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

/* 舞台：整体做位移动画 */
.stage {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* 转场：GPU 加速的 transform，无 blur */
.stage.leaving  { animation: stageLeave .2s cubic-bezier(.4, 0, 1, 1) forwards; }
.stage.entering { animation: stageEnter .36s cubic-bezier(.22, 1, .36, 1) both; }

@keyframes stageLeave {
  0%   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(-70px, 0, 0) scale(.95); }
}
@keyframes stageEnter {
  0%   { opacity: 0; transform: translate3d(80px, 0, 0) scale(.95); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* 立绘大图：居中，尽量大，不裁切 */
.stage-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 4vw;
  pointer-events: none;
}
.stage-art img {
  max-height: 86vh;
  max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  /* 单层阴影，比多层 drop-shadow 性能好很多 */
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.6));
  will-change: transform;
}

/* 无图时占位 */
.stage-glyph {
  width: min(56vh, 460px);
  height: min(86vh, 700px);
  display: flex; align-items: center; justify-content: center;
  font-size: min(30vh, 240px);
  font-weight: 900;
  color: rgba(255,255,255,.95);
  font-family: "STKaiti", "KaiTi", "PingFang SC", serif;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--ca, #5b8def), var(--cb, #2b2b4a));
  box-shadow:
    0 30px 80px rgba(0,0,0,.55),
    0 0 100px rgba(255,255,255,.12),
    inset 0 1px 0 rgba(255,255,255,.2);
  text-shadow: 0 6px 30px rgba(0,0,0,.55);
  letter-spacing: -8px;
}

/* 右下角纵向堆叠：信息 → Q版 */
.stage-side {
  position: absolute;
  right: 3.5vw;
  bottom: 3.5vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  z-index: 5;
  pointer-events: none;
  will-change: transform, opacity;
  animation: sideAppear .5s cubic-bezier(.22, 1, .36, 1) .1s both;
}
@keyframes sideAppear {
  from { opacity: 0; transform: translate3d(36px, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* 信息：右对齐 */
.stage-info { text-align: right; line-height: 1.2; }

.stage-name {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  line-height: 1.1;
  text-shadow:
    0 2px 6px rgba(0,0,0,1),
    0 0 22px rgba(0,0,0,.95),
    0 10px 42px rgba(0,0,0,.9);
}
.stage-title {
  margin-top: 8px;
  font-size: clamp(15px, 1.9vw, 21px);
  color: rgba(255,255,255,.92);
  letter-spacing: 2px;
  font-weight: 600;
  text-shadow:
    0 2px 6px rgba(0,0,0,1),
    0 0 16px rgba(0,0,0,.9);
}
.stage-stars {
  margin-top: 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: 6px;
  line-height: 1;
  padding-right: 3px; /* 补偿 letter-spacing 导致视觉右偏 */
}
/* 星级三档配色 */
.stage-stars.tier-1 {
  color: #fff;
  text-shadow:
    0 2px 10px rgba(0,0,0,1),
    0 0 26px rgba(255,255,255,.6),
    0 0 50px rgba(255,255,255,.25);
}
.stage-stars.tier-2 {
  color: #7fc4ff;
  text-shadow:
    0 2px 10px rgba(0,0,0,1),
    0 0 30px rgba(127,196,255,.95),
    0 0 60px rgba(127,196,255,.5);
}
.stage-stars.tier-3 {
  color: #ffd166;
  text-shadow:
    0 2px 10px rgba(0,0,0,1),
    0 0 32px rgba(255,209,102,1),
    0 0 70px rgba(255,154,60,.6);
}

/* Q 版：更大、更靠下 */
.stage-chibi {
  width: min(260px, 24vw);
  height: min(260px, 24vw);
  /* 完全去边框、去圆角，让原图的四角定位完整显示 */
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  /* 只保留投影，让 Q 版浮在背景上有层次感 */
  filter:
    drop-shadow(0 12px 30px rgba(0,0,0,.65))
    drop-shadow(0 0 30px rgba(255,255,255,.12));
  animation: chibiPop .5s cubic-bezier(.22, 1.2, .36, 1) .28s both;
  will-change: transform, opacity;
}
@keyframes chibiPop {
  0%   { opacity: 0; transform: translate3d(0, 40px, 0) scale(.6); }
  70%  { opacity: 1; transform: translate3d(0, -5px, 0) scale(1.05); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
.stage-chibi img {
  width: 100%;
  height: 100%;
  /* contain 保证原图完整显示，不会被裁掉四角 */
  object-fit: contain;
  display: block;
}
.stage-chibi-fb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: min(120px, 12vw);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,.6);
  /* 兜底时给个半透明底，代替原来的边框 */
  background: rgba(0,0,0,.15);
  border-radius: 8px;
}

/* 顶部进度 */
.overlay-progress {
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  letter-spacing: 3px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: rgba(255,255,255,.8);
  padding: 7px 18px;
  border-radius: 22px;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.12);
  z-index: 10;
}

/* 底部提示：居左下，与右侧信息分开 */
.overlay-hint {
  position: absolute;
  bottom: 28px;
  left: 4vw;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  letter-spacing: 6px;
  padding: 8px 20px;
  border-radius: 22px;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.12);
  animation: pulseHint 1.8s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}
@keyframes pulseHint {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* ========== 移动端 ========== */
@media (max-width: 720px) {
  .stage-art { padding: 4vh 3vw; }
  .stage-art img { max-height: 58vh; }
  .stage-glyph { width: 62vw; height: 58vh; font-size: 20vh; }

  .stage-side {
    right: 3vw;
    bottom: 10vh;
    gap: 10px;
  }
  .stage-name { font-size: 24px; letter-spacing: 2px; }
  .stage-title { font-size: 13px; margin-top: 4px; letter-spacing: 1px; }
  .stage-stars { font-size: 20px; letter-spacing: 4px; margin-top: 8px; }

  .stage-chibi {
    width: 132px; height: 132px;
    border-radius: 18px;
  }
  .stage-chibi-fb { font-size: 62px; }

  .overlay-hint {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    letter-spacing: 3px;
    font-size: 11px;
  }
}

/* ========== 弹窗 ========== */
.modal {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-box {
  width: 100%; max-width: 720px; max-height: 85vh;
  background: #181824; border: 1px solid #2a2a3a;
  border-radius: 18px;
  display: flex; flex-direction: column;
  animation: modalIn .25s ease-out; overflow: hidden;
}
@keyframes modalIn { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #2a2a3a; }
.modal-head h3 { margin: 0; font-size: 16px; }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid #2a2a3a; background: transparent;
  color: #8a8aa0; font-size: 14px; cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,.06); color: #fff; }
.modal-body { padding: 20px 24px 26px; overflow-y: auto; }

.rate-table { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.rate-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255,255,255,.03); border-radius: 8px; font-size: 13px;
}
.rate-row.tier { background: rgba(122,77,219,.1); font-weight: 700; }
.rate-row .lbl { color: #e9e6f5; }
.rate-row .pct { color: #ffd166; font-family: ui-monospace, monospace; font-weight: 700; }
.rate-row.legend-6 .lbl { color: #ffd166; }
.rate-row.legend-7 .lbl { color: #ff9a3c; }
.rate-row.legend-8 .lbl { color: #e879b3; }
.rate-row.legend-9 .lbl { color: #b28dff; }

.chars-block h4 { margin: 0 0 10px; font-size: 14px; color: #ffd166; font-weight: 700; }
.chars-line { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 16px; font-size: 13px; }
.chars-line .cn { color: #e9e6f5; }
.chars-line .cn.up { color: #ffd166; font-weight: 700; }
.chars-line .cn.up::after {
  content: ' UP';
  font-size: 10px;
  background: linear-gradient(120deg, #ffd166, #ff9a3c);
  color: #4a2b00;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: 1px;
  letter-spacing: 1px;
}

/* 角色图鉴浮动按钮 */
.gacha-album-fab {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  z-index: 50;
  transition: all .2s;
}
.gacha-album-fab:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(178,141,255,.6);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(122,77,219,.4);
}
@media (max-width: 720px) {
  .gacha-album-fab {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
}

/* ========== 页脚 ========== */
.gacha-footer { text-align: center; margin-top: 40px; color: rgba(233,230,245,.4); font-size: 12px; }