/* CLINED Card Shop, Showcase Card, Star-Up & Holographic Foil */

.card-shop-fab {
  position: fixed;
  left: 14px;
  top: 33vh;
  z-index: 900;
  width: 62px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 20px;
  border: 2.5px solid #6d28d9;
  border-bottom-width: 5px;
  background: linear-gradient(160deg, #a855f7, #7c3aed);
  box-shadow: 0 6px 0 #4c1d95, 0 10px 26px rgba(124, 58, 237, .35);
  cursor: grab;
  touch-action: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(.85);
  transition: opacity .18s ease, transform .18s ease;
}
.card-shop-fab:not(.is-visible) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
.card-shop-fab.is-visible { opacity: 1; pointer-events: auto; transform: scale(1); }
.card-shop-fab:active { cursor: grabbing; }
.card-shop-fab .fab-basket-img { width: 34px; height: 34px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.card-shop-fab .fab-dia { font: 800 11px system-ui, sans-serif; color: #fff; background: rgba(0, 0, 0, .22); border-radius: 99px; padding: 2px 7px; pointer-events: none; white-space: nowrap; }

.card-shop-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; }
.card-shop-modal.open { visibility: visible; }
.card-shop-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s ease; }
.card-shop-modal.open .card-shop-backdrop { opacity: 1; }
.card-shop-sheet {
  position: relative; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  background: var(--card, #fff); color: var(--text, #111); border-radius: 26px 26px 0 0;
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform .25s cubic-bezier(.2, .8, .3, 1);
  display: flex; flex-direction: column; gap: 13px;
}
.card-shop-modal.open .card-shop-sheet { transform: translateY(0); }
.card-shop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-shop-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--med, #0d9488); text-transform: uppercase; }
:root.dark .card-shop-eyebrow { color: var(--sky-text, #6fd0ff); }
.card-shop-head h3 { margin: 2px 0 2px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.card-shop-head p { margin: 0; color: var(--muted, #5d6e75); font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.card-shop-close { width: 36px !important; height: 36px; border-radius: 12px; border: 2px solid var(--line, #dbe4de); border-bottom-width: 3px; background: var(--surface, #edf2ee); color: var(--text, #1c282e); font-size: 15px; font-weight: 800; cursor: pointer; flex: none; padding: 0; display: grid; place-items: center; }

.card-shop-dia-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.card-shop-dia-badge { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 14.5px; background: var(--sky-soft, rgba(28, 176, 246, .14)); color: var(--sky-text, #0b7bb3); padding: 5px 12px; border-radius: 99px; }
.card-shop-dia-hint { font-size: 11.5px; color: var(--muted, #5d6e75); font-weight: 700; }

/* ══════════════ Kartu Andalan (Equipped Showcase Banner) ══════════════ */
.card-equipped-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--card-color, #1cb0f6) 55%, var(--line, #dbe4de));
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-color, #1cb0f6) 14%, var(--card, #fff)), color-mix(in srgb, var(--card-color, #1cb0f6) 4%, var(--card, #fff)));
  box-shadow: 0 4px 14px rgba(15, 23, 20, .06);
}
.card-equipped-banner.empty {
  border-style: dashed;
  background: var(--surface, #edf2ee);
}
.card-equipped-empty-ico {
  width: 48px; height: 64px; border-radius: 12px; background: var(--sky-soft, rgba(28, 176, 246, .14));
  display: grid; place-items: center; font-size: 24px; flex: none;
}
.card-equipped-thumb {
  position: relative;
  width: 56px;
  height: 78px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  cursor: pointer;
  border: 2px solid var(--card-color, #1cb0f6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.card-equipped-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-star-pill {
  position: absolute; bottom: 3px; right: 3px; z-index: 3;
  background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff;
  font-weight: 800; font-size: 9.5px; padding: 1px 5px; border-radius: 99px;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.card-equipped-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.card-equipped-topline { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.card-equipped-kicker { font-weight: 800; font-size: 10px; letter-spacing: .06em; color: var(--sky-text, #0b7bb3); text-transform: uppercase; }
.card-equipped-stars { font-size: 12px; color: #f59e0b; letter-spacing: 1px; font-weight: 800; }
.card-equipped-info > b { font-size: 15px; font-weight: 800; color: var(--text, #1c282e); }
.card-equipped-info > b small { font-size: 11px; font-weight: 700; color: var(--muted, #5d6e75); }
.card-equipped-buff {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  font-size: 11.5px; font-weight: 800; color: var(--ok-text, #2f7d00);
  background: var(--brand-soft, rgba(88, 204, 2, .14)); border: 1px solid rgba(88, 204, 2, .4); border-radius: 8px;
  padding: 2px 8px; margin-top: 2px;
}
:root.dark .card-equipped-buff { background: rgba(88, 204, 2, .18); color: #86ef60; border-color: rgba(88, 204, 2, .38); }
.card-equipped-desc { font-size: 11px; color: var(--muted, #5d6e75); font-weight: 600; line-height: 1.35; margin-top: 2px; }

/* Home Player Card Showcase Pill */
.home-equipped-card-pill {
  width: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 6px;
  border-radius: 14px;
  border: 2px solid color-mix(in srgb, var(--card-color, #1cb0f6) 50%, var(--line, #dbe4de));
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-color, #1cb0f6) 12%, var(--card, #fff)), var(--card, #fff));
  color: var(--text, #1c282e);
  cursor: pointer;
  text-align: left;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 20, .06);
  transition: transform .15s ease;
}
.home-equipped-card-pill:active { transform: scale(.98); }
.home-equipped-card-pill img {
  width: 28px; height: 39px; object-fit: cover; border-radius: 6px;
  border: 1.5px solid var(--card-color, #1cb0f6); flex: none;
}
.home-equipped-card-pill .hec-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.home-equipped-card-pill .hec-txt small { font-size: 9.5px; font-weight: 800; color: var(--sky-text, #0b7bb3); letter-spacing: .04em; }
.home-equipped-card-pill .hec-txt b { font-size: 11.5px; font-weight: 800; color: var(--text, #1c282e); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.card-pack-card { display: flex; align-items: center; gap: 14px; padding: 13px; border-radius: 18px; border: 2px solid var(--line, #dbe4de); border-bottom-width: 4px; background: linear-gradient(135deg, rgba(28, 176, 246, .09), rgba(88, 204, 2, .05)); }
.card-pack-img { width: 60px; height: 60px; object-fit: contain; flex: none; }
.card-pack-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-pack-info b { font-size: 16px; font-weight: 950; }
.card-pack-info small { color: var(--muted, #6b7280); font-weight: 700; font-size: 12px; line-height: 1.35; }
.card-rarity-odds { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.card-rarity-odds span { font: 800 10px system-ui, sans-serif; padding: 2px 7px; border-radius: 99px; background: var(--surface, #eee); color: var(--muted, #555); }
.card-rarity-odds .odd-rare { background: rgba(59, 130, 246, .15); color: #2563eb; }
.card-rarity-odds .odd-epic { background: rgba(168, 85, 247, .15); color: #7c3aed; }
.card-rarity-odds .odd-legendary { background: rgba(245, 201, 122, .25); color: #b8860b; }

.card-buy-btn { width: 100%; min-height: 50px; border-radius: 16px; border: 2px solid #6d28d9; background: linear-gradient(160deg, #a855f7, #7c3aed); color: #fff; font: 950 15px system-ui, sans-serif; letter-spacing: .02em; box-shadow: 0 4px 0 #4c1d95; cursor: pointer; }
.card-buy-btn s { opacity: .7; font-weight: 700; margin-right: 4px; }
.card-buy-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

.card-collection-head { display: flex; align-items: center; justify-content: space-between; font-weight: 900; font-size: 12.5px; color: var(--muted, #6b7280); text-transform: uppercase; letter-spacing: .04em; }
.card-collection-head b { color: var(--text, #111); font-size: 14.5px; }
.card-collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.coll-card-slot {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px 9px; border-radius: 14px;
  border: 2px solid color-mix(in srgb, var(--card-color) 50%, var(--line, #e5e7eb));
  background: color-mix(in srgb, var(--card-color) 8%, var(--card, #fff));
  min-width: 0; overflow: hidden;
}
.coll-card-slot.is-equipped {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, .32), 0 6px 14px rgba(245, 158, 11, .18);
}
.coll-equip-tag {
  position: absolute; top: 3px; left: 4px; z-index: 4;
  background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff;
  font: 900 8px system-ui, sans-serif; padding: 1.5px 5px; border-radius: 99px;
  letter-spacing: .03em; box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.coll-star-badge {
  position: absolute; top: 3px; right: 4px; z-index: 4;
  background: rgba(15, 23, 42, .78); color: #fde047;
  font: 900 9px system-ui, sans-serif; padding: 1px 5px; border-radius: 99px;
}
.coll-star-badge.star-4, .coll-star-badge.star-5 {
  background: linear-gradient(135deg, #f59e0b, #ec4899); color: #fff;
}
.coll-card-slot.is-unlocked { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.coll-card-slot.is-unlocked:hover, .coll-card-slot.is-unlocked:active { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(15, 23, 42, .14); }
.coll-card-art { position: relative; width: 60px; height: 84px; border-radius: 8px; overflow: hidden; }
.coll-card-art img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; display: block; }
.coll-card-slot b { font-size: 10px; font-weight: 900; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coll-card-slot small { font-size: 9.5px; font-weight: 800; color: var(--muted, #6b7280); white-space: nowrap; }
.coll-card-slot.locked { opacity: .4; filter: grayscale(1); }

/* ══════════════ Efek Hologram Foil & Star-Up (★2–★5) ══════════════ */
.coll-card-art.holo-tier-3::after,
.coll-card-art.holo-tier-4::after,
.coll-card-art.holo-tier-5::after,
.pack-card-front.holo-tier-3::after,
.pack-card-front.holo-tier-4::after,
.pack-card-front.holo-tier-5::after,
.card-equipped-thumb.holo-tier-3::after,
.card-equipped-thumb.holo-tier-4::after,
.card-equipped-thumb.holo-tier-5::after,
.duel-vs-card-art.holo-tier-3::after,
.duel-vs-card-art.holo-tier-4::after,
.duel-vs-card-art.holo-tier-5::after {
  content: '';
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, .45) 44%,
    rgba(168, 85, 247, .35) 50%,
    rgba(56, 189, 248, .35) 54%,
    rgba(253, 224, 71, .45) 58%,
    transparent 72%
  );
  mix-blend-mode: screen;
  animation: clined-holo-sweep 3.2s ease-in-out infinite;
}
.pack-card-front.holo-tier-4::after,
.pack-card-front.holo-tier-5::after,
.coll-card-art.holo-tier-5::after,
.duel-vs-card-art.holo-tier-4::after,
.duel-vs-card-art.holo-tier-5::after {
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 0, 128, .35) 36%,
    rgba(255, 230, 0, .48) 45%,
    rgba(0, 255, 180, .42) 52%,
    rgba(0, 174, 255, .45) 60%,
    rgba(255, 255, 255, .62) 66%,
    transparent 80%
  );
  animation-duration: 2.4s;
}
.pack-card-front.holo-tier-5,
.duel-vs-card-art.holo-tier-5 {
  box-shadow: 0 0 24px rgba(250, 204, 21, .65), 0 0 42px rgba(236, 72, 153, .45) !important;
  border-color: #fde047 !important;
}
@keyframes clined-holo-sweep {
  0% { transform: translateX(-65%) rotate(12deg); opacity: .35; }
  50% { opacity: .95; }
  100% { transform: translateX(65%) rotate(12deg); opacity: .35; }
}

.pack-card-star-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font: 950 12px system-ui, sans-serif;
  padding: 2px 8px;
  border-radius: 99px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}

/* ══════════════ Pack Opening & Preview Sequence (ala TCG) ══════════════ */
.pack-open-overlay { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 35%, rgba(88, 28, 135, .42), rgba(0, 0, 0, .86)); opacity: 0; transition: opacity .25s ease; padding: 16px; overflow-y: auto; }
.pack-open-overlay.show { opacity: 1; }
.pack-open-stage { position: relative; width: 100%; max-width: 330px; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: auto; }

.pack-tap { position: relative; background: none; border: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: pack-idle-pulse 1.6s ease-in-out infinite; width: auto !important; }
.pack-open-img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 0 22px var(--rarity-color, #a855f7)); }
.pack-tap-hint { font: 900 13px system-ui, sans-serif; color: #fff; background: rgba(255, 255, 255, .12); padding: 5px 14px; border-radius: 99px; letter-spacing: .02em; }
@keyframes pack-idle-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }

.phase-burst .pack-tap { animation: pack-shake .45s ease both; pointer-events: none; }
@keyframes pack-shake {
  0% { transform: scale(1) rotate(0); }
  20% { transform: scale(1.08) rotate(-4deg); }
  40% { transform: scale(1.1) rotate(4deg); }
  60% { transform: scale(1.05) rotate(-3deg); }
  80% { transform: scale(.4) rotate(2deg); opacity: 1; }
  100% { transform: scale(.2) rotate(0); opacity: 0; }
}

.pack-flash { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, var(--rarity-color, #a855f7) 45%, transparent 72%); opacity: 0; pointer-events: none; }
.phase-burst .pack-flash { animation: pack-flash-pop .55s ease .35s both; }
@keyframes pack-flash-pop { 0% { opacity: 0; transform: scale(.3); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(6); } }

.pack-card-flip { position: relative; width: 186px; height: 260px; perspective: 900px; opacity: 0; transform: translateY(26px) scale(.85); }
.phase-flip .pack-card-flip, .phase-reveal .pack-card-flip { opacity: 1; transform: translateY(0) scale(1); transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .3, 1.15); }
.pack-card-rays { position: absolute; inset: -55px; background: repeating-conic-gradient(from 0deg, var(--rarity-color, #a855f7) 0deg 4deg, transparent 4deg 16deg); opacity: 0; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.rarity-epic .pack-card-rays, .rarity-legendary .pack-card-rays, .holo-tier-4 .pack-card-rays, .holo-tier-5 .pack-card-rays { animation: rays-spin 6s linear infinite; }
.phase-flip .pack-card-rays, .phase-reveal .pack-card-rays { opacity: .35; transition: opacity .5s ease .1s; }
@keyframes rays-spin { to { transform: rotate(360deg); } }

.pack-card-inner { position: relative; width: 100%; height: 100%; }
.phase-flip .pack-card-inner, .phase-reveal .pack-card-inner { opacity: 0; transform: scale(.88); transition: opacity .25s ease, transform .35s ease; }
.phase-reveal .pack-card-inner { opacity: 1; transform: scale(1); }
.pack-card-back, .pack-card-front { position: absolute; inset: 0; border-radius: 16px; backface-visibility: visible; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.pack-card-back { background: linear-gradient(155deg, #7c3aed, #4c1d95); flex-direction: column; gap: 2px; border: 3px solid rgba(255, 255, 255, .25); opacity: 0; }
.pack-card-front { transform: none; background: #fff; border: 3px solid var(--rarity-color, #a855f7); overflow: hidden; }
.pack-card-front img { width: 100%; height: 100%; object-fit: cover; }

.pack-result-info { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; width: 100%; }
.phase-reveal .pack-result-info { opacity: 1; transform: translateY(0); pointer-events: auto; transition-delay: .1s; }
.card-reveal-badges { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.card-reveal-rarity { font: 950 11.5px system-ui, sans-serif; letter-spacing: .06em; padding: 3px 11px; border-radius: 99px; color: #fff; background: var(--rarity-color, #888); text-transform: uppercase; }
.card-reveal-stars { font: 950 14px system-ui, sans-serif; color: #fde047; letter-spacing: 1.5px; text-shadow: 0 2px 6px rgba(0,0,0,.45); }
.card-starup-banner {
  background: linear-gradient(135deg, #f59e0b, #ec4899); color: #fff;
  font: 900 12px system-ui, sans-serif; padding: 4px 12px; border-radius: 99px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, .4);
}
.pack-result-info h4 { margin: 2px 0 0; font-size: 20px; font-weight: 950; color: #fff; }
.pack-result-info p { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .82); font-weight: 700; max-width: 280px; line-height: 1.4; }
.card-reveal-buff-box {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  border-radius: 12px;
  padding: 7px 11px;
  font-size: 11.5px;
  font-weight: 700;
  max-width: 300px;
  width: 100%;
  line-height: 1.4;
}
.card-reveal-buff-box b { color: #fde047; font-weight: 900; }
.pack-result-info .card-dup-note { color: rgba(255, 255, 255, .68); font-size: 11px; font-weight: 700; }
.card-reveal-actions, .card-preview-btn-stack {
  display: flex; flex-direction: column; gap: 7px; width: 100%; max-width: 260px; margin-top: 6px;
}
.card-equip-btn {
  width: 100%; min-height: 40px; border-radius: 13px;
  border: 2px solid #f59e0b; background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #111827; font: 900 13px system-ui, sans-serif; cursor: pointer;
  padding: 8px 12px; box-shadow: 0 3px 0 #92400e;
}
.card-equip-btn.is-active {
  border-color: #10b981; background: linear-gradient(135deg, #34d399, #059669);
  color: #fff; box-shadow: 0 3px 0 #065f46;
}
.card-starup-btn {
  width: 100%; min-height: 40px; border-radius: 13px;
  border: 2px solid #ec4899; background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff; font: 900 12.5px system-ui, sans-serif; cursor: pointer;
  padding: 8px 12px; box-shadow: 0 3px 0 #6d28d9;
}
.card-starup-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pack-result-info .ml-next { margin-top: 2px; max-width: 260px; width: 100%; min-height: 40px; }

.card-confetti-layer { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 5; }
.card-confetti-layer i { position: absolute; top: 40%; left: 50%; width: 8px; height: 12px; border-radius: 2px; opacity: 0; transform: translate(-50%, -50%); animation: confetti-burst 1s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes confetti-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(.4); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1); }
}

.diamond-earn-pop { position: fixed; top: 18%; left: 50%; transform: translateX(-50%); z-index: 3000; background: #7c3aed; color: #fff; font-weight: 900; font-size: 14px; padding: 10px 18px; border-radius: 99px; box-shadow: 0 6px 18px rgba(124, 58, 247, .4); animation: dia-pop 1.6s ease forwards; white-space: nowrap; }
@keyframes dia-pop {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(.8); }
  15% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -14px) scale(.95); }
}
/* iOS Safari FAB rendering fix — does not affect desktop/Android */
@supports (-webkit-touch-callout: none) {
  .card-shop-fab {
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-transform: translate3d(0, 0, 0) scale(1) !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    will-change: transform, opacity;
    isolation: isolate;
  }

  .card-shop-fab.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }
}

/* Fix: Card Shop tidak bisa di-scroll di mobile */
.card-shop-sheet {
  max-height: 90vh; max-height: 90dvh;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; touch-action: pan-y;
}
.card-shop-sheet > * { flex-shrink: 0; }

/* ── Shop Tabs & Background Chat (Ala Discord) ───────────────────────────── */
.card-shop-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.card-shop-tab {
  min-height: 40px;
  border-radius: 12px;
  border: 2px solid var(--line, #dbe4de);
  background: var(--surface, #f1f5f9);
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.card-shop-tab.on {
  background: linear-gradient(135deg, #1cb0f6, #0d9488);
  border-color: transparent;
  color: #fff;
}
.banner-shop-list {
  display: grid;
  gap: 10px;
}
.banner-shop-card {
  border-radius: 16px;
  border: 2px solid var(--line, #dbe4de);
  background: var(--card, #fff);
  overflow: hidden;
  display: grid;
}
.banner-shop-card.equipped {
  border-color: #1cb0f6;
  box-shadow: 0 0 0 2px rgba(28, 176, 246, 0.22);
}
.banner-shop-preview {
  position: relative;
  min-height: 64px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  background: #0f172a;
}
.banner-shop-preview-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  display: block;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.72) 45%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.72) 45%, rgba(0,0,0,1) 100%);
}
.banner-shop-preview-av {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1cb0f6, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.banner-shop-preview-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-shop-preview-txt {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85);
}
.banner-shop-preview-txt b {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-shop-preview-txt small {
  font-size: 11.5px;
  opacity: 0.88;
}
.banner-shop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
}
.banner-shop-info {
  display: grid;
  min-width: 0;
}
.banner-shop-info b {
  font-size: 13.5px;
}
.banner-shop-info small {
  font-size: 11.5px;
  opacity: 0.75;
}
.banner-shop-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(135deg, #1cb0f6, #0284c7);
  color: #fff;
}
.banner-shop-btn.equip {
  background: var(--surface, #e2e8f0);
  color: inherit;
}
.banner-shop-btn.equipped {
  background: rgba(16, 185, 129, 0.16);
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
}
.banner-shop-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.banner-shop-card.is-admin-locked {
  position: relative;
  overflow: hidden;
  border-color: rgba(217, 179, 98, 0.45);
}
.banner-shop-card.is-admin-locked .banner-shop-preview,
.banner-shop-card.is-admin-locked .banner-shop-foot {
  filter: saturate(0.55) brightness(0.74);
}
.banner-chain-lock {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(10, 15, 26, 0.22) 0%, rgba(10, 15, 26, 0.62) 100%);
}
.banner-chain-lock .chain-strand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 16px;
  transform-origin: center center;
  background-repeat: repeat-x;
  background-size: 32px 16px;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23f1f5f9'/%3E%3Cstop offset='45%25' stop-color='%2394a3b8'/%3E%3Cstop offset='100%25' stop-color='%23334155'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='3' width='18' height='10' rx='5' fill='none' stroke='%230f172a' stroke-width='4.2'/%3E%3Crect x='1' y='3' width='18' height='10' rx='5' fill='none' stroke='url(%23g)' stroke-width='2.6'/%3E%3Crect x='15' y='6' width='16' height='4' rx='2' fill='%230f172a'/%3E%3Crect x='16' y='6.7' width='14' height='2.6' rx='1.3' fill='url(%23g)'/%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.65));
  opacity: 0.94;
}
.banner-chain-lock .chain-strand.a {
  transform: translate(-50%, -50%) rotate(-12deg);
}
.banner-chain-lock .chain-strand.b {
  transform: translate(-50%, -50%) rotate(12deg);
}
.banner-chain-lock .chain-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24, 32, 46, 0.96), rgba(11, 16, 26, 0.98));
  color: #fde68a;
  border: 1.5px solid rgba(251, 191, 36, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.banner-chain-lock .chain-badge svg {
  flex: none;
  color: #fbbf24;
}
.banner-shop-btn.admin-locked {
  background: #334155;
  color: #e2e8f0;
  opacity: 0.85;
}
.name-color-box {
  padding: 10px 12px;
  border-radius: 14px;
  border: 2px solid var(--line, #dbe4de);
  background: var(--surface, #f8fafc);
  margin-bottom: 12px;
  display: grid;
  gap: 8px;
}
.name-color-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 800;
}
.name-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.name-color-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--line, #cbd5e1);
  background: var(--card, #fff);
  color: inherit;
  font: inherit;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.name-color-pill.on {
  border-color: #1cb0f6;
  box-shadow: 0 0 0 2px rgba(28, 176, 246, 0.22);
}
.name-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.card-shop-tabs {
  grid-template-columns: repeat(3, 1fr);
}
.deco-filter-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.deco-filter-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line, #cbd5e1);
  background: var(--surface, #f1f5f9);
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.deco-filter-btn.on {
  background: #1cb0f6;
  border-color: transparent;
  color: #fff;
}
.deco-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.deco-shop-card {
  border-radius: 16px;
  border: 2px solid var(--line, #dbe4de);
  background: #141824;
  color: #f8fafc;
  padding: 18px 10px 14px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  overflow: visible;
}
.deco-shop-card.equipped {
  border-color: #1cb0f6;
  box-shadow: 0 0 0 2px rgba(28, 176, 246, 0.25);
}
.deco-shop-av {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #334155, #1e293b);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 8px;
  overflow: visible;
}
.deco-shop-av-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.deco-shop-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.deco-shop-sub {
  font-size: 11px;
  opacity: 0.72;
}
.free-claim-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  margin: 10px 0 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.12));
  border: 1.5px solid rgba(34, 197, 94, 0.45);
  color: #15803d;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}
body.dark .free-claim-banner,
html.dark .free-claim-banner {
  color: #86efac;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.14));
}
.deco-shop-card .banner-shop-btn {
  width: 100%;
  padding: 6px 10px;
  font-size: 12px;
}
.banner-shop-btn.free-claim {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: 1.5px solid #15803d;
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.28);
}

/* ── Cosmetic Feature Tutorial Modal ──────────────────────────────────────── */
.cosmetic-tut-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.cosmetic-tut-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.72);
  backdrop-filter: blur(4px);
}
.cosmetic-tut-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  padding: 18px;
  background: var(--card, #fff);
  color: var(--text, #1f2d33);
  border: 2px solid var(--line, #e2e8f0);
  border-bottom-width: 5px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: obIn 0.22s ease both;
}
.cosmetic-tut-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cosmetic-tut-eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #1cb0f6;
}
.cosmetic-tut-x {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: var(--surface, #f1f5f9);
  color: inherit;
  font-weight: 900;
  cursor: pointer;
}
.cosmetic-tut-sheet h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 950;
}
.cosmetic-tut-sheet p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.48;
  font-weight: 600;
  color: var(--muted, #64748b);
}
.cosmetic-tut-preview {
  margin-bottom: 14px;
}
.cosmetic-tut-preview-center {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0f172a;
  color: #f8fafc;
}
.cosmetic-tut-preview-caption {
  display: grid;
  gap: 3px;
}
.cosmetic-tut-preview-caption b {
  font-size: 14px;
}
.cosmetic-tut-preview-caption small {
  font-size: 12px;
  opacity: 0.78;
}
.cosmetic-tut-gifts {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.cosmetic-tut-gift {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.38);
}
.cosmetic-tut-gift.claimed {
  opacity: 0.6;
  background: var(--surface, #f1f5f9);
  border-color: var(--line, #cbd5e1);
}
.cosmetic-tut-gift > span {
  font-size: 22px;
}
.cosmetic-tut-gift b {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
}
.cosmetic-tut-gift small {
  font-size: 12px;
  opacity: 0.8;
}
.cosmetic-tut-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.cosmetic-tut-dots i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--line, #cbd5e1);
}
.cosmetic-tut-dots i.on {
  width: 22px;
  background: #1cb0f6;
}
.cosmetic-tut-actions {
  display: grid;
  gap: 8px;
}
.cosmetic-tut-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  border: 2px solid transparent;
}
.cosmetic-tut-btn.primary {
  background: linear-gradient(135deg, #1cb0f6, #0ea5e9);
  color: #fff;
  border-bottom: 4px solid #0284c7;
}
.cosmetic-tut-btn.ghost {
  background: var(--surface, #f1f5f9);
  color: inherit;
  border-color: var(--line, #cbd5e1);
}
.cosmetic-ob-claims {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.cosmetic-ob-claim-btn {
  flex: 1 1 160px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1.5px solid #15803d;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 850;
  cursor: pointer;
}

/* ── Large Circular Avatar Hero inside Customization Page ─────────────────── */
.cosmetic-profile-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 14px;
  margin-bottom: 12px;
  border-radius: 18px;
  border: 1.5px solid var(--line, #dbe4de);
  background: var(--surface, #f8fafc);
}
.cosmetic-profile-hero > *:not(.chat-row-bg) {
  position: relative;
  z-index: 1;
}
.cosmetic-profile-hero.has-banner {
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.28);
  color: #f8fafc;
}
.cosmetic-profile-hero.has-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(11, 15, 28, 0.92) 0%, rgba(15, 23, 42, 0.68) 48%, rgba(15, 23, 42, 0.18) 100%);
  pointer-events: none;
}
.cosmetic-hero-av-btn {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.cosmetic-hero-av {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1cb0f6, #7c5cff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 950;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
}
.cosmetic-hero-av-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.cosmetic-hero-cam {
  position: absolute;
  right: -2px;
  bottom: -2px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1cb0f6;
  color: #fff;
  border: 2px solid var(--card, #fff);
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.cosmetic-hero-info {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
  justify-items: start;
}
.cosmetic-hero-info b {
  font-size: 16px;
  font-weight: 900;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cosmetic-profile-hero.has-banner .cosmetic-hero-info b:not([data-name-color]) {
  color: #fff;
}
.cosmetic-hero-info small {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.78;
}
.cosmetic-hero-photo-btn {
  margin-top: 4px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

/* Tag NEW untuk Banner & Dekorasi terbaru di Card Shop */
.card-shop-fab {
  overflow: visible !important;
}
.fab-new-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b5c 0%, #ff7a18 100%);
  color: #ffffff;
  font: 900 9px/1.2 system-ui, -apple-system, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 10px rgba(255, 59, 92, 0.5);
  pointer-events: none;
  z-index: 5;
  animation: clined-new-pulse 1.8s ease-in-out infinite;
}
.fab-new-badge[hidden] {
  display: none !important;
}
.card-shop-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.shop-tab-new {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b5c 0%, #ff7a18 100%);
  color: #ffffff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(255, 59, 92, 0.35);
}
.shop-tab-new[hidden] {
  display: none !important;
}
.banner-shop-card,
.deco-shop-card {
  position: relative;
}
.cosmetic-new-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b5c 0%, #ff7a18 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(255, 59, 92, 0.45), 0 0 0 1.5px rgba(255, 255, 255, 0.75);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.cosmetic-new-badge.is-seen {
  opacity: 0.42;
  transform: scale(0.92);
}
@keyframes clined-new-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .fab-new-badge { animation: none; }
}

/* ── Toggle Badge Eksklusif 100K Legend (ON/OFF) ─────────────────────────── */
.badge100k-toggle-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 2px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.45), rgba(253, 230, 138, 0.18));
}
:root.dark .badge100k-toggle-box,
body.dark .badge100k-toggle-box {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.2), rgba(120, 53, 15, 0.16));
  border-color: rgba(251, 191, 36, 0.35);
}
.b100t-info {
  min-width: 0;
  display: grid;
  gap: 3px;
  justify-items: start;
}
.b100t-info small {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.82;
}
.b100t-replay-btn {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(217, 119, 6, 0.45);
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.b100t-replay-btn:hover { background: rgba(245, 158, 11, 0.24); }
.b100t-replay-btn:active { transform: scale(0.96); }
:root.dark .b100t-replay-btn,
body.dark .b100t-replay-btn {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(251, 191, 36, 0.42);
  color: #fde68a;
}
.b100t-switch {
  flex: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 78px;
  height: 36px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.5);
  background: var(--card, #ffffff);
  color: var(--muted, #475569);
  font: inherit;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
:root.dark .b100t-switch,
body.dark .b100t-switch {
  background: #0f172a;
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.3);
}
.b100t-switch.on {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #b45309;
  color: #ffffff;
  padding: 4px 6px 4px 11px;
  flex-direction: row-reverse;
}
.b100t-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: background 0.18s ease;
}
.b100t-switch.on .b100t-knob {
  background: #fef9c3;
}
.b100t-switch:disabled {
  opacity: 0.55;
  cursor: wait;
}
.badge100k-toggle-box.is-locked {
  border-color: var(--line, #cbd5e1);
  border-style: dashed;
  background: var(--surface, #f8fafc);
}
:root.dark .badge100k-toggle-box.is-locked,
body.dark .badge100k-toggle-box.is-locked {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.28);
}
.badge100k-toggle-box.is-locked .chat-badge.b-xp100k {
  filter: grayscale(0.55) opacity(0.85);
  animation: none;
}
.b100t-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.b100t-lock-tag {
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(100, 116, 139, 0.16);
  color: var(--muted, #475569);
}
:root.dark .b100t-lock-tag,
body.dark .b100t-lock-tag {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}
.b100t-prog-wrap {
  width: 100%;
  display: grid;
  gap: 4px;
  margin-top: 3px;
}
.b100t-prog-bar {
  width: 100%;
  max-width: 240px;
  height: 7px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
}
.b100t-prog-bar > span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.b100t-prog-txt {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--muted, #64748b);
}
.b100t-switch.is-locked {
  cursor: not-allowed !important;
  opacity: 0.6;
  justify-content: center;
  padding: 4px 10px;
}
