/* ===== 粗趣活动大厅 v3.6 · 抖音式整页大卡 + 电话拨号盘随机抽 ===== */
:root {
  --ah-bg: #0a0c11;
  --ah-card: #141822;
  --ah-line: #222836;
  --ah-tx: #f2f4f8;
  --ah-mut: #8b93a3;
  --ah-acc: #7ee787;
  --ah-yel: #ffd75e;
  --ah-red: #ff6b6b;
  --ah-frame: 480px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  background: #05070b;
  color: var(--ah-tx);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* 桌面居中手机竖屏 frame */
.ah-stage {
  position: relative;
  max-width: var(--ah-frame);
  height: 100dvh;
  margin: 0 auto;
  background: var(--ah-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, .8);
}
@media (min-width: 481px) {
  body::after {
    content: "粗趣 · 同频搭子 一起玩  |  cuqu.net";
    position: fixed; left: 0; right: 0; bottom: 10px;
    text-align: center; color: #3a4150; font-size: 12px; letter-spacing: 2px;
    pointer-events: none;
  }
}

/* ---- 顶栏 ---- */
.ah-top {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: rgba(10, 12, 17, .96);
  border-bottom: 1px solid var(--ah-line);
  z-index: 20; flex: none;
}
.ah-brand { font-size: 15px; font-weight: 800; letter-spacing: .4px; }
.ah-brand b { color: var(--ah-acc); }
.ah-sp { flex: 1; }
.ah-tag {
  font-size: 12px; color: var(--ah-mut); padding: 5px 10px;
  border: 1px solid var(--ah-line); border-radius: 16px; background: var(--ah-card);
  cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 4px;
}
.ah-tag.on { color: var(--ah-acc); border-color: rgba(126, 231, 135, .5); }
.ah-dial-btn {
  background: linear-gradient(135deg, #34c759, #28a745);
  color: #fff; border: none; border-radius: 20px; padding: 7px 13px;
  font-size: 13px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 4px 14px rgba(52, 199, 89, .35);
  white-space: nowrap;
}
.ah-dial-btn svg { width: 15px; height: 15px; }

/* ---- 城市 / 品类 chips ---- */
.ah-bars { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 8px 0 6px; background: rgba(10,12,17,.94); border-bottom: 1px solid var(--ah-line); }
.ah-chiprow { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
.ah-chiprow::-webkit-scrollbar { display: none; }
.ah-chip {
  flex: none; font-size: 12px; color: var(--ah-mut); padding: 4px 12px;
  border: 1px solid var(--ah-line); border-radius: 14px; background: transparent;
  cursor: pointer; white-space: nowrap;
}
.ah-chip.on { color: #06230c; background: var(--ah-acc); border-color: var(--ah-acc); font-weight: 700; }

/* ---- 主视口：整页大卡 ---- */
.ah-view {
  flex: 1; overflow-y: auto; scroll-snap-type: y mandatory;
  overscroll-behavior: contain; position: relative; background: #000;
}
.ah-view::-webkit-scrollbar { display: none; }
.ah-page {
  position: relative; height: 100%; width: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  overflow: hidden; background: #0d1017;
}
.ah-page .bgimg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: linear-gradient(160deg, #1c2330, #0d1017);
}
.ah-page .shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.05) 34%, rgba(0,0,0,.55) 68%, rgba(0,0,0,.88) 100%),
    linear-gradient(90deg, rgba(0,0,0,.22) 0%, transparent 40%);
  pointer-events: none;
}

/* 顶部浮标 */
.ah-page .p-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 12px 14px; pointer-events: none; }
.ah-page .p-cat {
  background: rgba(10,12,17,.72); backdrop-filter: blur(6px);
  color: var(--ah-yel); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 14px;
}
.ah-page .p-price {
  background: var(--ah-acc); color: #06230c; font-size: 13px; font-weight: 800;
  padding: 4px 12px; border-radius: 14px;
}
.ah-page .p-price.free { background: rgba(255,255,255,.92); color: #111; }
.ah-page .p-pageidx { position: absolute; top: 14px; right: 14px; color: rgba(255,255,255,.85); font-size: 12px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* 底部信息 */
.ah-page .p-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
}
.ah-page .p-title {
  font-size: 24px; font-weight: 800; line-height: 1.35; letter-spacing: .2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ah-page .p-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.94); text-shadow: 0 1px 5px rgba(0,0,0,.5); }
