/* ── Reset & Base ─────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  background:#0d0f10;
  color:#e8e8e8;
  font-family:'Segoe UI',system-ui,sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{cursor:pointer;font-family:inherit}

/* ── CSS Variables ────────────────────────────────────────── */
:root{
  --green:#00a854;
  --green-dim:#008c42;
  --bg:#0d0f10;
  --bg2:#131618;
  --bg3:#1a1d20;
  --border:rgba(255,255,255,.07);
  --text:#e8e8e8;
  --muted:#888;
  --radius:12px;
  --transition:.22s ease;
}

/* ── Noise Overlay ────────────────────────────────────────── */
body::before{
  content:'';
  position:fixed;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity:.025;
  pointer-events:none;
  z-index:0;
}

/* ── NAV ──────────────────────────────────────────────────── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:.9rem 5vw;
  background:linear-gradient(135deg, rgba(0,168,84,.08) 0%, var(--bg2) 60%);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(0,168,84,.15);
}
.nav-logo{
  font-size:1.15rem;font-weight:700;letter-spacing:-.02em;
  color:#fff;
}
.nav-logo span{color:var(--green)}
.nav-links{
  display:flex;align-items:center;gap:1.8rem;
  list-style:none;
}
.nav-links a{
  font-size:.88rem;font-weight:500;color:var(--muted);
  transition:color var(--transition);
}
.nav-links a:hover{color:#fff}
.nav-cta{
  display:flex;gap:.6rem;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.5rem 1.2rem;border-radius:8px;
  font-size:.85rem;font-weight:600;
  transition:all var(--transition);
  border:none;
}
.btn-ghost{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
}
.btn-ghost:hover{border-color:var(--green);color:var(--green)}
.btn-primary{
  background:var(--green);color:#0d0f10;
}
.btn-primary:hover{background:var(--green-dim);transform:translateY(-1px)}

/* hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;padding:4px}
.hamburger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:all .3s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.mobile-menu{
  display:none;
  position:fixed;top:57px;left:0;right:0;z-index:99;
  background:rgba(13,15,16,.97);
  border-bottom:1px solid var(--border);
  padding:1.2rem 5vw 1.6rem;
  backdrop-filter:blur(16px);
  flex-direction:column;gap:.8rem;
}
.mobile-menu a{
  font-size:1rem;font-weight:500;color:var(--muted);
  padding:.4rem 0;border-bottom:1px solid var(--border);
}
.mobile-menu a:last-child{border:none}
.mobile-menu.show{display:flex}

/* ── HERO ─────────────────────────────────────────────────── */
#hero{
  min-height:100vh;
  display:flex;align-items:center;
  padding:6rem 5vw 4rem;
  position:relative;
  overflow:hidden;
  background:radial-gradient(circle at 50% 0%, rgba(0,168,84,.07) 0%, var(--bg) 55%);
}
.hero-glow{
  position:absolute;
  width:700px;height:700px;
  background:radial-gradient(circle, rgba(0,230,118,.12) 0%, transparent 70%);
  top:-200px;right:-150px;
  pointer-events:none;
  animation:pulse 6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{transform:scale(1);opacity:.8}
  50%{transform:scale(1.08);opacity:1}
}
.hero-inner{
  max-width:1100px;margin:0 auto;width:100%;
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;
  position:relative;z-index:1;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:.5rem;
  background:rgba(0,230,118,.08);
  border:1px solid rgba(0,230,118,.2);
  border-radius:999px;
  padding:.3rem .9rem;
  font-size:.78rem;font-weight:600;
  color:var(--green);
  margin-bottom:1.4rem;
}
.hero-badge::before{
  content:'';width:6px;height:6px;border-radius:50%;
  background:var(--green);
  animation:blink 2s ease-in-out infinite;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
h1{
  font-size:clamp(2.2rem,5vw,3.8rem);
  font-weight:800;line-height:1.1;
  letter-spacing:-.03em;
  color:#fff;
  margin-bottom:1.2rem;
}
h1 .accent{color:var(--green)}
.hero-sub{
  font-size:1.05rem;color:var(--muted);
  max-width:480px;margin-bottom:2rem;line-height:1.7;
}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap}
.btn-lg{padding:.75rem 2rem;font-size:.95rem;border-radius:10px}

.hero-stats{
  display:flex;gap:2rem;margin-top:2.5rem;padding-top:2rem;
  border-top:1px solid var(--border);
}
.stat-num{
  font-size:1.6rem;font-weight:800;color:#fff;
  letter-spacing:-.02em;
}
.stat-num .stat-accent{color:var(--green)}
.stat-label{font-size:.78rem;color:var(--muted);margin-top:.1rem}

.hero-graphics-card{
  position:relative;
  min-height:500px;
  overflow:visible;
  border:0;
  background:transparent;
  box-shadow:none;
}
.hero-coin-stage{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-coin-ring{
  position:absolute;
  width:290px;
  height:290px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 0 40px rgba(255,255,255,.03);
}
.hero-coin-ring-alt{
  width:360px;
  height:360px;
  border-style:dashed;
  border-color:rgba(0,230,118,.12);
  animation:heroSpin 26s linear infinite;
}
.floating-coin{
  position:relative;
  z-index:2;
  width:230px;
  height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:heroFloat 5.5s ease-in-out infinite;
}
.floating-coin-inner{
  width:100%;
  height:100%;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:8rem;
  font-weight:900;
  color:#201508;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,248,214,.96) 0%, rgba(255,248,214,.35) 16%, transparent 17%),
    linear-gradient(160deg, #ffdc72 0%, #f3ba2f 44%, #d48e12 100%);
  border:1px solid rgba(255,230,155,.65);
  box-shadow:
    0 18px 48px rgba(243,186,47,.33),
    inset 0 2px 14px rgba(255,255,255,.55),
    inset 0 -10px 24px rgba(140,82,0,.22);
  text-shadow:0 1px 0 rgba(255,255,255,.2);
}
.float-badge{
  position:absolute;
  z-index:3;
  display:flex;
  align-items:center;
  gap:.8rem;
  min-width:190px;
  padding:.82rem .95rem;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(10,12,14,.8);
  backdrop-filter:blur(8px);
  box-shadow:0 12px 24px rgba(0,0,0,.18);
}
.float-badge-icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-size:1.15rem;
  font-weight:800;
  border:1px solid currentColor;
}
.float-badge-icon.is-gold{
  color:#f3ba2f;
  background:rgba(243,186,47,.12);
}
.float-badge-icon.is-green{
  color:#2fd37e;
  background:rgba(47,211,126,.12);
}
.float-badge-icon.is-blue{
  color:#58a6ff;
  background:rgba(88,166,255,.12);
}
.float-badge-icon.is-red{
  color:#ff7272;
  background:rgba(255,114,114,.12);
}
.float-badge-text{
  color:var(--muted);
  font-size:.82rem;
  line-height:1.35;
}
.float-badge-text b{
  color:#fff;
  font-size:.92rem;
  font-weight:800;
}
.f-badge-1{
  top:52px;
  left:18px;
  animation:heroBadgeDrift 6s ease-in-out infinite;
}
.f-badge-2{
  top:92px;
  right:12px;
  animation:heroBadgeDrift 6.6s ease-in-out infinite;
}
.f-badge-3{
  bottom:102px;
  left:6px;
  animation:heroBadgeDrift 6.2s ease-in-out infinite;
}
.f-badge-3 .float-badge-icon{
  color:#2fd37e;
  background:rgba(47,211,126,.12);
  border-color:rgba(47,211,126,.45);
  box-shadow:0 0 22px rgba(47,211,126,.16);
}
.f-badge-4{
  right:26px;
  bottom:54px;
  animation:heroBadgeDrift 6.9s ease-in-out infinite;
}
.f-badge-5{
  top:190px;
  left:-12px;
  animation:heroBadgeDrift 7.1s ease-in-out infinite;
}
.f-badge-6{
  top:216px;
  right:-10px;
  animation:heroBadgeDrift 7.4s ease-in-out infinite;
}
.f-badge-6 .float-badge-icon{
  color:#f3ba2f;
  background:rgba(243,186,47,.12);
}
@keyframes heroFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}
@keyframes heroBadgeDrift{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}
@keyframes heroSpin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}


/* ── SECTION BASE ─────────────────────────────────────────── */
section{position:relative;z-index:1}
.section-inner{max-width:1100px;margin:0 auto;padding:2rem 5vw}
.section-tag{
  display:inline-block;
  font-size:.72rem;font-weight:700;
  color:var(--green);letter-spacing:.12em;text-transform:uppercase;
  margin-bottom:.8rem;
}
.section-title{
  font-size:clamp(1.8rem,3.5vw,2.8rem);
  font-weight:800;letter-spacing:-.03em;color:#fff;
  line-height:1.15;margin-bottom:.8rem;
}
.section-sub{font-size:1rem;color:var(--muted);max-width:520px;line-height:1.7}

.feature-card{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.5rem 1.4rem;
  transition:all var(--transition);
  position:relative;overflow:hidden;
}
.feature-card::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(0,230,118,.04),transparent);
  opacity:0;transition:opacity var(--transition);
  pointer-events:none;
}
.feature-card:hover{border-color:rgba(0,230,118,.25);transform:translateY(-2px)}
.feature-card:hover::after{opacity:1}
.feature-name{font-size:.95rem;font-weight:700;color:#fff;margin-bottom:.4rem}
.feature-desc{font-size:.83rem;color:var(--muted);line-height:1.6}

/* ── SERVICES ─────────────────────────────────────────────── */
#services{background:var(--bg2)}
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:1rem;margin-top:2.8rem;
}
.service-card{
  background:var(--bg3);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.4rem;
  transition:all var(--transition);
}
.service-card:hover{border-color:rgba(0,230,118,.25);transform:translateY(-2px)}
.service-num{
  font-size:1.08rem;font-weight:700;color:var(--green);
  letter-spacing:0;text-transform:none;line-height:1;margin-bottom:.6rem;
}
.service-name{font-size:1rem;font-weight:700;color:#fff;margin-bottom:.4rem}
.service-desc{font-size:.82rem;color:var(--muted);line-height:1.6}
.service-link{
  display:inline-flex;align-items:center;gap:.3rem;
  font-size:.8rem;font-weight:600;color:var(--green);
  margin-top:.8rem;
  transition:gap var(--transition);
}
.service-link:hover{gap:.5rem}

/* ── ABOUT ────────────────────────────────────────────────── */
#about{background:var(--bg)}
.about-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;
  align-items:center;margin-top:2.5rem;
}
.skills-list{margin-top:1.5rem;display:flex;flex-direction:column;gap:.8rem}
.skill-row{display:flex;flex-direction:column;gap:.3rem}
.skill-header{display:flex;justify-content:space-between;font-size:.82rem}
.skill-name{color:#ccc;font-weight:500}
.skill-pct{color:var(--green);font-weight:700}
.skill-bar-bg{
  height:4px;border-radius:2px;background:var(--bg3);
  overflow:hidden;
}
.skill-bar-fill{
  height:100%;border-radius:2px;background:var(--green);
  transform-origin:left;
  animation:barGrow .8s ease forwards;
  transform:scaleX(0);
}
@keyframes barGrow{to{transform:scaleX(1)}}
.about-vals{display:flex;flex-direction:column;gap:1rem}
.val-card{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.2rem 1.4rem;
  display:flex;align-items:flex-start;gap:1rem;
}
.val-icon{font-size:1.5rem;flex-shrink:0;margin-top:.1rem}
.val-name{font-size:.92rem;font-weight:700;color:#fff}
.val-desc{font-size:.8rem;color:var(--muted);margin-top:.2rem}


/* ── CONTACT ──────────────────────────────────────────────── */
#contact{background:var(--bg2)}

/* ── Contact Social ───────────────────────────────────────── */
.contact-centered{text-align:center}
.contact-centered .section-sub{margin-left:auto;margin-right:auto}
.social-grid{
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:1rem;margin-top:2rem;
}
.social-link{
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
  width:80px;padding:.9rem .5rem;
  background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);
  color:var(--muted);
  transition:border-color var(--transition),color var(--transition),transform var(--transition),background var(--transition);
  font-size:.75rem;font-weight:500;
}
.social-link svg{width:22px;height:22px}
.social-link:hover{
  border-color:var(--green);color:var(--green);
  background:rgba(0,230,118,.07);transform:translateY(-3px);
}

/* ── Dashboard Styles ─────────────────────────────────────────── */

.dashboard-header {
    background: linear-gradient(135deg, rgba(0,168,84,.08) 0%, var(--bg2) 60%);
    border-bottom: 1px solid rgba(0,168,84,.15);
    padding: 1rem 5vw;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
}

.dashboard-header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header-nav{
    display:flex;
    align-items:center;
    gap:1.8rem;
}

.dashboard-header-nav-link{
    font-size:.88rem;
    font-weight:500;
    color:var(--muted);
    transition:color var(--transition);
}

.dashboard-header-nav a.dashboard-header-nav-link:hover{
    color:#fff;
}

.dashboard-header-nav-link-muted{
    cursor:default;
}

.dashboard-header-nav a.dashboard-header-nav-link-muted{
    cursor:pointer;
}

.dashboard-banned-wrap{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.dashboard-banned-box{
    width:min(640px, 100%);
    text-align:center;
    background:rgba(11,17,14,.92);
    border:1px solid rgba(255,107,107,.24);
    border-radius:24px;
    box-shadow:0 30px 60px rgba(0,0,0,.28);
    padding:36px 30px;
}

.dashboard-banned-title{
    margin:0 0 12px;
    font-size:1.8rem;
    font-weight:800;
    color:#fff;
}

.dashboard-banned-copy{
    margin:0;
    color:#f3d3d3;
    line-height:1.7;
    font-size:1rem;
}

.help-faq-list{
    display:grid;
    gap:0;
}

.help-support-card{
    background:var(--bg2);
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px 18px;
    margin-bottom:16px;
}

.help-support-card-head{
    margin-bottom:10px;
    padding-bottom:10px;
    border-bottom:1px solid var(--border);
}

.help-support-card-title{
    font-size:.96rem;
    font-weight:800;
    color:#fff;
    margin-bottom:4px;
}

.help-support-card-sub{
    color:var(--muted);
    line-height:1.6;
    font-size:.9rem;
}

.help-ticket-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

.help-ticket-stat{
    min-width:120px;
}

.help-ticket-stat-value{
    font-size:1.5rem;
    font-weight:800;
    color:#fff;
    line-height:1.1;
}

.help-ticket-stat-label{
    margin-top:4px;
    color:var(--muted);
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.help-ticket-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    padding:0 16px;
    border-radius:10px;
    border:1px dashed rgba(0,168,84,.28);
    background:rgba(0,168,84,.08);
    color:var(--green);
    font-size:.9rem;
    font-weight:700;
    cursor:pointer;
    transition:border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.help-ticket-btn svg{
    width:16px;
    height:16px;
}

.help-ticket-btn:hover{
    border-color:rgba(0,168,84,.48);
    background:rgba(0,168,84,.14);
    transform:translateY(-1px);
}

.help-ticket-alert{
    margin:0 0 14px;
    padding:11px 13px;
    border-radius:12px;
    font-size:.9rem;
    font-weight:700;
}

.help-ticket-alert.is-success{
    background:rgba(0,168,84,.12);
    border:1px solid rgba(0,168,84,.3);
    color:#76dfab;
}

.help-ticket-alert.is-error{
    background:rgba(255,80,80,.12);
    border:1px solid rgba(255,80,80,.28);
    color:#ff8e8e;
}

.help-ticket-form{
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid var(--border);
}

.help-ticket-form-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:12px;
}

.help-ticket-field{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-bottom:12px;
}

.help-ticket-field span{
    color:var(--muted);
    font-size:.76rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.help-ticket-field input,
.help-ticket-field select,
.help-ticket-field textarea{
    width:100%;
    background:var(--bg3);
    border:1px solid var(--border);
    border-radius:10px;
    padding:.78rem .9rem;
    color:var(--text);
    font-size:.92rem;
}

.help-ticket-field textarea{
    resize:vertical;
    min-height:120px;
}

.help-ticket-field input:focus,
.help-ticket-field select:focus,
.help-ticket-field textarea:focus{
    outline:none;
    border-color:rgba(0,168,84,.4);
}

.help-ticket-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.help-ticket-layout{
    display:grid;
    grid-template-columns:minmax(280px, 360px) minmax(0, 1fr);
    gap:16px;
}

.help-ticket-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.help-ticket-list-item{
    width:100%;
    text-align:left;
    background:var(--bg3);
    border:1px solid var(--border);
    border-radius:14px;
    padding:14px;
    color:var(--text);
    transition:border-color var(--transition), background var(--transition), transform var(--transition);
}

.help-ticket-list-item:hover{
    border-color:rgba(0,168,84,.32);
    transform:translateY(-1px);
}

.help-ticket-list-item.is-active{
    border-color:rgba(0,168,84,.5);
    background:rgba(0,168,84,.08);
}

.help-ticket-list-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
}

.help-ticket-list-subject{
    font-size:.95rem;
    font-weight:800;
    color:#fff;
    line-height:1.35;
}

.help-ticket-list-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    color:var(--muted);
    font-size:.75rem;
    margin-bottom:9px;
}

.help-ticket-list-preview{
    color:var(--muted);
    font-size:.84rem;
    line-height:1.55;
}

.help-ticket-detail{
    min-width:0;
}

.help-ticket-detail-card{
    background:var(--bg3);
    border:1px solid var(--border);
    border-radius:16px;
    padding:16px;
}

.help-ticket-detail-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}

