/* PAMEL SERWER/PORTAL 2.29 — Premium Glamour client front
   Cosmetic layer only. No controller/API logic. */
body.front-glamour{
  --fg-bg:#090a0b;
  --fg-bg2:#101214;
  --fg-panel:#17191b;
  --fg-panel2:#1e2022;
  --fg-paper:#f4efe5;
  --fg-text:#f7f2e9;
  --fg-muted:#bdb6aa;
  --fg-gold:#d8bb84;
  --fg-gold2:#f0d79c;
  --fg-green:#78b896;
  --fg-line:rgba(216,187,132,.24);
  --fg-line-strong:rgba(216,187,132,.48);
  --fg-shadow:0 22px 64px rgba(0,0,0,.30);
  color:var(--fg-text)!important;
  background:
    radial-gradient(circle at 8% 0%,rgba(216,187,132,.13),transparent 28%),
    radial-gradient(circle at 94% 12%,rgba(120,184,150,.07),transparent 25%),
    linear-gradient(180deg,#090a0b 0%,#0d0f10 52%,#090a0b 100%)!important;
  min-height:100vh;
}
body.front-glamour h1,
body.front-glamour h2,
body.front-glamour h3{color:var(--fg-text);letter-spacing:-.025em}
body.front-glamour p,
body.front-glamour .subtitle,
body.front-glamour .lead,
body.front-glamour .minor,
body.front-glamour .panel-subtitle{color:var(--fg-muted)!important}
body.front-glamour .eyebrow{color:var(--fg-gold2)!important;letter-spacing:.14em;font-weight:850}
body.front-glamour a{color:#ead2a6}
body.front-glamour a:hover{color:#fff0d5}
body.front-glamour .panel,
body.front-glamour .card,
body.front-glamour .login-card,
body.front-glamour .metric-card{
  color:var(--fg-text);
  background:linear-gradient(155deg,rgba(30,32,34,.98),rgba(18,20,22,.98))!important;
  border:1px solid var(--fg-line)!important;
  box-shadow:var(--fg-shadow);
}
body.front-glamour .btn-primary{
  color:#17130c!important;
  background:linear-gradient(135deg,#f0d797,#cba65f)!important;
  border:1px solid #e8ce95!important;
  box-shadow:0 9px 25px rgba(216,187,132,.17);
}
body.front-glamour .btn-secondary,
body.front-glamour .btn-ghost,
body.front-glamour .btn-dark{
  color:var(--fg-text)!important;
  background:#17191b!important;
  border:1px solid var(--fg-line)!important;
}
body.front-glamour .btn-danger{background:#812f35!important;border-color:#ad5359!important;color:#fff!important}
body.front-glamour .btn{border-radius:12px;font-weight:820;transition:transform .16s,box-shadow .16s,border-color .16s,filter .16s}
body.front-glamour .btn:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 8px 26px #0006}
body.front-glamour input:not([type=checkbox]):not([type=radio]):not([type=range]),
body.front-glamour select,
body.front-glamour textarea{
  color:var(--fg-text)!important;
  background:#101214!important;
  border:1px solid var(--fg-line)!important;
}
body.front-glamour input::placeholder,
body.front-glamour textarea::placeholder{color:#9f9a91!important}
body.front-glamour input:focus,
body.front-glamour select:focus,
body.front-glamour textarea:focus,
body.front-glamour button:focus-visible,
body.front-glamour a:focus-visible{outline:3px solid #efd79e!important;outline-offset:3px}
body.front-glamour .page-title,
body.front-glamour .page-title-row,
body.front-glamour .client-heading{
  border:1px solid var(--fg-line);
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 12%,rgba(216,187,132,.09),transparent 30%),
    linear-gradient(150deg,#1c1e20,#111315);
  box-shadow:var(--fg-shadow);
  padding:26px 28px;
  margin:18px 0 22px;
}
body.front-glamour .page-title h1,
body.front-glamour .page-title-row h1,
body.front-glamour .client-heading h1{font-size:clamp(30px,4.5vw,48px);margin:.15em 0}
body.front-glamour table{background:#111315!important;color:var(--fg-text)}
body.front-glamour th{background:#282219!important;color:#f4deb5!important}
body.front-glamour th,
body.front-glamour td{border-color:rgba(216,187,132,.16)!important}
body.front-glamour .flash{background:#17191b!important;color:var(--fg-text)!important;border-color:var(--fg-line)!important}
body.front-glamour .privacy-check{padding:14px 16px;border:1px solid var(--fg-line);border-radius:14px;background:#111315}

/* Applications center */
body.app-center-body.front-glamour{background:
  radial-gradient(circle at 8% 0%,rgba(216,187,132,.14),transparent 30%),
  linear-gradient(180deg,#090a0b,#0d0f10)!important}
body.app-center-body.front-glamour .app-center{
  --ink:var(--fg-text);--muted:var(--fg-muted);--line:var(--fg-line);--lime:var(--fg-gold2);--navy:#121514;
  color:var(--fg-text)
}
body.app-center-body.front-glamour .ac-hero{
  background:
    radial-gradient(ellipse at 88% 100%,rgba(120,184,150,.18),transparent 60%),
    radial-gradient(circle at 8% 0%,rgba(216,187,132,.10),transparent 36%),
    #111514;
  border:1px solid var(--fg-line);
  box-shadow:var(--fg-shadow)
}
body.app-center-body.front-glamour .ac-hero .ac-eyebrow,
body.app-center-body.front-glamour .ac-platforms{color:#cfc6b7}
body.app-center-body.front-glamour .ac-primary{background:linear-gradient(135deg,#f0d797,#cba65f)!important;color:#17130c!important;box-shadow:0 3px 0 #9d7d46}
body.app-center-body.front-glamour .ac-secondary{background:#17191b!important;color:var(--fg-text)!important;border-color:var(--fg-line)!important}
body.app-center-body.front-glamour .ac-section-head .ac-eyebrow,
body.app-center-body.front-glamour .ac-first .ac-eyebrow{color:var(--fg-gold2)!important}
body.app-center-body.front-glamour .app-center h2,
body.app-center-body.front-glamour .app-center h3{color:var(--fg-text)}
body.app-center-body.front-glamour .ac-reset,
body.app-center-body.front-glamour .ac-card-footer a{color:#ead2a6}
body.app-center-body.front-glamour .ac-search,
body.app-center-body.front-glamour .ac-card,
body.app-center-body.front-glamour .ac-first,
body.app-center-body.front-glamour .ac-empty{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border-color:var(--fg-line)!important;
  box-shadow:0 14px 40px #0004
}
body.app-center-body.front-glamour .ac-search input{color:var(--fg-text)!important}
body.app-center-body.front-glamour .ac-models button{border-color:var(--fg-line);color:#d7d0c4}
body.app-center-body.front-glamour .ac-models button.is-active{background:#3b3324;border-color:var(--fg-gold);color:#ffe9bc}
body.app-center-body.front-glamour .ac-icon{background:#25241e;color:var(--fg-gold2)}
body.app-center-body.front-glamour .ac-icon.time{background:#1d2225;color:#9fc9d7}
body.app-center-body.front-glamour .ac-card>p,
body.app-center-body.front-glamour .ac-release,
body.app-center-body.front-glamour .ac-first p,
body.app-center-body.front-glamour .ac-footer{color:var(--fg-muted)}
body.app-center-body.front-glamour .ac-compatible span{background:#22231f;color:#d7c9ae}
body.app-center-body.front-glamour .ac-card-footer{border-color:var(--fg-line)}
body.app-center-body.front-glamour .ac-first{background:linear-gradient(145deg,#201e18,#141615)!important}
body.app-center-body.front-glamour .ac-footer b{color:var(--fg-gold2)}

/* News */
body.news-front-glamour .news-page{max-width:1240px}
body.news-front-glamour .news-page>h1{font-size:clamp(34px,5vw,54px)}
body.news-front-glamour .news-filters{
  padding:18px;border:1px solid var(--fg-line);border-radius:18px;
  background:#151719;box-shadow:0 14px 38px #0003
}
body.news-front-glamour .news-card{
  position:relative;
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border-color:var(--fg-line)!important;
  box-shadow:0 16px 44px #0004
}
body.news-front-glamour .news-card::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,var(--fg-gold2),transparent)
}
body.news-front-glamour .news-card img{border:1px solid rgba(216,187,132,.16)}
body.news-front-glamour .news-meta{color:var(--fg-gold2)!important;opacity:.92}
body.news-front-glamour .news-card p,
body.news-front-glamour .news-body{color:var(--fg-muted)!important}

/* Contact / support / offer / help */
body.contact-front-glamour .contact-action-card{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border:1px solid var(--fg-line)!important;
  box-shadow:0 14px 40px #0004
}
body.contact-front-glamour .contact-action-icon{background:#28241d!important;color:var(--fg-gold2)!important}
body.contact-front-glamour .contact-card{box-shadow:0 12px 34px #0003}
body.contact-front-glamour .contact-value{color:var(--fg-text)!important}
body.front-glamour .help-search-form{background:#151719!important;border-color:var(--fg-line)!important}
body.front-glamour .search-result{
  background:#111315!important;border:1px solid var(--fg-line)!important;color:var(--fg-text)!important
}
body.front-glamour .search-result-source{color:var(--fg-gold2)!important}
body.front-glamour .search-result p,
body.front-glamour .search-result span{color:var(--fg-muted)!important}
body.front-glamour .advisor-choice{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border-color:var(--fg-line)!important;color:var(--fg-text)!important;
  box-shadow:0 12px 34px #0003
}
body.front-glamour .survey-toggle,
body.front-glamour .survey-option{border-color:var(--fg-line)!important;background:#111315!important}

/* Account */
body.account-front-glamour .account-tile,
body.account-front-glamour .account-device{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border:1px solid var(--fg-line)!important;
  box-shadow:0 14px 38px #0004
}
body.account-front-glamour .account-symbol{background:#2a251c!important;color:var(--fg-gold2)!important}
body.account-front-glamour .account-device h3{color:var(--fg-text)}
body.account-front-glamour .account-device p{color:var(--fg-muted)}
body.account-front-glamour .badge{background:#183a2c!important;color:#a7e0c3!important;border:1px solid #35664e!important}
body.account-front-glamour .login-links{padding-top:14px;border-top:1px solid var(--fg-line)}
body.account-front-glamour .login-wrap .login-card{border-radius:22px}
body.account-front-glamour .account-check{color:var(--fg-muted)}

/* Badges / stats / legal */
body.utility-front-glamour .badge-value,
body.utility-front-glamour .metric-value{color:var(--fg-gold2)!important}
body.utility-front-glamour .legal-card{position:relative;overflow:hidden}
body.utility-front-glamour .legal-card::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--fg-gold2),transparent)
}
body.utility-front-glamour .metric-icon{background:#28241d!important;color:var(--fg-gold2)!important}

/* Advisor */
body.advisor-page.front-glamour{
  --adv-ink:var(--fg-text);--adv-paper:#17191b;--adv-muted:var(--fg-muted);--adv-gold:var(--fg-gold);
  background:
    radial-gradient(circle at 8% 0%,rgba(216,187,132,.13),transparent 28%),
    linear-gradient(180deg,#090a0b,#0d0f10)!important
}
body.advisor-page.front-glamour .page-title{
  background:radial-gradient(circle at 88% 10%,rgba(216,187,132,.10),transparent 30%),linear-gradient(145deg,#1d201f,#111315)!important;
  color:var(--fg-text)
}
body.advisor-page.front-glamour .page-title p{color:var(--fg-muted)}
body.advisor-page.front-glamour .panel,
body.advisor-page.front-glamour .advisor-choice,
body.advisor-page.front-glamour .product-card{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border-color:var(--fg-line)!important;
  box-shadow:0 14px 40px #0004
}
body.advisor-page.front-glamour .product-card.recommended{border-color:var(--fg-gold)!important}
body.advisor-page.front-glamour .product-image{background:#f4f2ed!important}
body.advisor-page.front-glamour .product-body h3,
body.advisor-page.front-glamour .advisor-choice{color:var(--fg-text)!important}
body.advisor-page.front-glamour .software-note,
body.advisor-page.front-glamour .connection-note{
  background:#20221e!important;border:1px solid var(--fg-line)
}
body.advisor-page.front-glamour .connection-tile{
  background:#111315!important;border-color:var(--fg-line)!important;color:var(--fg-text)
}
body.advisor-page.front-glamour .connection-tile:has(input:checked){
  background:#193126!important;border-color:#5c9b78!important;box-shadow:0 0 0 1px #5c9b78
}
body.advisor-page.front-glamour .product-details{border-color:var(--fg-line)!important}
body.advisor-page.front-glamour fieldset{border-color:var(--fg-line)!important}

/* Library */
body.library-front-glamour .site-head{
  background:#151719!important;border-bottom:1px solid var(--fg-line)!important;color:var(--fg-text)
}
body.library-front-glamour .site-head a{color:#ead2a6!important}
body.library-front-glamour .library-tools{
  padding:18px;border:1px solid var(--fg-line);border-radius:18px;background:#151719
}
body.library-front-glamour #detail{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border:1px solid var(--fg-line);box-shadow:var(--fg-shadow);color:var(--fg-text)
}
body.library-front-glamour #detail fieldset{border-color:var(--fg-line)}
body.library-front-glamour .library-number{color:var(--fg-gold2)!important}
body.library-front-glamour .content-card{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border-color:var(--fg-line)!important
}

/* Strefa — keep editorial layout, align surfaces */
body.strefa-front-glamour{
  --page:#0d0f0f;--surface:#181a1b;--surface2:#22231f;--ink:#f5f0e7;--muted:#beb7ab;--line:#77684c;--gold:#e0bf88;
  background:
    radial-gradient(circle at 8% 0%,rgba(216,187,132,.10),transparent 30%),
    #0d0f0f!important;
  color:var(--ink)
}
body.strefa-front-glamour .site-head,
body.strefa-front-glamour .mobile-nav{background:#17191b!important}
body.strefa-front-glamour .content-card,
body.strefa-front-glamour .story-main,
body.strefa-front-glamour .story-facts,
body.strefa-front-glamour .side-panel,
body.strefa-front-glamour .panel-simple,
body.strefa-front-glamour .premium-form,
body.strefa-front-glamour .contest-panel,
body.strefa-front-glamour .poll-panel,
body.strefa-front-glamour .terms-main,
body.strefa-front-glamour .join-card{
  background:linear-gradient(155deg,#1c1e20,#121416)!important;
  border-color:var(--fg-line)!important;
  box-shadow:0 15px 40px #0004
}
body.strefa-front-glamour .showcase-section,
body.strefa-front-glamour .filter-bar,
body.strefa-front-glamour .personal-note{background:#22231f!important;border-color:var(--fg-line)!important}
body.strefa-front-glamour input,
body.strefa-front-glamour select,
body.strefa-front-glamour textarea{background:#101214!important;color:var(--fg-text)!important;border-color:var(--fg-line)!important}
body.strefa-front-glamour .btn-gold{background:linear-gradient(135deg,#f0d797,#cba65f)!important;color:#17130c!important}
body.strefa-front-glamour .btn-dark,
body.strefa-front-glamour .btn-ghost{background:#17191b!important;color:var(--fg-text)!important;border-color:var(--fg-line)!important}

/* Existing cloud/client pages: gentle alignment only */
body.front-glamour .device-card,
body.front-glamour .device-hero,
body.front-glamour .cloud-subscription,
body.front-glamour .home-card{border-color:var(--fg-line)!important}

/* Responsive */
@media(max-width:720px){
  body.front-glamour .page-title,
  body.front-glamour .page-title-row,
  body.front-glamour .client-heading{padding:20px 18px;border-radius:18px}
  body.app-center-body.front-glamour .ac-card{padding:20px}
  body.front-glamour .panel{padding:18px}
}
@media(prefers-reduced-motion:reduce){
  body.front-glamour .btn{transition:none!important;transform:none!important}
}

/* 2.28 final polish */
body.account-front-glamour .account-wrap{
  width:min(620px,calc(100% - 28px))!important;
  max-width:620px!important;
  margin:72px auto 56px!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.contact-front-glamour .contact-form label,
body.contact-front-glamour .contact-form legend{color:#d8d1c5!important}
body.contact-front-glamour .contact-form .minor{color:var(--fg-muted)!important}
@media(max-width:650px){
  body.account-front-glamour .account-wrap{margin:30px auto 40px!important}
}
