/* LORWY v2 — Glass Blue theme + hizalama düzeltmeleri. Diğer css dosyalarından SONRA yüklenir. */
:root{
  --bg:#0c1a2b; --surface:#12263c; --surface-raised:#183049;
  --ink:#e9eff7; --muted:#a3b3c6; --faint:#76899f;
  --accent:#7fb2e2; --accent-ink:#0a1522; --theme-accent:#7fb2e2;
  --border:rgba(190,215,245,.14); --border-soft:rgba(190,215,245,.07);
  --glass-fill:linear-gradient(155deg,rgba(120,170,225,.17),rgba(60,100,150,.10) 48%,rgba(20,40,64,.30));
  --glass-line:rgba(205,226,250,.20);
  --glass-shadow:0 1px 0 rgba(255,255,255,.07) inset,0 -1px 0 rgba(0,0,0,.25) inset,0 18px 40px -22px rgba(2,8,16,.85),0 2px 8px rgba(2,8,16,.28);
  --radius:16px;
}
html{background:#08111c}
/* Arka plan: ızgara ve mor parlama kaldırıldı; sakin, yumuşak ortam ışığı */
.public-body{background:transparent!important;color:var(--ink)}
.public-body:before{
  inset:0!important;animation:none!important;opacity:1!important;z-index:-2;
  background:
    radial-gradient(1100px 620px at 8% -6%,rgba(86,134,190,.20),transparent 62%),
    radial-gradient(900px 700px at 102% 18%,rgba(58,104,156,.15),transparent 62%),
    radial-gradient(900px 600px at 40% 108%,rgba(48,86,132,.14),transparent 65%),
    linear-gradient(180deg,#0c1827 0%,#0a1420 55%,#08111c 100%)!important;
}
.public-body:after{
  inset:0!important;z-index:-1;opacity:.05;mix-blend-mode:overlay;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")!important;
}
.admin-atmosphere .atmosphere-grid{display:none}
.glow-one{background:#3b72ad!important;opacity:.10!important}
.glow-two{background:#2f5f94!important;opacity:.10!important}

/* Üst menü */
html:root body .topbar{
  background:linear-gradient(180deg,rgba(18,34,54,.78),rgba(12,24,40,.66));
  backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);
  border-bottom:1px solid var(--glass-line);box-shadow:0 1px 0 rgba(255,255,255,.05) inset,0 14px 30px -24px #000;
}
html:root body .topbar.is-authenticated{align-items:center}
html:root body .topbar.is-authenticated .toplinks{justify-content:flex-end;row-gap:6px}
.nav-category:hover,.nav-category.active,.nav-category[aria-current=page]{background:rgba(160,200,240,.10);color:var(--ink)}
.brand-orb{background:rgba(140,185,230,.10);border-color:var(--glass-line);box-shadow:0 1px 0 rgba(255,255,255,.1) inset}

/* Cam yüzeyler */
html:root body :is(.feature-card,.wealth-strip,.product-card,.application-card,.application-showcard,.legal-document,.hero-status,
 .community-sidebar,.rule-chapter,.promotion-article,.promotion-playlist,.public-team-card,.store-category-panel,.store-buyers,
 .store-delivery-note,.public-endnote,.legal-company-card,.home-action-card,.support-panel,.support-fab,.admin-card,.metric,
 .notification-card,.payment-method-card,.message-card,.variant-card,.city-card,.gift-product-card,.billing-choice,.secret-card,.review-summary,
 .dashboard-card,.my-application,.contact-channel,.ts-note){
  background:var(--glass-fill)!important;
  border:1px solid var(--glass-line)!important;
  box-shadow:var(--glass-shadow);
  backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
}
html:root body :is(.product-card,.application-card,.application-showcard,.home-action-card,.public-team-card):hover{
  border-color:rgba(170,208,246,.32)!important;transform:translateY(-2px);
}
html:root body .city-card{overflow:hidden}
html:root body :is(.empty-panel,.public-empty,.ts-empty){background:rgba(120,165,210,.05)!important;border:1px dashed rgba(190,215,245,.18)!important}
html:root body .rule-chapter>header{background:rgba(140,185,230,.07)!important;border-bottom:1px solid var(--border-soft)}

/* Butonlar */
html:root body :is(.button.primary,.button-primary,.nav-login,.topbar-login){
  background:linear-gradient(180deg,#9cc6ec,#6fa3d6)!important;color:#0a1522!important;border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.45) inset,0 10px 22px -12px rgba(70,130,200,.7);
}
html:root body :is(.button.primary,.button-primary,.nav-login,.topbar-login):hover{filter:brightness(1.06)}
html:root body .nav-login .icon,html:root body .nav-login i{color:inherit}
html:root body .button:not(.primary):not(.button-primary){background:rgba(150,195,238,.08);border-color:var(--glass-line);backdrop-filter:blur(10px)}
html:root body .button:not(.primary):not(.button-primary):hover{background:rgba(150,195,238,.16)}

/* Form alanları */
html:root body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){
  background:rgba(8,17,28,.55);border:1px solid var(--glass-line);color:var(--ink);border-radius:10px;
  box-shadow:0 1px 3px rgba(0,0,0,.35) inset;
}
html:root body :is(input,textarea,select):focus{outline:none;border-color:rgba(150,200,245,.6);box-shadow:0 0 0 3px rgba(111,163,214,.18)}

/* Yazı renkleri: neon yerine sakin çelik mavisi, degrade yazı yok */
html:root body :is(h1,h2,h3) em,html:root body .community-hero h1 em,html:root body .hero h1 em{color:#8dbbe6;background:none;-webkit-text-fill-color:currentColor}
.community-hero:after{display:none}

/* ---------- KAYMA DÜZELTMELERİ ---------- */
/* Ana sayfa başlık + açıklama: açıklama sağ kolona, başlığın alt çizgisine hizalı */
.split-head{align-items:end;gap:48px}
.split-head>p{margin:0 0 6px;justify-self:end;max-width:420px;text-align:left}
/* Topluluk sayfaları üst menü / ana sayfa ile aynı kenarda başlasın */
.community-page{max-width:1344px;padding-left:32px;padding-right:32px}
/* Taşmalar */
.public-body{overflow-x:clip}
.store-layout>*,.rules-layout>*,.store-sidebar,.store-category-panel,.store-catalogue{min-width:0}
@media(max-width:860px){
  .store-layout,.rules-layout{grid-template-columns:minmax(0,1fr)}
  .store-category-panel nav{max-width:100%;overflow-x:auto;scrollbar-width:thin}
  .community-page{padding-left:18px;padding-right:18px}
  .split-head>p{justify-self:start}
  .store-hero{flex-direction:column;align-items:flex-start}
}
/* Kutu içi etiket taşması (ödeme yöntemi vb.) */
.payment-method-card,.billing-choice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;min-width:0}
.payment-method-card :is(small,em,span,i){min-width:0}
.payment-method-card>*{overflow-wrap:anywhere}
html:root body :is(.product-card,.feature-card,.application-card) :is(h2,h3,p){overflow-wrap:anywhere}
/* Destek butonu içerik üstüne binmesin */
.support-shell{z-index:90}

/* Admin tabloları ve yüzeyler */
html:root body :is(.admin-card,.metric){border-radius:15px}
html:root body table{border-collapse:collapse}
html:root body :is(th,td){border-color:var(--border-soft)}
::selection{background:#7fb2e2;color:#0a1522}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@supports not (backdrop-filter:blur(1px)){
  html:root body :is(.feature-card,.product-card,.application-card,.support-panel,.admin-card,.metric){background:#13263b!important}
}

/* Son düzeltmeler */
html:root body .payment-method-card em{position:static;margin:0;align-self:center;white-space:nowrap}
html:root body .payment-method-card{padding:14px 16px}
@media(min-width:1101px){html:root body .topbar{padding-left:max(28px,calc((100vw - 1344px)/2 + 32px));padding-right:max(28px,calc((100vw - 1344px)/2 + 32px))}}
html:root body .topbar.is-authenticated .nav-account{border-top-color:var(--border-soft)}


/* ================= v2: tüm site + yönetim aynı arka plan ================= */
html{background:#091524}
.public-body:before,.admin-body:before{
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;animation:none!important;opacity:1!important;
  background:
    radial-gradient(1200px 700px at 6% -8%,rgba(98,152,214,.34),transparent 64%),
    radial-gradient(1000px 760px at 104% 14%,rgba(66,116,176,.26),transparent 64%),
    radial-gradient(1100px 700px at 38% 112%,rgba(54,96,150,.26),transparent 66%),
    linear-gradient(180deg,#10223a 0%,#0c1b2e 48%,#091524 100%)!important;
}
.public-body:after,.admin-body:after{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.06;mix-blend-mode:overlay;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")!important;
}
.admin-body{background:transparent!important;color:var(--ink)}
.admin-atmosphere{display:none!important}

/* Yönetim paneli: kenar çubuğu, üst bar, kartlar */
html:root body .admin-sidebar{
  background:linear-gradient(170deg,rgba(60,100,150,.34),rgba(14,30,50,.88))!important;
  border-right:1px solid var(--glass-line)!important;backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%);
  box-shadow:1px 0 0 rgba(255,255,255,.06) inset,30px 0 60px -40px #000;
}
html:root body .admin-top{
  background:linear-gradient(180deg,rgba(40,70,108,.55),rgba(16,32,52,.50))!important;
  border-bottom:1px solid var(--glass-line)!important;backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);
}
html:root body :is(.admin-card,.metric,.command-hero,.dash-card,.panel-block,.log-record,.public-editor-item,.directory-toolbar,.directory-welcome,
 .member-list,.balance-topup-panel,.settings-fold,.theme-color-card,.branding-upload-card,.order-row,.admin-live,.admin-account-chip,.admin-user,
 .channel-setup-message,.organization-category-grid>*,.audit-mini,.admin-notification-link,.admin-return-site,.membership-pill,.legal-check,.user-search){
  background:var(--glass-fill)!important;border:1px solid var(--glass-line)!important;box-shadow:var(--glass-shadow);
  backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
}
html:root body .command-hero{background:linear-gradient(150deg,rgba(130,180,235,.22),rgba(40,75,120,.18) 55%,rgba(14,30,50,.4))!important}
html:root body :is(.admin-button,.button.admin-button):not(.danger){background:rgba(150,195,238,.12)!important;border:1px solid var(--glass-line)!important;color:var(--ink)}
html:root body .admin-button:hover{background:rgba(150,195,238,.22)!important}
html:root body .admin-button.primary,html:root body .admin-button.approve{background:linear-gradient(180deg,#9cc6ec,#6fa3d6)!important;color:#0a1522!important;border-color:rgba(255,255,255,.3)!important}
html:root body .admin-body table,html:root body .audit-table{background:transparent}
html:root body :is(.admin-body th){color:var(--muted);background:rgba(120,170,225,.08)}
html:root body :is(.admin-body tr):hover td{background:rgba(120,170,225,.06)}
html:root body :is(.metric-line.violet,.metric-line.lime,.metric-line.cyan,.metric-line.amber){background:#7fb2e2!important}
.admin-body :is(a,.link){color:#9ccbf2}
.admin-main,.admin-section{min-width:0}
.admin-body *{scrollbar-color:rgba(150,195,238,.35) transparent}

/* Mağaza + ürün sayfası */
html:root body :is(.store-page,.product-page) :is(.store-hero,.product-hero){background:transparent}
html:root body .product-card{border-radius:18px;overflow:hidden}
html:root body .product-card img{transition:transform .5s ease}
html:root body .product-card:hover img{transform:scale(1.03)}
html:root body :is(.store-category-panel) a.selected,html:root body .store-category-panel a:hover{background:rgba(150,195,238,.16)!important;border-color:var(--glass-line)!important}
html:root body :is(.tag,.badge,.chip,.stock-pill,.discount-pill){border-radius:999px}
html:root body :is(.hero-status,.wealth-strip){background:linear-gradient(155deg,rgba(130,180,235,.20),rgba(30,58,92,.30))!important}
html:root body .ts-hero-symbol{background:radial-gradient(circle at 50% 35%,rgba(150,195,238,.25),rgba(30,58,92,.2))!important}
html:root body :is(.admin-notification-link,.admin-account-chip,.admin-return-site,.admin-live,.membership-pill){border-radius:999px;padding-left:14px;padding-right:14px}
html:root body .admin-account-chip img{border-radius:50%}
html:root body :is(.admin-card,.metric,.command-hero,.dash-card,.panel-block){border-radius:18px}

/* Yetkili listesi tablosu */
.roster-wrap{padding:0!important;overflow-x:auto}
.roster-table{width:100%;min-width:1280px;border-collapse:separate;border-spacing:0;font-size:12.5px}
.roster-table thead th{position:sticky;top:0;padding:12px 10px;text-align:center;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#dbe9f8;background:linear-gradient(180deg,rgba(120,170,225,.30),rgba(60,100,150,.22));border-bottom:1px solid var(--glass-line);white-space:nowrap}
.roster-group td{padding:9px 14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11px;color:#9ccbf2;background:rgba(120,170,225,.10);border-top:1px solid var(--glass-line);border-bottom:1px solid var(--border-soft)}
.roster-row td{padding:5px 6px;border-bottom:1px solid var(--border-soft);vertical-align:middle}
.roster-row:hover td{background:rgba(120,170,225,.07)}
.roster-row input,.roster-row select{width:100%;min-width:92px;padding:8px 9px;text-align:center;font-size:12.5px;border-radius:8px;background:rgba(8,17,28,.35)}
.roster-row input:placeholder-shown{color:var(--faint)}
.roster-row input:not(:focus):not(:hover),.roster-row select:not(:focus):not(:hover){border-color:transparent}
.roster-row select{font-weight:600}
.roster-row.status-aktif select{color:#9be2b4}.roster-row.status-izinli select{color:#f1d58b}.roster-row.status-pasif select{color:#f0a5a5}.roster-row.status-bos select{color:var(--faint)}
.roster-actions{white-space:nowrap;text-align:center}
.roster-actions form{display:inline-block;margin:0 2px}
.roster-actions .admin-button{padding:7px 12px;min-height:0}
.roster-row td:nth-child(3) input,.roster-row td:nth-child(4) input{min-width:150px}
.roster-row td:nth-child(10) input{min-width:70px}