.help-ticket-detail-subject{
    font-size:1rem;
    font-weight:800;
    color:#fff;
    margin-bottom:6px;
}

.help-ticket-detail-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    color:var(--muted);
    font-size:.76rem;
}

.help-ticket-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:.2rem .7rem;
    border-radius:999px;
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.03em;
    text-transform:uppercase;
}

.help-ticket-status.is-open{
    background:rgba(0,168,84,.14);
    border:1px solid rgba(0,168,84,.28);
    color:#74dfaa;
}

.help-ticket-status.is-answered{
    background:rgba(255,196,0,.14);
    border:1px solid rgba(255,196,0,.28);
    color:#ffd36b;
}

.help-ticket-status.is-closed{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#d6d6d6;
}

.help-ticket-thread{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:16px;
}

.help-ticket-message{
    border:1px solid var(--border);
    border-radius:14px;
    padding:12px 14px;
}

.help-ticket-message.is-user{
    background:rgba(0,168,84,.08);
}

.help-ticket-message.is-admin{
    background:rgba(255,255,255,.03);
}

.help-ticket-message-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-bottom:7px;
    font-size:.75rem;
}

.help-ticket-message-author{
    font-weight:800;
    color:#fff;
}

.help-ticket-message-time{
    color:var(--muted);
}

.help-ticket-message-body{
    color:var(--text);
    font-size:.9rem;
    line-height:1.65;
    word-break:break-word;
}

.help-ticket-reply-form{
    padding-top:16px;
    border-top:1px solid var(--border);
}

.help-ticket-empty{
    border:1px dashed var(--border);
    border-radius:14px;
    padding:18px;
    color:var(--muted);
    text-align:center;
    font-size:.9rem;
    line-height:1.6;
}

.help-ticket-detail-empty{
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.help-ticket-closed-note{
    border:1px dashed rgba(255,255,255,.12);
    border-radius:14px;
    padding:14px;
    color:var(--muted);
    text-align:center;
}

.help-faq-item{
    background:transparent;
    border:0;
    border-radius:0;
    overflow:visible;
}

.help-faq-item[open]{
    box-shadow:none;
}

.help-faq-question{
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:13px 0;
    cursor:pointer;
    font-size:.94rem;
    font-weight:700;
    color:#fff;
}

.help-faq-question::-webkit-details-marker{
    display:none;
}

.help-faq-icon{
    flex:0 0 auto;
    width:24px;
    height:24px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,168,84,.12);
    color:var(--green);
    font-size:.92rem;
    line-height:1;
}

.help-faq-item[open] .help-faq-icon span{
    display:none;
}

.help-faq-item[open] .help-faq-icon::before{
    content:"-";
    font-size:1rem;
}

.help-faq-answer{
    padding:0 0 13px;
    color:var(--muted);
    line-height:1.65;
    font-size:.9rem;
}

.help-faq-answer b,
.help-faq-answer code{
    color:#fff;
}

.help-faq-answer code{
    background:var(--bg3);
    border:1px solid var(--border);
    border-radius:8px;
    padding:1px 5px;
    word-break:break-all;
}

.help-faq-link{
    color:var(--green);
    font-weight:700;
    text-decoration:none;
}

.help-faq-link:hover{
    text-decoration:underline;
}

html[data-theme="light"] .help-faq-item{
    background:transparent;
}

html[data-theme="light"] .help-support-card{
    background:rgba(255,255,255,.82);
    border-color:rgba(0,168,84,.14);
}

html[data-theme="light"] .help-ticket-stat-value{
    color:var(--text);
}

html[data-theme="light"] .help-ticket-list-subject,
html[data-theme="light"] .help-ticket-detail-subject,
html[data-theme="light"] .help-ticket-message-author{
    color:var(--text);
}

html[data-theme="light"] .help-ticket-list-item,
html[data-theme="light"] .help-ticket-detail-card,
html[data-theme="light"] .help-ticket-empty,
html[data-theme="light"] .help-ticket-message{
    background:rgba(255,255,255,.78);
    border-color:rgba(0,168,84,.14);
}

html[data-theme="light"] .help-ticket-list-item.is-active{
    background:rgba(0,168,84,.08);
}

html[data-theme="light"] .help-ticket-list-preview,
html[data-theme="light"] .help-ticket-detail-meta,
html[data-theme="light"] .help-ticket-message-time,
html[data-theme="light"] .help-ticket-closed-note{
    color:#5f7365;
}

html[data-theme="light"] .help-ticket-field input,
html[data-theme="light"] .help-ticket-field select,
html[data-theme="light"] .help-ticket-field textarea{
    background:#fff;
    border-color:rgba(0,168,84,.14);
    color:var(--text);
}

html[data-theme="light"] .help-ticket-message.is-admin{
    background:rgba(17,24,39,.03);
}

html[data-theme="light"] .help-ticket-alert.is-success{
    color:#147a4c;
}

html[data-theme="light"] .help-ticket-alert.is-error{
    color:#bf3c3c;
}

html[data-theme="light"] .help-faq-question{
    color:var(--text);
}

html[data-theme="light"] .help-faq-answer{
    color:#5f7365;
}

html[data-theme="light"] .help-support-card-title{
    color:var(--text);
}

html[data-theme="light"] .help-faq-answer b,
html[data-theme="light"] .help-faq-answer code{
    color:var(--text);
}

@media(max-width:900px){
    .help-ticket-layout{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .help-ticket-form-grid{
        grid-template-columns:1fr;
    }

    .help-ticket-detail-head{
        flex-direction:column;
    }
}

.user-balance {
    display: flex;
    align-items: center;
    gap: .55rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .25rem .35rem;
    cursor: pointer;
}

.user-balance > div:first-child {
    background: var(--green);
    color: #0d0f10;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .72rem;
    flex-shrink: 0;
    letter-spacing: .03em;
}

.balance-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.balance-text > div:first-child {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .01em;
}

.balance-text > div:last-child {
    font-size: .68rem;
    color: var(--muted);
    font-weight: 400;
}

/* Dropdown Menu Styles */
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 1000;
}

.user-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-logout-form {
    margin: 0;
}

.dropdown-item-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(0, 168, 84, 0.1);
    color: var(--green);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dashboard-features {
    min-width: 0;
    padding-right: 200px; /* Platz für fixe Sidebar */
    padding-left: 176px; /* ← gleich wie rechts */
    background: radial-gradient(circle at 50% 0%, rgba(0,168,84,.07) 0%, var(--bg) 55%);
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.dashboard-sidebar {
    width: 160px;
    position: fixed;
    top: 112px;
    right: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 10;
}
.dashboard-sidebar-mobile { display: none; }

@media(max-width:900px) {
    .dashboard-features { padding-right: 0; padding-left: 0; }
    .dashboard-sidebar { display: none; }
    .dashboard-sidebar-mobile {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 1rem 0 2rem;
    }
}


.dashboard-features .section-inner {
    max-width: 1400px;
}

.feature-section {
    margin-bottom: 3rem;
}

.feature-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-section-icon {
    width: 48px;
    height: 48px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.feature-section-title p {
    color: var(--muted);
    font-size: 0.9rem;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}
.dashboard-features .dashboard-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dashboard-slider-shell{
    display:flex;
    align-items:stretch;
    gap:12px;
    position:relative;
}
.dashboard-cards-slider{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    flex:1;
}
.dashboard-cards-slider::-webkit-scrollbar{
    display:none;
}
.dashboard-cards-slider .dashboard-card{
    flex:0 0 calc((100% - 3.6rem) / 4);
    min-width:calc((100% - 3.6rem) / 4);
    scroll-snap-align:start;
}
.dashboard-slider-btn{
    flex:0 0 38px;
    width:38px;
    height:38px;
    border:none;
    border-radius:12px;
    background:rgba(19,22,24,.92);
    border:1px solid var(--border);
    color:var(--text);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:2;
    opacity:0;
    pointer-events:none;
    transition:border-color var(--transition), background var(--transition), opacity var(--transition), transform var(--transition);
}
.dashboard-slider-shell:hover .dashboard-slider-btn{
    opacity:1;
    pointer-events:auto;
}
#dashboardEarnPrev{
    left:-18px;
}
#dashboardEarnNext{
    right:-18px;
}
.dashboard-slider-btn svg{
    width:17px;
    height:17px;
}
.dashboard-slider-btn:hover{
    border-color:rgba(0,168,84,.32);
    background:var(--bg3);
}
.dashboard-slider-btn.is-disabled{
    opacity:0 !important;
    pointer-events:none !important;
    cursor:default;
}
.dashboard-slider-btn.is-disabled:hover{
    border-color:var(--border);
    background:var(--bg2);
}
.profile-nav-cards {
    grid-template-columns: repeat(5, 1fr);
}
.profile-nav-slider-shell .dashboard-slider-btn{
    opacity:0;
    pointer-events:none;
}
.profile-nav-slider-shell:hover .dashboard-slider-btn{
    opacity:1;
    pointer-events:auto;
}
#profileNavPrev{
    left:-18px;
}
#profileNavNext{
    right:-18px;
}
.profile-nav-cards::-webkit-scrollbar{
    display:none;
}
.ptc-nav-slider-shell .dashboard-slider-btn{
    opacity:0;
    pointer-events:none;
}
.ptc-nav-slider-shell:hover .dashboard-slider-btn{
    opacity:1;
    pointer-events:auto;
}
#ptcNavPrev{
    left:-18px;
}
#ptcNavNext{
    right:-18px;
}
.ptc-nav-cards{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    padding-bottom:.15rem;
}
.ptc-nav-cards::-webkit-scrollbar{
    display:none;
}
.ptc-nav-cards .dashboard-card{
    flex:0 0 calc((100% - 2.4rem) / 3);
    min-width:calc((100% - 2.4rem) / 3);
    scroll-snap-align:start;
}
@media(max-width:1200px) {
    .dashboard-features .dashboard-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-cards-slider .dashboard-card{
        flex-basis:calc((100% - 1.2rem) / 2);
        min-width:calc((100% - 1.2rem) / 2);
    }

    .profile-nav-cards{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        scroll-behavior:smooth;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
        overscroll-behavior-x:contain;
        padding-bottom:.15rem;
    }
    .profile-nav-cards .dashboard-card{
        flex:0 0 calc((100% - 1.2rem) / 2);
        min-width:calc((100% - 1.2rem) / 2);
        scroll-snap-align:start;
    }
    .ptc-nav-cards .dashboard-card{
        flex:0 0 calc((100% - 1.2rem) / 2);
        min-width:calc((100% - 1.2rem) / 2);
    }
}
@media(max-width:900px) {
    .dash-view { padding-right: 0; padding-left: 0; }
    .dashboard-cards-slider .dashboard-card{
        flex-basis:calc(100% - 64px);
        min-width:calc(100% - 64px);
    }

    .profile-nav-cards .dashboard-card{
        flex:0 0 calc(100% - 64px);
        min-width:calc(100% - 64px);
    }
    #profileNavPrev{
        left:-6px;
    }
    #profileNavNext{
        right:-6px;
    }
    .ptc-nav-cards .dashboard-card{
        flex:0 0 calc(100% - 64px);
        min-width:calc(100% - 64px);
    }
    #ptcNavPrev{
        left:-6px;
    }
    #ptcNavNext{
        right:-6px;
    }
}
@media(max-width:768px) {
    .feature-section-header {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: .85rem;
        margin-bottom: 1.4rem;
    }
    .feature-section-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .feature-section-title h2 {
        font-size: 1.45rem;
    }
    .offers-banner {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }
    .offers-banner .profile-balances-row {
        width: 100%;
    }
    .dashboard-card {
        padding: 1.2rem;
    }
    .dashboard-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: .6rem;
    }
    .dashboard-card-status {
        font-size: .8rem;
        width: 100%;
    }
}

.dashboard-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    cursor: pointer;
}

