*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f7f7fb;color:#171725}body{min-height:100vh}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.container{width:min(1160px,calc(100% - 32px));margin:0 auto}.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid #eeeef4}.nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font-size:24px;font-weight:900;letter-spacing:-.7px;background:linear-gradient(135deg,#ff3d81,#7b61ff);-webkit-background-clip:text;background-clip:text;color:transparent}.navlinks{display:flex;align-items:center;gap:8px}.navlinks a{padding:10px 13px;border-radius:12px;color:#666679;font-weight:700}.navlinks a:hover,.navlinks a.active{background:#f1efff;color:#5d49d6}.badge{display:inline-flex;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ff477e;color:white;font-size:11px;align-items:center;justify-content:center}.hero{padding:72px 0 48px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border-radius:999px;background:#f0edff;color:#624fe0;font-weight:800;font-size:13px}.hero h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-3px;margin:18px 0}.hero p{font-size:19px;line-height:1.65;color:#696979;max-width:650px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{border:0;border-radius:14px;padding:13px 18px;font-weight:800;cursor:pointer;transition:.18s;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{transform:translateY(-1px)}.btn-primary{color:white;background:linear-gradient(135deg,#ff3d81,#7b61ff);box-shadow:0 12px 28px rgba(123,97,255,.2)}.btn-light{background:white;border:1px solid #e8e7ef}.btn-danger{background:#fff0f3;color:#d92d62}.page{padding:34px 0 70px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.page-head h1{margin:0;font-size:34px;letter-spacing:-1.2px}.muted{color:#777789}.filters{background:white;border:1px solid #ecebf2;border-radius:20px;padding:16px;display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:22px;box-shadow:0 8px 30px rgba(30,28,50,.04)}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:12px;color:#777789;font-weight:800}.field input,.field select,.field textarea{width:100%;border:1px solid #dedde7;background:#fff;border-radius:12px;padding:11px 12px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8b79f0;box-shadow:0 0 0 3px #8b79f015}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid #ecebf2;border-radius:22px;overflow:hidden;box-shadow:0 10px 35px rgba(30,28,50,.06)}.photo{aspect-ratio:4/5;background:#ececf3;position:relative;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}.photo .online{position:absolute;right:12px;top:12px;background:#fff;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800;box-shadow:0 5px 15px #0001}.card-body{padding:15px}.card-name{font-size:19px;font-weight:900}.card-meta{color:#777789;font-size:13px;margin-top:3px}.card-bio{font-size:13px;line-height:1.5;color:#626273;margin:10px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.icon-btn{border:0;border-radius:12px;padding:11px;cursor:pointer;font-size:18px;font-weight:900}.pass{background:#f2f2f6;color:#777}.like{background:#fff0f5;color:#e83270}.empty{padding:55px 25px;background:#fff;border:1px dashed #dcdbe6;border-radius:20px;text-align:center}.empty h2{margin:0 0 8px}.auth-wrap{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:35px 0}.auth-card{width:min(460px,100%);background:#fff;border:1px solid #ecebf2;border-radius:24px;padding:30px;box-shadow:0 18px 60px #21194a12}.auth-card h1{margin:0 0 8px}.auth-form{display:grid;gap:14px;margin-top:22px}.profile-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{background:#fff;border:1px solid #ecebf2;border-radius:22px;padding:22px;box-shadow:0 10px 35px #1d1a3510}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.photo-tile{position:relative;aspect-ratio:1;border-radius:15px;overflow:hidden;background:#eee}.photo-tile img{width:100%;height:100%;object-fit:cover}.photo-tile .primary{position:absolute;left:8px;top:8px;background:#fff;padding:5px 7px;border-radius:8px;font-size:10px;font-weight:900}.tile-actions{position:absolute;left:7px;right:7px;bottom:7px;display:flex;gap:5px}.tile-actions form{flex:1}.tile-actions button{width:100%;border:0;border-radius:9px;padding:7px;background:#000a;color:#fff;font-size:11px;cursor:pointer}.chat-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}.chat-list,.chat-window{background:#fff;border:1px solid #ecebf2;border-radius:22px;overflow:hidden}.chat-list{height:clamp(520px,68vh,680px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable}.chat-list a{display:flex;gap:11px;padding:14px;border-bottom:1px solid #f0eff4;transition:background .15s,color .15s}.chat-list a:last-child{border-bottom:0}.chat-list a:hover{background:#faf9ff}.chat-list a.active{background:#f1efff;color:#5d49d6}.avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;background:#eee;flex:0 0 auto}.avatar img{width:100%;height:100%;object-fit:cover}.chat-window{height:clamp(520px,68vh,680px);min-height:0;display:flex;flex-direction:column}.messages{padding:20px;display:flex;flex-direction:column;gap:9px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.msg{max-width:72%;padding:10px 13px;border-radius:16px;background:#f0eff5;line-height:1.45}.msg.mine{margin-left:auto;background:#7059e9;color:#fff}.composer{border-top:1px solid #eee;padding:13px;display:flex;gap:8px;flex:0 0 auto;background:#fff;position:relative}.emoji-toggle{width:46px;min-width:46px;height:46px;border:1px solid #ddd;border-radius:12px;background:#fff;cursor:pointer;font-size:23px;display:grid;place-items:center;transition:.15s}.emoji-toggle:hover,.emoji-toggle[aria-expanded="true"]{background:#f4f1ff;border-color:#b8acf6}.emoji-picker{position:absolute;left:13px;bottom:calc(100% + 8px);z-index:30;width:min(360px,calc(100vw - 50px));max-height:250px;overflow-y:auto;padding:10px;background:#fff;border:1px solid #e5e2ef;border-radius:16px;box-shadow:0 16px 45px rgba(36,29,76,.18);overscroll-behavior:contain}.emoji-picker[hidden]{display:none!important}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}.emoji-item{border:0;background:transparent;border-radius:9px;min-width:0;aspect-ratio:1;font-size:23px;cursor:pointer;display:grid;place-items:center;padding:2px}.emoji-item:hover{background:#f2efff;transform:scale(1.08)}.composer input{flex:1;min-width:0;border:1px solid #ddd;border-radius:12px;padding:12px}.flash{padding:12px 14px;border-radius:12px;margin-bottom:16px;background:#eefbf3;color:#167043}.danger-text{color:#d62f61}.footer{padding:40px 0;color:#8a8995;text-align:center;font-size:13px}@media(max-width:980px){.cards{grid-template-columns:repeat(3,1fr)}.filters{grid-template-columns:repeat(2,1fr)}.hero-grid,.profile-layout{grid-template-columns:1fr}.chat-layout{grid-template-columns:1fr}.chat-list{height:220px;max-height:28dvh;min-height:170px}.chat-window{height:min(620px,64dvh);min-height:430px}}@media(max-width:650px){.container{width:min(100% - 22px,1160px)}.navlinks a span.label{display:none}.cards{grid-template-columns:repeat(2,1fr);gap:10px}.card{border-radius:17px}.card-body{padding:11px}.hero{padding:44px 0}.hero h1{font-size:45px;letter-spacing:-2px}.filters{grid-template-columns:1fr}.page-head{align-items:start;flex-direction:column}.profile-layout{gap:12px}.panel{padding:16px}.chat-layout{gap:10px}.chat-list{height:190px;max-height:26dvh;min-height:150px;border-radius:16px}.chat-window{height:58dvh;min-height:400px;max-height:560px;border-radius:16px}.messages{padding:14px}.composer{padding:10px}.composer .btn{padding:12px 14px}}

@media(max-width:650px){.emoji-picker{left:8px;bottom:calc(100% + 6px);width:min(340px,calc(100vw - 38px));max-height:220px}.emoji-grid{grid-template-columns:repeat(7,1fr)}.emoji-toggle{width:42px;min-width:42px;height:44px}.emoji-item{font-size:22px}}