.ah-page .p-row .p-dist { background: rgba(126,231,135,.18); color: var(--ah-acc); border-radius: 10px; padding: 1px 8px; font-size: 11px; font-weight: 700; }
.ah-page .p-creator { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ah-page .p-creator img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.35); }
.ah-page .p-creator .nm { font-size: 12px; color: rgba(255,255,255,.92); }
.ah-page .p-creator .ct { font-size: 11px; color: rgba(255,255,255,.6); }

/* 右侧操作钮 */
.ah-page .p-acts { position: absolute; right: 10px; bottom: calc(120px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ah-page .act {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(20,24,34,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; position: relative;
}
.ah-page .act span {
  position: absolute; top: -6px; right: -6px; background: var(--ah-red); color: #fff;
  font-size: 9px; font-weight: 800; border-radius: 9px; padding: 1px 5px; min-width: 16px; text-align: center;
}
.ah-page .act .lab {
  position: absolute; right: 50px; top: 50%; transform: translateY(-50%);
  background: rgba(10,12,17,.7); color: #fff; font-size: 11px; white-space: nowrap;
  padding: 3px 9px; border-radius: 10px; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.ah-page .act:active .lab { opacity: 1; }
.ah-page .act.green { background: var(--ah-acc); color: #06230c; border: none; width: 46px; height: 46px; font-size: 20px; }
.ah-page .act.av { font-size: 0; }
.ah-page .act.av::after { content: "去"; font-size: 16px; font-weight: 800; color: #06230c; }

/* 加载态 / 状态 */
.ah-loading, .ah-status { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ah-mut); font-size: 14px; scroll-snap-align: start; }
.ah-spin { width: 28px; height: 28px; border: 3px solid #2a3140; border-top-color: var(--ah-acc); border-radius: 50%; animation: ahspin .8s linear infinite; }
@keyframes ahspin { to { transform: rotate(360deg); } }
.ah-retry { background: var(--ah-card); color: var(--ah-tx); border: 1px solid var(--ah-line); border-radius: 16px; padding: 8px 22px; font-size: 13px; cursor: pointer; }

/* ---- 拨号盘 ---- */
.dm-mask {
  position: absolute; inset: 0; z-index: 50;
  background: rgba(4,6,10,.92); backdrop-filter: blur(10px);
  display: none; flex-direction: column;
}
.dm-mask.show { display: flex; }
.dm-head { display: flex; align-items: center; padding: 18px 16px 4px; }
.dm-head .t { font-size: 16px; font-weight: 800; flex: 1; text-align: center; }
.dm-x { width: 32px; height: 32px; border-radius: 50%; background: var(--ah-card); border: 1px solid var(--ah-line); color: var(--ah-mut); font-size: 14px; cursor: pointer; }
.dm-x.l { visibility: hidden; }
.dm-screen { text-align: center; padding: 26px 20px 10px; }
.dm-num {
  font-size: 34px; font-weight: 800; letter-spacing: 6px; min-height: 48px;
  font-variant-numeric: tabular-nums;
}
.dm-num.empty { color: var(--ah-mut); font-size: 20px; letter-spacing: 1px; font-weight: 600; }
.dm-hint { color: var(--ah-mut); font-size: 12px; margin-top: 6px; min-height: 18px; }
.dm-hint .roll { color: var(--ah-acc); }
.dm-pad {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  gap: 10px; padding: 8px 40px 20px;
}
.dm-row { display: flex; gap: 10px; justify-content: center; }
.dm-key {
  flex: 1; max-width: 92px; height: 58px; border-radius: 14px;
  background: var(--ah-card); border: 1px solid var(--ah-line);
  color: var(--ah-tx); font-size: 24px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dm-key:active { background: #232b3c; }
.dm-key.sub { font-size: 14px; color: var(--ah-mut); font-weight: 400; }
.dm-key.sub small { display: block; font-size: 9px; letter-spacing: 1px; }
.dm-bottom { display: flex; align-items: center; justify-content: center; gap: 34px; padding: 6px 30px calc(20px + env(safe-area-inset-bottom)); }
.dm-del { background: none; border: none; color: var(--ah-mut); font-size: 20px; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.dm-call {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #34c759, #219a3f);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(52, 199, 89, .45); position: relative;
}
.dm-call svg { width: 28px; height: 28px; }
.dm-call::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(52,199,89,.35); animation: dmring 1.4s ease-out infinite;
}
@keyframes dmring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.dm-call.busy { background: linear-gradient(135deg, #5a6474, #3d4454); box-shadow: none; }
.dm-call.busy::after { display: none; }
.dm-call.err { background: linear-gradient(135deg, #ff6b6b, #d64545); box-shadow: 0 6px 22px rgba(255,107,107,.4); }
.dm-call.err::after { border-color: rgba(255,107,107,.4); }
.fate-scan { width: 120px; height: 120px; border-radius: 18px; margin: 26px auto 8px; display: block; }

/* ---- 命运卡 ---- */
.fate-mask { position: absolute; inset: 0; z-index: 60; background: rgba(4,6,10,.94); display: none; flex-direction: column; }
.fate-mask.show { display: flex; }
.fate-card { margin: auto 0; position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.fate-bg { position: absolute; inset: 0; object-fit: cover; filter: blur(1px); transform: scale(1.02); }
.fate-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.92)); }
.fate-top { position: relative; text-align: center; padding: 26px 16px 0; z-index: 2; }
.fate-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); padding: 5px 16px; border-radius: 20px; font-size: 12px; letter-spacing: 2px; color: #fff; }
.fate-badge b { color: var(--ah-yel); font-size: 14px; }
.fate-body { position: relative; z-index: 2; margin-top: auto; padding: 0 22px 18px; }
.fate-cat { color: var(--ah-yel); font-size: 12px; font-weight: 700; }
.fate-title { font-size: 25px; font-weight: 800; line-height: 1.4; margin: 8px 0 12px; text-shadow: 0 2px 12px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fate-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: rgba(255,255,255,.9); font-size: 13px; }
.fate-meta span { display: flex; align-items: center; gap: 4px; }
.fate-meta .fd { color: var(--ah-acc); font-weight: 700; }
.fate-ops { display: flex; gap: 10px; margin-top: 18px; }
.fate-btn { flex: 1; text-align: center; border-radius: 24px; padding: 13px 0; font-size: 15px; font-weight: 800; cursor: pointer; border: none; }
.fate-btn.detail { background: var(--ah-acc); color: #06230c; }
.fate-btn.again { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.fate-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); border: none; color: #fff; font-size: 15px; cursor: pointer; }
.fate-foot { position: relative; z-index: 2; text-align: center; padding: 0 20px calc(22px + env(safe-area-inset-bottom)); color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: 1px; }

/* ---- 小程序码弹层（大厅版） ---- */
.qr-mask {
  position: absolute; inset: 0; z-index: 80;
  background: rgba(4,6,10,.88); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.qr-mask.show { display: flex; }
.qr-box { background: #fff; color: #111; border-radius: 20px; padding: 26px 24px 20px; width: 300px; text-align: center; }
.qr-box img { width: 200px; height: 200px; border-radius: 10px; }
.qr-box h3 { font-size: 17px; margin: 14px 0 6px; }
.qr-box p { font-size: 12px; color: #666; line-height: 1.7; }
.qr-box button { margin-top: 14px; background: #111; color: #fff; border: none; border-radius: 20px; padding: 10px 30px; font-size: 14px; cursor: pointer; }
.qr-title { display: block; font-size: 11px; color: #999; margin-top: 2px; }

/* ===== v3.7 随机抽弹层：模式切换器 + 5 玩法 ===== */
.dm-mask { background: rgba(4,6,10,.96); }
.gm-tabs {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 0; flex: none;
  scrollbar-width: none; position: relative; z-index: 3;
}
.gm-tabs::-webkit-scrollbar { display: none; }
.gm-tab {
  flex: none; font-size: 12px; color: var(--ah-mut); padding: 5px 12px;
  border: 1px solid var(--ah-line); border-radius: 14px; background: var(--ah-card);
  cursor: pointer; white-space: nowrap;
}
.gm-tab.on { color: #06230c; background: var(--ah-acc); border-color: var(--ah-acc); font-weight: 700; }
.gm-head { display: flex; align-items: center; padding: 10px 16px 4px; flex: none; }
.gm-head .gm-title { font-size: 15px; font-weight: 800; flex: 1; text-align: center; }
.gm-pane { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.gm-pane.gm-dial .dm-screen { padding: 12px 20px 6px; }
.gm-pane.gm-dial .dm-pad { justify-content: flex-start; gap: 8px; padding-top: 10px; }
.gm-pane.gm-dial .dm-key { height: 52px; }
.gm-pane.gm-dial .dm-bottom { padding: 4px 30px calc(14px + env(safe-area-inset-bottom)); }

/* 通用玩法按钮 */
.sl-btn {
  background: var(--ah-card); color: var(--ah-tx); border: 1px solid var(--ah-line);
  border-radius: 22px; padding: 10px 26px; font-size: 14px; font-weight: 800; cursor: pointer;
}
.sl-btn.spin { background: linear-gradient(135deg,#34c759,#219a3f); color:#fff; border:none; box-shadow: 0 4px 16px rgba(52,199,89,.35); }
.sl-btn:disabled { opacity: .4; cursor: default; }

/* 🎰 老虎机三连抽 */
.gm-slots { padding: 8px 20px 20px; }
.sl-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 0; }
.sl-reels { display: flex; gap: 10px; }
.sl-reel { width: 92px; }
.sl-window {
  height: 74px; border-radius: 14px; overflow: hidden; position: relative;
  background: #0b0e15; border: 2px solid #2a3140;
  box-shadow: inset 0 0 14px rgba(0,0,0,.6);
}
.sl-strip { transition: none; }
.sl-strip.anim { transition: transform 3.4s cubic-bezier(.15,.85,.25,1); }
.sl-item {
  height: 74px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: var(--ah-tx); padding: 0 6px; text-align: center;
  line-height: 1.2; word-break: break-all; background: linear-gradient(180deg,#171c28,#12161f);
  border-bottom: 1px solid #1e2430;
}
.sl-cap { text-align: center; font-size: 11px; color: var(--ah-mut); margin-top: 6px; letter-spacing: 2px; }
.sl-payline {
  height: 2px; background: linear-gradient(90deg, transparent, var(--ah-yel), transparent);
  margin: -8px 0 4px; position: relative; z-index: 2;
}
.sl-msg { font-size: 13px; color: var(--ah-yel); font-weight: 700; min-height: 20px; text-align: center; }
.sl-ops { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sl-ops .sl-btn.sl-stop { padding: 8px 14px; min-width: 46px; font-size: 13px; }
.sl-ops .sl-btn.stopme { background: linear-gradient(135deg,#ffd75e,#f5a623); color: #1a1204; border: none; }
.sl-tip { font-size: 11px; color: var(--ah-mut); text-align: center; line-height: 1.6; }

/* 🃏 翻牌三选一 */
.gm-cards { padding: 10px 16px 20px; }
.cd-msg { text-align: center; font-size: 13px; color: var(--ah-yel); font-weight: 700; padding: 4px 0 14px; }
.cd-table { display: flex; gap: 12px; justify-content: center; perspective: 900px; }
.cd-card { width: 104px; height: 150px; position: relative; transform-style: preserve-3d; cursor: pointer; transition: transform .55s ease; }
.cd-card.flip { transform: rotateY(180deg); }
.cd-face {
  position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.cd-back {
  background: linear-gradient(150deg,#1d6f3f,#0e3a22);
  border: 2px solid rgba(126,231,135,.5); color: rgba(255,255,255,.85);
  font-size: 40px; font-weight: 800;
}
.cd-back small { font-size: 10px; color: rgba(255,255,255,.55); margin-top: 6px; letter-spacing: 3px; font-weight: 400; }
.cd-front {
  background: #141822; border: 2px solid var(--ah-line);
  transform: rotateY(180deg); padding: 6px; justify-content: flex-start;
}
.cd-front img { width: 100%; height: 74px; object-fit: cover; border-radius: 8px; }
.cd-front .tt { font-size: 10.5px; line-height: 1.3; font-weight: 700; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cd-front .pc { font-size: 10px; color: var(--ah-acc); font-weight: 800; margin-top: auto; }
.cd-front .cd-ph {
  width: 100%; height: 74px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg,#1d6f3f,#0e3a22); color: #fff; font-size: 13px; font-weight: 800;
}
.cd-card.empty { cursor: default; opacity: .35; }
.cd-ops { display: flex; justify-content: center; padding-top: 16px; }
#cdReshuffle { border-color: #2a3140; }

/* 🪙 刮刮乐 */
.gm-scratch { padding: 6px 20px 20px; }
.sc-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.sc-msg { font-size: 13px; color: var(--ah-yel); font-weight: 700; text-align: center; }
.sc-card { width: 240px; height: 320px; position: relative; border-radius: 16px; overflow: hidden; touch-action: none; }
.sc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75)); }
.sc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.sc-cover-txt {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); font-size: 15px; font-weight: 800; letter-spacing: 4px; text-shadow: 0 1px 6px rgba(0,0,0,.6);
  pointer-events: none;
}
.sc-bg-txt { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; text-align: center; }
.sc-bg-txt .bt-cat { font-size: 11px; color: var(--ah-yel); }
.sc-bg-txt .bt-title { font-size: 17px; font-weight: 800; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sc-bg-txt .bt-meta { font-size: 11px; color: rgba(255,255,255,.8); }
.sc-force { border: 1px dashed #3a4150; background: transparent; font-size: 12px; padding: 8px 18px; }

/* 🥚 扭蛋机 */
.gm-gacha { padding: 6px 20px 20px; }
.ga-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.ga-msg { font-size: 13px; color: var(--ah-yel); font-weight: 700; text-align: center; }
.ga-machine { position: relative; width: 210px; height: 230px; background: linear-gradient(160deg,#2a3140,#141822); border-radius: 22px; border: 2px solid #384154; overflow: hidden; }
.ga-eggs { position: absolute; top: 14px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ga-egg {
  width: 40px; height: 44px; border-radius: 50% 50% 46% 46%; background: radial-gradient(circle at 34% 28%, #ffe9a8, #ffc93c 60%, #e8a013);
  color: #7a4d00; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
  box-shadow: inset -3px -4px 8px rgba(0,0,0,.18), 0 3px 6px rgba(0,0,0,.35);
  animation: gafloat 2.6s ease-in-out infinite;
}
.ga-egg:nth-child(2n) { animation-delay: .5s; } .ga-egg:nth-child(3n) { animation-delay: 1s; } .ga-egg:nth-child(4n) { animation-delay: 1.5s; } .ga-egg:nth-child(5n) { animation-delay: 2s; }
@keyframes gafloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ga-egg.fall { transition: transform .9s cubic-bezier(.6,-.2,.3,1.2), opacity .9s; transform: translateY(150px) rotate(360deg); opacity: 0; }
.ga-egg.dropped { animation: none; }
.ga-disp { position: absolute; bottom: 40px; left: 24px; right: 24px; height: 40px; background: #0a0d13; border: 2px dashed #3a4150; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ah-mut); }
.ga-disp.hit { border-color: var(--ah-acc); color: var(--ah-acc); font-weight: 700; animation: gashake .4s; }
@keyframes gashake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }
.ga-coin { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff6c9, #ffd75e 55%, #e0a80c); color: #8a5a00; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.4), inset -2px -3px 6px rgba(0,0,0,.15); z-index: 2; border: 3px solid #ffefb0; }
.ga-knob { border-radius: 50%; width: 64px; height: 64px; font-size: 13px; line-height: 1.2; }