.dashboard-card:hover {
    border-color: rgba(0, 168, 84, 0.25);
}
.dashboard-card-static { cursor: default; }
.dashboard-card-static:hover { transform: none; }

.dashboard-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.dashboard-card-status {
    font-size: 0.85rem;
    color: var(--muted);
}

.dashboard-card-icon {
    width: 40px;
    height: 40px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: .7rem;
}

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.dashboard-card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: .75rem;
}

.dashboard-card-btn {
    background: var(--green);
    color: var(--bg);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.dashboard-card-btn:hover {
    background: var(--green-dim);
}

@media (max-width: 768px) {
    .dashboard-header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .dashboard-header-nav {
        display: flex;
        gap: .9rem;
    }

    .dashboard-header-nav-link-mobile-hide {
        display: none;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    .dashboard-features .dashboard-cards {
        grid-template-columns: 1fr;
    }
    .dashboard-slider-shell{
        gap:10px;
    }
    .dashboard-slider-btn{
        flex:0 0 34px;
        width:34px;
        height:34px;
        opacity:1;
        pointer-events:auto;
    }
    #dashboardEarnPrev{
        left:-6px;
    }
    #dashboardEarnNext{
        right:-6px;
    }
    .ptc-geo-grid-primary{
        grid-template-columns: 1fr;
    }
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer{
  background:var(--bg);
  border-top:1px solid var(--border);
  padding:1.4rem 5vw;
}
.footer-inner{
  max-width:1100px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:.8rem;
}
.footer-copy{font-size:.78rem;color:var(--muted)}
.footer-links{display:flex;gap:1.4rem}
.footer-links a{font-size:.78rem;color:var(--muted);transition:color var(--transition)}
.footer-links a:hover{color:var(--green)}

/* ── Lang Switcher ────────────────────────────────────────── */
.lang-switcher{
  display:flex;align-items:center;gap:.3rem;
  background:var(--bg3);border:1px solid var(--border);
  border-radius:8px;padding:.25rem .35rem;
}
.lang-btn{
  padding:.25rem .55rem;border-radius:5px;
  font-size:.78rem;font-weight:700;letter-spacing:.03em;
  color:var(--muted);background:none;border:none;
  cursor:pointer;transition:all var(--transition);
}
.lang-btn.active{background:var(--green);color:#0d0f10}
.lang-btn:not(.active):hover{color:#fff}
.theme-toggle-inline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  min-height:28px;
  padding:.2rem .45rem;
}
.theme-toggle-inline svg{
  width:15px;
  height:15px;
  display:block;
}

/* ── Footer loadtime ──────────────────────────────────────── */
.footer-meta{
  width:100%;border-top:1px solid var(--border);
  padding-top:.8rem;margin-top:.4rem;
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;
  font-size:.72rem;color:#444;
}
.loadtime-val{color:var(--green);font-weight:700}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media(max-width:900px){
  .nav-links{display:none}
  .hamburger{display:flex}
  .hero-inner{grid-template-columns:1fr;gap:2.5rem}
  .hero-graphics-card{display:none}
  .hero-coin-ring-alt{width:320px;height:320px}
  .floating-coin{width:200px;height:200px}
  .floating-coin-inner{font-size:6.8rem}
  .float-badge{
    min-width:172px;
    padding:.72rem .82rem;
  }
  .about-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .hero-stats{gap:1.2rem}
  .hero-graphics-card{
    min-height:300px;
    border-radius:22px;
  }
  .hero-coin-ring{width:220px;height:220px}
  .hero-coin-ring-alt{width:260px;height:260px}
  .floating-coin{
    width:156px;
    height:156px;
  }
  .floating-coin-inner{font-size:5.2rem}
  .float-badge{
    min-width:auto;
    gap:.55rem;
    padding:.58rem .68rem;
    border-radius:14px;
  }
  .float-badge-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
    border-radius:10px;
    font-size:.9rem;
  }
  .float-badge-text{
    font-size:.68rem;
  }
  .float-badge-text b{
    font-size:.74rem;
  }
  .f-badge-1{top:18px;left:12px}
  .f-badge-2{top:18px;right:12px}
  .f-badge-3{bottom:18px;left:12px}
  .f-badge-4{right:12px;bottom:18px}
  .nav-cta .btn-ghost{display:none}
}

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay{
  display:none;
  position:fixed;inset:0;z-index:200;
  background:rgba(0,0,0,.65);
  backdrop-filter:blur(8px);
  align-items:center;justify-content:center;
  padding:1rem;
}
.modal-overlay.open{display:flex}

.modal-box{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:2rem;
  width:100%;max-width:420px;
  position:relative;
  animation:modalIn .22s ease;
}
@keyframes modalIn{
  from{opacity:0;transform:translateY(12px) scale(.97)}
  to{opacity:1;transform:none}
}

.modal-header{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:1.5rem;
}
.modal-header h3{
  font-size:1.15rem;font-weight:700;color:#fff;
}
.modal-close{
  width:32px;height:32px;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg3);border:1px solid var(--border);border-radius:8px;
  color:var(--muted);transition:all var(--transition);
}
.impressum-modal-box{
  max-width:900px;
}
.privacy-modal-box{
  max-width:980px;
  max-height:min(90vh, 1100px);
  padding:0;
  overflow:hidden;
}
.privacy-modal-box .modal-content{
  display:flex;
  flex-direction:column;
  min-height:0;
}
.privacy-modal-box .modal-header{
  margin-bottom:0;
  padding:1.2rem 1.4rem;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(0,168,84,.08), rgba(0,168,84,0));
}
.privacy-modal-box .modal-header h3{
  font-size:1.18rem;
}
.privacy-modal-box .modal-body{
  padding:1.25rem 1.4rem 1.4rem;
  overflow:auto;
}
.pp-lang-toggle{
  display:inline-flex;
  gap:.55rem;
  padding:.3rem;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg3);
  margin-bottom:1rem;
}
.pp-lang-btn{
  border:none;
  background:transparent;
  color:var(--muted);
  font-size:.92rem;
  font-weight:600;
  padding:.6rem .95rem;
  border-radius:999px;
  transition:background var(--transition), color var(--transition), transform var(--transition);
}
.pp-lang-btn.active{
  background:var(--green);
  color:#fff;
}
.pp-lang-btn:hover{
  color:var(--text);
}
#Privacymodal.show-de .pp-lang-en,
#Privacymodal.show-en .pp-lang-de{
  display:none;
}
#modalImpressum.show-de .impressum-lang-en,
#modalImpressum.show-en .impressum-lang-de{
  display:none;
}
.pp-section-nr{
  color:var(--green);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:1.25rem 0 .35rem;
}
.privacy-modal-box h4{
  margin:0 0 .55rem;
  color:var(--text);
  font-size:1rem;
}
.privacy-modal-box p{
  margin:0 0 .9rem;
  color:var(--muted);
  line-height:1.7;
  font-size:.95rem;
}
.pp-divider{
  border:none;
  border-top:1px solid rgba(255,255,255,.07);
  margin:1.15rem 0;
}
.pp-contact,
.pp-highlight,
.pp-list li{
  border:1px solid rgba(0,168,84,.18);
  background:linear-gradient(180deg, rgba(0,168,84,.12), rgba(0,168,84,.06));
  border-radius:10px;
}
.pp-contact{
  padding:.95rem 1rem;
  margin:.75rem 0 0;
}
.pp-highlight{
  padding:.95rem 1rem;
  margin:1rem 0;
  color:var(--text);
}
.pp-highlight.info{
  border-color:rgba(255,193,7,.18);
  background:linear-gradient(180deg, rgba(255,193,7,.12), rgba(255,193,7,.05));
}
.pp-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.55rem;
}
.pp-list li{
  padding:.8rem .95rem;
  color:var(--text);
  line-height:1.55;
}
.privacy-modal-box table{
  width:100%;
  border-collapse:collapse;
  margin:1rem 0;
  font-size:.92rem;
  overflow:hidden;
  border-radius:12px;
  border:1px solid var(--border);
}
.privacy-modal-box thead th{
  text-align:left;
  color:var(--green);
  background:rgba(0,168,84,.08);
  padding:.8rem .9rem;
  font-size:.82rem;
  font-weight:700;
}
.privacy-modal-box tbody td{
  padding:.85rem .9rem;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.06);
  vertical-align:top;
}
.privacy-modal-box a{
  color:var(--green);
}
@media (max-width: 768px) {
  .impressum-modal-box,
  .privacy-modal-box{
    max-width:100%;
  }
  .privacy-modal-box .modal-header,
  .privacy-modal-box .modal-body{
    padding:1rem;
  }
  .pp-lang-toggle{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    border-radius:14px;
  }
  .pp-lang-btn{
    width:100%;
  }
  .privacy-modal-box table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}