.profile-public{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:28px;align-items:start}.gallery-main{aspect-ratio:4/5;border-radius:26px;overflow:hidden;background:#e9e8ef;box-shadow:0 20px 60px #211a4b12}.gallery-main img{width:100%;height:100%;object-fit:cover}.thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto}.thumbs button{border:0;padding:0;width:70px;height:70px;border-radius:12px;overflow:hidden;background:#eee;cursor:pointer;flex:0 0 auto}.thumbs img{width:100%;height:100%;object-fit:cover}.profile-info{position:sticky;top:92px}.profile-info h1{font-size:44px;letter-spacing:-1.8px;margin:14px 0 3px}.bio-large{font-size:17px;line-height:1.7;color:#5e5e70;margin:28px 0}.notification-row{display:flex;align-items:center;gap:18px;padding:16px;border-bottom:1px solid #eeeef3}.notification-row:last-child{border-bottom:0}.notification-row strong{min-width:190px}.notification-row .muted{flex:1}@media(max-width:850px){.profile-public{grid-template-columns:1fr}.profile-info{position:static}.notification-row{align-items:flex-start;flex-direction:column;gap:4px}.notification-row strong{min-width:0}}

.swipe-stack{position:relative;min-height:690px;max-width:520px;margin:0 auto}.swipe-card{position:absolute;inset:0;will-change:transform;user-select:none}.swipe-card:nth-child(n+2){transform:scale(.985) translateY(10px);opacity:.85;pointer-events:none}.swipe-card .card-body{background:#fff}@media(max-width:650px){.swipe-stack{min-height:650px;max-width:100%}}

.swipe-stack{position:relative;min-height:690px;max-width:520px;margin:0 auto}.swipe-card{position:absolute;inset:0;will-change:transform;user-select:none}.swipe-card:nth-child(n+2){transform:scale(.985) translateY(10px);opacity:.85;pointer-events:none}.swipe-card .card-body{background:#fff}@media(max-width:650px){.swipe-stack{min-height:650px;max-width:100%}}
.check-row{display:flex;gap:12px;align-items:flex-start;padding:14px 0;cursor:pointer}.check-row input{margin-top:4px}.check-row span{display:grid;gap:4px}.check-row small{color:var(--muted,#667085);font-weight:400}.blocked-list{display:grid;gap:12px;max-width:760px}.blocked-item{display:flex;align-items:center;gap:16px;padding:14px}.blocked-item>img{width:64px;height:64px;border-radius:18px;object-fit:cover}.blocked-info{display:grid;gap:4px;flex:1}.blocked-info a{color:inherit;text-decoration:none}.blocked-info span{color:var(--muted,#667085)}

/* Discover: keep action buttons visible on desktop cards. */
.swipe-stack{min-height:0;padding-bottom:24px}.swipe-card{top:0;left:0;right:0;bottom:auto;height:auto;overflow:hidden}.swipe-card .card-actions{position:relative;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:8px}.swipe-card .icon-btn{display:flex;width:100%;min-height:46px;align-items:center;justify-content:center;position:relative;z-index:6}.share-profile small{display:block;margin-top:5px}
@media(max-width:650px){.swipe-stack{min-height:0;padding-bottom:18px}.swipe-card{position:relative}.swipe-card:not(:first-child){display:none}}

/* Responsive navigation */
.menu-toggle{display:none;border:0;background:#f5f3ff;width:44px;height:44px;border-radius:13px;cursor:pointer;padding:10px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu-toggle span{display:block;width:21px;height:2px;border-radius:2px;background:#5d49d6;transition:.2s}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-logout{color:#d92d62!important}
@media(max-width:760px){
  .topbar{z-index:100}
  .nav{height:64px;position:relative}
  .brand{font-size:22px}
  .menu-toggle{display:flex;margin-left:auto}
  .navlinks{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:64px;
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    background:rgba(255,255,255,.98);
    border:1px solid #ecebf2;
    border-top:0;
    border-radius:0 0 18px 18px;
    box-shadow:0 18px 35px rgba(30,28,50,.12);
    max-height:calc(100vh - 72px);
    overflow:auto;
  }
  .navlinks.is-open{display:flex}
  .navlinks a{
    width:100%;
    padding:13px 14px;
    border-radius:11px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    min-height:44px;
  }
  .navlinks a:hover,.navlinks a.active{background:#f1efff}
  .navlinks .btn{margin-top:3px}
}


/* Mobile navigation fix: SVG icon + reliable overlay menu */
.menu-toggle{
  position:relative;
  display:none;
  flex:0 0 44px;
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:1px solid #e8e4ff;
  border-radius:13px;
  background:#f5f3ff;
  color:#5d49d6;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.menu-toggle .menu-icon{display:block;width:26px;height:26px;pointer-events:none}
.menu-toggle .menu-icon-close{display:none}
.menu-toggle.is-open .menu-icon-open{display:none}
.menu-toggle.is-open .menu-icon-close{display:block}

@media(max-width:760px){
  .topbar{position:sticky;top:0;z-index:1000;overflow:visible}
  .nav{height:64px;position:relative;overflow:visible}
  .menu-toggle{display:flex!important;margin-left:auto;z-index:1002}
  .navlinks{
    display:none!important;
    position:fixed!important;
    z-index:1001;
    top:64px;
    left:11px;
    right:11px;
    width:auto;
    margin:0;
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    background:#fff;
    border:1px solid #ecebf2;
    border-radius:0 0 18px 18px;
    box-shadow:0 18px 40px rgba(30,28,50,.18);
    max-height:calc(100dvh - 74px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .navlinks.is-open{display:flex!important}
  .navlinks a{
    display:flex!important;
    width:100%;
    min-height:46px;
    padding:13px 14px;
    align-items:center;
    justify-content:flex-start;
    border-radius:11px;
  }
}


/* VIP + promoted profiles */
.premium-nav{font-weight:900;color:#7a4ce0!important}.vip-badge{display:inline-flex;vertical-align:middle;margin-left:7px;padding:4px 7px;border-radius:999px;background:linear-gradient(135deg,#6f4be8,#b14ee8);color:#fff;font-size:10px;font-weight:900;letter-spacing:.4px}.vip-mini{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:6px;background:#7651df;color:#fff;font-size:8px}.promo-strip{background:#fff;border-bottom:1px solid #ebe9f3;overflow:hidden}.promo-strip-head{width:min(1160px,calc(100% - 40px));margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:9px 0 6px;font-size:12px;font-weight:900}.promo-strip-head a{font-weight:800;color:#7059e9}.promo-marquee{overflow:hidden;padding:0 0 10px}.promo-track{display:flex;gap:10px;width:max-content;animation:promoScroll 28s linear infinite;will-change:transform}.promo-track:hover{animation-play-state:paused}.promo-person{display:flex;align-items:center;gap:9px;min-width:190px;padding:7px 10px;background:#f8f7fc;border:1px solid #efedf7;border-radius:15px;color:inherit;text-decoration:none}.promo-person img{width:44px;height:44px;border-radius:12px;object-fit:cover;background:#eee}.promo-person span{display:grid;line-height:1.15}.promo-person strong{font-size:12px}.promo-person small{margin-top:4px;color:#817f8d;font-size:10px}@keyframes promoScroll{from{transform:translateX(100vw)}to{transform:translateX(-100%)}}.premium-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.premium-card{display:grid;gap:14px;padding:24px;background:#fff;border:1px solid #ecebf2;border-radius:24px;box-shadow:0 12px 38px #211a4b12}.premium-card h2{margin:2px 0 6px}.premium-card p{margin:0;color:#6e6c79;line-height:1.55}.premium-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:#f1edff;color:#7355e6;font-size:25px;font-weight:900}.premium-price{font-size:32px;font-weight:900}.premium-active{padding:10px 12px;border-radius:12px;background:#edf9f0;color:#167043;font-weight:800}.payment-box{margin-top:18px}.payment-details{display:grid;grid-template-columns:150px 1fr;gap:10px 16px;padding:16px;border-radius:16px;background:#f8f7fc;margin:16px 0}.payment-details span{color:#858390}.payment-details strong{word-break:break-word}.payment-list{display:grid}.payment-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #eee}.payment-row:last-child{border-bottom:0}.status-pill{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.status-pending{background:#fff6dc;color:#8b6500}.status-approved{background:#eaf9ef;color:#167043}.status-rejected{background:#fff0f3;color:#b42358}.flash-error{background:#fff0f3;color:#b42358}.premium-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.premium-summary p{margin:5px 0 0}.admin-table{width:100%;border-collapse:collapse;min-width:900px}.admin-table th,.admin-table td{padding:10px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}@media(max-width:760px){.promo-strip-head{width:calc(100% - 22px)}.promo-person{min-width:170px}.premium-grid{grid-template-columns:1fr}.payment-details{grid-template-columns:1fr;gap:5px}.payment-details strong{margin-bottom:9px}.premium-summary{align-items:flex-start;flex-direction:column}}

/* Home page layout fixes + random VIP hero */
.feature-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}.feature-panel{min-width:0;overflow:hidden}.feature-panel h2{margin:10px 0 8px;font-size:22px;line-height:1.2}.feature-panel p{margin:0;line-height:1.6;overflow-wrap:anywhere}.feature-icon{font-size:28px;line-height:1}.hero-story-wrap{min-width:0}.hero-story-card{display:block;background:#fff;border:1px solid #ecebf2;border-radius:22px;overflow:hidden;padding:12px;transform:rotate(1.5deg);box-shadow:0 30px 70px #6e55e622;transition:transform .2s ease,box-shadow .2s ease}.hero-story-card:hover{transform:rotate(.3deg) translateY(-3px);box-shadow:0 34px 80px #6e55e62d}.hero-story-photo{border-radius:18px}.hero-vip-label{color:#6e46d8}.hero-story-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:13px;padding-top:12px;border-top:1px solid #f0eff5;font-size:12px}.hero-story-caption strong{font-size:13px}.hero-story-caption span{color:#777789;text-align:right}
@media(max-width:980px){.feature-cards{grid-template-columns:1fr}.home-features{padding-top:10px}.hero-story-wrap{max-width:620px;width:100%;margin:0 auto}.hero-story-card{transform:none}.hero-story-card:hover{transform:translateY(-2px)}}
@media(max-width:650px){.feature-cards{gap:12px}.feature-panel{padding:18px}.feature-panel h2{font-size:20px}.hero-story-caption{align-items:flex-start;flex-direction:column;gap:4px}.hero-story-caption span{text-align:left}}

/* === Discover v8: desktop sidebar + profile without scrolling === */
.discover-page{overflow-x:hidden}.discover-main{padding:24px 0 34px}.discover-layout{display:grid;grid-template-columns:minmax(260px,315px) minmax(0,520px);justify-content:center;align-items:start;gap:26px}.discover-sidebar{position:sticky;top:92px;background:linear-gradient(180deg,#fff 0%,#fbfaff 100%);border:1px solid #ece9f6;border-radius:26px;padding:22px;box-shadow:0 16px 46px rgba(49,39,93,.09)}.discover-sidebar-head .eyebrow{margin-bottom:12px}.discover-sidebar-head h1{margin:0;font-size:30px;line-height:1.04;letter-spacing:-1.25px}.discover-sidebar-head p{margin:11px 0 19px;color:#777589;font-size:13px;line-height:1.5}.discover-filters{display:grid;gap:12px}.discover-filters .field{display:grid;gap:6px}.discover-filters label{font-size:12px;font-weight:850;color:#56546a}.discover-filters input,.discover-filters select{width:100%;height:44px;border:1px solid #e3e0ed;border-radius:13px;background:#fff;padding:0 12px;outline:none;transition:border-color .15s,box-shadow .15s}.discover-filters input:focus,.discover-filters select:focus{border-color:#8a73ec;box-shadow:0 0 0 4px rgba(112,89,233,.09)}.discover-age-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.discover-submit{width:100%;min-height:46px;margin-top:2px;border-radius:14px}.discover-tip{display:flex;align-items:center;gap:10px;margin-top:16px;padding:11px 12px;border-radius:14px;background:#f4f1ff;color:#6953c8}.discover-tip>span{font-size:22px}.discover-tip div{display:grid;gap:2px}.discover-tip strong{font-size:12px}.discover-tip small{font-size:10px;color:#7d74a7}.discover-profile-area{min-width:0}.discover-stack{width:100%;max-width:520px;min-height:0!important;padding:0!important;margin:0!important}.discover-card{position:relative!important;inset:auto!important;height:auto!important;border-radius:26px!important;overflow:hidden!important;box-shadow:0 18px 54px rgba(28,23,63,.13)!important;border:1px solid #e9e6f2!important;background:#fff}.discover-photo-link{display:block}.discover-photo{height:clamp(330px,52vh,480px);aspect-ratio:auto!important;position:relative}.discover-photo img{width:100%;height:100%;object-fit:cover}.discover-photo-shade{position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(180deg,transparent,rgba(9,8,18,.72));pointer-events:none}.discover-photo-name{position:absolute;left:20px;right:20px;bottom:18px;z-index:2;color:#fff;display:grid;gap:4px;text-shadow:0 2px 10px rgba(0,0,0,.28)}.discover-photo-name strong{font-size:27px;line-height:1.05;letter-spacing:-.65px}.discover-photo-name span{font-size:12px;font-weight:700;opacity:.94}.discover-vip-badge{position:absolute;left:14px;top:14px;z-index:3;padding:7px 10px;border-radius:999px;background:linear-gradient(135deg,#6c49e7,#bd52df);color:#fff;font-size:11px;font-weight:950;box-shadow:0 7px 20px rgba(84,49,188,.3)}.discover-card-body{padding:14px 16px 16px!important}.discover-bio{min-height:38px;color:#666477;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-bottom:12px}.discover-actions{grid-template-columns:1fr 1fr!important;gap:10px!important}.discover-action-btn{height:54px!important;min-height:54px!important;border-radius:15px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 14px!important}.discover-action-btn span{font-size:22px;line-height:1}.discover-action-btn small{font-size:12px;font-weight:900}.discover-action-btn.pass{background:#f2f2f7;color:#666575}.discover-action-btn.like{background:linear-gradient(135deg,#ffedf4,#f2edff);color:#dc3471}.discover-empty{min-height:510px;display:grid;place-content:center;padding:30px}.discover-empty-icon{font-size:62px;line-height:1;color:#c7bced;margin-bottom:12px}
@media(max-width:900px){.discover-main{padding-top:18px}.discover-layout{grid-template-columns:260px minmax(0,1fr);gap:16px}.discover-sidebar{top:84px;padding:17px;border-radius:20px}.discover-sidebar-head h1{font-size:24px}.discover-sidebar-head p{margin-bottom:14px}.discover-photo{height:clamp(320px,50vh,450px)}}
@media(max-width:720px){.discover-main{padding:12px 0 24px}.discover-layout{display:flex;flex-direction:column;gap:13px}.discover-sidebar{position:relative;top:auto;width:100%;padding:14px 15px}.discover-sidebar-head h1{font-size:23px}.discover-sidebar-head h1 br{display:none}.discover-sidebar-head p,.discover-tip{display:none}.discover-filters{grid-template-columns:1fr 1fr;gap:9px}.discover-filters>.field:first-child,.discover-filters>.field:nth-last-child(2),.discover-submit{grid-column:1/-1}.discover-age-row{display:contents}.discover-profile-area,.discover-stack{width:100%;max-width:none}.discover-photo{height:min(54vh,470px);min-height:350px}.discover-card-body{padding:12px!important}.discover-bio{margin-bottom:10px}.discover-action-btn{height:52px!important}.discover-photo-name strong{font-size:25px}}
@media(max-width:430px){.discover-sidebar{border-radius:18px}.discover-filters input,.discover-filters select{height:42px}.discover-photo{height:49vh;min-height:330px}.discover-photo-name{left:16px;right:16px;bottom:15px}.discover-photo-name strong{font-size:23px}.discover-card{border-radius:21px!important}.discover-action-btn small{font-size:11px}}

/* v9 linked region/city selectors */
[data-location-group]{display:grid;gap:12px}
[data-location-group] select:disabled{opacity:.65;cursor:not-allowed;background:#f5f5f8}

/* === v10 profile redesign + photo albums === */
.profile-mobile-page{padding-top:24px}.my-profile-hero{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;align-items:center;background:linear-gradient(135deg,#fff 0%,#faf7ff 55%,#fff4f8 100%);border:1px solid #ece8f4;border-radius:30px;padding:28px;box-shadow:0 18px 55px rgba(47,34,91,.08);overflow:hidden;position:relative}.my-profile-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:linear-gradient(135deg,rgba(255,61,129,.08),rgba(123,97,255,.09));right:-80px;top:-120px;pointer-events:none}.my-profile-avatar{width:170px;height:170px;border-radius:50%;padding:6px;background:linear-gradient(135deg,#ff3d81,#7b61ff);position:relative;z-index:1;box-shadow:0 18px 38px rgba(92,65,205,.18)}.my-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:5px solid #fff;background:#eee}.my-profile-main{min-width:0;position:relative;z-index:1}.profile-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.profile-title-row h1{font-size:40px;line-height:1.05;letter-spacing:-1.5px;margin:12px 0 6px}.my-profile-bio{margin:16px 0 18px;color:#5f5c6d;line-height:1.65;max-width:760px}.profile-stat-row{display:flex;gap:10px;flex-wrap:wrap}.profile-stat-row>div{min-width:94px;padding:10px 14px;border-radius:15px;background:#fff;border:1px solid #ece9f2;display:grid;gap:1px}.profile-stat-row strong{font-size:18px}.profile-stat-row span{font-size:11px;color:#838092;font-weight:700}.profile-action-strip{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 22px}.profile-section-card{background:#fff;border:1px solid #ecebf2;border-radius:26px;padding:24px;margin-bottom:20px;box-shadow:0 12px 40px rgba(29,26,53,.055)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}.section-heading h2{font-size:27px;letter-spacing:-.8px;margin:9px 0 4px}.section-heading p{margin:0}.profile-photo-scroller{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px}.profile-photo-card{aspect-ratio:1;position:relative;border-radius:18px;overflow:hidden;background:#ececf2}.profile-photo-card>img{width:100%;height:100%;object-fit:cover}.profile-photo-card .primary{position:absolute;top:8px;left:8px;padding:5px 8px;border-radius:999px;background:#fff;color:#5c45c6;font-size:9px;font-weight:950;box-shadow:0 4px 13px rgba(0,0,0,.1)}.profile-photo-actions{position:absolute;right:7px;bottom:7px;display:flex;gap:5px}.profile-photo-actions form{margin:0}.profile-photo-actions button{width:33px;height:33px;border:0;border-radius:10px;background:rgba(17,15,26,.76);color:#fff;font-weight:900;cursor:pointer;backdrop-filter:blur(6px)}.profile-photo-empty{grid-column:1/-1;min-height:170px;border:1px dashed #d9d5e6;border-radius:18px;display:grid;place-items:center;align-content:center;gap:5px;color:#817c91}.profile-photo-empty:first-letter{font-size:32px}.profile-upload-bar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,240px) auto;gap:10px;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid #f0eef4}.profile-upload-bar select{height:46px;border:1px solid #dedde7;border-radius:13px;padding:0 12px;background:#fff}.upload-file{height:46px;border:1px dashed #cfc9df;border-radius:13px;display:flex;align-items:center;padding:0 14px;color:#6e63a2;font-weight:800;cursor:pointer;overflow:hidden}.upload-file input{position:absolute;opacity:0;pointer-events:none}.album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.album-card{display:block;border:1px solid #ebe8f1;border-radius:20px;overflow:hidden;background:#fff;transition:.18s;min-width:0}.album-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(57,43,99,.1)}.album-cover{aspect-ratio:4/3;background:linear-gradient(135deg,#f2effc,#fff1f6);position:relative;overflow:hidden}.album-cover img{width:100%;height:100%;object-fit:cover}.album-cover>span{position:absolute;right:9px;bottom:9px;padding:5px 8px;border-radius:999px;background:rgba(20,17,31,.72);color:#fff;font-size:10px;font-weight:900}.album-cover-empty{width:100%;height:100%;display:grid;place-items:center;font-size:34px}.album-card-body{padding:12px 13px;display:grid;gap:3px}.album-card-body strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.album-card-body small{color:#8a8795;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.album-empty{grid-column:1/-1;min-height:180px;border:1px dashed #d9d5e6;border-radius:18px;display:grid;place-items:center;align-content:center;gap:5px;text-align:center;color:#817c91}.album-empty>div{font-size:38px}.new-album-box{padding:15px;border-radius:18px;background:#f8f7fc;margin-bottom:16px}.new-album-form{display:grid;grid-template-columns:1fr 1.5fr auto;gap:10px;align-items:end}.profile-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-edit-grid [data-location-group]{grid-column:1/-1;grid-template-columns:1fr 1fr}.profile-bio-field{grid-column:1/-1}.profile-save-btn{justify-self:start}.album-back{display:inline-flex;margin-bottom:16px;color:#6654c7;font-weight:850}.album-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.album-page-head h1{font-size:40px;margin:10px 0 5px}.album-page-head p{margin:0}.album-manage-panel{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:end;margin-bottom:18px}.album-edit-form{display:grid;grid-template-columns:1fr 1.3fr auto;gap:10px;align-items:end}.album-upload-form{display:flex;gap:8px;align-items:center}.album-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.album-photo-grid>article{aspect-ratio:1;position:relative;border-radius:19px;overflow:hidden;background:#eee}.album-photo-grid>article>img{width:100%;height:100%;object-fit:cover}.album-photo-tools{position:absolute;left:8px;right:8px;bottom:8px;display:flex;gap:6px}.album-photo-tools form{flex:1}.album-photo-tools button{width:100%;border:0;border-radius:9px;padding:8px;background:rgba(17,15,26,.78);color:white;font-size:10px;font-weight:850;cursor:pointer}
@media(max-width:980px){.profile-photo-scroller{grid-template-columns:repeat(4,1fr)}.album-grid{grid-template-columns:repeat(3,1fr)}.album-manage-panel{grid-template-columns:1fr}.album-photo-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.profile-mobile-page{padding-top:12px}.my-profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 16px;border-radius:24px}.my-profile-avatar{width:128px;height:128px}.profile-title-row{display:block}.profile-title-row h1{font-size:30px;margin-top:10px}.profile-edit-jump{display:none}.my-profile-bio{font-size:14px;margin:12px auto 16px}.profile-stat-row{justify-content:center;width:100%}.profile-stat-row>div{flex:1;min-width:80px;padding:8px}.profile-action-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-action-strip .btn:first-child{grid-column:1/-1}.profile-section-card{border-radius:21px;padding:15px;margin-bottom:13px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:23px}.profile-photo-scroller{display:flex;overflow-x:auto;gap:9px;padding-bottom:4px;scroll-snap-type:x proximity}.profile-photo-card{flex:0 0 122px;scroll-snap-align:start}.profile-upload-bar{grid-template-columns:1fr}.profile-upload-bar .btn{width:100%}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.albums-heading .btn{width:100%}.new-album-form{grid-template-columns:1fr}.profile-edit-grid{grid-template-columns:1fr}.profile-edit-grid [data-location-group]{grid-column:auto;grid-template-columns:1fr}.profile-bio-field{grid-column:auto}.profile-save-btn{width:100%}.album-page-head{align-items:flex-start;flex-direction:column}.album-page-head h1{font-size:30px}.album-edit-form{grid-template-columns:1fr}.album-upload-form{align-items:stretch;flex-direction:column}.album-upload-form .btn{width:100%}.album-photo-grid{grid-template-columns:repeat(2,1fr);gap:9px}.album-photo-tools{left:5px;right:5px;bottom:5px}.album-photo-tools button{padding:7px 4px;font-size:9px}}
@media(max-width:390px){.album-grid{grid-template-columns:1fr}.profile-action-strip{grid-template-columns:1fr}.profile-action-strip .btn:first-child{grid-column:auto}.album-photo-grid{grid-template-columns:1fr 1fr}}

/* === v11 Games / Bottle === */
.games-page,.bottle-page{padding-top:26px}.games-hero{border-radius:28px;padding:34px;margin-bottom:20px;background:linear-gradient(135deg,#221a42,#7138d8 58%,#ff4f91);color:#fff;box-shadow:0 22px 60px rgba(66,42,123,.18)}.games-hero h1{font-size:42px;margin:8px 0}.games-hero p{margin:0;opacity:.85}.game-feature-card{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(280px,380px);gap:24px;align-items:center;padding:24px;border:1px solid #ebe7f4;border-radius:26px;background:#fff;box-shadow:0 14px 45px rgba(34,25,67,.06);margin-bottom:28px}.game-feature-icon{width:100px;height:100px;border-radius:28px;display:grid;place-items:center;font-size:54px;background:linear-gradient(135deg,#fff0f5,#efeaff)}.game-feature-info h2{font-size:30px;margin:7px 0}.game-feature-info p{color:#777184;line-height:1.55;margin:0}.live-pill{font-size:11px;font-weight:900;color:#2a9d62;background:#eafaf1;padding:6px 9px;border-radius:999px}.game-create-form{display:grid;grid-template-columns:1fr 100px;gap:9px}.game-create-form label{font-size:11px;font-weight:900;color:#777184;display:grid;gap:5px}.game-create-form input,.game-create-form select{height:44px;border:1px solid #ded9eb;border-radius:12px;padding:0 12px;background:#fff}.game-create-form .btn{grid-column:1/-1}.game-room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.game-room-card{border:1px solid #ebe7f2;border-radius:20px;padding:18px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:170px}.game-room-card h3{font-size:20px;margin:8px 0 5px}.game-room-card p{margin:0;color:#8a8495}.game-room-status{font-size:10px;font-weight:900;color:#725bd0;background:#f0ecff;padding:5px 8px;border-radius:999px}.game-room-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.coming-game{display:flex;align-items:center;gap:12px;margin-top:22px;padding:17px 20px;border:1px dashed #d9d3e8;border-radius:18px;color:#756e82}.coming-game>span{font-size:28px}.coming-game div{display:grid}.coming-game small{color:#9993a4}.bottle-room-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.bottle-room-head h1{font-size:34px;margin:7px 0 3px}.bottle-arena-card{border:1px solid #e9e5f2;border-radius:30px;background:radial-gradient(circle at 50% 45%,#fff 0,#fbf8ff 42%,#f1ecfa 100%);padding:18px;box-shadow:0 18px 55px rgba(51,38,91,.08)}.bottle-arena{position:relative;width:min(760px,100%);height:min(70vh,690px);min-height:560px;margin:0 auto}.bottle-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:grid;place-items:center;gap:12px}.bottle-object{font-size:104px;line-height:1;transform-origin:50% 50%;transition:transform 3s cubic-bezier(.15,.72,.12,1);filter:drop-shadow(0 13px 18px rgba(52,32,82,.24));user-select:none}.bottle-spin-btn{border:0;border-radius:999px;padding:12px 22px;background:linear-gradient(135deg,#ff397d,#7557e8);color:white;font-weight:950;box-shadow:0 10px 25px rgba(116,78,217,.25);cursor:pointer}.bottle-spin-btn:disabled{opacity:.5;cursor:not-allowed}.bottle-player{position:absolute;transform:translate(-50%,-50%);width:96px;text-align:center;z-index:2;color:#302c3d;font-weight:850;font-size:12px}.bottle-player img{width:76px;height:76px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 8px 25px rgba(41,32,67,.16);display:block;margin:0 auto 5px;background:#eee}.bottle-player.is-turn img{outline:4px solid #ff4b8c;outline-offset:2px}.bottle-player.is-me:after{content:'Ты';position:absolute;right:2px;top:2px;background:#6c54d8;color:white;font-size:9px;padding:3px 6px;border-radius:999px}.bottle-result{min-height:52px;border-radius:16px;background:#fff;border:1px solid #eee9f5;padding:14px 18px;display:grid;place-items:center;text-align:center;font-size:16px}.bottle-footer-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 4px}.bottle-footer-row p{margin:4px 0 0}
@media(max-width:900px){.game-feature-card{grid-template-columns:90px 1fr}.game-create-form{grid-column:1/-1}.game-room-grid{grid-template-columns:repeat(2,1fr)}.bottle-arena{height:620px;min-height:520px}.bottle-player{width:84px}.bottle-player img{width:66px;height:66px}.bottle-object{font-size:90px}}
@media(max-width:620px){.games-page,.bottle-page{padding-top:12px}.games-hero{padding:22px;border-radius:22px}.games-hero h1{font-size:31px}.game-feature-card{grid-template-columns:64px 1fr;padding:15px;gap:14px}.game-feature-icon{width:64px;height:64px;border-radius:18px;font-size:34px}.game-feature-info h2{font-size:23px}.game-create-form{grid-template-columns:1fr}.game-create-form .btn{grid-column:auto}.game-room-grid{grid-template-columns:1fr}.bottle-room-head{align-items:flex-start;flex-direction:column}.bottle-room-head form,.bottle-room-head .btn{width:100%}.bottle-arena-card{padding:8px;border-radius:22px}.bottle-arena{height:520px;min-height:500px}.bottle-player{width:70px;font-size:10px}.bottle-player img{width:56px;height:56px;border-width:3px}.bottle-object{font-size:74px}.bottle-spin-btn{padding:10px 18px}.bottle-footer-row{align-items:flex-start;flex-direction:column}.bottle-footer-row .btn{width:100%}}

/* v12: Bottle game visual refresh + room chat */
.game-feature-bottle{overflow:hidden;background:radial-gradient(circle at 30% 20%,#f9dcff,#f1eaff 44%,#e4dcff)}
.game-feature-bottle img{width:92px;height:60px;object-fit:contain;transform:rotate(-12deg);filter:drop-shadow(0 8px 12px rgba(64,40,104,.22))}
.bottle-page{position:relative;isolation:isolate}
.bottle-page:before{content:'';position:fixed;inset:0;z-index:-2;background:radial-gradient(circle at 8% 12%,rgba(255,83,145,.13),transparent 30%),radial-gradient(circle at 90% 18%,rgba(117,87,232,.16),transparent 32%),linear-gradient(180deg,#fbf9ff 0,#f6f1ff 56%,#fff 100%)}
.bottle-play-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:stretch}
.bottle-arena-card{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(61,25,92,.05) 0,rgba(24,9,44,.02) 42%,transparent 43%),linear-gradient(145deg,#2a1740,#462265 52%,#251438);border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(43,23,69,.22)}
.bottle-arena-card:before,.bottle-arena-card:after{content:'';position:absolute;border-radius:50%;filter:blur(1px);opacity:.55;pointer-events:none}
.bottle-arena-card:before{width:280px;height:280px;left:-120px;top:-120px;background:radial-gradient(circle,#ff5b9e55,transparent 68%)}
.bottle-arena-card:after{width:330px;height:330px;right:-140px;bottom:-140px;background:radial-gradient(circle,#8068ff55,transparent 68%)}
.bottle-table-glow{position:absolute;inset:13% 12%;border-radius:50%;background:radial-gradient(ellipse,rgba(239,203,255,.17),rgba(129,76,171,.06) 55%,transparent 72%);box-shadow:inset 0 0 100px rgba(255,255,255,.04);pointer-events:none}
.bottle-arena{height:min(66vh,640px);min-height:560px;z-index:1}
.bottle-center{gap:18px}
.bottle-object{width:250px;height:auto;font-size:0;display:block;transform-origin:50% 50%;transition:transform 3s cubic-bezier(.15,.72,.12,1);filter:drop-shadow(0 16px 18px rgba(0,0,0,.3));user-select:none;pointer-events:none}
.bottle-spin-btn{padding:13px 24px;background:linear-gradient(135deg,#ff4b91,#8c60ff);box-shadow:0 12px 30px rgba(255,70,145,.25);border:1px solid rgba(255,255,255,.23)}
.bottle-player{color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.bottle-player img{border-color:rgba(255,255,255,.92);box-shadow:0 8px 28px rgba(0,0,0,.35)}
.bottle-player.is-turn img{outline-color:#ff73a9;box-shadow:0 0 0 5px rgba(255,69,144,.16),0 10px 30px rgba(0,0,0,.4)}
.bottle-player.is-me:after{background:#8c60ff;color:#fff}
.bottle-result{position:relative;z-index:2;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13);backdrop-filter:blur(10px)}
.game-chat-card{min-height:0;display:flex;flex-direction:column;border:1px solid #e7e0f2;border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 20px 58px rgba(47,31,77,.10);overflow:hidden}
.game-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px;border-bottom:1px solid #eee8f6;background:linear-gradient(135deg,#fff,#faf6ff)}
.game-chat-head>div{display:grid;gap:2px}.game-chat-head strong{font-size:15px}.game-chat-head small{font-size:10px;color:#8e8799}.game-chat-head>span{font-size:10px;font-weight:900;color:#2f9b68;background:#eaf8f0;padding:6px 9px;border-radius:999px;white-space:nowrap}
.game-chat-messages{height:0;min-height:430px;flex:1;overflow:auto;padding:13px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
.game-chat-empty{margin:auto;text-align:center;color:#958da2;font-size:13px;padding:20px}
.game-chat-message{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:start}.game-chat-message>a img{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#eee;border:2px solid #fff;box-shadow:0 4px 10px rgba(40,29,64,.12)}
.game-chat-message>div{min-width:0;background:#f5f1fa;border-radius:5px 14px 14px 14px;padding:8px 10px}.game-chat-message.is-me{grid-template-columns:minmax(0,1fr) 34px}.game-chat-message.is-me>a{grid-column:2;grid-row:1}.game-chat-message.is-me>div{grid-column:1;grid-row:1;background:linear-gradient(135deg,#8c60ff,#6d52d9);color:#fff;border-radius:14px 5px 14px 14px}
.game-chat-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}.game-chat-meta strong{font-size:11px}.game-chat-meta time{font-size:9px;opacity:.58}.game-chat-message p{margin:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}
.game-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:12px;border-top:1px solid #eee8f6;background:#fff}.game-chat-form input{height:44px;border:1px solid #ddd4eb;border-radius:14px;padding:0 13px;outline:none;background:#fbf9fd}.game-chat-form input:focus{border-color:#a98dff;box-shadow:0 0 0 3px rgba(139,95,255,.09)}.game-chat-form button{border:0;border-radius:14px;background:linear-gradient(135deg,#ff4b91,#7657e8);color:#fff;font-size:18px;font-weight:900;cursor:pointer}
@media(max-width:980px){.bottle-play-layout{grid-template-columns:1fr}.game-chat-card{min-height:440px}.game-chat-messages{min-height:330px}.bottle-object{width:220px}}
@media(max-width:620px){.bottle-play-layout{gap:12px}.bottle-arena{height:500px;min-height:480px}.bottle-object{width:165px}.bottle-center{gap:12px}.bottle-arena-card{border-radius:22px}.game-chat-card{border-radius:22px;min-height:390px}.game-chat-messages{min-height:280px}.bottle-player{width:68px}.bottle-player img{width:54px;height:54px}.bottle-spin-btn{font-size:12px;padding:11px 16px}}

/* v13: precise bottle spin + kiss/refuse reactions */
.bottle-object{transition:transform 5.2s cubic-bezier(.08,.72,.08,1)}
.bottle-object.is-spinning{filter:drop-shadow(0 18px 22px rgba(0,0,0,.38)) drop-shadow(0 0 18px rgba(255,107,170,.18))}
.bottle-choice{width:100%;display:grid;gap:10px;place-items:center}.bottle-choice-title{font-size:17px}.bottle-choice-sub{font-size:12px;opacity:.72}.bottle-choice-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.bottle-choice-actions button{border:0;border-radius:999px;padding:11px 18px;font-weight:950;cursor:pointer;color:#fff;box-shadow:0 9px 24px rgba(0,0,0,.18);transition:transform .18s ease,box-shadow .18s ease}.bottle-choice-actions button:hover{transform:translateY(-2px)}.bottle-choice-actions button:disabled{opacity:.5;cursor:not-allowed;transform:none}.bottle-kiss-btn{background:linear-gradient(135deg,#ff3d86,#ff739f)}.bottle-refuse-btn{background:linear-gradient(135deg,#696477,#454052)}.bottle-wait-choice{opacity:.72;font-size:12px}
.bottle-reaction-fx{position:absolute;inset:0;z-index:12;display:grid;place-items:center;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s}.bottle-reaction-fx.show{opacity:1;visibility:visible}.bottle-reaction-fx:before{content:'';position:absolute;inset:0;background:rgba(23,9,35,.55);backdrop-filter:blur(4px)}.reaction-scene{position:relative;z-index:2;min-width:min(88%,430px);padding:28px 24px;border-radius:28px;text-align:center;color:#fff;background:linear-gradient(145deg,rgba(65,26,91,.94),rgba(27,13,45,.96));box-shadow:0 24px 70px rgba(0,0,0,.42);display:grid;gap:12px;place-items:center;animation:reactionPop .48s cubic-bezier(.2,1.25,.3,1)}.reaction-avatars{display:flex;align-items:center;justify-content:center;gap:2px}.reaction-avatars img{width:82px;height:82px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 10px 30px rgba(0,0,0,.35)}.reaction-avatars span{font-size:48px;margin:0 -8px;z-index:2;animation:kissBeat .75s ease-in-out infinite alternate}.heart-burst{font-size:25px;letter-spacing:8px;color:#ff5f9f;animation:heartsFloat 1.3s ease-in-out infinite alternate}.bottle-reaction-fx.refuse .reaction-scene{background:linear-gradient(145deg,rgba(57,58,78,.96),rgba(26,27,39,.97))}.sad-face{font-size:76px;animation:sadDrop .7s ease}.bottle-reaction-fx.refuse .reaction-scene span{opacity:.78;font-size:13px}
@keyframes reactionPop{0%{transform:scale(.72);opacity:0}100%{transform:scale(1);opacity:1}}@keyframes kissBeat{from{transform:scale(.9) rotate(-7deg)}to{transform:scale(1.12) rotate(7deg)}}@keyframes heartsFloat{from{transform:translateY(5px);opacity:.72}to{transform:translateY(-7px);opacity:1}}@keyframes sadDrop{0%{transform:translateY(-16px) scale(.8);opacity:0}65%{transform:translateY(5px) scale(1.06);opacity:1}100%{transform:translateY(0) scale(1)}}
@media(max-width:620px){.bottle-object{transition-duration:4.7s}.reaction-scene{padding:23px 16px}.reaction-avatars img{width:66px;height:66px}.reaction-avatars span{font-size:38px}.bottle-choice-actions{width:100%}.bottle-choice-actions button{flex:1;min-width:135px}}

/* VIP users in Bottle room chat */
.game-chat-message.is-vip>a.game-chat-avatar{position:relative;filter:drop-shadow(0 0 8px rgba(148,96,255,.28))}
.game-chat-message.is-vip>a.game-chat-avatar img{border-color:#d5b65a;box-shadow:0 0 0 2px rgba(255,225,126,.28),0 5px 14px rgba(112,76,208,.18)}
.game-chat-vip-dot{position:absolute;right:-7px;bottom:-4px;padding:2px 4px;border-radius:6px;background:linear-gradient(135deg,#ffd86b,#9a63ff);color:#fff;font-size:7px;font-weight:1000;line-height:1;letter-spacing:.25px;border:1px solid rgba(255,255,255,.9);box-shadow:0 3px 8px rgba(81,54,125,.22)}
.game-chat-message.is-vip>div{background:linear-gradient(135deg,#fff9df,#f5ecff);border:1px solid rgba(211,181,89,.42);box-shadow:0 5px 18px rgba(120,82,187,.08)}
.game-chat-message.is-vip.is-me>div{background:linear-gradient(135deg,#8d5cff,#6348cd);border-color:rgba(255,221,112,.65);box-shadow:0 0 0 1px rgba(255,221,112,.14),0 8px 22px rgba(96,67,185,.2)}
.game-chat-vip-badge{display:inline-flex;align-items:center;margin-left:5px;padding:2px 5px;border-radius:999px;background:linear-gradient(135deg,#f4c84c,#9a62ff);color:#fff;font-size:7px;font-weight:1000;letter-spacing:.35px;vertical-align:1px;white-space:nowrap;box-shadow:0 2px 5px rgba(91,58,153,.18)}
.game-chat-message.is-vip.is-me .game-chat-vip-badge{background:linear-gradient(135deg,#ffe176,#f0b62f);color:#5a3b00}


/* v15: Battleship online game */
.battleship-feature-card{background:linear-gradient(145deg,#f8fcff,#eef6ff);border-color:#dbeaf5}.battleship-feature-icon{background:radial-gradient(circle at 35% 30%,#d9f5ff,#cfe4ff 52%,#dcd8ff);font-size:54px}.battle-rules-mini{padding:11px 13px;border-radius:14px;background:#f4f8fc;color:#617080;font-size:12px;font-weight:800}.battleship-room-card{border-color:#dbeaf5;background:linear-gradient(145deg,#fff,#f7fbff)}.battle-empty{border:1px dashed #c9dce9;background:#fafdff}
.battleship-page{background:radial-gradient(circle at 15% 8%,rgba(75,176,255,.08),transparent 30%),radial-gradient(circle at 90% 24%,rgba(116,91,255,.08),transparent 28%)}
.battleship-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.battleship-card{min-width:0;background:linear-gradient(145deg,#102f47,#153f5d 55%,#0d2c43);border-radius:28px;padding:18px;color:#fff;box-shadow:0 22px 60px rgba(14,49,74,.2);overflow:hidden}.battle-players{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:15px}.battle-player-pill{display:flex;align-items:center;gap:9px;padding:7px 11px 7px 7px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16)}.battle-player-pill img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #fff}.battle-player-pill span{display:grid;gap:1px}.battle-player-pill strong{font-size:12px}.battle-player-pill small{font-size:9px;opacity:.65}.battle-player-pill em{font-style:normal;font-size:8px;color:#5a3d00;background:linear-gradient(135deg,#ffe37b,#c999ff);padding:2px 5px;border-radius:999px}.battle-player-pill.is-vip{box-shadow:0 0 0 1px rgba(255,220,111,.38),0 0 22px rgba(194,141,255,.13)}.battle-vs{font-size:11px;font-weight:1000;opacity:.55}
.battle-setup{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);border-radius:22px;padding:14px;margin-bottom:16px}.battle-setup[hidden]{display:none}.battle-setup-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.battle-setup-head>div{display:grid;gap:3px}.battle-setup-head strong{font-size:15px}.battle-setup-head small{font-size:10px;opacity:.65}.ship-palette{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.ship-chip{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:12px;padding:7px 9px;display:grid;gap:2px;cursor:pointer}.ship-chip span{font-size:9px;letter-spacing:1px}.ship-chip small{font-size:8px;opacity:.7}.ship-chip.active{background:#fff;color:#183b54;border-color:#fff}.ship-chip.placed{box-shadow:inset 0 0 0 2px rgba(73,222,159,.5)}.battle-controls{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.battle-controls label{display:grid;gap:4px;font-size:9px;font-weight:900;opacity:.8}.battle-controls select{height:40px;border:0;border-radius:11px;padding:0 10px}
.battle-boards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.battle-board-wrap{min-width:0}.battle-board-title{text-align:center;font-size:12px;font-weight:950;margin-bottom:8px}.battle-grid{display:grid;grid-template-columns:28px repeat(10,minmax(22px,1fr));grid-template-rows:28px repeat(10,minmax(22px,1fr));aspect-ratio:1/1;max-width:560px;margin:auto;background:rgba(255,255,255,.05);border-radius:15px;padding:6px;gap:2px}.battle-axis,.battle-corner{display:grid;place-items:center;font-size:9px;font-weight:900;opacity:.6}.battle-cell{position:relative;border:0;border-radius:4px;background:rgba(115,198,239,.16);cursor:pointer;min-width:0;padding:0}.battle-cell:hover{background:rgba(131,215,255,.32)}.battle-cell.ship{background:linear-gradient(135deg,#8cd7f2,#5aa8d0);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}.battle-cell.miss:after{content:'•';position:absolute;inset:0;display:grid;place-items:center;color:#dff5ff;font-size:18px}.battle-cell.hit{background:#d94359}.battle-cell.hit:after{content:'×';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:1000;font-size:17px}.battle-cell.sunk{background:#711f31;box-shadow:inset 0 0 0 2px #ff96a6}.enemy .battle-cell:not(.hit):not(.miss){background:rgba(115,198,239,.14)}.battle-event{margin-top:14px;padding:12px 14px;border-radius:15px;text-align:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);font-size:12px}.battle-chat-card{position:sticky;top:90px;min-height:640px}
@media(max-width:1080px){.battleship-layout{grid-template-columns:1fr}.battle-chat-card{position:static;min-height:420px}.battle-boards{gap:12px}}
@media(max-width:720px){.battleship-card{padding:12px;border-radius:22px}.battle-boards{grid-template-columns:1fr}.battle-grid{width:min(100%,470px)}.battle-setup-head{flex-direction:column}.battle-setup-head .btn{width:100%}.battle-controls>*{flex:1}.battle-controls label{min-width:145px}.battle-player-pill{max-width:46%}.battle-player-pill span{min-width:0}.battle-player-pill strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:105px}}
@media(max-width:420px){.battle-grid{grid-template-columns:22px repeat(10,minmax(18px,1fr));grid-template-rows:22px repeat(10,minmax(18px,1fr));gap:1px;padding:4px}.battle-axis{font-size:8px}.battle-player-pill img{width:34px;height:34px}.battle-player-pill{padding:5px 8px 5px 5px}.battle-cell.hit:after{font-size:14px}.battle-cell.miss:after{font-size:15px}}

/* v16 battleship room maintenance */
.game-room-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.game-room-actions form{margin:0}.battle-cell.pending-shot{opacity:.55;pointer-events:none}
@media(max-width:640px){.game-room-actions{width:100%}.game-room-actions .btn,.game-room-actions form{flex:1}.game-room-actions form .btn{width:100%}}

/* v17: reliable shot feedback + animations */
.battle-event.event-pulse{animation:battleEventPulse .34s ease-out}.battle-event.event-hit{background:rgba(255,111,142,.14);border-color:rgba(255,143,164,.38)}.battle-event.event-miss{background:rgba(94,193,255,.13);border-color:rgba(125,207,255,.34)}.battle-event.event-sunk{background:rgba(255,77,111,.2);border-color:rgba(255,125,150,.45)}.battle-event.event-error{background:rgba(255,177,64,.14);border-color:rgba(255,190,91,.4)}
.battle-cell.shot-pop-hit,.battle-cell.shot-pop-sunk{animation:battleHitPop .62s cubic-bezier(.2,.9,.25,1)}.battle-cell.shot-pop-miss{animation:battleMissRipple .7s ease-out}
@keyframes battleHitPop{0%{transform:scale(.55);filter:brightness(2.2)}45%{transform:scale(1.32);box-shadow:0 0 0 7px rgba(255,80,110,.18)}100%{transform:scale(1);filter:none}}
@keyframes battleMissRipple{0%{transform:scale(.7);box-shadow:0 0 0 0 rgba(117,210,255,.6)}55%{transform:scale(1.08);box-shadow:0 0 0 8px rgba(117,210,255,0)}100%{transform:scale(1)}}
@keyframes battleEventPulse{0%{transform:scale(.985);opacity:.55}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.battle-event.event-pulse,.battle-cell.shot-pop-hit,.battle-cell.shot-pop-sunk,.battle-cell.shot-pop-miss{animation:none}}

/* v18 battleship authoritative turn state */
.enemy.can-fire .battle-cell.fireable{cursor:crosshair;box-shadow:inset 0 0 0 1px rgba(160,225,255,.16)}
.enemy.can-fire .battle-cell.fireable:hover{background:rgba(118,220,255,.38);box-shadow:inset 0 0 0 2px rgba(210,245,255,.55)}
.battle-cell:disabled{cursor:default}
.enemy:not(.can-fire) .battle-cell:not(.hit):not(.miss){opacity:.72}

/* v20 Photo Battle */
.photo-battle-feature-icon{background:linear-gradient(145deg,#ffedf5,#f1e9ff);font-size:52px}.photo-battle-room-balance{font-weight:800;margin-top:8px}.photo-battle-lobby-error{padding:12px 16px;border-radius:14px;background:#fff0f3;border:1px solid #ffc8d2;margin:0 0 16px;color:#a92845}.photo-battle-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.photo-battle-alert{min-height:24px;margin-bottom:8px;font-weight:800;color:#7b3ff2}.photo-battle-alert.is-error{color:#d83a55}.photo-battle-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:20px;align-items:start}.photo-battle-main{min-width:0}.photo-battle-roster{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;padding:16px;border:1px solid var(--border,#eadff5);border-radius:22px;background:#fff;margin-bottom:18px}.photo-battle-roster>div>strong{display:block;text-align:center;margin-bottom:10px}.photo-battle-roster>div>div{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.photo-battle-player{display:flex;align-items:center;gap:6px;padding:5px 8px 5px 5px;border-radius:999px;background:#f7f4fb;font-size:13px}.photo-battle-player img{width:34px;height:34px;border-radius:50%;object-fit:cover}.photo-battle-player.is-vip{box-shadow:0 0 0 2px #d8ac46;background:linear-gradient(120deg,#fff9df,#f7efff)}.photo-battle-player em{font-style:normal;font-size:9px;font-weight:900;padding:2px 5px;border-radius:999px;background:#5b2a91;color:#ffd978}.photo-battle-vs{font-size:20px;font-weight:1000;color:#ff4f86}.photo-battle-waiting,.photo-battle-done{text-align:center;padding:46px 20px;border-radius:26px;background:linear-gradient(150deg,#fff6fa,#f6f0ff);border:1px solid #f0ddec}.photo-battle-heart{font-size:50px;margin-bottom:8px}.photo-battle-game{max-width:560px;margin:0 auto}.photo-battle-progress{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-weight:900}.photo-battle-progress>div{height:8px;flex:1;border-radius:99px;background:#eee7f3;overflow:hidden}.photo-battle-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff4b83,#8254e8);transition:width .3s}.photo-battle-card{overflow:hidden;border-radius:28px;background:#fff;border:1px solid #eadff2;box-shadow:0 18px 45px rgba(68,38,95,.12);transition:transform .28s,opacity .28s}.photo-battle-card.vote-like{transform:translateX(30px) rotate(2deg);opacity:.2}.photo-battle-card.vote-pass{transform:translateX(-30px) rotate(-2deg);opacity:.2}.photo-battle-photo-wrap{position:relative;aspect-ratio:4/5;background:#eee}.photo-battle-photo-wrap>img{width:100%;height:100%;display:block;object-fit:cover}.photo-battle-vip{position:absolute;top:14px;right:14px;padding:7px 11px;border-radius:999px;background:linear-gradient(135deg,#4d267d,#8f50d4);border:2px solid #e4bd59;color:#ffe28b;font-weight:1000;box-shadow:0 5px 18px rgba(77,38,125,.28)}.photo-battle-card.is-vip .photo-battle-photo-wrap{box-shadow:inset 0 0 0 4px #ddb34e}.photo-battle-card-info{padding:17px 20px 8px}.photo-battle-card-info h2{margin:0 0 4px}.photo-battle-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 20px 20px}.photo-battle-vote{min-height:58px;border:0;border-radius:17px;font-size:23px;font-weight:900;cursor:pointer}.photo-battle-vote span{font-size:14px;margin-left:5px}.photo-battle-vote.pass{background:#f2eff5;color:#473c4f}.photo-battle-vote.like{background:linear-gradient(135deg,#ff4f7e,#9b55e9);color:#fff}.photo-battle-vote:disabled{opacity:.55;cursor:not-allowed}.photo-battle-results,.photo-battle-matches{margin-top:30px}.photo-battle-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-battle-result{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;background:#fff;border:1px solid #eadff2}.photo-battle-result.is-winner{border-color:#e1b950;background:linear-gradient(120deg,#fff9df,#fff)}.photo-battle-result img{width:58px;height:58px;border-radius:50%;object-fit:cover}.photo-battle-result div{display:flex;flex-direction:column;gap:3px}.photo-battle-result span{font-weight:900;color:#e94374}.photo-battle-result em{font-size:11px;font-style:normal;color:#8b6813;font-weight:900}.photo-battle-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-battle-match-grid article{display:flex;align-items:center;gap:12px;padding:14px;background:linear-gradient(135deg,#fff2f7,#f5efff);border-radius:20px;border:1px solid #f0d7e5}.photo-battle-match-grid img{width:72px;height:72px;border-radius:50%;object-fit:cover}.photo-battle-match-grid article>div{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.photo-battle-chat{position:sticky;top:90px}.photo-battle-chat .game-chat-list{max-height:520px}.photo-battle-chat .game-chat-form{display:flex;gap:8px}.photo-battle-chat .game-chat-form input[name=body]{min-width:0;flex:1}
@media(max-width:850px){.photo-battle-layout{grid-template-columns:1fr}.photo-battle-chat{position:static}.photo-battle-head{flex-direction:column}.photo-battle-results-grid,.photo-battle-match-grid{grid-template-columns:1fr}.photo-battle-roster{grid-template-columns:1fr}.photo-battle-vs{text-align:center}}
@media(max-width:480px){.photo-battle-actions{padding:10px 12px 14px}.photo-battle-card-info{padding:14px 14px 6px}.photo-battle-vote span{display:none}.photo-battle-roster{padding:12px}}

/* === v21 Photo Battle form + replay === */
.photo-battle-create-form{grid-template-columns:minmax(0,1fr) minmax(210px,250px);align-items:end}.photo-battle-create-form label{min-width:0}.photo-battle-create-form input,.photo-battle-create-form select{width:100%;min-width:0}.photo-battle-create-form select{font-size:14px;font-weight:700;color:#443c51}.photo-battle-replay{margin-top:18px;padding:16px;border-radius:18px;background:linear-gradient(135deg,#fff6fa,#f5efff);border:1px solid #edddea;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.photo-battle-replay .btn{min-width:190px}.photo-battle-replay small{color:#81778d;font-weight:700}.photo-battle-replay .btn:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:620px){.photo-battle-create-form{grid-template-columns:1fr}.photo-battle-replay{align-items:stretch;flex-direction:column;text-align:center}.photo-battle-replay .btn{width:100%;min-width:0}}

/* v22 Truth or Dare */
.truth-dare-feature-icon{background:linear-gradient(145deg,#fff0f5,#efe9ff);font-size:50px}.truth-dare-page{padding-top:26px}.truth-dare-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.truth-dare-head h1{margin:5px 0}.truth-dare-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:20px;align-items:start}.truth-dare-main{min-width:0}.truth-dare-roster{display:flex;gap:10px;overflow-x:auto;padding:4px 3px 12px;scrollbar-width:thin}.truth-dare-person{position:relative;min-width:92px;text-decoration:none;color:inherit;text-align:center;padding:9px 7px;border:1px solid #ebe4f2;border-radius:18px;background:#fff}.truth-dare-person img{width:58px;height:58px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 5px;border:3px solid #fff;box-shadow:0 4px 14px rgba(50,32,75,.12)}.truth-dare-person span{font-size:12px;font-weight:900;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.truth-dare-person b{display:inline-block;margin-top:4px;padding:2px 5px;border-radius:999px;background:linear-gradient(135deg,#f4c84c,#8d5cff);color:#fff;font-size:8px}.truth-dare-person em{position:absolute;right:5px;top:5px;background:#6d54d9;color:#fff;border-radius:999px;padding:2px 5px;font-size:8px;font-style:normal}.truth-dare-person.is-turn{border-color:#ff5c91;box-shadow:0 0 0 3px rgba(255,78,139,.12)}.truth-dare-person.is-vip img{border-color:#d9b650}.truth-dare-stage{padding:24px;border:1px solid #e9e1f2;border-radius:28px;background:linear-gradient(155deg,#fff,#faf7ff);box-shadow:0 16px 50px rgba(58,34,87,.08)}.truth-dare-player{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:18px}.truth-dare-player img{width:64px;height:64px;border-radius:50%;object-fit:cover}.truth-dare-player div{display:grid}.truth-dare-player small{color:#8c8394}.truth-dare-player strong{font-size:18px}.truth-dare-card{text-align:center;min-height:250px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px;border-radius:24px;background:linear-gradient(145deg,#f7f3fb,#fff)}.truth-dare-card.is-truth{background:linear-gradient(145deg,#eef7ff,#f8f5ff)}.truth-dare-card.is-dare{background:linear-gradient(145deg,#fff0f5,#fff8ed)}.truth-dare-card h2{max-width:650px;margin:10px auto;font-size:28px;line-height:1.25}.truth-dare-card p{max-width:600px;color:#81798a}.truth-dare-mark{font-size:52px}.truth-dare-kind{font-weight:1000;letter-spacing:.08em;color:#6c4ac6}.truth-dare-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:18px;min-height:52px}.truth-btn,.dare-btn{min-width:190px;border:0;border-radius:18px;padding:16px 22px;font-weight:1000;font-size:18px;cursor:pointer}.truth-btn{background:linear-gradient(135deg,#5aa7ff,#765ae7);color:#fff}.dare-btn{background:linear-gradient(135deg,#ff4f86,#ff9a44);color:#fff}.truth-dare-history{margin-top:22px}.truth-dare-history-list{display:grid;gap:9px}.truth-dare-history-list>div{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:9px;align-items:center;padding:11px 13px;border:1px solid #eee6f3;border-radius:15px;background:#fff}.truth-dare-history-list p{margin:0;font-size:13px}.truth-dare-history-list b{text-align:center}.truth-dare-chat{position:sticky;top:90px}.truth-dare-chat .game-chat-messages{min-height:430px;max-height:520px}
@media(max-width:850px){.truth-dare-layout{grid-template-columns:1fr}.truth-dare-chat{position:static}.truth-dare-head{flex-direction:column}.truth-dare-card h2{font-size:23px}}
@media(max-width:520px){.truth-dare-page{padding-top:12px}.truth-dare-stage{padding:14px;border-radius:22px}.truth-dare-card{padding:20px 14px;min-height:230px}.truth-dare-actions{display:grid;grid-template-columns:1fr;width:100%}.truth-btn,.dare-btn{width:100%;min-width:0}.truth-dare-person{min-width:82px}}
/* v23 Stories */
.stories-page{padding-top:28px;padding-bottom:70px}.stories-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.stories-head h1{margin:5px 0}.story-rail{display:flex;gap:18px;overflow-x:auto;padding:10px 4px 22px;scrollbar-width:thin}.story-person{border:0;background:none;color:inherit;min-width:86px;max-width:96px;padding:0;cursor:pointer;text-align:center}.story-person strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-person small{font-size:11px;opacity:.6}.story-person em{font-size:9px;font-style:normal;background:#f7c948;color:#301d00;border-radius:6px;padding:2px 4px}.story-avatar-wrap{width:74px;height:74px;padding:3px;border-radius:50%;display:block;margin:0 auto 7px;background:linear-gradient(135deg,#ff3b81,#ff9d2e,#7b4dff);position:relative}.story-avatar-wrap img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:3px solid var(--bg,#fff);background:#eee}.story-person.is-seen .story-avatar-wrap{background:#aaa}.story-add .story-avatar-wrap{background:#ddd}.story-add .story-avatar-wrap b{position:absolute;right:0;bottom:0;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#7b4dff;color:white;border:2px solid white;font-size:18px}.my-stories{margin-top:20px}.my-story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px}.my-story-grid article{border-radius:18px;overflow:hidden;background:var(--card,#fff);border:1px solid rgba(127,127,127,.18)}.my-story-preview{display:block;border:0;padding:0;width:100%;aspect-ratio:9/14;background:#111;cursor:pointer}.my-story-preview img{width:100%;height:100%;object-fit:cover}.my-story-grid article>div{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;font-size:12px}.my-story-grid form button{border:0;background:none;color:#e54a64;cursor:pointer}.story-upload-modal,.story-viewer{position:fixed;inset:0;z-index:9999;background:rgba(10,7,18,.78);display:grid;place-items:center;padding:18px}.story-upload-modal[hidden],.story-viewer[hidden]{display:none}.story-upload-card{width:min(460px,100%);background:var(--card,#fff);color:inherit;border-radius:24px;padding:24px;position:relative}.story-x{position:absolute;right:16px;top:12px;border:0;background:none;font-size:28px;color:inherit;cursor:pointer}.story-upload-card form{display:grid;gap:15px}.story-upload-card label{display:grid;gap:7px}.story-upload-card textarea{width:100%;resize:vertical}.story-file{border:2px dashed rgba(127,127,127,.35);border-radius:18px;padding:18px;text-align:center;cursor:pointer}.story-file input{position:absolute;opacity:0;pointer-events:none}.story-file img{width:100%;max-height:360px;object-fit:contain;margin-top:12px;border-radius:14px}.story-viewer{background:rgba(0,0,0,.94)}.story-viewer-inner{width:min(430px,100%);position:relative;background:#09090b;border-radius:22px;overflow:hidden;color:#fff;box-shadow:0 20px 70px #000}.story-viewer-inner header{position:absolute;z-index:4;left:0;right:0;top:14px;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(#0008,transparent)}.story-viewer-inner header a{display:flex;gap:9px;align-items:center;color:#fff;text-decoration:none}.story-viewer-inner header img{width:38px;height:38px;border-radius:50%;object-fit:cover}.story-viewer-inner header span{display:grid}.story-viewer-inner header small{opacity:.75}.story-viewer-inner header button{border:0;background:none;color:#fff;font-size:30px;cursor:pointer}.story-main-img{width:100%;height:min(72vh,700px);min-height:500px;object-fit:contain;background:#050505;display:block}.story-viewer-inner>p{position:absolute;left:18px;right:18px;bottom:20px;text-align:center;text-shadow:0 2px 8px #000;background:#0005;border-radius:12px;padding:8px}.story-progress{position:absolute;z-index:6;top:8px;left:10px;right:10px;display:flex;gap:4px}.story-progress i{height:3px;flex:1;background:#ffffff55;border-radius:4px}.story-progress i.done{background:#fff}.story-nav{position:absolute;z-index:5;top:25%;bottom:25%;width:25%;border:0;background:transparent;color:#fff;font-size:44px;opacity:.25;cursor:pointer}.story-nav.prev{left:0;text-align:left;padding-left:10px}.story-nav.next{right:0;text-align:right;padding-right:10px}.empty-card{text-align:center;padding:45px 20px;border:1px dashed rgba(127,127,127,.3);border-radius:22px}@media(max-width:640px){.stories-head{align-items:stretch;flex-direction:column}.stories-head .btn{width:100%}.story-main-img{height:70vh;min-height:430px}.story-viewer{padding:0}.story-viewer-inner{border-radius:0;width:100%}}

/* v24 Stories inside own profile */
.profile-story-avatar{position:relative}.profile-story-avatar.has-story{padding:4px;border-radius:50%;background:linear-gradient(135deg,#ff3b81,#ff9d2e,#7b4dff)}.profile-story-avatar.has-story img{border:4px solid #fff}.profile-story-avatar-link{display:block;position:relative;border-radius:50%;width:100%;height:100%}.profile-story-badge{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);white-space:nowrap;padding:5px 9px;border-radius:999px;background:linear-gradient(135deg,#ff3d81,#7b61ff);color:#fff;font-size:10px;font-weight:1000;box-shadow:0 6px 18px rgba(91,64,190,.22)}.profile-story-add-badge{position:absolute;right:0;bottom:1px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#7b61ff;color:#fff;border:3px solid #fff;font-size:22px;font-weight:900;box-shadow:0 6px 18px rgba(91,64,190,.22)}.profile-stories-heading{align-items:center}.profile-story-strip{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin}.profile-story-tile{position:relative;display:block;flex:0 0 150px;aspect-ratio:9/14;border-radius:20px;overflow:hidden;background:#111;border:1px solid rgba(127,127,127,.18)}.profile-story-tile img{width:100%;height:100%;object-fit:cover;display:block}.profile-story-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 52%,rgba(0,0,0,.72))}.profile-story-tile-overlay{position:absolute;z-index:2;left:10px;right:10px;bottom:10px;color:#fff;display:grid;gap:4px}.profile-story-tile-overlay strong{font-size:12px}.profile-story-tile-overlay small{font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-story-empty{padding:24px;border:1px dashed rgba(127,127,127,.28);border-radius:20px;text-align:center;display:grid;justify-items:center;gap:7px;background:linear-gradient(145deg,#fff9fb,#f8f5ff)}.profile-story-empty>div{font-size:32px}.profile-story-empty span{color:#777789;font-size:13px}.profile-story-empty .btn{margin-top:6px}@media(max-width:650px){.profile-stories-heading{align-items:stretch}.profile-stories-heading .btn{width:100%}.profile-story-tile{flex-basis:126px}.profile-story-badge{font-size:9px;padding:4px 7px}}

/* v25 Stories on public profile + block state */
.public-profile-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.public-profile-title-row h1{margin-bottom:0}.public-story-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:linear-gradient(135deg,#ff3b81,#ff9d2e,#7b4dff);color:#fff;text-decoration:none;font-size:12px;font-weight:950;box-shadow:0 8px 22px rgba(110,75,220,.18)}.public-story-pill span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ffffff2e;font-size:10px}.public-story-preview{margin:16px 0 5px;display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid #ece7f6;border-radius:16px;background:linear-gradient(135deg,#fff8fb,#f7f4ff);color:inherit;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}.public-story-preview:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(61,42,112,.09)}.public-story-preview-ring{width:50px;height:50px;padding:3px;border-radius:50%;background:linear-gradient(135deg,#ff3b81,#ff9d2e,#7b4dff);flex:0 0 auto}.public-story-preview-ring img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;border:2px solid #fff}.public-story-preview>span:nth-child(2){display:grid;gap:2px;min-width:0}.public-story-preview strong{font-size:13px}.public-story-preview small{font-size:11px;color:#777589}.public-story-preview b{margin-left:auto;font-size:27px;color:#765ae7}.profile-blocked-note{margin-top:14px;padding:11px 13px;border-radius:14px;background:#fff2f4;border:1px solid #ffd8df;color:#a53b52;font-size:12px;font-weight:750}.unblock-profile-btn{border-color:#e0d9ff;color:#6c50d6}@media(max-width:640px){.public-profile-title-row{align-items:flex-start}.public-story-pill{margin-top:2px}.public-story-preview{margin-top:12px}}

/* v26 story video + media optimization UI */
.story-upload-hint{font-size:12px;line-height:1.45;color:#777589;background:#f7f5fc;border-radius:12px;padding:10px 12px}.story-file video{width:100%;max-height:360px;object-fit:contain;margin-top:12px;border-radius:14px;background:#09090b}.my-story-preview{position:relative}.my-story-preview video{width:100%;height:100%;object-fit:cover;display:block}.story-video-mark{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:34px;text-shadow:0 2px 10px #000;background:linear-gradient(transparent,#0003);pointer-events:none}.story-main-media{width:100%;height:min(72vh,700px);min-height:500px;object-fit:contain;background:#050505;display:block}.story-main-video{background:#000}.profile-story-tile video{width:100%;height:100%;object-fit:cover;display:block}.profile-story-tile .story-video-mark{z-index:2;font-size:28px}.profile-story-tile:has(video):after{z-index:1}@media(max-width:640px){.story-main-media{height:70vh;min-height:430px}}

/* v27 stable My Stories layout + viewer sizing */
.stories-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.stories-mine-page{max-width:1120px}
.stories-mine-page .my-stories{margin-top:16px}
.stories-mine-page .my-stories h2{margin:0 0 14px}
.stories-mine-page .my-story-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;align-items:start}
.stories-mine-page .my-story-grid article{min-width:0;box-shadow:0 8px 24px rgba(45,32,85,.06)}
.stories-mine-page .my-story-preview{aspect-ratio:9/14;overflow:hidden}
.stories-mine-page .my-story-preview img,.stories-mine-page .my-story-preview video{display:block;width:100%;height:100%;object-fit:cover}
.stories-mine-page .my-story-grid article>div{gap:8px;min-width:0}
.stories-mine-page .my-story-grid article>div>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mine-story-summary{display:flex;align-items:center;gap:13px;padding:13px 15px;margin:0 0 18px;border:1px solid #ece7f6;border-radius:18px;background:linear-gradient(135deg,#fff9fb,#f8f6ff)}
.mine-story-summary .story-avatar-wrap{width:58px;height:58px;flex:0 0 auto;margin:0}
.mine-story-summary>div:last-child{display:grid;gap:3px;min-width:0}
.mine-story-summary strong{font-size:14px}.mine-story-summary span{font-size:12px;color:#777589}
.story-viewer{overflow:hidden}
.story-viewer-inner{height:min(760px,calc(100dvh - 36px));max-height:calc(100dvh - 36px);display:flex;flex-direction:column}
.story-main-media{flex:1 1 auto;width:100%;height:auto!important;min-height:0!important;max-height:100%;object-fit:contain;background:#050505}
.story-viewer-inner>p{max-height:28%;overflow:auto;margin:0}
@media(max-width:640px){
 .stories-head-actions{width:100%}.stories-head-actions .btn{flex:1 1 auto;width:auto}
 .stories-mine-page .my-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .stories-mine-page .my-story-grid article>div{padding:7px 8px}
 .story-viewer-inner{height:100dvh;max-height:100dvh}
 .story-main-media{max-height:100dvh}
 .mine-story-summary{margin-top:4px}
}
@media(max-width:390px){.stories-mine-page .my-story-grid{gap:8px}.stories-mine-page .my-story-grid article>div{font-size:11px}}

/* v29: media viewer must respect hidden state when switching photo/video */
.story-main-media[hidden]{display:none!important}

/* v30: stable story view counter icon (no emoji/tofu squares) */
.story-view-count{display:inline-flex;align-items:center;gap:5px;line-height:1;color:inherit}
.story-view-icon{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.story-view-icon circle{fill:none}
.story-media-label{font-size:.78em;opacity:.72;margin-left:3px}

/* v33 home people showcase - responsive fix */
.home-people-section{padding:10px 0 78px;overflow:hidden}
.home-people-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:26px}
.home-people-head>div{min-width:0;max-width:650px}
.home-people-kicker{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#7b61ff;margin-bottom:7px}
.home-people-head h2{font-size:clamp(27px,4vw,40px);line-height:1.08;letter-spacing:-1.4px;margin:0 0 7px}
.home-people-head p{margin:0;color:#777789;line-height:1.45}
.home-people-all{flex:0 0 auto;padding:11px 15px;border-radius:999px;background:#fff;border:1px solid #e9e7f1;font-size:13px;font-weight:900;color:#654fd5;box-shadow:0 8px 24px rgba(45,36,75,.05);transition:.2s}
.home-people-all:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(45,36,75,.1)}
.home-people-list{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:13px;align-items:start}
.home-person{min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;color:#222131;transition:transform .22s}
.home-person:hover{transform:translateY(-5px)}
.home-person-avatar{width:100%;max-width:96px;aspect-ratio:1;position:relative;display:block;border-radius:50%;padding:4px;background:linear-gradient(145deg,#ff4b87,#9b5cff 54%,#56c7ff);box-shadow:0 11px 28px rgba(102,75,178,.18)}
.home-person-avatar:after{content:"";position:absolute;inset:4px;border-radius:50%;box-shadow:inset 0 0 0 3px #fff;pointer-events:none}
.home-person-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;background:#eee}
.home-person strong{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;margin-top:5px}
.home-person small{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a8999;font-size:11px}
.home-person-online{position:absolute;right:5px;bottom:7px;width:15px;height:15px;border-radius:50%;background:#2fd275;border:3px solid #fff;z-index:2;box-shadow:0 2px 8px rgba(47,210,117,.35)}
.home-person-vip{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);z-index:3;padding:2px 6px;border-radius:999px;background:linear-gradient(135deg,#6c43d8,#ef4d91);border:2px solid #fff;color:#fff;font-size:8px;line-height:1;font-weight:1000;letter-spacing:.04em}
.home-person.is-vip .home-person-avatar{background:linear-gradient(145deg,#f4c84c,#ff7a59 45%,#8b5cf6);box-shadow:0 11px 30px rgba(220,161,55,.25)}

@media(max-width:980px){
  .home-people-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 14px}
  .home-person-avatar{max-width:92px}
}

@media(max-width:620px){
  .home-people-section{padding:8px 0 48px}
  .home-people-section .container{width:min(100% - 28px,1160px)}
  .home-people-head{display:block;margin-bottom:24px}
  .home-people-head>div{max-width:none;width:100%}
  .home-people-kicker{font-size:11px;margin-bottom:8px}
  .home-people-head h2{font-size:28px;line-height:1.08;letter-spacing:-.8px;margin-bottom:9px;max-width:100%}
  .home-people-head p{font-size:14px;line-height:1.5;max-width:310px}
  .home-people-all{display:inline-flex;margin-top:16px;width:100%;justify-content:center;padding:12px 15px}
  .home-people-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;width:100%}
  .home-person{width:100%;gap:4px;padding:4px 2px}
  .home-person-avatar{width:82px;max-width:82px;padding:3px}
  .home-person-avatar:after{inset:3px;box-shadow:inset 0 0 0 2px #fff}
  .home-person strong{max-width:130px;font-size:12px;margin-top:7px}
  .home-person small{display:block;max-width:130px;font-size:10px}
  .home-person-online{width:14px;height:14px;right:2px;bottom:6px;border-width:3px}
  .home-person-vip{font-size:7px;bottom:-5px}
}

@media(max-width:360px){
  .home-people-head h2{font-size:25px}
  .home-people-list{gap:20px 10px}
  .home-person-avatar{width:74px;max-width:74px}
  .home-person strong,.home-person small{max-width:118px}
}

/* v36 — daily like quota */
.discover-like-quota{display:flex;align-items:center;gap:10px;margin-top:16px;padding:12px 13px;border:1px solid #ece8f7;border-radius:15px;background:linear-gradient(135deg,#fff6fa,#f5f2ff);color:#5d5574;box-shadow:0 6px 20px rgba(72,49,130,.05)}
.discover-like-quota-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#fff;color:#df3f79;font-size:17px;font-weight:950;box-shadow:0 5px 14px rgba(85,55,145,.10)}
.discover-like-quota>div:nth-child(2){min-width:0;display:grid;gap:2px}.discover-like-quota strong{font-size:12px;color:#3d3950}.discover-like-quota small{font-size:10px;line-height:1.35;color:#817b91}.discover-like-quota-count{margin-left:auto;min-width:32px;height:32px;padding:0 8px;border-radius:999px;display:grid;place-items:center;background:#fff;color:#7658df;font-size:13px;font-weight:950;box-shadow:0 5px 14px rgba(85,55,145,.08)}
.discover-like-quota.is-vip{background:linear-gradient(135deg,#fbf4ff,#f1edff);border-color:#dfd4ff}.discover-like-quota.is-vip .discover-like-quota-icon{background:linear-gradient(135deg,#6c49e7,#bc52df);color:#fff}.discover-like-quota.is-vip .discover-like-quota-count{color:#734fd7;font-size:18px}
.discover-like-quota.is-empty{background:linear-gradient(135deg,#fff5f6,#fff8fb);border-color:#ffdce6}.discover-like-quota.is-empty .discover-like-quota-icon,.discover-like-quota.is-empty .discover-like-quota-count{color:#db456f}.discover-action-btn.like.is-limit-reached{background:#f4f2f7!important;color:#aaa5b6!important}
.discover-limit-modal[hidden]{display:none!important}.discover-limit-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:18px}.discover-limit-backdrop{position:absolute;inset:0;background:rgba(16,12,29,.66);backdrop-filter:blur(5px)}.discover-limit-dialog{position:relative;z-index:1;width:min(440px,100%);padding:28px;border-radius:25px;background:#fff;box-shadow:0 30px 90px rgba(17,12,42,.35);text-align:center}.discover-limit-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f3f1f8;color:#706a7e;font-size:25px;line-height:1;cursor:pointer}.discover-limit-heart{width:70px;height:70px;margin:0 auto 14px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#ffedf4,#eee8ff);color:#dd3d78;font-size:34px;box-shadow:0 12px 30px rgba(181,62,120,.14)}.discover-limit-dialog .eyebrow{margin-bottom:8px}.discover-limit-dialog h2{margin:0 0 10px;font-size:26px;line-height:1.08;letter-spacing:-.7px}.discover-limit-dialog>p{margin:0 auto 18px;max-width:340px;color:#777184;font-size:13px;line-height:1.55}.discover-limit-vip{display:flex;gap:11px;align-items:center;text-align:left;padding:13px 14px;margin:0 0 15px;border-radius:16px;background:linear-gradient(135deg,#f5f0ff,#fff4fb)}.discover-limit-vip>span{flex:0 0 auto;padding:7px 9px;border-radius:999px;background:linear-gradient(135deg,#6d4ae6,#bb52df);color:#fff;font-size:11px;font-weight:950}.discover-limit-vip>div{display:grid;gap:2px}.discover-limit-vip strong{font-size:12px}.discover-limit-vip small{font-size:10px;color:#7a718d;line-height:1.35}.discover-limit-buy{width:100%;min-height:48px;border-radius:14px}.discover-limit-later{width:100%;margin-top:8px;min-height:42px;border-radius:14px}.discover-limit-open{overflow:hidden}
@media(max-width:720px){.discover-like-quota{margin-top:10px}.discover-limit-dialog{padding:24px 18px 18px;border-radius:22px}.discover-limit-dialog h2{font-size:23px}.discover-limit-heart{width:62px;height:62px;border-radius:20px;font-size:30px}}

/* v37: freeze discover when the daily free-like limit is exhausted */
.discover-action-btn:disabled,
.discover-action-btn.is-limit-reached{
  opacity:.42;
  filter:grayscale(.2);
  cursor:not-allowed !important;
  transform:none !important;
  pointer-events:none;
}
.swipe-card.is-limit-locked{
  cursor:default !important;
  touch-action:pan-y !important;
}
.swipe-card.is-limit-locked .discover-action-btn{pointer-events:none}

/* v38: prevent mobile scroll anchoring when Discover card is replaced via AJAX */
.discover-profile-area,
.discover-stack,
.discover-card {
  overflow-anchor: none;
}

/* v41 WebRTC video calls */
.chat-callbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid rgba(127,127,160,.16);background:rgba(255,255,255,.72);backdrop-filter:blur(10px)}
.chat-call-person{display:flex;align-items:center;gap:10px;min-width:0}.chat-call-person .avatar{width:42px;height:42px;flex:0 0 42px}.chat-call-person>div{min-width:0}.chat-call-person strong,.chat-call-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-call-person small{font-size:11px;opacity:.62;margin-top:2px}
.video-call-start{border:0;border-radius:999px;padding:10px 15px;background:linear-gradient(135deg,#7b61ff,#ff5ea8);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 10px 24px rgba(123,97,255,.22);white-space:nowrap}.video-call-start:disabled{opacity:.55;cursor:wait}
.video-call-overlay[hidden]{display:none!important}.video-call-overlay{position:fixed;inset:0;z-index:10050;background:#090914;display:flex;align-items:center;justify-content:center}.video-call-shell{position:relative;width:100%;height:100%;overflow:hidden;background:radial-gradient(circle at 50% 20%,#292449 0,#11111d 45%,#08080f 100%)}
.video-call-remote{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#090914;opacity:0;transition:opacity .25s ease}.video-call-remote.has-video{opacity:1}.video-call-local{position:absolute;right:max(18px,env(safe-area-inset-right));top:max(76px,calc(env(safe-area-inset-top) + 58px));width:min(25vw,190px);aspect-ratio:3/4;object-fit:cover;border-radius:20px;background:#222;box-shadow:0 12px 35px rgba(0,0,0,.4);border:2px solid rgba(255,255,255,.7);z-index:3;transform:scaleX(-1)}
.video-call-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;padding:28px;z-index:1}.video-call-empty[hidden]{display:none!important}.video-call-avatar{width:120px;height:120px;border-radius:50%;overflow:hidden;border:4px solid rgba(255,255,255,.2);box-shadow:0 12px 40px rgba(0,0,0,.3)}.video-call-avatar img{width:100%;height:100%;object-fit:cover}.video-call-empty h2{margin:18px 0 5px;font-size:30px}.video-call-empty p{margin:0;opacity:.72}
.video-call-top{position:absolute;top:0;left:0;right:0;z-index:4;padding:max(18px,env(safe-area-inset-top)) 20px 20px;color:#fff;background:linear-gradient(to bottom,rgba(0,0,0,.48),transparent)}.video-call-top div{display:flex;gap:12px;align-items:center}.video-call-top span{font-size:12px;opacity:.72}
.video-call-controls{position:absolute;left:0;right:0;bottom:max(24px,calc(env(safe-area-inset-bottom) + 18px));display:flex;justify-content:center;gap:14px;z-index:5}.video-call-controls[hidden],.video-call-incoming[hidden]{display:none!important}.call-round{width:58px;height:58px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:24px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(12px);box-shadow:0 8px 25px rgba(0,0,0,.2)}.call-round.is-off{background:rgba(255,255,255,.08);opacity:.7}.call-decline{background:#ef4444!important}.call-accept{background:#22c55e!important}
.video-call-incoming{position:absolute;left:50%;bottom:max(34px,calc(env(safe-area-inset-bottom) + 24px));transform:translateX(-50%);width:min(92vw,390px);z-index:6;background:rgba(20,20,34,.86);color:#fff;padding:20px;border-radius:24px;text-align:center;backdrop-filter:blur(18px);box-shadow:0 20px 60px rgba(0,0,0,.45)}.video-call-incoming strong,.video-call-incoming span{display:block}.video-call-incoming span{margin-top:7px;opacity:.72;font-size:13px}.video-call-incoming>div{display:flex;justify-content:center;gap:32px;margin-top:18px}
body.video-call-open{overflow:hidden}
@media(max-width:620px){.video-call-start span{display:none}.video-call-start{width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;font-size:19px}.chat-callbar{padding:9px 10px}.chat-call-person small{max-width:190px}.video-call-local{width:30vw;max-width:132px;right:12px;top:max(68px,calc(env(safe-area-inset-top) + 52px));border-radius:15px}.call-round{width:54px;height:54px}.video-call-controls{gap:10px}.video-call-empty h2{font-size:26px}}
/* v53: local emoji images — independent of the OS emoji font */
.emoji-toggle img{display:block;width:28px;height:28px;object-fit:contain;pointer-events:none}
.emoji-item{font-size:0;overflow:hidden}
.emoji-item img{display:block;width:34px;height:34px;object-fit:contain;pointer-events:none;transition:transform .12s ease}
.emoji-item:hover img{transform:scale(1.12)}
@media(max-width:650px){.emoji-item img{width:32px;height:32px}}

/* v54: render chat emoji as local images inside messages */
.msg-text{white-space:normal}
.chat-emoji-inline{display:inline-block;width:25px;height:25px;object-fit:contain;vertical-align:-6px;margin:0 1px;user-select:none;pointer-events:none}
@media(max-width:700px){.chat-emoji-inline{width:24px;height:24px;vertical-align:-6px}}

/* v55: clickable chat partner + VIP photo attachments */
.chat-profile-link{color:inherit;text-decoration:none;border-radius:14px;padding:3px 6px 3px 0;transition:background .15s,transform .15s}
.chat-profile-link:hover{background:#f6f3ff;transform:translateY(-1px)}
.chat-profile-link strong{text-decoration:none}.chat-profile-link:hover strong{color:#6b4ee8}
.chat-photo-btn{width:46px;min-width:46px;height:46px;border:1px solid #ddd;border-radius:12px;background:#fff;cursor:pointer;font-size:22px;display:grid;place-items:center;transition:.15s}
.chat-photo-btn.is-vip:hover{background:#fff5fb;border-color:#e7a5ca;transform:translateY(-1px)}
.chat-photo-btn.is-locked{opacity:.72;background:#f6f5f8}.chat-photo-btn.is-loading{opacity:.55;pointer-events:none}
.msg.has-photo{padding:6px;max-width:min(78%,420px)}
.chat-photo-link{display:block;border-radius:12px;overflow:hidden;line-height:0;background:#eee}
.chat-photo{display:block;width:auto;height:auto;max-width:100%;max-height:360px;object-fit:cover;border-radius:12px}
.msg.has-photo .msg-text{display:block;padding:7px 7px 2px;line-height:1.4}
.msg.has-photo>div:last-child{padding:0 7px 3px}
@media(max-width:650px){.chat-photo-btn{width:42px;min-width:42px;height:42px}.chat-photo{max-height:300px}.msg.has-photo{max-width:86%}}

/* v56: AJAX/lightbox photo viewer inside chat */
.chat-photo-link{cursor:zoom-in;transition:transform .18s ease,box-shadow .18s ease}
.chat-photo-link:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(31,24,62,.16)}
.chat-photo-viewer[hidden]{display:none!important}
.chat-photo-viewer{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:22px;opacity:0;transition:opacity .18s ease}
.chat-photo-viewer.is-open{opacity:1}
.chat-photo-viewer-backdrop{position:absolute;inset:0;border:0;background:rgba(13,11,22,.86);backdrop-filter:blur(7px);cursor:zoom-out}
.chat-photo-viewer-dialog{position:relative;z-index:1;width:min(1100px,94vw);height:min(88vh,900px);display:grid;place-items:center;pointer-events:none;transform:scale(.975);transition:transform .18s ease}
.chat-photo-viewer.is-open .chat-photo-viewer-dialog{transform:scale(1)}
.chat-photo-viewer-stage{max-width:100%;max-height:100%;display:grid;place-items:center;pointer-events:auto}
.chat-photo-viewer-stage img{display:block;max-width:100%;max-height:88vh;width:auto;height:auto;object-fit:contain;border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.42);background:#16141f}
.chat-photo-viewer-close{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));z-index:2;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:32px;line-height:1;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(8px);pointer-events:auto;transition:.15s}
.chat-photo-viewer-close:hover{background:rgba(255,255,255,.24);transform:scale(1.05)}
.chat-photo-viewer-open{overflow:hidden}
@media(max-width:650px){
 .chat-photo-viewer{padding:10px}
 .chat-photo-viewer-dialog{width:100%;height:100%}
 .chat-photo-viewer-stage img{max-width:100%;max-height:92dvh;border-radius:12px}
 .chat-photo-viewer-close{width:42px;height:42px;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));font-size:29px}
}

/* v57: delete own chat photos + block-aware composer */
.chat-blocked-notice{flex:0 0 auto;margin:0;border-top:1px solid #eee;padding:15px 18px;background:linear-gradient(135deg,#fff4f7,#f7f3ff);color:#8a3457;font-weight:800;font-size:14px;line-height:1.45;text-align:center}
.chat-blocked-notice[hidden]{display:none!important}
.msg.has-photo{position:relative}
.chat-photo-delete{position:absolute;top:10px;right:10px;z-index:3;width:34px;height:34px;border:0;border-radius:50%;background:rgba(20,18,30,.72);color:#fff;display:grid;place-items:center;cursor:pointer;font-size:16px;line-height:1;box-shadow:0 5px 16px rgba(0,0,0,.18);backdrop-filter:blur(5px);opacity:.88;transition:.15s}
.chat-photo-delete:hover{opacity:1;transform:scale(1.06);background:rgba(205,43,91,.9)}
.chat-photo-delete:disabled{opacity:.45;cursor:wait;transform:none}
.video-call-start:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.35)}
@media(max-width:650px){.chat-blocked-notice{padding:13px 12px;font-size:13px}.chat-photo-delete{width:32px;height:32px;top:8px;right:8px}}

/* v58 photo moderation + Real verification */
.real-badge{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;margin-left:7px;padding:4px 8px;border-radius:999px;background:linear-gradient(135deg,#12b981,#0e9f6e);color:#fff;font-size:10px;font-weight:950;letter-spacing:.2px;box-shadow:0 5px 14px rgba(16,185,129,.18)}
.discover-real-badge{position:absolute;right:14px;top:14px;z-index:3;padding:7px 10px;border-radius:999px;background:linear-gradient(135deg,#15b985,#0f9d72);color:#fff;font-size:11px;font-weight:950;box-shadow:0 7px 20px rgba(15,157,114,.25)}
.moderation-pending-card{border-color:#f1df9a;background:linear-gradient(180deg,#fffdf5,#fff)}
.pending-photo-card{position:relative;filter:saturate(.88)}
.moderation-pending-label{position:absolute;left:8px;top:8px;z-index:2;padding:6px 9px;border-radius:999px;background:#fff3c4;color:#765600;font-size:9px;font-weight:950;box-shadow:0 4px 14px rgba(100,80,0,.12)}
.moderation-count{display:inline-flex;padding:7px 10px;border-radius:999px;background:#fff5cf;color:#765600;font-size:11px;font-weight:900}
.album-pending-panel{margin-top:18px;background:#fffdf7;border-color:#f2e5b3}
@media(max-width:700px){.real-badge{margin-left:3px;margin-top:5px}.discover-real-badge{top:52px;right:14px}}

.photo-moderation-hint{margin:10px 0 0;padding:10px 12px;border-radius:13px;background:#f7f5ff;color:#6c6680;font-size:11px;line-height:1.45}.photo-moderation-hint strong{color:#0f946d}

/* v60: compact Real verification, reliable SVG eye, aligned navigation */
.real-badge{width:20px;height:20px;padding:0;margin-left:6px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#15b985,#0f9d72);color:#fff;font-size:13px;font-weight:950;line-height:1;vertical-align:middle;letter-spacing:0;box-shadow:0 4px 12px rgba(15,157,114,.2)}
.discover-real-badge{position:absolute;right:14px;top:14px;z-index:4;width:30px;height:30px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#15b985,#0f9d72);color:#fff;font-size:18px;font-weight:950;line-height:1;box-shadow:0 7px 20px rgba(15,157,114,.25)}
.button-symbol{display:inline-flex;align-items:center;justify-content:center;line-height:1;flex:0 0 auto}
.button-eye-icon svg{display:block;width:18px;height:18px}
.navlinks a{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.2;white-space:nowrap}
.nav-symbol{display:inline-flex;align-items:center;justify-content:center;width:1.2em;height:1.2em;line-height:1;flex:0 0 1.2em;vertical-align:middle;transform:none}
@media(max-width:700px){.real-badge{margin-left:4px;margin-top:0}.discover-real-badge{top:52px;right:14px}.navlinks a{justify-content:flex-start}}

/* v61 VIP themes */
.theme-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 18px}.theme-choice{cursor:pointer}.theme-choice input{position:absolute;opacity:0;pointer-events:none}.theme-preview{display:flex;flex-direction:column;gap:4px;min-height:112px;padding:18px;border:2px solid transparent;border-radius:22px;transition:.18s ease;box-shadow:0 8px 26px rgba(23,20,50,.08)}.theme-preview b{font-size:17px}.theme-preview small{opacity:.72}.theme-preview-light{background:linear-gradient(145deg,#fff,#f7f4ff);color:#242137;border-color:#e7e0f8}.theme-preview-dark{background:linear-gradient(145deg,#242432,#11121a);color:#f7f3ff;border-color:#3e3f54}.theme-choice input:checked+.theme-preview{border-color:#a855f7;box-shadow:0 0 0 3px rgba(168,85,247,.14),0 10px 30px rgba(84,49,140,.18);transform:translateY(-1px)}.theme-choice-grid.is-locked{opacity:.56;filter:saturate(.65)}.theme-vip-lock{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;border-radius:16px;background:#faf7ff}.theme-vip-lock span{color:var(--muted,#777)}.theme-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.theme-panel-head h2{margin-top:0}

html.theme-dark{color-scheme:dark;background:#0f1017}html.theme-dark body{background:#0f1017;color:#f2f3f8}html.theme-dark .topbar{background:rgba(18,19,28,.96);border-color:#2d2f3d}html.theme-dark .brand{color:#ff4aad}html.theme-dark .navlinks a{color:#d9d9e6}html.theme-dark .navlinks a:hover,html.theme-dark .premium-nav{color:#c48cff}html.theme-dark .page,html.theme-dark main{background:#0f1017}html.theme-dark .panel,html.theme-dark .card,html.theme-dark .profile-card,html.theme-dark .discover-card,html.theme-dark .chat-shell,html.theme-dark .chat-list,html.theme-dark .chat-main,html.theme-dark .game-card,html.theme-dark .story-card,html.theme-dark .modal-card{background:#191a24!important;color:#f2f3f8;border-color:#2b2d3b!important;box-shadow:0 16px 40px rgba(0,0,0,.28)}html.theme-dark .muted,html.theme-dark small,html.theme-dark .subtle{color:#a9abba!important}html.theme-dark input,html.theme-dark textarea,html.theme-dark select{background:#11121a!important;color:#f4f4f8!important;border-color:#383a49!important}html.theme-dark input::placeholder,html.theme-dark textarea::placeholder{color:#7f8190}html.theme-dark .btn-light{background:#252735;color:#f3f3f8;border-color:#3a3c4d}html.theme-dark .promo-strip{background:#14151e;border-color:#2b2d3b}html.theme-dark .promo-person{background:#1c1d28;border-color:#303242;color:#f2f3f8}html.theme-dark .eyebrow{background:#2b2041;color:#d9b6ff}html.theme-dark .flash{background:#183429;color:#c8f7df;border-color:#25513f}html.theme-dark .theme-vip-lock{background:#222330}html.theme-dark a{color:#b98cff}html.theme-dark .message-row .bubble,html.theme-dark .message-bubble{background:#252735;color:#f5f5f8}html.theme-dark .message-row.mine .bubble,html.theme-dark .message.mine .message-bubble{background:linear-gradient(135deg,#8247e5,#d93d9d);color:white}html.theme-dark hr{border-color:#2d2f3d}
@media(max-width:760px){.theme-choice-grid{grid-template-columns:1fr}.theme-preview{min-height:88px}}


/* v62 — complete VIP dark theme */
html.theme-dark{
  --dark-bg:#0f1017;
  --dark-surface:#181a24;
  --dark-surface-2:#20222e;
  --dark-surface-3:#272a38;
  --dark-border:#303342;
  --dark-text:#f4f5fb;
  --dark-muted:#a9adbd;
  --dark-soft:#84899b;
  --dark-accent:#b58cff;
  --dark-pink:#ff4fa6;
}
html.theme-dark body{background:var(--dark-bg)!important;color:var(--dark-text)!important}
html.theme-dark h1,html.theme-dark h2,html.theme-dark h3,html.theme-dark h4,html.theme-dark h5,html.theme-dark h6,
html.theme-dark strong{color:var(--dark-text)}
html.theme-dark p,html.theme-dark li,html.theme-dark label,html.theme-dark .card-name,html.theme-dark .blocked-info strong{color:var(--dark-text)}
html.theme-dark .muted,html.theme-dark .card-meta,html.theme-dark .card-bio,html.theme-dark .subtle,
html.theme-dark .discover-sidebar-head p,html.theme-dark .discover-tip small,html.theme-dark .field label,
html.theme-dark .discover-filters label{color:var(--dark-muted)!important}
html.theme-dark .topbar{background:rgba(15,16,23,.94)!important;border-color:var(--dark-border)!important;box-shadow:0 10px 30px rgba(0,0,0,.15)}
html.theme-dark .navlinks a{color:#d8dae5!important}
html.theme-dark .navlinks a:hover,html.theme-dark .navlinks a.active{background:#252337!important;color:#d7c5ff!important}
html.theme-dark .premium-nav{color:#bd8cff!important}

html.theme-dark .discover-sidebar,
html.theme-dark .discover-profile-area,
html.theme-dark .discover-empty,
html.theme-dark .filters,
html.theme-dark .panel,
html.theme-dark .card,
html.theme-dark .profile-card,
html.theme-dark .auth-card,
html.theme-dark .chat-list,
html.theme-dark .chat-window,
html.theme-dark .game-card,
html.theme-dark .story-card,
html.theme-dark .modal-card,
html.theme-dark .album-manage-panel,
html.theme-dark .album-pending-panel,
html.theme-dark .blocked-item,
html.theme-dark .theme-panel,
html.theme-dark .settings-card{
  background:var(--dark-surface)!important;
  color:var(--dark-text)!important;
  border-color:var(--dark-border)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.28)!important;
}
html.theme-dark .discover-sidebar{background:linear-gradient(180deg,#191b26 0%,#151720 100%)!important}
html.theme-dark .discover-empty{background:linear-gradient(145deg,#1b1d28,#161821)!important;border-style:dashed!important}
html.theme-dark .discover-empty-icon{color:#a995ea!important}
html.theme-dark .discover-empty h2{color:var(--dark-text)!important}
html.theme-dark .discover-empty p{color:var(--dark-muted)!important}

html.theme-dark input,html.theme-dark textarea,html.theme-dark select,
html.theme-dark .discover-filters input,html.theme-dark .discover-filters select,
html.theme-dark .composer input{
  background:#11131b!important;
  color:#f6f7fb!important;
  border-color:#3a3d4d!important;
  box-shadow:none!important;
}
html.theme-dark input::placeholder,html.theme-dark textarea::placeholder{color:#707587!important}
html.theme-dark select:disabled,html.theme-dark input:disabled,html.theme-dark textarea:disabled{
  background:#242631!important;color:#8e93a5!important;opacity:1!important
}
html.theme-dark .field input:focus,html.theme-dark .field select:focus,html.theme-dark .field textarea:focus,
html.theme-dark .discover-filters input:focus,html.theme-dark .discover-filters select:focus{
  border-color:#8e70ef!important;box-shadow:0 0 0 4px rgba(142,112,239,.14)!important
}
html.theme-dark option{background:#171923;color:#f2f3f7}

html.theme-dark .btn-light,html.theme-dark .discover-limit-later{
  background:#272a37!important;color:#f4f5fb!important;border-color:#3b3e4d!important
}
html.theme-dark .btn-light:hover,html.theme-dark .discover-limit-later:hover{background:#303442!important}
html.theme-dark .btn-danger{background:#3a1d28!important;color:#ff92b5!important}
html.theme-dark .btn-primary{color:#fff!important}

html.theme-dark .discover-tip{
  background:linear-gradient(135deg,#29243e,#222436)!important;color:#d4c5ff!important;border:1px solid #3a3452
}
html.theme-dark .discover-like-quota{
  background:linear-gradient(135deg,#242334,#1e202c)!important;border-color:#3b3c50!important;color:#d8d7e3!important
}
html.theme-dark .discover-like-quota strong{color:#f4f5fb!important}
html.theme-dark .discover-like-quota small{color:#aaa9ba!important}
html.theme-dark .discover-like-quota-icon,html.theme-dark .discover-like-quota-count{background:#313344!important}
html.theme-dark .discover-like-quota.is-vip{
  background:linear-gradient(135deg,#2a2139,#222139)!important;border-color:#493a68!important
}
html.theme-dark .discover-like-quota.is-empty{background:linear-gradient(135deg,#32212a,#29212b)!important;border-color:#51313e!important}

html.theme-dark .discover-limit-dialog{background:#1a1c26!important;color:var(--dark-text)!important;border:1px solid var(--dark-border)}
html.theme-dark .discover-limit-dialog>p{color:var(--dark-muted)!important}
html.theme-dark .discover-limit-close{background:#2b2d39!important;color:#dddfea!important}
html.theme-dark .discover-limit-heart{background:linear-gradient(135deg,#3a2130,#292241)!important}
html.theme-dark .discover-limit-vip{background:linear-gradient(135deg,#2c2440,#322231)!important}
html.theme-dark .discover-limit-vip small{color:#b2adbf!important}

html.theme-dark .empty{background:var(--dark-surface)!important;border-color:#3a3d4d!important;color:var(--dark-text)!important}
html.theme-dark .eyebrow{background:#2d2441!important;color:#d9c1ff!important}
html.theme-dark .promo-strip{background:#12141d!important;border-color:var(--dark-border)!important}
html.theme-dark .promo-person{background:#1b1e29!important;border-color:#313544!important;color:var(--dark-text)!important}
html.theme-dark .home-person{color:var(--dark-text)!important}
html.theme-dark .home-person small{color:var(--dark-muted)!important}
html.theme-dark .home-people-all{background:#20232f!important;border-color:#343746!important;color:#c7aaff!important}

html.theme-dark .chat-callbar{background:rgba(25,27,37,.88)!important;border-color:var(--dark-border)!important}
html.theme-dark .chat-list a{border-color:#2a2d3a!important;color:var(--dark-text)!important}
html.theme-dark .chat-list a:hover{background:#212330!important}
html.theme-dark .chat-list a.active{background:#2d2940!important;color:#d7c6ff!important}
html.theme-dark .composer{background:#171923!important;border-color:#303341!important}
html.theme-dark .emoji-toggle{background:#252834!important;border-color:#3a3d4b!important;color:#fff!important}
html.theme-dark .emoji-picker{background:#1c1f2a!important;border-color:#363948!important}
html.theme-dark .emoji-item:hover{background:#2b2d3b!important}
html.theme-dark .msg{background:#282b38!important;color:#f3f4f8!important}
html.theme-dark .msg.mine{background:linear-gradient(135deg,#7d4ee8,#d83f9f)!important;color:#fff!important}

html.theme-dark .profile-story-empty,html.theme-dark .album-empty{
  background:linear-gradient(145deg,#1d202a,#171923)!important;border-color:#3a3d4b!important;color:var(--dark-text)!important
}
html.theme-dark .profile-story-empty span,html.theme-dark .album-empty span{color:var(--dark-muted)!important}
html.theme-dark .photo,html.theme-dark .avatar,html.theme-dark .photo-tile{background:#262936!important}
html.theme-dark .photo .online{background:#262936!important;color:#f4f5fb!important}
html.theme-dark .photo-tile .primary{background:#242733!important;color:#f4f5fb!important}

html.theme-dark .theme-preview-light{background:linear-gradient(145deg,#fff,#f7f4ff)!important;color:#242137!important}
html.theme-dark .theme-preview-dark{background:linear-gradient(145deg,#282a36,#12131a)!important;color:#f7f3ff!important}
html.theme-dark .theme-vip-lock{background:#222531!important;border:1px solid #323543}

html.theme-dark .notification-row{border-color:#2c2f3d!important}
html.theme-dark .flash{background:#173126!important;color:#c7f3da!important;border-color:#28503f!important}
html.theme-dark hr{border-color:var(--dark-border)!important}
html.theme-dark ::-webkit-scrollbar{width:10px;height:10px}
html.theme-dark ::-webkit-scrollbar-track{background:#12141b}
html.theme-dark ::-webkit-scrollbar-thumb{background:#373a49;border-radius:20px;border:2px solid #12141b}
html.theme-dark ::-webkit-scrollbar-thumb:hover{background:#464a5c}

/* v63 — VIP Neon theme */
.theme-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.theme-preview-neon{
  background:
    radial-gradient(circle at 18% 20%,rgba(255,49,182,.28),transparent 36%),
    radial-gradient(circle at 82% 80%,rgba(95,73,255,.30),transparent 38%),
    linear-gradient(145deg,#0a0913,#11101e 58%,#0c0b17);
  color:#fff;
  border-color:#9b5cff;
  box-shadow:0 0 0 1px rgba(255,64,190,.20),0 0 24px rgba(151,71,255,.22),inset 0 0 24px rgba(255,70,183,.05)
}
.theme-preview-neon b{color:#ff6fc8;text-shadow:0 0 12px rgba(255,82,191,.55)}
.theme-preview-neon small{color:#c7baf5}

html.theme-neon{
  color-scheme:dark;
  --neon-bg:#080811;
  --neon-bg2:#0d0d18;
  --neon-card:#121321;
  --neon-card2:#17182a;
  --neon-border:#31334b;
  --neon-text:#f6f2ff;
  --neon-muted:#aaa4c1;
  --neon-pink:#ff3da9;
  --neon-purple:#8b5cff;
  --neon-cyan:#5be7ff;
  background:
    radial-gradient(circle at 8% 8%,rgba(255,61,169,.10),transparent 30%),
    radial-gradient(circle at 88% 18%,rgba(91,231,255,.08),transparent 28%),
    radial-gradient(circle at 50% 100%,rgba(139,92,255,.12),transparent 35%),
    var(--neon-bg)!important;
}
html.theme-neon body{
  background:
    radial-gradient(circle at 8% 8%,rgba(255,61,169,.10),transparent 30%),
    radial-gradient(circle at 88% 18%,rgba(91,231,255,.08),transparent 28%),
    linear-gradient(180deg,#080811 0%,#0b0b15 100%)!important;
  color:var(--neon-text)!important;
}
html.theme-neon .page,html.theme-neon main{background:transparent!important}
html.theme-neon .topbar{
  background:rgba(10,10,19,.94)!important;
  border-bottom:1px solid rgba(139,92,255,.36)!important;
  box-shadow:0 8px 30px rgba(0,0,0,.35),0 0 24px rgba(255,61,169,.08)
}
html.theme-neon .brand{
  color:#ff53b5!important;
  text-shadow:0 0 8px rgba(255,61,169,.55),0 0 20px rgba(255,61,169,.22)
}
html.theme-neon .navlinks a{color:#ddd8ef!important}
html.theme-neon .navlinks a:hover,html.theme-neon .navlinks a.active{
  color:#fff!important;
  background:linear-gradient(135deg,rgba(255,61,169,.15),rgba(139,92,255,.17))!important;
  box-shadow:inset 0 0 0 1px rgba(185,111,255,.20),0 0 14px rgba(139,92,255,.10)
}
html.theme-neon .premium-nav{color:#b895ff!important;text-shadow:0 0 10px rgba(139,92,255,.45)}

html.theme-neon .panel,
html.theme-neon .card,
html.theme-neon .profile-card,
html.theme-neon .auth-card,
html.theme-neon .discover-sidebar,
html.theme-neon .discover-profile-area,
html.theme-neon .discover-empty,
html.theme-neon .chat-list,
html.theme-neon .chat-window,
html.theme-neon .chat-main,
html.theme-neon .game-card,
html.theme-neon .story-card,
html.theme-neon .modal-card,
html.theme-neon .settings-card,
html.theme-neon .album-manage-panel,
html.theme-neon .album-pending-panel,
html.theme-neon .blocked-item,
html.theme-neon .theme-settings-panel{
  background:linear-gradient(145deg,rgba(20,21,36,.98),rgba(13,14,25,.98))!important;
  color:var(--neon-text)!important;
  border:1px solid rgba(116,94,191,.34)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.32),0 0 26px rgba(112,68,255,.06)!important;
}
html.theme-neon .discover-sidebar{box-shadow:0 18px 42px rgba(0,0,0,.30),0 0 24px rgba(255,61,169,.07)!important}
html.theme-neon .discover-empty{
  border-style:dashed!important;
  border-color:rgba(139,92,255,.48)!important;
  background:
    radial-gradient(circle at 50% 40%,rgba(139,92,255,.12),transparent 35%),
    linear-gradient(145deg,#141521,#0f101b)!important
}
html.theme-neon h1,html.theme-neon h2,html.theme-neon h3,html.theme-neon h4,html.theme-neon h5,html.theme-neon h6,
html.theme-neon strong,html.theme-neon label,html.theme-neon .card-name{color:var(--neon-text)!important}
html.theme-neon .muted,html.theme-neon small,html.theme-neon .subtle,html.theme-neon .card-meta,html.theme-neon .card-bio,
html.theme-neon .discover-empty p,html.theme-neon .discover-sidebar-head p{color:var(--neon-muted)!important}
html.theme-neon .eyebrow{
  background:linear-gradient(135deg,rgba(255,61,169,.16),rgba(139,92,255,.18))!important;
  color:#ff8bcc!important;
  border:1px solid rgba(255,83,181,.20)
}

html.theme-neon input,html.theme-neon textarea,html.theme-neon select,
html.theme-neon .discover-filters input,html.theme-neon .discover-filters select,
html.theme-neon .composer input{
  background:#0d0e18!important;
  color:#f8f5ff!important;
  border-color:#383a54!important;
  box-shadow:inset 0 0 0 1px rgba(139,92,255,.03)
}
html.theme-neon input:focus,html.theme-neon textarea:focus,html.theme-neon select:focus,
html.theme-neon .discover-filters input:focus,html.theme-neon .discover-filters select:focus{
  border-color:#a86cff!important;
  box-shadow:0 0 0 3px rgba(139,92,255,.16),0 0 18px rgba(255,61,169,.08)!important;
  outline:none!important
}
html.theme-neon input::placeholder,html.theme-neon textarea::placeholder{color:#716e85!important}
html.theme-neon option{background:#10111d;color:#fff}
html.theme-neon input:disabled,html.theme-neon textarea:disabled,html.theme-neon select:disabled{background:#171824!important;color:#7f7a91!important}

html.theme-neon .btn-primary,
html.theme-neon button.btn-primary,
html.theme-neon .discover-filters .btn-primary{
  background:linear-gradient(135deg,#ff3da9 0%,#9a55ff 58%,#6a58ff 100%)!important;
  color:#fff!important;
  border:none!important;
  box-shadow:0 0 18px rgba(255,61,169,.22),0 0 30px rgba(139,92,255,.16)!important
}
html.theme-neon .btn-primary:hover,
html.theme-neon button.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 0 22px rgba(255,61,169,.35),0 0 38px rgba(139,92,255,.24)!important
}
html.theme-neon .btn-light,html.theme-neon .discover-limit-later{
  background:#191a2a!important;color:#eeeaff!important;border-color:#3a3d58!important
}
html.theme-neon .btn-light:hover,html.theme-neon .discover-limit-later:hover{
  background:#22243a!important;border-color:#795dca!important;box-shadow:0 0 16px rgba(139,92,255,.10)
}
html.theme-neon .btn-danger{background:#321323!important;color:#ff83bd!important;border-color:#5c2442!important}

html.theme-neon .promo-strip{background:#0c0d17!important;border-color:#282a42!important}
html.theme-neon .promo-person{
  background:linear-gradient(145deg,#171827,#11121e)!important;
  border-color:#33364e!important;
  color:#f7f4ff!important;
  box-shadow:0 0 16px rgba(139,92,255,.05)
}
html.theme-neon .promo-person:hover{border-color:#8b5cff!important;box-shadow:0 0 18px rgba(139,92,255,.14)}
html.theme-neon .vip-mini{background:linear-gradient(135deg,#8d4dff,#ff46aa)!important;color:#fff!important;box-shadow:0 0 10px rgba(151,80,255,.28)}

html.theme-neon .discover-like-quota,
html.theme-neon .discover-tip{
  background:linear-gradient(135deg,#17182a,#121320)!important;
  border-color:#393b56!important;
  color:#f5f2ff!important
}
html.theme-neon .discover-like-quota.is-vip{
  background:linear-gradient(135deg,rgba(139,92,255,.18),rgba(255,61,169,.15))!important;
  border-color:rgba(167,100,255,.42)!important;
  box-shadow:0 0 22px rgba(139,92,255,.08)
}
html.theme-neon .discover-like-quota-icon,html.theme-neon .discover-like-quota-count{background:#26283b!important;color:#efeaff!important}
html.theme-neon .discover-limit-dialog{background:#141522!important;border-color:#3e4160!important;color:#fff!important}

html.theme-neon .message-row .bubble,html.theme-neon .message-bubble{
  background:#1b1d2e!important;color:#f8f5ff!important;border:1px solid #30334c!important
}
html.theme-neon .message-row.mine .bubble,html.theme-neon .message.mine .message-bubble{
  background:linear-gradient(135deg,#7d45e8,#e1379f)!important;
  color:#fff!important;border:none!important;
  box-shadow:0 0 16px rgba(180,54,199,.16)
}
html.theme-neon .chat-list a:hover,html.theme-neon .chat-list .active{background:#1d1f31!important;box-shadow:inset 3px 0 0 #a95cff}

html.theme-neon .flash{background:#10261f!important;color:#bff8de!important;border-color:#255342!important}
html.theme-neon hr{border-color:#2c2f45!important}
html.theme-neon ::-webkit-scrollbar{width:10px;height:10px}
html.theme-neon ::-webkit-scrollbar-track{background:#0b0c15}
html.theme-neon ::-webkit-scrollbar-thumb{background:linear-gradient(#6d4bb5,#b3419a);border-radius:99px;border:2px solid #0b0c15}

@media(max-width:760px){.theme-choice-grid{grid-template-columns:1fr}}

/* v64 — profile polish for Dark + brighter Neon */
html.theme-dark .my-profile-hero{
  background:linear-gradient(145deg,#1c1f2a 0%,#171923 58%,#201d2b 100%)!important;
  border-color:#343746!important;
  box-shadow:0 18px 48px rgba(0,0,0,.34)!important;
}
html.theme-dark .my-profile-hero:after{
  background:radial-gradient(circle,rgba(144,105,255,.14),rgba(255,79,166,.06) 48%,transparent 72%)!important;
}
html.theme-dark .my-profile-bio{color:#bcc0cf!important}
html.theme-dark .profile-stat-row>div{
  background:#242733!important;
  border-color:#383b49!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
html.theme-dark .profile-stat-row span{color:#9ea3b4!important}
html.theme-dark .profile-section-card{
  background:linear-gradient(145deg,#1c1f2a,#171923)!important;
  border-color:#343746!important;
  box-shadow:0 16px 42px rgba(0,0,0,.28)!important;
}
html.theme-dark .new-album-box{
  background:#20232f!important;
  border:1px solid #343746!important;
}
html.theme-dark .album-card{
  background:#20232f!important;
  border-color:#363947!important;
}
html.theme-dark .album-cover{background:linear-gradient(135deg,#282b38,#1a1c26)!important}
html.theme-dark .album-card-body small{color:#9da2b2!important}
html.theme-dark .profile-upload-bar{border-color:#313442!important}
html.theme-dark .upload-file{background:#1b1e28!important;border-color:#45495b!important;color:#c8b8ff!important}
html.theme-dark .profile-upload-bar select{background:#151720!important;color:#f4f5fb!important;border-color:#3c4050!important}
html.theme-dark .profile-photo-empty{background:#181a23!important;border-color:#3a3d4d!important;color:#a9adbd!important}
html.theme-dark .profile-story-tile{border-color:#3b3e4d!important}
html.theme-dark .profile-action-strip .btn-light{box-shadow:0 8px 22px rgba(0,0,0,.18)!important}

html.theme-neon{
  --neon-bg:#10051a;
  --neon-bg2:#170727;
  --neon-card:#221033;
  --neon-card2:#2b1242;
  --neon-border:#7c3d9f;
  --neon-text:#fff7ff;
  --neon-muted:#d8bee6;
  --neon-pink:#ff2ebd;
  --neon-purple:#a34dff;
  --neon-cyan:#53e9ff;
  background:
    radial-gradient(circle at 7% 12%,rgba(255,46,189,.28),transparent 30%),
    radial-gradient(circle at 88% 16%,rgba(83,233,255,.18),transparent 28%),
    radial-gradient(circle at 50% 100%,rgba(163,77,255,.24),transparent 42%),
    linear-gradient(180deg,#12051d 0%,#0c0615 100%)!important;
}
html.theme-neon body{
  background:
    radial-gradient(circle at 10% 10%,rgba(255,46,189,.22),transparent 28%),
    radial-gradient(circle at 88% 18%,rgba(83,233,255,.14),transparent 27%),
    radial-gradient(circle at 50% 88%,rgba(163,77,255,.20),transparent 36%),
    linear-gradient(180deg,#12051d 0%,#0b0613 100%)!important;
}
html.theme-neon .topbar{
  background:linear-gradient(90deg,rgba(31,8,45,.96),rgba(13,8,29,.95),rgba(19,8,35,.96))!important;
  border-bottom-color:rgba(255,76,202,.52)!important;
  box-shadow:0 8px 32px rgba(0,0,0,.34),0 0 26px rgba(255,46,189,.18)!important;
}
html.theme-neon .brand{
  background:linear-gradient(90deg,#ff4bc6,#d56aff,#66edff)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
  text-shadow:0 0 14px rgba(255,75,198,.34)!important;
}
html.theme-neon .my-profile-hero{
  background:
    radial-gradient(circle at 84% 12%,rgba(83,233,255,.16),transparent 30%),
    radial-gradient(circle at 15% 90%,rgba(255,46,189,.18),transparent 34%),
    linear-gradient(135deg,#2a0e3c 0%,#25103b 48%,#15132d 100%)!important;
  border:1px solid rgba(255,77,199,.62)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.30),0 0 34px rgba(255,46,189,.18),0 0 50px rgba(83,233,255,.08)!important;
}
html.theme-neon .my-profile-hero:after{
  background:radial-gradient(circle,rgba(83,233,255,.30),rgba(163,77,255,.18) 44%,transparent 72%)!important;
}
html.theme-neon .my-profile-avatar{
  background:linear-gradient(135deg,#ff2ebd,#a34dff,#53e9ff)!important;
  box-shadow:0 0 22px rgba(255,46,189,.34),0 0 34px rgba(83,233,255,.14)!important;
}
html.theme-neon .my-profile-avatar img{border-color:#1d0b2b!important}
html.theme-neon .my-profile-bio{color:#ebd9f5!important}
html.theme-neon .profile-stat-row>div{
  background:linear-gradient(145deg,rgba(48,21,67,.96),rgba(27,19,53,.96))!important;
  border-color:rgba(255,89,205,.34)!important;
  box-shadow:0 0 18px rgba(163,77,255,.10),inset 0 1px 0 rgba(255,255,255,.03)!important;
}
html.theme-neon .profile-stat-row strong{color:#fff!important;text-shadow:0 0 10px rgba(255,255,255,.10)}
html.theme-neon .profile-stat-row span{color:#d9c6e6!important}
html.theme-neon .profile-section-card{
  background:
    radial-gradient(circle at 95% 0%,rgba(83,233,255,.10),transparent 28%),
    radial-gradient(circle at 5% 100%,rgba(255,46,189,.12),transparent 30%),
    linear-gradient(145deg,#281038,#19142e)!important;
  border:1px solid rgba(160,77,255,.42)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.28),0 0 28px rgba(255,46,189,.10)!important;
}
html.theme-neon .profile-section-card:hover{border-color:rgba(255,77,199,.58)!important}
html.theme-neon .section-heading h2{color:#fff7ff!important;text-shadow:0 0 14px rgba(255,46,189,.18)}
html.theme-neon .new-album-box{
  background:linear-gradient(145deg,#311244,#211132)!important;
  border:1px solid rgba(255,77,199,.30)!important;
  box-shadow:inset 0 0 22px rgba(163,77,255,.06)!important;
}
html.theme-neon .album-card{
  background:linear-gradient(145deg,#2b123e,#1b112c)!important;
  border-color:rgba(163,77,255,.38)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.24),0 0 18px rgba(163,77,255,.08)!important;
}
html.theme-neon .album-card:hover{
  border-color:rgba(255,77,199,.62)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.26),0 0 24px rgba(255,46,189,.16)!important;
}
html.theme-neon .album-cover{background:linear-gradient(135deg,#3a1553,#182847)!important}
html.theme-neon .album-card-body small{color:#d2badf!important}
html.theme-neon .profile-upload-bar{border-color:rgba(255,77,199,.22)!important}
html.theme-neon .upload-file{
  background:#21112f!important;border-color:#9c4ed0!important;color:#ff9bdf!important;
  box-shadow:0 0 18px rgba(255,46,189,.08)!important;
}
html.theme-neon .profile-upload-bar select{background:#190d25!important;color:#fff!important;border-color:#8348aa!important}
html.theme-neon .profile-photo-empty,html.theme-neon .profile-story-empty,html.theme-neon .album-empty{
  background:linear-gradient(145deg,#251133,#15152a)!important;
  border-color:rgba(255,77,199,.42)!important;
  color:#efe0f7!important;
  box-shadow:inset 0 0 28px rgba(163,77,255,.05)!important;
}
html.theme-neon .profile-action-strip .btn-light{
  background:linear-gradient(145deg,#271235,#18192c)!important;
  border-color:rgba(255,77,199,.32)!important;
  box-shadow:0 0 18px rgba(163,77,255,.08)!important;
}
html.theme-neon .profile-action-strip .btn-light:hover{
  border-color:#ff54c9!important;
  box-shadow:0 0 22px rgba(255,46,189,.18),0 0 28px rgba(83,233,255,.08)!important;
}
html.theme-neon .profile-edit-jump{
  background:linear-gradient(135deg,#ff2ebd,#9b4cff)!important;color:#fff!important;border:none!important;
  box-shadow:0 0 20px rgba(255,46,189,.20)!important;
}
html.theme-neon .profile-story-tile{border-color:rgba(255,77,199,.40)!important;box-shadow:0 0 20px rgba(163,77,255,.08)}
html.theme-neon .eyebrow{
  background:linear-gradient(135deg,rgba(255,46,189,.26),rgba(163,77,255,.28))!important;
  color:#ffd4ef!important;
  border-color:rgba(255,104,215,.42)!important;
  box-shadow:0 0 16px rgba(255,46,189,.10)!important;
}
html.theme-neon .btn-primary{
  background:linear-gradient(135deg,#ff25b6 0%,#c14cff 52%,#53dfff 100%)!important;
  box-shadow:0 0 22px rgba(255,37,182,.34),0 0 38px rgba(83,223,255,.14)!important;
}
html.theme-neon .btn-primary:hover{
  filter:brightness(1.08) saturate(1.1);
  box-shadow:0 0 30px rgba(255,37,182,.46),0 0 48px rgba(83,223,255,.22)!important;
}


/* v65 — Golden / Sunny VIP theme */
.theme-preview-golden{
  background:
    radial-gradient(circle at 86% 15%,rgba(255,245,166,.95),transparent 28%),
    linear-gradient(145deg,#fff8c9 0%,#ffd86b 48%,#f5a623 100%);
  color:#4b3200;border-color:#f0bd3f;
  box-shadow:0 10px 28px rgba(219,154,24,.18)
}
.theme-preview-golden b{color:#6f4700;text-shadow:0 1px 0 rgba(255,255,255,.5)}
.theme-preview-golden small{color:#7c5a14}

html.theme-golden{
  --gold-bg:#fff7d6;
  --gold-bg2:#ffe8a3;
  --gold-card:#fffdf4;
  --gold-card2:#fff3c9;
  --gold-border:#e7b83d;
  --gold-text:#3f3218;
  --gold-muted:#7d6840;
  --gold-accent:#f4a600;
  --gold-accent2:#ffca3a;
  --gold-deep:#b86b00;
  color-scheme:light;
  background:
    radial-gradient(circle at 10% 8%,rgba(255,213,66,.34),transparent 28%),
    radial-gradient(circle at 90% 16%,rgba(255,177,48,.22),transparent 30%),
    linear-gradient(180deg,#fff9df 0%,#ffe9a9 100%)!important
}
html.theme-golden body{
  background:
    radial-gradient(circle at 8% 12%,rgba(255,214,72,.26),transparent 28%),
    radial-gradient(circle at 92% 18%,rgba(255,177,40,.18),transparent 26%),
    linear-gradient(180deg,#fff8dc 0%,#ffedb7 100%)!important;
  color:var(--gold-text)!important
}
html.theme-golden .topbar{
  background:linear-gradient(90deg,rgba(255,252,234,.96),rgba(255,241,190,.96),rgba(255,252,234,.96))!important;
  border-bottom:1px solid #edc653!important;
  box-shadow:0 10px 30px rgba(181,119,0,.13)!important
}
html.theme-golden .brand{
  color:#d98a00!important;
  text-shadow:0 2px 12px rgba(255,180,20,.18)!important
}
html.theme-golden .navlinks a{color:#5a4827!important}
html.theme-golden .navlinks a:hover,html.theme-golden .navlinks a.active{
  color:#8a5600!important;background:linear-gradient(135deg,#fff1a9,#ffd75f)!important;
  box-shadow:0 5px 16px rgba(211,145,12,.14)!important
}
html.theme-golden .premium-nav{color:#c57b00!important}
html.theme-golden h1,html.theme-golden h2,html.theme-golden h3,html.theme-golden h4,html.theme-golden h5,html.theme-golden h6,
html.theme-golden strong{color:#3f3218!important}
html.theme-golden .muted,html.theme-golden small,html.theme-golden .subtle,html.theme-golden .card-meta,
html.theme-golden .card-bio,html.theme-golden .discover-sidebar-head p{color:#806c45!important}

html.theme-golden .panel,html.theme-golden .card,html.theme-golden .profile-card,
html.theme-golden .discover-sidebar,html.theme-golden .discover-profile-area,html.theme-golden .discover-empty,
html.theme-golden .chat-list,html.theme-golden .chat-window,html.theme-golden .game-card,html.theme-golden .story-card,
html.theme-golden .modal-card,html.theme-golden .settings-card,html.theme-golden .theme-settings-panel,
html.theme-golden .album-manage-panel,html.theme-golden .album-pending-panel,html.theme-golden .blocked-item{
  background:linear-gradient(145deg,#fffef8 0%,#fff6d8 100%)!important;
  color:var(--gold-text)!important;
  border-color:#e9c85f!important;
  box-shadow:0 14px 34px rgba(174,116,0,.12)!important
}
html.theme-golden .discover-sidebar{
  background:linear-gradient(180deg,#fff8d4 0%,#ffedaa 100%)!important
}
html.theme-golden .discover-empty{
  background:linear-gradient(145deg,#fffdf2,#fff2bd)!important;
  border-color:#e8c85d!important
}
html.theme-golden .discover-empty-icon{color:#e8a400!important}
html.theme-golden .discover-empty h2{color:#513d0f!important}
html.theme-golden .discover-empty p{color:#897044!important}

html.theme-golden input,html.theme-golden textarea,html.theme-golden select{
  background:#fffdf3!important;color:#44351b!important;border-color:#dfbf62!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important
}
html.theme-golden input:focus,html.theme-golden textarea:focus,html.theme-golden select:focus{
  border-color:#efa900!important;box-shadow:0 0 0 3px rgba(244,166,0,.15)!important
}
html.theme-golden input::placeholder,html.theme-golden textarea::placeholder{color:#a28a5c!important}

html.theme-golden .btn-primary,
html.theme-golden button.btn-primary{
  background:linear-gradient(135deg,#ffcf38 0%,#f3a300 55%,#d97900 100%)!important;
  color:#3b2600!important;border:none!important;
  box-shadow:0 10px 24px rgba(221,145,0,.24),0 0 18px rgba(255,205,44,.16)!important
}
html.theme-golden .btn-primary:hover{
  filter:brightness(1.04) saturate(1.06);
  box-shadow:0 12px 30px rgba(221,145,0,.30),0 0 24px rgba(255,205,44,.23)!important
}
html.theme-golden .btn-light{
  background:linear-gradient(145deg,#fffdf6,#ffeab0)!important;
  color:#624300!important;border-color:#dfbd55!important
}
html.theme-golden .btn-light:hover{background:linear-gradient(145deg,#fff6cf,#ffd76f)!important}
html.theme-golden .btn-danger{box-shadow:0 7px 18px rgba(180,54,54,.16)!important}
html.theme-golden .eyebrow{
  background:linear-gradient(135deg,#fff2a3,#ffd65f)!important;
  color:#724700!important;border:1px solid #eabd41!important;
  box-shadow:0 6px 18px rgba(219,151,19,.12)!important
}
html.theme-golden .vip-mini,html.theme-golden .vip-badge{
  background:linear-gradient(135deg,#ffdd59,#f4a600)!important;color:#5b3900!important;
  box-shadow:0 5px 14px rgba(207,133,0,.18)!important
}

html.theme-golden .promo-strip{background:linear-gradient(90deg,#fff7d2,#ffe79a)!important;border-color:#eac653!important}
html.theme-golden .promo-person{background:#fff9df!important;border-color:#e5c158!important;color:#4d3b16!important}
html.theme-golden .promo-person:hover{background:#fff1b8!important;border-color:#e3a917!important;box-shadow:0 8px 20px rgba(186,119,0,.14)!important}

html.theme-golden .discover-like-quota,html.theme-golden .discover-tip{
  background:linear-gradient(135deg,#fff8d2,#ffeaa5)!important;border-color:#e9c85f!important;color:#4c3a13!important
}
html.theme-golden .discover-like-quota.is-vip{
  background:linear-gradient(135deg,#fff2a7,#ffd25d)!important;border-color:#e6a919!important;
  box-shadow:0 8px 24px rgba(210,137,0,.15)!important
}
html.theme-golden .discover-like-quota-icon,html.theme-golden .discover-like-quota-count{background:#fff8de!important;color:#8b5700!important}

html.theme-golden .message-row .bubble,html.theme-golden .message-bubble{
  background:#fff7d7!important;color:#4d3c1d!important;border:1px solid #e8c861!important
}
html.theme-golden .message-row.mine .bubble,html.theme-golden .message.mine .message-bubble{
  background:linear-gradient(135deg,#ffd95a,#f2ad18)!important;color:#4b3000!important;border:none!important;
  box-shadow:0 8px 20px rgba(211,137,0,.16)!important
}
html.theme-golden .chat-list a:hover,html.theme-golden .chat-list .active{background:#fff0b8!important;box-shadow:inset 3px 0 0 #e4a000!important}

/* Golden profile */
html.theme-golden .my-profile-hero{
  background:
    radial-gradient(circle at 88% 15%,rgba(255,214,85,.38),transparent 30%),
    radial-gradient(circle at 12% 90%,rgba(255,187,44,.20),transparent 34%),
    linear-gradient(135deg,#fff9dc 0%,#ffeaa6 52%,#ffd66a 100%)!important;
  border:1px solid #e5b72e!important;
  box-shadow:0 18px 50px rgba(187,121,0,.16)!important
}
html.theme-golden .my-profile-hero:after{background:radial-gradient(circle,rgba(255,255,255,.60),rgba(255,214,82,.24) 44%,transparent 72%)!important}
html.theme-golden .my-profile-avatar{background:linear-gradient(135deg,#ffd845,#f3a310,#ff8f2b)!important;box-shadow:0 0 24px rgba(232,153,0,.20)!important}
html.theme-golden .my-profile-bio{color:#725a2e!important}
html.theme-golden .profile-stat-row>div{
  background:linear-gradient(145deg,#fffdf1,#ffe9a8)!important;border-color:#e0bb4f!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important
}
html.theme-golden .profile-stat-row strong{color:#4b3510!important}
html.theme-golden .profile-stat-row span{color:#826a3f!important}
html.theme-golden .profile-section-card{
  background:linear-gradient(145deg,#fffef7,#fff0bd)!important;border-color:#e5c158!important;
  box-shadow:0 16px 38px rgba(172,111,0,.12)!important
}
html.theme-golden .new-album-box,html.theme-golden .album-card{
  background:linear-gradient(145deg,#fff9dc,#ffe8a3)!important;border-color:#e0b845!important
}
html.theme-golden .album-cover{background:linear-gradient(135deg,#ffd962,#f0a91e)!important}
html.theme-golden .profile-photo-empty,html.theme-golden .profile-story-empty,html.theme-golden .album-empty{
  background:linear-gradient(145deg,#fffbe9,#ffeab0)!important;border-color:#deb74c!important;color:#76591f!important
}
html.theme-golden .upload-file{background:#fff9dc!important;border-color:#dcae34!important;color:#855700!important}
html.theme-golden .profile-upload-bar select{background:#fffdf2!important;color:#4c3817!important;border-color:#dfbd62!important}
html.theme-golden .profile-edit-jump{background:linear-gradient(135deg,#ffd34f,#f1a000)!important;color:#4b3000!important;border:none!important;box-shadow:0 9px 24px rgba(214,139,0,.20)!important}

html.theme-golden .flash{background:#fff1b7!important;color:#694400!important;border-color:#e4b83c!important}
html.theme-golden hr{border-color:#e4c35b!important}
html.theme-golden ::-webkit-scrollbar{width:10px;height:10px}
html.theme-golden ::-webkit-scrollbar-track{background:#fff3c8}
html.theme-golden ::-webkit-scrollbar-thumb{background:linear-gradient(#f0b92e,#d98a00);border-radius:99px;border:2px solid #fff3c8}


/* v66 — Light/Dark for everyone; Neon/Golden VIP only */
.theme-choice{position:relative}.theme-choice-premium{position:relative}.theme-vip-badge{position:absolute;top:10px;right:10px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;line-height:1;background:linear-gradient(135deg,#8b5cf6,#ec4899);color:#fff;box-shadow:0 6px 18px rgba(139,92,246,.25)}.theme-choice.is-premium-locked{cursor:not-allowed}.theme-choice.is-premium-locked .theme-preview{opacity:.58;filter:saturate(.65)}.theme-choice.is-premium-locked .theme-preview:after{content:'VIP';position:absolute;inset:auto 12px 12px auto;padding:5px 9px;border-radius:999px;background:rgba(20,20,28,.82);color:#fff;font-size:11px;font-weight:800}.theme-vip-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-2px 0 14px;padding:12px 14px;border:1px solid #eadcff;border-radius:14px;background:#faf7ff}.theme-vip-note span{color:#777}.theme-vip-note a{font-weight:800;color:#8b5cf6;text-decoration:none}html.theme-dark .theme-vip-note{background:#1f2130;border-color:#393b50}html.theme-dark .theme-vip-note span{color:#aeb1bf}html.theme-neon .theme-vip-note{background:rgba(30,14,45,.82);border-color:#8b5cf6;box-shadow:0 0 22px rgba(236,72,153,.16)}html.theme-golden .theme-vip-note{background:#fff8d9;border-color:#f2ca57} @media(max-width:760px){.theme-vip-badge{top:8px;right:8px}}

/* v67 — VIP profile cover */
.my-profile-hero.has-profile-cover{
  background-color:#3a3446!important;
  background-size:cover!important;
  background-position:center!important;
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:0 20px 56px rgba(16,10,32,.30)!important;
}
.my-profile-hero.has-profile-cover:after{background:radial-gradient(circle,rgba(255,255,255,.18),rgba(180,115,255,.10) 44%,transparent 72%)!important}
.my-profile-hero.has-profile-cover h1,
.my-profile-hero.has-profile-cover .my-profile-bio,
.my-profile-hero.has-profile-cover .muted{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.42)}
.my-profile-hero.has-profile-cover .eyebrow{background:rgba(28,19,45,.70)!important;color:#fff!important;border:1px solid rgba(255,255,255,.20)}
.my-profile-hero.has-profile-cover .profile-stat-row>div{background:rgba(18,15,29,.56)!important;border-color:rgba(255,255,255,.22)!important;backdrop-filter:blur(10px)}
.my-profile-hero.has-profile-cover .profile-stat-row strong,
.my-profile-hero.has-profile-cover .profile-stat-row span{color:#fff!important}
.my-profile-hero.has-profile-cover .profile-edit-jump{background:rgba(255,255,255,.90)!important;color:#241b38!important;border-color:transparent!important}

.profile-cover-editor{margin:0 0 22px;padding:16px;border:1px solid #ece8f4;border-radius:22px;background:#faf9fd}
.profile-cover-preview{height:190px;border-radius:18px;background:linear-gradient(135deg,#fff4ca,#f4e6ff 48%,#dff7ff);background-size:cover;background-position:center;position:relative;overflow:hidden;display:grid;place-items:center;text-align:center;border:1px solid rgba(92,73,140,.13)}
.profile-cover-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(24,15,40,.28));pointer-events:none}
.profile-cover-preview>*{position:relative;z-index:1}
.profile-cover-label{position:absolute;left:14px;top:14px;padding:7px 10px;border-radius:999px;background:rgba(31,24,45,.72);color:#fff;font-size:11px;font-weight:900;backdrop-filter:blur(8px)}
.profile-cover-preview>strong{padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.78);color:#33284c;backdrop-filter:blur(8px)}
.profile-cover-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:12px;flex-wrap:wrap}
.profile-cover-upload-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0}
.profile-cover-file{min-width:220px;background:#fff}
.profile-cover-controls form{margin:0}
.profile-cover-vip-lock{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-top:12px;padding:13px;border-radius:16px;background:#fff;border:1px solid #ece8f4}
.profile-cover-vip-lock>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#ff3d81,#7b61ff);color:white;font-weight:950}
.profile-cover-vip-lock div{display:grid;gap:2px}.profile-cover-vip-lock small{color:#88839a}

.profile-info.has-profile-cover.public-profile-cover{
  background-color:#2d2934!important;
  background-size:cover!important;background-position:center!important;
  border-color:rgba(255,255,255,.20)!important;
  box-shadow:0 18px 48px rgba(20,10,34,.28)!important;
}
.profile-info.has-profile-cover.public-profile-cover h1,
.profile-info.has-profile-cover.public-profile-cover .muted,
.profile-info.has-profile-cover.public-profile-cover .bio-large{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.38)}
.profile-info.has-profile-cover.public-profile-cover .eyebrow{background:rgba(31,21,49,.72)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)}

html.theme-dark .profile-cover-editor{background:#171925;border-color:#303344}
html.theme-dark .profile-cover-file,html.theme-dark .profile-cover-vip-lock{background:#202331;border-color:#373a4c;color:#f4f4f8}
html.theme-neon .profile-cover-editor{background:linear-gradient(135deg,rgba(34,15,58,.94),rgba(15,29,52,.94));border-color:#d84fff;box-shadow:0 0 28px rgba(216,79,255,.16)}
html.theme-neon .profile-cover-vip-lock{background:rgba(31,16,49,.88);border-color:#e353ff}
html.theme-golden .profile-cover-editor{background:linear-gradient(135deg,#fff9da,#fff0b7);border-color:#f2c84b}
html.theme-golden .profile-cover-vip-lock{background:#fffdf2;border-color:#edc957}

@media(max-width:700px){
  .my-profile-hero.has-profile-cover{background-position:center top!important}
  .profile-cover-preview{height:145px}
  .profile-cover-controls,.profile-cover-upload-form{display:grid;grid-template-columns:1fr;width:100%}
  .profile-cover-file,.profile-cover-upload-form .btn,.profile-cover-controls .btn{width:100%;min-width:0}
  .profile-cover-vip-lock{grid-template-columns:auto 1fr}.profile-cover-vip-lock .btn{grid-column:1/-1;width:100%}
}

/* v69 Real verification gate for publishing stories */
.story-real-lock{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:0 0 20px;border:1px solid rgba(123,97,255,.22);border-radius:18px;background:linear-gradient(135deg,rgba(123,97,255,.08),rgba(255,61,129,.06))}.story-real-lock-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#20b86a;color:#fff;font-weight:1000;font-size:22px;flex:0 0 auto}.story-real-lock>div:nth-child(2){display:grid;gap:3px;flex:1}.story-real-lock span{font-size:13px;color:var(--muted,#777789);line-height:1.4}.story-locked-btn{opacity:.9;border-style:dashed!important}.story-add-locked{text-decoration:none;color:inherit;cursor:pointer}.story-add-locked .story-avatar-wrap{filter:saturate(.55)}.profile-story-add-badge.story-add-locked{font-size:15px;background:#6f7080}.theme-dark .story-real-lock,.theme-neon .story-real-lock{background:linear-gradient(135deg,rgba(123,97,255,.16),rgba(255,61,129,.12));border-color:rgba(168,139,255,.3)}.theme-golden .story-real-lock{background:linear-gradient(135deg,#fff7d6,#ffe7a8);border-color:#e8bc45}@media(max-width:650px){.story-real-lock{align-items:flex-start;flex-wrap:wrap}.story-real-lock .btn{width:100%}}


/* v70 — structured dating preferences */
.profile-preference-editor{display:grid;gap:18px;grid-column:1/-1;margin-top:4px}
.profile-choice-block{padding:18px;border:1px solid #e8e4f0;border-radius:20px;background:linear-gradient(145deg,#fff,#fbf9ff)}
.profile-choice-title{display:grid;gap:3px;margin-bottom:14px}.profile-choice-title strong{font-size:16px;color:#242133}.profile-choice-title span{font-size:12px;color:#8a8798}
.profile-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-choice-grid-short{grid-template-columns:repeat(3,minmax(0,1fr));max-width:660px}
.profile-check-card{position:relative;display:flex;align-items:center;gap:9px;min-height:46px;padding:10px 12px;border:1px solid #e4e0ec;border-radius:14px;background:#fff;cursor:pointer;font-weight:750;color:#3b3749;transition:.18s ease;user-select:none}
.profile-check-card:hover{border-color:#aa8bff;transform:translateY(-1px);box-shadow:0 8px 20px rgba(123,97,255,.08)}
.profile-check-card input{position:absolute;opacity:0;pointer-events:none}.profile-check-box{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;border:2px solid #d4cfdf;border-radius:7px;color:transparent;font-size:14px;font-weight:1000;transition:.18s ease}
.profile-check-card:has(input:checked){border-color:#8c65f7;background:linear-gradient(135deg,#faf7ff,#fff4fa);color:#4c2fa3;box-shadow:0 8px 22px rgba(123,97,255,.10)}
.profile-check-card input:checked+.profile-check-box{border-color:transparent;background:linear-gradient(135deg,#7b61ff,#ff3d81);color:#fff;box-shadow:0 4px 12px rgba(123,97,255,.24)}
.profile-preferences{display:grid;gap:12px;margin:14px 0 6px}.profile-pref-group{display:grid;gap:7px}.profile-pref-label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#898497}.profile-pref-tags{display:flex;flex-wrap:wrap;gap:7px}.profile-pref-tag{display:inline-flex;align-items:center;min-height:30px;padding:6px 11px;border-radius:999px;background:#f1ebff;color:#623bb7;border:1px solid #ddd0ff;font-size:12px;font-weight:850}.profile-pref-goal{background:#fff0f6;color:#a82d68;border-color:#ffd2e5}
.profile-preferences-hero{margin-top:10px}.public-profile-preferences{padding:14px;border:1px solid #eee9f4;border-radius:17px;background:#fbf9ff;margin:14px 0 18px}
.my-profile-hero.has-profile-cover .profile-pref-label{color:rgba(255,255,255,.78)!important}.my-profile-hero.has-profile-cover .profile-pref-tag{background:rgba(31,22,49,.62)!important;color:#fff!important;border-color:rgba(255,255,255,.22)!important;backdrop-filter:blur(9px)}
.profile-info.has-profile-cover .public-profile-preferences{background:rgba(17,13,27,.48)!important;border-color:rgba(255,255,255,.18)!important;backdrop-filter:blur(10px)}.profile-info.has-profile-cover .profile-pref-label{color:rgba(255,255,255,.72)!important}.profile-info.has-profile-cover .profile-pref-tag{background:rgba(255,255,255,.13)!important;color:#fff!important;border-color:rgba(255,255,255,.20)!important}
html.theme-dark .profile-choice-block,html.theme-dark .public-profile-preferences{background:#1c1e2b;border-color:#343746}.theme-dark .profile-choice-title strong{color:#f4f3f8}.theme-dark .profile-choice-title span,.theme-dark .profile-pref-label{color:#aaa7b8}.theme-dark .profile-check-card{background:#232533;border-color:#3b3e4e;color:#e7e5ed}.theme-dark .profile-check-card:has(input:checked){background:#2b2540;border-color:#8d72e8;color:#d9ccff}.theme-dark .profile-pref-tag{background:#2c2640;color:#d6c6ff;border-color:#4c4169}.theme-dark .profile-pref-goal{background:#392333;color:#ffc1dc;border-color:#63334b}
html.theme-neon .profile-choice-block,html.theme-neon .public-profile-preferences{background:linear-gradient(135deg,rgba(31,14,50,.95),rgba(12,31,50,.94));border-color:#ca4dff;box-shadow:0 0 24px rgba(213,72,255,.12)}.theme-neon .profile-choice-title strong{color:#fff}.theme-neon .profile-choice-title span,.theme-neon .profile-pref-label{color:#d8c7eb}.theme-neon .profile-check-card{background:rgba(28,20,46,.92);border-color:#65477f;color:#f5eaff}.theme-neon .profile-check-card:has(input:checked){background:linear-gradient(135deg,rgba(114,39,168,.54),rgba(207,39,118,.40));border-color:#ff5bd2;box-shadow:0 0 18px rgba(255,70,209,.20)}.theme-neon .profile-pref-tag{background:rgba(121,46,184,.36);color:#f6dfff;border-color:#cc5dff;box-shadow:0 0 10px rgba(208,74,255,.14)}.theme-neon .profile-pref-goal{background:rgba(227,42,132,.27);color:#ffd7e9;border-color:#ff5ca3}
html.theme-golden .profile-choice-block,html.theme-golden .public-profile-preferences{background:linear-gradient(145deg,#fffdf3,#fff0b8);border-color:#e2bc4b}.theme-golden .profile-choice-title strong{color:#4a3510}.theme-golden .profile-choice-title span,.theme-golden .profile-pref-label{color:#8a6b30}.theme-golden .profile-check-card{background:#fffaf0;border-color:#e4c66e;color:#604718}.theme-golden .profile-check-card:has(input:checked){background:linear-gradient(135deg,#fff0ac,#ffd35e);border-color:#dba21d;color:#704900}.theme-golden .profile-pref-tag{background:#fff0ae;color:#6f4b00;border-color:#e0b83e}.theme-golden .profile-pref-goal{background:#ffe1a6;color:#784500;border-color:#e8aa39}
@media(max-width:900px){.profile-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-choice-grid-short{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.profile-choice-grid,.profile-choice-grid-short{grid-template-columns:1fr}.profile-choice-block{padding:14px}.profile-check-card{min-height:44px}.profile-preferences{gap:10px}.profile-pref-tags{gap:6px}}

/* v71 — Weekly Photo Contest */
.photo-contest-feature-card{background:linear-gradient(135deg,rgba(255,244,251,.96),rgba(244,241,255,.98));border-color:rgba(219,39,119,.14)}
.photo-contest-feature-icon{background:linear-gradient(135deg,#ec4899,#8b5cf6);color:#fff;box-shadow:0 18px 45px rgba(168,85,247,.24)}
.photo-contest-launch{align-self:center}.photo-contest-launch .btn{width:100%;justify-content:center}
.photo-contest-page{padding-bottom:70px}.contest-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:32px;border:1px solid var(--border,#e9e7f0);border-radius:28px;background:linear-gradient(135deg,#fff 0%,#fff6fb 52%,#f3efff 100%);box-shadow:0 20px 55px rgba(63,43,86,.08)}
.contest-hero h1{margin:5px 0 8px;font-size:clamp(32px,5vw,50px)}.contest-hero p{margin:0;color:var(--muted,#737184)}
.contest-anon-note{margin-top:18px;padding:14px 16px;border-radius:16px;background:rgba(99,102,241,.08);color:#37305e;line-height:1.45}
.contest-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(105px,1fr));gap:10px}.contest-hero-stats>div{min-width:112px;padding:16px;border-radius:18px;background:#fff;border:1px solid rgba(126,101,155,.13);text-align:center}.contest-hero-stats b{display:block;font-size:22px}.contest-hero-stats span{display:block;margin-top:3px;font-size:12px;color:#817d8e}
.contest-tabs{display:flex;gap:8px;overflow-x:auto;margin:18px 0 24px;padding:7px;border-radius:18px;background:rgba(255,255,255,.82);border:1px solid var(--border,#e9e7f0)}.contest-tabs a{white-space:nowrap;text-decoration:none;color:inherit;padding:11px 16px;border-radius:12px;font-weight:800}.contest-tabs a.active{color:#fff;background:linear-gradient(135deg,#ec4899,#7c3aed);box-shadow:0 8px 20px rgba(124,58,237,.2)}
.contest-live-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.contest-vote-card,.contest-side-card,.contest-hall-week,.contest-lock-card,.contest-my-current{background:var(--card,#fff);border:1px solid var(--border,#e8e6ee);border-radius:24px;box-shadow:0 16px 42px rgba(35,26,49,.06)}
.contest-vote-card{max-width:720px;width:100%;margin:0 auto;padding:18px}.contest-card-loading,.contest-empty{min-height:520px;display:grid;place-items:center;text-align:center;color:var(--muted,#797586)}.contest-empty>div{font-size:56px}.contest-empty .btn{margin-top:12px}
.contest-photo-wrap{position:relative;overflow:hidden;border-radius:21px;background:#141218;aspect-ratio:4/5;max-height:680px}.contest-photo-wrap img{display:block;width:100%;height:100%;object-fit:contain;background:#111}.contest-vip-badge{position:absolute;top:16px;left:16px;padding:7px 10px;border-radius:999px;background:linear-gradient(135deg,#f59e0b,#ec4899);color:#fff;font-size:12px;font-weight:900}.contest-real-badge{position:absolute;right:16px;top:16px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#22c55e;color:#fff;font-weight:900;border:3px solid rgba(255,255,255,.9)}
.contest-person{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 4px 8px}.contest-person h2{margin:0 0 3px}.contest-person p{margin:0}.contest-counts{display:flex;gap:8px;flex-wrap:wrap}.contest-counts span{padding:8px 10px;border-radius:999px;background:rgba(124,58,237,.07);font-size:13px}.contest-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.contest-actions .btn{justify-content:center}.contest-message{min-height:22px;font-size:13px;color:#16a34a;font-weight:700}
.contest-side-card{padding:22px;position:sticky;top:88px}.contest-side-card h3{margin:10px 0 7px}.contest-side-card p{line-height:1.55;color:var(--muted,#777382)}.contest-side-card .btn{display:flex;width:100%;justify-content:center;margin-top:9px}.contest-week-pill{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(236,72,153,.09);color:#db2777;font-size:12px;font-weight:900}
.contest-section-head{display:flex;justify-content:space-between;align-items:end;margin:10px 0 18px}.contest-section-head h2{margin:4px 0 3px;font-size:28px}.contest-top-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.contest-top-card{position:relative;overflow:hidden;border:1px solid var(--border,#e8e6ee);border-radius:21px;background:var(--card,#fff);box-shadow:0 12px 30px rgba(30,20,43,.05)}.contest-top-card>a{display:block;aspect-ratio:4/5;background:#151219}.contest-top-card img{width:100%;height:100%;object-fit:cover;display:block}.contest-place{position:absolute;z-index:2;top:11px;left:11px;min-width:42px;padding:8px 10px;border-radius:12px;background:rgba(20,17,25,.78);backdrop-filter:blur(8px);color:#fff;text-align:center;font-weight:900}.contest-top-card.place-1{box-shadow:0 15px 42px rgba(245,158,11,.2);border-color:rgba(245,158,11,.4)}.contest-top-card.place-2{border-color:rgba(148,163,184,.45)}.contest-top-card.place-3{border-color:rgba(180,83,9,.35)}.contest-top-info{padding:13px}.contest-top-info strong{display:block}.contest-top-info>span{display:block;margin:3px 0 10px;color:var(--muted,#777382);font-size:13px}.contest-top-info>div{display:flex;justify-content:space-between;gap:8px}.real-mini{display:inline-grid!important;width:18px;height:18px;place-items:center;border-radius:50%;background:#22c55e;color:#fff;font-size:11px}.contest-hall-list{display:grid;gap:18px}.contest-hall-week{padding:20px}.contest-hall-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}.contest-hall-title h3{margin:0}.contest-hall-title span{color:var(--muted,#777382);font-size:13px}.contest-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.contest-podium article{text-align:center;padding:12px;border-radius:18px;background:rgba(124,58,237,.045)}.contest-podium img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:15px;display:block}.contest-podium strong,.contest-podium span{display:block;margin-top:7px}.contest-medal{font-size:28px;margin-bottom:6px}
.contest-alert{padding:13px 16px;border-radius:14px;background:rgba(99,102,241,.08);margin-bottom:15px}.contest-alert.success{background:rgba(34,197,94,.10);color:#15803d}.contest-alert.error{background:rgba(239,68,68,.10);color:#b91c1c}.contest-lock-card{padding:38px;text-align:center;max-width:680px;margin:20px auto}.contest-lock-icon{font-size:50px}.contest-lock-card h2{margin:10px 0}.contest-lock-card p{max-width:520px;margin:0 auto 18px;line-height:1.55;color:var(--muted,#777382)}
.contest-my-current{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px;margin-bottom:18px}.contest-my-current img{width:110px;height:110px;object-fit:cover;border-radius:16px}.contest-my-current h3{margin:7px 0 4px}.contest-my-current p{margin:0;color:var(--muted,#777382)}.contest-photo-picker{padding-bottom:25px}.contest-picker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.contest-picker-item input{position:absolute;opacity:0;pointer-events:none}.contest-picker-item span{position:relative;display:block;overflow:hidden;border-radius:18px;border:3px solid transparent;background:#111;cursor:pointer;aspect-ratio:1/1}.contest-picker-item img{width:100%;height:100%;object-fit:cover;display:block;opacity:.88}.contest-picker-item i{position:absolute;left:8px;right:8px;bottom:8px;padding:7px;border-radius:10px;background:rgba(17,15,20,.72);color:#fff;font-style:normal;text-align:center;font-size:12px;font-weight:800}.contest-picker-item input:checked+span{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.16)}.contest-picker-item input:checked+span i{background:linear-gradient(135deg,#ec4899,#7c3aed)}.contest-submit{display:flex;margin:20px auto 0;justify-content:center;min-width:260px}
.theme-dark .contest-hero,.theme-dark .contest-tabs,.theme-dark .contest-vote-card,.theme-dark .contest-side-card,.theme-dark .contest-top-card,.theme-dark .contest-hall-week,.theme-dark .contest-lock-card,.theme-dark .contest-my-current{background:#1d1a25;border-color:#35313f;color:#f6f3fb}.theme-dark .contest-anon-note{background:#282337;color:#e8e0ff}.theme-dark .contest-hero-stats>div{background:#26222f;border-color:#393442}.theme-dark .contest-tabs a{color:#e9e4ef}.theme-dark .contest-counts span{background:#2b2538}.theme-neon .contest-hero,.theme-neon .contest-vote-card,.theme-neon .contest-side-card,.theme-neon .contest-top-card,.theme-neon .contest-hall-week,.theme-neon .contest-lock-card,.theme-neon .contest-my-current{border-color:rgba(236,72,153,.45);box-shadow:0 0 28px rgba(168,85,247,.16)}.theme-golden .contest-hero{background:linear-gradient(135deg,#fffdf5,#fff4c9);border-color:#f2d27a}.theme-golden .contest-tabs a.active{background:linear-gradient(135deg,#f59e0b,#d97706)}
@media(max-width:980px){.contest-hero{grid-template-columns:1fr}.contest-live-layout{grid-template-columns:1fr}.contest-side-card{position:static}.contest-top-grid{grid-template-columns:repeat(3,1fr)}.contest-picker-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:680px){.contest-hero{padding:22px;border-radius:22px}.contest-hero-stats{grid-template-columns:repeat(3,1fr)}.contest-hero-stats>div{min-width:0;padding:12px 7px}.contest-hero-stats b{font-size:17px}.contest-tabs{margin-left:-4px;margin-right:-4px}.contest-vote-card{padding:10px}.contest-card-loading,.contest-empty{min-height:420px}.contest-actions{grid-template-columns:1fr}.contest-person{align-items:flex-start;flex-direction:column}.contest-top-grid{grid-template-columns:repeat(2,1fr);gap:10px}.contest-podium{grid-template-columns:repeat(3,1fr);gap:7px}.contest-hall-week{padding:12px}.contest-hall-title{align-items:flex-start;flex-direction:column}.contest-my-current{grid-template-columns:82px 1fr}.contest-my-current img{width:82px;height:82px}.contest-my-current form{grid-column:1/-1}.contest-picker-grid{grid-template-columns:repeat(3,1fr);gap:8px}}

/* v72: reliable inline SVG icons + photo contest state/layout fix */
.ui-icon{display:inline-flex;width:1.08em;height:1.08em;align-items:center;justify-content:center;vertical-align:-.16em;flex:0 0 auto;color:currentColor}
.ui-icon svg{display:block;width:100%;height:100%;fill:currentColor}
.ui-icon-xl{width:54px;height:54px;vertical-align:middle}
.ui-icon-game{width:42px;height:42px;color:#fff}
.contest-card-loading[hidden],.contest-empty[hidden],#contestContent[hidden]{display:none!important}
.contest-vote-card{min-height:0!important}
.contest-card-loading{min-height:320px!important;padding:30px 18px}
.contest-empty{min-height:300px!important;padding:34px 20px}
#contestContent{display:block}
.contest-photo-wrap{height:min(62vh,620px);aspect-ratio:auto;max-height:none}
.contest-photo-wrap img{object-fit:contain}
.contest-empty>div{font-size:inherit}
.contest-tabs a,.contest-side-card .btn,.contest-actions .btn,.eyebrow{align-items:center;gap:7px}
.contest-tabs a{display:inline-flex}
.contest-counts span{display:inline-flex;align-items:center;gap:5px}
.contest-lock-icon{display:flex;justify-content:center;color:#8b5cf6}
.contest-medal{font-size:16px;font-weight:900;color:#6d5b14;background:linear-gradient(135deg,#fff2a8,#eab308);display:inline-flex;padding:6px 9px;border-radius:999px}
.theme-dark .contest-medal,.theme-neon .contest-medal{color:#251b00}
@media(max-width:680px){.contest-photo-wrap{height:min(58vh,520px)}.contest-card-loading,.contest-empty{min-height:240px!important}}
/* v73 compact games catalogue */
.games-page-v73{padding-top:24px}.games-hero-compact{margin-bottom:18px}.games-hero-compact h1{margin-bottom:6px}.games-list-v73{display:grid;gap:16px}.game-line-v73{background:var(--card,#fff);border:1px solid rgba(120,108,170,.16);border-radius:24px;box-shadow:0 14px 34px rgba(57,44,98,.07);overflow:hidden}.game-line-v73:has(.game-rooms-v73){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr)}.game-main-v73{display:grid;grid-template-columns:82px minmax(190px,1fr);gap:18px;align-items:center;padding:18px 20px}.game-line-v73:not(:has(.game-rooms-v73)) .game-main-v73{grid-template-columns:82px minmax(210px,1fr) minmax(400px,.9fr)}.game-icon-v73{width:68px;height:68px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8dcff,#ebe6ff);font-size:31px;font-weight:900}.game-icon-v73 img{max-width:56px;max-height:56px}.game-copy-v73 h2{font-size:24px;margin:5px 0}.game-copy-v73 p{margin:0;color:var(--muted,#7b788a);font-size:14px}.game-actions-v73{display:flex;justify-content:flex-end}.game-quick-form-v73{grid-column:1/-1;display:grid;grid-template-columns:minmax(180px,1fr) 100px auto;gap:9px;align-items:center}.game-quick-form-v73 input,.game-quick-form-v73 select{height:42px;border:1px solid rgba(120,108,170,.2);border-radius:13px;padding:0 11px;background:var(--input-bg,#fff);color:inherit;min-width:0}.game-format-v73{height:42px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:rgba(124,91,255,.08);font-weight:700;font-size:13px}.game-rooms-v73{border-left:1px solid rgba(120,108,170,.12);padding:16px 18px;background:rgba(124,91,255,.028);min-width:0}.rooms-title-v73{display:flex;gap:8px;align-items:center;font-weight:800;margin-bottom:10px}.rooms-title-v73 span{min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:rgba(124,91,255,.12);display:inline-flex;align-items:center;justify-content:center;font-size:12px}.rooms-grid-v73{display:grid;gap:8px;max-height:230px;overflow:auto;padding-right:2px}.room-mini-v73{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(120,108,170,.14);border-radius:15px;padding:10px 11px;background:var(--card,#fff)}.room-mini-v73 b{display:block;margin-bottom:3px;font-size:14px}.room-mini-v73 small{color:var(--muted,#7b788a);font-size:12px}.room-mini-v73 .btn{white-space:nowrap;padding:8px 12px;font-size:13px}.room-actions-mini-v73{display:flex}.theme-dark .game-line-v73,.theme-neon .game-line-v73{background:rgba(24,21,37,.95)}.theme-dark .room-mini-v73,.theme-neon .room-mini-v73{background:rgba(32,28,48,.95)}.theme-golden .game-icon-v73{background:linear-gradient(135deg,#fff3ba,#ffd56a)}
@media(max-width:1050px){.game-line-v73:has(.game-rooms-v73){grid-template-columns:1fr}.game-rooms-v73{border-left:0;border-top:1px solid rgba(120,108,170,.12)}.game-line-v73:not(:has(.game-rooms-v73)) .game-main-v73{grid-template-columns:72px 1fr}.game-actions-v73{grid-column:1/-1}.game-quick-form-v73{grid-template-columns:1fr 100px auto}}
@media(max-width:680px){.game-main-v73{grid-template-columns:58px 1fr;padding:15px}.game-icon-v73{width:54px;height:54px;border-radius:16px;font-size:25px}.game-copy-v73 h2{font-size:20px}.game-quick-form-v73{grid-template-columns:1fr}.game-format-v73{height:40px}.game-rooms-v73{padding:12px 15px 15px}.room-mini-v73{align-items:flex-start}.game-actions-v73 .btn{width:100%}}
/* v74 social farm */
.farm-page{padding:24px 0 50px}.farm-shell{max-width:1180px}.farm-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:26px 28px;margin-bottom:16px;border-radius:28px;background:linear-gradient(135deg,#efffe8,#fff7d7);border:1px solid #d8edc9}.farm-hero h1{font-size:38px;margin:6px 0}.farm-hero p{margin:0;color:#66705f}.farm-stats{display:flex;gap:10px}.farm-stats b{min-width:100px;padding:13px;border-radius:16px;background:rgba(255,255,255,.8);text-align:center;font-size:20px}.farm-stats small{display:block;font-size:11px;color:#777;font-weight:600}.farm-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.farm-section-head{display:flex;justify-content:space-between;align-items:end;margin:12px 0}.farm-section-head h2{margin:4px 0}.farm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.farm-plot{padding:13px;border-radius:20px;background:var(--card,#fff);border:1px solid rgba(90,110,70,.15);box-shadow:0 8px 22px rgba(65,82,48,.06)}.farm-soil{height:105px;border-radius:15px;background:linear-gradient(#d8f0bd 0 35%,#a36c45 36% 100%);display:grid;place-items:center;margin-bottom:9px;overflow:hidden}.farm-sprout{font-size:28px;color:#fff;font-weight:900}.farm-sprout i{display:inline-block;width:16px;height:31px;margin:0 2px;border-radius:80% 10% 80% 10%;background:#4cae50;transform:rotate(-25deg);transform-origin:bottom}.farm-sprout i:nth-child(2){height:42px;transform:rotate(5deg);background:#68bd55}.farm-sprout i:nth-child(3){transform:rotate(28deg)}.crop-gold .farm-sprout i,.crop-yellow .farm-sprout i{background:#e4b82f}.crop-orange .farm-sprout i{background:#f58b31}.crop-pink .farm-sprout i{background:#ed5d91}.crop-red .farm-sprout i{background:#df4a45}.farm-plot>strong,.farm-plot>small{display:block}.farm-plot>small{color:var(--muted,#777);margin:2px 0 8px}.farm-plant-form{display:grid;grid-template-columns:1fr auto;gap:6px}.farm-plant-form select,.farm-plant-form button,.farm-action{min-height:34px;border-radius:10px;border:1px solid rgba(100,100,100,.16);padding:6px 8px}.farm-plant-form button,.farm-action{border:0;background:#55a84f;color:#fff;font-weight:800;cursor:pointer}.farm-action{width:100%;margin-top:7px}.farm-action.secondary{background:#7667d8}.farm-timer,.farm-ready{display:block;font-size:12px;font-weight:800;color:#7a6b5d;margin-top:5px}.farm-ready{color:#2c963d}.farm-side{display:grid;gap:14px;align-content:start}.farm-card,.farm-social{background:var(--card,#fff);border:1px solid rgba(120,108,170,.14);border-radius:22px;padding:17px}.farm-card h3{margin:0 0 10px}.farm-card p{font-size:13px}.farm-shop-row{display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid rgba(120,108,170,.1);font-size:13px}.farm-shop-row small{color:#888}.farm-neighbor{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px 0;border-top:1px solid rgba(120,108,170,.1)}.farm-neighbor small{display:block;color:#888}.farm-neighbor>div:last-child{display:flex;gap:5px}.farm-neighbor form{margin:0}.farm-neighbor .btn{padding:7px 9px;font-size:12px}.farm-social{margin-top:20px}.farm-suggestions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.farm-suggestions article{text-align:center;padding:13px;border-radius:16px;background:rgba(100,160,70,.06)}.farm-suggestions b,.farm-suggestions small{display:block}.farm-suggestions small{color:#888;margin:3px 0 9px}.farm-person-placeholder{width:48px;height:48px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#8bd26d,#5b8ff9);color:#fff;font-weight:900}.farm-requests form{display:flex;justify-content:space-between;align-items:center;padding:9px 0}.farm-back{margin-bottom:12px}.farm-game-icon{background:linear-gradient(135deg,#e9ffd8,#fff2b5)}.farm-mini-plant{position:relative;width:40px;height:42px;border-bottom:9px solid #9b633d}.farm-mini-plant i{position:absolute;bottom:8px;left:19px;width:12px;height:27px;background:#55ad50;border-radius:80% 10%;transform:rotate(-28deg);transform-origin:bottom}.farm-mini-plant i+ i{transform:rotate(28deg);left:11px}.theme-dark .farm-hero,.theme-neon .farm-hero{background:linear-gradient(135deg,#1d3021,#292237);border-color:#40523d}.theme-dark .farm-hero p,.theme-neon .farm-hero p{color:#c9c4d1}.theme-dark .farm-stats b,.theme-neon .farm-stats b{background:rgba(255,255,255,.07)}.theme-golden .farm-hero{background:linear-gradient(135deg,#fff8cf,#ffe5a2)}
@media(max-width:900px){.farm-layout{grid-template-columns:1fr}.farm-side{grid-template-columns:1fr 1fr}.farm-suggestions{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.farm-hero{align-items:flex-start;flex-direction:column;padding:20px}.farm-hero h1{font-size:30px}.farm-stats{width:100%}.farm-stats b{min-width:0;flex:1}.farm-grid{grid-template-columns:repeat(2,1fr)}.farm-side{grid-template-columns:1fr}.farm-suggestions{grid-template-columns:1fr 1fr}.farm-plant-form{grid-template-columns:1fr}.farm-soil{height:85px}}

/* v75 farm economy + stable empty layout */
.farm-layout{align-items:start}.farm-field-panel{min-width:0}.farm-grid.single-plot{grid-template-columns:minmax(260px,340px);justify-content:start}.farm-progress-note{margin:3px 0 0;color:var(--muted,#777);font-size:13px}.farm-tabs{display:flex;gap:8px;margin:0 0 18px;padding:6px;background:var(--card,#fff);border:1px solid rgba(120,108,170,.14);border-radius:16px;width:max-content}.farm-tabs a{display:flex;align-items:center;gap:7px;padding:9px 16px;border-radius:11px;text-decoration:none;font-weight:800;color:inherit}.farm-tabs a.active{background:linear-gradient(135deg,#f43d94,#8058f5);color:#fff}.farm-tabs span{min-width:21px;height:21px;padding:0 6px;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.2);font-size:11px}.farm-market{background:var(--card,#fff);border:1px solid rgba(120,108,170,.14);border-radius:24px;padding:22px}.farm-market-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.farm-market-head h2{margin:4px 0}.farm-market-head p{margin:0;color:var(--muted,#777)}.farm-market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.farm-market-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;align-items:center;padding:14px;border:1px solid rgba(120,108,170,.12);border-radius:20px;background:rgba(100,160,70,.04)}.farm-market-visual{height:110px;border-radius:15px;background:linear-gradient(#d8f0bd 0 35%,#a36c45 36% 100%);display:grid;place-items:center}.farm-market-body h3{margin:0 0 7px}.farm-market-body p{margin:4px 0}.farm-market-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.farm-market-actions form{margin:0}.farm-market-empty{display:inline-block;margin-top:8px;padding:7px 10px;border-radius:10px;background:rgba(120,120,140,.08);font-size:12px;color:var(--muted,#777)}
.theme-dark .farm-market-card,.theme-neon .farm-market-card{background:rgba(255,255,255,.04)}
@media(max-width:900px){.farm-market-grid{grid-template-columns:1fr}.farm-grid.single-plot{grid-template-columns:minmax(260px,420px)}}
@media(max-width:650px){.farm-tabs{width:100%}.farm-tabs a{flex:1;justify-content:center}.farm-market{padding:15px}.farm-market-head{flex-direction:column}.farm-market-card{grid-template-columns:90px minmax(0,1fr)}.farm-market-visual{height:90px}.farm-grid.single-plot{grid-template-columns:1fr}}

/* v76 farm economy, purchasable plots and livestock */
.farm-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.farm-head-actions form{margin:0}.farm-plot-buy{border-style:dashed;background:linear-gradient(180deg,rgba(85,168,79,.04),rgba(255,194,72,.05))}.farm-soil-locked{background:linear-gradient(135deg,#e9e5d7,#d7d0bd);color:#6f6756;font-size:28px}.farm-shop-row b{display:flex;gap:6px;align-items:center}.farm-shop-row b em{font-style:normal;color:#2c963d;font-size:11px;padding:3px 6px;border-radius:20px;background:rgba(60,170,70,.1)}.farm-profit-line{font-size:12px!important;padding:6px 8px;border-radius:10px;background:rgba(70,170,80,.08)}.farm-profit-line b{color:#2c963d}.farm-market-emoji{font-size:52px;filter:drop-shadow(0 5px 8px rgba(0,0,0,.12))}.farm-animal-product .farm-market-visual{background:linear-gradient(135deg,#fff3cf,#e7f7cf)}
.farm-livestock-section{margin-top:20px;padding:20px;border-radius:24px;background:var(--card,#fff);border:1px solid rgba(120,108,170,.14)}.farm-livestock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.farm-animal-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:13px;padding:14px;border-radius:20px;border:1px solid rgba(115,100,75,.14);background:linear-gradient(145deg,rgba(255,245,211,.65),rgba(226,247,213,.65));align-items:center}.farm-animal-card.locked{opacity:.68;filter:saturate(.7)}.farm-animal-visual{height:92px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(#d9f3c6 0 43%,#d4b27b 44% 100%);box-shadow:inset 0 0 0 1px rgba(80,100,60,.08)}.farm-animal-visual span{font-size:52px;filter:drop-shadow(0 4px 3px rgba(0,0,0,.13))}.farm-animal-info h3{margin:0 0 5px}.farm-animal-info p{margin:3px 0;font-size:12px;color:var(--muted,#777)}.farm-animal-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.farm-animal-actions form{margin:0}.theme-dark .farm-livestock-section,.theme-neon .farm-livestock-section{background:var(--card,#171521)}.theme-dark .farm-animal-card,.theme-neon .farm-animal-card{background:rgba(255,255,255,.04)}
@media(max-width:900px){.farm-livestock-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.farm-section-head{align-items:flex-start;gap:12px;flex-direction:column}.farm-head-actions{justify-content:flex-start}.farm-livestock-section{padding:15px}.farm-livestock-grid{grid-template-columns:1fr}.farm-animal-card{grid-template-columns:78px minmax(0,1fr)}.farm-animal-visual{height:78px}.farm-animal-visual span{font-size:44px}}

/* v77 — Games + Farm: full theme adaptation */
html.theme-dark{
  --card:#191b25;
  --muted:#a9abba;
  --input-bg:#11131b;
}
html.theme-neon{
  --card:#151523;
  --muted:#b4adc5;
  --input-bg:#0d0e18;
}
html.theme-golden{
  --card:#fffaf0;
  --muted:#806c45;
  --input-bg:#fffdf3;
}

/* ---------- Games hub ---------- */
html.theme-dark .games-page-v73 .games-hero,
html.theme-dark .games-page-v73 .games-hero-compact{
  background:linear-gradient(135deg,#171923 0%,#262039 58%,#3b2545 100%)!important;
  border:1px solid #343746!important;
  box-shadow:0 20px 46px rgba(0,0,0,.28)!important;
}
html.theme-dark .games-page-v73 .game-line-v73{
  background:#191b25!important;
  color:#f3f4f8!important;
  border-color:#303341!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22)!important;
}
html.theme-dark .games-page-v73 .game-rooms-v73{
  background:#151720!important;
  border-color:#303341!important;
}
html.theme-dark .games-page-v73 .room-mini-v73{
  background:#20222d!important;
  border-color:#343746!important;
  color:#f4f5f8!important;
}
html.theme-dark .games-page-v73 .game-icon-v73{
  background:linear-gradient(145deg,#2a2d39,#20222d)!important;
  color:#d9c7ff!important;
  border:1px solid #393d4d!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
html.theme-dark .games-page-v73 .game-format-v73,
html.theme-dark .games-page-v73 .rooms-title-v73 span{
  background:#2a263a!important;
  color:#d9c7ff!important;
}
html.theme-dark .games-page-v73 .live-pill{
  background:#173429!important;
  color:#8de0b1!important;
}

html.theme-neon .games-page-v73 .games-hero,
html.theme-neon .games-page-v73 .games-hero-compact{
  background:
    radial-gradient(circle at 14% 15%,rgba(255,57,177,.22),transparent 30%),
    radial-gradient(circle at 88% 20%,rgba(83,223,255,.13),transparent 28%),
    linear-gradient(135deg,#160d25 0%,#25103b 52%,#151a38 100%)!important;
  border:1px solid rgba(177,91,255,.42)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.30),0 0 32px rgba(255,46,189,.10)!important;
}
html.theme-neon .games-page-v73 .game-line-v73{
  background:linear-gradient(145deg,#171626,#10111d)!important;
  color:#f7f2ff!important;
  border-color:rgba(154,88,230,.38)!important;
  box-shadow:0 15px 38px rgba(0,0,0,.28),0 0 24px rgba(163,77,255,.07)!important;
}
html.theme-neon .games-page-v73 .game-line-v73:hover{
  border-color:rgba(255,77,199,.48)!important;
  box-shadow:0 17px 42px rgba(0,0,0,.30),0 0 28px rgba(255,46,189,.10)!important;
}
html.theme-neon .games-page-v73 .game-rooms-v73{
  background:rgba(18,15,31,.92)!important;
  border-color:rgba(154,88,230,.30)!important;
}
html.theme-neon .games-page-v73 .room-mini-v73{
  background:linear-gradient(145deg,#21172f,#161624)!important;
  border-color:rgba(154,88,230,.32)!important;
  color:#f8f4ff!important;
}
html.theme-neon .games-page-v73 .game-icon-v73{
  background:linear-gradient(145deg,#321847,#172640)!important;
  color:#ff89d3!important;
  border:1px solid rgba(255,77,199,.34)!important;
  box-shadow:0 0 22px rgba(163,77,255,.10)!important;
}
html.theme-neon .games-page-v73 .game-format-v73,
html.theme-neon .games-page-v73 .rooms-title-v73 span{
  background:linear-gradient(135deg,rgba(255,61,169,.14),rgba(139,92,255,.18))!important;
  color:#e3cbff!important;
}
html.theme-neon .games-page-v73 .live-pill{
  background:linear-gradient(135deg,rgba(36,200,126,.16),rgba(83,223,255,.12))!important;
  color:#7ff3bf!important;
  border:1px solid rgba(78,221,173,.16)!important;
}

html.theme-golden .games-page-v73 .games-hero,
html.theme-golden .games-page-v73 .games-hero-compact{
  background:
    radial-gradient(circle at 88% 16%,rgba(255,246,174,.88),transparent 30%),
    linear-gradient(135deg,#fff3b0 0%,#ffd566 52%,#f3a320 100%)!important;
  color:#4d3505!important;
  border:1px solid #e8bb42!important;
  box-shadow:0 18px 40px rgba(190,124,0,.15)!important;
}
html.theme-golden .games-page-v73 .games-hero h1,
html.theme-golden .games-page-v73 .games-hero p{color:#4d3505!important}
html.theme-golden .games-page-v73 .game-line-v73{
  background:linear-gradient(145deg,#fffef8,#fff4ce)!important;
  color:#463716!important;
  border-color:#e8c45a!important;
  box-shadow:0 14px 32px rgba(174,116,0,.10)!important;
}
html.theme-golden .games-page-v73 .game-rooms-v73{
  background:rgba(255,236,172,.35)!important;
  border-color:#e8c45a!important;
}
html.theme-golden .games-page-v73 .room-mini-v73{
  background:#fffaf0!important;
  border-color:#e7c567!important;
  color:#463716!important;
}
html.theme-golden .games-page-v73 .game-icon-v73{
  background:linear-gradient(145deg,#fff5bf,#ffd766)!important;
  color:#9a6100!important;
  border:1px solid #e7bd43!important;
  box-shadow:0 8px 20px rgba(197,128,0,.10)!important;
}
html.theme-golden .games-page-v73 .game-format-v73,
html.theme-golden .games-page-v73 .rooms-title-v73 span{
  background:#ffeaa0!important;
  color:#7a5000!important;
}
html.theme-golden .games-page-v73 .live-pill{
  background:#eaf6ca!important;
  color:#4d7d22!important;
  border:1px solid #c9dfa0!important;
}

/* ---------- Farm surfaces ---------- */
html.theme-dark .farm-tabs,
html.theme-dark .farm-market,
html.theme-dark .farm-plot,
html.theme-dark .farm-card,
html.theme-dark .farm-social,
html.theme-dark .farm-livestock-section{
  background:#191b25!important;
  color:#f3f4f8!important;
  border-color:#303341!important;
  box-shadow:0 12px 30px rgba(0,0,0,.20)!important;
}
html.theme-dark .farm-hero{
  background:linear-gradient(135deg,#172b1f 0%,#1d2924 46%,#292238 100%)!important;
  border-color:#3a493f!important;
  color:#f5f5f7!important;
  box-shadow:0 16px 36px rgba(0,0,0,.20)!important;
}
html.theme-dark .farm-hero p{color:#b9bfc3!important}
html.theme-dark .farm-stats b{
  background:#242732!important;
  color:#f4f5f8!important;
  border:1px solid #343846!important;
}
html.theme-dark .farm-stats small{color:#a7abba!important}
html.theme-dark .farm-market-card,
html.theme-dark .farm-animal-card{
  background:#20232c!important;
  border-color:#343845!important;
  color:#f4f5f8!important;
}
html.theme-dark .farm-plot-buy{
  background:linear-gradient(180deg,#1c2822,#24232b)!important;
  border-color:#3b4b40!important;
}
html.theme-dark .farm-soil-locked{
  background:linear-gradient(135deg,#353740,#252730)!important;
  color:#c4c7d2!important;
}
html.theme-dark .farm-suggestions article{
  background:#20272a!important;
  border:1px solid #324039!important;
}
html.theme-dark .farm-shop-row,
html.theme-dark .farm-neighbor{border-color:#303341!important}
html.theme-dark .farm-profit-line{
  background:#173126!important;
  color:#c8efda!important;
}
html.theme-dark .farm-market-empty{background:#252833!important;color:#aeb2c0!important}
html.theme-dark .farm-page .btn:not(.btn-primary):not(.btn-danger),
html.theme-dark .farm-page button.btn:not(.btn-primary):not(.btn-danger){
  background:#2a2d38!important;
  color:#f0f1f6!important;
  border:1px solid #3c404e!important;
}
html.theme-dark .farm-tabs a:not(.active){color:#d9dce5!important}
html.theme-dark .farm-progress-note,
html.theme-dark .farm-timer{color:#aeb2c0!important}

html.theme-neon .farm-tabs,
html.theme-neon .farm-market,
html.theme-neon .farm-plot,
html.theme-neon .farm-card,
html.theme-neon .farm-social,
html.theme-neon .farm-livestock-section{
  background:linear-gradient(145deg,#171626,#10111d)!important;
  color:#f8f4ff!important;
  border-color:rgba(154,88,230,.36)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.26),0 0 24px rgba(163,77,255,.06)!important;
}
html.theme-neon .farm-hero{
  background:
    radial-gradient(circle at 12% 16%,rgba(58,190,111,.14),transparent 28%),
    radial-gradient(circle at 90% 18%,rgba(255,61,169,.18),transparent 28%),
    linear-gradient(135deg,#12251b 0%,#211530 58%,#171329 100%)!important;
  border-color:rgba(144,94,207,.42)!important;
  color:#f8f4ff!important;
  box-shadow:0 16px 40px rgba(0,0,0,.28),0 0 28px rgba(163,77,255,.07)!important;
}
html.theme-neon .farm-hero p{color:#c5bbd0!important}
html.theme-neon .farm-stats b{
  background:rgba(33,27,48,.88)!important;
  color:#fff!important;
  border:1px solid rgba(160,93,225,.32)!important;
  box-shadow:0 0 18px rgba(163,77,255,.06)!important;
}
html.theme-neon .farm-stats small{color:#b9aec7!important}
html.theme-neon .farm-market-card,
html.theme-neon .farm-animal-card{
  background:linear-gradient(145deg,#20182c,#151624)!important;
  border-color:rgba(154,88,230,.32)!important;
  color:#f8f4ff!important;
}
html.theme-neon .farm-plot-buy{
  background:linear-gradient(160deg,#14271e,#21182d)!important;
  border-color:rgba(99,202,135,.28)!important;
}
html.theme-neon .farm-soil-locked{
  background:linear-gradient(135deg,#302740,#1d1d2d)!important;
  color:#d6c8ea!important;
  box-shadow:inset 0 0 18px rgba(163,77,255,.06)!important;
}
html.theme-neon .farm-suggestions article{
  background:linear-gradient(145deg,rgba(37,50,43,.76),rgba(29,24,43,.82))!important;
  border:1px solid rgba(111,185,132,.18)!important;
}
html.theme-neon .farm-shop-row,
html.theme-neon .farm-neighbor{border-color:rgba(154,88,230,.24)!important}
html.theme-neon .farm-profit-line{
  background:rgba(36,177,96,.11)!important;
  color:#bdf0d1!important;
  border:1px solid rgba(73,210,129,.13)!important;
}
html.theme-neon .farm-market-empty{background:#211c2c!important;color:#b9afc7!important}
html.theme-neon .farm-page .btn:not(.btn-primary):not(.btn-danger),
html.theme-neon .farm-page button.btn:not(.btn-primary):not(.btn-danger){
  background:linear-gradient(145deg,#232033,#191a29)!important;
  color:#f4efff!important;
  border:1px solid rgba(154,88,230,.34)!important;
}
html.theme-neon .farm-tabs a:not(.active){color:#e3dced!important}
html.theme-neon .farm-tabs a.active{
  box-shadow:0 0 20px rgba(255,61,169,.20),0 0 28px rgba(139,92,255,.12)!important;
}
html.theme-neon .farm-progress-note,
html.theme-neon .farm-timer{color:#b6adbf!important}

html.theme-golden .farm-tabs,
html.theme-golden .farm-market,
html.theme-golden .farm-plot,
html.theme-golden .farm-card,
html.theme-golden .farm-social,
html.theme-golden .farm-livestock-section{
  background:linear-gradient(145deg,#fffef8,#fff5d2)!important;
  color:#463716!important;
  border-color:#e7c55e!important;
  box-shadow:0 12px 28px rgba(174,116,0,.09)!important;
}
html.theme-golden .farm-hero{
  background:
    radial-gradient(circle at 88% 18%,rgba(255,245,170,.86),transparent 30%),
    linear-gradient(135deg,#f2f9c9 0%,#fff2b4 48%,#ffd67a 100%)!important;
  border-color:#ddc565!important;
  color:#453612!important;
  box-shadow:0 16px 34px rgba(174,116,0,.11)!important;
}
html.theme-golden .farm-hero p{color:#725f33!important}
html.theme-golden .farm-stats b{
  background:rgba(255,250,228,.88)!important;
  color:#4b3913!important;
  border:1px solid #e6c75f!important;
}
html.theme-golden .farm-stats small{color:#856d3d!important}
html.theme-golden .farm-market-card,
html.theme-golden .farm-animal-card{
  background:linear-gradient(145deg,#fff9df,#f4f6cf)!important;
  border-color:#e4c767!important;
  color:#463716!important;
}
html.theme-golden .farm-plot-buy{
  background:linear-gradient(180deg,#f6f6ce,#fff0bd)!important;
  border-color:#dcb958!important;
}
html.theme-golden .farm-soil-locked{
  background:linear-gradient(135deg,#f1e8c6,#dccb93)!important;
  color:#795d23!important;
}
html.theme-golden .farm-suggestions article{
  background:#f6f6d8!important;
  border:1px solid #dfe0a7!important;
}
html.theme-golden .farm-shop-row,
html.theme-golden .farm-neighbor{border-color:#ead58a!important}
html.theme-golden .farm-profit-line{
  background:#edf4cd!important;
  color:#496d24!important;
  border:1px solid #d3dda2!important;
}
html.theme-golden .farm-market-empty{background:#f6e8b8!important;color:#7c6534!important}
html.theme-golden .farm-page .btn:not(.btn-primary):not(.btn-danger),
html.theme-golden .farm-page button.btn:not(.btn-primary):not(.btn-danger){
  background:linear-gradient(145deg,#fffdf3,#ffe8a5)!important;
  color:#654600!important;
  border:1px solid #dfbd55!important;
}
html.theme-golden .farm-tabs a:not(.active){color:#624a18!important}
html.theme-golden .farm-tabs a.active{
  background:linear-gradient(135deg,#f5b52a,#e78a08)!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(214,133,0,.18)!important;
}
html.theme-golden .farm-progress-note,
html.theme-golden .farm-timer{color:#806b40!important}

/* Keep crop/animal scene colors readable in every theme. */
html.theme-dark .farm-soil:not(.farm-soil-locked),
html.theme-neon .farm-soil:not(.farm-soil-locked),
html.theme-golden .farm-soil:not(.farm-soil-locked){
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)
}
html.theme-dark .farm-market-visual,
html.theme-neon .farm-market-visual,
html.theme-golden .farm-market-visual,
html.theme-dark .farm-animal-visual,
html.theme-neon .farm-animal-visual,
html.theme-golden .farm-animal-visual{
  border:1px solid rgba(95,85,55,.10)
}

/* v78: self-hosted registration/login CAPTCHA */
.auth-error{background:#fff0f3!important;color:#b42358!important;border:1px solid #ffd1df}
.auth-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.captcha-field{margin-top:2px}.captcha-box{display:grid;gap:9px;padding:12px;border:1px solid #e3e1ec;border-radius:15px;background:linear-gradient(145deg,#fafaff,#f5f3fb)}.captcha-row{display:flex;align-items:stretch;gap:9px}.captcha-image{display:block;width:min(240px,calc(100% - 54px));height:84px;object-fit:cover;border-radius:11px;border:1px solid #dedbe9;background:#f6f7fc;user-select:none}.captcha-refresh{width:48px;min-width:48px;border:1px solid #dedbe9;border-radius:11px;background:#fff;color:#6551d3;font-size:26px;font-weight:900;line-height:1;cursor:pointer;transition:.16s}.captcha-refresh:hover{background:#f0edff;transform:translateY(-1px)}.captcha-refresh:active{transform:translateY(0) rotate(20deg)}.captcha-input{letter-spacing:.32em!important;font-size:20px!important;font-weight:900!important;text-align:center}.captcha-note{font-size:11px;line-height:1.4;color:#7d7b8b}
html.theme-dark .captcha-box{background:#141620;border-color:#343745}html.theme-dark .captcha-refresh{background:#242633;color:#d3bdff;border-color:#3c4050}html.theme-dark .captcha-refresh:hover{background:#302944}html.theme-dark .captcha-image{border-color:#3c4050;background:#f6f7fc}html.theme-dark .captcha-note{color:#9ea1b2}
html.theme-neon .captcha-box{background:linear-gradient(145deg,#121125,#191334);border-color:#7e44ff}html.theme-neon .captcha-refresh{background:#1b1538;color:#ff63ce;border-color:#8d4cff;box-shadow:0 0 14px rgba(126,68,255,.16)}html.theme-neon .captcha-refresh:hover{background:#291b4d}html.theme-neon .captcha-note{color:#b9a9dd}
html.theme-golden .captcha-box{background:linear-gradient(145deg,#fffdf5,#fff2c9);border-color:#dfc064}html.theme-golden .captcha-refresh{background:#fff8df;color:#7a5700;border-color:#d8b557}html.theme-golden .captcha-refresh:hover{background:#ffefb8}html.theme-golden .captcha-note{color:#806b40}
@media(max-width:520px){.captcha-row{align-items:stretch}.captcha-image{height:76px}.captcha-refresh{width:44px;min-width:44px}.captcha-input{font-size:18px!important}}

/* v79: admin backup center */
.backup-admin .page-head{align-items:center}.backup-flash{margin-bottom:18px}.backup-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.backup-status{display:grid;gap:7px;min-height:132px}.backup-status span{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#8a8797;font-weight:900}.backup-status b{font-size:22px;letter-spacing:-.5px}.backup-status small{color:#858393;line-height:1.45}.backup-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.backup-two-col h2,.backup-list-panel h2,.backup-cron h2{margin-top:0}.backup-warning{margin-bottom:18px;border-color:#ffd37a;background:#fffaf0}.backup-warning code,.backup-cron code{background:#f3f1f8;border:1px solid #e6e2ee;border-radius:9px;padding:3px 7px}.backup-empty{padding:28px;margin-top:16px}.backup-list-panel{margin-bottom:18px}.backup-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.backup-section-head p{margin-bottom:4px}.backup-table-wrap{overflow:auto;margin:15px -4px 0;padding:0 4px}.backup-table{width:100%;border-collapse:collapse;min-width:880px}.backup-table th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#858393;padding:11px 10px;border-bottom:1px solid #ece9f2}.backup-table td{padding:13px 10px;border-bottom:1px solid #f0eef5;vertical-align:middle}.backup-table tbody tr:last-child td{border-bottom:0}.backup-table td>small,.backup-table td small{color:#7f7c8c;line-height:1.5}.backup-table td:first-child b,.backup-table td:first-child small{display:block}.backup-file-name{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.backup-type{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.backup-type-auto{background:#eaf8ef;color:#18733e}.backup-type-manual{background:#f0edff;color:#624fe0}.backup-type-safety{background:#fff4dc;color:#906116}.backup-row-actions{display:flex;gap:7px;justify-content:flex-end}.backup-row-actions form{margin:0}.backup-row-actions .btn{padding:9px 11px;font-size:12px}.backup-cron{margin-bottom:18px}.backup-cron code{display:block;margin:12px 0;padding:12px;overflow:auto;white-space:nowrap}.backup-security-note{padding:15px 17px;border-radius:14px;background:#fff8e8;border:1px solid #f1d99e;color:#6f5721;line-height:1.55}.backup-admin button:disabled{opacity:.45;cursor:not-allowed;transform:none}@media(max-width:980px){.backup-status-grid{grid-template-columns:repeat(2,1fr)}.backup-two-col{grid-template-columns:1fr}}@media(max-width:620px){.backup-status-grid{grid-template-columns:1fr}.backup-admin .page-head form,.backup-admin .page-head .btn{width:100%}.backup-status{min-height:0}}

/* === v80: Gifts / LoveCoins === */
.btn-gift{background:linear-gradient(135deg,#ffcf62,#ff6d9e);color:#3b2631;border:0;box-shadow:0 10px 24px rgba(255,109,158,.18)}
.gift-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 32px;margin-bottom:20px;border:1px solid #eee4f2;border-radius:28px;background:radial-gradient(circle at 90% 12%,#fff1b9 0,transparent 28%),linear-gradient(135deg,#fff 0,#fff7fb 55%,#f3edff 100%);box-shadow:0 18px 50px rgba(51,35,85,.07)}
.gift-hero h1{font-size:42px;letter-spacing:-1.5px;margin:10px 0 6px}.gift-hero p{margin:0;color:#6f6b79;line-height:1.6;max-width:700px}.gift-wallet{min-width:245px;padding:18px 20px;border-radius:20px;background:#171525;color:#fff;display:grid;gap:5px;box-shadow:0 14px 32px rgba(28,23,47,.18)}.gift-wallet>span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#bcb6cc;font-weight:900}.gift-wallet strong{font-size:28px}.gift-wallet strong small{font-size:12px;color:#ffc6df}.gift-wallet a{font-size:12px;color:#ffd36d;font-weight:900;margin-top:4px}
.gift-section{margin:24px 0}.gift-section>.section-heading,.gift-inventory-panel>.section-heading,.gift-history-panel>.section-heading,.gift-topup-panel>.section-heading,.public-gifts-panel>.section-heading,.profile-gifts-card>.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.gift-section h2,.gift-inventory-panel h2,.gift-history-panel h2,.gift-topup-panel h2,.public-gifts-panel h2,.profile-gifts-card h2{margin:8px 0 4px}
.gift-shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.gift-shop-card{overflow:hidden;border:1px solid #ece7f1;border-radius:24px;background:#fff;box-shadow:0 12px 34px rgba(36,27,57,.06);transition:.18s}.gift-shop-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(36,27,57,.10)}.gift-shop-visual{height:145px;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#fff 0,#fff5dc 42%,#f5ecff 100%)}.gift-shop-visual span{font-size:76px;filter:drop-shadow(0 12px 12px rgba(60,38,65,.12));transform:translateY(-2px)}.gift-shop-body{padding:18px;display:grid;gap:9px}.gift-shop-body h3{font-size:21px;margin:0}.gift-shop-body p{min-height:39px;margin:0;color:#7b7685;font-size:13px;line-height:1.45}.gift-price{font-size:22px;font-weight:950;color:#5e45d5}.gift-price small{font-size:11px;color:#8c8797}.gift-shop-body form,.gift-shop-body .btn{width:100%}.gift-shop-body button:disabled{opacity:.46;cursor:not-allowed;transform:none}
.gift-send-panel{margin-bottom:22px}.gift-send-person{display:flex;align-items:center;gap:14px;margin-bottom:18px}.gift-send-person img{width:68px;height:68px;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 7px 20px rgba(50,34,76,.13)}.gift-send-person h2{margin:4px 0 1px}.gift-send-person a{font-size:12px;color:#735bdc;font-weight:800}.gift-send-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.gift-send-card{padding:16px;border:1px solid #ece7f1;border-radius:18px;background:#faf9fd;display:grid;gap:8px}.gift-send-card .gift-emoji{font-size:46px}.gift-send-card small{color:#827d8d}.gift-send-card input{width:100%;border:1px solid #dedbe8;border-radius:11px;background:#fff;padding:10px 11px;font-size:12px}.gift-send-card button{width:100%}
.gift-inventory-panel,.gift-history-panel,.gift-topup-panel{margin-top:18px}.gift-inventory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:15px}.gift-inventory-card{display:grid;grid-template-columns:54px 1fr;gap:4px 11px;align-items:center;padding:13px;border-radius:17px;background:#faf8ff;border:1px solid #ece7f4}.gift-inventory-card .gift-emoji{grid-row:1/3;font-size:42px}.gift-inventory-card>div:nth-child(2){display:flex;align-items:center;justify-content:space-between;gap:8px}.gift-inventory-card>div:nth-child(2)>span{padding:3px 7px;border-radius:999px;background:#eee8ff;color:#654fda;font-size:11px;font-weight:900}.gift-inventory-card>small{font-size:10px;color:#8b8596}.gift-inventory-hint{margin:16px 0 0}
.gift-empty{display:grid;place-items:center;text-align:center;gap:7px;padding:34px;border:1px dashed #ddd7e9;border-radius:18px;color:#817b8c}.gift-empty>div{font-size:42px}.gift-empty strong{color:#292534}.gift-empty.compact{padding:20px}.gift-empty.compact>div{font-size:34px}
.gift-history-list{display:grid;margin-top:10px}.gift-history-list>a{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:11px;padding:11px 4px;border-bottom:1px solid #f0edf4}.gift-history-list>a:last-child{border-bottom:0}.gift-history-emoji{width:46px;height:46px;border-radius:14px;background:#faf4ff;display:grid;place-items:center;font-size:27px}.gift-history-list span{display:grid;gap:2px}.gift-history-list small{color:#8a8494;font-size:11px}
.gift-topup-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.gift-topup-layout .auth-form{margin-top:0}.gift-topup-history{display:grid;gap:8px;margin-top:18px}.gift-topup-history>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:11px 13px;border:1px solid #efebf3;border-radius:13px}.gift-topup-history>div>span{font-size:11px;color:#858090}
.profile-gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:15px}.profile-gift-grid.public{grid-template-columns:repeat(4,1fr)}.profile-gift-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;padding:13px;border:1px solid #eee9f3;border-radius:18px;background:linear-gradient(145deg,#fff,#fcf8ff)}.profile-gift-emoji{width:58px;height:58px;border-radius:17px;background:linear-gradient(145deg,#fff4d5,#f2eaff);display:grid;place-items:center;font-size:36px}.profile-gift-card>div:last-child{display:grid;align-content:start;gap:5px;min-width:0}.profile-gift-card>div:last-child>strong{font-size:14px}.profile-gift-card a{display:flex;align-items:center;gap:6px;font-size:11px;color:#6d57d0;font-weight:800}.profile-gift-card a img{width:22px;height:22px;border-radius:50%;object-fit:cover}.profile-gift-card p{margin:1px 0;font-size:11px;line-height:1.35;color:#696473;overflow-wrap:anywhere}.profile-gift-card small{font-size:10px;color:#9892a0}.profile-gifts-card{margin-bottom:18px}.public-gifts-panel{margin-top:22px}.gift-private-note{padding:22px;text-align:center;border:1px dashed #ddd7e7;border-radius:16px;color:#7c7586;background:#faf9fc}

/* Gift themes */
html.theme-dark .gift-hero{background:radial-gradient(circle at 88% 12%,rgba(122,87,35,.22),transparent 30%),linear-gradient(135deg,#171921,#20202b 55%,#242031);border-color:#343746;color:#f7f7fa}.theme-dark .gift-hero p{color:#a9acb9}.theme-dark .gift-wallet{background:#0d0f15;border:1px solid #323642}.theme-dark .gift-shop-card,.theme-dark .gift-send-panel,.theme-dark .gift-inventory-panel,.theme-dark .gift-history-panel,.theme-dark .gift-topup-panel,.theme-dark .public-gifts-panel,.theme-dark .profile-gifts-card{background:#171921!important;border-color:#343746!important;color:#f5f4f8!important}.theme-dark .gift-shop-visual{background:radial-gradient(circle,#29251e,#211d27 55%,#171923)}.theme-dark .gift-shop-body p,.theme-dark .gift-inventory-hint{color:#a5a6b2}.theme-dark .gift-send-card,.theme-dark .gift-inventory-card,.theme-dark .profile-gift-card{background:#20222c;border-color:#383b49}.theme-dark .gift-send-card input{background:#161821;border-color:#3b3e4b;color:#f5f5f8}.theme-dark .profile-gift-emoji,.theme-dark .gift-history-emoji{background:#292434}.theme-dark .gift-empty,.theme-dark .gift-private-note{background:#1b1d26;border-color:#3a3d49;color:#a9aab6}.theme-dark .gift-empty strong{color:#f3f2f7}.theme-dark .gift-history-list>a,.theme-dark .gift-topup-history>div{border-color:#333642}.theme-dark .gift-price{color:#c9b5ff}
html.theme-neon .gift-hero{background:radial-gradient(circle at 88% 10%,rgba(255,61,169,.20),transparent 28%),linear-gradient(135deg,#111323,#1a1530 55%,#261331);border-color:rgba(155,79,255,.45);box-shadow:0 0 28px rgba(150,70,255,.10);color:#fbf7ff}.theme-neon .gift-hero p{color:#bdb2cc}.theme-neon .gift-wallet{background:linear-gradient(145deg,#19112f,#10131e);border:1px solid rgba(255,74,184,.38);box-shadow:0 0 24px rgba(255,66,177,.11)}.theme-neon .gift-shop-card,.theme-neon .gift-send-panel,.theme-neon .gift-inventory-panel,.theme-neon .gift-history-panel,.theme-neon .gift-topup-panel,.theme-neon .public-gifts-panel,.theme-neon .profile-gifts-card{background:linear-gradient(145deg,#181426,#121520)!important;border-color:rgba(145,76,230,.35)!important;color:#faf5ff!important}.theme-neon .gift-shop-visual{background:radial-gradient(circle,#3a233e,#24182e 52%,#151522)}.theme-neon .gift-send-card,.theme-neon .gift-inventory-card,.theme-neon .profile-gift-card{background:linear-gradient(145deg,#21182d,#171826);border-color:rgba(152,81,235,.28)}.theme-neon .gift-send-card input{background:#141622;border-color:#543b72;color:#faf7ff}.theme-neon .profile-gift-emoji,.theme-neon .gift-history-emoji{background:linear-gradient(145deg,#322142,#1d2130)}.theme-neon .gift-price{color:#ff70c9}.theme-neon .gift-empty,.theme-neon .gift-private-note{background:#191622;border-color:#4e3a66;color:#bcb0c8}.theme-neon .gift-empty strong{color:#f8f4ff}.theme-neon .gift-history-list>a,.theme-neon .gift-topup-history>div{border-color:rgba(146,80,226,.25)}
html.theme-golden .gift-hero{background:radial-gradient(circle at 88% 12%,#fff1a7 0,transparent 29%),linear-gradient(135deg,#fffdf4,#fff3c6 55%,#f4e6a3);border-color:#e4c45d;color:#473814}.theme-golden .gift-hero p{color:#766234}.theme-golden .gift-wallet{background:linear-gradient(145deg,#55420d,#271f0d);border:1px solid #cba543}.theme-golden .gift-shop-card,.theme-golden .gift-send-panel,.theme-golden .gift-inventory-panel,.theme-golden .gift-history-panel,.theme-golden .gift-topup-panel,.theme-golden .public-gifts-panel,.theme-golden .profile-gifts-card{background:linear-gradient(145deg,#fffdf5,#fff7d7)!important;border-color:#e4c76b!important;color:#493b18!important}.theme-golden .gift-shop-visual{background:radial-gradient(circle,#fffef4,#fff0b9 55%,#f0dfa0)}.theme-golden .gift-send-card,.theme-golden .gift-inventory-card,.theme-golden .profile-gift-card{background:#fff9df;border-color:#e7ce7d}.theme-golden .gift-send-card input{background:#fffdf5;border-color:#dcc46f;color:#473a1b}.theme-golden .profile-gift-emoji,.theme-golden .gift-history-emoji{background:linear-gradient(145deg,#fff8d5,#f2dd9a)}.theme-golden .gift-price{color:#9c6b00}.theme-golden .gift-empty,.theme-golden .gift-private-note{background:#fff9df;border-color:#dfc46c;color:#7c6836}.theme-golden .gift-empty strong{color:#4a3a14}.theme-golden .gift-history-list>a,.theme-golden .gift-topup-history>div{border-color:#ead994}

@media(max-width:980px){.gift-shop-grid{grid-template-columns:repeat(2,1fr)}.gift-send-grid{grid-template-columns:repeat(2,1fr)}.gift-inventory-grid{grid-template-columns:repeat(3,1fr)}.profile-gift-grid,.profile-gift-grid.public{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.gift-hero{align-items:stretch;flex-direction:column;padding:22px}.gift-hero h1{font-size:34px}.gift-wallet{min-width:0}.gift-shop-grid,.gift-send-grid,.gift-topup-layout{grid-template-columns:1fr}.gift-inventory-grid{grid-template-columns:repeat(2,1fr)}.gift-topup-history>div{grid-template-columns:1fr auto}.gift-topup-history>div>b{grid-column:1/-1;justify-self:start}.gift-section>.section-heading,.gift-inventory-panel>.section-heading,.gift-history-panel>.section-heading,.gift-topup-panel>.section-heading,.public-gifts-panel>.section-heading,.profile-gifts-card>.section-heading{align-items:flex-start;flex-direction:column}.profile-gift-grid,.profile-gift-grid.public{grid-template-columns:1fr}}
@media(max-width:430px){.gift-inventory-grid{grid-template-columns:1fr}.gift-shop-visual{height:125px}.gift-shop-visual span{font-size:65px}.profile-gift-card{grid-template-columns:52px 1fr}.profile-gift-emoji{width:52px;height:52px;font-size:32px}}
.admin-gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}.admin-gift-card{display:grid;gap:10px;padding:15px;border:1px solid #ece8f1;border-radius:18px;background:#faf9fd}.admin-gift-emoji{font-size:48px;text-align:center}.admin-gift-card .auth-form{margin:0}@media(max-width:980px){.admin-gift-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.admin-gift-grid{grid-template-columns:1fr}}

/* v81 — compact desktop navigation + mobile app bottom navigation */
.app-nav{height:72px;display:flex;align-items:center;gap:22px;justify-content:flex-start}
.desktop-nav{display:flex;align-items:center;gap:3px;margin-left:auto}
.desktop-nav-link,.nav-dropdown-trigger{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:0;border-radius:13px;background:transparent;color:#646477;font-weight:800;white-space:nowrap;cursor:pointer;transition:.16s ease}
.desktop-nav-link:hover,.desktop-nav-link.active,.nav-dropdown.active>.nav-dropdown-trigger,.nav-dropdown.is-open>.nav-dropdown-trigger{background:#f2efff;color:#5d49d6}
.nav-count{min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#ff477e;color:#fff;font-size:10px;font-weight:900}
.nav-dropdown{position:relative}
.nav-dropdown-trigger svg,.profile-menu-trigger svg{width:16px;height:16px;transition:transform .16s ease}
.nav-dropdown.is-open>.nav-dropdown-trigger svg,.nav-dropdown.is-open>.profile-menu-trigger svg{transform:rotate(180deg)}
.nav-dropdown-menu{display:none;position:absolute;top:calc(100% + 10px);right:0;z-index:1200;width:275px;padding:8px;background:rgba(255,255,255,.98);border:1px solid #e9e7f0;border-radius:19px;box-shadow:0 22px 55px rgba(38,31,73,.17);backdrop-filter:blur(18px)}
.nav-dropdown.is-open>.nav-dropdown-menu{display:grid;gap:3px;animation:navDropIn .14s ease-out}
.nav-dropdown-menu>a{display:grid!important;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:10px!important;border-radius:13px!important;color:#454456!important;text-align:left!important;white-space:normal!important}
.nav-dropdown-menu>a>span{grid-row:1/3;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f5f3fa;font-size:17px}
.nav-dropdown-menu>a>b{font-size:13px;line-height:1.15}
.nav-dropdown-menu>a>small{font-size:10px;line-height:1.25;color:#8b8997}
.nav-dropdown-menu>a:hover{background:#f5f2ff!important;color:#5d49d6!important}
.dropdown-divider{height:1px;background:#eceaf2;margin:5px 4px}
.nav-dropdown-menu>a.dropdown-logout{color:#cf315f!important}
@keyframes navDropIn{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.desktop-nav-actions{display:flex;align-items:center;gap:7px;margin-left:7px}
.nav-icon-button{position:relative;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#686779;transition:.16s ease}
.nav-icon-button svg{width:21px;height:21px}
.nav-icon-button:hover,.nav-icon-button.active{background:#f2efff;color:#604bd7}
.icon-count{position:absolute;right:2px;top:1px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ff477e;color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:900;line-height:1}
.vip-pill{height:42px;padding:0 12px;border-radius:13px;display:inline-flex;align-items:center;gap:6px;color:#7a4ce0!important;font-size:13px;font-weight:950;transition:.16s ease}
.vip-pill:hover,.vip-pill.active{background:#f3efff}
.profile-menu-trigger{height:44px;max-width:178px;padding:4px 9px 4px 5px;border:1px solid transparent;border-radius:15px;background:transparent;display:flex;align-items:center;gap:8px;color:#545363;font-weight:850;cursor:pointer;transition:.16s ease}
.profile-menu-trigger:hover,.profile-dropdown.active>.profile-menu-trigger,.profile-dropdown.is-open>.profile-menu-trigger{background:#f7f5fb;border-color:#ece9f4}
.profile-menu-trigger img{width:34px;height:34px;border-radius:11px;object-fit:cover;background:#ececf3}
.profile-menu-name{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.profile-menu{width:285px}
.mobile-top-actions,.mobile-bottom-nav,.mobile-more-sheet,.mobile-more-backdrop{display:none}
.guest-nav{margin-left:auto;display:flex;align-items:center;gap:8px}.guest-nav>a:not(.btn){padding:10px 13px;border-radius:12px;color:#666679;font-weight:800}.guest-nav>a:not(.btn):hover{background:#f1efff;color:#5d49d6}

/* Theme support for the new desktop navigation */
html.theme-dark .desktop-nav-link,html.theme-dark .nav-dropdown-trigger,html.theme-dark .nav-icon-button,html.theme-dark .profile-menu-trigger{color:#d8dae5}
html.theme-dark .desktop-nav-link:hover,html.theme-dark .desktop-nav-link.active,html.theme-dark .nav-dropdown.active>.nav-dropdown-trigger,html.theme-dark .nav-dropdown.is-open>.nav-dropdown-trigger,html.theme-dark .nav-icon-button:hover,html.theme-dark .nav-icon-button.active,html.theme-dark .profile-menu-trigger:hover,html.theme-dark .profile-dropdown.active>.profile-menu-trigger,html.theme-dark .profile-dropdown.is-open>.profile-menu-trigger{background:#252337;color:#d7c5ff}
html.theme-dark .nav-dropdown-menu{background:rgba(25,26,36,.98);border-color:#353747;box-shadow:0 22px 55px rgba(0,0,0,.38)}
html.theme-dark .nav-dropdown-menu>a{color:#f2f3f8!important}html.theme-dark .nav-dropdown-menu>a>span{background:#252735}html.theme-dark .nav-dropdown-menu>a>small{color:#a9abba}html.theme-dark .nav-dropdown-menu>a:hover{background:#252337!important;color:#d7c5ff!important}html.theme-dark .dropdown-divider{background:#343644}html.theme-dark .icon-count{border-color:#0f1017}
html.theme-neon .desktop-nav-link,html.theme-neon .nav-dropdown-trigger,html.theme-neon .nav-icon-button,html.theme-neon .profile-menu-trigger{color:#ddd8ef}
html.theme-neon .desktop-nav-link:hover,html.theme-neon .desktop-nav-link.active,html.theme-neon .nav-dropdown.active>.nav-dropdown-trigger,html.theme-neon .nav-dropdown.is-open>.nav-dropdown-trigger,html.theme-neon .nav-icon-button:hover,html.theme-neon .nav-icon-button.active,html.theme-neon .profile-menu-trigger:hover,html.theme-neon .profile-dropdown.active>.profile-menu-trigger,html.theme-neon .profile-dropdown.is-open>.profile-menu-trigger{background:rgba(139,92,246,.14);color:#d5c2ff;box-shadow:inset 0 0 0 1px rgba(168,85,247,.2)}
html.theme-neon .nav-dropdown-menu{background:rgba(19,10,31,.98);border-color:rgba(168,85,247,.42);box-shadow:0 20px 55px rgba(82,26,140,.38),0 0 24px rgba(236,72,153,.09)}html.theme-neon .nav-dropdown-menu>a{color:#f1eaff!important}html.theme-neon .nav-dropdown-menu>a>span{background:rgba(139,92,246,.15)}html.theme-neon .nav-dropdown-menu>a>small{color:#b6a9c8}html.theme-neon .nav-dropdown-menu>a:hover{background:rgba(139,92,246,.13)!important;color:#e3d7ff!important}html.theme-neon .dropdown-divider{background:rgba(168,85,247,.25)}html.theme-neon .icon-count{border-color:#120a1d}
html.theme-golden .desktop-nav-link,html.theme-golden .nav-dropdown-trigger,html.theme-golden .nav-icon-button,html.theme-golden .profile-menu-trigger{color:#5a4827}
html.theme-golden .desktop-nav-link:hover,html.theme-golden .desktop-nav-link.active,html.theme-golden .nav-dropdown.active>.nav-dropdown-trigger,html.theme-golden .nav-dropdown.is-open>.nav-dropdown-trigger,html.theme-golden .nav-icon-button:hover,html.theme-golden .nav-icon-button.active,html.theme-golden .profile-menu-trigger:hover,html.theme-golden .profile-dropdown.active>.profile-menu-trigger,html.theme-golden .profile-dropdown.is-open>.profile-menu-trigger{background:#fff1bd;color:#9a6200}
html.theme-golden .nav-dropdown-menu{background:rgba(255,252,238,.98);border-color:#ead696;box-shadow:0 22px 55px rgba(109,77,21,.16)}html.theme-golden .nav-dropdown-menu>a{color:#51401f!important}html.theme-golden .nav-dropdown-menu>a>span{background:#fff3c8}html.theme-golden .nav-dropdown-menu>a>small{color:#897552}html.theme-golden .nav-dropdown-menu>a:hover{background:#fff2c5!important;color:#9b6200!important}html.theme-golden .dropdown-divider{background:#eadcae}html.theme-golden .icon-count{border-color:#fff9e6}

@media(max-width:1040px){
  .app-nav{gap:12px}.desktop-nav-link,.nav-dropdown-trigger{padding:0 9px}.profile-menu-name{display:none}.profile-menu-trigger{padding-right:6px}.vip-pill{padding:0 9px}
}

@media(max-width:860px){
  .app-topbar{position:sticky;top:0;z-index:1100;overflow:visible}
  .app-nav{height:62px;justify-content:space-between;gap:10px}
  .app-nav .brand{font-size:22px}
  .desktop-nav,.desktop-nav-actions{display:none}
  .guest-nav{display:flex;margin-left:auto;gap:6px}.guest-nav>a:not(.btn){padding:9px 8px;font-size:12px}.guest-nav .btn{padding:10px 11px;font-size:11px;border-radius:12px}
  .mobile-top-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
  .mobile-top-icon,.mobile-more-trigger{position:relative;width:40px;height:40px;border:1px solid #ebe8f4;border-radius:13px;background:#f8f7fc;color:#625d73;display:grid;place-items:center;padding:0;cursor:pointer}
  .mobile-top-icon svg{width:20px;height:20px}.mobile-top-icon .icon-count{right:-2px;top:-3px}
  .mobile-more-trigger{display:flex;align-items:center;justify-content:center;gap:3px}.mobile-more-trigger span{width:4px;height:4px;border-radius:50%;background:currentColor}.mobile-more-trigger.active{background:#f2efff;color:#654cdb;border-color:#ded7fb}
  .has-mobile-app-nav{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .mobile-bottom-nav{position:fixed;z-index:1050;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));height:66px;padding:6px 5px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:rgba(255,255,255,.94);border:1px solid rgba(226,223,235,.95);border-radius:22px;box-shadow:0 16px 45px rgba(31,24,68,.18);backdrop-filter:blur(20px)}
  .mobile-tab{height:54px;min-width:0;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#7b7888;font-size:9px;font-weight:850;line-height:1;transition:.15s ease;-webkit-tap-highlight-color:transparent}
  .mobile-tab-icon{position:relative;width:25px;height:25px;display:grid;place-items:center}.mobile-tab-icon svg{width:23px;height:23px}
  .mobile-tab.active{color:#6b4ee6;background:#f3efff}.mobile-tab:active{transform:scale(.96)}
  .mobile-tab-avatar{width:25px;height:25px;padding:2px;border-radius:9px;display:grid;place-items:center;background:#efedf5}.mobile-tab-avatar img{width:100%;height:100%;border-radius:7px;object-fit:cover}.mobile-tab.active .mobile-tab-avatar{box-shadow:0 0 0 2px #8b6af0;background:#fff}
  .mobile-tab-badge{position:absolute;right:-7px;top:-5px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;display:grid;place-items:center;background:#ff477e;color:#fff;border:2px solid #fff;font-size:8px;font-style:normal;font-weight:950}
  .mobile-more-backdrop{position:fixed;inset:0;z-index:1150;background:rgba(17,14,26,.42);backdrop-filter:blur(3px);opacity:0;transition:opacity .18s ease}.mobile-more-backdrop.is-open{display:block;opacity:1}
  .mobile-more-sheet{display:block;position:fixed;z-index:1160;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));padding:8px 14px 17px;background:#fff;border:1px solid #eae7f1;border-radius:26px;box-shadow:0 24px 70px rgba(28,20,60,.28);transform:translateY(calc(100% + 30px));opacity:0;pointer-events:none;transition:transform .22s ease,opacity .18s ease}.mobile-more-sheet.is-open{transform:translateY(0);opacity:1;pointer-events:auto}
  .mobile-sheet-handle{width:42px;height:4px;border-radius:999px;background:#d8d5df;margin:1px auto 11px}
  .mobile-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1px 2px 13px;border-bottom:1px solid #efedf3}.mobile-sheet-user{display:flex;align-items:center;gap:10px;min-width:0}.mobile-sheet-user img{width:42px;height:42px;border-radius:13px;object-fit:cover;background:#eee}.mobile-sheet-user span{display:grid;min-width:0}.mobile-sheet-user strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-sheet-user small{font-size:10px;color:#8b8997}.mobile-sheet-close{width:36px;height:36px;border:0;border-radius:12px;background:#f5f3f8;color:#696675;font-size:25px;line-height:1;cursor:pointer}
  .mobile-sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:13px}.mobile-sheet-grid>a{position:relative;min-width:0;min-height:78px;padding:10px 4px;border-radius:16px;background:#f8f7fb;color:#555263;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.mobile-sheet-grid>a>span{font-size:22px;line-height:1}.mobile-sheet-grid>a>b{max-width:100%;font-size:10px;line-height:1.15;overflow-wrap:anywhere}.mobile-sheet-grid>a>i{position:absolute;right:8px;top:7px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ff477e;color:#fff;display:grid;place-items:center;font-size:8px;font-style:normal;font-weight:900}.mobile-sheet-grid>a:active{transform:scale(.97)}.mobile-sheet-grid>a.mobile-sheet-logout{color:#c93661;background:#fff2f5}
  .mobile-sheet-open{overflow:hidden}

  html.theme-dark .mobile-top-icon,html.theme-dark .mobile-more-trigger{background:#20222e;border-color:#303342;color:#d8dae5}html.theme-dark .mobile-more-trigger.active{background:#29263b;color:#d6c4ff;border-color:#4a4264}
  html.theme-dark .mobile-bottom-nav{background:rgba(25,26,36,.95);border-color:#343646;box-shadow:0 16px 45px rgba(0,0,0,.42)}html.theme-dark .mobile-tab{color:#a8abba}html.theme-dark .mobile-tab.active{color:#d6c4ff;background:#29263b}html.theme-dark .mobile-tab-avatar{background:#2a2c39}html.theme-dark .mobile-tab.active .mobile-tab-avatar{background:#20222e;box-shadow:0 0 0 2px #a47cf0}html.theme-dark .mobile-tab-badge{border-color:#191a24}html.theme-dark .mobile-more-sheet{background:#191a24;border-color:#343646;color:#f2f3f8;box-shadow:0 24px 70px rgba(0,0,0,.5)}html.theme-dark .mobile-sheet-handle{background:#424452}html.theme-dark .mobile-sheet-head{border-color:#30323e}html.theme-dark .mobile-sheet-user small{color:#a9abba}html.theme-dark .mobile-sheet-close,html.theme-dark .mobile-sheet-grid>a{background:#232531;color:#e8e9f1}html.theme-dark .mobile-sheet-grid>a.mobile-sheet-logout{background:#341f29;color:#ff91b2}
  html.theme-neon .mobile-top-icon,html.theme-neon .mobile-more-trigger{background:rgba(31,15,47,.94);border-color:rgba(168,85,247,.35);color:#d9c9ff;box-shadow:0 0 17px rgba(139,92,246,.08)}html.theme-neon .mobile-more-trigger.active{background:rgba(139,92,246,.18);color:#eadfff;box-shadow:0 0 18px rgba(168,85,247,.18)}html.theme-neon .mobile-bottom-nav{background:rgba(18,9,29,.95);border-color:rgba(168,85,247,.38);box-shadow:0 15px 48px rgba(50,9,78,.52),0 0 28px rgba(236,72,153,.08)}html.theme-neon .mobile-tab{color:#a99ebb}html.theme-neon .mobile-tab.active{color:#e1d4ff;background:rgba(139,92,246,.16);text-shadow:0 0 10px rgba(168,85,247,.45)}html.theme-neon .mobile-tab-badge{border-color:#120a1d}html.theme-neon .mobile-more-sheet{background:#160b23;border-color:rgba(168,85,247,.42);color:#f3edff;box-shadow:0 24px 70px rgba(30,4,49,.65),0 0 28px rgba(236,72,153,.12)}html.theme-neon .mobile-sheet-head{border-color:rgba(168,85,247,.22)}html.theme-neon .mobile-sheet-close,html.theme-neon .mobile-sheet-grid>a{background:rgba(139,92,246,.11);color:#eadfff}html.theme-neon .mobile-sheet-grid>a.mobile-sheet-logout{background:rgba(236,72,153,.12);color:#ff9ac6}
  html.theme-golden .mobile-top-icon,html.theme-golden .mobile-more-trigger{background:#fff7dc;border-color:#ead797;color:#80621d}html.theme-golden .mobile-more-trigger.active{background:#fff0b7;color:#9c6400;border-color:#ddc36d}html.theme-golden .mobile-bottom-nav{background:rgba(255,252,238,.96);border-color:#e8d69d;box-shadow:0 16px 45px rgba(99,72,20,.18)}html.theme-golden .mobile-tab{color:#796746}html.theme-golden .mobile-tab.active{color:#a16500;background:#fff0b7}html.theme-golden .mobile-tab-badge{border-color:#fffaf0}html.theme-golden .mobile-more-sheet{background:#fffced;border-color:#e7d392;color:#4e3d1c;box-shadow:0 24px 70px rgba(90,65,18,.24)}html.theme-golden .mobile-sheet-head{border-color:#eadcae}html.theme-golden .mobile-sheet-close,html.theme-golden .mobile-sheet-grid>a{background:#fff5cf;color:#5f4a22}html.theme-golden .mobile-sheet-grid>a.mobile-sheet-logout{background:#fff0e9;color:#b44b33}

  .promo-strip{position:relative;z-index:10}
}

/* =========================================================
   v82 — Farm responsive grid + LoveCoins bank
   ========================================================= */
.farm-layout{
  grid-template-columns:minmax(0,1fr) minmax(280px,310px);
  gap:24px;
  align-items:start;
}
.farm-field-panel,.farm-side,.farm-grid,.farm-plot,.farm-plant-form,.farm-plant-form select{min-width:0}
.farm-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.farm-plot{width:100%;overflow:hidden}
.farm-plant-form{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
.farm-plant-form select{width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.farm-plant-form button{white-space:nowrap;padding-inline:10px}
.farm-shop-row{gap:10px;align-items:center}
.farm-shop-row>span{min-width:0;flex:1}
.farm-shop-row>b{flex:0 0 auto;white-space:nowrap}
.farm-side{position:relative;z-index:1}

.farm-bank-card{overflow:hidden}
.farm-bank-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:8px}
.farm-bank-head h3{margin:3px 0 0}
.farm-wallet-balance{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:linear-gradient(135deg,#f6eaff,#eee8ff);border:1px solid rgba(126,86,240,.14);color:#6d45d8;font-size:12px;white-space:nowrap}
.farm-bank-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.farm-bank-package{min-width:0;margin:0;padding:10px;border:1px solid rgba(120,108,170,.12);border-radius:14px;background:rgba(126,86,240,.035);display:grid;gap:5px}
.farm-bank-package>span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#777)}
.farm-bank-package>b{font-size:14px;line-height:1.15}
.farm-bank-package .btn{width:100%;padding:7px 8px;font-size:12px;white-space:nowrap}
.farm-buy-lovecoins{display:flex;justify-content:center;margin-top:10px;padding:9px 10px;border-radius:12px;text-decoration:none;font-size:12px;font-weight:800;color:#7049dc;background:rgba(126,86,240,.08)}

@media(max-width:1120px){
  .farm-layout{grid-template-columns:1fr}
  .farm-side{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .farm-side{grid-template-columns:repeat(2,minmax(0,1fr))}
  .farm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .farm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .farm-side{grid-template-columns:1fr}
  .farm-plant-form{grid-template-columns:1fr}
  .farm-plant-form button{width:100%}
}
@media(max-width:520px){
  .farm-grid{grid-template-columns:1fr}
  .farm-grid.single-plot{grid-template-columns:1fr}
  .farm-bank-packages{grid-template-columns:1fr 1fr}
}
@media(max-width:380px){
  .farm-bank-packages{grid-template-columns:1fr}
}

html.theme-dark .farm-wallet-balance{background:#29243a;border-color:#42385e;color:#d5c4ff}
html.theme-dark .farm-bank-package{background:#20232d;border-color:#343845}
html.theme-dark .farm-buy-lovecoins{background:#28233a;color:#d8c9ff}
html.theme-neon .farm-wallet-balance{background:linear-gradient(135deg,#2d173b,#1e1a3d);border-color:rgba(181,87,255,.42);color:#f0c7ff;box-shadow:0 0 16px rgba(172,72,255,.09)}
html.theme-neon .farm-bank-package{background:linear-gradient(145deg,#21182e,#171725);border-color:rgba(154,88,230,.30)}
html.theme-neon .farm-buy-lovecoins{background:linear-gradient(135deg,rgba(255,61,169,.13),rgba(126,86,240,.17));color:#f4d7ff;border:1px solid rgba(170,81,240,.18)}
html.theme-golden .farm-wallet-balance{background:linear-gradient(135deg,#fff4b9,#ffe18b);border-color:#ddbc53;color:#795400}
html.theme-golden .farm-bank-package{background:#fff8d8;border-color:#ead486}
html.theme-golden .farm-buy-lovecoins{background:#fff0b8;color:#755000;border:1px solid #e0bf59}

/* === v83 profile/settings cleanup === */
.settings-profile-panel{grid-column:1/-1;scroll-margin-top:96px}
.settings-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.settings-profile-head h2{font-size:28px;letter-spacing:-.7px;margin:10px 0 5px}
.settings-profile-head p{margin:0}
.settings-profile-form{margin-top:18px}
.album-empty.album-empty-compact{grid-column:1/-1;min-height:0;padding:18px 20px;display:flex;align-items:center;justify-content:flex-start;gap:14px;text-align:left;border-radius:18px;background:linear-gradient(135deg,#fbfaff,#fff8fb)}
.album-empty-compact .album-empty-icon{width:52px;height:52px;flex:0 0 52px;border-radius:16px;display:grid;place-items:center;font-size:27px;background:#f0edff;color:#624fe0}
.album-empty-compact .album-empty-copy{display:grid;gap:3px;min-width:0;flex:1}
.album-empty-compact .album-empty-copy strong{font-size:16px;color:#242230}
.album-empty-compact .album-empty-copy span{font-size:13px;line-height:1.45;color:#817c91}
.album-empty-compact .album-empty-action{flex:0 0 auto;white-space:nowrap}
html.theme-dark .album-empty.album-empty-compact{background:linear-gradient(135deg,#1d202b,#171923);border-color:#35394a}
html.theme-dark .album-empty-compact .album-empty-icon{background:#292d3b;color:#b7a8ff}
html.theme-dark .album-empty-compact .album-empty-copy strong{color:#f4f3f8}
html.theme-dark .album-empty-compact .album-empty-copy span{color:#9da2b2}
html.theme-neon .album-empty.album-empty-compact{background:linear-gradient(135deg,rgba(54,20,78,.9),rgba(18,34,60,.92));border-color:#d84fff;box-shadow:0 0 24px rgba(216,79,255,.12)}
html.theme-neon .album-empty-compact .album-empty-icon{background:rgba(216,79,255,.13);color:#ff78ff;border:1px solid rgba(216,79,255,.35)}
html.theme-neon .album-empty-compact .album-empty-copy strong{color:#fff}
html.theme-neon .album-empty-compact .album-empty-copy span{color:#d2badf}
html.theme-golden .album-empty.album-empty-compact{background:linear-gradient(135deg,#fff9df,#fff3c4);border-color:#e4c45e}
html.theme-golden .album-empty-compact .album-empty-icon{background:#ffe999;color:#7a5200}
html.theme-golden .album-empty-compact .album-empty-copy strong{color:#513900}
html.theme-golden .album-empty-compact .album-empty-copy span{color:#806b37}
@media(max-width:700px){
 .settings-profile-head{flex-direction:column;align-items:stretch}
 .settings-profile-head .btn{width:100%}
 .profile-edit-jump{display:inline-flex!important;margin-top:12px;width:100%}
 .album-empty.album-empty-compact{align-items:flex-start;flex-wrap:wrap;padding:16px}
 .album-empty-compact .album-empty-copy{flex:1 1 calc(100% - 70px)}
 .album-empty-compact .album-empty-action{width:100%;margin-top:2px}
}


/* === v84 icon compatibility fixes === */
.gift-symbol,.album-empty-icon,.gift-empty-icon,.nav-menu-icon{display:inline-grid;place-items:center;line-height:1;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji","Segoe UI Symbol",sans-serif;font-variant-emoji:emoji}
.gift-symbol svg,.ui-inline-icon svg,.nav-menu-icon svg{width:1em;height:1em;display:block}
.gift-shop-visual .gift-symbol{font-size:68px}
.gift-shop-visual .gift-symbol svg{width:68px;height:68px}
.gift-emoji .gift-symbol,.profile-gift-emoji .gift-symbol,.gift-history-emoji .gift-symbol{font-size:40px}
.gift-emoji .gift-symbol svg,.profile-gift-emoji .gift-symbol svg,.gift-history-emoji .gift-symbol svg{width:40px;height:40px}
.gift-empty-icon{width:62px;height:62px;border-radius:18px;background:#f6f2ff;color:#6a54ea;margin:0 auto 8px;font-size:30px}
.gift-empty-icon .ui-bag-icon svg{width:30px;height:30px}
.album-empty-icon .ui-album-icon svg{width:27px;height:27px}
.nav-dropdown-menu>a .nav-menu-icon,.mobile-sheet-grid>a .nav-menu-icon{width:24px;height:24px;font-size:18px;color:inherit;flex:0 0 24px}
html.theme-dark .gift-empty-icon{background:#292d3b;color:#b7a8ff}
html.theme-neon .gift-empty-icon{background:rgba(216,79,255,.13);color:#ff78ff;border:1px solid rgba(216,79,255,.35)}
html.theme-golden .gift-empty-icon{background:#ffe999;color:#7a5200}


/* === v85 Coral Sunset — VIP theme === */
.theme-choice-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.theme-preview-coral{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,255,255,.68),transparent 27%),
    radial-gradient(circle at 88% 84%,rgba(255,178,123,.42),transparent 34%),
    linear-gradient(145deg,#fff4ef 0%,#ffd9cf 48%,#ff9f91 100%);
  color:#663329;border-color:#ff907f;
  box-shadow:0 14px 30px rgba(211,92,74,.15),inset 0 1px 0 rgba(255,255,255,.72)
}
.theme-preview-coral:before{content:"";position:absolute;width:105px;height:105px;border-radius:50%;right:-25px;top:-34px;background:rgba(255,110,93,.16);box-shadow:-76px 80px 0 rgba(255,204,164,.16)}
.theme-preview-coral>*{position:relative;z-index:1}
.theme-preview-coral b{color:#d84f45}
.theme-preview-coral small{color:#8b5147}

html.theme-coral{
  color-scheme:light;
  --card:#fffaf7;
  --muted:#8b6a65;
  --input-bg:#fffdfb;
  --coral:#f26e63;
  --coral-deep:#c84e47;
  --coral-soft:#ffd7cf;
  --peach:#ffb789;
  --cream:#fff8f3;
  --coral-border:#f1c5bc;
  background:#fff6f2!important
}
html.theme-coral body{
  color:#4b312e!important;
  background:
    radial-gradient(circle at 8% 3%,rgba(255,170,143,.17),transparent 29%),
    radial-gradient(circle at 92% 15%,rgba(246,112,100,.11),transparent 28%),
    linear-gradient(180deg,#fff9f6 0%,#fff4ef 58%,#fff8f4 100%)!important
}
html.theme-coral .page,html.theme-coral main{background:transparent!important}
html.theme-coral .topbar{background:rgba(255,251,248,.95)!important;border-color:#f2d6cf!important;box-shadow:0 8px 28px rgba(144,67,54,.07)}
html.theme-coral .brand{background:linear-gradient(135deg,#e84f63,#f7835f);-webkit-background-clip:text;background-clip:text;color:transparent!important}
html.theme-coral a{color:#d45755}
html.theme-coral .muted,html.theme-coral small,html.theme-coral .subtle,html.theme-coral .card-meta,html.theme-coral .card-bio{color:#8f706a!important}
html.theme-coral h1,html.theme-coral h2,html.theme-coral h3,html.theme-coral h4,html.theme-coral h5,html.theme-coral h6,html.theme-coral strong,html.theme-coral label{color:#4d302d}

html.theme-coral .panel,
html.theme-coral .card,
html.theme-coral .profile-card,
html.theme-coral .auth-card,
html.theme-coral .discover-sidebar,
html.theme-coral .discover-profile-area,
html.theme-coral .discover-empty,
html.theme-coral .chat-list,
html.theme-coral .chat-window,
html.theme-coral .chat-main,
html.theme-coral .game-card,
html.theme-coral .story-card,
html.theme-coral .modal-card,
html.theme-coral .settings-card,
html.theme-coral .album-manage-panel,
html.theme-coral .album-pending-panel,
html.theme-coral .blocked-item,
html.theme-coral .theme-settings-panel,
html.theme-coral .profile-section-card,
html.theme-coral .farm-card,
html.theme-coral .farm-social,
html.theme-coral .farm-livestock-section,
html.theme-coral .gift-shop-card,
html.theme-coral .gift-send-panel,
html.theme-coral .gift-inventory-panel,
html.theme-coral .gift-history-panel,
html.theme-coral .gift-topup-panel,
html.theme-coral .public-gifts-panel,
html.theme-coral .profile-gifts-card{
  background:linear-gradient(145deg,#fffdfb,#fff7f2)!important;
  color:#4b312e!important;
  border-color:#efd1ca!important;
  box-shadow:0 15px 40px rgba(136,62,49,.075)!important
}
html.theme-coral .eyebrow{background:linear-gradient(135deg,#ffe1da,#ffd0c1)!important;color:#bd4c48!important;border:1px solid #f3bbb0!important;box-shadow:0 5px 15px rgba(213,79,67,.07)}
html.theme-coral input,html.theme-coral textarea,html.theme-coral select{background:#fffdfb!important;color:#513531!important;border-color:#ebc8c0!important}
html.theme-coral input:focus,html.theme-coral textarea:focus,html.theme-coral select:focus{border-color:#ef776e!important;box-shadow:0 0 0 3px rgba(242,110,99,.13)!important;outline:none!important}
html.theme-coral input::placeholder,html.theme-coral textarea::placeholder{color:#b39891!important}
html.theme-coral .btn-primary,html.theme-coral button.btn-primary{background:linear-gradient(135deg,#ff7b6f 0%,#ed5f5d 55%,#d94d58 100%)!important;color:#fff!important;border:none!important;box-shadow:0 10px 24px rgba(211,79,70,.20)!important}
html.theme-coral .btn-primary:hover,html.theme-coral button.btn-primary:hover{filter:brightness(1.03);box-shadow:0 13px 30px rgba(211,79,70,.28)!important}
html.theme-coral .btn-light{background:linear-gradient(145deg,#fffdfb,#ffe6de)!important;color:#b34d49!important;border-color:#edc5bb!important}
html.theme-coral .btn-light:hover{background:#ffdcd3!important;border-color:#e9a99d!important}
html.theme-coral .btn-danger{background:#fff0ee!important;color:#bc4650!important;border-color:#efbbb9!important}
html.theme-coral .flash{background:#fff0e9!important;color:#9b463c!important;border-color:#efb7a9!important}
html.theme-coral hr{border-color:#edd3cc!important}

/* navigation */
html.theme-coral .desktop-nav-link,html.theme-coral .nav-dropdown-trigger,html.theme-coral .nav-icon-button,html.theme-coral .profile-menu-trigger{color:#755a55}
html.theme-coral .desktop-nav-link:hover,html.theme-coral .desktop-nav-link.active,html.theme-coral .nav-dropdown.active>.nav-dropdown-trigger,html.theme-coral .nav-dropdown.is-open>.nav-dropdown-trigger,html.theme-coral .nav-icon-button:hover,html.theme-coral .nav-icon-button.active,html.theme-coral .profile-menu-trigger:hover,html.theme-coral .profile-dropdown.active>.profile-menu-trigger,html.theme-coral .profile-dropdown.is-open>.profile-menu-trigger{background:#ffe4de;color:#c54f4b}
html.theme-coral .nav-dropdown-menu{background:rgba(255,251,248,.98);border-color:#efd0c8;box-shadow:0 22px 55px rgba(128,58,48,.14)}
html.theme-coral .nav-dropdown-menu>a{color:#644a45!important}
html.theme-coral .nav-dropdown-menu>a>span,html.theme-coral .nav-dropdown-menu>a>.nav-menu-icon{background:#fff0eb;color:#d45d56}
html.theme-coral .nav-dropdown-menu>a>small{color:#95766f}
html.theme-coral .nav-dropdown-menu>a:hover{background:#ffe8e1!important;color:#be4d49!important}
html.theme-coral .dropdown-divider{background:#efd8d1}
html.theme-coral .vip-pill{color:#c4564e!important;background:#fff0e8!important;border-color:#efc2b5!important}
html.theme-coral .icon-count{border-color:#fff9f6}
html.theme-coral .promo-strip{background:linear-gradient(90deg,#fff3ed,#ffe0d7)!important;border-color:#efbeb3!important}
html.theme-coral .promo-person{background:#fffaf6!important;border-color:#efc8bf!important;color:#5a3d38!important}
html.theme-coral .promo-person:hover{background:#ffe9e2!important;border-color:#e89a8d!important;box-shadow:0 8px 20px rgba(190,79,64,.12)!important}
html.theme-coral .vip-mini,html.theme-coral .vip-badge{background:linear-gradient(135deg,#ff8973,#dd5260)!important;color:#fff!important;box-shadow:0 5px 14px rgba(205,71,71,.17)!important}

/* profile */
html.theme-coral .my-profile-hero{background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.72),transparent 28%),linear-gradient(135deg,#fff5ee 0%,#ffd9ce 54%,#ffb59e 100%)!important;border-color:#efb5aa!important;box-shadow:0 18px 50px rgba(171,70,57,.12)!important}
html.theme-coral .my-profile-hero:after{background:linear-gradient(135deg,rgba(255,116,99,.12),rgba(255,196,155,.18))!important}
html.theme-coral .my-profile-avatar{background:linear-gradient(135deg,#ff8a78,#ef5e63,#d84e62)!important;box-shadow:0 14px 34px rgba(205,73,72,.18)!important}
html.theme-coral .my-profile-bio{color:#795952!important}
html.theme-coral .profile-stat-row>div{background:rgba(255,253,250,.78)!important;border-color:#efc7be!important}
html.theme-coral .album-card,html.theme-coral .new-album-box{background:#fffaf7!important;border-color:#efcec6!important}
html.theme-coral .album-cover{background:linear-gradient(135deg,#ffe5dc,#ffcbbb)!important}
html.theme-coral .profile-photo-empty,html.theme-coral .profile-story-empty,html.theme-coral .album-empty{background:linear-gradient(145deg,#fffaf7,#fff0eb)!important;border-color:#eabfb6!important;color:#8f5f57!important}
html.theme-coral .upload-file{background:#fff9f6!important;border-color:#e7b9ae!important;color:#bd5a50!important}
html.theme-coral .profile-cover-editor{background:#fff9f6!important;border-color:#efd1ca!important}
html.theme-coral .profile-cover-preview{background:linear-gradient(135deg,#ffe9dc,#ffd4d1 48%,#ffc9a9)!important;border-color:#ecc0b5!important}
html.theme-coral .profile-cover-vip-lock{background:#fffdfb!important;border-color:#efd1ca!important}

/* gifts */
html.theme-coral .gift-hero{background:radial-gradient(circle at 88% 12%,#ffe2d4 0,transparent 30%),linear-gradient(135deg,#fff9f5,#ffd8cf 58%,#ffad96)!important;border-color:#efb5a7!important;color:#51322e!important}
html.theme-coral .gift-wallet{background:linear-gradient(145deg,#8f3f42,#d85b57)!important;border:1px solid #e77c6f!important;color:#fff!important}
html.theme-coral .gift-shop-visual{background:radial-gradient(circle,#fff9f4,#ffe1d6 57%,#ffc1aa)!important}
html.theme-coral .gift-send-card,html.theme-coral .gift-inventory-card,html.theme-coral .profile-gift-card{background:#fff9f5!important;border-color:#edc9c0!important}
html.theme-coral .profile-gift-emoji,html.theme-coral .gift-history-emoji,html.theme-coral .gift-empty-icon{background:linear-gradient(145deg,#ffe8df,#ffd0c1)!important;color:#ce5a54!important}
html.theme-coral .gift-price{color:#cc514b!important}
html.theme-coral .gift-empty,html.theme-coral .gift-private-note{background:#fff3ee!important;border-color:#eec8be!important;color:#8b625a!important}
html.theme-coral .gift-empty strong{color:#573a35!important}
html.theme-coral .gift-history-list>a,html.theme-coral .gift-topup-history>div{border-color:#efd7d0!important}

/* games */
html.theme-coral .games-page-v73 .games-hero,html.theme-coral .games-page-v73 .games-hero-compact,html.theme-coral .games-hero{background:radial-gradient(circle at 90% 15%,rgba(255,238,218,.62),transparent 25%),linear-gradient(135deg,#b94f57,#ef7062 58%,#ffad7e)!important;color:#fff!important;border-color:#e5796c!important;box-shadow:0 20px 55px rgba(181,71,62,.20)!important}
html.theme-coral .games-page-v73 .games-hero h1,html.theme-coral .games-page-v73 .games-hero p,html.theme-coral .games-hero h1,html.theme-coral .games-hero p{color:#fff!important}
html.theme-coral .game-line-v73,html.theme-coral .room-mini-v73,html.theme-coral .game-feature-card,html.theme-coral .game-room-card{background:#fffaf7!important;border-color:#edcec6!important}
html.theme-coral .game-icon-v73,html.theme-coral .game-feature-icon{background:linear-gradient(135deg,#ffe8dc,#ffc4af)!important}
html.theme-coral .game-format-v73,html.theme-coral .rooms-title-v73 span{background:#ffe6de!important;color:#bd554f!important}

/* farm */
html.theme-coral .farm-hero{background:radial-gradient(circle at 88% 10%,rgba(255,244,216,.72),transparent 28%),linear-gradient(135deg,#fff0dc,#ffd8c8 54%,#ffad8f)!important;border-color:#eeb7a6!important}
html.theme-coral .farm-hero p{color:#765b52!important}
html.theme-coral .farm-stats b{background:rgba(255,253,249,.72)!important;color:#563b35!important}
html.theme-coral .farm-plot{background:#fffaf7!important;border-color:#eccbc2!important;box-shadow:0 8px 22px rgba(133,63,48,.06)!important}
html.theme-coral .farm-action,html.theme-coral .farm-plant-form button{background:linear-gradient(135deg,#f37a65,#df5d58)!important}
html.theme-coral .farm-livestock-section{background:#fffaf7!important}
html.theme-coral .farm-animal-card{background:linear-gradient(145deg,rgba(255,237,211,.78),rgba(255,218,208,.72))!important;border-color:#ecc6b8!important}
html.theme-coral .farm-wallet-balance{background:linear-gradient(135deg,#ffe9df,#ffcbbb)!important;border-color:#eba99c!important;color:#a34542!important}
html.theme-coral .farm-bank-package{background:#fff9f5!important;border-color:#edc9c0!important}
html.theme-coral .farm-buy-lovecoins{background:#ffe7df!important;color:#b54e49!important;border:1px solid #ecb8ad!important}

/* discover/chat */
html.theme-coral .discover-like-quota,html.theme-coral .discover-tip{background:linear-gradient(135deg,#fff5ef,#ffe5dd)!important;border-color:#ecc6bc!important;color:#5c403a!important}
html.theme-coral .discover-like-quota.is-vip{background:linear-gradient(135deg,#ffe3d7,#ffb9a4)!important;border-color:#e99586!important;box-shadow:0 8px 24px rgba(192,75,63,.11)!important}
html.theme-coral .discover-like-quota-icon,html.theme-coral .discover-like-quota-count{background:#fff8f4!important;color:#bd514b!important}
html.theme-coral .message-row .bubble,html.theme-coral .message-bubble{background:#fff3ed!important;color:#583d37!important;border:1px solid #ebc7bd!important}
html.theme-coral .message-row.mine .bubble,html.theme-coral .message.mine .message-bubble{background:linear-gradient(135deg,#ff806f,#df5960)!important;color:#fff!important;border:none!important;box-shadow:0 8px 20px rgba(191,70,69,.14)!important}
html.theme-coral .chat-list a:hover,html.theme-coral .chat-list .active{background:#ffe8e0!important;box-shadow:inset 3px 0 0 #e3625c!important}
html.theme-coral .theme-vip-note{background:#fff3ee;border-color:#efc2b8}
html.theme-coral .album-empty.album-empty-compact{background:linear-gradient(135deg,#fff9f5,#ffe9e1)!important;border-color:#ebc4ba!important}
html.theme-coral .album-empty-compact .album-empty-icon{background:#ffdcd2;color:#c9504d}
html.theme-coral .album-empty-compact .album-empty-copy strong{color:#553732}
html.theme-coral .album-empty-compact .album-empty-copy span{color:#8e6b63}

@media(max-width:760px){
  html.theme-coral .mobile-top-icon,html.theme-coral .mobile-more-trigger{background:#fff5f0;border-color:#ecc9c0;color:#bd5550}
  html.theme-coral .mobile-more-trigger.active{background:#ffe1d9;color:#c44f4b;border-color:#e8aa9f}
  html.theme-coral .mobile-bottom-nav{background:rgba(255,250,247,.96);border-color:#edcbc2;box-shadow:0 16px 45px rgba(125,56,47,.15)}
  html.theme-coral .mobile-tab{color:#80655f}
  html.theme-coral .mobile-tab.active{color:#bf504c;background:#ffe4dc}
  html.theme-coral .mobile-tab-badge{border-color:#fff9f6}
  html.theme-coral .mobile-more-sheet{background:#fffaf7;border-color:#edcbc2;color:#563a35;box-shadow:0 24px 70px rgba(116,50,42,.20)}
  html.theme-coral .mobile-sheet-head{border-color:#eed7d0}
  html.theme-coral .mobile-sheet-close,html.theme-coral .mobile-sheet-grid>a{background:#fff0eb;color:#684942}
  html.theme-coral .mobile-sheet-grid>a.mobile-sheet-logout{background:#ffe9e6;color:#b8424f}
}
html.theme-coral ::-webkit-scrollbar{width:10px;height:10px}
html.theme-coral ::-webkit-scrollbar-track{background:#fff0ea}
html.theme-coral ::-webkit-scrollbar-thumb{background:linear-gradient(#f19a83,#db625c);border-radius:99px;border:2px solid #fff0ea}
.theme-preview-coral .theme-vip-badge{background:linear-gradient(135deg,#ff8b73,#d94f5d);box-shadow:0 6px 18px rgba(205,74,69,.22)}
.theme-choice input:checked+.theme-preview-coral{border-color:#ed6d62;box-shadow:0 0 0 3px rgba(237,109,98,.14),0 13px 32px rgba(178,71,59,.16)}


/* === v86 Emerald Garden — final VIP theme + Coral VIP badge alignment === */
/* Keep Coral's premium badge identical to Neon/Golden. The previous child rule made it flow like a bar. */
.theme-preview-coral .theme-vip-badge,
.theme-preview-emerald .theme-vip-badge{
  position:absolute!important;top:10px!important;right:10px!important;left:auto!important;
  width:auto!important;height:auto!important;display:inline-flex!important;align-items:center!important;
  padding:4px 8px!important;border-radius:999px!important;font-size:11px!important;font-weight:800!important;line-height:1!important;
  background:linear-gradient(135deg,#8b5cf6,#ec4899)!important;color:#fff!important;
  box-shadow:0 6px 18px rgba(139,92,246,.25)!important;z-index:5!important
}
.theme-preview-coral>*:not(.theme-vip-badge),.theme-preview-emerald>*:not(.theme-vip-badge){position:relative;z-index:1}

.theme-preview-emerald{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 16% 16%,rgba(255,255,255,.76),transparent 30%),
    radial-gradient(circle at 88% 84%,rgba(54,190,130,.25),transparent 35%),
    linear-gradient(145deg,#f4fff8 0%,#c9f4dc 49%,#64d49f 100%);
  color:#174f38;border-color:#52c990;
  box-shadow:0 14px 30px rgba(37,150,103,.15),inset 0 1px 0 rgba(255,255,255,.8)
}
.theme-preview-emerald:before{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-28px;top:-36px;background:rgba(25,148,96,.14);box-shadow:-80px 84px 0 rgba(158,236,194,.22)}
.theme-preview-emerald b{color:#14734e}
.theme-preview-emerald small{color:#3f735e}
.theme-choice input:checked+.theme-preview-emerald{border-color:#29a96f;box-shadow:0 0 0 3px rgba(41,169,111,.14),0 13px 32px rgba(30,129,85,.16)}

html.theme-emerald{
  color-scheme:light;
  --card:#fbfffc;--muted:#617d70;--input-bg:#fdfffe;
  --emerald:#1fa36d;--emerald-deep:#11734b;--emerald-soft:#d8f6e5;--mint:#9ee4bf;--cream:#f8fff9;--emerald-border:#c7ead7;
  background:#f5fff8!important
}
html.theme-emerald body{
  color:#24483a!important;
  background:
    radial-gradient(circle at 7% 3%,rgba(121,219,166,.18),transparent 29%),
    radial-gradient(circle at 94% 14%,rgba(38,166,111,.10),transparent 29%),
    linear-gradient(180deg,#fbfffc 0%,#f1fbf5 58%,#f8fff9 100%)!important
}
html.theme-emerald .page,html.theme-emerald main{background:transparent!important}
html.theme-emerald h1,html.theme-emerald h2,html.theme-emerald h3,html.theme-emerald h4,html.theme-emerald h5,html.theme-emerald h6,html.theme-emerald strong{color:#203e33}
html.theme-emerald .muted,html.theme-emerald small,html.theme-emerald .subtle,html.theme-emerald .card-meta,html.theme-emerald .card-bio,html.theme-emerald .field label{color:#6b8579!important}
html.theme-emerald a{color:#16855a}
html.theme-emerald .topbar{background:rgba(251,255,252,.96)!important;border-color:#d4ecdf!important;box-shadow:0 8px 26px rgba(35,111,78,.07)!important}
html.theme-emerald .brand{color:#168b5d!important}
html.theme-emerald .desktop-nav-link,html.theme-emerald .nav-dropdown-trigger{color:#577064!important}
html.theme-emerald .desktop-nav-link:hover,html.theme-emerald .desktop-nav-link.active,html.theme-emerald .nav-dropdown.active>.nav-dropdown-trigger,html.theme-emerald .nav-dropdown.is-open>.nav-dropdown-trigger{background:#e7f8ee!important;color:#11774f!important}
html.theme-emerald .nav-icon-button,html.theme-emerald .profile-menu-trigger{color:#5f776c!important}
html.theme-emerald .nav-icon-button:hover,html.theme-emerald .nav-icon-button.active,html.theme-emerald .profile-menu-trigger:hover,html.theme-emerald .profile-dropdown.active>.profile-menu-trigger,html.theme-emerald .profile-dropdown.is-open>.profile-menu-trigger{background:#e7f8ee!important;color:#11774f!important}
html.theme-emerald .nav-dropdown-menu{background:rgba(252,255,253,.98)!important;border-color:#d4ebdf!important;box-shadow:0 22px 55px rgba(40,104,77,.14)!important}
html.theme-emerald .nav-dropdown-menu>a{color:#3f6252!important}
html.theme-emerald .nav-dropdown-menu>a>span,html.theme-emerald .nav-dropdown-menu>a>.nav-menu-icon{background:#eaf8f0!important;color:#15905f!important}
html.theme-emerald .nav-dropdown-menu>a>small{color:#789185!important}
html.theme-emerald .nav-dropdown-menu>a:hover{background:#e9f8ef!important;color:#11774f!important}
html.theme-emerald .dropdown-divider{background:#dceee4!important}
html.theme-emerald .vip-pill{color:#167a53!important;background:#eaf9f1!important;border-color:#bfe5d1!important}
html.theme-emerald .icon-count{border-color:#fbfffc}
html.theme-emerald .promo-strip{background:linear-gradient(90deg,#effbf4,#dff5e9)!important;border-color:#c8ead8!important}
html.theme-emerald .promo-person{background:#fbfffc!important;border-color:#d0e9dc!important;color:#315445!important}
html.theme-emerald .promo-person:hover{background:#e9f8ef!important;border-color:#93d3b2!important;box-shadow:0 8px 20px rgba(32,127,83,.11)!important}
html.theme-emerald .vip-mini,html.theme-emerald .vip-badge{background:linear-gradient(135deg,#36bf84,#17885a)!important;color:#fff!important;box-shadow:0 5px 14px rgba(28,134,87,.18)!important}

html.theme-emerald .panel,html.theme-emerald .card,html.theme-emerald .profile-card,html.theme-emerald .auth-card,
html.theme-emerald .discover-sidebar,html.theme-emerald .discover-profile-area,html.theme-emerald .discover-empty,
html.theme-emerald .chat-list,html.theme-emerald .chat-window,html.theme-emerald .chat-main,
html.theme-emerald .game-card,html.theme-emerald .story-card,html.theme-emerald .modal-card,html.theme-emerald .settings-card,
html.theme-emerald .album-manage-panel,html.theme-emerald .album-pending-panel,html.theme-emerald .blocked-item,
html.theme-emerald .theme-settings-panel,html.theme-emerald .profile-section-card,html.theme-emerald .farm-card,
html.theme-emerald .farm-social,html.theme-emerald .farm-livestock-section,html.theme-emerald .gift-shop-card,
html.theme-emerald .gift-send-panel,html.theme-emerald .gift-inventory-panel,html.theme-emerald .gift-history-panel,
html.theme-emerald .gift-topup-panel,html.theme-emerald .public-gifts-panel,html.theme-emerald .profile-gifts-card{
  background:linear-gradient(145deg,#fdfffe,#f7fcf9)!important;color:#29483b!important;border-color:#d1e9dc!important;
  box-shadow:0 15px 40px rgba(37,107,76,.075)!important
}
html.theme-emerald .eyebrow{background:linear-gradient(135deg,#dff6e9,#c8efda)!important;color:#11774f!important;border:1px solid #bce5cf!important;box-shadow:0 5px 15px rgba(25,132,86,.07)!important}
html.theme-emerald input,html.theme-emerald textarea,html.theme-emerald select{background:#fdfffe!important;color:#29483b!important;border-color:#c9e6d7!important}
html.theme-emerald input:focus,html.theme-emerald textarea:focus,html.theme-emerald select:focus{border-color:#42b982!important;box-shadow:0 0 0 3px rgba(55,178,120,.13)!important;outline:none!important}
html.theme-emerald input::placeholder,html.theme-emerald textarea::placeholder{color:#91a99d!important}
html.theme-emerald .btn-primary,html.theme-emerald button.btn-primary{background:linear-gradient(135deg,#38bd82 0%,#229f6b 55%,#147c52 100%)!important;color:#fff!important;border:none!important;box-shadow:0 10px 24px rgba(27,143,91,.20)!important}
html.theme-emerald .btn-primary:hover,html.theme-emerald button.btn-primary:hover{filter:brightness(1.03);box-shadow:0 13px 30px rgba(27,143,91,.27)!important}
html.theme-emerald .btn-light{background:linear-gradient(145deg,#fdfffe,#e9f8ef)!important;color:#13774f!important;border-color:#c7e5d5!important}
html.theme-emerald .btn-light:hover{background:#ddf4e7!important;border-color:#a7d8be!important}
html.theme-emerald .btn-danger{background:#fff1f2!important;color:#b64155!important;border-color:#f0c1c9!important}
html.theme-emerald .flash{background:#e9f8ef!important;color:#176f4e!important;border-color:#b8dfca!important}
html.theme-emerald hr{border-color:#d8ece1!important}

html.theme-emerald .my-profile-hero{background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.76),transparent 28%),linear-gradient(135deg,#f2fff7 0%,#d6f6e3 54%,#91deb7 100%)!important;border-color:#b6e3ca!important;box-shadow:0 18px 50px rgba(34,128,84,.11)!important}
html.theme-emerald .my-profile-hero:after{background:linear-gradient(135deg,rgba(45,176,112,.10),rgba(160,231,193,.17))!important}
html.theme-emerald .my-profile-avatar{background:linear-gradient(135deg,#4ac58d,#219d6a,#147b51)!important;box-shadow:0 14px 34px rgba(26,133,84,.17)!important}
html.theme-emerald .my-profile-bio{color:#587469!important}
html.theme-emerald .profile-stat-row>div{background:rgba(253,255,254,.80)!important;border-color:#cde7d9!important}
html.theme-emerald .album-card,html.theme-emerald .new-album-box{background:#fbfffc!important;border-color:#d0e8db!important}
html.theme-emerald .album-cover{background:linear-gradient(135deg,#dcf6e7,#aee6c8)!important}
html.theme-emerald .profile-photo-empty,html.theme-emerald .profile-story-empty,html.theme-emerald .album-empty{background:linear-gradient(145deg,#fbfffc,#eff9f3)!important;border-color:#c7e4d4!important;color:#58776a!important}
html.theme-emerald .upload-file{background:#fbfffc!important;border-color:#bfe0cf!important;color:#13774f!important}
html.theme-emerald .profile-cover-editor{background:#fbfffc!important;border-color:#d0e8db!important}
html.theme-emerald .profile-cover-preview{background:linear-gradient(135deg,#e6f8ed,#c9f0da 48%,#a2e1c0)!important;border-color:#c1e4d0!important}
html.theme-emerald .profile-cover-vip-lock{background:#fdfffe!important;border-color:#d0e8db!important}

html.theme-emerald .gift-hero{background:radial-gradient(circle at 88% 12%,#daf6e7 0,transparent 30%),linear-gradient(135deg,#fafffc,#d7f4e3 58%,#8bdcb2)!important;border-color:#b2dfc6!important;color:#24483a!important}
html.theme-emerald .gift-wallet{background:linear-gradient(145deg,#176e4d,#269867)!important;border:1px solid #4ab782!important;color:#fff!important}
html.theme-emerald .gift-shop-visual{background:radial-gradient(circle,#fbfffc,#e3f6eb 57%,#b6e9cd)!important}
html.theme-emerald .gift-send-card,html.theme-emerald .gift-inventory-card,html.theme-emerald .profile-gift-card{background:#fbfffc!important;border-color:#cde7d9!important}
html.theme-emerald .profile-gift-emoji,html.theme-emerald .gift-history-emoji,html.theme-emerald .gift-empty-icon{background:linear-gradient(145deg,#e4f7ec,#bde9d1)!important;color:#16855a!important}
html.theme-emerald .gift-price{color:#137a52!important}
html.theme-emerald .gift-empty,html.theme-emerald .gift-private-note{background:#eff9f3!important;border-color:#c7e5d4!important;color:#5a776a!important}
html.theme-emerald .gift-empty strong{color:#2d4d3f!important}
html.theme-emerald .gift-history-list>a,html.theme-emerald .gift-topup-history>div{border-color:#d8ece2!important}

html.theme-emerald .games-page-v73 .games-hero,html.theme-emerald .games-page-v73 .games-hero-compact,html.theme-emerald .games-hero{background:radial-gradient(circle at 90% 15%,rgba(220,255,233,.55),transparent 25%),linear-gradient(135deg,#15764f,#29a76e 58%,#68d19b)!important;color:#fff!important;border-color:#3caf78!important;box-shadow:0 20px 55px rgba(30,129,84,.19)!important}
html.theme-emerald .games-page-v73 .games-hero h1,html.theme-emerald .games-page-v73 .games-hero p,html.theme-emerald .games-hero h1,html.theme-emerald .games-hero p{color:#fff!important}
html.theme-emerald .game-line-v73,html.theme-emerald .room-mini-v73,html.theme-emerald .game-feature-card,html.theme-emerald .game-room-card{background:#fbfffc!important;border-color:#cee7da!important}
html.theme-emerald .game-icon-v73,html.theme-emerald .game-feature-icon{background:linear-gradient(135deg,#e0f7ea,#afe5c7)!important}
html.theme-emerald .game-format-v73,html.theme-emerald .rooms-title-v73 span{background:#e1f6ea!important;color:#13764f!important}

html.theme-emerald .farm-hero{background:radial-gradient(circle at 88% 10%,rgba(235,255,226,.68),transparent 28%),linear-gradient(135deg,#eefbe8,#d6f1d2 54%,#91d6a4)!important;border-color:#b7dfbf!important}
html.theme-emerald .farm-hero p{color:#567060!important}
html.theme-emerald .farm-stats b{background:rgba(253,255,251,.74)!important;color:#2d4f3b!important}
html.theme-emerald .farm-plot{background:#fbfffc!important;border-color:#cce6d7!important;box-shadow:0 8px 22px rgba(33,105,73,.06)!important}
html.theme-emerald .farm-action,html.theme-emerald .farm-plant-form button{background:linear-gradient(135deg,#43ba77,#238e5c)!important}
html.theme-emerald .farm-livestock-section{background:#fbfffc!important}
html.theme-emerald .farm-animal-card{background:linear-gradient(145deg,rgba(229,248,221,.82),rgba(205,239,215,.76))!important;border-color:#c3e1c8!important}
html.theme-emerald .farm-wallet-balance{background:linear-gradient(135deg,#e1f6e9,#bce8ce)!important;border-color:#a7d6b9!important;color:#176f4d!important}
html.theme-emerald .farm-bank-package{background:#fbfffc!important;border-color:#cae5d5!important}
html.theme-emerald .farm-buy-lovecoins{background:#e4f6eb!important;color:#14734d!important;border:1px solid #bde0cc!important}

html.theme-emerald .discover-like-quota,html.theme-emerald .discover-tip{background:linear-gradient(135deg,#f2fbf6,#e2f5e9)!important;border-color:#c9e5d5!important;color:#2f4c40!important}
html.theme-emerald .discover-like-quota.is-vip{background:linear-gradient(135deg,#dff6e9,#afe4c7)!important;border-color:#80ca9f!important;box-shadow:0 8px 24px rgba(31,131,83,.10)!important}
html.theme-emerald .discover-like-quota-icon,html.theme-emerald .discover-like-quota-count{background:#f8fffa!important;color:#14784f!important}
html.theme-emerald .message-row .bubble,html.theme-emerald .message-bubble{background:#eff9f3!important;color:#29483b!important;border:1px solid #cbe5d7!important}
html.theme-emerald .message-row.mine .bubble,html.theme-emerald .message.mine .message-bubble{background:linear-gradient(135deg,#35b77d,#1d8d5d)!important;color:#fff!important;border:none!important;box-shadow:0 8px 20px rgba(29,125,82,.14)!important}
html.theme-emerald .chat-list a:hover,html.theme-emerald .chat-list .active{background:#e6f6ed!important;box-shadow:inset 3px 0 0 #289d68!important}
html.theme-emerald .theme-vip-note{background:#effaf4!important;border-color:#c1e4d1!important}
html.theme-emerald .album-empty.album-empty-compact{background:linear-gradient(135deg,#f9fffb,#e9f7ef)!important;border-color:#c5e2d2!important}
html.theme-emerald .album-empty-compact .album-empty-icon{background:#d6f1e1!important;color:#13784f!important}
html.theme-emerald .album-empty-compact .album-empty-copy strong{color:#29483b!important}
html.theme-emerald .album-empty-compact .album-empty-copy span{color:#6b8579!important}

@media(max-width:760px){
  html.theme-emerald .mobile-top-icon,html.theme-emerald .mobile-more-trigger{background:#eff9f3!important;border-color:#c9e4d6!important;color:#147a51!important}
  html.theme-emerald .mobile-more-trigger.active{background:#daf1e4!important;color:#10734b!important;border-color:#a9d7be!important}
  html.theme-emerald .mobile-bottom-nav{background:rgba(251,255,252,.97)!important;border-color:#cfe8da!important;box-shadow:0 16px 45px rgba(32,99,70,.14)!important}
  html.theme-emerald .mobile-tab{color:#637d70!important}
  html.theme-emerald .mobile-tab.active{color:#13794f!important;background:#e2f5e9!important}
  html.theme-emerald .mobile-tab-badge{border-color:#fbfffc!important}
  html.theme-emerald .mobile-more-sheet{background:#fbfffc!important;border-color:#cfe8da!important;color:#29483b!important;box-shadow:0 24px 70px rgba(29,93,65,.18)!important}
  html.theme-emerald .mobile-sheet-head{border-color:#d9ece2!important}
  html.theme-emerald .mobile-sheet-close,html.theme-emerald .mobile-sheet-grid>a{background:#edf8f2!important;color:#355a49!important}
  html.theme-emerald .mobile-sheet-grid>a.mobile-sheet-logout{background:#fff0f1!important;color:#b54053!important}
}
html.theme-emerald ::-webkit-scrollbar{width:10px;height:10px}
html.theme-emerald ::-webkit-scrollbar-track{background:#edf8f2}
html.theme-emerald ::-webkit-scrollbar-thumb{background:linear-gradient(#6ac797,#238e5d);border-radius:99px;border:2px solid #edf8f2}

/* === v87 production/stability UI === */
.account-security-panel{grid-column:1/-1}
.account-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.account-security-card{margin:0;padding:18px;border:1px solid #ebe8f1;border-radius:18px;background:#faf9fd;min-width:0}
.account-security-card h3{margin:0 0 14px}
.account-actions{display:grid;gap:9px;margin-top:14px}.account-actions .btn{width:100%;justify-content:center}
.account-danger-card{background:#fff8f9;border-color:#f2d4dc}
.wallet-ledger-list{display:grid;gap:10px}.wallet-ledger-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #ece8f1;border-radius:15px;background:#fbfafd}.wallet-ledger-row>div{display:grid;gap:3px}.wallet-ledger-row small{color:#8a8497}.wallet-ledger-row>b{font-size:13px}.wallet-ledger-delta{font-weight:800;font-size:14px}.wallet-ledger-delta.plus{color:#16885b}.wallet-ledger-delta.minus{color:#c34b68}
.admin-pager{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:18px 0}.admin-pager a{min-width:38px;height:38px;padding:0 10px;border:1px solid #e3dfe9;border-radius:11px;display:grid;place-items:center;background:#fff;color:#5e596a;font-weight:800;text-decoration:none}.admin-pager a.active{background:linear-gradient(135deg,#f43b8f,#8257f2);border-color:transparent;color:#fff}
.system-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.system-health-card{padding:17px;border:1px solid #ebe8f1;border-radius:18px;background:#fff}.system-health-card strong{display:block;font-size:18px;margin-bottom:4px}.system-health-card small{color:#817b8e}.health-ok{color:#128258}.health-warn{color:#b27600}.health-bad{color:#c2415d}.production-checklist{display:grid;gap:9px}.production-checklist>div{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #eee}.production-checklist>div:last-child{border-bottom:0}
html.theme-dark .account-security-card,html.theme-dark .wallet-ledger-row{background:#20232d;border-color:#343845;color:#f4f3f8}html.theme-dark .account-danger-card{background:#2b2026;border-color:#58323f}html.theme-dark .wallet-ledger-row small{color:#9fa3b3}
html.theme-neon .account-security-card,html.theme-neon .wallet-ledger-row{background:linear-gradient(145deg,#21182d,#171826);border-color:rgba(152,81,235,.28);color:#faf5ff}html.theme-neon .account-danger-card{background:#2d1825;border-color:#73314f}
html.theme-golden .account-security-card,html.theme-golden .wallet-ledger-row{background:#fff9df;border-color:#e7ce7d;color:#493b18}html.theme-golden .account-danger-card{background:#fff1df;border-color:#e6ad83}
html.theme-coral .account-security-card,html.theme-coral .wallet-ledger-row{background:#fffaf8;border-color:#f1d3cc;color:#55362f}html.theme-coral .account-danger-card{background:#fff3f1;border-color:#efc0b8}
html.theme-emerald .account-security-card,html.theme-emerald .wallet-ledger-row{background:#fbfffc;border-color:#cde7d9;color:#29483b}html.theme-emerald .account-danger-card{background:#fff5f5;border-color:#eccccc}
@media(max-width:760px){.account-security-grid{grid-template-columns:1fr}.wallet-ledger-row{grid-template-columns:72px minmax(0,1fr)}.wallet-ledger-row>b{grid-column:2}.system-health-grid{grid-template-columns:1fr}}


/* === v88 LoveSpaceHub branding === */
.brand-lovespacehub{display:inline-flex;align-items:baseline;gap:0;white-space:nowrap;line-height:1}
.brand-lovespacehub span{font:inherit;letter-spacing:inherit}
.brand-lovespacehub b{font:inherit;font-weight:900;letter-spacing:-.7px;color:#ff3d81;-webkit-text-fill-color:#ff3d81}
html.theme-dark .brand-lovespacehub b{color:#ff72b4!important;-webkit-text-fill-color:#ff72b4}
html.theme-neon .brand-lovespacehub b{color:#ff5ac8!important;-webkit-text-fill-color:#ff5ac8}
html.theme-golden .brand-lovespacehub b{color:#b88713!important;-webkit-text-fill-color:#b88713}
html.theme-coral .brand-lovespacehub b{color:#e84f63!important;-webkit-text-fill-color:#e84f63}
html.theme-emerald .brand-lovespacehub b{color:#24a972!important;-webkit-text-fill-color:#24a972}
@media(max-width:430px){.brand-lovespacehub{font-size:20px!important}}


/* === v88.2 promoted profiles strip fix === */
.promo-empty-state{width:min(1160px,calc(100% - 40px));margin:0 auto;padding:3px 0 11px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#858291;font-size:12px}
.promo-empty-state a{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:10px;background:#f1edff;color:#6f55df;font-weight:900;text-decoration:none;white-space:nowrap}
.promo-person-me{border-color:#c9b8ff;box-shadow:0 0 0 2px rgba(126,87,230,.08)}
.promo-you{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:6px;background:#f1edff;color:#6f55df;font-size:8px;font-weight:900}
html.theme-dark .promo-empty-state{color:#a9abba}html.theme-dark .promo-empty-state a{background:#252735;color:#c9adff}
html.theme-neon .promo-empty-state{color:#bcb5ca}html.theme-neon .promo-empty-state a{background:#241b38;color:#e492ff;border:1px solid #5f3b82}
html.theme-golden .promo-empty-state{color:#7a6840}html.theme-golden .promo-empty-state a{background:#fff1b8;color:#7a5500;border:1px solid #e5c158}
html.theme-coral .promo-empty-state{color:#82655e}html.theme-coral .promo-empty-state a{background:#ffe7df;color:#a54f40;border:1px solid #efb4a7}
html.theme-emerald .promo-empty-state{color:#587267}html.theme-emerald .promo-empty-state a{background:#e4f7ec;color:#237b54;border:1px solid #b7dfca}
@media(max-width:760px){.promo-empty-state{width:calc(100% - 22px);align-items:flex-start;flex-direction:column;padding-bottom:10px}.promo-empty-state a{width:100%}}


/* === v88.5 mobile viewport / settings overflow hardening === */
html,body{max-width:100%;overflow-x:hidden}
img,video,canvas{max-width:100%}
.settings-page .page,.settings-page .container,.settings-page .profile-layout,.settings-page .panel,
.settings-page .settings-profile-panel,.settings-page .settings-profile-form,.settings-page .field,
.settings-page [data-location-group],.settings-page .profile-cover-editor,.settings-page .profile-cover-preview,
.settings-page .profile-cover-controls,.settings-page .profile-cover-upload-form,.settings-page .profile-cover-vip-lock,
.settings-page .profile-preference-editor,.settings-page .profile-choice-block,.settings-page .profile-choice-grid,
.settings-page .profile-check-card,.settings-page .theme-settings-panel,.settings-page .theme-choice-grid,
.settings-page .theme-choice,.settings-page .theme-preview,.settings-page .account-security-panel,
.settings-page .account-security-grid,.settings-page .account-security-card,.settings-page .auth-form{min-width:0;max-width:100%}
.settings-page input,.settings-page select,.settings-page textarea{min-width:0;max-width:100%}
.settings-page .check-row,.settings-page .check-row>span{min-width:0;max-width:100%}
.settings-page .check-row small,.settings-page .muted,.settings-page p,.settings-page small{overflow-wrap:anywhere}
@media(max-width:760px){
  .settings-page{width:100%;overflow-x:hidden}
  .settings-page .page{width:100%;overflow-x:hidden}
  .settings-page .container{width:calc(100% - 22px);max-width:calc(100% - 22px);margin-left:auto;margin-right:auto}
  .settings-page .profile-layout{grid-template-columns:minmax(0,1fr)!important;width:100%}
  .settings-page .panel{width:100%;max-width:100%}
  .settings-page .settings-profile-head,.settings-page .theme-panel-head{min-width:0;max-width:100%}
  .settings-page .profile-cover-controls,.settings-page .profile-cover-upload-form{width:100%;min-width:0}
  .settings-page .profile-cover-file,.settings-page .profile-cover-controls form,.settings-page .profile-cover-controls .btn{max-width:100%;min-width:0}
  .settings-page .profile-choice-grid,.settings-page .profile-choice-grid-short,.settings-page .theme-choice-grid,.settings-page .account-security-grid{grid-template-columns:minmax(0,1fr)!important;width:100%}
  .settings-page .theme-preview{width:100%}
  .settings-page input[type=date],.settings-page input[type=email],.settings-page input[type=password],.settings-page input[type=text],.settings-page select,.settings-page textarea{width:100%;min-width:0;max-width:100%}
  .settings-page .account-actions,.settings-page .account-actions form,.settings-page .account-actions .btn{width:100%;min-width:0;max-width:100%}
}


/* === v88.6 iOS Safari settings horizontal-lock === */
.settings-page{position:relative;width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none}
.settings-page .upload-file{position:relative;max-width:100%;overflow:hidden}
.settings-page .upload-file input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;max-width:1px!important;margin:0!important;padding:0!important;opacity:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
@supports (-webkit-touch-callout:none){
  body.settings-page{width:100%!important;max-width:100vw!important;overflow-x:hidden!important;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
  .settings-page main.page,.settings-page main.page>.container,.settings-page .profile-layout{width:100%;max-width:100%;min-width:0;overflow-x:clip}
  .settings-page .panel,.settings-page form,.settings-page .field,.settings-page [data-location-group],.settings-page .theme-choice-grid,.settings-page .account-security-grid{min-width:0!important;max-width:100%!important}
  .settings-page input,.settings-page select,.settings-page textarea,.settings-page button,.settings-page .btn{box-sizing:border-box;max-width:100%}
  .settings-page input[type=date]{display:block;width:100%!important;min-width:0!important;max-width:100%!important;inline-size:100%!important;min-inline-size:0!important}
  .settings-page input[type=date]::-webkit-date-and-time-value{min-width:0!important;text-align:left}
  .settings-page select{display:block;width:100%!important;min-width:0!important;max-width:100%!important;inline-size:100%!important;min-inline-size:0!important;text-overflow:ellipsis}
  .settings-page .theme-preview,.settings-page .profile-cover-editor,.settings-page .profile-cover-preview,.settings-page .profile-choice-block,.settings-page .account-security-card{max-width:100%!important;overflow-x:clip}
  body.settings-page.ios-settings-lock{touch-action:pan-y pinch-zoom}
}


/* === v88.7 blocked/unavailable profile state === */
.profile-state-page{min-height:calc(100vh - 170px);display:grid;align-items:center}
.profile-state-page>.container{display:grid;place-items:center}
.profile-state-card{box-sizing:border-box;width:min(620px,100%);max-width:620px;padding:38px 32px;overflow:hidden;background:#fff;border:1px solid #ecebf2;border-radius:30px;box-shadow:0 22px 70px rgba(31,25,66,.09);text-align:center}
.profile-state-visual{box-sizing:border-box;width:118px!important;height:118px!important;min-width:118px;max-width:118px;min-height:118px;max-height:118px;margin:0 auto 18px;position:relative;border-radius:50%;background:linear-gradient(145deg,#f3f1fa,#e9e6f3);padding:5px;box-shadow:0 12px 34px rgba(49,40,86,.12)}
.profile-state-visual img,.profile-state-placeholder{box-sizing:border-box;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;max-height:100%!important;border-radius:50%;object-fit:cover;background:#eceaf2;display:grid;place-items:center;font-size:44px;font-weight:900;color:#8b8498}
.profile-state-visual.blocked img{filter:grayscale(.35) saturate(.7);opacity:.92}
.profile-state-icon{position:absolute;right:-3px;bottom:2px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;border:3px solid #fff;box-shadow:0 6px 18px rgba(31,25,66,.16);font-size:19px}
.profile-state-card h1{margin:14px 0 8px;font-size:34px;letter-spacing:-1px}
.profile-state-name{margin:0 0 10px;font-weight:800;color:#5e596c}
.profile-state-text{max-width:500px;margin:0 auto;color:#777486;line-height:1.65;font-size:15px}
.profile-state-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.profile-state-actions form{margin:0}
html.theme-dark .profile-state-card{background:#1d2029;border-color:#343844;color:#f5f4f8}html.theme-dark .profile-state-text,html.theme-dark .profile-state-name{color:#a9adba}html.theme-dark .profile-state-visual{background:linear-gradient(145deg,#2b2e39,#22242d)}html.theme-dark .profile-state-icon{background:#272a34;border-color:#272a34}
html.theme-neon .profile-state-card{background:linear-gradient(145deg,#181426,#121520);border-color:rgba(145,76,230,.35);color:#faf5ff;box-shadow:0 0 34px rgba(176,66,255,.12)}html.theme-neon .profile-state-text,html.theme-neon .profile-state-name{color:#bfb2cb}html.theme-neon .profile-state-visual{background:linear-gradient(145deg,#39204a,#1c2030)}html.theme-neon .profile-state-icon{background:#21182d;border-color:#21182d}
html.theme-golden .profile-state-card{background:linear-gradient(145deg,#fffdf5,#fff7d7);border-color:#e4c76b;color:#493b18}html.theme-golden .profile-state-text,html.theme-golden .profile-state-name{color:#7c6836}html.theme-golden .profile-state-visual{background:linear-gradient(145deg,#fff3bf,#f1d67e)}
html.theme-coral .profile-state-card{background:linear-gradient(145deg,#fffaf8,#fff0eb);border-color:#f1c7bc;color:#55362f}html.theme-coral .profile-state-text,html.theme-coral .profile-state-name{color:#85645c}html.theme-coral .profile-state-visual{background:linear-gradient(145deg,#ffe2d8,#ffc6b8)}
html.theme-emerald .profile-state-card{background:linear-gradient(145deg,#fbfffc,#effaf4);border-color:#cde7d9;color:#29483b}html.theme-emerald .profile-state-text,html.theme-emerald .profile-state-name{color:#5e776b}html.theme-emerald .profile-state-visual{background:linear-gradient(145deg,#dff5e8,#bfe4cf)}
@media(max-width:650px){.profile-state-page{min-height:calc(100dvh - 180px);padding-top:24px;padding-bottom:110px}.profile-state-card{padding:28px 18px;border-radius:24px}.profile-state-visual{width:96px!important;height:96px!important;min-width:96px;max-width:96px;min-height:96px;max-height:96px}.profile-state-card h1{font-size:28px}.profile-state-actions{display:grid;grid-template-columns:1fr;width:100%}.profile-state-actions form,.profile-state-actions .btn{width:100%}}


/* === v88.9 iOS/mobile own-profile width hardening === */
.profile-own-page{position:relative;width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none}
.profile-own-page .profile-mobile-page,.profile-own-page .profile-mobile-page>.container,
.profile-own-page .my-profile-hero,.profile-own-page .my-profile-main,
.profile-own-page .profile-title-row,.profile-own-page .profile-stat-row,
.profile-own-page .profile-action-strip,.profile-own-page .profile-section-card{min-width:0;max-width:100%}
.profile-own-page .my-profile-main{width:100%}
.profile-own-page .profile-title-row>div{min-width:0;max-width:100%}
.profile-own-page .profile-title-row h1,.profile-own-page .profile-title-row .muted,
.profile-own-page .my-profile-bio{max-width:100%;overflow-wrap:anywhere;word-break:normal}
.profile-own-page .profile-photo-scroller,.profile-own-page .profile-story-strip{max-width:100%;-webkit-overflow-scrolling:touch}
.profile-own-page .upload-file{position:relative;max-width:100%;overflow:hidden}
.profile-own-page .upload-file input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;max-width:1px!important;margin:0!important;padding:0!important;opacity:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
@media(max-width:700px){
  .profile-own-page .profile-mobile-page{width:100%;max-width:100%;overflow-x:hidden}
  .profile-own-page .profile-mobile-page>.container{width:calc(100% - 22px)!important;max-width:calc(100% - 22px)!important;margin-left:auto!important;margin-right:auto!important}
  .profile-own-page .my-profile-hero{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;align-items:stretch!important;overflow:hidden!important;padding:20px 14px!important}
  .profile-own-page .my-profile-avatar{align-self:center;flex:0 0 auto}
  .profile-own-page .my-profile-main{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden}
  .profile-own-page .profile-title-row{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important}
  .profile-own-page .profile-title-row>div{width:100%;min-width:0;max-width:100%}
  .profile-own-page .profile-title-row h1{font-size:30px;line-height:1.12;letter-spacing:-.8px;white-space:normal}
  .profile-own-page .profile-title-row .vip-badge,.profile-own-page .profile-title-row .real-badge{white-space:nowrap}
  .profile-own-page .profile-stat-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;gap:8px!important;justify-content:stretch!important}
  .profile-own-page .profile-stat-row>div{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;padding:10px 7px!important}
  .profile-own-page .profile-stat-row strong,.profile-own-page .profile-stat-row span{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .profile-own-page .profile-action-strip{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .profile-own-page .profile-action-strip .btn,.profile-own-page .profile-action-strip a{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;text-align:center}
  .profile-own-page .profile-section-card{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important}
  .profile-own-page .section-heading,.profile-own-page .section-heading>div{min-width:0;max-width:100%}
  .profile-own-page .profile-gift-grid,.profile-own-page .gift-empty,.profile-own-page .profile-story-empty,
  .profile-own-page .profile-upload-bar,.profile-own-page .album-grid{min-width:0;max-width:100%}
}
@supports (-webkit-touch-callout:none){
  body.profile-own-page{width:100%!important;max-width:100vw!important;overflow-x:hidden!important;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
  .profile-own-page main.profile-mobile-page,.profile-own-page main.profile-mobile-page>.container,
  .profile-own-page .my-profile-hero,.profile-own-page .my-profile-main{min-width:0!important;max-width:100%!important;overflow-x:clip}
}


/* === v88.11 mobile admin navigation === */
.admin-topbar{z-index:1600}
.admin-nav-shell{gap:18px}
.admin-brand{display:flex;align-items:baseline;gap:7px;flex:0 0 auto}
.admin-brand small{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#8c8799;background:#f2efff;border:1px solid #e6e0ff;padding:4px 6px;border-radius:999px;-webkit-text-fill-color:#765fdd}
.admin-desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:3px;min-width:0}
.admin-desktop-nav a{padding:9px 9px;border-radius:11px;color:#686677;font-weight:750;font-size:13px;white-space:nowrap;transition:.15s ease}
.admin-desktop-nav a:hover,.admin-desktop-nav a.active{background:#f1efff;color:#5d49d6}
.admin-desktop-nav .admin-logout-link{color:#cf315f}
.admin-mobile-head,.admin-mobile-backdrop,.admin-mobile-sheet{display:none}
@media(max-width:1180px) and (min-width:761px){
 .admin-desktop-nav{gap:1px}.admin-desktop-nav a{padding:8px 6px;font-size:12px}.admin-brand small{display:none}
}
@media(max-width:760px){
 body.admin-body{padding-bottom:0!important}
 body.admin-menu-open{overflow:hidden;touch-action:none}
 .admin-topbar{position:sticky;top:0;z-index:1800;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .admin-nav-shell{height:66px;width:calc(100% - 24px);gap:10px}
 .admin-brand{font-size:20px;gap:5px;min-width:0}
 .admin-brand small{display:none}
 .admin-desktop-nav{display:none!important}
 .admin-mobile-head{margin-left:auto;display:flex;align-items:center;gap:8px;min-width:0}
 .admin-mobile-current{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777287;font-size:12px;font-weight:800}
 .admin-mobile-menu-trigger{width:44px;height:44px;flex:0 0 44px;border:1px solid #e8e3fa;border-radius:14px;background:#f4f1ff;color:#654edb;display:grid;place-items:center;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .admin-mobile-menu-trigger svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
 .admin-mobile-menu-trigger[aria-expanded="true"]{background:#eae4ff;color:#563fd0}
 .admin-mobile-backdrop{display:block;position:fixed;inset:0;z-index:1880;background:rgba(20,18,31,.38);opacity:0;transition:opacity .18s ease;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
 .admin-mobile-backdrop[hidden]{display:none!important}
 .admin-mobile-backdrop.is-open{opacity:1}
 .admin-mobile-sheet{display:block;position:fixed;z-index:1900;left:8px;right:8px;bottom:8px;max-height:min(82dvh,720px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:8px 14px calc(14px + env(safe-area-inset-bottom));border:1px solid #e8e5ef;border-radius:26px;background:rgba(255,255,255,.985);box-shadow:0 -16px 55px rgba(33,27,61,.22);transform:translateY(calc(100% + 24px));opacity:0;pointer-events:none;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .18s ease}
 .admin-mobile-sheet.is-open{transform:translateY(0);opacity:1;pointer-events:auto}
 .admin-mobile-sheet-handle{width:46px;height:5px;border-radius:999px;background:#dedbe7;margin:2px auto 10px}
 .admin-mobile-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:5px 3px 14px;border-bottom:1px solid #efedf4}
 .admin-mobile-sheet-head>div{display:grid;min-width:0}
 .admin-mobile-sheet-head span{font-size:11px;font-weight:900;letter-spacing:.7px;text-transform:uppercase;color:#8a809b}
 .admin-mobile-sheet-head strong{font-size:20px;letter-spacing:-.4px;margin-top:2px}
 .admin-mobile-sheet-head small{color:#908b99;font-size:11px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .admin-mobile-sheet-close{width:40px;height:40px;flex:0 0 40px;border:0;border-radius:13px;background:#f3f1f7;color:#6e6977;font-size:28px;line-height:1;cursor:pointer}
 .admin-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-top:13px}
 .admin-mobile-grid>a{min-width:0;min-height:82px;padding:12px;border:1px solid #ece9f2;border-radius:18px;background:#fbfaff;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;color:#4f4b5b;font-weight:800;transition:.14s ease}
 .admin-mobile-grid>a.active{border-color:#cdbfff;background:linear-gradient(145deg,#f6f2ff,#eee8ff);color:#5c45d2;box-shadow:0 8px 22px rgba(102,76,211,.11)}
 .admin-mobile-grid>a:active{transform:scale(.98)}
 .admin-mobile-grid-icon{width:34px;height:34px;border-radius:11px;background:#f0edfa;color:#6a55d9;display:grid;place-items:center}
 .admin-mobile-grid-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .admin-mobile-grid>a b{font-size:13px;line-height:1.15}
 .admin-mobile-grid>a.admin-mobile-logout{border-color:#f4dce5;background:#fff7fa;color:#c52d5b}
 .admin-mobile-logout .admin-mobile-grid-icon{background:#ffeaf1;color:#cf315f}
 .admin-body .page{padding-top:22px}
 .admin-body .page-head h1{font-size:28px}
 .admin-body .page-head{margin-bottom:18px}
 .admin-body table{font-size:13px}
}
@media(max-width:370px){
 .admin-mobile-current{display:none}
 .admin-mobile-grid{gap:7px}
 .admin-mobile-grid>a{min-height:76px;padding:10px}
}


/* === v88.12 notifications cleanup === */
.notifications-head{align-items:flex-end;gap:18px}.notifications-head>div:first-child{min-width:0}.notifications-intro{max-width:720px;margin:6px 0 0;line-height:1.55}.notifications-clear-form{flex:0 0 auto;margin:0}.notification-clear-all{background:#fff;color:#d92f72;border:1px solid #f0c5d8;box-shadow:none}.notification-clear-all:hover{background:#fff5f9;border-color:#e89fbd}.notification-flash{margin-bottom:14px}.notifications-panel{overflow:hidden;padding:0}.notification-row{display:flex;align-items:stretch;gap:0;padding:0;border-bottom:1px solid #eeeef3;position:relative}.notification-row:last-child{border-bottom:0}.notification-row-link{display:flex;align-items:center;gap:18px;padding:17px 18px;min-width:0;flex:1;color:inherit;text-decoration:none;transition:background .18s ease}.notification-row-link:hover{background:#faf9ff}.notification-row-link strong{min-width:190px;max-width:260px}.notification-row-link .muted{flex:1;min-width:0;overflow-wrap:anywhere}.notification-row-link small{flex:0 0 auto;white-space:nowrap}.notification-delete-form{display:flex;align-items:center;padding:10px 12px 10px 4px;margin:0;flex:0 0 auto}.notification-delete-btn{width:38px;height:38px;border-radius:12px;border:1px solid #ece8f4;background:#fff;color:#7b7888;font-size:24px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:.18s ease}.notification-delete-btn:hover{color:#fff;background:#ef3e83;border-color:#ef3e83;transform:translateY(-1px)}.notifications-empty{padding:52px 20px}.notifications-empty-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;margin:0 auto 12px;background:#f2edff;font-size:28px}
html.theme-dark .notification-row{border-color:#2c2f3d!important}html.theme-dark .notification-row-link:hover{background:#222631}html.theme-dark .notification-clear-all,html.theme-dark .notification-delete-btn{background:#20232d;border-color:#373b48;color:#d8d7e1}html.theme-dark .notification-clear-all{color:#ff7eaa}html.theme-dark .notifications-empty-icon{background:#292d3b}
html.theme-neon .notification-row-link:hover{background:rgba(215,75,255,.08)}html.theme-neon .notification-delete-btn{background:rgba(17,10,35,.8);border-color:rgba(218,89,255,.28);color:#f3b5ff}html.theme-neon .notification-clear-all{background:rgba(17,10,35,.8);border-color:rgba(218,89,255,.28);color:#ff90c5}
html.theme-golden .notification-row-link:hover{background:#fff9e9}html.theme-golden .notification-delete-btn,html.theme-golden .notification-clear-all{background:#fffaf0;border-color:#ead49b;color:#8a6212}html.theme-golden .notifications-empty-icon{background:#fff0bd}
html.theme-coral .notification-row-link:hover{background:#fff5f1}html.theme-coral .notification-delete-btn,html.theme-coral .notification-clear-all{background:#fffaf8;border-color:#ffc4b8;color:#ce5c53}html.theme-coral .notifications-empty-icon{background:#ffe7df}
html.theme-emerald .notification-row-link:hover{background:#f1fbf6}html.theme-emerald .notification-delete-btn,html.theme-emerald .notification-clear-all{background:#f8fffb;border-color:#bfe8d1;color:#27845d}html.theme-emerald .notifications-empty-icon{background:#dff7ea}
@media(max-width:850px){.notifications-head{align-items:stretch}.notifications-clear-form{width:100%}.notification-clear-all{width:100%}.notification-row{align-items:stretch;flex-direction:row;gap:0}.notification-row-link{align-items:flex-start;flex-direction:column;gap:5px;padding:15px 12px 15px 15px}.notification-row-link strong{min-width:0;max-width:none}.notification-row-link small{white-space:normal}.notification-delete-form{padding:10px 10px 10px 0;align-items:center}.notification-delete-btn{width:42px;height:42px;border-radius:14px}.notifications-page .container{min-width:0}.notifications-panel,.notification-row,.notification-row-link{min-width:0;max-width:100%}}
