/* ============================================================
   Raise Poker Bar · 暗红夜店皮肤  (data-skin="club")
   壳出图 + 芯代码：暗红酒吧背景 + 玫瑰金花环品牌框 + 实景照片
   入口卡（暗角渐变）+ 玫瑰金圆环线图标 + 代码动态数据。
   仅在 [data-skin="club"] 作用域生效，不污染其它皮肤。
   共享基座（Cinzel @font-face、.skin-* 默认隐藏、换肤下拉基础样式）在 style.css，
   本皮肤可独立引入、不依赖 skin-baroque.css。
   ============================================================ */

[data-skin="club"] {
  --rose: #e3bd9c;          /* 玫瑰金 */
  --rose-bright: #f5ddc5;
  --rose-deep: #b78a68;
  --wine: #1c0709;          /* 暗酒红 */
  --wine-card: rgba(30, 11, 15, .80);
}

/* ---------- 字体：英文 Cinzel + 中文宋体 + Raise 书法 ---------- */
[data-skin="club"] #app-main {
  font-family: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "Noto Serif SC", serif;
}
[data-skin="club"] .skin-brand-sub,
[data-skin="club"] .ec-en,
[data-skin="club"] .ew-en,
[data-skin="club"] .bal-label i,
[data-skin="club"] .vault-brand { font-family: 'Cinzel', serif; letter-spacing: 1px; }

/* ---------- 背景：暗红酒吧打底 ---------- */
[data-skin="club"] body::before {
  background:
    linear-gradient(180deg, rgba(15, 5, 8, .42) 0%, rgba(15, 5, 8, .70) 30%, rgba(15, 5, 8, .70) 68%, rgba(15, 5, 8, .50) 100%),
    url("/assets/club/bg-club.jpg?v=3") center top / cover no-repeat;
}
[data-skin="club"] .suit-watermark { opacity: 0; }