.modal-close svg{width:14px;height:14px}
.modal-close:hover{border-color:var(--green);color:var(--green)}
.modal-body{padding:.25rem 0;color:var(--muted);font-size:.9rem;line-height:1.7;max-height:65vh;overflow-y:auto}
.modal-body h2{font-size:1rem;font-weight:700;color:#fff;margin:1.25rem 0 .4rem}
.modal-body h3{font-size:.9rem;font-weight:700;color:var(--text);margin:1rem 0 .3rem}
.modal-body p{margin-bottom:.75rem}
.modal-body a{color:var(--green)}

/* Alert */
.modal-alert{
  display:flex;align-items:center;gap:.6rem;
  padding:.75rem 1rem;border-radius:8px;
  font-size:.85rem;margin-bottom:1.2rem;
}
.modal-alert svg{width:16px;height:16px;flex-shrink:0}
.modal-alert-error{background:rgba(255,60,60,.1);border:1px solid rgba(255,60,60,.25);color:#ff6b6b}

/* Fields */
.modal-field{
  display:flex;flex-direction:column;gap:.4rem;
  margin-bottom:1rem;
}
.modal-field label{
  display:flex;align-items:center;gap:.4rem;
  font-size:.78rem;font-weight:600;
  color:var(--muted);text-transform:uppercase;letter-spacing:.05em;
}
.modal-field label svg{width:13px;height:13px}
.modal-field input{
  background:var(--bg3);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.7rem 1rem;
  color:#fff;font-size:.9rem;font-family:inherit;
  outline:none;width:100%;
  transition:border-color var(--transition);
}
.modal-field input:focus{border-color:rgba(0,168,84,.5)}
.modal-field input::placeholder{color:#555}
.modal-field select{
  background:var(--bg3);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.7rem 2.5rem .7rem 1rem;
  color:#fff;
  font-size:.9rem;
  font-family:inherit;
  outline:none;
  width:100%;
  transition:border-color var(--transition);
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7f889f 50%),
    linear-gradient(135deg, #7f889f 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
}
.modal-field select:focus{border-color:rgba(0,168,84,.5)}

/* Password toggle */
.input-pw-wrap{position:relative}
.input-pw-wrap input{padding-right:2.8rem}
.pw-toggle{
  position:absolute;right:.75rem;top:50%;transform:translateY(-50%);
  background:none;border:none;color:var(--muted);
  display:flex;align-items:center;
  transition:color var(--transition);
}
.pw-toggle svg{width:17px;height:17px}
.pw-toggle:hover{color:var(--green)}

/* Notice */
.modal-notice{
  display:flex;align-items:flex-start;gap:.5rem;
  background:rgba(255,180,0,.07);
  border:1px solid rgba(255,180,0,.15);
  border-radius:8px;padding:.65rem .9rem;
  font-size:.78rem;color:#b89a3e;
  margin-bottom:1rem;line-height:1.5;
}
.modal-notice svg{width:15px;height:15px;flex-shrink:0;margin-top:.1rem}

/* Turnstile */
.cf-turnstile{margin-bottom:1rem}

/* Social auth */
.modal-social-section{
  margin-bottom:1.15rem;
}
.modal-social-divider{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:.95rem;
  color:var(--muted);
  font-size:.77rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.modal-social-divider::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  border-top:1px solid var(--border);
}
.modal-social-divider span{
  position:relative;
  z-index:1;
  padding:0 .7rem;
  background:var(--bg2);
}
.google-auth-wrap{
  position:relative;
  min-height:44px;
}
.google-auth-wrap.is-disabled{
  opacity:.7;
}
.google-auth-slot{
  display:flex;
  justify-content:center;
  min-height:44px;
}
.google-auth-slot > div{
  width:100%;
  display:flex;
  justify-content:center;
}
.google-auth-blocker{
  position:absolute;
  inset:0;
  z-index:2;
  display:none;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:.6rem .8rem;
  border-radius:10px;
  background:rgba(10,12,14,.76);
  border:1px dashed rgba(255,255,255,.14);
  color:var(--muted);
  font-size:.76rem;
  line-height:1.45;
  backdrop-filter:blur(4px);
}
.google-auth-wrap.is-disabled .google-auth-blocker{
  display:flex;
}
.google-auth-feedback{
  display:none;
  margin-bottom:.8rem;
  padding:.72rem .9rem;
  border-radius:10px;
  font-size:.82rem;
  line-height:1.45;
}
.google-auth-feedback.is-active{
  display:block;
}
.google-auth-feedback.is-error{
  background:rgba(255,60,60,.1);
  border:1px solid rgba(255,60,60,.25);
  color:#ff8f8f;
}
.google-auth-feedback.is-success{
  background:rgba(0,168,84,.1);
  border:1px solid rgba(0,168,84,.25);
  color:#7ee2a7;
}

/* Submit */
.modal-submit{
  width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.8rem;
  background:var(--green);border-radius:10px;
  color:#0d0f10;font-size:.95rem;font-weight:700;
  border:none;transition:background var(--transition),transform var(--transition);
}
.modal-submit svg{width:17px;height:17px}
.modal-submit:hover{background:var(--green-dim);transform:translateY(-1px)}
.modal-submit:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* Switch link */
.modal-switch{
  text-align:center;font-size:.83rem;color:var(--muted);
  margin-top:1.1rem;
}
.modal-switch a{color:var(--green);font-weight:600}
.modal-switch a:hover{text-decoration:underline}

/* ── Modal Checkboxes ─────────────────────────────────────── */
.modal-checkboxes{
  display:flex;flex-direction:column;gap:.6rem;
  margin-bottom:1rem;
}
.modal-check{
  display:flex;align-items:flex-start;gap:.65rem;
  font-size:.8rem;color:var(--muted);
  cursor:pointer;line-height:1.5;
}
.modal-check input[type=checkbox]{
  appearance:none;-webkit-appearance:none;
  width:16px;height:16px;flex-shrink:0;margin-top:.1rem;
  border:1px solid var(--border);border-radius:4px;
  background:var(--bg3);cursor:pointer;
  transition:all var(--transition);position:relative;
}
.modal-check input[type=checkbox]:checked{
  background:var(--green);border-color:var(--green);
}
.modal-check input[type=checkbox]:checked::after{
  content:'';
  position:absolute;left:4px;top:1px;
  width:5px;height:9px;
  border:2px solid #0d0f10;border-top:none;border-left:none;
  transform:rotate(45deg);
}
.modal-check a{color:var(--green);font-weight:600}
.modal-check a:hover{text-decoration:underline}

/* Success Alert */
.modal-alert-success{
  background:rgba(0,168,84,.1);
  border:1px solid rgba(0,168,84,.25);
  color:#4caf7d;
}

/* ── Profile Overview ──────────────────────────────────────── */
.profile-overview-section{display:flex;flex-direction:column;gap:1.5rem}
.profile-tab{display:block}
.profile-block{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.5rem;
}
.profile-block-title{font-size:1.1rem;font-weight:700;color:#fff;margin-bottom:1.25rem}
.profile-block-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.profile-block-sub{font-size:.85rem;color:var(--muted);margin-top:.2rem}

/* Balances */
.profile-balances-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.75rem}
.profile-balance-break{flex-basis:100%;height:0}
.profile-balance-box{
  background:var(--bg3);border:1px dashed var(--border);
  border-radius:8px;padding:.75rem 1.1rem;min-width:120px;
}
.profile-balance-val{font-size:1.1rem;font-weight:700;color:#fff;margin-bottom:.2rem}
.profile-balance-usd{color:#00c896}
.profile-balance-btc{color:#f7931a}
.profile-balance-label{font-size:.72rem;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.profile-balance-eq{font-size:1.2rem;color:var(--muted);font-weight:300}
.profile-balance-note{font-size:.78rem;color:var(--muted)}

/* Level badges */
.profile-level-badges{display:flex;gap:.75rem;flex-shrink:0}
.profile-level-badge{
  background:var(--bg3);border:1px solid var(--border);
  border-radius:8px;padding:.6rem 1rem;text-align:center;min-width:64px;
}
.profile-level-num{font-size:1.3rem;font-weight:800;color:var(--green)}
.profile-level-lbl{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-top:.1rem}

/* XP Bar */
.profile-xp-bar-wrap{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}
.profile-xp-label{font-size:.75rem;color:var(--muted);white-space:nowrap;min-width:50px}
.profile-xp-label:last-child{text-align:right}
.profile-xp-bar{flex:1;height:14px;background:var(--bg3);border-radius:99px;overflow:hidden}
.profile-xp-fill{height:100%;background:linear-gradient(90deg,var(--green),#00c896);border-radius:99px;transition:width .4s ease}
.profile-xp-note{font-size:.8rem;color:var(--muted);margin-bottom:1.5rem;text-align:center}

/* Rank row */
.profile-rank-row{display:flex;gap:.75rem;overflow-x:auto;padding-bottom:.5rem;justify-content:center;align-items:stretch}
.profile-rank-item{
  flex-shrink:0;background:var(--bg3);border:1px solid var(--border);
  border-radius:10px;padding:.9rem 1rem;text-align:center;min-width:110px;
  transition:border-color var(--transition);display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.profile-rank-item.profile-rank-active{border-color:var(--green);background:rgba(0,168,84,.07)}
.profile-rank-img{display:block;width:52px;height:52px;object-fit:contain;margin:0 auto .4rem}
.profile-rank-name{font-size:.85rem;font-weight:700;color:#fff;margin-bottom:.15rem}
.profile-rank-range{font-size:.72rem;color:var(--muted)}
.profile-balance-muted{color:var(--muted) !important}
.profile-balance-sep{width:1px;height:48px;background:var(--border);flex-shrink:0;align-self:center}
@media(max-width:600px){
  .profile-balance-sep{display:none}
  .profile-balances-row{gap:.5rem}
  .profile-balance-eq{display:none}
  .profile-balance-box{min-width:100px}
  .profile-block-header{flex-direction:column}
}

/* ── Lottery Modal ────────────────────────────────────────── */
.lottery-sub{
  font-size:.85rem;color:var(--muted);line-height:1.6;
  margin-bottom:1.2rem;
}
.lottery-sub strong{color:var(--text)}

.lottery-stats-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;
  margin-bottom:1.25rem;
}
.lottery-stat-box{
  background:var(--bg3);border:1px solid var(--border);
  border-radius:10px;padding:.85rem .75rem;text-align:center;
}
.lottery-stat-box.lottery-stat-highlight{
  border-color:rgba(0,168,84,.35);background:rgba(0,168,84,.07);
}
.lottery-stat-label{font-size:.72rem;color:var(--muted);margin-bottom:.35rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.lottery-stat-value{font-size:1rem;font-weight:700;color:#fff}
.lottery-stat-highlight .lottery-stat-value{color:var(--green)}

.lottery-buy-card{
  background:var(--bg3);
  border:1px solid var(--border);
  border-radius:12px;
  padding:1rem;
  margin-bottom:1.25rem;
}
.lottery-buy-head{
  margin-bottom:.9rem;
}
.lottery-buy-head .lottery-past-title{
  margin-bottom:.9rem;
}
.lottery-buy-form{
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.lottery-buy-row{
  display:flex;
  align-items:end;
  gap:.8rem;
}
.lottery-buy-field{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:.4rem;
}
.lottery-buy-field span{
  font-size:.72rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:700;
}
.lottery-buy-field input{
  width:100%;
  background:var(--bg2);
  border:1px solid var(--border);
  color:var(--text);
  border-radius:10px;
  padding:.8rem .9rem;
  font-size:.96rem;
  font-weight:600;
}
.lottery-buy-field input:focus{
  outline:none;
  border-color:rgba(0,168,84,.35);
  box-shadow:0 0 0 4px rgba(0,168,84,.08);
}
.lottery-buy-field input:disabled{
  opacity:.65;
  cursor:not-allowed;
}
.lottery-buy-submit{
  min-width:150px;
  height:46px;
}
.lottery-buy-submit:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.lottery-buy-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem 1rem;
  color:var(--muted);
  font-size:.8rem;
}
.lottery-buy-meta strong{
  color:var(--text);
}
.lottery-buy-message{
  margin-top:.85rem;
}
.lottery-buy-message:empty{
  display:none;
}

.lottery-countdown-wrap{
  text-align:center;margin-bottom:1.25rem;
}
.lottery-countdown-label{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem}
.lottery-countdown{
  display:inline-flex;align-items:center;gap:.4rem;
  background:var(--bg3);border:1px solid var(--border);
  border-radius:10px;padding:.6rem 1rem;
}
.lottery-cd-unit{display:flex;flex-direction:column;align-items:center;min-width:2.2rem}
.lottery-cd-unit span{font-size:1.4rem;font-weight:800;color:#fff;line-height:1}
.lottery-cd-unit small{font-size:.6rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-top:.15rem}
.lottery-cd-sep{font-size:1.2rem;font-weight:700;color:var(--green);margin-bottom:.5rem}

.lottery-past-title{
  font-size:.78rem;font-weight:700;color:var(--muted);
  text-transform:uppercase;letter-spacing:.06em;
  margin-bottom:.6rem;
}
.lottery-table-wrap{overflow-x:auto}
.lottery-table{
  width:100%;border-collapse:collapse;font-size:.8rem;
}
.lottery-table th{
  background:var(--bg3);color:var(--muted);
  font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:.5rem .75rem;text-align:left;
  border-bottom:1px solid var(--border);font-size:.7rem;
}
.lottery-table td{
  padding:.55rem .75rem;border-bottom:1px solid rgba(255,255,255,.04);
  color:var(--text);vertical-align:middle;
}
.lottery-table tr:last-child td{border-bottom:none}
.lottery-table tr:hover td{background:rgba(255,255,255,.02)}
.lottery-round-num{color:var(--muted);font-size:.75rem}
.lottery-winner{color:var(--text);font-weight:600}
.lottery-ticket-num{color:var(--green);font-weight:700}
.history-type-pending{color:#ffb347}
.lottery-total-num{color:var(--muted)}
.lottery-prize-num{color:#fff;font-weight:700}
.lottery-no-data{text-align:center;color:var(--muted);padding:1.5rem;font-style:italic}

@media(max-width:600px){
  .lottery-stats-row{grid-template-columns:1fr 1fr}
  .lottery-stat-highlight{grid-column:1/-1}
  .lottery-buy-row{flex-direction:column}
  .lottery-buy-submit{width:100%}
  .lottery-countdown{gap:.25rem;padding:.5rem .6rem}
  .lottery-cd-unit span{font-size:1.1rem}
  .modal-box-wide{padding:1.25rem}
}

/* ── Dash View (Offers etc.) ─────────────────────────────── */
.dash-view{
  display:none;
  padding: 2rem 0;
  min-height: 60vh;
  position: relative;
  padding-right: 176px;
  padding-left: 176px;
}
.dash-view::before{
  content:'';
  position:fixed;
  top:0;left:0;width:100%;height:100%;
  background:radial-gradient(circle at 50% 0%, rgba(0,168,84,.12), transparent 55%);
  pointer-events:none;
  z-index:0;
  opacity:.7;
  animation:pulse 6s ease-in-out infinite;
}
.dash-view .section-inner{ position:relative;z-index:1;max-width:1400px; }

@media(max-width:900px){
  .dash-view{
    padding-right:0;
    padding-left:0;
  }
}

.dash-view-header{
  display:flex;align-items:flex-start;gap:1.2rem;
  margin-bottom:2rem;
}
.dash-back-btn{
  display:flex;align-items:center;gap:.4rem;
  background:var(--bg3);border:1px solid var(--border);
  border-radius:8px;padding:.45rem .85rem;
  color:var(--muted);font-size:.82rem;font-weight:600;
  cursor:pointer;transition:all var(--transition);
  flex-shrink:0;margin-top:.2rem;
}
.dash-back-btn svg{width:14px;height:14px}
.dash-back-btn:hover{border-color:var(--green);color:var(--green)}
.dash-view-title{font-size:1.3rem;font-weight:700;color:#fff;margin-bottom:.25rem}
.dash-view-sub{font-size:.85rem;color:var(--muted)}
.lottery-sub-centered{text-align:center;margin-bottom:1.5rem}
.theme-icon-hidden{display:none}
.profile-nav-cards-spaced,
.dashboard-cards-spaced{margin-bottom:2rem}
.offers-banner{
  margin-left:auto;flex-shrink:0;
  display:flex;align-items:center;justify-content:flex-end;
}

/* ── Offers Grid ─────────────────────────────────────────── */
.offers-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:1rem;
}
.promo-code-view{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:1rem;
}
.promo-code-panel,
.promo-code-note{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.promo-code-panel{
  padding:1.35rem;
}
.promo-code-copy{
  color:var(--muted);
  font-size:.95rem;
  line-height:1.75;
  margin-bottom:1.6rem;
}
.promo-code-link{
  color:var(--green);
  font-weight:700;
  text-decoration:none;
}
.promo-code-link:hover{
  text-decoration:underline;
}
.promo-code-form{
  display:grid;
  gap:.9rem;
}
.promo-code-label{
  color:var(--text);
  font-size:.95rem;
  font-weight:700;
}
.promo-code-label span{
  color:var(--green);
}
.promo-code-input{
  width:100%;
  min-height:54px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.03);
  padding:0 1rem;
  color:#cfd7e8;
  font-size:.95rem;
}
.promo-code-input:disabled{
  cursor:not-allowed;
  opacity:1;
  color:#8f99af;
}
.promo-code-actions{
  display:flex;
  align-items:center;
  gap:.8rem;
  flex-wrap:wrap;
}
.promo-code-redeem{
  min-width:134px;
}
.promo-code-redeem:disabled{
  opacity:.65;
  cursor:not-allowed;
}
.promo-code-message:empty{
  display:none;
}
.promo-code-note{
  padding:1.35rem;
  background:
    radial-gradient(circle at top right, rgba(0,168,84,.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.01));
}
.promo-code-note-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.7rem;
}
.promo-code-note-kicker{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.34rem .65rem;
  border-radius:999px;
  background:rgba(0,168,84,.12);
  color:var(--green);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:1rem;
}
.promo-code-note-title{
  color:var(--text);
  font-size:1.15rem;
  font-weight:700;
  margin-bottom:.7rem;
}
.promo-code-note-copy{
  color:var(--muted);
  font-size:.93rem;
  line-height:1.75;
  margin-bottom:0;
}
.promo-code-telegram-btn{
  flex-shrink:0;
  text-decoration:none;
}
.offers-widget-card{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1rem;
  margin: .7rem 0 1rem;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.offers-widget-head{
  margin-bottom:.75rem;
}
.offers-widget-standalone{
  margin:.7rem 0 1rem;
}
.offers-widget-head-standalone{
  margin-bottom:.7rem;
}
.offers-widget-title{
  font-size:1rem;
  font-weight:700;
  color:#fff;
  margin-bottom:.35rem;
}
.cpx-home-slider{
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  gap:10px;
  flex:1;
}
.cpx-home-slider::-webkit-scrollbar{
  display:none;
}
#dashboardCpxPrev{
  left:-18px;
}
#dashboardCpxNext{
  right:-18px;
}
.cpx-home-card{
  flex:0 0 calc((100% - 40px) / 5);
  min-width:calc((100% - 40px) / 5);
  scroll-snap-align:start;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.1rem;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:.35rem;
  text-decoration:none;
}
.cpx-home-card:hover{
  border-color:rgba(0,168,84,.25);
}
.cpx-home-coins-value{
  font-size:1.05rem;
  line-height:1;
  font-weight:900;
  color:#18a85e;
  margin-top:0;
}
.cpx-home-coins-inline{
  font-size:.8rem;
  font-weight:700;
  color:#18a85e;
}
.cpx-home-duration{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--muted);
  font-size:.82rem;
  margin-top:.2rem;
}
.cpx-home-duration svg{
  width:13px;
  height:13px;
  stroke:currentColor;
}
.cpx-home-stars{
  display:inline-flex;
  align-items:center;
  gap:1px;
  margin-top:3px;
}
.cpx-home-star{
  font-size:1.08rem;
  line-height:1;
  color:#d6d6d6;
}
.cpx-home-star.is-filled{
  color:#18a85e;
}
.dashboard-slider-shell.is-hidden{
  display:none;
}
.adbreak-home-slider{
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  gap:12px;
  flex:1;
}
.adbreak-home-slider::-webkit-scrollbar{
  display:none;
}
#dashboardAdbreakPrev{
  left:-18px;
}
#dashboardAdbreakNext{
  right:-18px;
}
.adbreak-home-card{
  flex:0 0 calc((100% - 3rem) / 5);
  min-width:calc((100% - 3rem) / 5);
  scroll-snap-align:start;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:0 18px 40px rgba(0,0,0,.16);
  text-decoration:none;
}
.adbreak-home-thumb{
  width:52px;
  height:52px;
  border-radius:12px;
  object-fit:cover;
  background:#fff;
}
.adbreak-home-title{
  font-size:.92rem;
  font-weight:800;
  color:var(--text);
  line-height:1.3;
  min-height:36px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.adbreak-home-desc{
  color:var(--muted);
  font-size:.78rem;
  line-height:1.4;
  min-height:44px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.adbreak-home-tags{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.adbreak-home-tag{
  background:rgba(29,160,94,.12);
  color:#53d58f;
  border:1px solid rgba(29,160,94,.24);
  border-radius:999px;
  padding:3px 7px;
  font-size:.64rem;
}
.adbreak-home-stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:6px;
  margin-top:auto;
}
.adbreak-home-stat{
  padding:7px 8px;
  border-radius:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}
.adbreak-home-stat-label{
  color:#8ea198;
  font-size:.62rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.adbreak-home-stat-value{
  margin-top:2px;
  font-size:.8rem;
  font-weight:700;
  color:var(--text);
}
.adbreak-home-cta{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  margin-top:4px;
  padding:9px 10px;
  border-radius:10px;
  background:#1da05e;
  color:#fff;
  text-decoration:none;
  font-size:.8rem;
  font-weight:700;
}
.lootably-home-section{
  margin-top:.35rem;
}
.lootably-home-section .dashboard-slider-shell:hover .dashboard-slider-btn{
  opacity:1;
  pointer-events:auto;
}
#dashboardLootablyPrev{
  left:-18px;
}
#dashboardLootablyNext{
  right:-18px;
}
#dashboardMonlixPrev{
  left:-18px;
}
#dashboardMonlixNext{
  right:-18px;
}
.lootably-home-slider{
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  gap:12px;
  flex:1;
}
.lootably-home-slider::-webkit-scrollbar{
  display:none;
}
.lootably-home-card{
  flex:0 0 calc((100% - 3rem) / 5);
  min-width:calc((100% - 3rem) / 5);
  scroll-snap-align:start;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:0 18px 40px rgba(0,0,0,.16);
}
.lootably-home-thumb{
  width:52px;
  height:52px;
  border-radius:12px;
  object-fit:cover;
  background:#fff;
}
.lootably-home-title{
  font-size:.92rem;
  font-weight:800;
  color:var(--text);
  line-height:1.3;
  min-height:36px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.lootably-home-desc{
  color:var(--muted);
  font-size:.78rem;
  line-height:1.4;
  min-height:44px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.lootably-home-tags{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.lootably-home-tag{
  background:rgba(29,160,94,.12);
  color:#53d58f;
  border:1px solid rgba(29,160,94,.24);
  border-radius:999px;
  padding:3px 7px;
  font-size:.64rem;
}
.lootably-home-stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:6px;
  margin-top:auto;
}
.lootably-home-stat{
  padding:7px 8px;
  border-radius:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}
.lootably-home-stat-label{
  color:#8ea198;
  font-size:.62rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.lootably-home-stat-value{
  margin-top:2px;
  font-size:.8rem;
  font-weight:700;
  color:var(--text);
}
.lootably-home-cta{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  margin-top:4px;
  padding:9px 10px;
  border-radius:10px;
  background:#1da05e;
  color:#fff;
  text-decoration:none;
  font-size:.8rem;
  font-weight:700;
}
.lootably-home-empty{
  background:var(--bg2);
  border:1px dashed var(--border);
  border-radius:16px;
  padding:18px;
  text-align:center;
  color:var(--muted);
}
@media(max-width:1200px){
  .cpx-home-card{
    flex-basis:calc((100% - 10px) / 2);
    min-width:calc((100% - 10px) / 2);
  }
  .adbreak-home-card{
    flex-basis:calc((100% - 12px) / 2);
    min-width:calc((100% - 12px) / 2);
  }
  .lootably-home-card{
    flex-basis:calc((100% - .75rem) / 2);
    min-width:calc((100% - .75rem) / 2);
  }
}
@media(max-width:900px){
  .cpx-home-card{
    flex-basis:calc(100% - 64px);
    min-width:calc(100% - 64px);
  }
  .adbreak-home-card{
    flex-basis:calc(100% - 64px);
    min-width:calc(100% - 64px);
  }
  .lootably-home-card{
    flex-basis:calc(100% - 64px);
    min-width:calc(100% - 64px);
  }
}
.offer-card{
  position:relative;
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.25rem 1rem 1rem;
  display:flex;flex-direction:column;align-items:center;
  gap:.6rem;text-decoration:none;
  transition:border-color var(--transition),transform var(--transition),box-shadow var(--transition);
  text-align:center;overflow:hidden;
}
.offer-card:hover{
  border-color:rgba(0,168,84,.4);
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(0,168,84,.08);
}
.multiplier-card-actionable{cursor:pointer}
.multiplier-card-static{
  cursor:default;
  pointer-events:none;
}
.offer-badge{
  position:absolute;top:.6rem;right:.6rem;
  font-size:.6rem;font-weight:800;letter-spacing:.06em;
  padding:.18rem .45rem;border-radius:4px;text-transform:uppercase;
}
.offer-badge-new    {background:rgba(0,168,84,.2);color:var(--green)}
.offer-badge-popular{background:rgba(255,180,0,.15);color:#e6b800}
.offer-badge-hot    {background:rgba(255,80,50,.15);color:#ff6b4a}

.offer-logo{
  max-width:120px;max-height:36px;
  object-fit:contain;filter:brightness(1.1);
}
.offer-logo-light{filter:brightness(0) invert(1) opacity(.85)}
.offer-name{font-size:.82rem;font-weight:700;color:#fff}
.multiplier-emoji{
  font-size:2rem;
  margin-bottom:.5rem;
}
.offer-tags{
  display:flex;flex-wrap:wrap;justify-content:center;gap:.3rem;
}
.multiplier-stats{
  width:100%;
  flex-direction:column;
  align-items:flex-start;
  gap:.5rem;
  margin-top:.75rem;
}
.offer-tags span{
  font-size:.65rem;background:var(--bg3);border:1px solid var(--border);
  border-radius:4px;padding:.1rem .4rem;color:var(--muted);
}
.multiplier-stat{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  padding:.35rem .6rem;
  border-radius:6px;
  font-size:.82rem;
}
.multiplier-stat-current{
  background:rgba(0,168,84,.12);
  border:1px solid rgba(0,168,84,.25);
}
.multiplier-stat-last{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
}
.multiplier-stat-label{color:var(--muted)}
.multiplier-stat-value{color:var(--text)}
.multiplier-stat-value-green{color:var(--green)}
.offer-countries{font-size:.68rem;color:var(--muted)}

@media(max-width:480px){
  .offers-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .dash-view-header{flex-direction:column;gap:.75rem}
  .offers-banner{margin-left:0;justify-content:flex-start}
  .promo-code-view{grid-template-columns:1fr}
  .promo-code-panel,
  .promo-code-note{padding:1.1rem}
  .promo-code-note-top{flex-direction:column}
  .promo-code-telegram-btn{width:100%;justify-content:center}
}

/* ── PTC Ads View ────────────────────────────────────────── */
.ptc-loading{
  display:flex;align-items:center;gap:.75rem;
  padding:2.5rem 0;color:var(--muted);font-size:.9rem;
}
.ptc-spinner{
  width:20px;height:20px;flex-shrink:0;
  border:2px solid var(--border);border-top-color:var(--green);
  border-radius:50%;animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.ptc-empty{color:var(--muted);font-size:.9rem;padding:2rem 0;font-style:italic}

.ptc-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:1rem;
}
.ptc-card{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.1rem;
  display:flex;flex-direction:column;gap:.5rem;
  text-decoration:none;
  transition:border-color var(--transition),transform var(--transition);
}
.ptc-card:hover{
  border-color:rgba(0,168,84,.4);transform:translateY(-2px);
}
.ptc-card-reward{
  font-size:.82rem;font-weight:800;
  color:var(--green);letter-spacing:.02em;
}
.ptc-card-title{
  font-size:.88rem;font-weight:600;color:#fff;
  line-height:1.35;
}
.ptc-card-desc{
  font-size:.77rem;
  color:var(--muted);
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ptc-card-meta{
  display:flex;justify-content:space-between;align-items:center;
  font-size:.74rem;color:var(--muted);
}
.ptc-open{color:var(--green);font-weight:600}
.ptc-done{color:var(--muted)}

.ptc-card-bar{
  height:3px;background:var(--bg3);border-radius:2px;overflow:hidden;
}
.ptc-card-bar-fill{
  height:100%;background:var(--green);border-radius:2px;
  transition:width .3s ease;
}
.ptc-card-views{font-size:.7rem;color:var(--muted)}

/* ── PTC Sub-Views & Forms ───────────────────────────────── */
.ptc-tab { margin-top:.25rem }

.ptc-alert{
  padding:.85rem 1.1rem;border-radius:var(--radius);
  font-size:.875rem;font-weight:600;margin-bottom:1.25rem;
}
.ptc-alert-success{background:rgba(0,168,84,.12);border:1px solid rgba(0,168,84,.3);color:#4cde8a}
.ptc-alert-error  {background:rgba(255,80,80,.1); border:1px solid rgba(255,80,80,.25);color:#ff7e7e}

.ptc-form-card{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.5rem;max-width:580px;
}
.ptc-form-title{font-size:1rem;font-weight:700;margin-bottom:1.1rem;color:#fff}
.dashboard-card[data-ptc-tab="create-ad"] > .dashboard-card-icon{
  display:none;
}
.ptc-card-head{
  display:flex;
  align-items:flex-start;
  gap:.8rem;
  margin-bottom:.85rem;
}
.ptc-card-head .dashboard-card-icon{
  margin-bottom:0;
  flex-shrink:0;
  font-size:0;
}
.ptc-card-head .dashboard-card-icon::before{
  content:"\1F4DD";
  font-size:1.2rem;
  line-height:1;
}
.ptc-card-price-hint{
  margin:0;
  flex:1;
  padding:.7rem .9rem;
  background:rgba(255,196,0,.1);
  border:1px solid rgba(255,196,0,.28);
  border-radius:14px;
  color:#f2e4ad;
  font-size:.84rem;
  font-weight:700;
  line-height:1.45;
}
@media(max-width:600px){
  .ptc-card-head{
    flex-direction:column;
    align-items:stretch;
  }
}
.ptc-form{display:flex;flex-direction:column;gap:.85rem}
.ptc-form-group{display:flex;flex-direction:column;gap:.35rem}
.ptc-form-group label{font-size:.78rem;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.ptc-form-group input,
.ptc-form-group textarea,
.ptc-form-group select{
  background:var(--bg3);border:1px solid var(--border);
  border-radius:8px;padding:.6rem .85rem;
  color:var(--text);font-size:.875rem;
  transition:border-color var(--transition);
}
.ptc-form-group input:focus,
.ptc-form-group textarea:focus,
.ptc-form-group select:focus{outline:none;border-color:rgba(0,168,84,.4)}
.ptc-form-group textarea{
  resize:vertical;
  min-height:92px;
  font-family:inherit;
  line-height:1.5;
}
.ptc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}
.ptc-total-row{
  font-size:.875rem;font-weight:700;color:var(--text);
  background:var(--bg3);border:1px solid var(--border);
  border-radius:8px;padding:.6rem .85rem;
}
.ptc-geo-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:.75rem;
}
.ptc-geo-grid-primary{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}
.ptc-geo-grid-more{
  margin-top:.75rem;
}
.ptc-geo-chip{
  min-height:58px;
  border:1px dashed rgba(255,84,120,.55);
  border-radius:10px;
  background:rgba(255,84,120,.04);
  color:#d7d8ff;
  font-size:.84rem;
  font-weight:700;
  line-height:1.35;
  padding:.8rem .7rem;
  text-align:center;
  transition:border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.ptc-geo-chip:hover{
  border-color:rgba(11,203,99,.45);
  background:rgba(11,203,99,.08);
  color:#fff;
  transform:translateY(-1px);
}
.ptc-geo-chip.is-selected{
  border-style:solid;
  border-color:rgba(11,203,99,.55);
  background:rgba(11,203,99,.14);
  color:#f4fff8;
  box-shadow:0 0 0 1px rgba(11,203,99,.12) inset;
}
.ptc-geo-toggle{
  width:100%;
  margin-top:.75rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  border:1px solid var(--border);
  border-radius:10px;
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-size:.84rem;
  font-weight:700;
  padding:.8rem .9rem;
  transition:border-color var(--transition), background var(--transition), color var(--transition);
}
.ptc-geo-toggle:hover{
  border-color:rgba(11,203,99,.35);
  background:rgba(11,203,99,.06);
}
.ptc-geo-toggle-icon{
  color:var(--muted);
  transition:transform var(--transition), color var(--transition);
}
.ptc-geo-toggle[aria-expanded="true"] .ptc-geo-toggle-icon{
  transform:rotate(180deg);
  color:#fff;
}
.ptc-geo-note{
  color:var(--muted);
  font-size:.76rem;
  line-height:1.5;
}
.ptc-balance-hint{color:var(--muted);font-weight:400;font-size:.78rem;margin-left:.5rem}
.ptc-guidelines{
  font-size:.75rem;color:var(--muted);
  background:rgba(255,200,0,.05);border:1px solid rgba(255,200,0,.15);
  border-radius:8px;padding:.6rem .85rem;line-height:1.5;
}

/* ── PTC Manage ──────────────────────────────────────────── */
.ptc-manage-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;
}
.ptc-manage-card{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.1rem;
}
.ptc-manage-title{font-size:.9rem;font-weight:700;color:#fff;margin-bottom:.25rem}
.ptc-manage-desc{
  font-size:.76rem;
  color:var(--muted);
  line-height:1.5;
  margin-bottom:.45rem;
}
.ptc-manage-url{font-size:.72rem;color:var(--muted);margin-bottom:.6rem;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ptc-manage-stats{
  display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.6rem;
}
.ptc-manage-stats span{
  font-size:.72rem;background:var(--bg3);border:1px solid var(--border);
  border-radius:5px;padding:.15rem .5rem;color:var(--muted);
}
.ptc-status-enabled{color:var(--green) !important;border-color:rgba(0,168,84,.3) !important}
.ptc-status-disabled{color:#ff7e7e !important;border-color:rgba(255,80,80,.25) !important}

/* ── PTC Card locked state ───────────────────────────────── */
.ptc-card-locked{
  opacity:.55;pointer-events:none;cursor:default;
  border-color:var(--border) !important;
}

/* ── Browse & Earn View ──────────────────────────────────── */
.browse-steps-card{
  cursor:default;pointer-events:none;
  margin-bottom:1.25rem;
}
.browse-steps-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:.75rem;
  margin-top:.5rem;
}
.browse-step{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.75rem;
  text-align:center;
}
.browse-step-emoji{
  font-size:1.4rem;
  margin-bottom:.3rem;
}
.browse-step-num{
  font-size:.72rem;font-weight:700;
  color:var(--green);
  margin-bottom:.2rem;
}
.browse-step-title{
  font-size:.82rem;font-weight:600;
  margin-bottom:.2rem;
}
.browse-step-desc{
  font-size:.75rem;color:var(--muted);
}
.browse-steps-info{
  margin-top:1rem;font-size:.82rem;
  color:var(--muted);text-align:center;
}
.browse-steps-info strong{
  color:var(--text);
}
.browse-title-spaced{margin-bottom:1rem}
.browse-bottom-grid{
  display:grid;
  grid-template-columns:320px 320px;
  gap:1.25rem;
  justify-content:center;
}
.browse-start-card{
  text-decoration:none;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:.6rem;text-align:center;
  min-height:290px;
}
.browse-start-emoji{
  font-size:2.8rem;
}
.browse-ad-card{
  cursor:default;
  display:flex;align-items:center;
  justify-content:center;
  min-height:290px;padding:.75rem;
}
.browse-start-btn{
  margin-top:.75rem;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}

/* Responsive: Steps untereinander auf kleinen Screens */
@media(max-width:640px){
  .browse-steps-grid{grid-template-columns:repeat(2,1fr)}
  .browse-bottom-grid{grid-template-columns:1fr}
}
/* ── Profile Settings ─────────────────────────────────────── */
.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .85rem 0;
}
.settings-row-info { align-items: flex-start; }
.settings-label {
    font-weight: 600;
    font-size: .9rem;
    min-width: 140px;
    flex-shrink: 0;
}
.settings-field { flex: 1; }
.settings-avatar {
    width: 56px; height: 56px;
    background: var(--green);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; color: #0d0f10;
}
.settings-divider {
    border: none;
    border-top: 1px solid var(--border);
}
.settings-toggle-disabled {
    font-size: .78rem; color: var(--muted);
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 20px; padding: .25rem .75rem;
    flex-shrink: 0;
}


/* ── Dashboard Light Theme ───────────────────────────────── */
:root[data-theme="light"]{
  --green:#35b86b;
  --green-dim:#249953;
  --bg:#f3fff5;
  --bg2:#ffffff;
  --bg3:#ecfff0;
  --border:rgba(53,184,107,.18);
  --text:#163322;
  --muted:#5f7b68;
}

html[data-theme="light"] body{
  background:
    radial-gradient(circle at top, rgba(53,184,107,.16) 0%, rgba(225,255,232,.95) 35%, #f3fff5 100%);
  color:var(--text);
}

html[data-theme="light"] body::before{
  opacity:.012;
}

html[data-theme="light"] .dashboard-header,
html[data-theme="light"] nav{
  background:linear-gradient(135deg, rgba(53,184,107,.18) 0%, rgba(255,255,255,.92) 62%);
  border-bottom:1px solid rgba(53,184,107,.22);
}

html[data-theme="light"] .nav-links a:hover{
  color:var(--text);
}

html[data-theme="light"] .lang-switcher{
  background:rgba(255,255,255,.86);
  border-color:rgba(53,184,107,.2);
  box-shadow:0 10px 24px rgba(53,184,107,.06);
}

html[data-theme="light"] .lang-btn:not(.active):hover{
  color:var(--text);
  background:rgba(53,184,107,.1);
}

html[data-theme="light"] .theme-toggle-inline{
  color:var(--text);
}

html[data-theme="light"] .btn-ghost{
  background:rgba(255,255,255,.72);
  border-color:rgba(53,184,107,.18);
}

html[data-theme="light"] .btn-ghost:hover{
  background:#ffffff;
  border-color:rgba(53,184,107,.28);
}

html[data-theme="light"] .hamburger span{
  background:var(--text);
}

html[data-theme="light"] .mobile-menu{
  background:rgba(255,255,255,.95);
  border-bottom:1px solid rgba(53,184,107,.18);
  box-shadow:0 16px 32px rgba(53,184,107,.08);
}

html[data-theme="light"] .mobile-menu a{
  color:var(--text);
  border-bottom-color:rgba(53,184,107,.14);
}

html[data-theme="light"] .mobile-menu a:hover{
  color:var(--green-dim);
}

html[data-theme="light"] .dashboard-features{
  background:radial-gradient(circle at 50% 0%, rgba(53,184,107,.14) 0%, rgba(243,255,245,1) 60%);
}

html[data-theme="light"] .nav-logo,
html[data-theme="light"] .feature-section-title h2,
html[data-theme="light"] .dashboard-card-title,
html[data-theme="light"] .offers-widget-title,
html[data-theme="light"] .dash-view-title,
html[data-theme="light"] .profile-block-title,
html[data-theme="light"] .lottery-stat-value,
html[data-theme="light"] .lottery-past-title,
html[data-theme="light"] .modal-header h3,
html[data-theme="light"] .section-title,
html[data-theme="light"] h1,
html[data-theme="light"] .stat-num,
html[data-theme="light"] .service-name,
html[data-theme="light"] .feature-name,
html[data-theme="light"] .offer-name,
html[data-theme="light"] .ptc-card-title,
html[data-theme="light"] .ptc-manage-title,
html[data-theme="light"] .val-name{
  color:var(--text);
}

html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6{
  color:var(--text);
}

html[data-theme="light"] .dashboard-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .profile-block,
html[data-theme="light"] .lottery-stat-box,
html[data-theme="light"] .lottery-countdown-wrap,
html[data-theme="light"] .lottery-table-wrap,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .browse-steps-info,
html[data-theme="light"] .modal-box,
html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .user-balance,
html[data-theme="light"] .profile-balance-box,
html[data-theme="light"] .profile-level-badge,
html[data-theme="light"] .dashboard-card-icon,
html[data-theme="light"] .feature-section-icon,
html[data-theme="light"] .val-card,
html[data-theme="light"] .social-link,
html[data-theme="light"] .modal-field input,
html[data-theme="light"] .modal-field select,
html[data-theme="light"] .modal-close,
html[data-theme="light"] .dash-back-btn,
html[data-theme="light"] .settings-toggle,
html[data-theme="light"] .lottery-cd-unit{
  background:var(--bg2);
  border-color:var(--border);
  color:var(--text);
  box-shadow:0 10px 30px rgba(53,184,107,.06);
}

html[data-theme="light"] .dashboard-card-icon,
html[data-theme="light"] .feature-section-icon,
html[data-theme="light"] .user-balance,
html[data-theme="light"] .modal-close,
html[data-theme="light"] .dash-back-btn{
  background:var(--bg3);
}

html[data-theme="light"] .contest-hero{
  background:var(--bg2);
  border-color:var(--border);
}

html[data-theme="light"] .contest-hero-kicker{
  color:#d9841f;
}

html[data-theme="light"] .contest-hero-title{
  color:var(--text);
}

html[data-theme="light"] .contest-hero-sub{
  color:var(--muted);
}

html[data-theme="light"] .contest-hero-stat{
  background:var(--bg3);
  border-color:var(--border);
}

html[data-theme="light"] .contest-hero-stat-value{
  color:var(--text);
}

html[data-theme="light"] .contest-prize-pill{
  background:rgba(217,132,31,.08);
  border-color:rgba(217,132,31,.18);
  color:#b96e12;
}

html[data-theme="light"] .contest-podium-card{
  border-color:var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,248,.95));
}

html[data-theme="light"] .contest-podium-card.rank-1{
  background:linear-gradient(180deg, rgba(255,223,146,.42), rgba(255,246,218,.95));
  border-color:rgba(217,165,48,.28);
}

html[data-theme="light"] .contest-podium-card.rank-2{
  background:linear-gradient(180deg, rgba(213,220,233,.55), rgba(248,250,252,.96));
  border-color:rgba(170,182,199,.28);
}

html[data-theme="light"] .contest-podium-card.rank-3{
  background:linear-gradient(180deg, rgba(225,186,160,.5), rgba(252,246,242,.96));
  border-color:rgba(190,138,102,.28);
}

html[data-theme="light"] .contest-podium-prize{
  background:rgba(217,132,31,.08);
  color:#b96e12;
}

html[data-theme="light"] .contest-user-stat{
  background:var(--bg3);
  border-color:var(--border);
}

html[data-theme="light"] .contest-extended-ranks{
  background:var(--bg3);
  border-color:var(--border);
}

html[data-theme="light"] .contest-extended-ranks[open] summary,
html[data-theme="light"] .contest-extended-row{
  border-bottom-color:var(--border);
}

html[data-theme="light"] .referrals-contest-table-wrap{
  border-color:var(--border);
  background:var(--bg3);
}

html[data-theme="light"] .referrals-contest-row{
  color:var(--muted);
  border-bottom-color:var(--border);
}

html[data-theme="light"] .referrals-contest-head{
  background:rgba(244,247,244,.96);
}

html[data-theme="light"] .referrals-contest-row.is-current-user{
  background:rgba(53,184,107,.08);
}

html[data-theme="light"] .referrals-contest-prizes{
  color:#cc4c63;
}

html[data-theme="light"] .winner-name,
html[data-theme="light"] .winner-prize{
  color:#2d7ff9;
}

html[data-theme="light"] .winner-entries{
  color:#c58a16;
}

html[data-theme="light"] .dashboard-slider-btn{
  background:rgba(255,255,255,.88);
  border-color:rgba(53,184,107,.18);
  color:var(--text);
  box-shadow:0 10px 24px rgba(53,184,107,.08);
}

html[data-theme="light"] .dashboard-slider-btn:hover{
  background:#ffffff;
  border-color:rgba(53,184,107,.28);
}

html[data-theme="light"] .cpx-home-card{
  border-color:var(--border);
  background:var(--bg2);
  box-shadow:0 10px 24px rgba(53,184,107,.06);
}

html[data-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .social-link:hover,
html[data-theme="light"] .dashboard-card:hover,
html[data-theme="light"] .feature-card:hover,
html[data-theme="light"] .service-card:hover{
  background:rgba(53,184,107,.08);
}

html[data-theme="light"] .dashboard-card-btn,
html[data-theme="light"] .modal-submit,
html[data-theme="light"] .btn-primary{
  color:#fff;
}
html:not([data-theme="light"]) .google-auth-slot > div{
  width:auto;
  max-width:100%;
  display:inline-flex;
}
html[data-theme="light"] .modal-social-divider span{
  background:var(--bg2);
}
html[data-theme="light"] .google-auth-blocker{
  background:rgba(255,255,255,.82);
  border-color:rgba(16,24,40,.1);
  color:#5f6b7a;
}
html[data-theme="light"] .google-auth-feedback.is-error{
  background:rgba(224,69,69,.08);
  border-color:rgba(224,69,69,.16);
  color:#c13d3d;
}
html[data-theme="light"] .google-auth-feedback.is-success{
  background:rgba(0,168,84,.08);
  border-color:rgba(0,168,84,.16);
  color:#167a4b;
}

html[data-theme="light"] .dashboard-card-btn-secondary,
html[data-theme="light"] .withdraw-cancel-btn{
  background:var(--bg3);
  border-color:var(--border);
  color:var(--text);
}

html[data-theme="light"] .dashboard-card-btn-secondary:hover,
html[data-theme="light"] .withdraw-cancel-btn:hover{
  background:rgba(53,184,107,.08);
  border-color:rgba(53,184,107,.28);
  color:var(--text);
}

html[data-theme="light"] .lottery-countdown-wrap{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}

html[data-theme="light"] .lottery-countdown{
  background:var(--bg2);
  border-color:var(--border);
}

html[data-theme="light"] .lottery-cd-unit{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}

html[data-theme="light"] .lottery-cd-unit span,
html[data-theme="light"] .profile-balance-val{
  color:var(--text);
}

html[data-theme="light"] .hero-graphics-card::after{
  content:'';
  position:absolute;
  inset:18% 18% auto 18%;
  height:58%;
  border-radius:50%;
  background:radial-gradient(circle, rgba(53,184,107,.12) 0%, rgba(53,184,107,.04) 38%, rgba(53,184,107,0) 72%);
  pointer-events:none;
}

html[data-theme="light"] .hero-coin-ring{
  border-color:rgba(53,184,107,.14);
  box-shadow:inset 0 0 34px rgba(53,184,107,.06);
}

html[data-theme="light"] .hero-coin-ring-alt{
  border-color:rgba(53,184,107,.22);
}

html[data-theme="light"] .floating-coin-inner{
  color:#5c3e10;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,252,236,.96) 0%, rgba(255,252,236,.34) 16%, transparent 17%),
    linear-gradient(160deg, #ffe39a 0%, #efc86a 42%, #cf9738 100%);
  border-color:rgba(207,151,56,.48);
  box-shadow:
    0 18px 40px rgba(207,151,56,.22),
    inset 0 2px 12px rgba(255,255,255,.5),
    inset 0 -8px 20px rgba(130,86,24,.16);
  text-shadow:none;
}

html[data-theme="light"] .float-badge{
  background:rgba(255,255,255,.88);
  border-color:rgba(53,184,107,.18);
  box-shadow:0 14px 28px rgba(53,184,107,.09);
}

html[data-theme="light"] .float-badge-text{
  color:var(--muted);
}

html[data-theme="light"] .float-badge-text b{
  color:var(--text);
}

html[data-theme="light"] .profile-balance-usd{
  color:#00c896;
}

html[data-theme="light"] .profile-balance-btc{
  color:#f7931a;
}

html[data-theme="light"] .lottery-table thead,
html[data-theme="light"] .history-limit-select,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] input{
  background:var(--bg3);
  color:var(--text);
  border-color:var(--border);
}

html[data-theme="light"] .lottery-table tbody tr:hover{
  background:rgba(53,184,107,.05);
}

html[data-theme="light"] .lottery-table td,
html[data-theme="light"] .lottery-table th,
html[data-theme="light"] .settings-divider,
html[data-theme="light"] .profile-balance-sep,
html[data-theme="light"] footer{
  border-color:var(--border);
}

html[data-theme="light"] .lottery-prize-num,
html[data-theme="light"] .profile-rank-name{
  color:var(--text);
}

.is-hidden{display:none}
.settings-form{max-width:560px}
.settings-required{color:#ff6b6b}
.settings-input{
  width:100%;
  background:var(--bg3);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.6rem .9rem;
  color:var(--text);
  font-size:.9rem;
}
.settings-help{
  font-size:.78rem;
  color:var(--muted);
  margin-top:.35rem;
}
.settings-copy{
  font-size:.82rem;
  color:var(--muted);
}
.settings-section-title{margin:1.5rem 0 1rem}
.settings-info-title{
  font-weight:600;
  font-size:.9rem;
}
.settings-info-copy{
  font-size:.82rem;
  color:var(--muted);
}
.settings-security-panel{
  flex:1;
  max-width:360px;
}
.settings-security-form{
  display:flex;
  flex-direction:column;
  gap:.65rem;
  width:100%;
}
.settings-check-row{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-size:.84rem;
  color:var(--text);
  margin-top:.1rem;
}
.settings-check-row input{
  margin:0;
}
.settings-actions{
  display:flex;
  justify-content:flex-end;
  gap:.75rem;
  margin-top:1.25rem;
}
.settings-actions-inline{
  justify-content:flex-start;
  flex-wrap:wrap;
  margin-top:.35rem;
}
.settings-alert{
  padding:.65rem 1rem;
  border-radius:8px;
  margin-bottom:1rem;
  font-size:.88rem;
  border:1px solid transparent;
}
.settings-alert-success{
  background:rgba(0,168,84,.12);
  border-color:rgba(0,168,84,.3);
  color:var(--green);
}
.settings-alert-error{
  background:rgba(255,80,80,.1);
  border-color:rgba(255,80,80,.3);
  color:#ff6b6b;
}
.dashboard-card-btn-disabled{
  opacity:.5;
  cursor:not-allowed;
}
.dashboard-card-btn-secondary{
  background:transparent;
  border:1px solid var(--border);
  color:var(--muted);
}
.dashboard-card-btn-danger{background:#e53e3e}
.profile-balance-iota{color:#a0d8ef}
.history-controls{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid var(--border);
  gap:1rem;
  flex-wrap:wrap;
}
.history-controls-left{
  display:flex;
  align-items:center;
  gap:.5rem;
}
.history-controls-label{
  font-size:.85rem;
  color:var(--muted);
}
.history-limit-select{
  background:var(--bg3);
  border:1px solid var(--border);
  color:var(--text);
  padding:.55rem 2.2rem .55rem .85rem;
  border-radius:8px;
  font-size:.9rem;
  font-weight:500;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right .8rem center;
  background-size:14px;
}
#historyTypeSelect{
  min-width:170px;
}
.history-reload-btn{
  width:40px;
  height:40px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg3);
  color:var(--muted);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.05rem;
  line-height:1;
  transition:background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.history-reload-btn:hover{
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-color:rgba(11,203,99,.28);
}
.history-reload-btn:active{
  transform:rotate(18deg);
}
.history-controls-info{
  font-size:.85rem;
  color:var(--muted);
}
.history-pagination{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin-left:auto;
}
.history-page-btn{
  min-width:34px;
  height:34px;
  padding:0 .7rem;
  border:none;
  border-radius:10px;
  background:transparent;
  color:var(--muted);
  font-size:.95rem;
  font-weight:600;
  transition:background var(--transition), color var(--transition), opacity var(--transition);
}
.history-page-btn:hover:not(.is-active):not(.is-disabled){
  background:rgba(255,255,255,.04);
  color:var(--text);
}
.history-page-btn.is-active{
  background:var(--green);
  color:#fff;
}
.history-page-btn.is-disabled{
  opacity:.35;
  cursor:default;
}
.history-page-ellipsis{
  color:var(--muted);
  padding:0 .15rem;
}
@media(max-width:768px){
  .history-controls{
    align-items:flex-start;
    gap:.85rem;
  }
  .history-controls-left{
    width:100%;
    flex-wrap:wrap;
  }
  .history-controls-info{
    width:100%;
    order:3;
  }
  .history-pagination{
    width:100%;
    margin-left:0;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .history-limit-select{
    min-width:84px;
  }
  .history-reload-btn{
    width:38px;
    height:38px;
  }
  .referrals-link-row{
    flex-direction:column;
    align-items:stretch;
    max-width:none;
  }
  .referrals-link-button{
    width:100%;
  }
}
@media(max-width:560px){
  .history-controls{
    gap:.7rem;
  }
  .history-controls-label,
  .history-controls-info{
    font-size:.82rem;
  }
  .history-page-btn{
    min-width:32px;
    height:32px;
    padding:0 .55rem;
  }
}
.referrals-stats-row{margin:1.5rem 0}
.referrals-stat-label{color:#e53e3e}
.referrals-link-title{margin-bottom:.75rem}
.referrals-link-copy{
  font-size:.85rem;
  color:var(--muted);
  margin-bottom:.75rem;
}
.referrals-link-row{
  display:flex;
  gap:.75rem;
  align-items:center;
  max-width:560px;
}
.referrals-link-input{
  flex:1;
  background:var(--bg3);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.6rem .9rem;
  color:var(--text);
  font-size:.88rem;
}
.referrals-link-button{flex-shrink:0}
.referrals-contest-card{
  margin-top:1.75rem;
  border-top:1px solid var(--border);
  padding-top:1.5rem;
}
.referrals-contest-title{margin-bottom:.4rem}
.referrals-contest-copy{
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:1.2rem;
  line-height:1.65;
}
.referrals-contest-grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  gap:1rem;
}
.referrals-contest-panel{
  padding:1.05rem 1.1rem;
}
.contest-panel-card{
  align-items:stretch;
  text-align:left;
  gap:0;
}
.referrals-contest-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}
.referrals-contest-panel-title{
  color:var(--text);
  font-size:1rem;
  font-weight:700;
  margin-bottom:.35rem;
}
.referrals-contest-panel-sub{
  color:var(--muted);
  font-size:.84rem;
  line-height:1.6;
}
.referrals-contest-refresh{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--bg3);
  color:#78839a;
  flex-shrink:0;
  cursor:pointer;
  transition:border-color .18s ease,color .18s ease,transform .18s ease;
}
.referrals-contest-refresh:hover{
  border-color:rgba(88,166,255,.35);
  color:#58a6ff;
  transform:translateY(-1px);
}
.referrals-contest-refresh.is-loading svg{
  animation:referrals-contest-spin 1s linear infinite;
}
.referrals-contest-refresh svg{
  width:16px;
  height:16px;
}
@keyframes referrals-contest-spin{
  to{transform:rotate(360deg)}
}
.referrals-contest-table-wrap{
  border:1px solid rgba(255,255,255,.04);
  border-radius:12px;
  overflow-x:hidden;
  overflow-y:auto;
  max-height:540px;
  background:rgba(255,255,255,.01);
  scrollbar-gutter:stable;
}
.referrals-contest-table{
  width:100%;
}
.referrals-contest-row{
  display:grid;
  grid-template-columns:90px minmax(140px,1fr) 120px;
  gap:1rem;
  align-items:center;
  padding:.9rem 1rem;
  border-bottom:1px solid rgba(255,255,255,.04);
  font-size:.9rem;
  color:#aab3c8;
}
.referrals-contest-row.is-current-user{
  background:rgba(88,166,255,.08);
}
.referrals-contest-row.is-current-user div:nth-child(2){
  color:var(--text);
  font-weight:700;
}
.referrals-contest-row:last-child{border-bottom:none}
.referrals-contest-head{
  color:var(--muted);
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  background:rgba(22,25,31,.96);
  position:sticky;
  top:0;
  z-index:1;
}
.referrals-contest-row div:last-child{text-align:right}
.referrals-contest-details{
  margin-top:1rem;
  display:grid;
  gap:.95rem;
}
.referrals-contest-detail-row{
  display:grid;
  grid-template-columns:minmax(150px,.85fr) minmax(0,1.15fr);
  gap:1rem;
  align-items:start;
}
.referrals-contest-detail-label{
  color:var(--text);
  font-size:.9rem;
  font-weight:700;
}
.referrals-contest-detail-value{
  color:var(--text);
  font-size:.92rem;
  font-weight:600;
  text-align:right;
}
.referrals-contest-detail-value.is-empty{color:#ff4f75}
.referrals-contest-prizes{
  display:grid;
  justify-items:end;
  gap:.28rem;
  color:#ff4f75;
  font-size:.9rem;
  text-align:right;
}
.referrals-contest-winners{
  display:grid;
  width:100%;
  min-width:0;
  gap:.65rem;
}
.referrals-contest-winner{
  display:grid;
  width:100%;
  min-width:0;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:.75rem;
  align-items:center;
  padding:.6rem 0;
  border-bottom:1px solid rgba(255,255,255,.04);
}
.referrals-contest-winner:last-child{
  border-bottom:none;
  padding-bottom:0;
}
.winner-name{
  color:#58a6ff;
  font-weight:600;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.winner-prize{
  color:#58a6ff;
  text-align:right;
  white-space:nowrap;
}
.winner-entries{
  color:#f3c544;
  text-align:right;
  white-space:nowrap;
}
.contest-view{
  display:flex;
  flex-direction:column;
  gap:1.4rem;
}
.contest-hero{
  padding:1.6rem;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--bg2);
  text-align:center;
  overflow:hidden;
}
.contest-hero-kicker{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#ffcf8a;
  margin-bottom:.45rem;
}
.contest-hero-title{
  font-size:clamp(1.8rem, 4vw, 2.7rem);
  font-weight:800;
  color:#fff3d6;
  margin-bottom:.35rem;
}
.contest-hero-sub{
  font-size:.95rem;
  color:#f0c999;
  margin-bottom:.8rem;
}
.contest-hero-copy{
  margin:0 auto;
  max-width:720px;
  color:var(--muted);
  line-height:1.6;
}
.contest-hero-stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.85rem;
  margin-top:1.15rem;
}
.contest-hero-stat{
  padding:.85rem .75rem;
  border-radius:10px;
  background:var(--bg3);
  border:1px solid var(--border);
}
.contest-hero-stat-label{
  display:block;
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:.35rem;
}
.contest-hero-stat-value{
  display:block;
  color:#fff;
  font-size:1rem;
  font-weight:700;
}
.contest-prize-strip{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:.65rem;
  margin-top:1rem;
}
.contest-prize-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.55rem .85rem;
  border-radius:999px;
  background:rgba(255,183,77,.08);
  border:1px solid rgba(255,183,77,.18);
  color:#ffd59d;
}
.contest-podium{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:.9rem;
  align-items:end;
  margin-bottom:1rem;
}
.contest-podium-card{
  position:relative;
  padding:1rem .95rem;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  text-align:center;
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:.35rem;
}
.contest-podium-card.rank-1{
  min-height:235px;
  background:linear-gradient(180deg, rgba(255,215,120,.18), rgba(255,200,110,.04));
  border-color:rgba(255,215,120,.24);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.contest-podium-card.rank-2,
.contest-podium-card.rank-3{
  transform:translateY(12px);
}
.contest-podium-card.rank-2{
  background:linear-gradient(180deg, rgba(196,206,230,.14), rgba(196,206,230,.03));
  border-color:rgba(196,206,230,.18);
}
.contest-podium-card.rank-3{
  background:linear-gradient(180deg, rgba(227,167,125,.14), rgba(227,167,125,.03));
  border-color:rgba(227,167,125,.18);
}
.contest-podium-card.is-current-user{
  outline:2px solid rgba(88,166,255,.35);
}
.contest-podium-card.is-empty{
  min-height:150px;
  color:var(--muted);
}
.contest-podium-rank{
  position:absolute;
  top:.75rem;
  left:.8rem;
  font-size:.82rem;
  font-weight:700;
  color:var(--muted);
}
.contest-podium-crown{
  font-size:1.6rem;
  margin-bottom:.1rem;
}
.contest-podium-name{
  font-size:1.08rem;
  font-weight:800;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.contest-podium-score{
  font-size:1.05rem;
  font-weight:800;
  color:var(--text);
}
.contest-podium-meta{
  font-size:.8rem;
  color:var(--muted);
}
.contest-podium-prize{
  display:inline-flex;
  align-self:center;
  padding:.28rem .7rem;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#ffd59d;
  font-size:.8rem;
  font-weight:700;
}
.contest-grid{
  align-items:stretch;
}
.contest-table .referrals-contest-row div:nth-child(2){
  display:flex;
  flex-direction:column;
  gap:.18rem;
}
.contest-row-meta{
  font-size:.78rem;
  color:var(--muted);
}
.contest-view code{
  font-family:inherit;
  font-size:.86em;
  padding:.1rem .35rem;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  color:#ffd59d;
}
.contest-user-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:.8rem;
  margin-top:1rem;
}
.contest-extended-ranks{
  margin-top:.35rem;
  border:1px solid var(--border);
  border-radius:12px;
  background:rgba(255,255,255,.02);
  overflow:hidden;
}
.contest-extended-ranks summary{
  cursor:pointer;
  list-style:none;
  padding:.8rem .95rem;
  font-size:.82rem;
  font-weight:700;
  color:var(--muted);
}
.contest-extended-ranks summary::-webkit-details-marker{
  display:none;
}
.contest-extended-ranks[open] summary{
  border-bottom:1px solid rgba(255,255,255,.05);
}
.contest-extended-list{
  display:grid;
}
.contest-extended-row{
  display:grid;
  grid-template-columns:70px minmax(0,1fr) minmax(140px,.9fr);
  gap:.85rem;
  align-items:center;
  padding:.7rem .95rem;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.contest-extended-row:last-child{
  border-bottom:none;
}
.contest-extended-rank{
  color:var(--muted);
  font-weight:700;
}
.contest-extended-name{
  color:var(--text);
  font-weight:700;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.contest-extended-meta{
  color:var(--muted);
  text-align:right;
  font-size:.82rem;
}
.contest-extended-empty{
  padding:.9rem .95rem;
  color:var(--muted);
  font-size:.82rem;
}
.contest-user-stat{
  padding:.8rem .9rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.02);
}
.contest-user-stat-label{
  display:block;
  font-size:.76rem;
  color:var(--muted);
  margin-bottom:.32rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.contest-user-stat-value{
  display:block;
  font-size:1rem;
  font-weight:700;
  color:var(--text);
}
.referrals-users-card{
  margin-top:1.75rem;
  border-top:1px solid var(--border);
  padding-top:1.5rem;
}
.referrals-users-title{margin-bottom:.35rem}
.referrals-users-copy{
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:1.2rem;
}
.referrals-users-table{
  width:100%;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.01);
}
.referrals-users-head,
.referrals-users-row{
  display:grid;
  grid-template-columns:minmax(220px,1.4fr) minmax(140px,.8fr) minmax(180px,1fr);
  gap:1rem;
  align-items:center;
}
.referrals-users-head{
  padding:1rem 1.2rem;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-size:.88rem;
}
.referrals-users-row{
  padding:1rem 1.2rem;
  border-bottom:1px solid rgba(255,255,255,.04);
}
.referrals-users-row:last-child{border-bottom:none}
.referrals-user-main{
  display:flex;
  align-items:center;
  gap:1rem;
  min-width:0;
}
.referrals-user-avatar{
  width:48px;
  height:48px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(10,132,255,.08);
  color:var(--green);
  font-weight:800;
  letter-spacing:.02em;
  flex-shrink:0;
}
.referrals-user-name{
  color:var(--text);
  font-weight:700;
  font-size:.95rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.referrals-user-ago,
.referrals-user-date{
  color:#9aa6c4;
  font-size:.92rem;
}
.referrals-users-empty{
  margin-top:1.2rem;
  border:1px dashed var(--border);
  border-radius:12px;
  padding:1rem 1.2rem;
  color:var(--muted);
  background:rgba(255,255,255,.01);
}
.withdraw-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  margin-top:1.4rem;
}
.withdraw-info-box{
  margin-top:1rem;
  padding:1rem 1.1rem;
  background:rgba(255,196,0,.1);
  border:1px solid rgba(255,196,0,.28);
  border-radius:14px;
}
.withdraw-info-title{
  color:#ffd36b;
  font-size:.96rem;
  font-weight:800;
  margin-bottom:.45rem;
}
.withdraw-info-copy{
  color:#f2e4ad;
  font-size:.88rem;
  line-height:1.55;
}
.withdraw-info-copy + .withdraw-info-copy{
  margin-top:.35rem;
}
.withdraw-info-copy a{
  color:#ffd36b;
  font-weight:700;
  text-decoration:underline;
}
.withdraw-accept-row{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  margin-top:.85rem;
  color:#fff1bf;
  font-size:.88rem;
  font-weight:700;
  cursor:pointer;
}
.withdraw-accept-row input{
  width:16px;
  height:16px;
  accent-color:#f0b90b;
}
.withdraw-pending-card{
  margin-top:1.1rem;
  margin-bottom:1.35rem;
  padding:1.1rem 1.2rem;
  background:var(--bg2);
  border:1px solid rgba(255,196,0,.2);
  border-radius:16px;
}
.withdraw-pending-title{
  margin-bottom:.85rem;
  color:#ffd36b;
}
.withdraw-pending-list{
  display:flex;
  flex-direction:column;
  gap:.8rem;
}
.withdraw-pending-item{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:.9rem 1rem;
  background:rgba(255,255,255,.02);
  border:1px solid var(--border);
  border-radius:12px;
}
.withdraw-pending-main{
  min-width:0;
}
.withdraw-pending-amount{
  color:#fff;
  font-weight:700;
  font-size:1rem;
}
html[data-theme="light"] .withdraw-pending-amount{
  color:var(--text);
}
html[data-theme="light"] .withdraw-info-box{
  background:rgba(240,185,11,.12);
  border-color:rgba(240,185,11,.34);
}
html[data-theme="light"] .withdraw-info-title{
  color:#8a6200;
}
html[data-theme="light"] .withdraw-info-copy,
html[data-theme="light"] .withdraw-accept-row{
  color:#5f4a14;
}
html[data-theme="light"] .withdraw-info-copy a{
  color:#8a6200;
}
html[data-theme="light"] .ptc-card-price-hint{
  background:rgba(240,185,11,.12);
  border-color:rgba(240,185,11,.34);
  color:#5f4a14;
}
.withdraw-pending-type{
  color:var(--muted);
  font-size:.88rem;
  margin-top:.2rem;
  display:flex;
  align-items:center;
  gap:.55rem;
  flex-wrap:wrap;
}
.withdraw-pending-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:.15rem .55rem;
  border-radius:999px;
  background:rgba(11,203,99,.12);
  border:1px solid rgba(11,203,99,.22);
  color:var(--green);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.withdraw-pending-meta{
  color:var(--muted);
  font-size:.82rem;
  line-height:1.45;
  text-align:right;
  word-break:break-word;
}
.withdraw-card{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:1.4rem 1.25rem;
  text-align:center;
  min-height:180px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  color:var(--text);
}
.withdraw-card-active{
  appearance:none;
  width:100%;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.withdraw-card-active:hover{
  transform:translateY(-2px);
  border-color:rgba(0,168,84,.45);
  box-shadow:0 14px 30px rgba(0,0,0,.22);
}
.withdraw-card-locked{
  opacity:.5;
  cursor:not-allowed;
  box-shadow:none;
}
.withdraw-card-locked:hover{
  transform:none;
  border-color:var(--border);
  box-shadow:none;
}
.withdraw-card-placeholder{opacity:.82}
.withdraw-card-name{
  color:#ff3f74;
  font-weight:700;
  font-size:1.05rem;
}
.withdraw-card-icon-img{
  width:62px;
  height:62px;
  object-fit:contain;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.28));
  margin:.2rem 0;
}
.withdraw-card-icon-img-iota{
  padding:8px;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.withdraw-card-icon{
  width:62px;
  height:62px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:1.75rem;
  color:#fff;
  margin:.2rem 0;
  box-shadow:0 8px 16px rgba(0,0,0,.22);
}
.withdraw-card-icon-iota{background:linear-gradient(135deg,#1fcf8b,#13865f)}
.withdraw-card-icon-litecoin{background:linear-gradient(135deg,#ff78b8,#8c54ff)}
.withdraw-card-icon-usdc{background:linear-gradient(135deg,#2fd2c3,#2775ca)}
.withdraw-card-meta{
  color:var(--muted);
  font-size:.9rem;
  line-height:1.35;
}
.withdraw-modal-box{max-width:620px}
.withdraw-modal-title{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.withdraw-modal-title-logo{
  width:32px;
  height:32px;
  object-fit:contain;
  flex:0 0 32px;
}
.withdraw-modal-title-bitcoin::before,
.withdraw-modal-title-iota::before{
  width:32px;
  height:32px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 30% 30%,#ffd86e,#ff9f1a 70%);
  color:#8f3000;
  font-weight:900;
}
.withdraw-modal-title.withdraw-modal-title-with-logo::before{
  content:none;
  display:none;
}
.withdraw-modal-title-bitcoin::before{
  content:"B";
  background:radial-gradient(circle at 30% 30%,#ffd86e,#ff9f1a 70%);
  color:#8f3000;
}
.withdraw-modal-title-iota::before{
  content:"I";
  background:linear-gradient(135deg,#1fcf8b,#13865f);
  color:#ecfff8;
}
.withdraw-modal-body{padding-top:.5rem}
.withdraw-form{display:flex;flex-direction:column;gap:1.35rem}
.withdraw-field{margin:0}
.withdraw-required{color:#ff3f74}
.withdraw-help-text{
  margin-top:.55rem;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.5;
}
.withdraw-network-info{
  margin-top:.75rem;
  padding:.9rem 1rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.03);
  display:grid;
  gap:.75rem;
}
.withdraw-network-info-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.withdraw-network-info-label{
  color:var(--muted);
  font-size:.88rem;
}
.withdraw-network-info-value{
  color:var(--text);
  font-size:.95rem;
}
.withdraw-network-info-sub{
  font-size:.78em;
  font-weight:600;
  color:var(--muted);
}
.withdraw-balance-pill{
  display:inline-flex;
  margin-top:.75rem;
  padding:.45rem .7rem;
  border-radius:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.05);
  color:#b7bfd5;
  font-size:.88rem;
}
.withdraw-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:.9rem;
  margin-top:.25rem;
}
.withdraw-cancel-btn{
  background:transparent;
  border:1px solid var(--border);
  color:#aeb7ce;
}
.withdraw-submit-btn{
  background:#ff2b63;
  border-color:#ff2b63;
}
.withdraw-submit-btn:hover{
  background:#ff4678;
  border-color:#ff4678;
}
@media (max-width: 860px){
  .withdraw-pending-item{
    flex-direction:column;
  }
  .withdraw-pending-meta{
    text-align:left;
  }
  .withdraw-grid{grid-template-columns:1fr}
  .withdraw-modal-actions{
    flex-direction:column-reverse;
    align-items:stretch;
  }
  .withdraw-network-info-row{
    flex-direction:column;
    align-items:flex-start;
    gap:.25rem;
  }
  .referrals-contest-grid{
    grid-template-columns:1fr;
  }
  .referrals-contest-table-wrap{max-height:430px}
  .referrals-contest-row{
    grid-template-columns:70px minmax(110px,1fr) 90px;
    gap:.75rem;
    font-size:.84rem;
  }
  .referrals-contest-detail-row{
    grid-template-columns:1fr;
    gap:.35rem;
  }
  .referrals-contest-detail-value,
  .referrals-contest-prizes{
    text-align:left;
    justify-items:start;
  }
  .referrals-contest-winner{
    grid-template-columns:1fr;
    gap:.2rem;
  }
  .winner-prize,
  .winner-entries{
    text-align:left;
  }
  .contest-hero{
    padding:1.25rem;
    text-align:left;
  }
  .contest-hero-copy{
    max-width:none;
  }
  .contest-hero-stats,
  .contest-user-stats{
    grid-template-columns:1fr;
  }
  .contest-podium{
    grid-template-columns:1fr;
    align-items:stretch;
  }
  .contest-podium-card.rank-1,
  .contest-podium-card.rank-2,
  .contest-podium-card.rank-3{
    min-height:auto;
    transform:none;
  }
  .contest-prize-strip{
    justify-content:flex-start;
  }
  .referrals-users-head,
  .referrals-users-row{
    grid-template-columns:1fr;
    gap:.55rem;
  }
  .referrals-users-head{display:none}
  .referrals-users-row{padding:1rem}
  .referrals-user-ago::before{
    content:"Date: ";
    color:var(--muted);
  }
  .referrals-user-date::before{
    content:"Full Date: ";
    color:var(--muted);
  }
}
.ptc-submit-btn{
  width:100%;
  margin-top:.5rem;
}
.payout-table{
  width:100%;
  border-collapse:collapse;
  font-size:.88rem;
}
.payout-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.payout-table-head{
  border-bottom:1px solid var(--border);
}
.payout-table th{
  text-align:left;
  padding:.5rem .75rem;
  color:var(--green);
}
.payout-table td{padding:.45rem .75rem}
.faucet-ad-slot{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.faucet-claim-area{
  max-width:480px;
  margin:0 auto;
  text-align:center;
}
.faucet-result-box{
  max-width:480px;
  margin:1rem auto 0;
  text-align:center;
  padding:1rem 1.25rem;
  border-radius:12px;
  font-size:.95rem;
  font-weight:600;
  background:rgba(0,168,84,.1);
  border:1px solid rgba(0,168,84,.3);
  color:var(--green);
}
.faucet-turnstile{
  display:inline-block;
  margin-bottom:.75rem;
}
.faucet-claim-btn{min-width:200px}
.faucet-msg{
  margin-top:.75rem;
  font-size:.88rem;
  color:var(--muted);
}
.faucet-state-card{
  max-width:480px;
  margin:2rem auto;
  text-align:center;
}
.faucet-state-icon{
  font-size:2.5rem;
  margin-bottom:.75rem;
}
.faucet-state-copy{
  color:var(--muted);
  font-size:.9rem;
  margin:.75rem 0 1.25rem;
}
.faucet-loyalty-age{
  font-size:.72rem;
  font-weight:500;
  color:var(--muted);
}
.faucet-loyalty-info{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin-left:.35rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  color:var(--muted);
  font-size:.68rem;
  font-weight:700;
  line-height:1;
  cursor:help;
  vertical-align:middle;
}
.faucet-loyalty-info::before{
  content:'';
  position:absolute;
  left:50%;
  bottom:calc(100% + 5px);
  transform:translateX(-50%);
  border-width:6px 6px 0 6px;
  border-style:solid;
  border-color:#101623 transparent transparent transparent;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease;
  pointer-events:none;
}
.faucet-loyalty-info::after{
  content:attr(data-tooltip);
  position:absolute;
  left:50%;
  bottom:calc(100% + 11px);
  transform:translateX(-50%) translateY(4px);
  width:220px;
  max-width:min(220px, 75vw);
  padding:.65rem .8rem;
  border-radius:12px;
  background:#101623;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
  color:#fff;
  font-size:.78rem;
  font-weight:600;
  line-height:1.45;
  text-transform:none;
  letter-spacing:0;
  white-space:normal;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events:none;
  z-index:20;
}
.faucet-loyalty-info:hover::before,
.faucet-loyalty-info:hover::after,
.faucet-loyalty-info:focus-visible::before,
.faucet-loyalty-info:focus-visible::after{
  opacity:1;
  visibility:visible;
}
.faucet-loyalty-info:hover::after,
.faucet-loyalty-info:focus-visible::after{
  transform:translateX(-50%) translateY(0);
}
.faucet-stats-row{margin-bottom:1.5rem}
.payout-table-title{margin-bottom:1rem}
.faucet-cooldown-card{
  padding:1.5rem;
  text-align:center;
}
.faucet-maxed-icon{
  font-size:2rem;
  margin-bottom:.5rem;
}
.faucet-maxed-title{font-weight:700}
.faucet-maxed-copy{
  color:var(--muted);
  font-size:.88rem;
  margin-top:.5rem;
}
.faucet-loading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  padding:3rem;
  color:var(--muted);
}
@media(max-width:768px){
  .faucet-stats-row{
    grid-template-columns:1fr;
    gap:.85rem;
  }
  .faucet-stats-row .lottery-stat-box{
    padding:.9rem .8rem;
  }
  .faucet-stats-row .lottery-stat-highlight{
    grid-column:auto;
  }
  .faucet-stats-row-secondary .lottery-stat-highlight{
    order:-1;
  }
  .payout-table-wrap{
    margin:0 -.2rem;
    padding:0 .2rem;
  }
  .payout-table{
    min-width:360px;
    font-size:.82rem;
  }
  .payout-table th,
  .payout-table td{
    white-space:nowrap;
    padding:.45rem .6rem;
  }
  .faucet-loyalty-age{
    display:block;
    margin-top:.2rem;
  }
  .faucet-claim-area,
  .faucet-result-box,
  .faucet-state-card{
    max-width:none;
  }
  .faucet-turnstile{
    display:flex;
    justify-content:center;
    width:100%;
    max-width:100%;
    overflow:hidden;
  }
  .faucet-claim-btn{
    width:100%;
    min-width:0;
  }
}
@media(max-width:380px){
  .faucet-ad-slot{
    padding-left:.15rem;
    padding-right:.15rem;
  }
  .payout-table{
    min-width:330px;
  }
}
.game-modal-box{
  max-width:900px;
  height:85vh;
  display:flex;
  flex-direction:column;
}
.game-modal-loading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  padding:2rem;
  color:var(--muted);
}
.game-modal-frame{
  display:none;
  flex:1;
  border:none;
  border-radius:0 0 var(--radius) var(--radius);
  background:#0d0f10;
}