/* ---------- 品牌区：玫瑰金花环框 + Raise 书法 ---------- */
[data-skin="club"] .logo-area {
  position: relative; height: auto; border: none; border-radius: 0; box-sizing: border-box;
  overflow: visible; background: none; margin-bottom: 2px;
  padding: calc(env(safe-area-inset-top) + 8px) 0 2px;   /* 只下移到安全区之下；高度交给 .skin-emblem，杜绝 vw */
  display: flex; flex-direction: column; align-items: center;
}
[data-skin="club"] .logo-area .logo-mark,
[data-skin="club"] .logo-area .logo-sub { display: none; }
[data-skin="club"] .skin-emblem {              /* 花环盒：随 440px 容器等比缩放，1:1 方形，内在高度、绝不用 vw */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; width: 100%; max-width: 350px; margin: 0 auto;
  aspect-ratio: 1 / 1;
}
[data-skin="club"] .skin-emblem::before {      /* 玫瑰金花环：真透明 PNG，正常合成（不再 screen）*/
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("/assets/club/wreath-brand.png?v=3") center / contain no-repeat;
  pointer-events: none;
}
[data-skin="club"] .skin-brand-raise {
  display: block; position: relative; z-index: 1; text-align: center;
  font-family: 'Snell Roundhand', 'Savoye LET', 'Apple Chancery', 'Brush Script MT', cursive;
  font-style: italic; font-weight: 700; font-size: 38px; line-height: .9; margin-top: 0;
  background: linear-gradient(180deg, #f8e6d2, var(--rose-bright) 48%, var(--rose-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
}
[data-skin="club"] .skin-brand-name {
  display: block; position: relative; z-index: 1; text-align: center; margin-top: 2px;
  font-family: 'Cinzel', serif; font-weight: 600; font-size: 17px; letter-spacing: 1px;
  background: linear-gradient(180deg, var(--rose-bright), var(--rose) 60%, var(--rose-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
[data-skin="club"] .skin-brand-sub {
  display: block; position: relative; z-index: 1; text-align: center; margin-top: 3px;
  font-size: 8px; letter-spacing: 2px; color: var(--rose-deep); white-space: nowrap;
}
[data-skin="club"] .skin-brand-sub::before,
[data-skin="club"] .skin-brand-sub::after {
  content: ""; display: inline-block; width: 10px; height: 1px; vertical-align: middle;
  margin: 0 5px; background: var(--rose-deep);
}

/* ---------- 会员卡：玫瑰金细边圆角（仅首页；「我的」页保持经典风）---------- */
[data-skin="club"] #home-main .info-vault {
  position: relative; background: var(--wine-card); box-shadow: none; overflow: visible;
  border-radius: 18px; border: 1px solid var(--rose-deep); padding: 22px 22px 20px;
}
[data-skin="club"] #home-main .info-vault .vault-head,
[data-skin="club"] #home-main .info-vault .vault-body { position: relative; z-index: 1; }
[data-skin="club"] #home-main .info-vault .vault-suit { display: none; }
[data-skin="club"] #home-main .info-vault #home-brand,
[data-skin="club"] #home-main .info-vault .vault-brand { display: none; }

[data-skin="club"] #home-main .info-vault { margin-top: 14px; padding: 30px 22px 22px; }  /* 收紧与花环的间距 */
[data-skin="club"] #home-main .info-vault .vault-avatar {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 82px; border-radius: 50%; z-index: 4; margin: 0;
  border: 2px solid var(--rose);
  background: var(--wine)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.4'%3E%3Ccircle cx='12' cy='8.5' r='3.5'/%3E%3Cpath d='M5 20c0-3.9 3.1-7 7-7s7 3.1 7 7'/%3E%3C/svg%3E")
    center / cover no-repeat;
  box-shadow: 0 0 0 5px rgba(20, 8, 10, .92), 0 5px 14px rgba(0, 0, 0, .55);
}
[data-skin="club"] #home-main .info-vault .vault-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
[data-skin="club"] .skin-vault-qr { display: flex; align-items: center; gap: 9px; }
[data-skin="club"] .skin-vault-qr .sq-icon {
  width: 27px; height: 27px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.4'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Cpath d='M14 14.5h3.2v3M20.5 14v6.5h-6.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-skin="club"] .skin-vault-qr .sq-txt b { display: block; color: #f5e6d6; font-size: 14px; font-weight: 600; letter-spacing: .5px; }
[data-skin="club"] .skin-vault-qr .sq-txt i { display: block; color: var(--rose-deep); font-size: 9px; font-style: normal; letter-spacing: 1px; margin-top: 1px; }
[data-skin="club"] #home-main .info-vault .vault-name { color: var(--rose-bright); font-size: 15px; text-align: right; max-width: 46%; }
[data-skin="club"] #home-main .info-vault .vault-body { display: flex; align-items: center; justify-content: center; margin-top: 16px; }
[data-skin="club"] #home-main .info-vault .vault-avatar.av { position: absolute; }
[data-skin="club"] #home-main .info-vault .bal { flex: 1; text-align: center; }
[data-skin="club"] #home-main .info-vault .bal-num {
  font-size: 46px; line-height: 1; font-weight: 700;
  background: linear-gradient(180deg, #f8e6d2, var(--rose-bright) 55%, var(--rose));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
[data-skin="club"] #home-main .info-vault .bal-label { color: var(--rose-deep); font-size: 11px; margin-top: 4px; }
[data-skin="club"] #home-main .info-vault .bal-label i { font-style: normal; letter-spacing: 1px; opacity: .85; }
[data-skin="club"] #home-main .info-vault .bal-sep {
  width: 1px; height: 48px; flex: none;
  background: linear-gradient(180deg, transparent, var(--rose-deep) 30%, var(--rose-deep) 70%, transparent);
}

/* ---------- 入口卡：实景照片 + 暗角 + 玫瑰金圆环图标 ---------- */
[data-skin="club"] .entry-card {
  border: 1px solid var(--rose-deep); position: relative; overflow: hidden; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 4px; padding: 16px 10px 14px; background: #1a0608 center / cover no-repeat;
}
[data-skin="club"] .e-order     { background-image: linear-gradient(rgba(20,6,10,.12), rgba(16,5,8,.88)), url("/assets/club/card-cocktail.jpg?v=3"); }
[data-skin="club"] .e-honor     { background-image: linear-gradient(rgba(20,6,10,.12), rgba(16,5,8,.88)), url("/assets/club/card-trophy.jpg?v=3"); }
[data-skin="club"] .e-race      { background-image: linear-gradient(rgba(20,6,10,.12), rgba(16,5,8,.88)), url("/assets/club/card-chips.jpg?v=3"); }
[data-skin="club"] .e-community { background-image: linear-gradient(rgba(20,6,10,.12), rgba(16,5,8,.88)), url("/assets/club/card-crowd.jpg?v=3"); }
[data-skin="club"] .entry-card:hover,
[data-skin="club"] .entry-card:active { filter: brightness(1.1); }
[data-skin="club"] .entry-card .ec-icon {
  display: block; font-size: 0; width: 46px; height: 46px; margin: 2px auto auto;
  border-radius: 50%; border: 1.5px solid var(--rose); flex: none;
  background: rgba(18, 8, 10, .5) center / 52% no-repeat; position: relative; z-index: 2;
}
[data-skin="club"] .e-honor .ec-icon, [data-skin="club"] .e-race .ec-icon { width: 40px; height: 40px; }
[data-skin="club"] .e-order .ec-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M4 5h16l-8 8-8-8Z'/%3E%3Cpath d='M12 13v6M8 21h8'/%3E%3C/svg%3E"); }
[data-skin="club"] .e-honor .ec-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v4a5 5 0 0 1-10 0V4Z'/%3E%3Cpath d='M12 13v4M8.5 21h7l-1-3.2h-5L8.5 21Z'/%3E%3C/svg%3E"); }
[data-skin="club"] .e-race .ec-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M3 18h18M4 8l4 3 4-6 4 6 4-3-2 10H6L4 8Z'/%3E%3C/svg%3E"); }
[data-skin="club"] .e-community .ec-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.3' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17.5' cy='9' r='2.2'/%3E%3Cpath d='M16.5 14.2c2.6.2 4.5 2.3 4.5 4.8'/%3E%3C/svg%3E"); }
[data-skin="club"] .entry-card .ec-name { margin-top: auto; position: relative; z-index: 2; color: var(--rose-bright); font-size: 15px; font-weight: 600; }
[data-skin="club"] .entry-card .ec-en { display: block; position: relative; z-index: 2; color: var(--rose); font-size: 9px; letter-spacing: 2px; opacity: .85; }

/* ---------- 地址导航条：实景照片 + 玫瑰金定位针 ---------- */
[data-skin="club"] .entry-wide {
  border: 1px solid var(--rose-deep); position: relative; overflow: hidden; min-height: 64px; border-radius: 12px;
  background: linear-gradient(rgba(20,6,10,.32), rgba(16,5,8,.82)), url("/assets/club/card-lounge.jpg?v=3") center / cover no-repeat;
}
[data-skin="club"] .entry-wide > * { position: relative; z-index: 1; }
[data-skin="club"] .entry-wide .ew-icon { font-size: 0; }
[data-skin="club"] .entry-wide .ew-icon::before {
  content: ""; display: inline-block; width: 22px; height: 22px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.5'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
[data-skin="club"] .entry-wide .ew-name { color: var(--rose-bright); }

/* ---------- tabbar：玫瑰金 SVG 图标 ---------- */
[data-skin="club"] .tabbar {
  background: linear-gradient(0deg, #1a0608, rgba(20, 8, 10, .96));
  border-top-color: var(--rose-deep);
}
[data-skin="club"] .tabbar-item .ti-icon { font-size: 0; }
[data-skin="club"] .tabbar-item .ti-icon::before {
  content: ""; display: inline-block; width: 22px; height: 22px; background: center / contain no-repeat;
}
[data-skin="club"] .tabbar-item[data-tab="home"] .ti-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M4 11l8-7 8 7'/%3E%3Cpath d='M6 10v9h12v-9'/%3E%3C/svg%3E");
}
[data-skin="club"] .tabbar-item[data-tab="my"] .ti-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bd9c' stroke-width='1.5'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
}
[data-skin="club"] .tabbar-item.active .ti-icon::before { filter: brightness(1.3); }

/* ---------- 小屏适配 ---------- */
@media (max-width: 360px) {
  [data-skin="club"] .skin-brand-raise { font-size: 32px; }
  [data-skin="club"] .skin-brand-name { font-size: 15px; }
}
