:root{--bg:#08111f;--bg2:#0d1d31;--card:#12263c;--line:rgba(255,255,255,.08);--text:#e7f1ff;--muted:#9db5cf;--brand:#17d4a7;--brand2:#4cc3ff;--warn:#ffcc4d;--danger:#ff6b6b;--ok:#34d399;--radius:18px;--shadow:0 18px 50px rgba(0,0,0,.28)}
*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:linear-gradient(180deg,#07111d,#0d1d31 35%,#091523);color:var(--text)}body{background-image:radial-gradient(circle at top right,rgba(76,195,255,.18),transparent 28%),radial-gradient(circle at left center,rgba(23,212,167,.14),transparent 22%),url('bg-economy.svg');background-size:auto,auto,cover;background-attachment:fixed}a{color:inherit;text-decoration:none}input,select,textarea,button{font:inherit}label{display:grid;gap:8px;color:var(--muted);font-size:14px}input,select,textarea{width:100%;border:1px solid var(--line);background:rgba(255,255,255,.08);color:var(--text);border-radius:14px;padding:12px 14px;outline:none}
textarea{min-height:110px;resize:vertical}
select option{background:#102137;color:var(--text)}input:focus,select:focus,textarea:focus{border-color:rgba(76,195,255,.75);box-shadow:0 0 0 4px rgba(76,195,255,.08)}button{cursor:pointer}h1,h2,h3,h4,p{margin:0}.hidden{display:none!important}.brand-logo{width:54px;height:54px;display:block}.brand-logo.big{width:64px;height:64px}.brand-row,.brand-stack{display:flex;align-items:center;gap:12px}.brand-stack{margin-bottom:18px}.brand-row h1,.brand-stack h2{font-size:26px}.brand-row p,.brand-stack p{color:var(--muted);font-size:14px}.auth-shell,.install-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.auth-card,.install-card{width:min(1100px,100%);background:rgba(11,22,38,.86);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);backdrop-filter:blur(20px);padding:28px}.install-card{max-width:900px}.auth-grid,.grid-2,.grid-cards,.grid-3{display:grid;gap:18px}.auth-grid{grid-template-columns:1fr 1.2fr;margin-top:22px}.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.full-span,.wide-card{grid-column:1/-1}.install-form{display:grid;gap:18px;margin-top:18px}.notice{margin-top:16px;padding:12px 14px;border-radius:14px;border:1px solid var(--line)}.notice.error{background:rgba(255,107,107,.12);color:#ffd1d1}.notice.ok{background:rgba(52,211,153,.12);color:#d5fff0}.mini-hint{margin-top:16px;color:var(--muted);font-size:13px}.panel-card{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.panel-card.hero{background:linear-gradient(135deg,rgba(23,212,167,.18),rgba(76,195,255,.12))}.panel-card h3{font-size:18px;margin-bottom:14px}.eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--warn);margin-bottom:8px}.btn{border:none;border-radius:14px;padding:11px 14px;font-weight:700}.btn-primary{background:linear-gradient(90deg,var(--brand),var(--brand2));color:#05111a}.btn-secondary{background:rgba(255,255,255,.07);color:var(--text);border:1px solid var(--line)}.btn-danger{background:linear-gradient(90deg,#ff7676,#ff4c6a);color:#fff}.btn-block{display:block;width:100%;text-align:center}#app{display:grid;grid-template-columns:272px 1fr;min-height:100vh}.sidebar{padding:16px 14px;background:rgba(8,16,28,.88);border-right:1px solid var(--line);backdrop-filter:blur(16px);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow:hidden}.sidebar-header{display:flex;align-items:flex-start;gap:10px;margin-bottom:8px}.sidebar .brand-logo.big{width:84px;height:84px}.lang-selector-sidebar{margin-left:auto;margin-right:0}.menu{display:grid;gap:6px;margin:10px 0 14px;flex:1;min-height:0;overflow:auto;padding-right:4px;align-content:start}.menu::-webkit-scrollbar{width:6px}.menu::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}.menu-btn{display:flex;align-items:center;gap:10px;border:none;background:rgba(255,255,255,.04);color:var(--text);border-radius:14px;padding:12px 14px;min-height:48px;text-align:left;transition:.2s ease;font-size:15px}.menu-btn:hover,.menu-btn.active{background:linear-gradient(90deg,rgba(23,212,167,.18),rgba(76,195,255,.12));border:1px solid rgba(76,195,255,.16)}.menu-icon{width:22px;text-align:center;font-size:16px}.sidebar-foot{margin-top:auto;display:grid;gap:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(8,16,28,0),rgba(8,16,28,.94) 16%,rgba(8,16,28,.98))}.sidebar-chip{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--muted);font-size:14px}.menu-btn-guide{margin-top:2px}.menu-btn-guide .menu-icon img{display:block}.sidebar .btn-danger.btn-block{padding:12px 14px;border-radius:14px;font-size:15px}.main{padding:26px;overflow:auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.topbar h1{font-size:30px}.topbar p{color:var(--muted)}.top-stats{display:flex;flex-wrap:wrap;gap:12px}.top-stat{background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:16px;padding:12px 14px;min-width:150px}.top-stat span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.top-stat strong{font-size:16px}.flash{margin-bottom:16px;padding:12px 16px;border-radius:14px;background:rgba(52,211,153,.13);border:1px solid rgba(52,211,153,.26)}.flash.error{background:rgba(255,107,107,.12);border-color:rgba(255,107,107,.3)}.flash.info{background:rgba(76,195,255,.14);border-color:rgba(76,195,255,.32);color:#dff5ff}.ticker{display:flex;gap:10px;overflow:auto;padding-bottom:8px;margin-bottom:16px}.ticker::-webkit-scrollbar{height:8px}.ticker-item{white-space:nowrap;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line);font-size:13px}.ticker-item.up b{color:var(--ok)}.ticker-item.down b{color:var(--danger)}.tab,.subtab{display:none}.tab.active,.subtab.active{display:block}.subnav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}.subnav-btn{border:none;background:rgba(255,255,255,.04);color:var(--text);border-radius:999px;padding:10px 14px}.subnav-btn.active{background:linear-gradient(90deg,rgba(23,212,167,.18),rgba(76,195,255,.12));border:1px solid rgba(76,195,255,.16)}.stat-list{display:grid;gap:10px}.stat-list>div,.mini-item,.market-item,.facility-item,.admin-user{display:flex;justify-content:space-between;gap:12px;align-items:center;background:rgba(255,255,255,.03);border:1px solid var(--line);border-radius:14px;padding:12px 14px}.mini-item,.market-item,.facility-item,.admin-user{align-items:flex-start}.item-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.item-meta{color:var(--muted);font-size:13px;line-height:1.45}.inventory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.inventory-card{padding:14px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.03)}.inventory-card strong{display:block;font-size:16px}.inventory-card span{display:block;color:var(--muted);margin-top:4px}.facility-list,.market-list,.mini-list,.admin-users,.mission-list{display:grid;gap:12px}.inline-form{display:flex;flex-wrap:wrap;gap:10px}.inline-form input,.inline-form select{flex:1 1 160px}.stack-form{display:grid;gap:12px;margin-top:8px}.profile-box{display:flex;align-items:center;gap:14px;margin-bottom:18px}.avatar-wrap{width:72px;height:72px;border-radius:50%;overflow:hidden;border:1px solid var(--line);background:rgba(255,255,255,.04)}.avatar-wrap img{width:100%;height:100%;object-fit:cover}.profile-form{display:grid;gap:14px}.company-box{padding:18px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid var(--line)}.kv{display:grid;gap:8px}.kv div{display:flex;justify-content:space-between;gap:10px}.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);font-size:12px;border:1px solid var(--line)}.badge.ok,.up{background:rgba(23,212,167,.12)}.badge.warn{background:rgba(255,204,77,.12)}.badge.danger,.down{background:rgba(255,107,107,.12)}.mission-card{display:grid;gap:12px;border:1px solid var(--line);background:rgba(255,255,255,.03);border-radius:16px;padding:14px}.mission-head,.mission-foot{display:flex;justify-content:space-between;gap:12px;align-items:center}.progress-bar{height:10px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;border:1px solid var(--line)}.progress-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand2))}.section-gap{margin-top:18px}.company-track{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.03)}.track-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(23,212,167,.2),rgba(76,195,255,.12));font-size:20px}.track-value{font-weight:700}.compact-grid{margin-top:10px}.checkline{display:flex;align-items:center;gap:10px}.checkline input{width:auto}.admin-user{display:grid}.admin-user-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-root{position:fixed;inset:0;z-index:30000;display:grid;place-items:center}.dialog-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(3px)}.dialog-card{position:relative;z-index:2;width:min(460px,calc(100vw - 28px));background:linear-gradient(180deg,#102137,#0b1829);border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:var(--shadow)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.dialog-close{background:none;border:none;color:var(--text);font-size:28px;line-height:1;padding:0}.dialog-body{color:var(--muted);line-height:1.6;margin-bottom:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}@media (max-width:1100px){#app{grid-template-columns:1fr}.sidebar{position:static;height:auto;overflow:visible}.menu{overflow:visible;max-height:none}.dashboard-grid{grid-template-columns:1fr 1fr}}@media (max-width:840px){.auth-grid,.grid-cards,.grid-2,.grid-3,.dashboard-grid{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.mission-head,.mission-foot,.mini-item,.market-item,.facility-item{flex-direction:column;align-items:flex-start}.top-stats{width:100%}.top-stat{min-width:unset;flex:1 1 45%}}
.flash-enter{opacity:0;transform:translateY(-8px)}.flash-enter-active{opacity:1;transform:translateY(0);transition:all .25s ease}.flash-exit{opacity:1;transform:translateY(0)}.flash-exit-active{opacity:0;transform:translateY(-8px);transition:all .25s ease}
@keyframes typing{0%,60%,100%{opacity:0.3}30%{opacity:1}}
.pm-friend-item{transition:background .15s ease}
#app{will-change:transform;transform:translateZ(0)}
.panel-card,.market-item,.mini-item{will-change:transform;transform:translateZ(0)}
.pm-friend-item:hover{background:rgba(255,255,255,0.04)!important}
/* Global Duyuru Overlay */
.announcement-overlay{position:fixed;top:15%;left:50%;transform:translateX(-50%);z-index:10000;text-align:center;pointer-events:none;opacity:1;transition:opacity .5s ease}
.announcement-overlay.hidden{opacity:0;pointer-events:none}
.announcement-text{background:linear-gradient(135deg,#ff8c00,#ff6b35);color:#fff;padding:20px 40px;border-radius:16px;font-size:22px;font-weight:700;box-shadow:0 8px 32px rgba(255,107,53,.4);animation:announcementBlink 1s ease-in-out 10,textShadowPulse 1s ease-in-out 10;max-width:800px;line-height:1.4}
@keyframes announcementBlink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.85;transform:scale(1.02)}}
@keyframes textShadowPulse{0%,100%{text-shadow:0 0 20px rgba(255,255,255,.8)}50%{text-shadow:0 0 40px rgba(255,255,255,1),0 0 60px rgba(255,140,0,.6)}}
.chat-bubble{animation:bubbleIn .2s ease;transition:transform .1s ease}
.chat-bubble:hover{transform:scale(1.01)}
@keyframes bubbleIn{from{opacity:0;transform:translateY(10px) scale(0.95)}to{opacity:1;transform:translateY(0) scale(1)}}


.seo-body{min-height:100vh;padding:28px}.seo-shell{width:min(1240px,100%);margin:0 auto;display:grid;gap:18px}.seo-topbar{display:grid;grid-template-columns:1.3fr .9fr;gap:18px;align-items:start}.seo-topbar h1{font-size:31px;margin-bottom:10px}.seo-topbar p{color:var(--muted);line-height:1.7}.seo-pills{display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start}.seo-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.seo-breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--muted)}.seo-breadcrumbs a{color:var(--text)}.seo-article p{margin-top:12px;color:var(--muted);line-height:1.8}.seo-card p{color:var(--muted);line-height:1.7;margin:10px 0 14px}.seo-link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.seo-link-card{display:flex;align-items:center;justify-content:center;text-align:center;min-height:92px;font-weight:700}.seo-entry-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.seo-facts{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.seo-bridge p{color:var(--muted);line-height:1.8;margin:10px 0 16px}

/* SEO Content Articles */
.seo-content{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:18px 0;box-shadow:var(--shadow)}.seo-content h2{font-size:24px;color:var(--brand);margin-bottom:16px}.seo-content h3{font-size:18px;color:var(--brand2);margin:20px 0 12px}.seo-content p{color:var(--muted);line-height:1.8;margin-bottom:14px}.seo-content strong{color:var(--text)}.seo-content img{width:100%;max-width:600px;height:auto;border-radius:12px;margin:16px 0;display:block}.seo-table{width:100%;border-collapse:collapse;margin:16px 0}.seo-table th,.seo-table td{padding:12px 16px;text-align:left;border:1px solid var(--line)}.seo-table th{background:rgba(23,212,167,.15);color:var(--brand);font-weight:600}.seo-table td{color:var(--muted)}.seo-table tr:hover td{background:rgba(255,255,255,.03)}

@media (max-width:840px){.seo-body{padding:16px}.seo-topbar{grid-template-columns:1fr}.seo-topbar h1{font-size:28px}.seo-content{padding:16px}.seo-content img{max-width:100%}}

/* Logo Styles */
.sidebar-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
    padding:0 0 6px;
    min-height:0;
}

.brand-logo-only{
    display:flex;
    align-items:flex-start;
    justify-content:flex-start !important;
    padding:0 !important;
    width:auto;
    flex:0 0 auto;
}

.brand-logo{
    display:block;
    width:54px;
    height:54px;
    object-fit:cover;
    object-position:center;
    border-radius:12px;
}

.brand-logo.big{
    width:40px;
    height:40px;
}

.brand-logo-only .brand-logo.big{
    width:182px;
    height:186px;
    min-width:182px;
    min-height:186px;
    max-width:182px;
    max-height:186px;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:10px;
    box-shadow:none;
    background:transparent;
}

/* Auth sayfası için normal logo boyutu */
.auth-shell .brand-logo.big{
    width:64px;
    height:64px;
    min-width:64px;
    min-height:64px;
    max-width:64px;
    max-height:64px;
}

/* SEO sayfaları için logo */
.seo-logo{
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    max-width:48px;
    max-height:48px;
    object-fit:contain;
    border-radius:8px;
}

.sidebar .nav{
    margin-top:10px;
}

.sidebar .nav-link{
    min-height:56px;
    border-radius:16px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 18px;
}

.sidebar .nav-link i,
.sidebar .nav-link svg{
    width:18px;
    min-width:18px;
    text-align:center;
}

.sidebar .brand-wrap{
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
    width:auto;
    flex:0 0 auto;
}

/* Language Selector Styles */
.lang-selector{position:relative;display:inline-block}
.lang-selector-header{position:absolute;top:18px;right:18px;z-index:1000}
.lang-selector-sidebar{margin-left:8px;margin-right:0;align-self:flex-start;flex:0 0 auto}
.lang-selector-auth{position:absolute;top:20px;right:20px;z-index:1000}
.lang-current{cursor:pointer;font-size:28px;padding:4px 8px;border-radius:8px;transition:background .2s;background:rgba(255,255,255,0.05)}
.lang-current:hover{background:rgba(255,255,255,0.12)}
.lang-dropdown{display:none;position:absolute;top:100%;right:0;background:rgba(11,22,38,0.95);border:1px solid rgba(255,255,255,0.1);border-radius:12px;padding:8px 0;min-width:140px;box-shadow:0 8px 32px rgba(0,0,0,0.4);backdrop-filter:blur(20px);z-index:1001}
.lang-selector:hover .lang-dropdown{display:block}
.lang-option{display:flex;align-items:center;gap:8px;padding:10px 16px;color:var(--text);text-decoration:none;font-size:14px;transition:background .15s;white-space:nowrap}
.lang-option:hover{background:rgba(255,255,255,0.08)}
.lang-option img{width:20px;height:14px;border-radius:2px}

/* SEO Language Selector */
.seo-lang-selector{display:flex;gap:8px;margin-bottom:16px;padding:12px;background:rgba(255,255,255,0.03);border-radius:12px;border:1px solid rgba(255,255,255,0.08)}
.seo-lang-option{padding:8px 16px;border-radius:8px;text-decoration:none;color:var(--muted);font-size:14px;transition:all .15s;border:1px solid transparent}
.seo-lang-option:hover{background:rgba(255,255,255,0.05);color:var(--text)}
.seo-lang-option.active{background:rgba(23,212,167,0.15);color:var(--brand);border-color:rgba(23,212,167,0.3);font-weight:500}
.seo-lang-flag{font-size:18px;margin-right:6px}
.global-chat-shell{position:fixed;right:14px;bottom:14px;z-index:70;width:360px;max-width:calc(100vw - 20px);display:flex;flex-direction:column;align-items:stretch}
.global-chat-toggle{width:100%;padding:11px 14px;border:none;border-radius:14px;background:rgba(10,25,45,.82);color:#e6f1ff;cursor:pointer;box-shadow:0 18px 36px rgba(0,0,0,.20);backdrop-filter:blur(10px);order:3}
.global-chat-window{margin-bottom:6px;background:rgba(8,18,33,.82);border:1px solid rgba(168,191,215,.18);border-radius:20px;padding:14px;box-shadow:0 24px 48px rgba(0,0,0,.28);backdrop-filter:blur(10px);order:1}
.global-chat-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.global-chat-feed{height:430px;overflow:auto;display:flex;flex-direction:column;gap:10px;font-size:14px}
.global-chat-line{background:rgba(255,255,255,.025);padding:10px 12px;border-radius:12px;line-height:1.45;border:1px solid rgba(255,255,255,.05);flex:0 0 auto;min-height:46px;display:block}
.global-chat-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}.global-chat-form input{min-width:0;height:50px;padding:0 14px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(168,191,215,.12);color:#e6f1ff}
.global-chat-shell.collapsed .global-chat-window{display:none}
.global-chat-collapsed{display:none;flex-direction:column;gap:6px;pointer-events:none;opacity:0;transform:translateY(6px);transition:all .18s ease;margin-bottom:6px;order:2}
.global-chat-shell.collapsed .global-chat-collapsed.show{display:flex;opacity:1;transform:translateY(0)}
.global-chat-collapsed.show{opacity:1;transform:translateY(0)}
.global-chat-toast{background:rgba(8,18,33,.26);color:#e6f1ff;padding:8px 10px;border-radius:12px;backdrop-filter:blur(3px);border:1px solid rgba(255,255,255,.04);font-size:12px}
.company-profile-card{padding:10px}.company-profile-card.accent-gold{border-left:4px solid #facc15}.company-profile-card.accent-violet{border-left:4px solid #a855f7}.company-profile-card.accent-steel{border-left:4px solid #94a3b8}.company-profile-card.accent-teal{border-left:4px solid #2dd4bf}

.company-profile-owned-note{padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid rgba(168,191,215,.10)}


.admin-shop-compact-list{display:grid;gap:8px;max-height:620px;overflow:auto;padding-right:2px}
.admin-shop-product-tab{width:100%;text-align:left;padding:10px 12px;border-radius:12px;border:1px solid rgba(168,191,215,0.12);background:rgba(10,25,45,0.45);color:#e2e8f0;cursor:pointer;display:flex;align-items:center;gap:10px;transition:all .18s ease}
.admin-shop-product-tab:hover{border-color:rgba(45,212,191,0.4);background:rgba(45,212,191,0.08)}
.admin-shop-product-tab.active{border-color:rgba(45,212,191,0.45);background:rgba(45,212,191,0.12)}
.admin-shop-product-icon{width:38px;height:38px;border-radius:12px;background:rgba(45,212,191,0.10);display:grid;place-items:center;font-size:18px;flex:none}
.admin-shop-product-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.admin-shop-product-copy strong{font-size:14px;line-height:1.2;color:#e2e8f0}
.admin-shop-product-copy small{font-size:11px;color:#94a3b8}
.admin-shop-modal-backdrop{position:fixed;inset:0;z-index:120;background:rgba(2,6,23,0.58);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:24px}
.admin-shop-modal-card{width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;background:linear-gradient(180deg,rgba(8,18,33,.96),rgba(8,18,33,.92));border:1px solid rgba(168,191,215,0.18);border-radius:20px;padding:20px;box-shadow:0 30px 70px rgba(0,0,0,.38)}
.admin-shop-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.admin-shop-input{width:100%;padding:10px;background:rgba(15,23,42,0.75);border:1px solid rgba(168,191,215,0.18);border-radius:10px;color:#e2e8f0}


.company-profile-live-preview{margin-top:14px}
.company-profile-preview-card{padding:14px}
.company-profile-preview-hero{margin-bottom:0}
.company-profile-card.modern{padding:16px 16px 14px}
.company-profile-card.modern .item-meta{color:#aabbd3}
.global-chat-line strong{display:inline-block;margin-right:6px}
@media (max-width: 900px){
  .company-profile-live-preview .company-profile-preview-card > div[style*="grid-template-columns:repeat(3"]{grid-template-columns:1fr!important}
}

.global-chat-feed > *{flex-shrink:0}


.license-prefix{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.18);font-size:11px;font-weight:900;letter-spacing:.02em;margin-right:6px;vertical-align:middle}
.license-color-palette{display:flex;flex-wrap:wrap;gap:10px}
.license-color-ball{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.license-color-ball input{display:none}
.license-color-ball span{width:28px;height:28px;border-radius:999px;background:var(--ball);border:2px solid rgba(255,255,255,.16);box-shadow:0 0 0 1px rgba(0,0,0,.25) inset, 0 6px 14px rgba(0,0,0,.18)}
.license-color-ball.active span,.license-color-ball input:checked + span{transform:scale(1.08);border-color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.28), 0 8px 18px color-mix(in srgb, var(--ball) 40%, transparent)}

.chat-profile-open{display:inline-flex;align-items:center;gap:6px;max-width:100%}
.chat-profile-open:hover{opacity:.92}
.chat-profile-open strong{pointer-events:none}
@media (max-width:840px){.global-chat-shell{width:min(88vw,360px)}.global-chat-feed{height:360px}}

.menu-btn,.subnav-btn{position:relative}
.menu-counter{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:8px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;line-height:1;border:1px solid rgba(255,255,255,.18);box-shadow:0 6px 14px rgba(239,68,68,.28)}


.store-premium-hero{padding:22px;background:linear-gradient(135deg,rgba(45,212,191,.12),rgba(76,195,255,.08) 52%,rgba(255,255,255,.02));overflow:hidden}
.store-premium-hero-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.store-premium-stats{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:12px;flex:1;min-width:min(100%,430px)}
.store-premium-stat{padding:14px;border-radius:18px;background:rgba(7,20,34,.56);border:1px solid rgba(168,191,215,.12);backdrop-filter:blur(10px)}
.store-premium-stat span{display:block;color:#9bb1c8;font-size:12px;margin-bottom:6px}
.store-premium-stat strong{display:block;font-size:18px;color:#fff}
.store-premium-stat small{display:block;color:#7f95af;font-size:11px;margin-top:4px;line-height:1.35}
.store-premium-filters{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.store-premium-filter{border:none;border-radius:999px;padding:10px 14px;background:rgba(255,255,255,.05);color:#e2e8f0;border:1px solid rgba(168,191,215,.12);display:inline-flex;align-items:center;gap:8px;font-weight:700}
.store-premium-filter span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.08);font-size:11px;color:#bfefff}
.store-premium-filter.active{background:linear-gradient(90deg,rgba(45,212,191,.18),rgba(76,195,255,.18));border-color:rgba(76,195,255,.28);color:#fff}
.store-premium-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}
.store-premium-card{position:relative;overflow:hidden;padding:18px;border-radius:20px;border:1px solid rgba(168,191,215,.12);background:linear-gradient(180deg,rgba(10,25,45,.86),rgba(10,25,45,.64));box-shadow:0 18px 44px rgba(0,0,0,.18);display:flex;flex-direction:column}
.store-premium-card::after{content:'';position:absolute;inset:auto -40px -60px auto;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(45,212,191,.12) 0%,transparent 72%);pointer-events:none}
.store-premium-card.license::after{background:radial-gradient(circle,rgba(250,204,21,.14) 0%,transparent 72%)}
.store-premium-card.cosmetic::after{background:radial-gradient(circle,rgba(168,85,247,.14) 0%,transparent 72%)}
.store-premium-card.buff::after{background:radial-gradient(circle,rgba(255,149,0,.16) 0%,transparent 72%)}
.store-premium-top{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px}
.store-premium-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(45,212,191,.18),rgba(76,195,255,.10));font-size:24px;flex:none;border:1px solid rgba(168,191,215,.12)}
.store-premium-card.license .store-premium-icon{background:linear-gradient(135deg,rgba(250,204,21,.18),rgba(251,113,133,.10))}
.store-premium-card.cosmetic .store-premium-icon{background:linear-gradient(135deg,rgba(168,85,247,.18),rgba(236,72,153,.10))}
.store-premium-card.buff .store-premium-icon{background:linear-gradient(135deg,rgba(255,149,0,.18),rgba(255,107,107,.10))}
.store-premium-head{flex:1;min-width:0}
.store-premium-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.store-premium-title-row h4{margin:0;font-size:18px;color:#fff;line-height:1.25}
.store-premium-price{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:linear-gradient(90deg,#ffb020,#ff9500);color:#081522;font-size:12px;font-weight:900;white-space:nowrap}
.store-premium-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.store-premium-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.12);font-size:11px;color:#cfe0f5}
.store-premium-chip.warm{background:rgba(255,149,0,.12);border-color:rgba(255,149,0,.24);color:#ffd9a6}
.store-premium-chip.danger{background:rgba(255,107,107,.12);border-color:rgba(255,107,107,.24);color:#ffd1d1}
.store-premium-desc{color:#a8bfd7;font-size:13px;line-height:1.55;min-height:40px;margin:0 0 12px}
.store-premium-bonus{margin-bottom:10px;padding:10px 12px;border-radius:14px;background:rgba(255,149,0,.08);border:1px solid rgba(255,149,0,.18)}
.store-premium-bonus.soft{background:rgba(45,212,191,.08);border-color:rgba(45,212,191,.18)}
.store-premium-bonus-title{font-size:12px;font-weight:800;color:#fff}
.store-premium-bonus-text{font-size:12px;color:#b7cce2;line-height:1.45;margin-top:4px}
.store-premium-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:4px}
.store-premium-meta{font-size:11px;color:#8096af;line-height:1.45}
.store-owned-group{display:grid;gap:10px;margin-bottom:12px}
.store-owned-head{font-size:13px;font-weight:800;color:#dbeafe;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(168,191,215,.12)}
@media (max-width:840px){
  .store-premium-stats{grid-template-columns:1fr}
  .store-premium-grid{grid-template-columns:1fr}
  .store-premium-footer{flex-direction:column;align-items:flex-start}
  .store-premium-title-row{flex-direction:column}
}

/* Direct Message Module */
.dm-shell{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:stretch}.dm-sidebar-panel,.dm-main-panel{border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.dm-sidebar-panel{padding:18px;background:linear-gradient(180deg,rgba(14,28,46,.96),rgba(9,18,31,.94));display:grid;grid-template-rows:auto auto 1fr;min-height:640px}.dm-main-panel{padding:18px;background:linear-gradient(180deg,rgba(11,23,39,.96),rgba(8,17,29,.96));display:grid;grid-template-rows:auto 1fr auto;min-height:640px;position:relative;overflow:hidden}.dm-main-panel:before{content:"";position:absolute;inset:auto -120px -120px auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(76,195,255,.12),transparent 68%);pointer-events:none}.dm-sidebar-head,.dm-thread-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.dm-sidebar-head h3{margin:0}.dm-search{display:grid;gap:8px;margin-top:14px}.dm-search input{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:12px 14px}.dm-contact-list{display:grid;gap:10px;margin-top:16px;max-height:480px;overflow:auto;padding-right:4px}.dm-contact-list::-webkit-scrollbar,.dm-thread-feed::-webkit-scrollbar{width:10px}.dm-contact-list::-webkit-scrollbar-thumb,.dm-thread-feed::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}.dm-contact-card{border:none;width:100%;text-align:left;padding:14px 14px 12px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;gap:12px;align-items:flex-start;transition:transform .15s ease,border-color .15s ease,background .15s ease}.dm-contact-card:hover{transform:translateY(-1px);border-color:rgba(76,195,255,.3);background:linear-gradient(180deg,rgba(76,195,255,.1),rgba(255,255,255,.03))}.dm-contact-card.active{background:linear-gradient(135deg,rgba(23,212,167,.18),rgba(76,195,255,.12));border-color:rgba(76,195,255,.34);box-shadow:0 12px 24px rgba(0,0,0,.22)}.dm-contact-leading{display:flex;gap:12px;align-items:flex-start;min-width:0;flex:1}.dm-avatar{width:44px;height:44px;min-width:44px;border-radius:16px;overflow:hidden;border:1px solid rgba(76,195,255,.16);display:grid;place-items:center;background:linear-gradient(135deg,rgba(23,212,167,.18),rgba(76,195,255,.16));font-weight:900;color:#f8fbff;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.dm-avatar-lg{width:56px;height:56px;min-width:56px;border-radius:18px}.dm-avatar img{width:100%;height:100%;object-fit:cover;display:block}.dm-avatar-fallback{font-size:18px}.dm-contact-copy{min-width:0;display:grid;gap:4px;flex:1}.dm-contact-topline{display:flex;align-items:center;gap:8px;justify-content:space-between}.dm-contact-topline strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dm-contact-preview{font-size:12px;line-height:1.45;color:#b4c7de;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dm-contact-trail{display:grid;gap:8px;justify-items:end;color:#7d94ad;font-size:11px;min-width:74px}.dm-contact-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.16);display:inline-block}.dm-empty-card,.dm-feed-empty{border:1px dashed rgba(255,255,255,.12);border-radius:20px;padding:28px 20px;text-align:center;background:rgba(255,255,255,.03);display:grid;gap:10px;color:#dbeafe;place-items:center;min-height:180px}.dm-empty-card>div:first-child,.dm-feed-empty>div:first-child{font-size:28px}.dm-thread-head{padding:18px;border-radius:20px;background:linear-gradient(135deg,rgba(23,212,167,.12),rgba(76,195,255,.08));border:1px solid rgba(76,195,255,.18);position:relative;z-index:1}.dm-thread-user{display:flex;align-items:center;gap:14px;min-width:0}.dm-thread-user-copy{min-width:0}.dm-thread-user-copy strong{display:block;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dm-thread-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.dm-thread-empty-head{display:grid;gap:6px}.dm-thread-feed{position:relative;z-index:1;display:grid;gap:10px;align-content:start;max-height:420px;overflow:auto;padding:18px 6px 8px}.dm-bubble-row{display:flex}.dm-bubble-row.mine{justify-content:flex-end}.dm-bubble-row.other{justify-content:flex-start}.dm-bubble{max-width:min(78%,560px);padding:12px 14px;border-radius:18px;box-shadow:0 10px 24px rgba(0,0,0,.18)}.dm-bubble.mine{background:linear-gradient(135deg,#24d8aa,#4cc3ff);color:#04111c;border-bottom-right-radius:6px}.dm-bubble.other{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.08);color:#e6f0ff;border-bottom-left-radius:6px}.dm-bubble-meta{font-size:11px;opacity:.8;margin-bottom:6px;display:flex;gap:6px;flex-wrap:wrap}.dm-bubble-text{font-size:13px;line-height:1.55;word-break:break-word}.dm-composer{position:relative;z-index:1;margin-top:12px;padding:14px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);display:grid;gap:12px}.dm-composer textarea{min-height:112px;max-height:220px;resize:vertical;background:rgba(5,12,22,.46)}.dm-composer-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.dm-composer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}@media (max-width:980px){.dm-shell{grid-template-columns:1fr}.dm-sidebar-panel,.dm-main-panel{min-height:auto}.dm-contact-list,.dm-thread-feed{max-height:340px}}@media (max-width:640px){.dm-thread-head,.dm-composer-foot,.dm-thread-actions{flex-direction:column;align-items:flex-start}.dm-bubble{max-width:100%}.dm-contact-card{padding:12px}}


/* Soft modern Kapitalist Shop */
.store-soft-shell{display:grid;gap:16px}
.store-soft-hero{padding:24px;background:linear-gradient(180deg,rgba(8,18,33,.82),rgba(8,18,33,.72));border-color:rgba(168,191,215,.10);box-shadow:0 14px 34px rgba(0,0,0,.16)}
.store-soft-hero-main{display:flex;align-items:stretch;justify-content:space-between;gap:16px;flex-wrap:wrap}
.store-soft-copy{display:grid;gap:8px;max-width:720px}
.store-soft-copy h3{font-size:28px;line-height:1.15}
.store-soft-copy p{color:#9fb0c6;font-size:14px;line-height:1.65;max-width:680px}
.store-soft-balance-card{min-width:220px;padding:18px 20px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(168,191,215,.10);display:grid;align-content:center;gap:4px}
.store-soft-balance-card span{font-size:12px;color:#9bb1c8}
.store-soft-balance-card strong{font-size:28px;color:#fff;line-height:1.1}
.store-soft-balance-card small{font-size:12px;color:#7f95af;line-height:1.45}
.store-soft-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.store-soft-stat{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08)}
.store-soft-stat span{display:block;font-size:12px;color:#9bb1c8;margin-bottom:6px}
.store-soft-stat strong{display:block;font-size:19px;color:#fff;line-height:1.2}
.store-soft-stat small{display:block;margin-top:4px;font-size:11px;line-height:1.45;color:#7f95af}
.store-soft-filters{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.store-soft-filters .store-premium-filter{background:rgba(255,255,255,.035);border-color:rgba(168,191,215,.10);color:#cfe0f5;padding:10px 15px;font-weight:700;transition:all .18s ease}
.store-soft-filters .store-premium-filter:hover{background:rgba(255,255,255,.06);border-color:rgba(168,191,215,.18)}
.store-soft-filters .store-premium-filter.active{background:rgba(45,212,191,.12);border-color:rgba(45,212,191,.22);color:#fff;box-shadow:none}
.store-soft-filters .store-premium-filter span{background:rgba(255,255,255,.08);color:#d7ecff}
.store-soft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}
.store-soft-card{display:grid;gap:12px;padding:18px;border-radius:20px;background:linear-gradient(180deg,rgba(9,20,35,.82),rgba(9,20,35,.70));border:1px solid rgba(168,191,215,.10);box-shadow:0 12px 28px rgba(0,0,0,.14)}
.store-soft-card-top{display:flex;gap:14px;align-items:flex-start}
.store-soft-icon-wrap{flex:none}
.store-soft-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:24px}
.store-soft-card.license .store-soft-icon{background:rgba(250,204,21,.12);border-color:rgba(250,204,21,.18)}
.store-soft-card.cosmetic .store-soft-icon{background:rgba(168,85,247,.12);border-color:rgba(168,85,247,.18)}
.store-soft-card.buff .store-soft-icon{background:rgba(255,149,0,.12);border-color:rgba(255,149,0,.18)}
.store-soft-card.right .store-soft-icon{background:rgba(76,195,255,.12);border-color:rgba(76,195,255,.18)}
.store-soft-head{display:grid;gap:6px;min-width:0;flex:1}
.store-soft-eyebrow{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#81a3c3}
.store-soft-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.store-soft-title-row h4{font-size:18px;line-height:1.3;color:#fff;margin:0}
.store-soft-price{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:rgba(255,176,32,.14);border:1px solid rgba(255,176,32,.24);color:#ffd48a;font-size:12px;font-weight:800;white-space:nowrap}
.store-soft-desc{color:#a8bfd7;font-size:13px;line-height:1.6;margin:0}
.store-soft-tags{display:flex;flex-wrap:wrap;gap:8px}
.store-soft-tags .store-premium-chip{background:rgba(255,255,255,.04);border-color:rgba(168,191,215,.10);color:#d3e4f8}
.store-soft-tags .store-premium-chip.warm{background:rgba(255,149,0,.10);border-color:rgba(255,149,0,.18);color:#ffd8aa}
.store-soft-tags .store-premium-chip.danger{background:rgba(255,107,107,.10);border-color:rgba(255,107,107,.18);color:#ffd1d1}
.store-soft-card .store-premium-bonus{margin:0;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08)}
.store-soft-card .store-premium-bonus.soft{background:rgba(45,212,191,.06);border-color:rgba(45,212,191,.14)}
.store-soft-card .store-premium-bonus-title{color:#eff6ff}
.store-soft-card .store-premium-bonus-text{color:#adc4dc}
.store-soft-meta-row{display:flex;flex-wrap:wrap;gap:10px}
.store-soft-meta-pill{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08);font-size:12px;color:#a9bed5}
.store-soft-meta-pill.warn{background:rgba(255,107,107,.08);border-color:rgba(255,107,107,.16);color:#ffd1d1}
.store-soft-footer{display:flex;justify-content:flex-end;align-items:center}
.store-soft-buy{min-width:128px}
.store-soft-coupon{padding:20px;background:linear-gradient(180deg,rgba(8,18,33,.78),rgba(8,18,33,.68));border-color:rgba(168,191,215,.10)}
.store-soft-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.store-soft-coupon-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.store-owned-shell{display:grid;gap:14px}
.store-owned-group{padding:16px 18px}
.store-owned-headline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.store-owned-head{font-size:15px;font-weight:800;color:#eef6ff}
.store-owned-count{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(168,191,215,.10);font-size:11px;color:#cfe0f5}
.store-owned-list{display:grid;gap:10px}
.store-owned-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08)}
@media (max-width: 900px){
  .store-soft-stats{grid-template-columns:1fr}
  .store-soft-title-row{flex-direction:column;align-items:flex-start}
  .store-soft-price{margin-top:2px}
}
@media (max-width: 640px){
  .store-soft-coupon-form{grid-template-columns:1fr}
  .store-owned-item{flex-direction:column;align-items:flex-start}
  .store-soft-balance-card{width:100%}
}


/* Shop quad list layout */
.store-quad-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.store-category-column{padding:16px;border-radius:20px;background:linear-gradient(180deg,rgba(9,20,35,.82),rgba(9,20,35,.68));border:1px solid rgba(168,191,215,.10);box-shadow:0 12px 28px rgba(0,0,0,.14);min-height:100%}
.store-category-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid rgba(168,191,215,.08)}
.store-category-title-wrap{display:flex;align-items:flex-start;gap:10px;min-width:0}
.store-category-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:18px;flex:none}
.store-category-title{font-size:15px;font-weight:800;color:#eef6ff;line-height:1.2}
.store-category-hint{margin-top:3px;font-size:11px;line-height:1.45;color:#88a0bb}
.store-category-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 10px;border-radius:999px;background:rgba(45,212,191,.10);border:1px solid rgba(45,212,191,.18);color:#d9fff5;font-size:12px;font-weight:800}
.store-category-list{display:grid;gap:10px}
.store-category-empty{padding:18px 14px;border-radius:16px;border:1px dashed rgba(168,191,215,.14);background:rgba(255,255,255,.025);font-size:12px;color:#8ea5bf;line-height:1.55}
.store-list-like-item{display:grid;gap:12px;padding:14px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08)}
.store-list-like-main{display:flex;gap:12px;align-items:flex-start}
.store-list-like-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:20px;flex:none}
.store-list-like-item.license .store-list-like-icon{background:rgba(250,204,21,.10);border-color:rgba(250,204,21,.18)}
.store-list-like-item.cosmetic .store-list-like-icon{background:rgba(168,85,247,.10);border-color:rgba(168,85,247,.18)}
.store-list-like-item.buff .store-list-like-icon{background:rgba(255,149,0,.10);border-color:rgba(255,149,0,.18)}
.store-list-like-item.utility .store-list-like-icon{background:rgba(76,195,255,.10);border-color:rgba(76,195,255,.18)}
.store-list-like-copy{display:grid;gap:6px;min-width:0;flex:1}
.store-list-like-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.store-list-like-top strong{font-size:14px;line-height:1.35;color:#f3f8ff}
.store-list-like-price{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(255,176,32,.14);border:1px solid rgba(255,176,32,.24);color:#ffd48a;font-size:11px;font-weight:800;white-space:nowrap}
.store-list-like-copy p{margin:0;font-size:12px;line-height:1.55;color:#9fb3cb}
.store-list-like-chips{display:flex;flex-wrap:wrap;gap:6px}
.store-list-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:10px;color:#d3e4f8}
.store-list-chip.warm{background:rgba(255,149,0,.10);border-color:rgba(255,149,0,.18);color:#ffd8aa}
.store-list-chip.danger{background:rgba(255,107,107,.10);border-color:rgba(255,107,107,.18);color:#ffd1d1}
.store-list-like-summary{font-size:11px;line-height:1.5;color:#c9def2}
.store-list-like-meta{font-size:11px;line-height:1.5;color:#8096af}
.store-list-like-buy{width:100%}
@media (max-width: 1400px){.store-quad-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 760px){.store-quad-grid{grid-template-columns:1fr}.store-list-like-top{flex-direction:column;align-items:flex-start}}

.store-category-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(168,191,215,.08)}
.store-category-pager.single{opacity:.7}
.store-page-indicator{font-size:11px;color:#8ea5bf;text-align:center;white-space:nowrap}
.store-page-btn{border:none;border-radius:12px;padding:8px 12px;background:rgba(255,255,255,.045);border:1px solid rgba(168,191,215,.10);color:#d9e8f7;font-size:11px;font-weight:700;transition:all .18s ease}
.store-page-btn:hover:not(:disabled){background:rgba(45,212,191,.10);border-color:rgba(45,212,191,.18)}
.store-page-btn:disabled{opacity:.45;cursor:not-allowed}


/* Kapitalist Shop compact premium redesign */
.store-premium-shell{display:grid;gap:16px}
.store-premium-head{padding:20px 22px;background:linear-gradient(180deg,rgba(9,20,35,.88),rgba(7,16,29,.84));border:1px solid rgba(250,204,21,.12);box-shadow:0 16px 38px rgba(0,0,0,.18)}
.store-premium-headline{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.store-premium-headline h3{margin:0;font-size:28px;line-height:1.15;color:#f8fbff}
.store-premium-headline p{margin:8px 0 0;color:#9bb1c9;font-size:13px;line-height:1.6;max-width:620px}
.store-premium-stats{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));gap:10px;min-width:min(100%,380px)}
.store-premium-stat{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(168,191,215,.10)}
.store-premium-stat span{display:block;color:#8ea5bf;font-size:11px;margin-bottom:4px}
.store-premium-stat strong{display:block;color:#f8fbff;font-size:18px;line-height:1.15}
.store-premium-stat small{display:block;color:#7d93ab;font-size:10px;margin-top:4px;line-height:1.4}
.store-premium-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}
.store-premium-sidebar,.store-premium-main,.store-premium-coupon{background:linear-gradient(180deg,rgba(8,18,33,.90),rgba(6,14,26,.88));border:1px solid rgba(168,191,215,.10);box-shadow:0 16px 36px rgba(0,0,0,.16)}
.store-premium-sidebar{padding:16px;position:sticky;top:18px}
.store-premium-side-head{display:grid;gap:3px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid rgba(168,191,215,.08)}
.store-premium-side-head strong{font-size:15px;color:#eef6ff}
.store-premium-side-head small{font-size:11px;color:#8ea5bf}
.store-premium-side-list{display:grid;gap:10px}
.store-category-switch{width:100%;text-align:left;padding:12px 13px;border-radius:16px;border:1px solid rgba(168,191,215,.10);background:rgba(255,255,255,.03);display:flex;align-items:center;gap:12px;color:#e6f0ff;transition:all .18s ease}
.store-category-switch:hover{background:rgba(255,255,255,.05);border-color:rgba(250,204,21,.20);transform:translateY(-1px)}
.store-category-switch.active{background:linear-gradient(135deg,rgba(250,204,21,.12),rgba(34,211,238,.06));border-color:rgba(250,204,21,.24);box-shadow:0 12px 28px rgba(0,0,0,.16)}
.store-category-switch-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:18px;flex:none}
.store-category-switch-copy{display:grid;gap:2px;min-width:0;flex:1}
.store-category-switch-copy strong{font-size:14px;line-height:1.2;color:#f7fbff}
.store-category-switch-copy small{font-size:11px;line-height:1.45;color:#8ea5bf}
.store-category-switch-count{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 10px;border-radius:999px;background:rgba(45,212,191,.10);border:1px solid rgba(45,212,191,.18);color:#d7fff4;font-size:11px;font-weight:800}
.store-premium-main{padding:16px 16px 14px}
.store-premium-main-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid rgba(168,191,215,.08)}
.store-premium-main-title{display:flex;align-items:flex-start;gap:12px;min-width:0}
.store-premium-main-title>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(250,204,21,.10);border:1px solid rgba(250,204,21,.18);font-size:18px;flex:none}
.store-premium-main-title strong{display:block;font-size:16px;color:#f8fbff;line-height:1.2}
.store-premium-main-title small{display:block;font-size:11px;color:#8ea5bf;margin-top:3px;line-height:1.5}
.store-premium-page{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(168,191,215,.10);font-size:11px;color:#cfe0f5;white-space:nowrap}
.store-premium-product-list{display:grid;gap:12px}
.store-premium-empty{padding:28px 18px;border-radius:18px;border:1px dashed rgba(168,191,215,.14);background:rgba(255,255,255,.025);font-size:12px;color:#8ea5bf;line-height:1.6;text-align:center}
.store-premium-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08);transition:border-color .18s ease,transform .18s ease,background .18s ease}
.store-premium-item:hover{border-color:rgba(250,204,21,.20);background:rgba(255,255,255,.045);transform:translateY(-1px)}
.store-premium-item.license{border-color:rgba(250,204,21,.14)}
.store-premium-item.buff{border-color:rgba(255,149,0,.14)}
.store-premium-item.utility{border-color:rgba(76,195,255,.14)}
.store-premium-item-main{display:flex;align-items:flex-start;gap:14px;min-width:0}
.store-premium-item-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:22px;flex:none;overflow:hidden}
.store-premium-item.license .store-premium-item-icon{background:rgba(250,204,21,.10);border-color:rgba(250,204,21,.18)}
.store-premium-item.buff .store-premium-item-icon{background:rgba(255,149,0,.10);border-color:rgba(255,149,0,.18)}
.store-premium-item.utility .store-premium-item-icon{background:rgba(76,195,255,.10);border-color:rgba(76,195,255,.18)}
.store-premium-item-copy{display:grid;gap:6px;min-width:0;flex:1}
.store-premium-item-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.store-premium-item-head strong{font-size:15px;line-height:1.3;color:#f7fbff}
.store-premium-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:10px;font-weight:800;color:#d7e8f8;text-transform:uppercase;letter-spacing:.04em}
.store-premium-item-desc{margin:0;font-size:12px;line-height:1.55;color:#9bb1c9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.store-premium-tags{display:flex;flex-wrap:wrap;gap:6px}
.store-premium-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:10px;font-weight:700;color:#d7e8f8}
.store-premium-tag.soft{background:rgba(168,85,247,.10);border-color:rgba(168,85,247,.18);color:#ead8ff}
.store-premium-tag.warm{background:rgba(255,149,0,.10);border-color:rgba(255,149,0,.18);color:#ffd8aa}
.store-premium-tag.danger{background:rgba(255,107,107,.10);border-color:rgba(255,107,107,.18);color:#ffd1d1}
.store-premium-item-summary{font-size:11px;line-height:1.55;color:#c8ddf0}
.store-premium-item-meta{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:11px;line-height:1.5;color:#8096af}
.store-premium-item-actions{display:grid;gap:10px;justify-items:end;align-content:center;min-width:140px}
.store-premium-item-price{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:rgba(255,176,32,.14);border:1px solid rgba(255,176,32,.24);color:#ffd48a;font-size:12px;font-weight:800;white-space:nowrap}
.store-premium-buy{min-width:132px}
.store-premium-main-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(168,191,215,.08)}
.store-premium-main-foot.single{opacity:.78}
.store-premium-coupon{padding:16px 18px}
.store-premium-coupon h3,.store-premium-owned h3{margin:0;font-size:16px}
.store-premium-bottom-grid{display:grid;grid-template-columns:minmax(280px,420px) minmax(220px,300px);gap:16px;align-items:start;justify-content:start}
.store-bottom-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid rgba(168,191,215,.08)}
.store-bottom-card-head small{font-size:11px;color:#8ea5bf;line-height:1.5}
.store-premium-owned{padding:16px 18px}.store-premium-owned-action{padding:16px 18px;max-width:300px}.store-owned-open-btn{width:100%;padding:12px 14px;border-radius:14px}
.store-soft-coupon-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.store-soft-coupon-form.compact{grid-template-columns:1fr;gap:12px}
.store-soft-coupon-form input{background:rgba(255,255,255,.04);border:1px solid rgba(168,191,215,.10);border-radius:14px;padding:12px 14px;color:#f8fbff}
.store-owned-inline-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.store-owned-inline-group{padding:12px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08);display:grid;gap:10px}
.store-owned-inline-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.store-owned-inline-title{font-size:13px;font-weight:800;color:#eef6ff}
.store-owned-inline-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 9px;border-radius:999px;background:rgba(45,212,191,.10);border:1px solid rgba(45,212,191,.18);color:#d7fff4;font-size:11px;font-weight:800}
.store-owned-inline-items{display:grid;gap:8px}
.store-owned-inline-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(168,191,215,.08)}
.store-owned-inline-item strong{font-size:12px;color:#f5fbff;display:flex;align-items:center;gap:8px;min-width:0}
.store-owned-inline-item span{font-size:10px;font-weight:800;color:#7ef8c6;white-space:nowrap}
.store-owned-inline-more,.store-owned-inline-empty{font-size:12px;color:#8ea5bf;line-height:1.55}
.store-owned-modal-root{position:fixed;inset:0;z-index:26000;display:grid;place-items:center;padding:22px}
.store-owned-modal-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.72);backdrop-filter:blur(7px)}
.store-owned-modal-card{position:relative;z-index:2;width:min(920px,calc(100vw - 34px));max-height:calc(100vh - 52px);overflow:auto;border-radius:24px;background:linear-gradient(180deg,rgba(8,18,33,.98),rgba(6,14,26,.96));border:1px solid rgba(250,204,21,.18);box-shadow:0 34px 90px rgba(0,0,0,.46),0 0 0 1px rgba(255,255,255,.04) inset}
.store-owned-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid rgba(168,191,215,.10)}
.store-owned-modal-head h3{margin:0;font-size:20px;color:#f8fbff}
.store-owned-modal-head p{margin:5px 0 0;color:#8ea5bf;font-size:12px;line-height:1.5}
.store-owned-modal-body{padding:18px 20px}
@media (max-width:1200px){.store-premium-layout{grid-template-columns:1fr}.store-premium-sidebar{position:static}.store-premium-stats{width:100%;min-width:0}.store-premium-bottom-grid{grid-template-columns:1fr}.store-owned-inline-list{grid-template-columns:1fr}}
@media (max-width:760px){.store-premium-item{grid-template-columns:1fr}.store-premium-item-actions{justify-items:stretch;min-width:0}.store-premium-buy{width:100%}.store-premium-stats{grid-template-columns:1fr}.store-soft-coupon-form,.store-soft-coupon-form.compact{grid-template-columns:1fr}.store-premium-main-head{flex-direction:column;align-items:flex-start}}

/* Economy bulletin list + reader */
.news-feed-list{display:grid;gap:10px}
.news-feed-row{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.028);border:1px solid rgba(168,191,215,.09);transition:all .18s ease}
.news-feed-row:hover{background:rgba(255,255,255,.045);border-color:rgba(168,191,215,.16)}
.news-feed-row.is-new{border-left:3px solid #ffd93d;background:linear-gradient(90deg,rgba(255,217,61,.08),rgba(255,255,255,.025) 18%)}
.news-feed-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.news-feed-cat{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(168,191,215,.10);font-size:10px;font-weight:800;color:#d8e8f9;letter-spacing:.02em;text-transform:uppercase}
.news-feed-new{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:rgba(255,217,61,.14);border:1px solid rgba(255,217,61,.22);font-size:10px;font-weight:900;color:#ffe48b;letter-spacing:.08em}
.news-feed-date{margin-left:auto;font-size:10px;color:#8aa1bc}
.news-headline-btn{display:block;width:100%;padding:0;border:none;background:none;text-align:left;font-size:15px;line-height:1.35;font-weight:900;color:#f5fbff;cursor:pointer}
.news-headline-btn:hover{color:#ffd93d}
.news-feed-preview{margin-top:6px;font-size:12px;line-height:1.6;color:#9fb2c9}
.news-reader-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px}
.news-reader-modal.hidden{display:none}
.news-reader-backdrop{position:absolute;inset:0;background:rgba(2,7,18,.72);backdrop-filter:blur(8px)}
.news-reader-dialog{position:relative;width:min(760px,100%);max-height:min(82vh,900px);overflow:auto;padding:24px;border-radius:24px;background:linear-gradient(180deg,rgba(8,18,33,.96),rgba(8,18,33,.92));border:1px solid rgba(168,191,215,.12);box-shadow:0 24px 60px rgba(0,0,0,.42)}
.news-reader-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:none;border-radius:50%;background:rgba(255,255,255,.06);border:1px solid rgba(168,191,215,.12);color:#f8fbff;font-size:24px;line-height:1;cursor:pointer}
.news-reader-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-right:42px}
.news-reader-category{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(45,212,191,.10);border:1px solid rgba(45,212,191,.18);font-size:11px;font-weight:800;color:#d9fff5;letter-spacing:.03em;text-transform:uppercase}
.news-reader-date{font-size:12px;color:#8aa1bc}
.news-reader-title{margin:14px 0 12px;font-size:26px;line-height:1.2;color:#f8fbff}
.news-reader-body{white-space:pre-wrap;font-size:14px;line-height:1.8;color:#d5e4f4}
@media (max-width: 640px){
  .news-feed-date{margin-left:0}
  .news-reader-dialog{padding:20px 16px 18px}
  .news-reader-title{font-size:21px}
}


.bot-center-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(168,191,215,.08)}
.bot-center-pager.single{opacity:.72}
.bot-center-page-indicator{font-size:11px;color:#8ea5bf;text-align:center;white-space:nowrap}
.bot-center-page-btn{border:none;border-radius:12px;padding:8px 12px;background:rgba(255,255,255,.045);border:1px solid rgba(168,191,215,.10);color:#d9e8f7;font-size:11px;font-weight:700;transition:all .18s ease}
.bot-center-page-btn:hover:not(:disabled){background:rgba(45,212,191,.10);border-color:rgba(45,212,191,.18)}
.bot-center-page-btn:disabled{opacity:.45;cursor:not-allowed}


.store-soft-hero{padding:18px 20px}
.store-soft-hero-head.compact{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.store-soft-hero-head.compact h3{margin:0;font-size:20px;line-height:1.2}
.store-soft-stats.compact{display:flex;gap:12px;flex-wrap:wrap;margin-top:0}
.store-soft-stat.compact{min-width:150px;padding:12px 14px}
.store-soft-stat.compact small{display:none}
.store-soft-coupon{padding:18px}
.store-soft-coupon h3{margin:0 0 12px}
.store-category-head{align-items:center}
.store-category-title-wrap{align-items:center}
.store-category-title{margin:0}
.store-list-like-copy p:empty{display:none}
@media (max-width: 700px){
  .store-soft-hero-head.compact{align-items:flex-start}
  .store-soft-stats.compact{width:100%}
}

.market-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;min-height:unset}.market-item-main{min-width:0}.market-item-title{display:flex;align-items:center;gap:6px;font-size:13px;min-width:0;flex-wrap:wrap}.market-good-icon{font-size:14px;flex:0 0 auto}.market-item-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:260px}.market-quality-badge,.market-premium-badge{font-size:11px!important;padding:2px 6px!important;margin-left:4px}.market-item-meta{font-size:11px;margin-top:2px}.market-item-actions{display:flex;align-items:center;gap:6px;white-space:nowrap;justify-content:flex-end}.market-item-actions input{width:55px;padding:4px 6px;font-size:12px;text-align:center}.market-item-actions .btn{padding:5px 12px;font-size:12px}.premium-market-item{border-color:rgba(255,70,70,.82)!important;background:linear-gradient(135deg,rgba(255,70,70,.13),rgba(255,255,255,.035))!important;box-shadow:0 0 0 1px rgba(255,70,70,.38),0 12px 30px rgba(255,70,70,.10)!important;position:relative;overflow:hidden}.premium-market-item::before{display:none}.market-premium-action-badge{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:9px;letter-spacing:.13em;font-weight:900;color:#fff;background:linear-gradient(90deg,#ff4d4d,#ff9500);padding:6px 9px;border-radius:999px;box-shadow:0 6px 16px rgba(255,70,70,.22);flex:0 0 auto}@media (max-width:700px){.market-item{grid-template-columns:1fr}.market-item-title strong{max-width:180px}.market-item-actions{justify-content:flex-start;flex-wrap:wrap}.market-premium-action-badge{order:-1}}


.howto-open-btn{
  border:1px solid rgba(45,212,191,.38);
  background:linear-gradient(135deg,rgba(9,64,78,.72),rgba(14,38,58,.78));
  color:#e6fbff;
  border-radius:18px;
  padding:10px 14px;
  min-width:132px;
  min-height:58px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:2px;
  box-shadow:inset 0 0 24px rgba(45,212,191,.08),0 12px 28px rgba(0,0,0,.18);
  transition:.18s ease;
}
.howto-open-btn span{font-size:11px;letter-spacing:.12em;color:#facc15;font-weight:800;text-transform:uppercase}
.howto-open-btn strong{font-size:13px;line-height:1.1;white-space:nowrap}
.howto-open-btn:hover{transform:translateY(-1px);border-color:rgba(45,212,191,.72);box-shadow:0 16px 36px rgba(0,0,0,.24),0 0 0 4px rgba(45,212,191,.06)}
.howto-modal{position:fixed;inset:0;z-index:26000;display:grid;place-items:center;padding:22px}
.howto-modal.hidden{display:none}
.howto-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.72);backdrop-filter:blur(7px)}
.howto-card{
  position:relative;
  z-index:2;
  width:min(1180px,calc(100vw - 34px));
  max-height:calc(100vh - 44px);
  overflow:hidden;
  background:linear-gradient(180deg,rgba(10,31,50,.98),rgba(5,18,32,.98));
  border:1px solid rgba(148,163,184,.24);
  border-radius:26px;
  box-shadow:0 30px 100px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
}
.howto-head{
  padding:20px 22px;
  border-bottom:1px solid rgba(148,163,184,.16);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  background:radial-gradient(circle at 10% 0%,rgba(45,212,191,.16),transparent 42%),radial-gradient(circle at 85% 0%,rgba(76,195,255,.13),transparent 38%);
}
.howto-kicker{display:block;color:#facc15;font-weight:900;font-size:11px;letter-spacing:.14em;margin-bottom:6px}
.howto-head h2{margin:0;font-size:26px;color:#f8fafc}
.howto-head p{margin:6px 0 0;color:#a8bfd7;max-width:760px}
.howto-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:0;overflow:hidden}
.howto-tabs{
  padding:14px;
  border-right:1px solid rgba(148,163,184,.14);
  overflow:auto;
  background:rgba(2,8,23,.18);
}
.howto-tab{
  width:100%;
  text-align:left;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.035);
  color:#cfe4f7;
  border-radius:14px;
  padding:11px 12px;
  margin-bottom:8px;
  font-weight:800;
}
.howto-tab.active{
  color:#081522;
  border-color:rgba(45,212,191,.72);
  background:linear-gradient(135deg,#28d3b3,#4cc3ff);
  box-shadow:0 12px 30px rgba(45,212,191,.14);
}
.howto-content{padding:22px;overflow:auto}
.howto-panel{display:none;max-width:900px}
.howto-panel.active{display:block}
.howto-panel h3{font-size:24px;margin:0 0 12px;color:#f8fafc}
.howto-panel p{color:#bfd3e7;line-height:1.75;margin:0 0 14px}
.howto-panel ul{color:#bfd3e7;line-height:1.75;margin:0 0 16px;padding-left:22px}
.howto-panel li{margin-bottom:6px}
.howto-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:16px 0}
.howto-grid>div,.howto-rule,.howto-faq details{
  border:1px solid rgba(148,163,184,.16);
  background:rgba(255,255,255,.045);
  border-radius:16px;
  padding:14px;
}
.howto-grid strong{display:block;color:#e7f6ff;margin-bottom:6px}
.howto-grid p{font-size:13px;margin:0;color:#a8bfd7;line-height:1.55}
.howto-rule{border-left:4px solid #2dd4bf;color:#dffbff;line-height:1.65;margin:16px 0;background:rgba(45,212,191,.08)}
.howto-faq{display:flex;flex-direction:column;gap:10px}
.howto-faq summary{cursor:pointer;font-weight:900;color:#f8fafc}
.howto-faq p{margin:10px 0 0}
@media (max-width:980px){
  .howto-layout{grid-template-columns:1fr}
  .howto-tabs{display:flex;gap:8px;overflow:auto;border-right:0;border-bottom:1px solid rgba(148,163,184,.14)}
  .howto-tab{min-width:160px;margin-bottom:0}
  .howto-open-btn{min-height:48px;min-width:116px;padding:8px 10px}
}
@media (max-width:720px){
  .topbar{align-items:stretch}
  .howto-open-btn{width:100%;align-items:center}
  .howto-modal{padding:10px}
  .howto-head{padding:16px;align-items:stretch;flex-direction:column}
  .howto-content{padding:16px}
}


.sidebar-howto-btn{width:100%;min-width:0;align-items:flex-start;padding:12px 14px;border-radius:14px}
.sidebar-howto-btn strong{font-size:14px;white-space:normal}
.sidebar-howto-btn span{font-size:10px}
.sidebar-foot .howto-open-btn{margin:0}


.company-showcase-mini{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(45,212,191,.12),rgba(76,195,255,.08));
  border:1px solid rgba(76,195,255,.18);
  margin-bottom:12px;
}
.achievement-strip{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(96px,1fr));
  gap:8px;
}
.achievement-chip{
  min-height:74px;
  display:grid;
  place-items:center;
  text-align:center;
  gap:4px;
  padding:10px 8px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.16);
  background:rgba(255,255,255,.035);
  opacity:.58;
}
.achievement-chip.done{
  opacity:1;
  border-color:rgba(34,197,94,.34);
  background:linear-gradient(180deg,rgba(34,197,94,.12),rgba(255,255,255,.035));
}
.achievement-chip span{font-size:22px}
.achievement-chip strong{font-size:11px;line-height:1.25}
.bm-opportunity-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:12px;
  margin-bottom:12px;
}
.bm-opportunity-card{
  border:1px solid rgba(148,163,184,.18);
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  border-radius:18px;
  padding:14px;
  box-shadow:0 12px 26px rgba(0,0,0,.16);
}
.bm-opportunity-card span{
  display:block;
  color:#a8bfd7;
  font-size:12px;
  margin-bottom:6px;
}
.bm-opportunity-card strong{
  display:block;
  color:#f8fafc;
  font-size:22px;
  line-height:1.1;
  margin-bottom:5px;
}
.bm-opportunity-card small{
  display:block;
  color:#7dd3fc;
  line-height:1.35;
}


/* Dashboard layout cleanup */
.dashboard-grid{
  grid-template-columns:repeat(3,minmax(260px,1fr)) !important;
  align-items:start;
}
.dashboard-assist-grid{
  display:grid;
  grid-template-columns:minmax(320px,1.15fr) minmax(300px,.85fr);
  gap:12px;
  align-items:start;
  margin:12px 0;
}
.dashboard-lower-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:12px !important;
  align-items:start;
}
#dailyGoalsPanel{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:8px;
}
#dailyGoalsPanel .mini-item,
#strategyPulsePanel .mini-item{
  min-height:auto;
}
#hourlyFinanceSummary{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
@media (max-width:1280px){
  .dashboard-grid{grid-template-columns:repeat(2,minmax(260px,1fr)) !important}
  .dashboard-assist-grid,.dashboard-lower-grid{grid-template-columns:1fr !important}
}
@media (max-width:720px){
  .dashboard-grid{grid-template-columns:1fr !important}
  #dailyGoalsPanel{grid-template-columns:1fr}
}


/* Dashboard symmetry refinement */
.dashboard-assist-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
  margin:12px 0;
}
.dashboard-assist-grid > .panel-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
#dailyGoalsPanel{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
#strategyPulsePanel{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
#dailyGoalsPanel .mini-item,
#strategyPulsePanel .mini-item{
  height:100%;
  min-height:92px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  border-radius:18px;
}
.dashboard-lower-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  align-items:stretch;
}
.dashboard-lower-column{
  display:flex;
  flex-direction:column;
  gap:12px;
  height:100%;
}
.dashboard-lower-column > .panel-card{
  flex:1;
  display:flex;
  flex-direction:column;
}
.dashboard-lower-column > .panel-card .mini-list{
  flex:1;
}
.company-showcase-mini{
  min-height:78px;
}
.achievement-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.achievement-chip{
  min-height:104px;
  border-radius:16px;
}
.achievement-chip strong{
  font-size:12px;
}
#dashboardAnnouncementsPanel .mini-item,
#eventPanel .mini-item{
  min-height:64px;
}
.dashboard-hero-card{
  overflow:hidden;
}
.dashboard-hero-split{
  display:grid;
  grid-template-columns:minmax(280px,1.05fr) minmax(360px,.95fr);
  gap:18px;
  align-items:center;
}
.dashboard-hero-copy h3{
  margin-bottom:10px;
}
.dashboard-hero-copy p{
  color:var(--muted);
}
.dashboard-hero-leaders{
  min-width:0;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  overflow:visible;
}
.leaders-money-stream{
  position:absolute;
  left:-172px;
  bottom:4px;
  width:56%;
  height:92px;
  pointer-events:none;
  overflow:visible;
  z-index:0;
  mask-image:linear-gradient(90deg, transparent 0%, #000 10%, #000 92%, transparent 100%);
}
.money-note{
  position:absolute;
  left:-40px;
  top:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  user-select:none;
  will-change:transform,opacity;
}
.money-note.tl{
  width:34px;
  height:20px;
  margin-top:-10px;
  border-radius:6px;
  font-size:14px;
  font-weight:900;
  color:#fef3c7;
  background:linear-gradient(135deg, rgba(74,118,79,.96), rgba(34,80,52,.96));
  border:1px solid rgba(255,236,179,.22);
  box-shadow:0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.money-note.tl::before,
.money-note.tl::after{
  content:"";
  position:absolute;
  border-radius:inherit;
  pointer-events:none;
}
.money-note.tl::before{
  inset:3px;
  border:1px solid rgba(255,240,184,.16);
}
.money-note.tl::after{
  left:5px;
  right:5px;
  top:8px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,240,184,.35), transparent);
}
.money-note.btc,
.money-note.eth{
  width:24px;
  height:24px;
  margin-top:-12px;
  border-radius:50%;
  font-size:13px;
  font-weight:900;
  box-shadow:0 10px 20px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.22);
}
.money-note.btc{
  color:#fff6df;
  background:radial-gradient(circle at 30% 28%, #ffda99, #f59e0b 58%, #9a5d06 100%);
  border:1px solid rgba(255,228,168,.5);
}
.money-note.eth{
  color:#eef3ff;
  background:radial-gradient(circle at 30% 28%, #d7ddff, #7c8cff 58%, #4857b0 100%);
  border:1px solid rgba(224,231,255,.44);
}
.note-1{ top:70%; animation:money-to-leaders-a 6.4s linear infinite; }
.note-2{ top:56%; animation:money-to-leaders-b 7.1s linear infinite; animation-delay:-1.2s; }
.note-3{ top:42%; animation:money-to-leaders-c 6.8s linear infinite; animation-delay:-2.8s; }
.note-4{ top:74%; animation:money-to-leaders-d 7.6s linear infinite; animation-delay:-3.5s; }
.note-5{ top:50%; animation:money-to-leaders-e 6.1s linear infinite; animation-delay:-4.4s; }
.note-6{ top:64%; animation:money-to-leaders-f 7.4s linear infinite; animation-delay:-5.3s; }
.note-7{ top:36%; animation:money-to-leaders-g 6.9s linear infinite; animation-delay:-6.1s; }
@keyframes money-to-leaders-a{
  0%{transform:translate(-8px,8px) rotate(-16deg) scale(.72);opacity:0;}
  14%{opacity:.2;}
  24%{opacity:.94;}
  46%{transform:translate(68px,-18px) rotate(14deg) scale(.9);}
  72%{transform:translate(140px,-6px) rotate(-8deg) scale(.98);}
  100%{transform:translate(198px,-12px) rotate(10deg) scale(.82);opacity:0;}
}
@keyframes money-to-leaders-b{
  0%{transform:translate(-12px,2px) rotate(-9deg) scale(.74);opacity:0;}
  12%{opacity:.18;}
  24%{opacity:.92;}
  50%{transform:translate(76px,14px) rotate(18deg) scale(.9);}
  76%{transform:translate(150px,-4px) rotate(-6deg) scale(.98);}
  100%{transform:translate(208px,8px) rotate(8deg) scale(.82);opacity:0;}
}
@keyframes money-to-leaders-c{
  0%{transform:translate(-16px,-8px) rotate(12deg) scale(.72);opacity:0;}
  14%{opacity:.2;}
  24%{opacity:.92;}
  48%{transform:translate(62px,-16px) rotate(-10deg) scale(.88);}
  74%{transform:translate(138px,4px) rotate(12deg) scale(.98);}
  100%{transform:translate(194px,-10px) rotate(-6deg) scale(.84);opacity:0;}
}
@keyframes money-to-leaders-d{
  0%{transform:translate(-10px,12px) rotate(16deg) scale(.74);opacity:0;}
  12%{opacity:.16;}
  24%{opacity:.9;}
  48%{transform:translate(82px,18px) rotate(-14deg) scale(.9);}
  76%{transform:translate(156px,-8px) rotate(8deg) scale(1);}
  100%{transform:translate(214px,4px) rotate(-8deg) scale(.82);opacity:0;}
}
@keyframes money-to-leaders-e{
  0%{transform:translate(-14px,-2px) rotate(-12deg) scale(.7);opacity:0;}
  10%{opacity:.16;}
  22%{opacity:.9;}
  46%{transform:translate(72px,12px) rotate(10deg) scale(.88);}
  72%{transform:translate(146px,-10px) rotate(-8deg) scale(.96);}
  100%{transform:translate(202px,2px) rotate(7deg) scale(.8);opacity:0;}
}
@keyframes money-to-leaders-f{
  0%{transform:translate(-12px,6px) rotate(10deg) scale(.72);opacity:0;}
  12%{opacity:.16;}
  24%{opacity:.9;}
  50%{transform:translate(74px,-12px) rotate(-16deg) scale(.88);}
  76%{transform:translate(150px,6px) rotate(8deg) scale(.98);}
  100%{transform:translate(208px,-6px) rotate(-5deg) scale(.82);opacity:0;}
}
@keyframes money-to-leaders-g{
  0%{transform:translate(-10px,-10px) rotate(15deg) scale(.72);opacity:0;}
  12%{opacity:.18;}
  24%{opacity:.92;}
  46%{transform:translate(70px,-22px) rotate(-12deg) scale(.9);}
  74%{transform:translate(144px,-4px) rotate(10deg) scale(.98);}
  100%{transform:translate(205px,-14px) rotate(-7deg) scale(.82);opacity:0;}
}
.leaders-showcase-shell{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:14px;
  min-height:118px;
  padding:0 12px 0 88px;
  border-radius:0;
  isolation:isolate;
  background:transparent;
  border:none;
  overflow:visible;
}
.leaders-showcase-shell::before{
  content:none;
}
.leaders-showcase-shell::after{
  content:none;
}
.leaders-showcase-empty{
  width:100%;
  min-height:96px;
  display:grid;
  place-items:center;
  text-align:center;
  color:#9fb4cb;
  font-size:12px;
  padding:14px;
}
.leader-hero-item{
  position:relative;
  flex:0 0 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  z-index:1;
}
.leader-hero-item.rank-1{ transform:translateY(-4px); }
.leader-hero-button{
  position:relative;
  width:min(76px,100%);
  aspect-ratio:1/1;
  border:none;
  padding:0;
  border-radius:50%;
  background:none;
  cursor:pointer;
  display:block;
  transition:transform .22s ease, filter .22s ease;
  animation:leaders-float 4.8s ease-in-out infinite;
}
.leader-hero-button:hover,
.leader-hero-button:focus-visible{
  transform:translateY(-3px) scale(1.03);
  filter:brightness(1.04);
  outline:none;
}
.leader-hero-item.rank-1 .leader-hero-button{
  width:min(88px,100%);
  animation-duration:4.2s;
}
.leader-hero-item.rank-2 .leader-hero-button{ animation-delay:.4s; }
.leader-hero-item.rank-3 .leader-hero-button{ animation-delay:.9s; }
.leader-hero-body{
  position:relative;
  width:100%;
  height:100%;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:8px 8px 20px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 12px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -10px 18px rgba(0,0,0,.2);
}
.leader-hero-body::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.35), transparent 24%),
    radial-gradient(circle at 70% 76%, rgba(255,255,255,.08), transparent 18%);
  mix-blend-mode:screen;
  pointer-events:none;
}
.leader-hero-body::after{
  content:"";
  position:absolute;
  inset:-28% 42% 12% -22%;
  transform:rotate(28deg);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  opacity:.34;
  animation:leaders-shine 4.4s linear infinite;
  pointer-events:none;
}
.leader-hero-item.rank-1 .leader-hero-body{
  background:radial-gradient(circle at 30% 24%, rgba(255,248,205,.26), rgba(255,210,84,.14) 34%, rgba(25,42,68,.98) 76%), linear-gradient(180deg, #13253d, #081424);
  box-shadow:0 0 0 1px rgba(250,204,21,.16), 0 14px 26px rgba(0,0,0,.28), 0 0 18px rgba(250,204,21,.1), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -12px 22px rgba(0,0,0,.24);
}
.leader-hero-item.rank-2 .leader-hero-body{
  background:radial-gradient(circle at 30% 24%, rgba(237,242,248,.22), rgba(125,211,252,.12) 34%, rgba(24,36,57,.98) 76%), linear-gradient(180deg, #122338, #081322);
}
.leader-hero-item.rank-3 .leader-hero-body{
  background:radial-gradient(circle at 30% 24%, rgba(255,222,197,.22), rgba(251,146,60,.12) 34%, rgba(28,34,52,.98) 76%), linear-gradient(180deg, #152338, #081322);
}
.leader-hero-core{
  position:relative;
  z-index:2;
  display:grid;
  justify-items:center;
  gap:3px;
  max-width:100%;
}
.leader-face{
  position:relative;
  width:44px;
  height:34px;
  margin-top:1px;
}
.leader-face::before,
.leader-face::after{
  content:"";
  position:absolute;
  top:16px;
  width:10px;
  height:8px;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%, rgba(255,214,214,.22), rgba(255,214,214,0));
}
.leader-face::before{ left:2px; }
.leader-face::after{ right:2px; }
.leader-face-brows{
  position:absolute;
  inset:0;
}
.leader-face-brows::before,
.leader-face-brows::after{
  content:"";
  position:absolute;
  top:1px;
  width:13px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(10,16,26,.96), rgba(43,58,80,.82));
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
.leader-face-brows::before{ left:5px; transform:rotate(-12deg); }
.leader-face-brows::after{ right:5px; transform:rotate(12deg); }
.leader-face-eyes{
  position:absolute;
  left:50%;
  top:10px;
  transform:translateX(-50%);
  width:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.leader-face-eyes span{
  position:relative;
  width:9px;
  height:10px;
  border-radius:46% 46% 52% 52%;
  background:radial-gradient(circle at 42% 42%, #ffffff 0 30%, #d7e4ff 31% 48%, #26344d 49% 68%, #0a1220 69% 100%);
  border:1px solid rgba(255,255,255,.62);
  box-shadow:0 1px 0 rgba(255,255,255,.12) inset, 0 2px 5px rgba(0,0,0,.26);
}
.leader-face-eyes span::before{
  content:"";
  position:absolute;
  left:-1px;
  right:-1px;
  top:-2px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(50,63,86,.9), rgba(12,20,33,.08));
}
.leader-face-eyes span::after{
  content:"";
  position:absolute;
  left:2px;
  top:2px;
  width:2px;
  height:2px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
}
.leader-face-nose{
  position:absolute;
  left:50%;
  top:18px;
  transform:translateX(-50%);
  width:8px;
  height:8px;
  border-right:1.5px solid rgba(37,48,67,.82);
  border-bottom:1.5px solid rgba(37,48,67,.82);
  border-radius:0 0 7px 0;
  opacity:.82;
}
.leader-face-mouth{
  position:absolute;
  left:50%;
  bottom:1px;
  transform:translateX(-50%);
  width:15px;
  height:7px;
  border-bottom:2px solid rgba(15,22,35,.8);
  border-radius:0 0 12px 12px;
  opacity:.9;
}
.leader-face-moustache{
  position:absolute;
  left:50%;
  top:18px;
  transform:translateX(-50%);
  width:28px;
  height:14px;
  overflow:visible;
}
.leader-face-moustache .must-fill{
  fill:#2d180b;
  stroke:#1f0f06;
  stroke-width:.6;
}
.leader-face-moustache .must-highlight{
  fill:none;
  stroke:rgba(104,62,30,.55);
  stroke-width:.9;
  stroke-linecap:round;
}
.leader-company-name{
  max-width:100%;
  font-size:10px;
  line-height:1.15;
  font-weight:800;
  color:#eef4ff;
  text-align:center;
  text-shadow:0 1px 6px rgba(0,0,0,.28);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  word-break:break-word;
}
.leader-neck-medal{
  position:absolute;
  left:50%;
  bottom:-6px;
  transform:translateX(-50%);
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  z-index:3;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.22));
  animation:leaders-medal-swing 3.8s ease-in-out infinite;
}
.leader-hero-item.rank-2 .leader-neck-medal{ animation-delay:.3s; }
.leader-hero-item.rank-3 .leader-neck-medal{ animation-delay:.6s; }
.leader-neck-medal::before,
.leader-neck-medal::after{
  content:"";
  position:absolute;
  top:-8px;
  width:6px;
  height:11px;
  border-radius:6px 6px 0 0;
  background:linear-gradient(180deg, rgba(59,130,246,.95), rgba(220,38,38,.88));
}
.leader-neck-medal::before{ left:5px; transform:rotate(14deg); }
.leader-neck-medal::after{ right:5px; transform:rotate(-14deg); }
.leader-neck-medal span{
  position:relative;
  width:18px;
  height:18px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:9px;
  font-weight:900;
  color:#0f172a;
  border:1px solid rgba(255,255,255,.2);
}
.leader-hero-item.rank-1 .leader-neck-medal span{ background:radial-gradient(circle at 30% 28%, #fff3bf, #facc15 58%, #b45309); }
.leader-hero-item.rank-2 .leader-neck-medal span{ background:radial-gradient(circle at 30% 28%, #ffffff, #cbd5e1 58%, #64748b); }
.leader-hero-item.rank-3 .leader-neck-medal span{ background:radial-gradient(circle at 30% 28%, #ffe3c2, #fb923c 58%, #9a3412); }
.leader-crown{
  position:absolute;
  top:-8px;
  left:50%;
  transform:translateX(-50%);
  font-size:20px;
  line-height:1;
  z-index:4;
  filter:drop-shadow(0 0 10px rgba(250,204,21,.34));
  animation:leaders-crown-glow 2.4s ease-in-out infinite;
}
.leader-hero-meta{
  width:100%;
  display:grid;
  gap:2px;
  justify-items:center;
  text-align:center;
}
@keyframes leaders-float{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-4px); }
}
@keyframes leaders-shine{
  0%{ transform:translateX(-120%) rotate(28deg); opacity:0; }
  15%{ opacity:.12; }
  55%{ opacity:.3; }
  100%{ transform:translateX(240%) rotate(28deg); opacity:0; }
}
@keyframes leaders-medal-swing{
  0%,100%{ transform:translateX(-50%) rotate(-2deg); }
  50%{ transform:translateX(-50%) rotate(2deg); }
}
@keyframes leaders-crown-glow{
  0%,100%{ transform:translateX(-50%) translateY(0); filter:drop-shadow(0 0 8px rgba(250,204,21,.26)); }
  50%{ transform:translateX(-50%) translateY(-2px); filter:drop-shadow(0 0 14px rgba(250,204,21,.48)); }
}
@media (max-width:1280px){
  .dashboard-hero-split{ grid-template-columns:1fr; }
  .dashboard-hero-leaders{ margin-top:4px; }
  .leaders-money-stream{ left:-132px; width:58%; }
  .leaders-showcase-shell{ padding-left:74px; }
}
@media (max-width:720px){
  .leaders-money-stream{ display:none; }
  .leaders-showcase-shell{
    min-height:auto;
    align-items:stretch;
    gap:8px;
    flex-direction:column;
    padding-left:0;
  }
  .leader-hero-item,
  .leader-hero-item.rank-1{ flex:none; transform:none; }
  .leader-hero-button,
  .leader-hero-item.rank-1 .leader-hero-button{ width:72px; margin-inline:auto; }
}
@media (prefers-reduced-motion:reduce){
  .leader-hero-button,
  .leader-neck-medal,
  .leader-crown,
  .leader-hero-body::after,
  .money-note{
    animation:none !important;
  }
}
@media (max-width:1280px){
  #dailyGoalsPanel{grid-template-columns:repeat(2,minmax(0,1fr));}
  .achievement-strip{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:980px){
  .dashboard-assist-grid,
  .dashboard-lower-grid{
    grid-template-columns:1fr !important;
  }
  #strategyPulsePanel{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:720px){
  #dailyGoalsPanel,
  #strategyPulsePanel,
  .achievement-strip{
    grid-template-columns:1fr;
  }
}

@media (max-height:760px){.sidebar{padding:12px 12px}.menu-btn{padding:10px 12px;min-height:44px;font-size:14px}.sidebar-foot{gap:8px}.sidebar .btn-danger.btn-block,.sidebar-howto-btn,.sidebar-chip{padding:10px 12px}}


/* Admin Shop Management - compact categorical redesign */
#adminShopPanel{display:block}
.admin-shop-shell{display:grid;gap:14px}
.admin-shop-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:18px;
  border:1px solid rgba(76,195,255,.18);
  border-radius:22px;
  background:radial-gradient(circle at 8% 0%,rgba(45,212,191,.16),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  box-shadow:0 16px 36px rgba(0,0,0,.18);
}
.admin-shop-hero h3{margin:3px 0 6px;font-size:22px}
.admin-shop-hero p{color:#a8bfd7;line-height:1.45}
.admin-shop-stats{display:grid;grid-template-columns:repeat(3,minmax(78px,1fr));gap:8px;min-width:280px}
.admin-shop-stats>div{
  border:1px solid rgba(148,163,184,.14);
  background:rgba(5,12,22,.34);
  border-radius:16px;
  padding:10px 12px;
  text-align:center;
}
.admin-shop-stats span{display:block;color:#94a3b8;font-size:11px;margin-bottom:4px}
.admin-shop-stats strong{display:block;font-size:18px;color:#f8fafc}
.admin-shop-category-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(142px,1fr));
  gap:8px;
}
.admin-shop-category-btn{
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.035);
  color:#e7f1ff;
  border-radius:16px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:46px;
  transition:.16s ease;
}
.admin-shop-category-btn span{font-size:17px}
.admin-shop-category-btn strong{font-size:13px;line-height:1.1;flex:1;text-align:left}
.admin-shop-category-btn em{
  min-width:24px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:#bfefff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-style:normal;
}
.admin-shop-category-btn:hover,.admin-shop-category-btn.active{
  border-color:rgba(45,212,191,.45);
  background:linear-gradient(90deg,rgba(45,212,191,.16),rgba(76,195,255,.10));
}
.admin-shop-layout{
  display:grid;
  grid-template-columns:minmax(310px,370px) minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.admin-shop-left,.admin-shop-right{
  border:1px solid rgba(148,163,184,.14);
  background:rgba(8,18,33,.50);
  border-radius:20px;
  padding:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
}
.admin-shop-left{
  position:sticky;
  top:14px;
  max-height:calc(100vh - 118px);
  display:flex;
  flex-direction:column;
  min-height:520px;
}
.admin-shop-toolbar,.admin-shop-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
}
.admin-shop-toolbar strong,.admin-shop-section-head h3{display:block;margin:0;font-size:16px;color:#f8fafc}
.admin-shop-toolbar small,.admin-shop-section-head p{display:block;color:#94a3b8;font-size:12px;margin-top:3px}
.admin-shop-toolbar .btn{padding:8px 10px;border-radius:12px;font-size:12px}
.admin-shop-search{
  height:42px;
  border-radius:14px;
  padding:9px 12px;
  margin-bottom:10px;
  background:rgba(2,8,23,.42);
}
.admin-shop-compact-list{
  display:grid;
  gap:7px;
  overflow:auto;
  padding-right:3px;
  max-height:none;
}
.admin-shop-compact-list::-webkit-scrollbar,.admin-shop-active-list::-webkit-scrollbar{width:7px}
.admin-shop-compact-list::-webkit-scrollbar-thumb,.admin-shop-active-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.13);border-radius:999px}
.admin-shop-product-tab{
  position:relative;
  width:100%;
  text-align:left;
  padding:10px 12px;
  border-radius:15px;
  border:1px solid rgba(148,163,184,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022));
  color:#e2e8f0;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  transition:.16s ease;
}
.admin-shop-product-tab:hover{
  transform:translateY(-1px);
  border-color:rgba(76,195,255,.35);
  background:linear-gradient(180deg,rgba(76,195,255,.10),rgba(255,255,255,.025));
}
.admin-shop-product-tab.active{
  border-color:rgba(45,212,191,.55);
  background:linear-gradient(135deg,rgba(45,212,191,.16),rgba(76,195,255,.08));
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.admin-shop-product-icon{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:13px;
  background:rgba(45,212,191,.10);
  display:grid;
  place-items:center;
  font-size:18px;
}
.admin-shop-product-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.admin-shop-product-copy strong{font-size:14px;line-height:1.2;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-shop-product-copy small{font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-shop-sale-dot{
  min-width:24px;
  height:24px;
  border-radius:999px;
  background:#22c55e;
  color:#04111c;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:900;
}
.admin-shop-empty{
  padding:22px 14px;
  border-radius:16px;
  border:1px dashed rgba(148,163,184,.2);
  color:#94a3b8;
  text-align:center;
  background:rgba(255,255,255,.025);
}
.admin-shop-right{min-height:520px}
.admin-shop-active-list{
  display:grid;
  gap:9px;
  max-height:calc(100vh - 236px);
  overflow:auto;
  padding-right:3px;
}
.admin-shop-active-list .mini-item{
  border-radius:16px;
  padding:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.022));
}
.admin-shop-active-list .btn-danger{
  padding:9px 12px;
  border-radius:12px;
  font-size:12px;
  white-space:nowrap;
}
.admin-shop-modal-backdrop{z-index:26000}
.admin-shop-modal-card{
  border-radius:24px;
  border:1px solid rgba(148,163,184,.20);
}
.admin-shop-input{
  min-height:42px;
  border-radius:12px;
}
@media (max-width:1200px){
  .admin-shop-layout{grid-template-columns:1fr}
  .admin-shop-left{position:static;max-height:none;min-height:auto}
  .admin-shop-active-list{max-height:none}
}
@media (max-width:760px){
  .admin-shop-hero{flex-direction:column}
  .admin-shop-stats{width:100%;min-width:0}
  .admin-shop-category-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Admin Player Management - search-first tabbed detail */
.admin-player-management{
  display:grid;
  grid-template-columns:minmax(300px,360px) minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.admin-player-search-side,.admin-player-detail-side{
  border:1px solid rgba(148,163,184,.14);
  background:rgba(8,18,33,.50);
  border-radius:20px;
  padding:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
}
.admin-player-search-side{
  position:sticky;
  top:14px;
  max-height:calc(100vh - 118px);
  overflow:auto;
}
.admin-player-search-card{
  display:grid;
  gap:12px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(76,195,255,.18);
  background:radial-gradient(circle at 8% 0%,rgba(45,212,191,.14),transparent 38%),linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  margin-bottom:10px;
}
.admin-player-search-card h3{margin:2px 0 4px;font-size:18px}
.admin-player-search-card p{color:#94a3b8;line-height:1.45}
.admin-player-search-line{
  display:flex;
  gap:8px;
  align-items:center;
}
.admin-player-search-line input{
  height:42px;
  border-radius:14px;
  padding:9px 12px;
  background:rgba(2,8,23,.42);
}
.admin-player-search-line .btn{padding:9px 11px;border-radius:12px;font-size:12px}
.admin-player-result-list{display:grid;gap:8px}
.admin-player-result{
  border:1px solid rgba(148,163,184,.13);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022));
  color:#e7f1ff;
  display:grid;
  grid-template-columns:28px 1fr;
  gap:8px 10px;
  align-items:center;
  text-align:left;
  padding:11px 12px;
  transition:.16s ease;
}
.admin-player-result:hover,.admin-player-result.active{
  border-color:rgba(45,212,191,.46);
  background:linear-gradient(135deg,rgba(45,212,191,.14),rgba(76,195,255,.08));
}
.admin-player-result span{font-size:20px;grid-row:span 2}
.admin-player-result strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-player-result small{font-size:11px;color:#94a3b8}
.admin-player-detail-card{display:grid;gap:12px}
.admin-player-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(76,195,255,.18);
  background:linear-gradient(135deg,rgba(45,212,191,.11),rgba(76,195,255,.07));
}
.admin-player-detail-head h3{font-size:23px;margin:2px 0 4px}
.admin-player-detail-head p{color:#94a3b8}
.admin-player-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.admin-player-tab{
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.035);
  color:#dbeafe;
  border-radius:999px;
  padding:9px 12px;
  font-weight:800;
  font-size:12px;
}
.admin-player-tab.active{
  color:#06131f;
  background:linear-gradient(90deg,var(--brand),var(--brand2));
  border-color:rgba(76,195,255,.4);
}
.admin-player-tab-content{display:grid;gap:10px}
.admin-player-overview-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
}
.admin-player-stat{
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.035);
  border-radius:16px;
  padding:12px;
}
.admin-player-stat span{display:block;color:#94a3b8;font-size:11px;margin-bottom:5px}
.admin-player-stat strong{display:block;color:#f8fafc;font-size:17px}
.admin-player-stat small{display:block;color:#7dd3fc;font-size:11px;margin-top:4px}
.admin-player-form{
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.035);
  border-radius:18px;
  padding:14px;
}
.admin-player-form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
}
.admin-player-form-grid label,.admin-player-asset-row label{
  display:grid;
  gap:6px;
  color:#94a3b8;
  font-size:11px;
}
.admin-player-form-grid input,.admin-player-form-grid select,
.admin-player-asset-row input,.admin-player-asset-row select{
  min-height:40px;
  border-radius:12px;
  padding:9px 11px;
  background:rgba(2,8,23,.42);
}
.admin-player-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}
.admin-player-asset-row{
  display:grid;
  grid-template-columns:minmax(220px,1fr) repeat(2,minmax(120px,170px)) auto;
  gap:10px;
  align-items:end;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.035);
  border-radius:16px;
  padding:12px;
}
.admin-player-asset-row.readonly{grid-template-columns:minmax(220px,1fr) auto;align-items:center}
.admin-player-asset-row.new-row{
  border-color:rgba(45,212,191,.28);
  background:linear-gradient(135deg,rgba(45,212,191,.08),rgba(255,255,255,.025));
}
.admin-player-asset-row strong{font-size:14px}
.admin-player-asset-row .btn{height:40px;border-radius:12px;padding:9px 12px;white-space:nowrap}
.admin-player-subtitle{
  margin-top:8px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(45,212,191,.08);
  border:1px solid rgba(45,212,191,.18);
  color:#dffbff;
  font-weight:900;
}
.admin-player-actions-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:10px;
}
.admin-player-warning{
  padding:13px 14px;
  border-radius:16px;
  border:1px solid rgba(250,204,21,.24);
  background:rgba(250,204,21,.08);
  color:#fde68a;
  line-height:1.55;
}
.admin-player-empty{
  padding:18px 14px;
  border-radius:16px;
  border:1px dashed rgba(148,163,184,.20);
  color:#94a3b8;
  text-align:center;
  background:rgba(255,255,255,.025);
}
.admin-player-empty.large{
  min-height:320px;
  display:grid;
  place-items:center;
}
@media (max-width:1250px){
  .admin-player-management{grid-template-columns:1fr}
  .admin-player-search-side{position:static;max-height:none}
}
@media (max-width:820px){
  .admin-player-asset-row{grid-template-columns:1fr}
  .admin-player-detail-head{flex-direction:column}
}


/* Admin player bulk delete controls */
.admin-player-bulkbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(248,113,113,.22);
  background:linear-gradient(90deg,rgba(248,113,113,.10),rgba(255,255,255,.025));
}
.admin-player-checkline{
  display:flex;
  align-items:center;
  gap:8px;
  color:#e7f1ff;
  font-weight:800;
  font-size:13px;
}
.admin-player-checkline input,
.admin-player-row-check input{
  width:18px;
  height:18px;
  accent-color:#22d3ee;
}
.admin-player-row-check{
  align-self:center;
  justify-self:center;
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:26px;
}
.admin-player-asset-row{
  grid-template-columns:32px minmax(220px,1fr) repeat(2,minmax(120px,170px)) auto;
}
.admin-player-asset-row.readonly{
  grid-template-columns:32px minmax(220px,1fr) auto;
}
.admin-player-asset-row.new-row{
  grid-template-columns:minmax(220px,1fr) repeat(2,minmax(120px,170px)) auto;
}
@media (max-width:820px){
  .admin-player-asset-row,
  .admin-player-asset-row.readonly,
  .admin-player-asset-row.new-row{grid-template-columns:1fr}
  .admin-player-row-check{justify-self:start}
}


/* Landing / giriş vitrini */
.landing-shell{min-height:100vh;background:radial-gradient(circle at 76% 0%,rgba(250,204,21,.13),transparent 31%),radial-gradient(circle at 14% 12%,rgba(34,211,238,.12),transparent 28%),linear-gradient(180deg,#06111f 0%,#071525 45%,#040b15 100%);color:#e5edf7;font-family:inherit;overflow:hidden;position:relative;}
.landing-shell:before{content:"";position:fixed;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(180deg,rgba(0,0,0,.75),transparent 80%);pointer-events:none;}
.landing-nav{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:0 auto;padding:22px 34px;border-bottom:1px solid rgba(148,163,184,.16);}
.landing-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#f8fafc;min-width:max-content;}
.landing-brand strong{display:block;font-size:28px;line-height:1;font-weight:900;color:#facc15;text-shadow:0 10px 30px rgba(250,204,21,.18);}
.landing-brand small{display:block;color:#b6c7dc;font-weight:600;margin-top:5px;}
.landing-brand.small strong{font-size:20px}.landing-brand.small small{font-size:12px}.landing-logo{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 10px 24px rgba(250,204,21,.22));}
.landing-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end;}
.landing-actions .language-switcher,.landing-actions .language-select,.landing-actions select{max-width:150px;}
.landing-link,.landing-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:9px;text-decoration:none;text-transform:uppercase;letter-spacing:.03em;font-weight:900;color:#e5edf7;border:1px solid rgba(148,163,184,.23);background:rgba(15,23,42,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);}
.landing-link{border:0;background:transparent;font-size:13px;}.landing-btn.gold{background:linear-gradient(180deg,#ffe173,#e8a819);color:#111827;border-color:rgba(250,204,21,.7);box-shadow:0 14px 34px rgba(250,204,21,.24),inset 0 1px 0 rgba(255,255,255,.45);}.landing-btn.ghost:hover,.landing-link:hover{border-color:rgba(250,204,21,.55);color:#facc15;}
.landing-notice{max-width:1380px;margin:18px auto 0;position:relative;z-index:2;}
.landing-main{position:relative;z-index:1;max-width:1440px;margin:0 auto;padding:28px 34px 18px;}
.landing-hero{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(520px,1.08fr);gap:44px;align-items:center;min-height:520px;}
.landing-kicker{display:inline-flex;padding:10px 22px;border-radius:999px;color:#facc15;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:13px;background:rgba(4,12,22,.68);border:1px solid rgba(250,204,21,.23);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}
.landing-copy h1{font-size:clamp(48px,6vw,76px);line-height:.98;margin:26px 0 20px;font-weight:950;letter-spacing:-.045em;color:#f8fafc;}.landing-copy h1 span{display:block;color:#facc15;text-shadow:0 18px 46px rgba(250,204,21,.24);}.landing-copy p{max-width:640px;color:#c7d6e8;font-size:19px;line-height:1.58;margin:0 0 26px;}
.landing-mini-features{display:grid;grid-template-columns:repeat(4,minmax(112px,1fr));gap:18px;margin:30px 0 34px;}.landing-mini-features div{display:flex;flex-direction:column;gap:3px}.landing-mini-features b{font-size:14px;color:#f8fafc}.landing-mini-features small{font-size:12px;color:#9fb1c8;}
.landing-cta-row{display:flex;gap:18px;flex-wrap:wrap}.landing-cta{min-width:210px;padding:17px 22px;border-radius:10px;text-decoration:none;display:flex;flex-direction:column;gap:2px;border:1px solid rgba(148,163,184,.22);}.landing-cta strong{text-transform:uppercase;font-size:15px}.landing-cta small{font-size:12px}.landing-cta.primary{background:linear-gradient(180deg,#ffe173,#e8a819);color:#111827;box-shadow:0 18px 40px rgba(250,204,21,.25)}.landing-cta.secondary{background:rgba(15,23,42,.72);color:#e5edf7}.landing-cta.secondary:hover{border-color:rgba(250,204,21,.55)}

.landing-dashboard{position:relative;min-height:510px;border:1px solid rgba(250,204,21,.28);border-radius:14px;overflow:hidden;background:linear-gradient(145deg,rgba(15,23,42,.78),rgba(2,8,23,.92));box-shadow:0 30px 80px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.05);padding:26px 26px 98px;}
.landing-city-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.44;filter:saturate(1.04) contrast(1.02);}.landing-dashboard:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,8,23,.62),rgba(2,8,23,.35) 52%,rgba(2,8,23,.78)),linear-gradient(180deg,rgba(2,8,23,.12),rgba(2,8,23,.88));pointer-events:none;}
.landing-dashboard-grid,.landing-tickers{position:relative;z-index:2}.landing-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.1fr) 230px;gap:18px;align-items:start}.dashboard-left-stack{display:grid;grid-template-rows:auto 1fr;gap:16px}.dashboard-card,.landing-tickers{background:rgba(7,17,31,.76);border:1px solid rgba(148,163,184,.18);box-shadow:0 18px 38px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(14px);border-radius:14px;color:#e5edf7}.market-summary-card,.market-chart-card,.active-companies-card{padding:18px}.market-summary-card h4,.market-chart-card h4,.active-companies-card h4{margin:0;text-transform:uppercase;font-size:12px;color:#d6e2f0;letter-spacing:.08em}.summary-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.07);font-size:13px}.summary-row:first-of-type{margin-top:12px}.up{color:#22c55e!important}.down{color:#ef4444!important}.chart-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.chart-range-pills{display:flex;gap:8px}.chart-range-pills span{font-size:11px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#9fb0c3}.chart-range-pills .active{background:rgba(34,211,238,.12);border-color:rgba(34,211,238,.35);color:#dffaff}.market-chart-card svg{width:100%;height:172px;background:linear-gradient(180deg,rgba(15,23,42,.45),rgba(15,23,42,.2));border-radius:10px}.active-companies-card{display:flex;flex-direction:column;min-height:100%}.active-companies-list{display:grid;gap:9px;margin-top:14px}.company-rank-row{display:grid;grid-template-columns:26px 1fr;gap:2px 10px;align-items:center;padding:11px 10px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.04)}.company-rank-row > span{font-size:18px;line-height:1}.company-rank-row div{display:flex;flex-direction:column;gap:4px}.company-rank-row b{font-size:13px;color:#fff}.company-rank-row small{color:#b7c7d9;font-size:11px}.ranking-link{display:block;text-align:center;margin-top:auto;padding:11px 12px;border:1px solid rgba(250,204,21,.42);border-radius:10px;color:#facc15;text-transform:uppercase;font-weight:900;text-decoration:none;font-size:12px;background:rgba(250,204,21,.05)}.landing-tickers{margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.ticker-box{padding:18px 18px 16px;border-right:1px solid rgba(255,255,255,.08)}.ticker-box:last-child{border-right:0}.landing-tickers span{display:block;color:#aebed0;text-transform:uppercase;font-size:12px}.landing-tickers b{font-size:18px;display:block;margin:6px 0 5px}.landing-tickers small{font-weight:900}
.landing-feature-section{border:1px solid rgba(148,163,184,.18);border-radius:12px;padding:30px 34px;background:linear-gradient(180deg,rgba(15,23,42,.58),rgba(8,16,29,.78));box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}.landing-section-head h2{margin:0;font-size:34px;letter-spacing:-.02em}.landing-section-head h2 span{color:#facc15}.landing-section-head p{margin:8px 0 22px;color:#aebed0}.landing-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.landing-feature-grid article{min-height:150px;padding:22px;border-radius:12px;background:linear-gradient(145deg,rgba(14,27,45,.93),rgba(5,14,26,.9));border:1px solid rgba(148,163,184,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}.landing-feature-grid i{font-size:34px;font-style:normal;color:#facc15;filter:drop-shadow(0 8px 18px rgba(250,204,21,.25));}.landing-feature-grid h3{font-size:16px;margin:12px 0 8px}.landing-feature-grid p{font-size:13px;color:#b9c8da;line-height:1.5;margin:0}
.landing-auth-section{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(360px,1.15fr) minmax(340px,1fr);gap:16px;margin:30px 0 18px;}.landing-form-card,.landing-guide-card{border:1px solid rgba(250,204,21,.3);border-radius:14px;background:linear-gradient(145deg,rgba(10,20,34,.96),rgba(5,13,24,.96));padding:26px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}.landing-form-card h3,.landing-guide-card h3{margin:0 0 18px;font-size:22px}.landing-form-card label{display:block;color:#cbd5e1;font-size:13px;font-weight:700;margin-bottom:13px}.landing-form-card input,.landing-form-card select{width:100%;margin-top:7px;padding:13px 14px;border-radius:9px;border:1px solid rgba(148,163,184,.25);background:rgba(15,23,42,.82);color:#e5edf7;outline:none}.landing-form-card input:focus,.landing-form-card select:focus{border-color:rgba(250,204,21,.7);box-shadow:0 0 0 3px rgba(250,204,21,.12)}.landing-register-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 12px}.landing-register-grid .full{grid-column:1/-1}.landing-submit{width:100%;border:0;border-radius:9px;padding:14px 16px;background:linear-gradient(180deg,#ffe173,#e8a819);color:#111827;text-transform:uppercase;font-weight:950;cursor:pointer;box-shadow:0 14px 34px rgba(250,204,21,.2)}.landing-small-link{display:block;text-align:center;margin-top:14px;color:#facc15;text-decoration:none}.landing-guide-card{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 150px;gap:16px;align-items:center;background:radial-gradient(circle at 88% 42%,rgba(250,204,21,.12),transparent 34%),linear-gradient(145deg,rgba(15,23,42,.97),rgba(30,24,11,.8));}.landing-guide-card span{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(250,204,21,.13);color:#facc15;font-size:11px;text-transform:uppercase;font-weight:950}.landing-guide-card p{color:#b9c8da}.landing-guide-card ul{list-style:none;padding:0;margin:14px 0 18px;color:#dce8f6;line-height:1.85;font-size:13px}.landing-guide-card li:before{content:"✓";color:#facc15;margin-right:8px}.landing-guide-card img{width:100%;border-radius:14px;transform:rotate(7deg);box-shadow:0 22px 46px rgba(0,0,0,.4)}.landing-guide-btn{display:inline-flex;padding:12px 16px;border-radius:8px;border:1px solid rgba(250,204,21,.45);color:#facc15;text-decoration:none;text-transform:uppercase;font-weight:900;font-size:12px}.landing-proof-row{display:grid;grid-template-columns:repeat(5,1fr);gap:0;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:rgba(15,23,42,.58);margin:12px 0 26px;overflow:hidden}.landing-proof-row div{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:18px 22px;border-right:1px solid rgba(255,255,255,.08);align-items:center}.landing-proof-row div:last-child{border-right:0}.landing-proof-row b{color:#facc15;font-size:18px}.landing-proof-row span{grid-column:2;color:#b6c7dc;font-size:12px;line-height:1.35}.landing-footer{position:relative;z-index:2;max-width:1440px;margin:0 auto;padding:18px 34px 28px;border-top:1px solid rgba(148,163,184,.16);display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center}.landing-footer-links{display:flex;justify-content:center;gap:34px;flex-wrap:wrap}.landing-footer-links a{color:#b8c7d9;text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.05em}.landing-footer-links a:hover{color:#facc15}.landing-socials{display:flex;gap:10px;justify-content:flex-end}.landing-socials a{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(148,163,184,.12);border:1px solid rgba(148,163,184,.18);color:#e5edf7;text-decoration:none;font-weight:900}.landing-socials a:hover{border-color:rgba(250,204,21,.6);color:#facc15;transform:translateY(-1px)}.landing-footer p{grid-column:1/-1;text-align:center;color:#738399;font-size:12px;margin:0}
.landing-social-admin-list{display:grid;gap:12px}.landing-social-admin-row{display:grid;grid-template-columns:110px 130px minmax(140px,1fr) 90px minmax(220px,2fr) 90px;gap:10px;align-items:end;padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:rgba(15,23,42,.45)}.landing-social-admin-row label{display:block}.landing-social-admin-row input,.landing-social-admin-row select{width:100%;padding:10px;border-radius:10px;border:1px solid rgba(148,163,184,.22);background:rgba(15,23,42,.8);color:#e5edf7}.landing-social-admin-row .wide{min-width:0}
@media(max-width:1180px){.landing-hero{grid-template-columns:1fr}.landing-dashboard{min-height:520px}.landing-dashboard-grid{grid-template-columns:1fr}.dashboard-left-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto}.active-companies-card{min-height:auto}.landing-feature-grid{grid-template-columns:repeat(2,1fr)}.landing-auth-section{grid-template-columns:1fr}.landing-proof-row{grid-template-columns:repeat(2,1fr)}.landing-footer{grid-template-columns:1fr;text-align:center}.landing-brand.small,.landing-socials{justify-content:center}.landing-social-admin-row{grid-template-columns:1fr 1fr}.landing-social-admin-row .wide{grid-column:1/-1}}
@media(max-width:720px){.landing-nav{padding:16px;align-items:flex-start;flex-direction:column}.landing-actions{justify-content:flex-start}.landing-main{padding:18px 14px}.landing-copy h1{font-size:44px}.landing-mini-features{grid-template-columns:repeat(2,1fr)}.landing-dashboard{padding:14px 14px 14px;display:flex;flex-direction:column;gap:0}.landing-city-img{opacity:.24}.landing-dashboard-grid,.dashboard-left-stack{grid-template-columns:1fr;grid-template-rows:auto}.landing-tickers{grid-template-columns:repeat(2,1fr)}.ticker-box:nth-child(2n){border-right:0}.landing-feature-section{padding:22px 16px}.landing-feature-grid{grid-template-columns:1fr}.landing-register-grid{grid-template-columns:1fr}.landing-guide-card{grid-template-columns:1fr}.landing-guide-card img{max-width:170px}.landing-proof-row{grid-template-columns:1fr}.landing-proof-row div{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}}

/* Premium oyuncu rehberi / SEO sistemi */
.guide-body{margin:0;background:radial-gradient(circle at top left,rgba(250,204,21,.13),transparent 32%),radial-gradient(circle at 80% 10%,rgba(34,211,238,.10),transparent 28%),#050b16;color:#e5edf7;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.guide-shell{max-width:1240px;margin:0 auto;padding:22px}.guide-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.guide-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);gap:28px;align-items:center;padding:34px;border:1px solid rgba(250,204,21,.23);border-radius:22px;background:linear-gradient(145deg,rgba(15,23,42,.82),rgba(2,8,23,.94));box-shadow:0 30px 90px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05);overflow:hidden;position:relative}.guide-hero:before{content:"";position:absolute;inset:auto -120px -180px auto;width:420px;height:420px;border-radius:50%;background:rgba(250,204,21,.08);filter:blur(18px)}.guide-hero-copy,.guide-hero-visual{position:relative;z-index:1}.guide-hero-copy h1{font-size:clamp(42px,6vw,72px);line-height:.95;margin:12px 0 18px;color:#fff;letter-spacing:-.04em}.guide-hero-copy p{font-size:18px;line-height:1.72;color:#cbd5e1;max-width:760px}.guide-mini{margin-top:24px}.guide-hero-visual img{width:100%;border-radius:18px;border:1px solid rgba(250,204,21,.20);box-shadow:0 24px 70px rgba(0,0,0,.45)}.guide-breadcrumbs{display:flex;gap:10px;align-items:center;margin:20px 0;padding:14px 18px;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:rgba(15,23,42,.72);color:#94a3b8}.guide-breadcrumbs a{color:#facc15;text-decoration:none}.guide-breadcrumbs strong{color:#e5edf7}.guide-intro-block,.guide-article,.guide-system-section,.guide-seo-cluster{margin-top:24px;padding:28px;border:1px solid rgba(148,163,184,.16);border-radius:20px;background:rgba(9,20,35,.78);box-shadow:0 20px 60px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.04)}.guide-intro-block h2,.guide-article h2,.guide-seo-cluster h2{margin:0 0 14px;color:#fff;font-size:30px}.guide-intro-block p,.guide-article p,.guide-seo-cluster p{color:#cbd5e1;line-height:1.85;font-size:17px}.guide-article-image{width:100%;max-height:430px;object-fit:cover;border-radius:18px;border:1px solid rgba(250,204,21,.20);margin-bottom:24px}.guide-article section{padding:22px 0;border-bottom:1px solid rgba(255,255,255,.08)}.guide-article section:last-of-type{border-bottom:0}.guide-tips{margin-top:24px;padding:22px;border-radius:16px;background:linear-gradient(135deg,rgba(250,204,21,.10),rgba(34,211,238,.06));border:1px solid rgba(250,204,21,.18)}.guide-tips h3{margin:0 0 12px;color:#facc15}.guide-tips ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}.guide-tips li{padding:12px 14px;border-radius:12px;background:rgba(2,8,23,.45);color:#e5edf7}.guide-tips li:before{content:"✓";color:#22c55e;font-weight:900;margin-right:8px}.guide-cta-panel{margin-top:24px;padding:24px;border-radius:18px;background:linear-gradient(135deg,rgba(250,204,21,.12),rgba(15,23,42,.88));border:1px solid rgba(250,204,21,.25)}.guide-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.guide-system-card{display:block;overflow:hidden;padding:0 0 18px;border-radius:18px;border:1px solid rgba(148,163,184,.16);background:rgba(2,8,23,.46);text-decoration:none;color:#e5edf7;transition:.18s transform,.18s border-color,.18s box-shadow}.guide-system-card:hover{transform:translateY(-3px);border-color:rgba(250,204,21,.40);box-shadow:0 18px 46px rgba(0,0,0,.35)}.guide-system-card img{width:100%;height:150px;object-fit:cover;display:block;border-bottom:1px solid rgba(255,255,255,.08)}.guide-system-card h3{font-size:17px;margin:16px 16px 8px;color:#fff}.guide-system-card p{margin:0 16px 14px;color:#aebed0;line-height:1.55;font-size:14px}.guide-system-card span{display:inline-block;margin:0 16px;color:#facc15;font-weight:800}.guide-link-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.guide-link-row a{padding:12px 15px;border-radius:999px;text-decoration:none;color:#facc15;background:rgba(250,204,21,.08);border:1px solid rgba(250,204,21,.22);font-weight:800}.guide-footer{margin-top:26px}.landing-guide-system-preview{position:relative;overflow:hidden;margin:26px 0;padding:30px;border:1px solid rgba(250,204,21,.18);border-radius:24px;background:linear-gradient(145deg,rgba(15,23,42,.80),rgba(2,8,23,.94));box-shadow:0 26px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04)}.landing-guide-system-preview:before{content:"";position:absolute;right:-90px;top:-110px;width:280px;height:280px;border-radius:50%;background:rgba(250,204,21,.08);filter:blur(16px)}.landing-guide-system-preview:after{content:"";position:absolute;left:-80px;bottom:-120px;width:220px;height:220px;border-radius:50%;background:rgba(34,211,238,.06);filter:blur(18px)}.landing-guide-system-preview>*{position:relative;z-index:1}.landing-guide-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.landing-guide-preview-grid a{display:flex;flex-direction:column;min-height:250px;text-decoration:none;color:#e5edf7;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03));border:1px solid rgba(148,163,184,.14);border-radius:18px;overflow:hidden;box-shadow:0 18px 44px rgba(0,0,0,.24);transition:.18s transform,.18s border-color,.18s box-shadow}.landing-guide-preview-grid a:hover{transform:translateY(-4px);border-color:rgba(250,204,21,.34);box-shadow:0 28px 60px rgba(0,0,0,.34)}.landing-guide-preview-grid img{display:block;width:100%;height:136px;object-fit:cover;background:#08111f;border-bottom:1px solid rgba(255,255,255,.08)}.landing-guide-preview-grid strong{padding:16px 16px 8px;color:#fff;font-size:19px;line-height:1.1}.landing-guide-preview-grid span{padding:0 16px 18px;color:#aebed0;font-size:14px;line-height:1.65;flex:1}.landing-guide-preview-grid a:after{content:"Rehberi aç →";display:block;padding:0 16px 16px;color:#facc15;font-weight:900;font-size:13px}.landing-guide-preview-cta{display:flex;justify-content:center;margin-top:22px}
@media(max-width:1180px){.guide-hero{grid-template-columns:1fr}.guide-card-grid,.landing-guide-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-tips ul{grid-template-columns:1fr}.guide-nav{flex-direction:column;align-items:flex-start}}
@media(max-width:720px){.guide-shell{padding:14px}.guide-hero{padding:22px}.guide-card-grid,.landing-guide-preview-grid{grid-template-columns:1fr}.guide-hero-copy h1{font-size:42px}.guide-intro-block,.guide-article,.guide-system-section,.guide-seo-cluster{padding:20px}.landing-guide-system-preview{padding:20px}.guide-breadcrumbs{flex-wrap:wrap}}

/* === PREMIUM TYCOON THEME OVERRIDE / 2026 ===
   Görsel tema katmanı. Oyun mekaniği, API ve veri akışı değiştirilmez. */
:root{
  --bg:#030813;
  --bg2:#07111f;
  --card:#081625;
  --card2:#0b1b31;
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(250,204,21,.30);
  --text:#eef5ff;
  --muted:#9fb1c8;
  --brand:#facc15;
  --brand2:#f59e0b;
  --brand3:#fde68a;
  --accent:#22d3ee;
  --accent2:#38bdf8;
  --ok:#22c55e;
  --danger:#ef4444;
  --warn:#facc15;
  --radius:20px;
  --shadow:0 26px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
}
html,body{background:#030813;color:var(--text)}
body{
  background-image:url('premium-ui-bg.svg'), radial-gradient(circle at 72% 0%,rgba(250,204,21,.12),transparent 28%), radial-gradient(circle at 2% 55%,rgba(34,211,238,.10),transparent 24%);
  background-size:cover,auto,auto;
  background-attachment:fixed;
  letter-spacing:-.01em;
}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(3,8,19,.10),rgba(3,8,19,0) 45%,rgba(3,8,19,.18));z-index:-1}
#app{grid-template-columns:286px minmax(0,1fr);background:transparent}
.sidebar{
  background:linear-gradient(180deg,rgba(4,11,23,.94),rgba(5,14,28,.88));
  border-right:1px solid rgba(250,204,21,.18);
  box-shadow:22px 0 70px rgba(0,0,0,.28), inset -1px 0 0 rgba(255,255,255,.03);
  padding:18px 16px;
}
.sidebar-header{padding:8px 4px 14px;border-bottom:1px solid rgba(250,204,21,.10);margin-bottom:12px}
.sidebar .brand-logo.big,.brand-logo.big{filter:drop-shadow(0 0 22px rgba(250,204,21,.18));border-radius:20px}
.menu{gap:8px;padding-right:6px}
.menu-btn{
  position:relative;
  border:1px solid transparent;
  background:rgba(255,255,255,.025);
  color:#cdd9e8;
  border-radius:16px;
  min-height:50px;
  padding:13px 15px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.menu-btn:hover{background:rgba(250,204,21,.08);border-color:rgba(250,204,21,.18);color:#fff;transform:translateX(2px)}
.menu-btn.active{
  background:linear-gradient(135deg,rgba(250,204,21,.19),rgba(245,158,11,.08));
  border:1px solid rgba(250,204,21,.40);
  color:#fff;
  box-shadow:0 0 28px rgba(250,204,21,.13), inset 0 1px 0 rgba(255,255,255,.05);
}
.menu-btn.active:before{content:"";position:absolute;left:-1px;top:12px;bottom:12px;width:3px;border-radius:999px;background:linear-gradient(#fde68a,#f59e0b);box-shadow:0 0 18px rgba(250,204,21,.55)}
.menu-icon{font-size:18px;filter:drop-shadow(0 0 9px rgba(250,204,21,.18))}
.sidebar-chip,.sidebar-howto-btn,.sidebar .btn-danger.btn-block{
  border-radius:16px!important;
  border:1px solid rgba(250,204,21,.18)!important;
  background:rgba(255,255,255,.035)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.sidebar .btn-danger.btn-block{background:linear-gradient(135deg,rgba(239,68,68,.95),rgba(185,28,28,.95))!important;color:#fff!important}
.main{padding:28px;background:transparent}
.topbar{
  position:relative;
  padding:18px 20px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(9,20,35,.82),rgba(5,12,26,.76));
  box-shadow:var(--shadow);
}
.topbar h1{font-size:34px;letter-spacing:-.04em;color:#fff;text-shadow:0 0 24px rgba(250,204,21,.08)}
.topbar p{color:#a7b7cc}.top-stats{gap:12px}.top-stat{
  min-width:160px;
  border-radius:18px;
  border:1px solid rgba(250,204,21,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.top-stat span{color:#91a4bb}.top-stat strong{color:#fff;font-size:17px}.top-stat strong:first-letter{color:#facc15}
.panel-card,.auth-card,.install-card,.company-box,.inventory-card,.mission-card,.dialog-card{
  border-radius:22px;
  border:1px solid rgba(148,163,184,.14);
  background:linear-gradient(180deg,rgba(10,24,42,.82),rgba(5,13,28,.88));
  box-shadow:var(--shadow);
}
.panel-card{padding:20px}.panel-card:hover,.inventory-card:hover,.market-item:hover,.facility-item:hover,.mini-item:hover{border-color:rgba(250,204,21,.25);box-shadow:0 24px 68px rgba(0,0,0,.38),0 0 0 1px rgba(250,204,21,.04),inset 0 1px 0 rgba(255,255,255,.05)}
.panel-card.hero{background:radial-gradient(circle at 16% 0%,rgba(250,204,21,.16),transparent 34%),linear-gradient(135deg,rgba(13,31,53,.92),rgba(6,13,28,.90));border-color:rgba(250,204,21,.26)}
.panel-card h3{font-size:20px;color:#fff;letter-spacing:-.025em}.eyebrow{color:#facc15;text-shadow:0 0 18px rgba(250,204,21,.2);font-weight:900}
.btn,.subnav-btn,.landing-btn,.landing-cta,.ranking-link{transition:.18s transform,.18s box-shadow,.18s border-color,.18s background}.btn:hover,.subnav-btn:hover{transform:translateY(-1px)}
.btn-primary,.landing-submit,.landing-cta.primary,.landing-btn.gold{
  background:linear-gradient(135deg,#fde68a 0%,#facc15 42%,#f59e0b 100%)!important;
  color:#07111f!important;
  border:1px solid rgba(250,204,21,.36)!important;
  box-shadow:0 18px 42px rgba(245,158,11,.24), inset 0 1px 0 rgba(255,255,255,.35)!important;
}
.btn-secondary,.subnav-btn,.landing-btn.ghost{
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(148,163,184,.14)!important;
  color:#dce8f6!important;
}
.subnav{padding:6px;border:1px solid rgba(148,163,184,.10);background:rgba(2,8,23,.28);border-radius:999px}.subnav-btn.active{background:linear-gradient(135deg,rgba(250,204,21,.20),rgba(245,158,11,.08))!important;border-color:rgba(250,204,21,.34)!important;color:#fff!important;box-shadow:0 0 28px rgba(250,204,21,.10)}
input,select,textarea{
  background:rgba(4,12,24,.72);
  border:1px solid rgba(148,163,184,.18);
  border-radius:15px;
  color:#eef5ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
input:focus,select:focus,textarea:focus{border-color:rgba(250,204,21,.55);box-shadow:0 0 0 4px rgba(250,204,21,.08), inset 0 1px 0 rgba(255,255,255,.04)}
.stat-list>div,.mini-item,.market-item,.facility-item,.admin-user,.company-track{
  border-radius:18px;
  border:1px solid rgba(148,163,184,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.market-item,.facility-item,.mini-item{padding:14px 16px}.item-meta{color:#a8b8cc}.badge{
  border:1px solid rgba(148,163,184,.16);
  background:rgba(255,255,255,.045);
  color:#dbe7f4;
  font-weight:800;
}
.badge.ok,.up{background:rgba(34,197,94,.13);border-color:rgba(34,197,94,.26);color:#86efac!important}.badge.warn{background:rgba(250,204,21,.12);border-color:rgba(250,204,21,.28);color:#fde68a!important}.badge.danger,.down{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.28);color:#fca5a5!important}
.progress-bar{height:11px;background:rgba(2,8,23,.55);border-color:rgba(148,163,184,.14)}.progress-bar span{background:linear-gradient(90deg,#22c55e,#facc15);box-shadow:0 0 18px rgba(250,204,21,.28)}
.ticker-item{border-color:rgba(250,204,21,.13);background:rgba(255,255,255,.035);border-radius:999px}.ticker-item b{color:#facc15}.flash{border-radius:18px;background:rgba(34,211,238,.10);border-color:rgba(34,211,238,.22)}
.kv div{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06)}.kv div:last-child{border-bottom:0}.avatar-wrap{border-color:rgba(250,204,21,.25);box-shadow:0 0 28px rgba(250,204,21,.12)}
.table,.seo-table{border-radius:18px;overflow:hidden}.seo-table th,.seo-table td{border-color:rgba(148,163,184,.13)!important}.seo-table th{background:rgba(250,204,21,.10)!important;color:#fde68a!important}
.howto-card{border:1px solid rgba(250,204,21,.22)!important;background:linear-gradient(180deg,rgba(9,20,35,.96),rgba(4,10,21,.98))!important;box-shadow:0 35px 110px rgba(0,0,0,.62),0 0 0 1px rgba(250,204,21,.05)!important}.howto-head{background:linear-gradient(135deg,rgba(250,204,21,.12),rgba(34,211,238,.04))!important}.howto-tab{border-color:rgba(148,163,184,.14)!important;background:rgba(255,255,255,.04)!important}.howto-tab.active{background:linear-gradient(135deg,rgba(250,204,21,.22),rgba(245,158,11,.10))!important;border-color:rgba(250,204,21,.40)!important;color:#fff!important}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:rgba(2,8,23,.55)}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(250,204,21,.44),rgba(34,211,238,.26));border-radius:999px;border:2px solid rgba(2,8,23,.75)}
@media (max-width:1100px){#app{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.main{padding:18px}.topbar{align-items:flex-start}.subnav{border-radius:18px}}
@media (max-width:840px){.topbar h1{font-size:28px}.top-stat{min-width:unset}.panel-card{padding:16px}.main{padding:14px}}


/* ==========================================================
   PREMIUM FULL UI LAYER — dark/gold economy dashboard theme
   Visual-only layer. No gameplay/API/database rules changed.
   ========================================================== */
:root{
  --bg:#030915!important;
  --bg2:#071426!important;
  --card:#0b1729!important;
  --card2:#111c30!important;
  --line:rgba(148,163,184,.16)!important;
  --text:#ecf4ff!important;
  --muted:#9fb0c5!important;
  --brand:#facc15!important;
  --brand2:#22d3ee!important;
  --warn:#facc15!important;
  --danger:#ef4444!important;
  --ok:#22c55e!important;
  --premium-gold:#facc15;
  --premium-gold-2:#f59e0b;
  --premium-cyan:#22d3ee;
  --premium-green:#22c55e;
  --premium-purple:#8b5cf6;
  --radius:22px!important;
  --shadow:0 24px 70px rgba(0,0,0,.42)!important;
}
html,body{
  background:
    radial-gradient(circle at 10% -10%,rgba(250,204,21,.15),transparent 28%),
    radial-gradient(circle at 88% 10%,rgba(34,211,238,.12),transparent 30%),
    linear-gradient(180deg,#030915,#06101f 44%,#030914)!important;
  color:var(--text)!important;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background-image:url('premium-ui/premium-grid.svg');
  background-size:cover;
  background-position:center top;
  opacity:.72;
}
body:after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(2,8,23,.40),transparent 45%,rgba(2,8,23,.32)),
    radial-gradient(circle at 50% 0%,rgba(250,204,21,.05),transparent 55%);
}

/* App frame */
#app{
  grid-template-columns:282px minmax(0,1fr)!important;
  background:transparent!important;
}
.main{
  padding:26px!important;
  min-width:0;
}
.sidebar{
  background:linear-gradient(180deg,rgba(3,9,21,.96),rgba(5,13,26,.92))!important;
  border-right:1px solid rgba(250,204,21,.13)!important;
  box-shadow:18px 0 50px rgba(0,0,0,.30), inset -1px 0 0 rgba(255,255,255,.03)!important;
  backdrop-filter:blur(18px)!important;
}
.sidebar:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 30% 2%,rgba(250,204,21,.12),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.035),transparent 18%);
}
.sidebar>*{position:relative;z-index:1}
.sidebar-header,.brand-row,.brand-stack{
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.35));
}
.sidebar .brand-logo.big,.brand-logo,.landing-logo{
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(250,204,21,.12),rgba(34,211,238,.06))!important;
  border:1px solid rgba(250,204,21,.22)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.04),0 14px 40px rgba(250,204,21,.12)!important;
}
.menu a,.menu button,.subnav-btn,.howto-open-btn,.sidebar-chip,.sidebar .btn,.nav-link,.landing-btn{
  border-radius:16px!important;
  border:1px solid rgba(148,163,184,.13)!important;
  background:rgba(255,255,255,.035)!important;
  color:#d7e5f4!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.menu a:hover,.menu button:hover,.subnav-btn:hover,.landing-btn:hover,.howto-open-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(250,204,21,.35)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.25),0 0 22px rgba(250,204,21,.08)!important;
}
.menu a.active,.menu button.active,.subnav-btn.active,.sidebar .active{
  background:linear-gradient(135deg,rgba(250,204,21,.20),rgba(245,158,11,.08))!important;
  border-color:rgba(250,204,21,.42)!important;
  color:#fff!important;
  box-shadow:0 16px 44px rgba(250,204,21,.13),inset 0 1px 0 rgba(255,255,255,.08)!important;
}

/* Top bar / company header */
.topbar{
  padding:22px 24px!important;
  margin-bottom:22px!important;
  border:1px solid rgba(148,163,184,.14)!important;
  border-radius:26px!important;
  background:
    linear-gradient(135deg,rgba(9,20,35,.88),rgba(5,12,25,.92)),
    radial-gradient(circle at 85% 0%,rgba(250,204,21,.12),transparent 32%)!important;
  box-shadow:0 26px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04)!important;
  overflow:hidden;
  position:relative;
}
.topbar:before{
  content:"";
  position:absolute;
  right:-80px;top:-100px;
  width:330px;height:330px;border-radius:50%;
  background:rgba(250,204,21,.07);
  filter:blur(18px);
}
.topbar h1{
  color:#fff!important;
  font-size:clamp(30px,3vw,46px)!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  text-shadow:0 12px 44px rgba(250,204,21,.18)!important;
}
.topbar p,.topbar small{color:#aebdd0!important}
.top-stats,.stats-row,.finance-grid,.dashboard-grid,.grid-cards,.grid-3,.grid-2{
  gap:18px!important;
}
.top-stat,.stat-card,.finance-card,.metric-card,.mini-stat,.summary-card{
  border:1px solid rgba(148,163,184,.14)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  box-shadow:0 18px 48px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.04)!important;
  overflow:hidden;
}
.top-stat b,.stat-card b,.finance-card b,.metric-card b{
  color:#fff!important;
  font-weight:900!important;
}
.top-stat span,.stat-card span,.finance-card span,.metric-card span{color:#aebdd0!important}

/* Universal panels/cards */
.panel-card,.card,.market-item,.facility-item,.admin-user,.mini-item,.message-card,.friend-card,.profile-box,.auth-card,.install-card,.landing-form-card,.landing-guide-card,.landing-feature-section,.landing-guide-system-preview,.landing-dashboard,.landing-auth-section > *, .guide-intro-block,.guide-article,.guide-system-section,.guide-seo-cluster{
  border:1px solid rgba(148,163,184,.14)!important;
  border-radius:24px!important;
  background:
    linear-gradient(180deg,rgba(10,22,38,.88),rgba(5,13,27,.94))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.045)!important;
  backdrop-filter:blur(14px)!important;
}
.panel-card:hover,.market-item:hover,.facility-item:hover,.mini-item:hover,.guide-system-card:hover,.landing-guide-preview-grid a:hover{
  border-color:rgba(250,204,21,.30)!important;
  box-shadow:0 28px 82px rgba(0,0,0,.42),0 0 35px rgba(250,204,21,.07),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.panel-card h2,.panel-card h3,.card h3,.landing-section-head h2,.guide-system-section h2,.profile-box h3{
  color:#fff!important;
  letter-spacing:-.02em!important;
  text-shadow:0 10px 34px rgba(0,0,0,.22)!important;
}
.panel-card h3:before,.landing-section-head h2:before,.guide-system-section h2:before{
  content:"";
  display:inline-block;
  width:8px;height:22px;
  margin-right:10px;
  border-radius:999px;
  vertical-align:-4px;
  background:linear-gradient(180deg,var(--premium-gold),var(--premium-cyan));
  box-shadow:0 0 18px rgba(250,204,21,.28);
}
.panel-card p,.card p,.muted,.item-meta,.small,.desc{
  color:#aebdd0!important;
}

/* Buttons */
.btn,.action-btn,.landing-submit,.landing-guide-btn,.ranking-link,.landing-cta,.buy-btn,.sell-btn,button[type=submit]{
  border-radius:16px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease!important;
}
.btn:hover,.action-btn:hover,.landing-submit:hover,.landing-guide-btn:hover,.ranking-link:hover,.landing-cta:hover,button[type=submit]:hover{
  transform:translateY(-2px);
  filter:saturate(1.06);
}
.btn-primary,.landing-submit,.landing-cta.primary,.landing-guide-btn,.ranking-link,.buy-btn,button[type=submit]{
  background:linear-gradient(135deg,#fde68a,#facc15 45%,#f59e0b)!important;
  color:#071426!important;
  border:1px solid rgba(250,204,21,.45)!important;
  box-shadow:0 18px 42px rgba(245,158,11,.22),inset 0 1px 0 rgba(255,255,255,.32)!important;
}
.btn-secondary,.landing-cta.secondary,.action-btn{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03))!important;
  color:#e7f1ff!important;
  border:1px solid rgba(148,163,184,.15)!important;
}
.btn-danger{
  background:linear-gradient(135deg,#ef4444,#fb7185)!important;
  color:white!important;
}

/* Inputs/forms */
input,select,textarea{
  border-radius:16px!important;
  background:rgba(3,10,21,.72)!important;
  border:1px solid rgba(148,163,184,.16)!important;
  color:#ecf4ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(250,204,21,.42)!important;
  box-shadow:0 0 0 4px rgba(250,204,21,.08),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
label{color:#aebdd0!important}

/* Tables and list rows */
table,.table{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0 9px!important;
}
th,.table th{
  color:#f8fafc!important;
  background:rgba(250,204,21,.09)!important;
  border:0!important;
  padding:13px 14px!important;
}
td,.table td{
  background:rgba(255,255,255,.035)!important;
  border-top:1px solid rgba(148,163,184,.11)!important;
  border-bottom:1px solid rgba(148,163,184,.11)!important;
  padding:13px 14px!important;
}
tr td:first-child{border-left:1px solid rgba(148,163,184,.11)!important;border-radius:14px 0 0 14px!important}
tr td:last-child{border-right:1px solid rgba(148,163,184,.11)!important;border-radius:0 14px 14px 0!important}
.market-list,.mini-list,.admin-users,.mission-list,.task-list,.shop-list,.inventory-list{
  gap:12px!important;
}
.market-item,.facility-item,.mini-item,.admin-user{
  padding:16px!important;
  position:relative;
  overflow:hidden;
}
.market-item:before,.facility-item:before,.mini-item:before,.admin-user:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(250,204,21,.05),transparent 28%,rgba(34,211,238,.035));
}

/* Badges, chips, tabs */
.badge,.pill,.tag,.license-tag,.quality-badge,.status-badge,.tab-btn,.filter-chip,.category-chip{
  border-radius:999px!important;
  border:1px solid rgba(148,163,184,.15)!important;
  background:rgba(255,255,255,.05)!important;
  color:#dce9f8!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.badge.gold,.premium,.license-tag,.tag-premium,.tab-btn.active,.filter-chip.active,.category-chip.active{
  border-color:rgba(250,204,21,.38)!important;
  color:#fde68a!important;
  background:linear-gradient(135deg,rgba(250,204,21,.20),rgba(245,158,11,.08))!important;
  box-shadow:0 10px 30px rgba(250,204,21,.12),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.subnav{
  gap:10px!important;
  padding:8px!important;
  border-radius:20px!important;
  background:rgba(5,13,27,.72)!important;
  border:1px solid rgba(148,163,184,.12)!important;
}

/* Charts/progress/tickers */
.progress-bar,.meter,.bar,.stat-bar{
  height:12px!important;
  border-radius:999px!important;
  background:rgba(2,8,23,.72)!important;
  border:1px solid rgba(148,163,184,.12)!important;
  overflow:hidden;
}
.progress-bar span,.meter span,.bar span,.stat-bar span{
  background:linear-gradient(90deg,#22c55e,#facc15)!important;
  box-shadow:0 0 22px rgba(250,204,21,.28)!important;
}
.ticker,.ticker-item,.news-ticker{
  border-radius:20px!important;
  border:1px solid rgba(148,163,184,.13)!important;
  background:rgba(255,255,255,.04)!important;
}
.up,.positive,.ok{color:#22c55e!important}
.down,.negative,.danger{color:#ef4444!important}

/* Profile/company showcase */
.profile-box,.company-profile,.showcase-card,.profile-modal,.company-card{
  position:relative;
  overflow:hidden;
}
.profile-box:before,.company-profile:before,.showcase-card:before,.profile-modal:before,.company-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 16% 12%,rgba(250,204,21,.16),transparent 30%),
    radial-gradient(circle at 90% 12%,rgba(34,211,238,.09),transparent 30%);
}
.profile-box>*,
.company-profile>*,
.showcase-card>*,
.profile-modal>*,
.company-card>*{position:relative;z-index:1}
.company-name,.profile-name,.showcase-title{
  color:#fff!important;
  text-shadow:0 0 22px rgba(250,204,21,.22)!important;
}

/* Landing/guide premium */
.landing-main,.guide-shell{
  max-width:1480px!important;
}
.landing-hero{
  align-items:stretch!important;
}
.landing-copy,.landing-dashboard,.landing-feature-section,.landing-guide-system-preview{
  position:relative;
  overflow:hidden;
}
.landing-copy:after,.landing-dashboard:before,.landing-guide-system-preview:before{
  content:"";
  position:absolute;
  inset:auto -80px -120px auto;
  width:260px;height:260px;
  border-radius:50%;
  background:rgba(250,204,21,.08);
  filter:blur(18px);
  pointer-events:none;
}
.landing-feature-grid article{
  min-height:170px!important;
  border-radius:20px!important;
  border:1px solid rgba(148,163,184,.14)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  box-shadow:0 18px 50px rgba(0,0,0,.22)!important;
}
.landing-feature-grid article i{
  display:inline-grid!important;
  place-items:center!important;
  width:48px;height:48px!important;
  border-radius:16px!important;
  background:rgba(250,204,21,.11)!important;
  border:1px solid rgba(250,204,21,.20)!important;
  box-shadow:0 12px 34px rgba(250,204,21,.12)!important;
}
.landing-guide-preview-grid a,.guide-system-card{
  min-height:260px!important;
  border-color:rgba(250,204,21,.15)!important;
  background:linear-gradient(180deg,rgba(12,24,42,.88),rgba(6,14,28,.96))!important;
}
.landing-guide-preview-grid img,.guide-system-card img,.guide-article-image,.guide-hero-visual img{
  background:#071426!important;
  border-bottom:1px solid rgba(250,204,21,.13)!important;
}

/* Modal/howto */
.modal,.dialog,.popup,.howto-modal,.profile-modal-wrap{
  backdrop-filter:blur(10px)!important;
}
.howto-card,.modal-card,.dialog-card,.popup-card{
  border-radius:28px!important;
  border:1px solid rgba(250,204,21,.22)!important;
  background:linear-gradient(180deg,rgba(7,17,31,.98),rgba(3,9,20,.99))!important;
  box-shadow:0 40px 120px rgba(0,0,0,.62),0 0 60px rgba(250,204,21,.08)!important;
}
.howto-head{
  border-bottom:1px solid rgba(250,204,21,.15)!important;
}
.howto-tab{
  min-height:48px!important;
}

/* Shop/payment/admin */
.shop-card,.product-card,.payment-card,.admin-panel,.admin-card,.settings-card{
  border:1px solid rgba(148,163,184,.14)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(10,22,38,.88),rgba(5,13,27,.94))!important;
  box-shadow:0 22px 64px rgba(0,0,0,.28)!important;
}
.admin-panel h3,.admin-card h3,.shop-card h3,.product-card h3{
  color:#fff!important;
}

/* Mobile */
@media (max-width:1100px){
  #app{grid-template-columns:1fr!important}
  .sidebar{position:relative!important;height:auto!important;border-right:0!important;border-bottom:1px solid rgba(250,204,21,.13)!important}
  .main{padding:18px!important}
  .topbar{border-radius:22px!important}
}
@media (max-width:840px){
  .main{padding:14px!important}
  .panel-card,.card,.market-item,.facility-item,.admin-user,.mini-item{border-radius:18px!important;padding:14px!important}
  .topbar h1{font-size:30px!important}
  .landing-guide-preview-grid,.guide-card-grid,.landing-feature-grid{grid-template-columns:1fr!important}
}


/* Realistic local product/facility icons */
.ui-good-icon,.ui-facility-icon,.market-good-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:0 0 auto;width:26px;height:26px;border-radius:8px;overflow:hidden;background:rgba(255,255,255,.04);box-shadow:0 0 0 1px rgba(255,255,255,.06) inset,0 6px 18px rgba(0,0,0,.18)}
.ui-facility-icon{width:28px;height:28px;border-radius:9px}
.market-good-icon{width:28px;height:28px;border-radius:9px}
.ui-good-icon.small{width:18px;height:18px;border-radius:6px;box-shadow:0 0 0 1px rgba(255,255,255,.04) inset,0 3px 10px rgba(0,0,0,.16)}
.ui-good-icon img,.ui-facility-icon img,.market-good-icon img{display:block;width:100%;height:100%;object-fit:cover}
.ui-icon-fallback{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:14px;line-height:1}
.ui-good-icon.small .ui-icon-fallback{font-size:10px}
.market-item-title{gap:8px}
.facility-item strong,.market-item-title strong,.inventory-list strong,.item-grid strong,.mini-item strong{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}

/* Premium işletmeler / üretim rehberi düzeltmesi */
.premium-build-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:16px!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(11,25,44,.94),rgba(5,13,27,.96))!important;border:1px solid rgba(250,204,21,.16)!important;box-shadow:0 18px 48px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.04)!important}
.premium-build-main{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.premium-build-icon{width:58px;height:58px;flex:0 0 58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(250,204,21,.12),rgba(34,211,238,.07));border:1px solid rgba(250,204,21,.18);box-shadow:0 16px 36px rgba(0,0,0,.22)}
.premium-build-icon .ui-facility-icon{width:48px;height:48px;border-radius:15px}
.premium-build-copy{min-width:0;display:grid;gap:8px}.premium-build-copy strong{font-size:16px!important;color:#fff!important}.premium-build-meta{display:flex;flex-wrap:wrap;gap:8px}.premium-build-meta span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.045);border:1px solid rgba(148,163,184,.12);color:#aebdd0;font-size:12px;font-weight:700}.premium-build-meta .danger{color:#fca5a5;background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.22)}
#productionGuide.mini-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(330px,1fr))!important;gap:16px!important}.production-guide-card{position:relative;overflow:hidden;border-radius:24px;padding:18px;background:linear-gradient(145deg,rgba(10,22,38,.94),rgba(4,11,23,.98))!important;border:1px solid rgba(250,204,21,.16)!important;box-shadow:0 22px 62px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.045)!important}.production-guide-card:before{content:"";position:absolute;right:-70px;top:-90px;width:170px;height:170px;border-radius:50%;background:rgba(250,204,21,.08);filter:blur(18px);pointer-events:none}.production-guide-card>*{position:relative;z-index:1}.production-guide-head{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:13px;align-items:center;margin-bottom:16px}.production-guide-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(250,204,21,.13),rgba(34,211,238,.08));border:1px solid rgba(250,204,21,.18);box-shadow:0 14px 32px rgba(0,0,0,.22)}.production-guide-icon .ui-facility-icon{width:44px;height:44px;border-radius:15px}.production-guide-title{min-width:0;display:grid;gap:4px}.production-guide-title strong{color:#fff;font-size:16px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.production-guide-title span{color:#9fb0c5;font-size:12px}.production-tier-badge{text-transform:uppercase;color:#fde68a!important;border-color:rgba(250,204,21,.30)!important;background:rgba(250,204,21,.10)!important}.production-flow-grid{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);gap:10px;align-items:stretch}.production-flow-box{padding:13px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid rgba(148,163,184,.12);min-width:0}.production-flow-box.output{border-color:rgba(34,211,238,.16);background:rgba(34,211,238,.035)}.production-flow-box small{display:block;margin-bottom:9px;color:#facc15;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.production-pill-row{display:flex;flex-wrap:wrap;gap:7px}.production-product-pill,.production-empty-pill{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 8px;border-radius:999px;background:rgba(2,8,23,.42);border:1px solid rgba(148,163,184,.12);color:#dbeafe;font-size:12px}.production-product-pill b{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.production-product-pill em{font-style:normal;color:#9fb0c5;font-size:11px}.production-empty-pill{color:#94a3b8}.production-flow-arrow{display:grid;place-items:center;color:#facc15;font-size:24px;font-weight:900;text-shadow:0 0 18px rgba(250,204,21,.35)}
@media(max-width:760px){.premium-build-card{align-items:flex-start!important;flex-direction:column!important}.production-flow-grid{grid-template-columns:1fr}.production-flow-arrow{transform:rotate(90deg);height:28px}.production-guide-head{grid-template-columns:48px minmax(0,1fr)}.production-tier-badge{grid-column:1/-1;justify-self:start}}


/* İşletmeler / Üretim Rehberi - göz yormayan premium satır düzeni */
#productionGuide.mini-list{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
.production-guide-card{display:none!important}
.production-guide-row{
  display:grid!important;
  grid-template-columns:minmax(220px,.78fr) minmax(0,1.25fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  padding:12px 14px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,rgba(10,22,38,.86),rgba(4,11,23,.94))!important;
  border:1px solid rgba(148,163,184,.13)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.production-guide-row:hover{
  border-color:rgba(250,204,21,.28)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.30),0 0 24px rgba(250,204,21,.06)!important;
}
.production-row-main{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
}
.production-guide-row .production-guide-icon{
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,rgba(250,204,21,.11),rgba(34,211,238,.07))!important;
  border:1px solid rgba(250,204,21,.16)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.20)!important;
}
.production-guide-row .production-guide-icon .ui-facility-icon{
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
}
.production-guide-row .production-guide-title{
  min-width:0!important;
  display:grid!important;
  gap:4px!important;
}
.production-guide-row .production-guide-title strong{
  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.production-guide-row .production-guide-title span{
  color:#9fb0c5!important;
  font-size:11px!important;
}
.production-row-flow{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
}
.production-flow-box.compact{
  padding:9px 10px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.032)!important;
  border:1px solid rgba(148,163,184,.10)!important;
  min-width:0!important;
}
.production-flow-box.compact.output{
  border-color:rgba(34,211,238,.14)!important;
  background:rgba(34,211,238,.032)!important;
}
.production-flow-box.compact small{
  display:block!important;
  margin-bottom:6px!important;
  color:#facc15!important;
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  font-weight:900!important;
}
.production-guide-row .production-pill-row{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  overflow:hidden!important;
}
.production-guide-row .production-product-pill,
.production-guide-row .production-empty-pill{
  max-width:148px!important;
  padding:5px 7px!important;
  border-radius:999px!important;
  background:rgba(2,8,23,.42)!important;
  border:1px solid rgba(148,163,184,.10)!important;
  color:#dbeafe!important;
  font-size:11px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
.production-guide-row .production-product-pill b{
  font-size:11px!important;
  max-width:82px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.production-guide-row .production-product-pill em{
  font-size:10px!important;
  color:#9fb0c5!important;
}
.production-guide-row .production-flow-arrow{
  display:grid!important;
  place-items:center!important;
  color:#facc15!important;
  font-size:18px!important;
  font-weight:900!important;
  text-shadow:0 0 14px rgba(250,204,21,.28)!important;
}
.production-guide-row .production-tier-badge{
  justify-self:end!important;
  text-transform:uppercase!important;
  color:#fde68a!important;
  border-color:rgba(250,204,21,.30)!important;
  background:rgba(250,204,21,.10)!important;
  font-size:11px!important;
}
@media(max-width:980px){
  .production-guide-row{grid-template-columns:1fr!important;align-items:start!important}
  .production-row-flow{grid-template-columns:1fr!important}
  .production-guide-row .production-flow-arrow{transform:rotate(90deg);height:20px}
  .production-guide-row .production-tier-badge{justify-self:start!important}
  .production-guide-row .production-pill-row{flex-wrap:wrap!important}
}


/* Premium local menu icons */
.menu-icon{
  width:30px!important;height:30px!important;display:inline-grid!important;place-items:center!important;
  border-radius:10px!important;overflow:hidden!important;flex:0 0 30px!important;
  background:rgba(255,255,255,.04)!important;border:1px solid rgba(250,204,21,.12)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
}
.menu-icon img,.subnav-icon-img,.inline-menu-icon{
  display:block;width:100%;height:100%;object-fit:cover;
}
.subnav-btn{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
}
.subnav-icon-img{
  width:22px!important;height:22px!important;border-radius:7px!important;flex:0 0 22px!important;
  background:rgba(255,255,255,.04)!important;border:1px solid rgba(250,204,21,.10)!important;
}
.inline-menu-icon{
  display:inline-block!important;width:18px!important;height:18px!important;border-radius:6px!important;vertical-align:-4px!important;margin-right:5px!important;
}


/* Kapitalist Shop kozmetik ürünleri - premium tema */
.store-category-column.cosmetic{
  border-color:rgba(250,204,21,.24)!important;
  background:
    radial-gradient(circle at 18% 0%,rgba(250,204,21,.10),transparent 34%),
    radial-gradient(circle at 90% 12%,rgba(34,211,238,.09),transparent 34%),
    linear-gradient(180deg,rgba(10,22,38,.92),rgba(5,13,27,.97))!important;
}
.store-category-column.cosmetic .store-category-head{
  border-bottom:1px solid rgba(250,204,21,.16)!important;
}
.store-cosmetic-premium-item{
  position:relative!important;
  overflow:hidden!important;
  border-color:rgba(250,204,21,.24)!important;
  background:
    radial-gradient(circle at 0% 0%,rgba(250,204,21,.13),transparent 36%),
    linear-gradient(135deg,rgba(13,27,46,.94),rgba(5,13,27,.98))!important;
}
.store-cosmetic-premium-item:before{
  content:"";
  position:absolute;
  right:-65px;
  top:-78px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(250,204,21,.10);
  filter:blur(16px);
  pointer-events:none;
}
.store-cosmetic-premium-item:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(250,204,21,.05),transparent 42%,rgba(34,211,238,.04));
}
.store-cosmetic-premium-item > *{position:relative;z-index:1}
.store-cosmetic-premium-item .store-list-like-main{
  align-items:flex-start!important;
}
.store-cosmetic-premium-item .store-list-like-icon{
  width:64px!important;
  height:64px!important;
  flex:0 0 64px!important;
  border-radius:20px!important;
  padding:6px!important;
  background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(34,211,238,.08))!important;
  border:1px solid rgba(250,204,21,.26)!important;
  box-shadow:0 16px 44px rgba(0,0,0,.26),0 0 24px rgba(250,204,21,.10)!important;
}
.store-cosmetic-visual-icon{
  width:52px!important;
  height:52px!important;
  border-radius:16px!important;
  display:inline-flex!important;
  overflow:hidden!important;
  background:rgba(2,8,23,.48)!important;
}
.store-cosmetic-visual-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.store-cosmetic-preview{
  margin-top:10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(250,204,21,.18);
  background:linear-gradient(135deg,rgba(250,204,21,.08),rgba(34,211,238,.035));
  display:grid;
  gap:3px;
}
.store-cosmetic-preview span{
  color:#facc15;
  font-size:10px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.store-cosmetic-preview strong{
  color:#fff!important;
  font-size:13px!important;
}
.store-cosmetic-preview em{
  color:#9fb0c5;
  font-style:normal;
  font-size:11px;
}
.store-cosmetic-premium-item .store-list-like-price{
  background:linear-gradient(135deg,#fde68a,#facc15,#f59e0b)!important;
  color:#071426!important;
  border-color:rgba(250,204,21,.42)!important;
  box-shadow:0 12px 28px rgba(250,204,21,.16)!important;
}
.store-owned-item.owned-cosmetic{
  border-color:rgba(250,204,21,.22)!important;
  background:linear-gradient(135deg,rgba(250,204,21,.08),rgba(34,211,238,.035))!important;
}
.store-owned-cosmetic-icon{
  width:28px!important;
  height:28px!important;
  border-radius:9px!important;
  display:inline-flex!important;
  overflow:hidden!important;
  vertical-align:middle!important;
  margin-right:6px!important;
}
.store-owned-cosmetic-icon img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}


/* Admin işletme ayarları - ikonlu premium liste düzeltmesi */
.admin-facility-settings-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:16px;
  margin-bottom:12px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(45,212,191,.08),rgba(250,204,21,.05));
  border:1px solid rgba(45,212,191,.18);
  box-shadow:0 16px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);
}
.admin-facility-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(380px,.52fr)!important;
  gap:16px!important;
  align-items:stretch!important;
  padding:14px!important;
  margin-bottom:10px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,rgba(10,22,38,.88),rgba(5,13,27,.96))!important;
  border:1px solid rgba(148,163,184,.13)!important;
  box-shadow:0 14px 38px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.admin-facility-row.off{opacity:.74;border-color:rgba(239,68,68,.22)!important}
.admin-facility-info{display:grid;gap:10px;min-width:0}
.admin-facility-title{display:flex;align-items:center;gap:12px;min-width:0}
.admin-facility-title > .ui-facility-icon{width:44px!important;height:44px!important;border-radius:14px!important;flex:0 0 44px!important}
.admin-facility-title strong{color:#fff!important;font-size:15px!important}
.admin-facility-flow{
  display:grid;
  grid-template-columns:minmax(0,1fr) 16px minmax(0,.96fr);
  gap:6px;
  align-items:center;
}
.admin-facility-flow-line{
  min-width:0;
  padding:8px 9px;
  border-radius:14px;
  background:rgba(255,255,255,.032);
  border:1px solid rgba(148,163,184,.10);
}
.admin-facility-flow-line.output{
  background:rgba(34,211,238,.032);
  border-color:rgba(34,211,238,.14);
}
.admin-facility-flow-line small{
  display:block;
  margin-bottom:6px;
  color:#facc15;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.admin-facility-flow-arrow{
  display:grid;
  place-items:center;
  color:#facc15;
  font-weight:900;
  font-size:18px;
}
.admin-facility-chip-row{display:flex;gap:5px;flex-wrap:wrap}
.admin-facility-product-chip,.admin-facility-empty{
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:132px;
  padding:4px 6px;
  border-radius:999px;
  background:rgba(2,8,23,.42);
  border:1px solid rgba(148,163,184,.10);
  color:#dbeafe;
  font-size:11px;
  white-space:nowrap;
}
.admin-facility-product-chip b{
  max-width:70px;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:10px;
}
.admin-facility-product-chip em{
  color:#9fb0c5;
  font-size:9px;
  font-style:normal;
}
.admin-facility-empty{color:#94a3b8}
.admin-facility-controls{
  display:grid!important;
  grid-template-columns:minmax(130px,.7fr) minmax(150px,1fr) auto!important;
  gap:10px!important;
  align-items:end!important;
}
.admin-facility-controls label{display:grid!important;gap:6px!important}
.admin-facility-controls label span{
  font-size:11px!important;
  color:#94a3b8!important;
  font-weight:800!important;
}
.admin-facility-controls select,
.admin-facility-controls input{
  width:100%!important;
  padding:10px!important;
  min-height:42px!important;
  border-radius:12px!important;
  background:rgba(10,25,45,.80)!important;
  border:1px solid rgba(168,191,215,.20)!important;
  color:#e2e8f0!important;
}
.admin-facility-controls input:disabled{
  background:rgba(10,25,45,.35)!important;
  color:#7a8fa8!important;
}
.admin-facility-controls button{height:42px!important}
@media(max-width:1050px){
  .admin-facility-row{grid-template-columns:1fr!important}
  .admin-facility-controls{grid-template-columns:1fr!important}
}
@media(max-width:720px){
  .admin-facility-flow{grid-template-columns:1fr}
  .admin-facility-flow-arrow{transform:rotate(90deg);height:18px}
  .admin-facility-settings-head{align-items:flex-start;flex-direction:column}
}


/* Çoklu dil altyapısı duruyor; görünür dil değiştirme tuşları geçici olarak kapalı */
.lang-selector,
.lang-selector-header,
.lang-selector-sidebar,
.lang-selector-auth,
.seo-lang-selector{
  display:none!important;
}


/* Sidebar logo frame symmetry fix */
.sidebar .sidebar-header{
  justify-content:center!important;
  align-items:center!important;
  padding:12px 6px 16px!important;
  margin-bottom:14px!important;
}
.sidebar .brand-wrap.brand-logo-only{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  padding:16px 14px!important;
  border-radius:26px!important;
  border:1px solid rgba(250,204,21,.22)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015)), radial-gradient(circle at 50% 0%,rgba(250,204,21,.12),transparent 48%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px rgba(0,0,0,.22), 0 0 0 1px rgba(250,204,21,.05)!important;
  position:relative;
  overflow:hidden;
}
.sidebar .brand-wrap.brand-logo-only::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:20px;
  border:1px solid rgba(250,204,21,.10);
  pointer-events:none;
}
.sidebar .brand-wrap.brand-logo-only::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(250,204,21,.35),transparent);
  pointer-events:none;
}
.sidebar .brand-logo-only .brand-logo.big{
  width:160px!important;
  height:160px!important;
  min-width:160px!important;
  min-height:160px!important;
  max-width:160px!important;
  max-height:160px!important;
  display:block!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center!important;
  border:none!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 0 24px rgba(250,204,21,.16))!important;
}


/* Premium company name + logo symmetry refinement */
.sidebar .sidebar-header{
  padding:14px 8px 18px!important;
}
.sidebar .brand-wrap.brand-logo-only{
  padding:14px!important;
  border-radius:28px!important;
}
.sidebar .brand-logo-stage{
  width:184px;
  height:184px;
  display:grid;
  place-items:center;
  margin:0 auto;
  position:relative;
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 18%,rgba(250,204,21,.14),transparent 48%),
    linear-gradient(180deg,rgba(12,24,42,.56),rgba(6,14,28,.26));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.sidebar .brand-logo-stage::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:20px;
  border:1px solid rgba(250,204,21,.14);
  pointer-events:none;
}
.sidebar .brand-logo-stage::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  box-shadow:0 0 0 1px rgba(250,204,21,.05), inset 0 0 46px rgba(250,204,21,.03);
  pointer-events:none;
}
.sidebar .brand-logo-only .brand-logo.big{
  width:146px!important;
  height:146px!important;
  min-width:146px!important;
  min-height:146px!important;
  max-width:146px!important;
  max-height:146px!important;
  object-fit:contain!important;
  object-position:50% 51%!important;
  transform:translateY(2px);
  position:relative;
  z-index:1;
}
.topbar .header-left.company-identity{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  position:relative;
  z-index:1;
}
.topbar .header-left.company-identity::after{
  content:"";
  width:118px;
  max-width:100%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(250,204,21,.95),rgba(34,211,238,.28),transparent 92%);
  box-shadow:0 0 24px rgba(250,204,21,.18);
}
.topbar .company-title-premium{
  margin:0!important;
  display:block;
  max-width:100%;
  font-size:clamp(34px,3.45vw,52px)!important;
  font-weight:950!important;
  line-height:1.02!important;
  letter-spacing:-.05em!important;
  color:#f8fbff!important;
  text-shadow:0 18px 48px rgba(0,0,0,.42),0 0 22px rgba(250,204,21,.10)!important;
  text-wrap:balance;
}
.topbar .header-left.company-identity p{
  margin:0!important;
  font-size:14px!important;
  letter-spacing:.08em!important;
  text-transform:uppercase;
  color:#9fb3ca!important;
}
@media (max-width:840px){
  .sidebar .brand-logo-stage{width:166px;height:166px}
  .sidebar .brand-logo-only .brand-logo.big{
    width:132px!important;
    height:132px!important;
    min-width:132px!important;
    min-height:132px!important;
    max-width:132px!important;
    max-height:132px!important;
  }
  .topbar .company-title-premium{font-size:clamp(28px,8vw,38px)!important}
}


/* Final logo centering + company title scale fix */
.sidebar .brand-wrap.brand-logo-only{
  padding:12px!important;
}
.sidebar .brand-logo-stage{
  width:180px!important;
  height:180px!important;
  margin:0 auto!important;
  display:grid!important;
  place-items:center!important;
}
.sidebar .brand-logo-stage::before{
  inset:11px!important;
}
.sidebar .brand-logo-only .brand-logo.big{
  width:138px!important;
  height:138px!important;
  min-width:138px!important;
  min-height:138px!important;
  max-width:138px!important;
  max-height:138px!important;
  display:block!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
.topbar .company-title-premium{
  font-size:clamp(24px,2.4vw,36px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
.topbar .header-left.company-identity{
  gap:6px!important;
}
.topbar .header-left.company-identity::after{
  width:92px!important;
}
@media (max-width:840px){
  .sidebar .brand-logo-stage{width:158px!important;height:158px!important;}
  .sidebar .brand-logo-only .brand-logo.big{
    width:124px!important;height:124px!important;min-width:124px!important;min-height:124px!important;max-width:124px!important;max-height:124px!important;
  }
  .topbar .company-title-premium{font-size:clamp(22px,6vw,30px)!important;}
}


/* Sidebar logo fill fix + premium accent border visibility */
.sidebar .sidebar-header{padding:10px 0 14px!important;margin-bottom:10px!important}
.sidebar .brand-wrap.brand-logo-only{padding:0!important;border:none!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.sidebar .brand-wrap.brand-logo-only::before,.sidebar .brand-wrap.brand-logo-only::after,.sidebar .brand-logo-stage::before,.sidebar .brand-logo-stage::after{display:none!important;content:none!important}
.sidebar .brand-logo-stage{width:194px!important;height:194px!important;padding:0!important;border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:grid!important;place-items:center!important}
.sidebar .brand-logo-only .brand-logo.big{width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:100%!important;max-height:100%!important;display:block!important;object-fit:contain!important;object-position:center center!important;margin:0 auto!important;transform:none!important;filter:drop-shadow(0 12px 34px rgba(0,0,0,.26)) drop-shadow(0 0 20px rgba(250,204,21,.12))!important}
@media (max-width:840px){.sidebar .brand-logo-stage{width:164px!important;height:164px!important}}

/* Premium dashboard theme refresh */
:root{
  --premium-gold:#f4c44f;
  --premium-gold-2:#ffdd7a;
  --premium-gold-deep:#93640f;
  --premium-ink:#071426;
  --premium-card:#09172c;
  --premium-card-2:#0b1d35;
  --premium-line:rgba(244,196,79,.16);
  --premium-cyan:#30d5e7;
}
body{background:radial-gradient(circle at 18% 12%, rgba(244,196,79,.08), transparent 22%),radial-gradient(circle at 88% 5%, rgba(48,213,231,.08), transparent 16%),linear-gradient(180deg,#050d18,#071221 48%,#06111f 100%);}
#app{grid-template-columns:260px 1fr;background:transparent}
.sidebar{padding:14px 14px 16px;background:linear-gradient(180deg,rgba(4,11,21,.98),rgba(5,14,26,.98));border-right:1px solid rgba(244,196,79,.12);box-shadow:inset -1px 0 0 rgba(255,255,255,.03);}
.sidebar-header{display:grid;justify-items:center;gap:6px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid rgba(244,196,79,.12)}
.sidebar-brand-copy{text-align:center;display:grid;gap:2px}
.sidebar-brand-copy strong{font-size:16px;letter-spacing:.12em;color:#f1d38b}
.sidebar-brand-copy span{font-size:11px;letter-spacing:.42em;color:#c58f1b;margin-left:.42em}
.menu{gap:8px;padding-right:2px}
.menu-btn{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.015));border:1px solid rgba(156,174,204,.10);border-radius:16px;padding:14px 14px;min-height:54px;color:#ecf3ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.menu-btn .menu-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05)}
.menu-btn img{width:17px;height:17px;opacity:.92}
.menu-btn:hover,.menu-btn.active{background:linear-gradient(90deg,rgba(111,78,12,.48),rgba(244,196,79,.16));border-color:rgba(244,196,79,.42);box-shadow:0 0 0 1px rgba(244,196,79,.18) inset,0 10px 24px rgba(0,0,0,.16),0 0 20px rgba(244,196,79,.08)}
.sidebar-foot{border-top:1px solid rgba(244,196,79,.12);gap:12px;padding-top:14px;background:linear-gradient(180deg,rgba(8,16,28,0),rgba(5,14,26,.92) 18%,rgba(5,14,26,.99))}
.sidebar-profile-card{padding:14px;border-radius:20px;border:1px solid rgba(244,196,79,.22);background:linear-gradient(180deg,rgba(15,25,42,.96),rgba(8,18,34,.98));box-shadow:0 18px 42px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.03)}
.sidebar-profile-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}.sidebar-profile-emblem{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;font-size:24px;color:#ffe08a;background:radial-gradient(circle at 35% 30%, rgba(255,225,138,.42), rgba(142,99,13,.26));border:1px solid rgba(244,196,79,.34);box-shadow:0 0 20px rgba(244,196,79,.12)}
.sidebar-profile-top strong{display:block;font-size:15px;line-height:1.2;color:#fff}.sidebar-profile-role{font-size:12px;color:#f1d38b;margin-top:3px}
.sidebar-level-row{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#c6d4e6;margin-bottom:6px}
.sidebar-level-bar{height:8px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(244,196,79,.12);overflow:hidden;margin-bottom:12px}.sidebar-level-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--premium-gold),#ffdf84)}
.sidebar-balance-stack{display:grid;gap:8px;margin-bottom:12px}.sidebar-balance-chip{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(156,174,204,.12)}.sidebar-balance-chip span{font-size:12px;color:#9db2cc}.sidebar-balance-chip strong{font-size:13px;color:#fff}
.sidebar-buy-btn{border-radius:14px!important;background:linear-gradient(135deg,#765008,#f4c44f)!important;color:#fff5d0!important;box-shadow:0 12px 24px rgba(244,196,79,.12)!important}
.sidebar-chip{background:rgba(255,255,255,.035);border:1px solid rgba(156,174,204,.14);color:#ecf4ff;border-radius:14px}
.sidebar-howto-btn{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015))!important;border:1px solid rgba(156,174,204,.14)!important;color:#edf4ff!important}
.sidebar .btn-danger.btn-block{background:linear-gradient(135deg,#d73b34,#f04e41);border-radius:16px;box-shadow:0 14px 28px rgba(215,59,52,.18)}
.main{padding:20px 22px 26px}
.topbar{padding:10px 18px 18px;border-radius:28px;background:linear-gradient(90deg,rgba(9,21,38,.95),rgba(3,14,29,.98));border:1px solid rgba(244,196,79,.10);box-shadow:0 20px 48px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.02)}
.company-title-premium{font-size:34px!important;letter-spacing:.02em;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.22)}
.topbar-meta-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.topbar-meta-line p{margin:0;color:#c2d1e4}
.topbar-status{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(34,197,94,.10);border:1px solid rgba(34,197,94,.18);color:#7ef0a6;font-weight:700;font-size:13px}.topbar-status .dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 12px #22c55e}
.top-stats{gap:14px;justify-content:flex-end}
.top-stat{position:relative;min-width:160px;padding:14px 16px 14px 56px;background:linear-gradient(180deg,rgba(11,24,43,.98),rgba(7,18,34,.98));border:1px solid rgba(156,174,204,.16);border-radius:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.top-stat::before{content:'';position:absolute;left:16px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:10px;border:1px solid rgba(244,196,79,.32);background:linear-gradient(180deg,rgba(244,196,79,.12),rgba(122,82,6,.16));display:grid;place-items:center;color:#f6d06c;font-size:16px;font-weight:900;box-shadow:0 0 20px rgba(244,196,79,.10)}
.top-stat[data-kind="cash"]::before{content:'₺'}
.top-stat[data-kind="pcoin"]::before{content:'P'}
.top-stat[data-kind="bank"]::before{content:'🏦';font-size:14px}
.top-stat[data-kind="production"]::before{content:'↗';font-size:17px}
.top-stat[data-kind="sales"]::before{content:'🛒';font-size:14px}
.top-stat span{font-size:13px;color:#c1d0e4}.top-stat strong{font-size:18px;color:#fff}
.flash{border-radius:18px}
.ticker{padding:10px 0 8px;margin:14px 0 18px;gap:12px}.ticker-item{padding:10px 14px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));border:1px solid rgba(156,174,204,.14);color:#dfeaf8}.ticker-item.up{border-color:rgba(34,197,94,.16)}.ticker-item.down{border-color:rgba(239,68,68,.18)}
.subnav{padding:10px;border-radius:24px;background:linear-gradient(90deg,rgba(6,16,31,.96),rgba(3,14,28,.98));border:1px solid rgba(244,196,79,.10);gap:12px}
.subnav-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));border:1px solid rgba(156,174,204,.14);font-weight:700}
.subnav-btn.active{background:linear-gradient(180deg,rgba(100,69,10,.48),rgba(244,196,79,.18));border-color:rgba(244,196,79,.50);box-shadow:0 0 0 1px rgba(244,196,79,.15) inset, 0 10px 24px rgba(0,0,0,.16), 0 0 20px rgba(244,196,79,.08)}
.panel-card,.company-box,.inventory-card,.mission-card,.dialog-card{background:linear-gradient(180deg,rgba(10,23,41,.96),rgba(8,19,35,.98));border:1px solid rgba(156,174,204,.12);border-radius:22px;box-shadow:0 16px 40px rgba(0,0,0,.14), inset 0 0 0 1px rgba(255,255,255,.02)}
.tab.active{animation:none}
.market-list,.facility-list,.mini-list,.admin-users,.mission-list{gap:14px}
.stat-list>div,.mini-item,.market-item,.facility-item,.admin-user{border-radius:18px;background:linear-gradient(180deg,rgba(8,19,35,.95),rgba(7,17,31,.98));border:1px solid rgba(156,174,204,.12)}
.badge{border-radius:999px}
#leaderboardPanel>.item-meta:first-child{padding:0 4px 8px;color:#d6e1f0}
.top-rank-entry{position:relative}
.top-rank-entry::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 0%, rgba(244,196,79,.14), transparent 32%);pointer-events:none}
.leaderboard-entry .btn.company-profile-open{min-width:110px}
.dialog-card{width:min(520px,calc(100vw - 28px));border:1px solid rgba(244,196,79,.26)}
@media (max-width:1100px){#app{grid-template-columns:1fr}.sidebar{position:static;height:auto}.sidebar-header{grid-template-columns:1fr}.sidebar-brand-copy{display:none}.topbar{padding:14px}.top-stats{justify-content:flex-start}.top-stat{min-width:140px;flex:1 1 150px}}
@media (max-width:840px){.main{padding:14px}.topbar{border-radius:22px}.subnav{padding:8px}.top-stat{flex:1 1 calc(50% - 8px)}.company-title-premium{font-size:28px!important}}

/* Premium pazar ilanları - yakut kızılı çerçeve */
.market-item.premium-market-item{
  position:relative;
  overflow:hidden;
  border:1px solid transparent !important;
  background:
    linear-gradient(145deg, rgba(14,22,38,.98), rgba(8,17,31,.985)) padding-box,
    linear-gradient(135deg, rgba(255,120,145,.95) 0%, rgba(201,32,70,.98) 34%, rgba(128,10,34,.98) 68%, rgba(255,170,188,.72) 100%) border-box !important;
  box-shadow:
    0 0 0 1px rgba(255,95,130,.16) inset,
    0 18px 40px rgba(88,10,29,.22),
    0 0 24px rgba(226,48,88,.10) !important;
}
.market-item.premium-market-item::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 0% 50%, rgba(255,91,122,.20), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(255,180,196,.10), transparent 28%),
    linear-gradient(90deg, rgba(255,84,120,.12), transparent 18%, transparent 82%, rgba(255,160,185,.08));
  pointer-events:none;
}
.market-item.premium-market-item::after{
  content:'';
  position:absolute;
  left:0;
  top:14%;
  bottom:14%;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,186,200,.96), rgba(255,83,122,.95) 38%, rgba(183,18,56,.96) 100%);
  box-shadow:0 0 14px rgba(255,86,126,.34);
  pointer-events:none;
}
.market-item.premium-market-item .market-item-title strong{
  color:#fff3f6;
  text-shadow:0 0 10px rgba(255,88,126,.16);
}
.market-item.premium-market-item .market-item-meta{
  color:#ecd0d8;
}
.market-item.premium-market-item .market-good-icon{
  filter:drop-shadow(0 0 8px rgba(255,84,122,.22));
}
.market-item.premium-market-item .market-item-actions .btn{
  border-color:rgba(255,102,133,.24);
}
.market-item.premium-market-item .market-item-actions input{
  border-color:rgba(255,95,130,.18);
  background:rgba(255,255,255,.03);
}
.market-item.premium-market-item .market-quality-badge{
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,185,197,.18) !important;
  color:#fff7f8 !important;
}
.market-item .market-premium-badge{
  background:linear-gradient(135deg, rgba(255,115,144,.18), rgba(176,20,56,.24)) !important;
  border:1px solid rgba(255,101,133,.34) !important;
  color:#ffdfe7 !important;
  box-shadow:0 0 16px rgba(220,42,81,.12);
}
.market-premium-action-badge{
  background:linear-gradient(135deg, #ff7f9d 0%, #d11d4d 40%, #8f102f 100%) !important;
  color:#fff7f9 !important;
  border:1px solid rgba(255,176,195,.28);
  box-shadow:0 10px 22px rgba(172,15,50,.24), inset 0 1px 0 rgba(255,255,255,.14) !important;
}

/* Admin görünümü */
.admin-role-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  margin-right:8px;
  border-radius:999px;
  background:linear-gradient(135deg, #7f1d1d 0%, #dc2626 38%, #ef4444 72%, #fecaca 100%);
  color:#fff5f5;
  border:1px solid rgba(254,202,202,.36);
  box-shadow:0 10px 24px rgba(127,29,29,.28), inset 0 1px 0 rgba(255,255,255,.16), 0 0 14px rgba(239,68,68,.20);
  font-family:"Trebuchet MS","Arial Black",Inter,system-ui,sans-serif;
  font-weight:900;
  letter-spacing:.08em;
  font-size:.78em;
  line-height:1;
  text-transform:uppercase;
  vertical-align:middle;
  text-shadow:0 1px 0 rgba(0,0,0,.28);
}

.central-bank-shell{display:flex;flex-direction:column;gap:16px;}
.central-bank-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px;border:1px solid rgba(229,184,76,.28);background:linear-gradient(135deg,rgba(39,28,8,.95),rgba(95,65,18,.55));box-shadow:0 18px 44px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);}
.central-bank-kicker{display:inline-flex;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:rgba(255,215,120,.12);border:1px solid rgba(255,215,120,.25);font-size:12px;color:#f8df8a;letter-spacing:.05em;text-transform:uppercase;}
.central-bank-hero h3{margin:0 0 8px;font-size:28px;color:#fff2c4;}
.central-bank-hero p{margin:0;max-width:620px;color:#dcc999;line-height:1.6;}
.central-bank-hero-badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;}
.central-bank-grid .cb-card,.cb-card{border:1px solid rgba(229,184,76,.16);background:linear-gradient(180deg,rgba(19,25,41,.94),rgba(12,17,30,.98));box-shadow:0 16px 34px rgba(0,0,0,.18);}
.bank-premium-form{margin-bottom:14px;padding:14px;border-radius:14px;background:rgba(255,214,102,.05);border:1px solid rgba(255,214,102,.12);}
.bank-fx-form label{display:flex;flex-direction:column;gap:6px;}
.fx-board{display:flex;flex-direction:column;gap:12px;}
.fx-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,214,102,.1);}
.fx-row.disabled{opacity:.55;filter:grayscale(.2);}
.fx-row-main{display:flex;align-items:center;gap:14px;}
.fx-code{min-width:62px;padding:10px 12px;border-radius:12px;background:linear-gradient(135deg,rgba(255,214,102,.18),rgba(255,214,102,.06));border:1px solid rgba(255,214,102,.24);font-weight:800;letter-spacing:.05em;text-align:center;color:#ffefbd;}
.fx-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;}
.fx-chip{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;}
.fx-chip.pos{background:rgba(34,197,94,.14);color:#86efac;border:1px solid rgba(34,197,94,.26);}
.fx-chip.neg{background:rgba(248,113,113,.14);color:#fda4af;border:1px solid rgba(248,113,113,.26);}
.fx-chip.flat{background:rgba(148,163,184,.15);color:#cbd5e1;border:1px solid rgba(148,163,184,.22);}
.admin-fx-row{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:14px;background:rgba(255,255,255,.02);border:1px solid rgba(255,214,102,.10);margin-bottom:12px;}
.admin-fx-head{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.admin-fx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;}
.admin-fx-grid label{display:flex;flex-direction:column;gap:6px;}
.admin-fx-note{grid-column:1/-1;}
.admin-fx-actions{display:flex;justify-content:flex-end;}
@media (max-width: 900px){.central-bank-hero{flex-direction:column;}.fx-row{flex-direction:column;align-items:flex-start;}.fx-row-side{align-items:flex-start;}}

/* Merkez Bankası temiz başlık + kompakt döviz yönetimi */
.central-bank-hero.compact{display:block;padding:18px 22px;}
.central-bank-hero.compact h3{margin:0;}
.admin-fx-compact-list{display:grid;gap:8px;max-height:340px;overflow:auto;padding-right:4px;}
.admin-fx-compact-row{width:100%;display:grid;grid-template-columns:70px minmax(120px,1fr) minmax(220px,1.2fr) auto;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,214,102,.12);background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015));color:#e6f1ff;text-align:left;}
.admin-fx-compact-row:hover{border-color:rgba(255,214,102,.32);background:linear-gradient(180deg,rgba(255,214,102,.08),rgba(255,255,255,.02));}
.admin-fx-code{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:12px;background:rgba(255,214,102,.10);border:1px solid rgba(255,214,102,.18);font-weight:900;color:#ffe3a2;letter-spacing:.04em;}
.admin-fx-name{font-weight:800;color:#fff;}
.admin-fx-rate{font-size:12px;color:#a8bfd7;}
.admin-fx-modal-root{position:fixed;inset:0;z-index:40000;display:grid;place-items:center;padding:18px;}
.admin-fx-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(4px);}
.admin-fx-modal-card{position:relative;z-index:2;width:min(760px,calc(100vw - 28px));max-height:88vh;overflow:auto;border-radius:24px;padding:18px;background:linear-gradient(180deg,rgba(13,24,42,.98),rgba(7,16,30,.98));border:1px solid rgba(255,214,102,.28);box-shadow:0 30px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05);}
.admin-fx-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(255,214,102,.12);}
.admin-fx-row.modal-mode{margin:0;border:none;background:transparent;padding:0;}
@media(max-width:760px){.admin-fx-compact-row{grid-template-columns:1fr;}.admin-fx-rate{font-size:11px;}}

/* Admin Borsa/Döviz kompakt yönetim */
.admin-stock-compact-list{max-height:340px;overflow:auto;}
.admin-stock-compact-row{grid-template-columns:78px minmax(120px,1fr) minmax(220px,1.2fr) auto;}
.admin-stock-compact-row .admin-fx-code{background:linear-gradient(135deg,rgba(34,211,238,.15),rgba(250,204,21,.07));border-color:rgba(34,211,238,.22);color:#dffbff;}
#adminStockModal .admin-fx-modal-card{border-color:rgba(34,211,238,.24);}
#adminStockModal .admin-fx-modal-head{border-bottom-color:rgba(34,211,238,.12);}
@media(max-width:760px){.admin-stock-compact-row{grid-template-columns:1fr;}}


/* Confirm popup must stay above admin borsa/döviz modals */
#dialogRoot.dialog-root{z-index:120000!important;}
#dialogRoot .dialog-backdrop{z-index:1!important;}
#dialogRoot .dialog-card{z-index:2!important;}
.admin-fx-modal-root{z-index:40000;}

/* Admin işletme zincirleri - kompakt liste + modal */
.admin-facility-settings-head.compact{align-items:center!important;margin-bottom:14px!important;padding:14px 16px!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(15,23,42,.82),rgba(6,15,30,.92))!important;border:1px solid rgba(148,163,184,.16)!important}
.admin-facility-chain-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px;align-items:stretch}
.admin-facility-chain-card{position:relative;overflow:hidden;display:grid;gap:12px;text-align:left;width:100%;border-radius:20px;padding:16px;border:1px solid rgba(148,163,184,.15);background:linear-gradient(145deg,rgba(10,22,38,.94),rgba(5,13,26,.98));color:#e5edf7;cursor:pointer;box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035);transition:.18s transform,.18s border-color,.18s box-shadow}
.admin-facility-chain-card:before{content:"";position:absolute;right:-60px;top:-80px;width:150px;height:150px;border-radius:50%;background:rgba(250,204,21,.08);filter:blur(16px);pointer-events:none}.admin-facility-chain-card>*{position:relative;z-index:1}
.admin-facility-chain-card:hover{transform:translateY(-2px);border-color:rgba(250,204,21,.34);box-shadow:0 24px 58px rgba(0,0,0,.25),0 0 24px rgba(250,204,21,.06)}
.admin-facility-chain-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.admin-facility-chain-head strong{color:#fff;font-size:14px;line-height:1.35}.admin-facility-chain-head .badge{flex:0 0 auto}
.admin-facility-chain-flow{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin}.admin-facility-chain-flow>b{color:#facc15;font-size:18px;flex:0 0 auto}.admin-facility-chain-step{display:inline-flex;align-items:center;gap:8px;min-width:132px;max-width:180px;padding:9px 10px;border-radius:15px;background:rgba(255,255,255,.035);border:1px solid rgba(148,163,184,.13);flex:0 0 auto}.admin-facility-chain-step.off{opacity:.62;border-color:rgba(239,68,68,.25)}.admin-facility-chain-step .ui-facility-icon{width:30px!important;height:30px!important;border-radius:10px!important;flex:0 0 30px!important}.admin-facility-chain-step em{font-style:normal;color:#dbeafe;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-facility-modal-root{position:fixed;inset:0;z-index:50000;display:grid;place-items:center;padding:18px}.admin-facility-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(7px)}.admin-facility-modal-card{position:relative;z-index:2;width:min(1160px,calc(100vw - 28px));max-height:90vh;overflow:auto;border-radius:24px;padding:18px;background:linear-gradient(180deg,rgba(12,24,42,.98),rgba(6,15,29,.98));border:1px solid rgba(250,204,21,.24);box-shadow:0 30px 90px rgba(0,0,0,.50),inset 0 1px 0 rgba(255,255,255,.05)}.admin-facility-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(148,163,184,.14)}.admin-facility-modal-head strong{color:#fff;font-size:18px}.admin-facility-modal-chain{display:flex;align-items:center;gap:10px;overflow-x:auto;margin-bottom:16px;padding:12px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(148,163,184,.12)}.admin-facility-modal-chain>i{font-style:normal;color:#facc15;font-weight:900;font-size:20px}.admin-facility-modal-step{display:inline-flex;align-items:center;gap:9px;min-width:150px;padding:10px 12px;border-radius:16px;background:rgba(2,8,23,.38);border:1px solid rgba(148,163,184,.14);flex:0 0 auto}.admin-facility-modal-step.off{opacity:.64;border-color:rgba(239,68,68,.26)}.admin-facility-modal-step .ui-facility-icon{width:34px!important;height:34px!important;border-radius:11px!important;flex:0 0 34px!important}.admin-facility-modal-step b{font-size:12px;color:#fff;line-height:1.25}.admin-facility-modal-list{display:grid;gap:14px}.admin-facility-modal-list .admin-facility-row{margin:0!important}
#dialogRoot.dialog-root{z-index:120000!important}
@media (max-width:840px){.admin-facility-chain-grid{grid-template-columns:1fr}.admin-facility-modal-card{padding:14px}.admin-facility-chain-step,.admin-facility-modal-step{min-width:128px}}

/* Admin işletme zincirleri - kompakt liste modu */
.admin-facility-settings-head.list-mode{margin-bottom:10px!important;padding:12px 14px!important}
.admin-facility-searchbar{margin:0 0 10px;display:flex;align-items:center;gap:10px}
.admin-facility-searchbar input{width:100%;height:44px;border-radius:14px;border:1px solid rgba(148,163,184,.18);background:rgba(2,8,23,.42);color:#e5edf7;padding:0 14px;font-weight:700;outline:none}
.admin-facility-searchbar input:focus{border-color:rgba(250,204,21,.45);box-shadow:0 0 0 3px rgba(250,204,21,.08)}
.admin-facility-chain-list{display:grid;gap:7px}
.admin-facility-chain-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 11px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid rgba(148,163,184,.10);min-height:42px}
.admin-facility-chain-line:hover{border-color:rgba(250,204,21,.22);background:rgba(250,204,21,.035)}
.admin-facility-chain-name{appearance:none;border:none;background:transparent;color:#e8f0fb;font-size:13px;font-weight:900;letter-spacing:.02em;line-height:1.2;padding:4px 2px;border-radius:8px;cursor:pointer;text-align:left}
.admin-facility-chain-name:hover{color:#facc15;text-shadow:0 0 10px rgba(250,204,21,.22)}
.admin-facility-chain-name.off{color:#fca5a5;text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:rgba(248,113,113,.55)}
.admin-facility-chain-arrow{color:#facc15;font-weight:900;font-size:14px;opacity:.78}
.admin-facility-modal-root.compact-single{z-index:50000!important}
.admin-facility-modal-root.compact-single .admin-facility-modal-card{width:min(1160px,calc(100vw - 28px))}
.admin-facility-modal-chain.compact-line{padding:9px 10px;margin-bottom:12px}
.admin-facility-modal-chain.compact-line .admin-facility-modal-step{min-width:auto;padding:7px 9px;border-radius:12px}
.admin-facility-modal-chain.compact-line .admin-facility-modal-step.selected{border-color:rgba(250,204,21,.48);background:rgba(250,204,21,.10);box-shadow:0 0 16px rgba(250,204,21,.10) inset}
.admin-facility-modal-list.single{display:block}
.admin-facility-modal-list.single .admin-facility-row{margin:0!important}
@media (max-width:840px){.admin-facility-chain-line{align-items:flex-start}.admin-facility-chain-name{font-size:12px}.admin-facility-modal-root.compact-single .admin-facility-modal-card{width:calc(100vw - 20px);padding:14px}}

/* Admin işletme listesi: alfabetik kompakt satırlar */
.admin-facility-alpha-list{display:grid;gap:7px;}
.admin-facility-alpha-row{appearance:none;width:100%;display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,.55fr) auto;align-items:center;gap:12px;text-align:left;padding:10px 12px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid rgba(148,163,184,.10);color:#e8f0fb;cursor:pointer;min-height:42px;}
.admin-facility-alpha-row:hover{border-color:rgba(250,204,21,.30);background:rgba(250,204,21,.045);}
.admin-facility-alpha-row.off{opacity:.68;border-color:rgba(239,68,68,.20);}
.admin-facility-alpha-name{font-size:13px;font-weight:900;letter-spacing:.03em;color:#f8fbff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-facility-alpha-row:hover .admin-facility-alpha-name{color:#facc15;text-shadow:0 0 10px rgba(250,204,21,.20);}
.admin-facility-alpha-meta{font-size:12px;color:#9fb0c6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-facility-modal-step{appearance:none;color:inherit;text-align:left;cursor:pointer;}
.admin-facility-modal-step:hover{border-color:rgba(250,204,21,.38);background:rgba(250,204,21,.08);}
.admin-facility-modal-step.selected{border-color:rgba(250,204,21,.52)!important;background:rgba(250,204,21,.12)!important;box-shadow:0 0 18px rgba(250,204,21,.11) inset;}
@media (max-width:840px){.admin-facility-alpha-row{grid-template-columns:1fr;gap:6px}.admin-facility-alpha-row .badge{justify-self:flex-start}}

/* Premium Borsa Terminal */
.stock-terminal-premium{display:grid;gap:16px}
.stock-terminal-summary-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.stock-summary-card{position:relative;padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,rgba(8,20,36,.96),rgba(7,16,29,.98));border:1px solid rgba(98,126,162,.24);box-shadow:0 16px 34px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.03)}
.stock-summary-card::after{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:18px 0 0 18px;background:rgba(138,163,192,.35)}
.stock-summary-card.ok::after{background:linear-gradient(180deg,#34d399,#059669)}
.stock-summary-card.warn::after{background:linear-gradient(180deg,#f59e0b,#d97706)}
.stock-summary-card.down::after{background:linear-gradient(180deg,#fb7185,#ef4444)}
.stock-summary-card span{display:block;font-size:11px;letter-spacing:.16em;color:#8aa0bd;text-transform:uppercase;margin-bottom:8px}
.stock-summary-card strong{display:block;font-size:19px;line-height:1.15;color:#f5fbff}
.stock-summary-card small{display:block;margin-top:6px;color:#b7c7db;font-size:12px}

.stock-mini-ticker-line{display:flex;gap:10px;overflow:auto;padding:4px 1px 2px}
.stock-mini-ticker-line::-webkit-scrollbar{height:5px}
.stock-mini-ticker-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:linear-gradient(180deg,rgba(8,19,34,.96),rgba(7,17,29,.98));border:1px solid rgba(98,126,162,.22);color:#dbe8f8;font-size:12px;white-space:nowrap}
.stock-mini-ticker-chip b{color:#fff;font-weight:800}

.stock-terminal-grid{display:grid;grid-template-columns:310px minmax(0,1fr) 340px;gap:16px;align-items:start}
.stock-panel{background:linear-gradient(180deg,rgba(8,20,37,.97),rgba(7,17,31,.99));border:1px solid rgba(101,128,164,.22);border-radius:24px;box-shadow:0 20px 48px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.02);overflow:hidden}
.stock-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid rgba(101,128,164,.16);background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.01))}
.stock-panel-head.compact{padding:14px 16px}
.stock-panel-head h3{margin:0;font-size:13px;letter-spacing:.16em;color:#dfe9f6;text-transform:uppercase}
.stock-panel-head span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#8fa7c5}

.stock-watch-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:920px}
.stock-watch-scroll{padding:12px;display:grid;gap:10px;max-height:860px;overflow:auto}
.stock-watch-row{display:grid;gap:8px;width:100%;padding:14px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.012));border:1px solid rgba(102,129,167,.18);text-align:left;color:#eaf3ff;cursor:pointer;transition:.18s ease}
.stock-watch-row:hover,.stock-watch-row.active{transform:translateY(-1px);border-color:rgba(66,211,228,.42);background:linear-gradient(180deg,rgba(23,43,69,.94),rgba(10,24,43,.98));box-shadow:0 0 0 1px rgba(66,211,228,.12) inset,0 14px 28px rgba(0,0,0,.18),0 0 24px rgba(66,211,228,.07)}
.stock-watch-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.stock-watch-row-id{display:flex;gap:12px;align-items:center;min-width:0}
.stock-watch-icon,.stock-chart-asset-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(180deg,rgba(75,106,144,.24),rgba(35,57,87,.16));border:1px solid rgba(111,142,180,.26);font-size:18px;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.stock-chart-asset-icon{width:54px;height:54px;border-radius:16px;font-size:22px}
.stock-watch-row-id strong{display:block;font-size:15px;color:#fff;line-height:1.1}
.stock-watch-row-id small{display:block;margin-top:3px;font-size:12px;color:#9fb4ce;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.stock-watch-row-price{text-align:right;display:grid;gap:6px;justify-items:end}
.stock-watch-row-price strong{font-size:14px;color:#f7fbff}
.stock-watch-row-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#8ea7c3;text-transform:uppercase;letter-spacing:.08em}

.stock-chart-panel{padding:0 0 16px}
.stock-chart-hero{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px 14px;border-bottom:1px solid rgba(101,128,164,.14)}
.stock-chart-asset{display:flex;align-items:center;gap:14px;min-width:0}
.stock-chart-asset strong{display:block;font-size:28px;line-height:1;color:#fff;letter-spacing:.02em}
.stock-chart-asset small{display:block;margin-top:5px;color:#9cb1cb;font-size:13px}
.stock-chart-pricebox{text-align:right;display:grid;justify-items:end;gap:8px}
.stock-chart-pricebox strong{font-size:34px;line-height:1;color:#f8fbff}
.stock-chart-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 20px}
.stock-chart-tabs{display:flex;gap:8px;flex-wrap:wrap}
.stock-chart-tabs button{padding:8px 14px;border-radius:999px;border:1px solid rgba(101,128,164,.2);background:rgba(255,255,255,.03);color:#b8c9dd;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.stock-chart-tabs button.active{background:linear-gradient(180deg,rgba(38,194,172,.24),rgba(25,103,127,.14));border-color:rgba(45,212,191,.36);color:#dffef7;box-shadow:0 0 0 1px rgba(45,212,191,.14) inset}
.stock-chart-flags{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.stock-chart-flags span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.028);border:1px solid rgba(101,128,164,.16);color:#9fb2c9;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.stock-live-chart-stage{padding:0 20px 4px}
.stock-live-chart-wrap,.stock-live-chart-stage{min-height:340px;border-radius:22px}
.stock-live-chart-stage svg{display:block;width:100%;height:340px;background:radial-gradient(circle at 20% 10%, rgba(30,64,91,.20), transparent 38%),linear-gradient(180deg,rgba(4,14,25,.92),rgba(4,12,22,.98));border:1px solid rgba(74,105,141,.18);border-radius:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.stock-live-grid line{stroke:rgba(124,153,188,.10);stroke-width:1}
.stock-live-area{fill:url(#stockChartGradient)}
.stock-live-line{fill:none;stroke:#38d5d7;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(56,213,215,.32))}
.stock-live-dot{fill:#7cf6de;stroke:#dffff8;stroke-width:2;filter:drop-shadow(0 0 6px rgba(124,246,222,.5))}

.stock-stat-grid{display:grid;gap:10px}
.stock-stat-grid-premium{padding:14px 20px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
.stock-stat-card{padding:13px 14px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));border:1px solid rgba(101,128,164,.16);display:grid;gap:6px}
.stock-stat-card span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8ea5c1}
.stock-stat-card strong{font-size:20px;line-height:1.1;color:#f8fbff}
.stock-stat-card small{font-size:12px;color:#9db4cf}
.stock-stat-card.ok{border-color:rgba(52,211,153,.30);background:linear-gradient(180deg,rgba(16,55,46,.45),rgba(10,28,26,.45))}
.stock-stat-card.down{border-color:rgba(251,113,133,.28);background:linear-gradient(180deg,rgba(60,23,33,.44),rgba(29,13,18,.44))}

.stock-chart-bottom-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:14px;padding:14px 20px 0}
.stock-depth-card,.stock-facts-card,.stock-order-card,.stock-side-portfolio,.stock-tape-card,.stock-positions-card{padding-bottom:14px}
.stock-depth-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 16px 0}
.stock-depth-side{border:1px solid rgba(101,128,164,.16);border-radius:18px;background:rgba(255,255,255,.018);overflow:hidden}
.stock-depth-side-head{padding:12px 14px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid rgba(101,128,164,.16)}
.stock-depth-side-head.bid{color:#86f2cb;background:linear-gradient(180deg,rgba(16,82,61,.24),rgba(10,37,28,.18))}
.stock-depth-side-head.ask{color:#ffb5c2;background:linear-gradient(180deg,rgba(93,27,43,.24),rgba(37,14,20,.18))}
.stock-depth-list{padding:10px;display:grid;gap:8px}
.stock-depth-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.02);font-size:12px;color:#c8d6e7}
.stock-depth-row b{color:#fff;font-size:13px}
.stock-depth-row small{color:#8ea6c2}
.stock-depth-row.bid{border:1px solid rgba(52,211,153,.16)}
.stock-depth-row.ask{border:1px solid rgba(251,113,133,.16)}
.stock-facts-grid{padding:14px 16px 0;display:grid;gap:10px}
.stock-fact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.02);border:1px solid rgba(101,128,164,.14)}
.stock-fact-row span{font-size:12px;color:#97adca;letter-spacing:.08em;text-transform:uppercase}
.stock-fact-row strong{font-size:14px;color:#fff}

.stock-side-panel{display:grid;gap:14px;padding:0 0 14px}
.stock-order-form{padding:14px 16px 0;display:grid;gap:12px}
.stock-order-field{display:grid;gap:7px}
.stock-order-field span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8ea7c4}
.stock-order-field select,.stock-order-field input{width:100%;padding:13px 14px;border-radius:16px;border:1px solid rgba(101,128,164,.18);background:linear-gradient(180deg,rgba(5,15,26,.98),rgba(8,19,34,.98));color:#eef5ff;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
.stock-order-field select:focus,.stock-order-field input:focus{border-color:rgba(66,211,228,.42);box-shadow:0 0 0 3px rgba(66,211,228,.10)}
.stock-order-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.stock-order-side{padding:13px 14px;border-radius:16px;border:1px solid rgba(101,128,164,.18);background:rgba(255,255,255,.03);color:#dbe8f8;font-weight:800;letter-spacing:.12em}
.stock-order-side.buy.active{background:linear-gradient(180deg,rgba(16,97,78,.78),rgba(7,58,47,.92));border-color:rgba(52,211,153,.42);color:#dffff4;box-shadow:0 0 0 1px rgba(52,211,153,.18) inset}
.stock-order-side.sell.active{background:linear-gradient(180deg,rgba(116,35,50,.80),rgba(63,20,29,.94));border-color:rgba(251,113,133,.42);color:#ffe8ed;box-shadow:0 0 0 1px rgba(251,113,133,.16) inset}
.stock-order-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.stock-order-stats>div{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.024);border:1px solid rgba(101,128,164,.14);display:grid;gap:5px}
.stock-order-stats span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#8ba4c0}
.stock-order-stats strong{font-size:14px;color:#fff}
.stock-order-submit{min-height:48px;border-radius:16px!important;background:linear-gradient(135deg,#0f6c7d,#22cbd4)!important;border:none!important;color:#f5feff!important;box-shadow:0 16px 30px rgba(34,203,212,.18)!important}

.stock-portfolio-overview{padding:14px 16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.stock-portfolio-total-box,.stock-portfolio-pl-box{padding:14px;border-radius:18px;border:1px solid rgba(101,128,164,.16);background:rgba(255,255,255,.024);display:grid;gap:6px}
.stock-portfolio-total-box span,.stock-portfolio-pl-box span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8ba5c2}
.stock-portfolio-total-box strong,.stock-portfolio-pl-box strong{font-size:18px;color:#fff}
.stock-portfolio-pl-box.ok{border-color:rgba(52,211,153,.28);background:linear-gradient(180deg,rgba(16,55,46,.4),rgba(10,28,26,.36))}
.stock-portfolio-pl-box.down{border-color:rgba(251,113,133,.28);background:linear-gradient(180deg,rgba(60,23,33,.44),rgba(29,13,18,.40))}
.stock-side-portfolio-list{padding:12px 16px 0;display:grid;gap:10px;max-height:414px;overflow:auto}
.stock-position-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-radius:17px;background:linear-gradient(180deg,rgba(255,255,255,.026),rgba(255,255,255,.012));border:1px solid rgba(101,128,164,.14)}
.stock-position-row strong{display:block;font-size:14px;color:#fff}
.stock-position-row small{display:block;margin-top:4px;color:#9db2cc;font-size:12px}
.stock-position-side{text-align:right;display:grid;gap:4px}
.stock-position-side b{font-size:14px;color:#fff}
.stock-position-side span{font-size:12px}

.stock-terminal-bottom-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:16px}
.stock-tape-list,.stock-positions-list{padding:12px 16px 0;display:grid;gap:10px}
.stock-tape-row{display:grid;grid-template-columns:auto 1fr auto auto auto;gap:10px;align-items:center;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.024);border:1px solid rgba(101,128,164,.14);font-size:12px;color:#d7e5f5}
.stock-tape-row strong{font-size:13px;color:#fff}
.stock-tape-tag{display:inline-flex;align-items:center;justify-content:center;min-width:56px;padding:6px 8px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;border:1px solid rgba(101,128,164,.18);background:rgba(255,255,255,.03);color:#d7e5f5}
.stock-tape-tag.ok{background:rgba(16,97,78,.24);border-color:rgba(52,211,153,.24);color:#bff7e6}
.stock-tape-tag.warn{background:rgba(116,35,50,.26);border-color:rgba(251,113,133,.26);color:#ffd7df}
.stock-tape-tag.neutral{background:rgba(44,94,131,.24);border-color:rgba(56,189,248,.24);color:#d5f2ff}
.stock-empty-box{padding:18px;border-radius:18px;background:rgba(255,255,255,.022);border:1px dashed rgba(101,128,164,.20);color:#95abc6;text-align:center}
.stock-empty-box.small{padding:14px;font-size:13px}

.stock-delta-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.08em;border:1px solid rgba(101,128,164,.18);background:rgba(255,255,255,.03);color:#dbe8f8;white-space:nowrap}
.stock-delta-pill.ok,.stock-mini-ticker-chip.ok,.stock-tape-row.ok{color:#bff7e6}
.stock-delta-pill.ok{background:rgba(16,97,78,.22);border-color:rgba(52,211,153,.28)}
.stock-delta-pill.down,.stock-mini-ticker-chip.down,.stock-tape-row.down{color:#ffd7df}
.stock-delta-pill.down{background:rgba(116,35,50,.24);border-color:rgba(251,113,133,.28)}
.stock-delta-pill.warn{background:rgba(97,71,18,.24);border-color:rgba(245,158,11,.26);color:#ffe7b1}

@media (max-width: 1460px){
  .stock-terminal-grid{grid-template-columns:280px minmax(0,1fr) 320px}
}
@media (max-width: 1240px){
  .stock-terminal-summary-bar,.stock-stat-grid-premium,.stock-portfolio-overview,.stock-terminal-bottom-grid,.stock-chart-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stock-terminal-grid{grid-template-columns:1fr}
  .stock-watch-panel{min-height:auto}
  .stock-watch-scroll,.stock-side-portfolio-list{max-height:none}
}
@media (max-width: 840px){
  .stock-terminal-summary-bar,.stock-stat-grid-premium,.stock-chart-bottom-grid,.stock-terminal-bottom-grid,.stock-portfolio-overview,.stock-order-stats,.stock-depth-columns{grid-template-columns:1fr}
  .stock-chart-hero,.stock-chart-toolbar{flex-direction:column;align-items:flex-start}
  .stock-chart-pricebox{justify-items:start;text-align:left}
  .stock-tape-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stock-panel-head{padding:14px 15px}
  .stock-chart-hero{padding:16px 16px 12px}
  .stock-live-chart-stage,.stock-live-chart-wrap{min-height:280px}
  .stock-live-chart-stage svg{height:280px}
}
.stock-summary-card.up::after{background:linear-gradient(180deg,#34d399,#059669)}
.stock-stat-card.up{border-color:rgba(52,211,153,.30);background:linear-gradient(180deg,rgba(16,55,46,.45),rgba(10,28,26,.45))}
.stock-portfolio-pl-box.up{border-color:rgba(52,211,153,.28);background:linear-gradient(180deg,rgba(16,55,46,.4),rgba(10,28,26,.36))}
.stock-tape-tag.up{background:rgba(16,97,78,.24);border-color:rgba(52,211,153,.24);color:#bff7e6}
.stock-delta-pill.up,.stock-mini-ticker-chip.up,.stock-tape-row.up{color:#bff7e6}
.stock-delta-pill.up{background:rgba(16,97,78,.22);border-color:rgba(52,211,153,.28)}
.stock-position-side .up,.stock-position-side .ok,.stock-portfolio-pl-box.up strong,.stock-portfolio-pl-box.up,.stock-summary-card.up strong{color:#bff7e6}
.stock-position-side .down,.stock-portfolio-pl-box.down strong,.stock-summary-card.down strong{color:#ffd7df}

/* Compact + canlı borsa iyileştirmesi */
.stock-terminal-premium{gap:12px}
.stock-terminal-summary-bar{gap:10px}
.stock-summary-card{padding:12px 14px;border-radius:16px;box-shadow:0 12px 24px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.03)}
.stock-summary-card span{margin-bottom:6px;font-size:10px}
.stock-summary-card strong{font-size:17px}
.stock-summary-card small{margin-top:4px;font-size:11px}
.stock-mini-ticker-line{gap:8px;padding:2px 0 0}
.stock-mini-ticker-chip{padding:8px 12px;font-size:11px}
.stock-terminal-grid{grid-template-columns:260px minmax(0,1fr) 300px;gap:12px}
.stock-panel{border-radius:20px;box-shadow:0 14px 32px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.02)}
.stock-panel-head{padding:13px 15px}
.stock-panel-head.compact{padding:12px 14px}
.stock-panel-head h3{font-size:12px}
.stock-watch-panel{min-height:760px}
.stock-watch-scroll{padding:10px;gap:8px;max-height:710px}
.stock-watch-row{padding:11px 12px;border-radius:15px;gap:7px}
.stock-watch-icon,.stock-chart-asset-icon{width:36px;height:36px;border-radius:12px;font-size:16px}
.stock-chart-asset-icon{width:48px;height:48px;font-size:20px}
.stock-watch-row-id{gap:10px}
.stock-watch-row-id strong{font-size:14px}
.stock-watch-row-id small{font-size:11px;max-width:110px}
.stock-watch-row-price strong{font-size:13px}
.stock-watch-row-meta{font-size:10px}
.stock-chart-panel{padding-bottom:12px}
.stock-chart-hero{padding:14px 16px 10px;gap:14px}
.stock-chart-asset strong{font-size:22px}
.stock-chart-asset small{font-size:12px}
.stock-chart-pricebox strong{font-size:28px}
.stock-chart-toolbar{padding:10px 16px 8px;gap:10px}
.stock-chart-tabs button{padding:7px 12px;font-size:10px}
.stock-chart-flags span{padding:7px 10px;font-size:10px}
.stock-live-chart-stage{padding:0 16px 0}
.stock-live-chart-wrap,.stock-live-chart-stage{min-height:285px}
.stock-live-chart-stage svg{height:285px;border-radius:18px}
.stock-live-grid line{stroke:rgba(124,153,188,.09);stroke-width:1}
.stock-live-area{opacity:.95}
.stock-live-line{stroke:#42d3e4;stroke-width:2.7;filter:drop-shadow(0 0 10px rgba(66,211,228,.25));animation:stockLinePulse 2.4s ease-in-out infinite}
.stock-live-glow-line{fill:none;stroke:rgba(124,246,222,.42);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 10px rgba(124,246,222,.32));opacity:.95}
.stock-live-dot{fill:#94fff1;stroke:#f2fffd;stroke-width:1.8;filter:drop-shadow(0 0 8px rgba(148,255,241,.58))}
.stock-live-dot-halo{fill:rgba(124,246,222,.18)}
.stock-live-runner{fill:#fff;filter:drop-shadow(0 0 8px rgba(255,255,255,.6))}
.stock-live-micro-dot{fill:#66f9ef;filter:drop-shadow(0 0 5px rgba(102,249,239,.45))}
.stock-live-scan-band{mix-blend-mode:screen;opacity:.9}
.stock-stat-grid-premium{padding:10px 16px 0;gap:8px}
.stock-stat-card{padding:11px 12px;border-radius:15px;gap:4px}
.stock-stat-card span{font-size:10px}
.stock-stat-card strong{font-size:17px}
.stock-stat-card small{font-size:11px}
.stock-chart-bottom-grid{padding:10px 16px 0;gap:10px;grid-template-columns:minmax(0,1fr) 250px}
.stock-depth-columns{padding:10px 12px 0;gap:10px}
.stock-depth-side{border-radius:15px}
.stock-depth-side-head{padding:10px 12px;font-size:11px}
.stock-depth-list{padding:8px;gap:6px}
.stock-depth-row{grid-template-columns:34px minmax(0,1fr) auto auto;padding:8px 10px;border-radius:12px;font-size:11px}
.stock-depth-row b{font-size:12px}
.stock-facts-grid{padding:10px 12px 0;gap:8px}
.stock-fact-row{padding:10px 12px;border-radius:13px}
.stock-fact-row span{font-size:11px}
.stock-fact-row strong{font-size:13px}
.stock-side-panel{gap:10px;padding-bottom:10px}
.stock-order-form{padding:10px 12px 0;gap:10px}
.stock-order-field{gap:6px}
.stock-order-field span{font-size:10px}
.stock-order-field select,.stock-order-field input{padding:11px 12px;border-radius:13px}
.stock-order-switch{gap:8px}
.stock-order-side{padding:11px 12px;border-radius:13px;font-size:12px}
.stock-order-stats{gap:8px}
.stock-order-stats>div{padding:10px 12px;border-radius:13px}
.stock-order-stats span{font-size:10px}
.stock-order-stats strong{font-size:13px}
.stock-order-submit{min-height:44px;border-radius:14px!important}
.stock-portfolio-overview{padding:10px 12px 0;gap:8px}
.stock-portfolio-total-box,.stock-portfolio-pl-box{padding:12px;border-radius:15px;gap:4px}
.stock-portfolio-total-box span,.stock-portfolio-pl-box span{font-size:10px}
.stock-portfolio-total-box strong,.stock-portfolio-pl-box strong{font-size:16px}
.stock-side-portfolio-list{padding:10px 12px 0;gap:8px;max-height:200px}
.stock-position-row{padding:11px 12px;border-radius:14px}
.stock-position-row strong{font-size:13px}
.stock-position-row small,.stock-position-side span{font-size:11px}
.stock-position-side b{font-size:13px}
.stock-terminal-bottom-grid{gap:12px}
.stock-tape-list,.stock-positions-list{padding:10px 12px 0;gap:8px}
.stock-tape-row{padding:10px 12px;border-radius:13px;font-size:11px}
.stock-tape-row strong{font-size:12px}
.stock-empty-box{padding:14px;border-radius:15px;font-size:13px}

.stock-tape-card .stock-tape-list{max-height:290px;overflow:auto}
.stock-positions-card .stock-positions-list{max-height:290px;overflow:auto}
.stock-depth-card,.stock-facts-card,.stock-order-card,.stock-side-portfolio,.stock-tape-card,.stock-positions-card{overflow:hidden}
.stock-positions-card .stock-empty-box{margin:10px 12px 0}
.stock-tape-card .stock-empty-box{margin:10px 12px 0}

@keyframes stockLinePulse{0%,100%{filter:drop-shadow(0 0 8px rgba(66,211,228,.22))}50%{filter:drop-shadow(0 0 15px rgba(66,211,228,.36))}}

@media (max-width: 1500px){
  .stock-terminal-grid{grid-template-columns:240px minmax(0,1fr) 285px}
}
@media (max-width: 1320px){
  .stock-terminal-summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stock-terminal-grid{grid-template-columns:1fr}
  .stock-watch-panel{min-height:auto}
  .stock-watch-scroll{max-height:360px}
  .stock-side-portfolio-list,.stock-tape-card .stock-tape-list,.stock-positions-card .stock-positions-list{max-height:none}
}
@media (max-width: 860px){
  .stock-live-chart-wrap,.stock-live-chart-stage{min-height:245px}
  .stock-live-chart-stage svg{height:245px}
}

/* Borsa sol panel dolgu + görünür grafik düzeltmesi */
.stock-terminal-grid{align-items:start}
.stock-watch-panel{display:grid;grid-template-rows:auto minmax(340px,1fr) auto}
.stock-watch-scroll{display:flex;flex-direction:column;gap:8px;min-height:0}
.stock-watch-fill{padding:10px 10px 12px;border-top:1px solid rgba(90,121,168,.12);background:linear-gradient(180deg,rgba(6,17,34,.22),rgba(9,23,46,.42))}
.stock-watch-fill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 2px 10px}
.stock-watch-fill-card{padding:10px 11px;border-radius:13px;border:1px solid rgba(85,112,156,.18);background:linear-gradient(180deg,rgba(11,25,46,.88),rgba(8,19,36,.96));display:grid;gap:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.stock-watch-fill-card span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:rgba(162,181,208,.75)}
.stock-watch-fill-card strong{font-size:14px;color:#f5f8ff;line-height:1.15}
.stock-watch-fill-card.ok strong{color:#69f0c7}
.stock-watch-fill-card.warn strong{color:#ffcf5c}
.stock-watch-fill-list{display:grid;gap:7px}
.stock-watch-fill-row{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:10px;padding:10px 11px;border-radius:13px;border:1px solid rgba(82,108,148,.14);background:rgba(8,19,36,.84);font-size:12px}
.stock-watch-fill-row strong{font-size:13px;color:#f5f8ff}
.stock-watch-fill-row span{font-weight:700}
.stock-watch-fill-row small{font-size:11px;color:#a9bdd7}
.stock-watch-fill-row.up span,.stock-watch-fill-row.ok span{color:#55e1b4}
.stock-watch-fill-row.down span,.stock-watch-fill-row.err span{color:#ff7d8e}
.stock-watch-fill-row.neutral span{color:#d7e0ef}
.stock-live-line{fill:none;stroke-linecap:round;stroke-linejoin:round}
.stock-live-glow-line{stroke-linecap:round;stroke-linejoin:round}

@media (max-width: 1320px){
  .stock-watch-panel{grid-template-rows:auto minmax(260px,1fr) auto}
}

/* Borsa simetrik yerleşim + kalıcı canlı grafik + scroll koruma */
.stock-terminal-grid{grid-template-columns:280px minmax(0,1fr) 300px;gap:14px;align-items:start}
.stock-watch-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:700px}
.stock-watch-scroll{display:flex;flex-direction:column;gap:8px;min-height:0;max-height:700px;overflow:auto;padding-right:2px}
.stock-live-chart-stage{padding:0 16px 2px}
.stock-live-chart-wrap,.stock-live-chart-stage{min-height:300px}
.stock-live-chart-stage svg{height:300px}
.stock-terminal-bottom-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.stock-market-pulse-card,.stock-tape-card,.stock-positions-card{min-height:250px}
.stock-watch-fill-compact{padding:0;border-top:none;background:transparent}
.stock-market-pulse-card .stock-watch-fill-grid{padding:0 0 10px}
.stock-side-portfolio-list,.stock-tape-list,.stock-positions-list{max-height:248px;overflow:auto;padding-right:2px}
.stock-live-line{stroke:#52d9e8;stroke-width:2.9;filter:drop-shadow(0 0 10px rgba(82,217,232,.30))}
.stock-live-glow-line{fill:none;stroke:rgba(127,255,237,.35);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;filter:blur(1.5px)}
.stock-live-line-trace{fill:none;stroke:rgba(209,255,251,.75);stroke-width:1.1;stroke-dasharray:7 10;stroke-linecap:round;animation:stockLineFlow 1.2s linear infinite}
.stock-live-tracker{stroke:rgba(140,255,244,.18);stroke-width:1.1;stroke-dasharray:4 8}
.stock-live-history-dot{fill:#bafff4;stroke:rgba(8,25,44,.92);stroke-width:1.2}
@keyframes stockLineFlow{from{stroke-dashoffset:0}to{stroke-dashoffset:-34}}
@media (max-width: 1500px){
  .stock-terminal-grid{grid-template-columns:255px minmax(0,1fr) 285px}
}
@media (max-width: 1320px){
  .stock-terminal-grid{grid-template-columns:1fr}
  .stock-terminal-bottom-grid,.stock-chart-bottom-grid,.stock-stat-grid-premium,.stock-terminal-summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stock-watch-panel{min-height:auto}
  .stock-watch-scroll{max-height:360px}
}
@media (max-width: 860px){
  .stock-terminal-bottom-grid,.stock-chart-bottom-grid,.stock-stat-grid-premium,.stock-terminal-summary-bar,.stock-portfolio-overview,.stock-order-stats,.stock-depth-columns{grid-template-columns:1fr}
}

/* Borsa sol varlık listesi boşluk doldurma - aynı seviye hizalama */
.stock-terminal-grid{
  align-items:start;
}
.stock-watch-panel{
  align-self:stretch;
  height:100%;
  min-height:0;
}
.stock-watch-scroll{
  flex:1 1 auto;
  max-height:none;
  height:100%;
}

/* Son düzeltme: sol varlık listesi sadece üst bölüm hizasında bitsin */
.stock-terminal-grid{
  align-items:stretch !important;
}
.stock-watch-panel{
  display:flex !important;
  flex-direction:column !important;
  align-self:stretch !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow:hidden !important;
}
.stock-watch-scroll{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow:auto !important;
}


/* Borsa üst sıra final hizalama */
.stock-terminal-grid{
  align-items:start !important;
}
.stock-watch-panel{
  align-self:start !important;
  min-height:0 !important;
  overflow:hidden !important;
}
.stock-watch-scroll{
  min-height:0 !important;
  overflow:auto !important;
}


/* Borsa sol varlık paneli: üst blokla aynı seviyede bitsin */
.stock-watch-panel{
  height:auto !important;
  max-height:none !important;
  min-height:0 !important;
}
.stock-watch-scroll{
  overflow:auto !important;
}


/* Kesin düzeltme: varlık listesi JS ile verilen yüksekliği aşmasın */
.stock-watch-panel{
  align-self:start !important;
  overflow:hidden !important;
}
.stock-watch-scroll{
  overflow-y:auto !important;
  overflow-x:hidden !important;
}


/* Final borsa layout fixes */
.stock-watch-panel{
  min-height:0 !important;
  height:auto;
  max-height:none;
}
.stock-watch-scroll{
  min-height:0 !important;
  overflow:auto !important;
}
.stock-terminal-bottom-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  align-items:stretch !important;
}
.stock-market-pulse-card,
.stock-tape-card,
.stock-positions-card{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  min-height:260px !important;
}
.stock-market-pulse-card .stock-watch-fill,
.stock-tape-list,
.stock-positions-list{
  flex:1 1 auto;
}
.stock-market-pulse-card .stock-watch-fill{
  display:flex;
  flex-direction:column;
}
.stock-market-pulse-card .stock-watch-fill-list,
.stock-tape-list,
.stock-positions-list{
  overflow:auto;
}
@media (max-width: 1320px){
  .stock-terminal-bottom-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 860px){
  .stock-terminal-bottom-grid{
    grid-template-columns:1fr !important;
  }
}

/* Admin işletme ayarları - alfabetik 3 sütun modal liste */
.admin-facility-alpha-columns{column-count:3;column-gap:10px;}
.admin-facility-alpha-columns .admin-facility-alpha-row{break-inside:avoid;display:grid;margin:0 0 7px;width:100%;}
.admin-facility-empty-state{padding:18px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(148,163,184,.12);color:#a8bfd7;text-align:center;font-weight:800;}
@media(max-width:1100px){.admin-facility-alpha-columns{column-count:2;}}
@media(max-width:720px){.admin-facility-alpha-columns{column-count:1;}}

/* Admin madencilik yönetimi - kategori kartları + modal */
.admin-mining-manager{display:grid;gap:16px;}
.admin-mining-info-card{background:rgba(45,212,191,.08)!important;border-left:3px solid #2dd4bf!important;}
.admin-mining-top-grid{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr);gap:14px;align-items:stretch;}
.admin-mining-top-card{display:grid;gap:12px;padding:14px;border-radius:20px;background:linear-gradient(145deg,rgba(10,22,38,.92),rgba(5,13,27,.98));border:1px solid rgba(148,163,184,.14);box-shadow:0 16px 42px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035);}
.admin-mining-top-card label{display:grid;gap:6px;}
.admin-mining-top-card input{width:100%;padding:10px;min-height:42px;border-radius:12px;background:rgba(10,25,45,.80);border:1px solid rgba(168,191,215,.20);color:#e2e8f0;}
.admin-mining-card-head,.admin-mining-section-head,.admin-mining-category-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}
.admin-mining-license-list{display:grid;gap:8px;max-height:260px;overflow:auto;padding-right:3px;}
.admin-mining-license-row,.admin-mining-hardware-row{appearance:none;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;text-align:left;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(148,163,184,.11);color:#e8f0fb;cursor:pointer;}
.admin-mining-license-row:hover,.admin-mining-hardware-row:hover{border-color:rgba(45,212,191,.30);background:rgba(45,212,191,.045);}
.admin-mining-license-row span,.admin-mining-hardware-row span{font-size:13px;font-weight:900;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-mining-license-row small,.admin-mining-hardware-row small{font-size:11px;color:#9fb0c6;white-space:nowrap;}
.admin-mining-hardware-row em{font-style:normal;font-size:11px;color:#86efac;}
.admin-mining-hardware-row.off{opacity:.65;border-color:rgba(239,68,68,.18);}
.admin-mining-hardware-row.off em{color:#fca5a5;}
.admin-mining-section-head{padding:14px 16px;border-radius:18px;background:linear-gradient(145deg,rgba(15,23,42,.82),rgba(6,15,30,.92));border:1px solid rgba(148,163,184,.16);}
.admin-mining-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;}
.admin-mining-category-card{display:flex;flex-direction:column;min-height:260px;padding:14px;border-radius:20px;background:linear-gradient(145deg,rgba(10,22,38,.94),rgba(5,13,26,.98));border:1px solid rgba(148,163,184,.15);box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035);}
.admin-mining-category-head{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid rgba(148,163,184,.10);}
.admin-mining-category-head strong{display:block;color:#fff;font-size:14px;}
.admin-mining-category-head small{display:block;color:#9fb0c6;font-size:11px;margin-top:3px;}
.admin-mining-hardware-list{display:grid;gap:8px;align-content:start;}
.admin-mining-empty{padding:18px 10px;border-radius:14px;background:rgba(255,255,255,.025);border:1px dashed rgba(148,163,184,.16);color:#94a3b8;text-align:center;font-size:12px;font-weight:800;}
.admin-mining-modal-root{z-index:50000!important;}
.admin-mining-modal-card{width:min(900px,calc(100vw - 28px));border-color:rgba(45,212,191,.26)!important;}
.admin-mining-modal-actions{gap:10px;align-items:center;}
.admin-mining-modal-actions .btn-danger{margin-right:auto;}
.admin-mining-modal-card textarea{width:100%;padding:10px;min-height:110px;border-radius:12px;background:rgba(10,25,45,.80);border:1px solid rgba(168,191,215,.20);color:#e2e8f0;resize:vertical;}
@media(max-width:1180px){.admin-mining-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.admin-mining-top-grid{grid-template-columns:1fr;}}
@media(max-width:760px){.admin-mining-category-grid{grid-template-columns:1fr;}.admin-mining-license-row,.admin-mining-hardware-row{grid-template-columns:1fr;}.admin-mining-card-head,.admin-mining-section-head,.admin-mining-category-head{flex-direction:column;}}

/* Kapitalist Shop - final compact premium layout */
.store-premium-shell{
  gap:12px!important;
}
.store-premium-head{
  position:relative;
  overflow:hidden;
  padding:16px 18px!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 16% -20%,rgba(250,204,21,.16),transparent 32%),
    radial-gradient(circle at 92% 0%,rgba(45,212,191,.10),transparent 34%),
    linear-gradient(180deg,rgba(7,17,31,.94),rgba(5,13,25,.91))!important;
  border-color:rgba(250,204,21,.16)!important;
}
.store-premium-headline{
  align-items:center!important;
}
.store-premium-headline h3{
  font-size:24px!important;
  letter-spacing:.01em;
}
.store-premium-stats{
  grid-template-columns:repeat(2,minmax(118px,1fr))!important;
  min-width:260px!important;
  gap:8px!important;
}
.store-premium-stat{
  padding:10px 12px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.035)!important;
}
.store-premium-stat span{
  font-size:10px!important;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.store-premium-stat strong{
  font-size:16px!important;
}
.store-premium-layout{
  grid-template-columns:240px minmax(0,1fr)!important;
  gap:12px!important;
}
.store-premium-sidebar,
.store-premium-main,
.store-premium-coupon{
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(7,17,31,.92),rgba(5,13,25,.90))!important;
  border-color:rgba(168,191,215,.10)!important;
}
.store-premium-sidebar{
  padding:12px!important;
}
.store-premium-side-list{
  gap:8px!important;
}
.store-category-switch{
  min-height:54px;
  padding:9px 10px!important;
  border-radius:15px!important;
}
.store-category-switch-icon{
  width:36px!important;
  height:36px!important;
  border-radius:12px!important;
  font-size:16px!important;
}
.store-category-switch-copy strong{
  font-size:13px!important;
}
.store-category-switch-count{
  min-width:30px!important;
  height:28px!important;
  font-size:10px!important;
}
.store-premium-main{
  padding:14px!important;
}
.store-premium-main-head{
  padding-bottom:10px!important;
  margin-bottom:10px!important;
}
.store-premium-main-title>span{
  width:38px!important;
  height:38px!important;
  border-radius:13px!important;
}
.store-premium-main-title strong{
  font-size:15px!important;
}
.store-premium-product-list{
  gap:9px!important;
}
.store-premium-item{
  min-height:86px;
  padding:11px 12px!important;
  border-radius:17px!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.042),rgba(255,255,255,.018))!important;
  border-color:rgba(168,191,215,.09)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.12)!important;
}
.store-premium-item:hover{
  border-color:rgba(250,204,21,.22)!important;
  transform:translateY(-1px);
}
.store-premium-item-icon{
  width:46px!important;
  height:46px!important;
  border-radius:15px!important;
  font-size:19px!important;
}
.store-premium-item.cosmetic .store-premium-item-icon,
.store-cosmetic-premium-item .store-premium-item-icon{
  background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(168,85,247,.10))!important;
  border-color:rgba(250,204,21,.24)!important;
}
.store-premium-item-copy{
  gap:4px!important;
}
.store-premium-item-head strong{
  font-size:14px!important;
}
.store-premium-badge{
  padding:4px 7px!important;
  font-size:9px!important;
}
.store-premium-item-description{
  max-width:100%;
  color:#a8bfd7!important;
  font-size:11px!important;
  line-height:1.42!important;
  white-space:normal!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.store-premium-item-summary{
  font-size:11px!important;
  color:#d3e4f8!important;
}
.store-premium-item-meta{
  gap:8px 12px!important;
  font-size:10px!important;
}
.store-premium-tags{
  gap:5px!important;
}
.store-premium-tag{
  padding:4px 7px!important;
  font-size:9px!important;
}
.store-premium-item-actions{
  min-width:118px!important;
  gap:7px!important;
}
.store-premium-item-price{
  padding:7px 10px!important;
  font-size:11px!important;
}
.store-premium-buy{
  min-width:112px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
}
.store-premium-main-foot{
  margin-top:10px!important;
  padding-top:10px!important;
}
.store-premium-bottom-grid{
  grid-template-columns:minmax(240px,360px)!important;
  gap:12px!important;
}
.store-premium-coupon{
  padding:14px!important;
}
.store-bottom-card-head{
  margin-bottom:10px!important;
  padding-bottom:10px!important;
}
.store-bottom-card-head h3{
  margin:0!important;
  font-size:15px!important;
}
.store-owned-inline-list{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:10px!important;
}
.store-owned-inline-group{
  border-radius:16px!important;
  padding:11px!important;
}
.store-owned-inline-item{
  padding:7px 9px!important;
}
.store-owned-inline-item strong{
  font-size:11px!important;
}
.store-owned-inline-item span{
  font-size:9px!important;
}
@media (max-width:1200px){
  .store-premium-layout{grid-template-columns:1fr!important}
  .store-premium-sidebar{position:static!important}
  .store-premium-side-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:760px){
  .store-premium-side-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .store-premium-stats{width:100%!important;min-width:0!important}
  .store-premium-item{grid-template-columns:1fr!important}
  .store-premium-item-actions{grid-template-columns:1fr 1fr!important;justify-items:stretch!important;min-width:0!important}
  .store-premium-buy{width:100%!important;min-width:0!important}
}
.admin-mining-category-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex:none;}
.admin-mining-auto-btn{padding:7px 9px!important;min-height:32px!important;font-size:11px!important;border-color:rgba(45,212,191,.24)!important;background:rgba(45,212,191,.075)!important;white-space:nowrap;}
.admin-mining-auto-modal-card{width:min(760px,calc(100vw - 28px));}
.admin-mining-auto-form-modal{display:grid;gap:14px;padding:16px;}
.admin-mining-auto-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
.admin-mining-auto-grid label{display:grid;gap:6px;font-size:12px;font-weight:900;color:#cbd5e1;}
.admin-mining-auto-grid input{width:100%;padding:10px;min-height:40px;border-radius:12px;background:rgba(10,25,45,.86);border:1px solid rgba(168,191,215,.20);color:#e2e8f0;}
.admin-mining-auto-preview{display:grid;gap:7px;max-height:320px;overflow:auto;padding:8px;border-radius:16px;background:rgba(2,6,23,.30);border:1px solid rgba(148,163,184,.10);}
.admin-mining-auto-preview-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid rgba(148,163,184,.09);}
.admin-mining-auto-preview-row span{font-size:12px;font-weight:900;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-mining-auto-preview-row small{font-size:11px;color:#9ff5df;white-space:nowrap;font-weight:800;}
@media(max-width:1080px){.admin-mining-auto-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.admin-mining-category-actions{width:100%;justify-content:flex-start;}.admin-mining-auto-grid{grid-template-columns:1fr;}.admin-mining-auto-preview-row{grid-template-columns:1fr;}}

/* =========================================================
   KAPİTALİZM COMPLETE PREMIUM THEME PASS
   - Visual layer only: no gameplay, DB, or feature logic changed.
   - Local transparent assets are used from /assets.
   ========================================================= */
:root{
  --bg:#050b14!important;
  --bg2:#071426!important;
  --card:#09172b!important;
  --card2:#0d2039!important;
  --line:rgba(244,196,79,.15)!important;
  --text:#eef5ff!important;
  --muted:#9fb1c8!important;
  --brand:#f4c44f!important;
  --brand2:#ffdd86!important;
  --warn:#f4c44f!important;
  --danger:#ef4444!important;
  --ok:#22c55e!important;
  --radius:22px!important;
  --shadow:0 24px 72px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.035)!important;
  --k-gold:#f4c44f;
  --k-gold-2:#ffdf8a;
  --k-gold-3:#8b5a0a;
  --k-cyan:#2fd6e6;
  --k-panel:rgba(8,18,34,.94);
  --k-panel-2:rgba(12,28,49,.92);
  --k-border:rgba(244,196,79,.18);
  --k-border-soft:rgba(148,163,184,.14);
}
html,body{min-height:100%;background:#050b14!important;color:var(--text)!important;}
body{
  background-image:
    radial-gradient(circle at 18% 5%,rgba(244,196,79,.115),transparent 23%),
    radial-gradient(circle at 88% 8%,rgba(47,214,230,.09),transparent 20%),
    radial-gradient(circle at 50% 100%,rgba(244,196,79,.045),transparent 34%),
    url('premium-ui-bg.svg')!important;
  background-size:auto,auto,auto,cover!important;
  background-attachment:fixed!important;
  overflow-x:hidden;
}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(180deg,rgba(2,8,18,.30),rgba(2,8,18,.76));}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:78px 78px;mask-image:linear-gradient(180deg,rgba(0,0,0,.65),transparent 84%);}

/* Global form symmetry */
input,select,textarea{
  background:linear-gradient(180deg,rgba(9,20,36,.94),rgba(6,15,29,.96))!important;
  border:1px solid rgba(148,163,184,.18)!important;
  color:#eef5ff!important;
  border-radius:16px!important;
  min-height:46px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
textarea{min-height:118px!important;}
input:focus,select:focus,textarea:focus{border-color:rgba(244,196,79,.62)!important;box-shadow:0 0 0 4px rgba(244,196,79,.10),inset 0 1px 0 rgba(255,255,255,.04)!important;}
select option{background:#071426!important;color:#eef5ff!important;}
label{color:#b9c8da!important;font-weight:700;}

/* App shell */
#app{grid-template-columns:282px minmax(0,1fr)!important;background:transparent!important;}
.sidebar{
  position:sticky!important;top:0!important;height:100vh!important;
  padding:16px 15px!important;
  background:linear-gradient(180deg,rgba(4,10,20,.985),rgba(6,15,28,.985))!important;
  border-right:1px solid rgba(244,196,79,.16)!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.035),22px 0 80px rgba(0,0,0,.18)!important;
}
.sidebar::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 0%,rgba(244,196,79,.10),transparent 34%),linear-gradient(180deg,rgba(244,196,79,.035),transparent 36%);}
.sidebar>*{position:relative;z-index:1;}
.sidebar-header{display:grid!important;justify-items:center!important;gap:10px!important;margin:0 0 16px!important;padding:0 0 16px!important;border-bottom:1px solid rgba(244,196,79,.14)!important;}
.sidebar .brand-logo-stage{width:166px!important;height:166px!important;display:grid!important;place-items:center!important;margin:0 auto!important;background:radial-gradient(circle at 50% 40%,rgba(244,196,79,.12),transparent 54%)!important;border:1px solid rgba(244,196,79,.16)!important;border-radius:28px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 18px 50px rgba(0,0,0,.22),0 0 35px rgba(244,196,79,.06)!important;}
.sidebar .brand-logo-stage::before,.sidebar .brand-logo-stage::after{display:none!important;}
.sidebar .brand-logo.big{width:142px!important;height:142px!important;object-fit:contain!important;filter:drop-shadow(0 12px 30px rgba(0,0,0,.32)) drop-shadow(0 0 18px rgba(244,196,79,.16))!important;}
.sidebar-brand-copy{text-align:center!important;display:grid!important;gap:4px!important;}
.sidebar-brand-copy strong{font-family:Georgia,'Times New Roman',serif!important;font-size:20px!important;font-weight:900!important;letter-spacing:.16em!important;line-height:1!important;color:#ffdf8a!important;text-shadow:0 0 24px rgba(244,196,79,.18)!important;}
.sidebar-brand-copy span{font-size:9px!important;letter-spacing:.28em!important;color:#d4aa42!important;text-transform:uppercase!important;margin-left:.28em!important;}
.menu{gap:9px!important;padding-right:3px!important;align-content:start!important;}
.menu-btn{
  position:relative!important;display:flex!important;align-items:center!important;gap:12px!important;
  min-height:54px!important;padding:12px 13px!important;border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.034),rgba(255,255,255,.016))!important;
  border:1px solid rgba(148,163,184,.13)!important;color:#e9f2ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.032)!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.menu-btn .menu-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:12px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(244,196,79,.13)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 10px 24px rgba(0,0,0,.16)!important;}
.menu-btn .menu-icon img{width:100%!important;height:100%!important;object-fit:contain!important;padding:4px!important;}
.menu-btn span:last-child{font-weight:800!important;letter-spacing:.01em!important;}
.menu-btn:hover,.menu-btn.active{transform:translateX(2px)!important;background:linear-gradient(90deg,rgba(112,76,10,.64),rgba(244,196,79,.16),rgba(47,214,230,.045))!important;border-color:rgba(244,196,79,.46)!important;box-shadow:0 0 0 1px rgba(244,196,79,.14) inset,0 16px 34px rgba(0,0,0,.18),0 0 26px rgba(244,196,79,.08)!important;}
.menu-btn.active::before{content:""!important;position:absolute!important;left:-1px!important;top:11px!important;bottom:11px!important;width:4px!important;border-radius:999px!important;background:linear-gradient(180deg,#fff2b8,#f4c44f,#8b5a0a)!important;box-shadow:0 0 18px rgba(244,196,79,.52)!important;}
.sidebar-foot{margin-top:auto!important;padding-top:14px!important;border-top:1px solid rgba(244,196,79,.13)!important;background:linear-gradient(180deg,rgba(6,15,28,0),rgba(6,15,28,.94) 18%,rgba(6,15,28,.99))!important;}
.sidebar .btn-danger.btn-block{height:48px!important;border-radius:16px!important;background:linear-gradient(135deg,#6c1717,#c83332,#f06d5d)!important;color:#fff!important;border:1px solid rgba(255,190,185,.26)!important;}

.main{padding:22px 24px 30px!important;min-width:0!important;}
.topbar{
  position:relative!important;overflow:hidden!important;align-items:center!important;
  padding:18px 20px!important;margin-bottom:18px!important;border-radius:30px!important;
  background:linear-gradient(110deg,rgba(8,19,35,.96),rgba(5,14,28,.985) 58%,rgba(9,20,36,.96))!important;
  border:1px solid rgba(244,196,79,.15)!important;
  box-shadow:0 22px 66px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.topbar::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 18% 0%,rgba(244,196,79,.13),transparent 30%),radial-gradient(circle at 92% 18%,rgba(47,214,230,.06),transparent 26%);}
.topbar>*{position:relative;z-index:1;}
.topbar .company-title-premium{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(28px,2.55vw,40px)!important;font-weight:900!important;letter-spacing:.015em!important;color:#fff8df!important;text-shadow:0 14px 40px rgba(0,0,0,.38),0 0 24px rgba(244,196,79,.14)!important;}
.topbar .header-left.company-identity::after{width:116px!important;height:2px!important;background:linear-gradient(90deg,#fff2b8,#f4c44f,rgba(47,214,230,.34),transparent)!important;}
.topbar-meta-line{gap:12px!important;}
.topbar-status{background:rgba(34,197,94,.10)!important;border:1px solid rgba(34,197,94,.20)!important;color:#9dfabf!important;}
.top-stats{display:grid!important;grid-template-columns:repeat(5,minmax(136px,1fr))!important;gap:12px!important;align-items:stretch!important;}
.top-stat{min-width:0!important;min-height:72px!important;padding:14px 13px 13px 52px!important;border-radius:20px!important;background:linear-gradient(180deg,rgba(11,26,47,.96),rgba(7,17,32,.98))!important;border:1px solid rgba(148,163,184,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 13px 34px rgba(0,0,0,.18)!important;}
.top-stat::before{left:13px!important;width:30px!important;height:30px!important;border-radius:11px!important;background:radial-gradient(circle at 35% 30%,rgba(255,242,184,.32),rgba(244,196,79,.12))!important;border:1px solid rgba(244,196,79,.35)!important;color:#ffdf8a!important;}
.top-stat span{font-size:11px!important;letter-spacing:.05em!important;text-transform:uppercase!important;color:#9fb1c8!important;}
.top-stat strong{font-size:16px!important;color:#fff!important;white-space:nowrap!important;}

/* Universal premium cards/lists */
.panel-card,.auth-card,.install-card,.company-box,.inventory-card,.mission-card,.dialog-card,.market-item,.facility-item,.admin-user,.mini-item,.dm-sidebar-panel,.dm-main-panel,.central-bank-shell article,.store-category-column,.blackmarket-card,.shop-card,.product-card,.payment-card,.admin-panel,.admin-card,.settings-card{
  background:linear-gradient(180deg,rgba(10,23,41,.955),rgba(6,15,29,.982))!important;
  border:1px solid rgba(148,163,184,.135)!important;
  border-radius:24px!important;
  box-shadow:0 20px 58px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.panel-card{padding:20px!important;}
.panel-card.hero{background:radial-gradient(circle at 15% 0%,rgba(244,196,79,.14),transparent 34%),linear-gradient(135deg,rgba(12,27,49,.96),rgba(5,14,27,.98))!important;border-color:rgba(244,196,79,.24)!important;}
.panel-card h3,.panel-card h2,.card h3,.admin-panel h3,.admin-card h3,.shop-card h3,.product-card h3{color:#fff7df!important;font-weight:900!important;letter-spacing:-.015em!important;}
.panel-card h3::before,.panel-card h2::before{content:"";display:inline-block;width:7px;height:18px;border-radius:999px;margin-right:9px;vertical-align:-3px;background:linear-gradient(180deg,#fff2b8,#f4c44f,#8b5a0a);box-shadow:0 0 16px rgba(244,196,79,.28);}
.grid-cards,.grid-2,.grid-3,.dashboard-grid{gap:18px!important;align-items:stretch!important;}
.grid-cards>.panel-card,.grid-2>.panel-card,.grid-3>.panel-card,.dashboard-grid>.panel-card{height:100%;}
.stat-list{gap:10px!important;}
.stat-list>div,.mini-item,.market-item,.facility-item,.admin-user{align-items:center!important;padding:14px 16px!important;border-radius:18px!important;background:linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.016))!important;border:1px solid rgba(148,163,184,.12)!important;}
.market-item,.facility-item,.admin-user{display:flex!important;justify-content:space-between!important;gap:16px!important;}
.item-actions{gap:8px!important;align-items:center!important;}
.item-meta{color:#aebdd0!important;line-height:1.5!important;}
.badge,.pill,.tag,.license-tag,.quality-badge,.status-badge,.market-quality-badge,.production-tier-badge,.filter-chip,.category-chip{border-radius:999px!important;background:rgba(244,196,79,.08)!important;border:1px solid rgba(244,196,79,.20)!important;color:#ffdf8a!important;font-weight:800!important;}
.badge.ok{background:rgba(34,197,94,.10)!important;border-color:rgba(34,197,94,.22)!important;color:#9dfabf!important;}
.badge.warn{background:rgba(244,196,79,.10)!important;border-color:rgba(244,196,79,.28)!important;color:#ffdf8a!important;}
.badge.danger{background:rgba(239,68,68,.10)!important;border-color:rgba(239,68,68,.24)!important;color:#fecaca!important;}

/* Buttons */
.btn,.subnav-btn,.landing-submit,.landing-cta,.landing-btn,.ranking-link,button[type=submit]{border-radius:16px!important;font-weight:900!important;letter-spacing:.01em!important;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease!important;}
.btn:hover,.subnav-btn:hover,.landing-submit:hover,.landing-cta:hover,.landing-btn:hover,button[type=submit]:hover{transform:translateY(-1px)!important;}
.btn-primary,.landing-submit,.landing-cta.primary,.landing-btn.gold,button[type=submit]{background:linear-gradient(135deg,#fff2b8 0%,#f4c44f 42%,#b87910 100%)!important;color:#120d03!important;border:1px solid rgba(255,226,138,.45)!important;box-shadow:0 14px 34px rgba(244,196,79,.18),inset 0 1px 0 rgba(255,255,255,.38)!important;}
.btn-secondary,.subnav-btn,.landing-btn.ghost,.landing-cta.secondary{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.018))!important;color:#edf5ff!important;border:1px solid rgba(148,163,184,.15)!important;}
.btn-danger{background:linear-gradient(135deg,#6c1717,#d73b34,#f06d5d)!important;color:#fff!important;border:1px solid rgba(255,190,185,.25)!important;}

/* Sub navigation / tabs */
.subnav{padding:10px!important;border-radius:26px!important;background:linear-gradient(90deg,rgba(7,17,31,.94),rgba(4,12,24,.98))!important;border:1px solid rgba(244,196,79,.13)!important;gap:10px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 16px 44px rgba(0,0,0,.18)!important;}
.subnav-btn{min-height:44px!important;padding:10px 15px!important;}
.subnav-btn.active{background:linear-gradient(135deg,rgba(244,196,79,.22),rgba(139,90,10,.24))!important;border-color:rgba(244,196,79,.45)!important;color:#fff8df!important;box-shadow:0 0 0 1px rgba(244,196,79,.12) inset,0 12px 28px rgba(0,0,0,.18)!important;}

/* Product/facility icon presentation */
.ui-good-icon,.ui-facility-icon,.market-good-icon,.store-cosmetic-visual-icon,.store-owned-cosmetic-icon{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;}
.ui-good-icon img,.ui-facility-icon img,.market-good-icon img,.store-cosmetic-visual-icon img,.store-owned-cosmetic-icon img{object-fit:contain!important;filter:drop-shadow(0 7px 12px rgba(0,0,0,.30)) drop-shadow(0 0 7px rgba(244,196,79,.08));}
.ui-good-icon{width:30px!important;height:30px!important;}.ui-good-icon.small{width:20px!important;height:20px!important;}.ui-facility-icon,.market-good-icon{width:34px!important;height:34px!important;}
.premium-build-icon,.production-guide-icon{background:linear-gradient(135deg,rgba(244,196,79,.12),rgba(47,214,230,.045))!important;border:1px solid rgba(244,196,79,.16)!important;}

/* Tables and scroll containers */
table{border-collapse:separate!important;border-spacing:0 8px!important;width:100%!important;}
th{color:#ffdf8a!important;text-transform:uppercase!important;font-size:11px!important;letter-spacing:.08em!important;text-align:left!important;}
td,th{padding:10px 12px!important;}
tr{background:rgba(255,255,255,.025)!important;}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:rgba(255,255,255,.025);border-radius:999px}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(244,196,79,.50),rgba(139,90,10,.72));border-radius:999px;border:2px solid rgba(5,11,20,.82)}

/* Premium global chat */
.global-chat-shell{right:18px!important;bottom:18px!important;width:410px!important;max-width:calc(100vw - 28px)!important;z-index:50000!important;}
.global-chat-window{position:relative!important;overflow:hidden!important;margin-bottom:10px!important;padding:16px!important;border-radius:28px!important;background:linear-gradient(180deg,rgba(7,17,31,.95),rgba(4,11,22,.985))!important;border:1px solid rgba(244,196,79,.24)!important;box-shadow:0 34px 100px rgba(0,0,0,.50),0 0 55px rgba(244,196,79,.08),inset 0 1px 0 rgba(255,255,255,.05)!important;backdrop-filter:blur(18px)!important;}
.global-chat-window::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 0%,rgba(244,196,79,.13),transparent 31%),radial-gradient(circle at 100% 20%,rgba(47,214,230,.08),transparent 31%);}
.global-chat-window>*{position:relative;z-index:1;}
.global-chat-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 2px 13px!important;margin:0 0 12px!important;border-bottom:1px solid rgba(244,196,79,.15)!important;}
.global-chat-head strong{display:block!important;font-family:Georgia,'Times New Roman',serif!important;font-size:20px!important;letter-spacing:.03em!important;color:#fff2b8!important;text-shadow:0 0 24px rgba(244,196,79,.18)!important;}
.global-chat-head span{display:block!important;margin-top:2px!important;color:#9fb1c8!important;font-size:12px!important;font-weight:700!important;}
.global-chat-head em{font-style:normal!important;font-size:12px!important;font-weight:900!important;color:#9dfabf!important;background:rgba(34,197,94,.10)!important;border:1px solid rgba(34,197,94,.22)!important;border-radius:999px!important;padding:6px 9px!important;}
.global-chat-feed{height:455px!important;gap:9px!important;padding-right:4px!important;}
.global-chat-line.premium-chat-message{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:11px!important;align-items:start!important;padding:11px!important;border-radius:18px!important;min-height:62px!important;}
.premium-chat-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,rgba(255,242,184,.28),rgba(244,196,79,.10));border:1px solid rgba(244,196,79,.28);color:#ffdf8a;font-size:12px;font-weight:950;letter-spacing:-.04em;box-shadow:0 10px 24px rgba(0,0,0,.20),0 0 18px rgba(244,196,79,.08);}
.premium-chat-avatar.has-avatar,.dm-avatar.has-avatar,.social-mini-avatar.has-avatar,.pm-list-avatar.has-avatar,.leaderboard-avatar.has-avatar{padding:0!important;overflow:hidden!important;background:linear-gradient(145deg,rgba(15,23,42,.98),rgba(5,10,20,.98))!important;border-color:color-mix(in srgb,var(--avatar-main,#f4c44f) 52%,rgba(255,255,255,.18))!important;box-shadow:0 10px 24px rgba(0,0,0,.24),0 0 18px var(--avatar-glow,rgba(244,196,79,.18))!important;}
.premium-chat-avatar img,.dm-avatar img,.social-mini-avatar img,.pm-list-avatar img,.leaderboard-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.social-row-with-avatar{align-items:center!important;}.social-row-main{display:flex;align-items:center;gap:11px;min-width:0;}
.social-mini-avatar,.pm-list-avatar,.leaderboard-avatar{display:grid;place-items:center;flex:0 0 auto;overflow:hidden;background:linear-gradient(135deg,rgba(244,196,79,.16),rgba(76,195,255,.10));border:1px solid rgba(244,196,79,.20);color:#ffdf8a;font-weight:950;box-shadow:0 10px 22px rgba(0,0,0,.18);}
.social-mini-avatar{width:38px;height:38px;border-radius:14px;font-size:12px;}.pm-list-avatar{width:24px;height:24px;border-radius:9px;font-size:9px;}.leaderboard-avatar{width:48px;height:48px;border-radius:16px;font-size:13px;}.leaderboard-avatar-lg{width:58px;height:58px;border-radius:19px;font-size:15px;}
.social-mini-avatar.logo-avatar,.pm-list-avatar.logo-avatar,.dm-avatar.logo-avatar{background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.16);}

.premium-chat-content{min-width:0;display:grid;gap:5px;}
.premium-chat-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;}
.chat-profile-open.premium-chat-company{display:inline-flex!important;align-items:center!important;gap:7px!important;min-width:0!important;max-width:100%!important;background:none!important;border:none!important;padding:0!important;margin:0!important;color:inherit!important;font:inherit!important;cursor:pointer!important;text-align:left!important;}
.chat-profile-open.premium-chat-company:hover{filter:brightness(1.16);text-decoration:none!important;}
.chat-profile-open.premium-chat-company span:last-child{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:210px!important;}
.license-prefix{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:3px 7px!important;border-radius:999px!important;font-size:10px!important;font-weight:950!important;line-height:1!important;white-space:nowrap!important;}
.premium-chat-time{font-size:11px!important;color:#8fa2bb!important;font-weight:800!important;white-space:nowrap!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(148,163,184,.10)!important;border-radius:999px!important;padding:4px 7px!important;}
.premium-chat-body{color:#e9f2ff!important;font-size:13px!important;line-height:1.42!important;word-break:break-word!important;}
.global-chat-form{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;margin-top:12px!important;padding-top:12px!important;border-top:1px solid rgba(244,196,79,.12)!important;}
.global-chat-form input{height:50px!important;border-radius:18px!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(244,196,79,.16)!important;}
.global-chat-form .btn{height:50px!important;min-width:92px!important;}
.global-chat-toggle{height:54px!important;border-radius:20px!important;border:1px solid rgba(244,196,79,.28)!important;background:linear-gradient(135deg,rgba(7,17,31,.96),rgba(139,90,10,.42),rgba(8,18,34,.96))!important;color:#fff2b8!important;box-shadow:0 24px 55px rgba(0,0,0,.32),0 0 32px rgba(244,196,79,.10),inset 0 1px 0 rgba(255,255,255,.05)!important;font-weight:900!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;}
.global-chat-toggle span{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:rgba(244,196,79,.10);border:1px solid rgba(244,196,79,.20);}
.global-chat-collapsed{gap:7px!important;margin-bottom:9px!important;}
.global-chat-toast{background:linear-gradient(180deg,rgba(7,17,31,.72),rgba(5,12,23,.76))!important;border:1px solid rgba(244,196,79,.14)!important;border-radius:16px!important;color:#fff!important;box-shadow:0 14px 36px rgba(0,0,0,.22)!important;}
#globalChatPanel{gap:10px!important;}
#globalChatPanel .global-chat-line{min-height:58px!important;}
.premium-chat-empty{justify-content:center!important;text-align:center!important;color:#9fb1c8!important;}

/* Social / DM polish */
.dm-shell{display:grid!important;grid-template-columns:340px minmax(0,1fr)!important;gap:18px!important;align-items:stretch!important;}
.dm-sidebar-panel,.dm-main-panel{min-height:560px!important;}
.dm-thread-feed{background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.012))!important;border:1px solid rgba(148,163,184,.10)!important;border-radius:20px!important;}
.dm-composer{border-radius:20px!important;border:1px solid rgba(244,196,79,.14)!important;background:rgba(255,255,255,.025)!important;}

/* Modal/popup top layer safety */
.dialog-root,.modal,.popup,.howto-modal,.profile-modal-wrap,#retailPriceModal{z-index:999999!important;}
.dialog-backdrop{background:rgba(0,0,0,.70)!important;backdrop-filter:blur(9px)!important;}
.dialog-card,.modal-card,.popup-card,.howto-card{border:1px solid rgba(244,196,79,.26)!important;border-radius:30px!important;background:linear-gradient(180deg,rgba(7,17,31,.985),rgba(3,9,20,.995))!important;box-shadow:0 44px 140px rgba(0,0,0,.66),0 0 60px rgba(244,196,79,.09),inset 0 1px 0 rgba(255,255,255,.05)!important;}
.dialog-head{border-bottom:1px solid rgba(244,196,79,.13)!important;padding-bottom:12px!important;}
.dialog-close{width:36px!important;height:36px!important;border-radius:12px!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(148,163,184,.16)!important;}

/* Landing premium alignment */
.landing-shell{background:radial-gradient(circle at 16% 0%,rgba(244,196,79,.12),transparent 28%),radial-gradient(circle at 88% 4%,rgba(47,214,230,.08),transparent 22%),linear-gradient(180deg,#050b14,#071426 48%,#050b14)!important;}
.landing-logo{width:66px!important;height:66px!important;object-fit:contain!important;filter:drop-shadow(0 0 20px rgba(244,196,79,.20))!important;}
.landing-brand strong{font-family:Georgia,'Times New Roman',serif!important;color:#ffdf8a!important;letter-spacing:.04em!important;}
.landing-nav,.landing-dashboard,.landing-feature-section,.landing-form-card,.landing-guide-card{border-color:rgba(244,196,79,.18)!important;}
.landing-dashboard,.landing-form-card,.landing-guide-card,.landing-feature-section{border-radius:26px!important;background:linear-gradient(180deg,rgba(9,20,36,.90),rgba(5,13,27,.96))!important;box-shadow:0 26px 90px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04)!important;}

/* Admin wide panels symmetry */
.admin-facility-settings-head,.admin-facility-row{border-radius:22px!important;}
.admin-facility-row{grid-template-columns:minmax(0,1fr) minmax(380px,.72fr)!important;align-items:center!important;}
.admin-facility-controls{align-items:end!important;}
.admin-facility-title > .ui-facility-icon{width:44px!important;height:44px!important;}

/* Mining / blackmarket / shop compact symmetry */
.store-category-column,.blackmarket-card,.mining-card,.mining-machine-card,.stock-card,.central-bank-card{border-radius:24px!important;border:1px solid rgba(148,163,184,.13)!important;background:linear-gradient(180deg,rgba(10,23,41,.94),rgba(5,13,27,.98))!important;box-shadow:0 20px 58px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035)!important;}
.store-category-head,.blackmarket-head,.mining-head{border-bottom:1px solid rgba(244,196,79,.13)!important;}

/* Symmetry guards */
.inline-form{align-items:end!important;gap:12px!important;}.inline-form .btn{min-height:46px!important;}.stack-form{gap:14px!important;}.profile-box{align-items:center!important;}.avatar-wrap{border:1px solid rgba(244,196,79,.20)!important;background:transparent!important;}.avatar-wrap img{object-fit:contain!important;padding:8px!important;background:transparent!important;}
.full-span,.wide-card{grid-column:1/-1!important;}

@media (max-width:1280px){.top-stats{grid-template-columns:repeat(3,minmax(150px,1fr))!important}.dm-shell{grid-template-columns:300px minmax(0,1fr)!important}.admin-facility-row{grid-template-columns:1fr!important}}
@media (max-width:1100px){#app{grid-template-columns:1fr!important}.sidebar{position:relative!important;height:auto!important;border-right:0!important;border-bottom:1px solid rgba(244,196,79,.16)!important}.menu{grid-template-columns:repeat(2,minmax(0,1fr))!important}.main{padding:16px!important}.topbar{align-items:flex-start!important}.top-stats{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.dm-shell{grid-template-columns:1fr!important}.dm-sidebar-panel,.dm-main-panel{min-height:auto!important}}
@media (max-width:760px){.menu{grid-template-columns:1fr!important}.grid-cards,.grid-2,.grid-3,.dashboard-grid{grid-template-columns:1fr!important}.top-stats{grid-template-columns:1fr!important}.market-item,.facility-item,.admin-user,.mini-item{align-items:flex-start!important;flex-direction:column!important}.item-actions{width:100%!important}.global-chat-shell{right:10px!important;bottom:10px!important;width:calc(100vw - 20px)!important}.global-chat-feed{height:360px!important}.global-chat-line.premium-chat-message{grid-template-columns:36px minmax(0,1fr)!important}.premium-chat-avatar{width:36px;height:36px;border-radius:12px}.chat-profile-open.premium-chat-company span:last-child{max-width:170px!important}}

/* Ar-Ge toplu geliştirme: seviye göstergesi ve premium modal */
.rd-invest-row{
  align-items:center!important;
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) minmax(170px,220px) auto!important;
  gap:16px!important;
}
.rd-invest-info{min-width:0;}
.rd-invest-level{
  display:grid;
  gap:7px;
  min-width:170px;
  padding:9px 12px;
  border-radius:16px;
  border:1px solid rgba(244,196,79,.22);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.rd-invest-level span{
  color:#ffe7a3;
  font-weight:900;
  text-align:center;
  letter-spacing:.03em;
}
.rd-invest-bar{
  height:7px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.07);
}
.rd-invest-bar i{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#9a6a14,#f4c44f,#fff2b8);
  box-shadow:0 0 14px rgba(244,196,79,.28);
}
.rd-invest-actions{
  justify-content:flex-end;
  flex-wrap:nowrap!important;
}
.invest-bulk-btn{
  min-width:42px!important;
  width:42px!important;
  height:42px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
  font-size:24px!important;
  line-height:1!important;
  color:#ffe7a3!important;
  border-color:rgba(244,196,79,.42)!important;
  background:linear-gradient(180deg,rgba(244,196,79,.22),rgba(77,50,8,.28))!important;
}
.invest-bulk-btn:hover:not(:disabled){
  transform:translateY(-1px);
  box-shadow:0 0 18px rgba(244,196,79,.20);
}
.invest-bulk-btn:disabled,
.rd-invest-actions .btn:disabled{
  opacity:.48;
  cursor:not-allowed;
}
.investment-bulk-modal-root{
  position:fixed;
  inset:0;
  z-index:29000;
  display:grid;
  place-items:center;
  padding:22px;
}
.investment-bulk-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.68);
  backdrop-filter:blur(5px);
}
.investment-bulk-card{
  position:relative;
  width:min(560px,calc(100vw - 32px));
  border-radius:26px;
  border:1px solid rgba(244,196,79,.34);
  background:linear-gradient(180deg,rgba(13,27,45,.98),rgba(7,14,24,.98));
  box-shadow:0 28px 90px rgba(0,0,0,.58),0 0 42px rgba(244,196,79,.10),inset 0 1px 0 rgba(255,255,255,.06);
  padding:20px;
}
.investment-bulk-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(244,196,79,.16);
}
.investment-bulk-head h3{
  margin:0;
  color:#fff3c4;
  font-size:22px;
}
.investment-bulk-note{
  margin:14px 0;
  color:#d8c99f;
  line-height:1.5;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(244,196,79,.16);
  background:rgba(244,196,79,.07);
}
.investment-bulk-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.investment-bulk-stat,
.investment-bulk-field{
  display:grid;
  gap:7px;
  min-height:76px;
  padding:13px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
}
.investment-bulk-stat span,
.investment-bulk-field span{
  color:#9fb0c7;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.investment-bulk-stat strong{
  color:#fff;
  font-size:17px;
}
.investment-bulk-field input{
  width:100%;
  min-height:38px;
  border-radius:13px;
  text-align:center;
  font-size:17px;
  font-weight:900;
}
.investment-bulk-warning{
  min-height:22px;
  margin-top:12px;
  color:#ffe7a3!important;
}
.investment-bulk-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:14px;
}
@media (max-width:840px){
  .rd-invest-row{grid-template-columns:1fr!important;align-items:stretch!important;}
  .rd-invest-actions{justify-content:flex-start;flex-wrap:wrap!important;}
  .investment-bulk-grid{grid-template-columns:1fr;}
}

/* Kademeli inşaat hızlandırma */
.facility-rush-actions{display:grid;grid-template-columns:repeat(4,minmax(64px,1fr));gap:6px;min-width:300px;max-width:420px}
.facility-rush-actions .btn{padding:7px 8px;border-radius:12px;font-size:12px;line-height:1.1;min-height:42px;white-space:nowrap}
.facility-rush-actions small{display:block;margin-top:3px;font-size:10px;font-weight:700;opacity:.86;color:rgba(5,17,26,.82)}
@media (max-width:760px){.facility-rush-actions{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%}.facility-rush-actions .btn{width:100%}}

/* Admin işletme ayar modalı: günlük adet, saatlik karşılık ve kâr/zarar özeti */
.admin-facility-modal-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:end!important;gap:10px!important;}
.admin-facility-modal-controls label{min-width:0!important;}
.admin-facility-modal-controls [data-hourly-display]{background:rgba(15,23,42,.72)!important;color:#facc15!important;border-color:rgba(250,204,21,.24)!important;}
.admin-facility-calc-preview{margin-top:10px;}
.admin-facility-calc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.admin-facility-calc-card{min-width:0;padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(148,163,184,.13);box-shadow:inset 0 1px 0 rgba(255,255,255,.025);}
.admin-facility-calc-card small{display:block;color:#9fb0c6;font-size:10px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.2;min-height:24px;}
.admin-facility-calc-card strong{display:block;margin-top:6px;color:#f8fafc;font-size:13px;font-weight:950;white-space:nowrap;overflow:visible;text-overflow:clip;font-variant-numeric:tabular-nums;line-height:1.15;}
.admin-facility-calc-card.result.ok{border-color:rgba(34,197,94,.28);background:rgba(34,197,94,.075);}
.admin-facility-calc-card.result.ok strong{color:#86efac;}
.admin-facility-calc-card.result.danger{border-color:rgba(239,68,68,.30);background:rgba(239,68,68,.075);}
.admin-facility-calc-card.result.danger strong{color:#fca5a5;}
.facility-paused-note{display:inline-flex;margin-top:7px;padding:7px 10px;border-radius:999px;border:1px solid rgba(239,68,68,.34);background:rgba(239,68,68,.10);color:#fecaca;font-size:11px;font-weight:900;}
.premium-build-card:has(.facility-paused-note){border-color:rgba(239,68,68,.30)!important;background:linear-gradient(145deg,rgba(48,13,19,.72),rgba(8,18,33,.90))!important;}
@media(max-width:1180px){.admin-facility-calc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.admin-facility-calc-card.result{grid-column:1/-1;}}
@media(max-width:720px){.admin-facility-modal-controls{grid-template-columns:1fr!important}.admin-facility-calc-grid{grid-template-columns:1fr;}}

/* Hotfix: admin işletme modalında hesap kartları sağ kontrol alanına taşmasın */
.admin-facility-modal-list.single .admin-facility-row{overflow:hidden!important;}
.admin-facility-calc-preview{min-width:0!important;overflow:hidden!important;}
.admin-facility-calc-grid{min-width:0!important;}
.admin-facility-modal-controls{min-width:0!important;}
@media(max-width:980px){.admin-facility-row{grid-template-columns:1fr!important}.admin-facility-calc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Hotfix: işletme inşaat geri sayımı ve admin modal min-max hesap görünümü */
.facility-build-countdown{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  padding:7px 10px;
  border-radius:999px;
  width:max-content;
  max-width:100%;
  background:rgba(250,204,21,.10);
  border:1px solid rgba(250,204,21,.28);
  color:#fde68a;
  font-size:12px;
  font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.facility-build-countdown span{color:#cbd5e1;font-size:11px;font-weight:800;}
.facility-build-countdown strong{color:#facc15;font-size:12px;font-weight:950;font-variant-numeric:tabular-nums;}
.facility-build-countdown.ready{background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.28);color:#bbf7d0;}
.facility-build-countdown.ready strong{color:#86efac;}

.admin-facility-modal-list.single .admin-facility-row{
  grid-template-columns:1fr!important;
  overflow:visible!important;
  gap:14px!important;
}
.admin-facility-modal-list.single .admin-facility-info,
.admin-facility-modal-list.single .admin-facility-calc-preview,
.admin-facility-modal-list.single .admin-facility-calc-grid,
.admin-facility-modal-list.single .admin-facility-modal-controls{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
}
.admin-facility-modal-list.single .admin-facility-modal-controls{
  grid-template-columns:repeat(3,minmax(170px,1fr))!important;
}
.admin-facility-modal-list.single .admin-facility-modal-controls button{
  align-self:end!important;
}
.admin-facility-calc-note{
  margin:0 0 8px;
  padding:7px 10px;
  border-radius:12px;
  background:rgba(250,204,21,.06);
  border:1px solid rgba(250,204,21,.14);
  color:#cbd5e1;
  font-size:11px;
  font-weight:800;
}
.admin-facility-calc-grid{
  grid-template-columns:repeat(5,minmax(145px,1fr))!important;
}
.admin-facility-calc-card strong{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:break-word!important;
  font-size:12px!important;
}
.admin-facility-calc-card.result strong{font-size:12px!important;}
@media(max-width:1180px){.admin-facility-calc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-facility-calc-card.result{grid-column:1/-1!important}}
@media(max-width:760px){.admin-facility-modal-list.single .admin-facility-modal-controls{grid-template-columns:1fr!important}.admin-facility-calc-grid{grid-template-columns:1fr!important}}

/* Premium borsa/döviz kâr duyurusu */
.stock-profit-ticker{position:fixed;top:18px;left:50%;transform:translateX(-50%);width:min(1120px,calc(100vw - 24px));height:54px;z-index:110000;pointer-events:none;opacity:1;transition:opacity .28s ease,transform .28s ease;overflow:hidden;border-radius:999px;border:1px solid rgba(250,204,21,.42);background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(72,49,13,.94) 48%,rgba(15,23,42,.96));box-shadow:0 18px 56px rgba(0,0,0,.42),0 0 30px rgba(250,204,21,.16),inset 0 1px 0 rgba(255,255,255,.08)}
.stock-profit-ticker.hidden{opacity:0;transform:translateX(-50%) translateY(-16px)}
.stock-profit-ticker-glow{position:absolute;inset:-2px;background:linear-gradient(90deg,transparent,rgba(250,204,21,.22),rgba(34,211,238,.14),transparent);filter:blur(10px);opacity:.9}
.stock-profit-ticker-viewport{position:relative;z-index:1;width:100%;height:100%;overflow:hidden;display:flex;align-items:center}
.stock-profit-ticker-track{display:inline-flex;align-items:center;gap:14px;white-space:nowrap;min-width:max-content;padding:0 24px;animation:stockProfitMarquee 28s linear 1;color:#fff7d6;font-weight:900;letter-spacing:.02em;text-shadow:0 0 18px rgba(250,204,21,.25)}
.stock-profit-crown{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.28),rgba(250,204,21,.22));border:1px solid rgba(250,204,21,.36);box-shadow:0 0 20px rgba(250,204,21,.26);font-size:18px;flex:0 0 auto}
.stock-profit-ticker-text{font-size:16px;line-height:1;color:#fffbeb}
@keyframes stockProfitMarquee{0%{transform:translateX(105vw)}100%{transform:translateX(-115%)}}
@media(max-width:760px){.stock-profit-ticker{top:12px;height:48px;width:calc(100vw - 16px)}.stock-profit-ticker-text{font-size:13px}.stock-profit-crown{width:30px;height:30px;font-size:16px}.stock-profit-ticker-track{gap:10px;padding:0 16px}}

.admin-stock-announcement-limit-card{display:grid;grid-template-columns:minmax(0,1fr) 220px auto;gap:14px;align-items:end;margin-bottom:14px;padding:16px;border-radius:20px;background:linear-gradient(135deg,rgba(250,204,21,.10),rgba(34,211,238,.045),rgba(8,19,35,.96));border:1px solid rgba(250,204,21,.24);box-shadow:0 18px 48px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04)}
.admin-stock-announcement-limit-copy strong{display:block;color:#fde68a;font-size:16px;margin-bottom:4px}
.admin-stock-announcement-limit-card label{margin:0}
.admin-stock-announcement-limit-card .btn{white-space:nowrap}
.admin-stock-announcement-limit-card.mining-transfer-limit{background:linear-gradient(135deg,rgba(34,211,238,.10),rgba(250,204,21,.075),rgba(8,19,35,.96));border-color:rgba(34,211,238,.24)}
.admin-stock-announcement-limit-card.mining-transfer-limit .admin-stock-announcement-limit-copy strong{color:#a7f3d0}
@media(max-width:860px){.admin-stock-announcement-limit-card{grid-template-columns:1fr}.admin-stock-announcement-limit-card .btn{width:100%}}


/* Admin oyun içi duyuru: premium, taçsız, 10 saniyelik kayan yazı */
.announcement-overlay{
  position:fixed!important;
  top:84px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1120px,calc(100vw - 24px))!important;
  height:52px!important;
  z-index:109900!important;
  pointer-events:none!important;
  opacity:1!important;
  overflow:hidden!important;
  border-radius:999px!important;
  border:1px solid rgba(34,211,238,.34)!important;
  background:linear-gradient(135deg,rgba(8,18,32,.96),rgba(14,44,63,.94) 48%,rgba(8,18,32,.96))!important;
  box-shadow:0 18px 56px rgba(0,0,0,.38),0 0 30px rgba(34,211,238,.12),inset 0 1px 0 rgba(255,255,255,.08)!important;
  text-align:left!important;
  transition:opacity .26s ease,transform .26s ease!important;
}
.announcement-overlay.hidden{opacity:0!important;transform:translateX(-50%) translateY(-14px)!important;pointer-events:none!important;}
.announcement-text{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  max-width:none!important;
  padding:0!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#e0f7ff!important;
  box-shadow:none!important;
  line-height:1!important;
  animation:none!important;
}
.announcement-text::before{
  content:'';
  position:absolute;
  inset:-2px;
  background:linear-gradient(90deg,transparent,rgba(34,211,238,.18),rgba(250,204,21,.08),transparent);
  filter:blur(10px);
  opacity:.9;
}
.announcement-ticker-track{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  min-width:max-content;
  padding:0 24px;
  color:#e0f7ff;
  font-weight:900;
  letter-spacing:.02em;
  text-shadow:0 0 18px rgba(34,211,238,.22);
  animation:adminAnnouncementMarquee 10s linear 1;
}
.announcement-ticker-message{font-size:16px;color:#f8fdff;}
@keyframes adminAnnouncementMarquee{0%{transform:translateX(105vw)}100%{transform:translateX(-115%)}}
@media(max-width:760px){
  .announcement-overlay{top:68px!important;height:46px!important;width:calc(100vw - 16px)!important;}
  .announcement-ticker-message{font-size:13px;}
  .announcement-ticker-track{padding:0 16px;}
}

/* Dashboard event card cleanup: fixed size, announcement-card style */
.dashboard-lower-grid{
  align-items:start;
}
.dashboard-lower-column{
  display:flex;
  flex-direction:column;
  gap:18px;
  min-width:0;
}
.dashboard-event-panel-card{
  overflow:hidden;
}
.dashboard-event-panel-card h3{
  margin-bottom:12px;
}
.event-panel-clean{
  min-height:152px;
}
#eventPanel .event-status-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
#eventPanel .event-status-card{
  position:relative;
  min-height:138px;
  height:138px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.16);
  background:linear-gradient(135deg,rgba(10,25,45,.62),rgba(15,23,42,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
#eventPanel .event-status-card::before{
  content:'';
  position:absolute;
  inset:-1px;
  pointer-events:none;
  opacity:.65;
  background:radial-gradient(circle at 14% 0%,rgba(148,163,184,.11),transparent 42%);
}
#eventPanel .event-status-card.active{
  border-color:rgba(250,204,21,.42);
  background:linear-gradient(135deg,rgba(44,32,12,.88),rgba(15,23,42,.78) 54%,rgba(79,52,9,.72));
  box-shadow:0 14px 38px rgba(0,0,0,.18),0 0 24px rgba(250,204,21,.10),inset 0 1px 0 rgba(255,255,255,.06);
}
#eventPanel .event-status-card.passive{
  color:#d7e3f3;
}
#eventPanel .event-status-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  min-height:40px;
}
#eventPanel .event-status-title-wrap{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
#eventPanel .event-status-icon{
  width:32px;
  height:32px;
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:12px;
  background:rgba(148,163,184,.10);
  border:1px solid rgba(148,163,184,.14);
  font-size:17px;
}
#eventPanel .event-status-card.active .event-status-icon{
  background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.20),rgba(250,204,21,.18));
  border-color:rgba(250,204,21,.34);
  box-shadow:0 0 18px rgba(250,204,21,.16);
}
#eventPanel .event-status-title-wrap strong{
  display:block;
  min-width:0;
  color:#eaf3ff;
  font-size:14px;
  line-height:1.25;
  font-weight:900;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#eventPanel .event-status-card.active .event-status-title-wrap strong{
  color:#fde68a;
  text-shadow:0 0 16px rgba(250,204,21,.12);
}
#eventPanel .event-status-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  height:26px;
  padding:0 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
  border:1px solid rgba(148,163,184,.18);
  color:#94a3b8;
  background:rgba(148,163,184,.08);
}
#eventPanel .event-status-badge.active{
  color:#3b2700;
  background:linear-gradient(135deg,#fde68a,#facc15);
  border-color:rgba(250,204,21,.50);
  box-shadow:0 0 16px rgba(250,204,21,.16);
}
#eventPanel .event-status-metrics{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
#eventPanel .event-status-metric{
  min-width:0;
  padding:9px 8px;
  border-radius:14px;
  background:rgba(2,6,23,.24);
  border:1px solid rgba(148,163,184,.12);
  text-align:center;
}
#eventPanel .event-status-card.active .event-status-metric{
  background:rgba(250,204,21,.075);
  border-color:rgba(250,204,21,.16);
}
#eventPanel .event-status-metric span{
  display:block;
  color:#94a3b8;
  font-size:10px;
  font-weight:800;
  margin-bottom:4px;
  white-space:nowrap;
}
#eventPanel .event-status-card.active .event-status-metric span{
  color:#f8d775;
}
#eventPanel .event-status-metric b{
  display:block;
  color:#dbeafe;
  font-size:13px;
  line-height:1.1;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#eventPanel .event-status-card.active .event-status-metric b{
  color:#fffbeb;
}
#eventPanel .event-status-metric.countdown b{
  font-variant-numeric:tabular-nums;
}
@media(max-width:860px){
  .event-panel-clean{min-height:304px;}
  #eventPanel .event-status-grid{grid-template-columns:1fr;}
  #eventPanel .event-status-card{height:138px;min-height:138px;}
}
@media(max-width:520px){
  #eventPanel .event-status-metrics{grid-template-columns:1fr 1fr;}
  #eventPanel .event-status-metric.countdown{grid-column:1/-1;}
  #eventPanel .event-status-title-wrap strong{font-size:13px;}
}

/* Bound referral pCoin visibility */
.pcoin-bound-pill{display:inline-flex;align-items:center;width:max-content;margin-top:4px;padding:3px 8px;border-radius:999px;background:rgba(244,196,79,.10);border:1px solid rgba(244,196,79,.26);color:#f8d86f;font-size:11px;font-weight:800;line-height:1.2}
.pcoin-bound-line{display:block;margin-top:4px;color:#f8d86f;font-size:11px;font-weight:800}
.pcoin-bound-notice{margin:0 0 12px;padding:10px 12px;border-radius:14px;background:rgba(244,196,79,.08);border:1px solid rgba(244,196,79,.22);color:#f8d86f;font-weight:700}
.pcoin-bound-notice small{display:block;margin-top:4px;color:#cbd5e1;font-weight:500}

/* Google auth + referral reminder */
.landing-google-btn{width:100%;margin-top:10px;border:1px solid rgba(96,165,250,.38);background:linear-gradient(135deg,rgba(37,99,235,.22),rgba(15,23,42,.92));color:#eaf3ff;border-radius:14px;padding:12px 14px;font-weight:900;cursor:pointer;box-shadow:0 12px 32px rgba(15,23,42,.20)}
.landing-google-btn:hover:not(:disabled){border-color:rgba(147,197,253,.62);transform:translateY(-1px)}
.landing-google-btn:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.25)}
.landing-google-hint{margin-top:8px;color:#9fb2ca;font-size:12px;line-height:1.45;text-align:center}
.google-referral-modal.hidden{display:none!important}
.google-referral-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px}
.google-referral-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.72);backdrop-filter:blur(8px)}
.google-referral-card{position:relative;width:min(460px,94vw);display:grid;gap:12px;padding:18px;border-radius:22px;background:linear-gradient(180deg,rgba(15,35,52,.98),rgba(8,22,37,.98));border:1px solid rgba(148,163,184,.28);box-shadow:0 28px 90px rgba(0,0,0,.52);color:#e5edf7}
.google-referral-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.google-referral-head strong{font-size:20px;color:#f8fafc}
.google-referral-close{width:34px;height:34px;border:1px solid rgba(148,163,184,.25);border-radius:10px;background:rgba(15,23,42,.75);color:#dbeafe;font-size:22px;line-height:1;cursor:pointer}
.google-referral-card p{margin:0;color:#b8c7d9;line-height:1.55}
.google-referral-card label{display:grid;gap:6px;color:#dbeafe;font-weight:800}
.google-referral-card label small{color:#93a4b8;font-weight:600}
.google-referral-card input{width:100%;border:1px solid rgba(148,163,184,.24);border-radius:14px;background:rgba(2,6,23,.36);color:#f8fafc;padding:12px 13px;font-weight:800;text-transform:uppercase}
.google-referral-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:4px}

/* ChatGPT hotfix: admin mining modals dark-theme readability */
.admin-fx-modal-card,
.admin-mining-top-card,
.admin-mining-category-card,
.admin-mining-section-head{color:#eaf3ff;}
.admin-fx-modal-head strong,
.admin-mining-card-head strong,
.admin-mining-section-head strong,
.admin-mining-category-head strong{color:#ffffff;}
.admin-fx-grid label,
.admin-fx-grid label span,
.admin-mining-top-card label,
.admin-mining-top-card label span{color:#dbeafe!important;font-weight:800;}
.admin-fx-grid input,
.admin-fx-grid select,
.admin-fx-grid textarea,
.admin-fx-modal-card input,
.admin-fx-modal-card select,
.admin-fx-modal-card textarea,
.admin-mining-modal-card input,
.admin-mining-modal-card select,
.admin-mining-modal-card textarea{background:#07182d!important;color:#f8fafc!important;border:1px solid rgba(191,219,254,.34)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}
.admin-fx-grid input::placeholder,
.admin-fx-grid textarea::placeholder,
.admin-mining-modal-card input::placeholder,
.admin-mining-modal-card textarea::placeholder{color:#93a9c5!important;opacity:1;}
.admin-fx-grid option,
.admin-mining-modal-card option{background:#07182d!important;color:#f8fafc!important;}
.admin-crypto-news-row{border-left:3px solid rgba(56,189,248,.65);}
.admin-crypto-news-row .btn-danger{padding:7px 10px;min-height:34px;}

/* premium leaders showcase v10 */
.leaders-showcase-shell{
  justify-content:flex-end;
  gap:18px;
  min-height:132px;
  padding:0 14px 2px 62px;
}
.leader-hero-item{
  gap:7px;
}
.leader-hero-item.rank-1{
  transform:translateY(-10px);
}
.leader-hero-item.rank-2,
.leader-hero-item.rank-3{
  transform:translateY(-1px);
}
.leader-hero-button{
  width:108px;
  padding-bottom:18px;
  overflow:visible;
  animation-duration:5.6s;
}
.leader-hero-item.rank-1 .leader-hero-button{
  width:126px;
  animation-duration:4.9s;
}
.leader-spotlight{
  position:absolute;
  left:50%;
  top:-8px;
  width:86px;
  height:126px;
  transform:translateX(-50%);
  background:linear-gradient(180deg, rgba(255,241,196,.22), rgba(255,230,150,.06) 36%, rgba(255,255,255,0) 100%);
  clip-path:polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  filter:blur(2px);
  opacity:.72;
  z-index:0;
  pointer-events:none;
}
.leader-hero-item.rank-1 .leader-spotlight{
  width:96px;
  height:140px;
  opacity:.9;
}
.leader-hero-pedestal{
  position:absolute;
  left:16%;
  right:16%;
  bottom:10px;
  height:18px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(233,240,252,.36), rgba(73,103,140,.26));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 12px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -8px 12px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
  z-index:1;
}
.leader-hero-item.rank-1 .leader-hero-pedestal{
  left:14%;
  right:14%;
  height:20px;
}
.leader-hero-frame{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  aspect-ratio:1/1;
  filter:drop-shadow(0 18px 20px rgba(0,0,0,.28));
}
.leader-hero-frame::before,
.leader-hero-frame::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.leader-hero-frame::before{
  inset:4%;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(255,255,255,.04);
  background:radial-gradient(circle at 50% 45%, rgba(255,255,255,.08), rgba(255,255,255,0) 62%);
}
.leader-hero-frame::after{
  inset:11%;
  border:1px solid rgba(255,255,255,.08);
}
.leader-hero-item.rank-1 .leader-hero-frame::before{
  border-color:rgba(250,204,21,.52);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), 0 0 18px rgba(250,204,21,.22), 0 0 0 1px rgba(250,204,21,.1);
}
.leader-hero-item.rank-2 .leader-hero-frame::before{
  border-color:rgba(196,210,226,.44);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 0 14px rgba(148,163,184,.18), 0 0 0 1px rgba(226,232,240,.08);
}
.leader-hero-item.rank-3 .leader-hero-frame::before{
  border-color:rgba(251,191,116,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 0 16px rgba(249,115,22,.14), 0 0 0 1px rgba(251,146,60,.08);
}
.leader-hero-halo{
  position:absolute;
  inset:14%;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.14), rgba(255,255,255,0) 72%);
  filter:blur(6px);
  opacity:.85;
  pointer-events:none;
}
.leader-hero-item.rank-1 .leader-hero-halo{
  background:radial-gradient(circle at 50% 50%, rgba(250,204,21,.28), rgba(250,204,21,0) 72%);
}
.leader-orbit{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  animation:leader-orbit-spin 9s linear infinite;
}
.leader-orbit.orbit-a{
  inset:9%;
  border:1px solid transparent;
  border-top-color:rgba(255,255,255,.34);
  border-left-color:rgba(255,255,255,.14);
}
.leader-orbit.orbit-b{
  inset:17%;
  border:1px solid transparent;
  border-right-color:rgba(255,255,255,.24);
  border-bottom-color:rgba(255,255,255,.12);
  animation-direction:reverse;
  animation-duration:11.5s;
}
.leader-hero-item.rank-1 .leader-orbit.orbit-a{ border-top-color:rgba(250,204,21,.5); border-left-color:rgba(250,204,21,.18); }
.leader-hero-item.rank-1 .leader-orbit.orbit-b{ border-right-color:rgba(255,233,157,.34); border-bottom-color:rgba(250,204,21,.16); }
.leader-hero-body{
  position:absolute;
  inset:17% 17% 20% 17%;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2), inset 0 -12px 16px rgba(0,0,0,.22), 0 10px 18px rgba(0,0,0,.16);
}
.leader-hero-body::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:radial-gradient(circle at 34% 24%, rgba(255,255,255,.38), transparent 22%), radial-gradient(circle at 70% 78%, rgba(255,255,255,.06), transparent 16%);
  mix-blend-mode:screen;
}
.leader-hero-body::after{
  inset:-25% 42% 18% -20%;
  opacity:.42;
}
.leader-hero-item.rank-1 .leader-hero-body{
  background:radial-gradient(circle at 32% 24%, rgba(255,247,214,.28), rgba(255,214,102,.12) 36%, rgba(19,35,59,.98) 76%), linear-gradient(180deg, #183255, #091627);
  border-color:rgba(250,204,21,.28);
}
.leader-hero-item.rank-2 .leader-hero-body{
  background:radial-gradient(circle at 32% 24%, rgba(246,250,255,.24), rgba(148,163,184,.12) 38%, rgba(18,35,57,.98) 76%), linear-gradient(180deg, #152b46, #091524);
  border-color:rgba(226,232,240,.2);
}
.leader-hero-item.rank-3 .leader-hero-body{
  background:radial-gradient(circle at 32% 24%, rgba(255,232,206,.24), rgba(251,146,60,.14) 38%, rgba(22,34,52,.98) 76%), linear-gradient(180deg, #172b44, #091322);
  border-color:rgba(251,146,60,.22);
}
.leader-face{
  width:48px;
  height:38px;
  margin-top:2px;
}
.leader-hero-item.rank-1 .leader-face{
  width:56px;
  height:44px;
}
.leader-face-brows::before,
.leader-face-brows::after{
  top:3px;
  width:14px;
  height:4px;
}
.leader-face-brows::before{ left:6px; }
.leader-face-brows::after{ right:6px; }
.leader-face-eyes{
  top:11px;
  width:32px;
}
.leader-hero-item.rank-1 .leader-face-eyes{ width:36px; top:13px; }
.leader-face-eyes span{
  width:10px;
  height:11px;
}
.leader-face-nose{
  top:20px;
}
.leader-hero-item.rank-1 .leader-face-nose{ top:24px; }
.leader-face-mouth{
  bottom:3px;
  width:17px;
}
.leader-hero-item.rank-1 .leader-face-mouth{ width:19px; bottom:4px; }
.leader-face-moustache{
  top:23px;
  width:30px;
  height:16px;
}
.leader-rank-medallion{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  z-index:3;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.28));
}
.leader-rank-medallion::before,
.leader-rank-medallion::after{
  content:"";
  position:absolute;
  top:-8px;
  width:7px;
  height:12px;
  border-radius:6px 6px 0 0;
  background:linear-gradient(180deg, rgba(59,130,246,.95), rgba(220,38,38,.9));
}
.leader-rank-medallion::before{ left:6px; transform:rotate(12deg); }
.leader-rank-medallion::after{ right:6px; transform:rotate(-12deg); }
.leader-rank-medallion span{
  position:relative;
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:10px;
  font-weight:900;
  color:#0f172a;
  border:1px solid rgba(255,255,255,.28);
}
.leader-hero-item.rank-1 .leader-rank-medallion span{ background:radial-gradient(circle at 30% 28%, #fff3bf, #facc15 58%, #b45309); }
.leader-hero-item.rank-2 .leader-rank-medallion span{ background:radial-gradient(circle at 30% 28%, #ffffff, #cbd5e1 58%, #64748b); }
.leader-hero-item.rank-3 .leader-rank-medallion span{ background:radial-gradient(circle at 30% 28%, #ffe3c2, #fb923c 58%, #9a3412); }
.leader-crown{
  top:-6px;
  font-size:24px;
  filter:drop-shadow(0 0 10px rgba(250,204,21,.42));
}
.leader-hero-meta{
  width:100%;
  display:flex;
  justify-content:center;
}
.leader-company-name{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:132px;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(10,22,40,.95), rgba(7,16,31,.84));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
  font-size:10px;
  line-height:1.15;
  font-weight:800;
  color:#f8fbff;
  text-shadow:0 1px 6px rgba(0,0,0,.28);
}
@keyframes leader-orbit-spin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}
@media (max-width:1280px){
  .leaders-showcase-shell{
    gap:14px;
    padding-left:52px;
  }
  .leader-hero-button{ width:96px; }
  .leader-hero-item.rank-1 .leader-hero-button{ width:112px; }
  .leader-company-name{ max-width:118px; }
}
@media (max-width:720px){
  .leaders-showcase-shell{
    padding-left:0;
    gap:10px;
  }
  .leader-hero-item.rank-1,
  .leader-hero-item.rank-2,
  .leader-hero-item.rank-3{
    transform:none;
  }
  .leader-hero-button,
  .leader-hero-item.rank-1 .leader-hero-button{
    width:86px;
    padding-bottom:16px;
  }
  .leader-company-name{
    max-width:110px;
  }
}
@media (prefers-reduced-motion:reduce){
  .leader-orbit,
  .leader-spotlight{
    animation:none !important;
  }
}

/* premium leaders showcase v11 - prestige hall */
.leaders-showcase-shell{
  justify-content:flex-end;
  gap:16px;
  min-height:136px;
  padding:0 12px 0 46px;
}
.leader-prestige-item{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  z-index:1;
}
.leader-prestige-item.rank-1{
  transform:translateY(-8px);
  z-index:3;
}
.leader-prestige-item.rank-2,
.leader-prestige-item.rank-3{
  z-index:2;
}
.leader-prestige-button{
  position:relative;
  width:102px;
  aspect-ratio:1/1.08;
  border:none;
  padding:0;
  background:none;
  cursor:pointer;
  display:block;
  transition:transform .24s ease, filter .24s ease;
  animation:leaders-float 5.4s ease-in-out infinite;
}
.leader-prestige-item.rank-1 .leader-prestige-button{
  width:120px;
  animation-duration:4.8s;
}
.leader-prestige-item.rank-2 .leader-prestige-button{ animation-delay:.35s; }
.leader-prestige-item.rank-3 .leader-prestige-button{ animation-delay:.7s; }
.leader-prestige-button:hover,
.leader-prestige-button:focus-visible{
  transform:translateY(-5px) scale(1.035);
  filter:brightness(1.06);
  outline:none;
}
.leader-prestige-aura,
.leader-prestige-spotlight,
.leader-prestige-emblem,
.leader-prestige-plaque,
.leader-prestige-crown{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  pointer-events:none;
}
.leader-prestige-aura{
  top:4px;
  width:92px;
  height:92px;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.1), rgba(255,255,255,0) 68%);
  filter:blur(8px);
  opacity:.75;
}
.leader-prestige-item.rank-1 .leader-prestige-aura{
  width:112px;
  height:112px;
  background:radial-gradient(circle at 50% 50%, rgba(250,204,21,.26), rgba(250,204,21,0) 72%);
  opacity:1;
}
.leader-prestige-item.rank-2 .leader-prestige-aura{
  background:radial-gradient(circle at 50% 50%, rgba(226,232,240,.18), rgba(226,232,240,0) 70%);
}
.leader-prestige-item.rank-3 .leader-prestige-aura{
  background:radial-gradient(circle at 50% 50%, rgba(251,146,60,.16), rgba(251,146,60,0) 70%);
}
.leader-prestige-spotlight{
  top:-8px;
  width:74px;
  height:120px;
  background:linear-gradient(180deg, rgba(255,239,186,.18), rgba(255,230,150,.05) 40%, rgba(255,255,255,0) 100%);
  clip-path:polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  filter:blur(3px);
  opacity:.72;
}
.leader-prestige-item.rank-1 .leader-prestige-spotlight{
  width:86px;
  height:132px;
  opacity:.9;
}
.leader-prestige-emblem{
  top:12px;
  width:86px;
  height:86px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(10,21,40,.96), rgba(7,16,31,.92));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -14px 18px rgba(0,0,0,.22);
  overflow:hidden;
}
.leader-prestige-item.rank-1 .leader-prestige-emblem{
  top:10px;
  width:102px;
  height:102px;
  border-color:rgba(250,204,21,.28);
  box-shadow:0 0 0 1px rgba(250,204,21,.1), 0 18px 28px rgba(0,0,0,.32), 0 0 24px rgba(250,204,21,.14), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -14px 18px rgba(0,0,0,.24);
}
.leader-prestige-item.rank-2 .leader-prestige-emblem{
  border-color:rgba(226,232,240,.22);
}
.leader-prestige-item.rank-3 .leader-prestige-emblem{
  border-color:rgba(251,146,60,.22);
}
.leader-prestige-emblem::before,
.leader-prestige-emblem::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
.leader-prestige-emblem::before{
  background:linear-gradient(135deg, rgba(255,255,255,.16), transparent 32%, transparent 68%, rgba(255,255,255,.08));
  opacity:.8;
}
.leader-prestige-emblem::after{
  inset:10px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.06);
}
.leader-prestige-ring{
  position:absolute;
  inset:11px;
  border-radius:24px;
  pointer-events:none;
}
.leader-prestige-ring.outer{
  border:1px solid rgba(255,255,255,.16);
}
.leader-prestige-ring.inner{
  inset:19px;
  border:1px solid rgba(255,255,255,.08);
}
.leader-prestige-item.rank-1 .leader-prestige-ring.outer{ border-color:rgba(250,204,21,.48); }
.leader-prestige-item.rank-1 .leader-prestige-ring.inner{ border-color:rgba(255,233,157,.22); }
.leader-prestige-item.rank-2 .leader-prestige-ring.outer{ border-color:rgba(226,232,240,.28); }
.leader-prestige-item.rank-3 .leader-prestige-ring.outer{ border-color:rgba(251,146,60,.3); }
.leader-prestige-core{
  position:absolute;
  inset:23px;
  border-radius:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 32% 24%, rgba(255,255,255,.2), rgba(255,255,255,.02) 36%, rgba(9,17,32,.94) 84%);
}
.leader-prestige-item.rank-1 .leader-prestige-core{
  background:radial-gradient(circle at 32% 24%, rgba(255,244,196,.24), rgba(250,204,21,.1) 36%, rgba(8,18,34,.95) 84%);
}
.leader-prestige-item.rank-2 .leader-prestige-core{
  background:radial-gradient(circle at 32% 24%, rgba(248,250,252,.2), rgba(226,232,240,.08) 36%, rgba(8,18,34,.95) 84%);
}
.leader-prestige-item.rank-3 .leader-prestige-core{
  background:radial-gradient(circle at 32% 24%, rgba(255,237,213,.22), rgba(251,146,60,.08) 36%, rgba(8,18,34,.95) 84%);
}
.leader-prestige-rank{
  font-size:28px;
  font-weight:900;
  line-height:1;
  color:#f8fbff;
  text-shadow:0 2px 12px rgba(0,0,0,.36);
}
.leader-prestige-item.rank-1 .leader-prestige-rank{ font-size:34px; color:#fff0b8; }
.leader-prestige-star{
  margin-top:4px;
  font-size:10px;
  color:rgba(255,255,255,.78);
  letter-spacing:.2em;
}
.leader-prestige-item.rank-1 .leader-prestige-star{ color:#fde68a; }
.leader-prestige-flare{
  position:absolute;
  top:50%;
  width:16px;
  height:16px;
  margin-top:-8px;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.64), rgba(255,255,255,0) 72%);
  filter:blur(3px);
  opacity:.5;
}
.leader-prestige-flare.flare-left{ left:4px; }
.leader-prestige-flare.flare-right{ right:4px; }
.leader-prestige-item.rank-1 .leader-prestige-flare{ opacity:.8; background:radial-gradient(circle at 50% 50%, rgba(250,204,21,.68), rgba(250,204,21,0) 72%); }
.leader-prestige-plaque{
  bottom:10px;
  min-width:64px;
  padding:5px 12px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(11,23,41,.96), rgba(7,16,31,.9));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#d9e6f7;
  z-index:3;
}
.leader-prestige-item.rank-1 .leader-prestige-plaque{
  color:#fff1b8;
  border-color:rgba(250,204,21,.24);
}
.leader-prestige-crown{
  top:-6px;
  font-size:24px;
  z-index:4;
  filter:drop-shadow(0 0 10px rgba(250,204,21,.44));
  animation:leaders-crown-glow 2.4s ease-in-out infinite;
}
.leader-prestige-meta{
  width:100%;
  display:flex;
  justify-content:center;
}
.leader-company-name{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:136px;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(11,24,43,.98), rgba(7,16,31,.88));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
  font-size:10px;
  line-height:1.15;
  font-weight:800;
  color:#f8fbff;
  text-align:center;
}
@media (max-width:1280px){
  .leaders-showcase-shell{
    gap:12px;
    padding-left:36px;
  }
  .leader-prestige-button{ width:90px; }
  .leader-prestige-item.rank-1 .leader-prestige-button{ width:106px; }
  .leader-prestige-emblem{ width:76px; height:76px; }
  .leader-prestige-item.rank-1 .leader-prestige-emblem{ width:90px; height:90px; }
}
@media (max-width:720px){
  .leaders-showcase-shell{
    padding-left:0;
    gap:10px;
  }
  .leader-prestige-item.rank-1,
  .leader-prestige-item.rank-2,
  .leader-prestige-item.rank-3{
    transform:none;
  }
  .leader-prestige-button,
  .leader-prestige-item.rank-1 .leader-prestige-button{ width:84px; }
  .leader-company-name{ max-width:112px; }
}
@media (prefers-reduced-motion:reduce){
  .leader-prestige-button,
  .leader-prestige-crown{
    animation:none !important;
  }
}

/* Profile Vitrine 2.0 */
#dialogRoot.profile-vitrine-open .dialog-card{
  width:min(920px,calc(100vw - 32px)) !important;
  padding:20px !important;
  border-radius:30px !important;
  overflow:hidden;
}
#dialogRoot.profile-vitrine-open .dialog-body{
  margin-bottom:16px;
}
.profile-vitrine-modal,
.profile-vitrine-preview{
  --pv-a:var(--pv-accent,#2dd4bf);
  --pv-b:var(--pv-secondary,#22d3ee);
  --pv-g:var(--pv-glow,#2dd4bf55);
  position:relative;
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg,rgba(7,17,31,.98),rgba(4,10,20,.99));
  box-shadow:0 30px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
}
.profile-vitrine-modal.premium,
.profile-vitrine-preview.premium{
  border-color:color-mix(in srgb, var(--pv-a) 42%, rgba(255,255,255,.1));
  box-shadow:0 34px 110px rgba(0,0,0,.52),0 0 42px color-mix(in srgb,var(--pv-a) 22%,transparent),inset 0 1px 0 rgba(255,255,255,.08);
}
.pv-cover{
  position:relative;
  min-height:245px;
  display:grid;
  grid-template-columns:160px minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  padding:28px;
  isolation:isolate;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb,var(--pv-a) 22%,transparent), transparent 36%),
    radial-gradient(circle at 88% 22%, color-mix(in srgb,var(--pv-b) 16%,transparent), transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.012));
}
.profile-vitrine-modal.theme-black_gold .pv-cover,
.profile-vitrine-preview.theme-black_gold .pv-cover{
  background:
    radial-gradient(circle at 10% 18%, rgba(250,204,21,.28), transparent 36%),
    radial-gradient(circle at 86% 18%, rgba(180,83,9,.18), transparent 34%),
    linear-gradient(135deg,rgba(36,25,8,.88),rgba(6,12,23,.96) 48%,rgba(4,9,18,.99));
}
.profile-vitrine-modal.theme-platinum .pv-cover,
.profile-vitrine-preview.theme-platinum .pv-cover{
  background:
    radial-gradient(circle at 12% 20%, rgba(226,232,240,.22), transparent 36%),
    radial-gradient(circle at 86% 24%, rgba(125,211,252,.16), transparent 34%),
    linear-gradient(135deg,rgba(24,35,52,.92),rgba(6,13,25,.98));
}
.profile-vitrine-modal.theme-emerald .pv-cover,
.profile-vitrine-preview.theme-emerald .pv-cover{
  background:
    radial-gradient(circle at 12% 20%, rgba(52,211,153,.24), transparent 36%),
    radial-gradient(circle at 86% 24%, rgba(16,185,129,.14), transparent 34%),
    linear-gradient(135deg,rgba(6,38,31,.9),rgba(5,14,25,.98));
}
.profile-vitrine-modal.theme-neon .pv-cover,
.profile-vitrine-preview.theme-neon .pv-cover{
  background:
    radial-gradient(circle at 12% 20%, rgba(56,189,248,.23), transparent 36%),
    radial-gradient(circle at 86% 24%, rgba(168,85,247,.18), transparent 34%),
    linear-gradient(135deg,rgba(7,28,50,.9),rgba(7,12,28,.98));
}
.pv-cover-light{
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 0 28%,rgba(255,255,255,.08) 38%,transparent 48% 100%);
  opacity:.55;
  pointer-events:none;
  z-index:0;
}
.pv-premium-shimmer{
  position:absolute;
  inset:-60% auto -60% -30%;
  width:38%;
  transform:rotate(18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
  animation:profile-vitrine-shimmer 5.8s linear infinite;
  pointer-events:none;
  z-index:1;
}
.pv-particles{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}
.pv-particles span{
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--pv-a);
  box-shadow:0 0 14px var(--pv-a);
  opacity:.55;
  animation:profile-vitrine-particle 4.8s ease-in-out infinite;
}
.pv-particles span:nth-child(1){left:18%;top:25%;animation-delay:-.6s}
.pv-particles span:nth-child(2){left:72%;top:22%;animation-delay:-2.1s}
.pv-particles span:nth-child(3){left:63%;top:70%;animation-delay:-3.4s}
.pv-particles span:nth-child(4){left:30%;top:74%;animation-delay:-1.5s}
.pv-monogram-wrap{
  position:relative;
  z-index:2;
  width:138px;
  height:138px;
  display:grid;
  place-items:center;
}
.pv-monogram{
  position:relative;
  z-index:2;
  width:118px;
  height:118px;
  border-radius:34px;
  display:grid;
  place-items:center;
  font-size:42px;
  font-weight:900;
  letter-spacing:.04em;
  color:#fff7d6;
  background:linear-gradient(145deg,color-mix(in srgb,var(--pv-a) 22%,#111827),rgba(8,18,33,.98));
  border:1px solid color-mix(in srgb,var(--pv-a) 44%,rgba(255,255,255,.14));
  box-shadow:0 22px 44px rgba(0,0,0,.34),0 0 30px color-mix(in srgb,var(--pv-a) 20%,transparent),inset 0 1px 0 rgba(255,255,255,.12),inset 0 -18px 26px rgba(0,0,0,.22);
  text-shadow:0 3px 16px rgba(0,0,0,.4);
}
.pv-monogram-ring{
  position:absolute;
  inset:0;
  border-radius:40px;
  border:1px solid color-mix(in srgb,var(--pv-a) 55%,transparent);
  box-shadow:0 0 26px color-mix(in srgb,var(--pv-a) 24%,transparent);
  animation:profile-vitrine-ring 6s linear infinite;
}
.pv-main{
  position:relative;
  z-index:2;
  min-width:0;
}
.pv-kicker{
  color:color-mix(in srgb,var(--pv-a) 72%,#dbeafe);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:900;
  margin-bottom:8px;
}
.pv-name{
  font-size:40px;
  line-height:1.04;
  font-weight:900;
  color:#f8fbff;
  text-shadow:0 4px 22px rgba(0,0,0,.42),0 0 16px color-mix(in srgb,var(--pv-a) 24%,transparent);
  word-break:break-word;
}
.profile-vitrine-modal.premium .pv-name{
  color:color-mix(in srgb,var(--pv-a) 35%,#fff);
}
.pv-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.pv-tags span,
.pv-title-plaque,
.pv-showcase-slot,
.pv-joined,
.profile-vitrine-modal .company-profile-owned-note{
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  color:#eaf2ff;
  backdrop-filter:blur(12px);
}
.pv-tags span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 11px;
  font-size:12px;
  font-weight:800;
}
.pv-slogan{
  margin-top:18px;
  color:#fff;
  font-size:20px;
  line-height:1.35;
  font-weight:900;
}
.pv-description{
  margin-top:8px;
  max-width:580px;
  color:#cbd8e7;
  line-height:1.55;
  white-space:pre-wrap;
}
.pv-title-plaque{
  position:relative;
  z-index:2;
  align-self:start;
  display:flex;
  align-items:center;
  gap:9px;
  padding:11px 16px;
  font-size:13px;
  color:#f8fbff;
  border-color:color-mix(in srgb,var(--pv-a) 36%,rgba(255,255,255,.1));
  box-shadow:0 10px 24px rgba(0,0,0,.2), inset 0 0 18px color-mix(in srgb,var(--pv-a) 10%,transparent);
}
.pv-title-plaque strong{font-size:13px;}
.pv-content{
  position:relative;
  z-index:2;
  display:grid;
  gap:14px;
  padding:18px 20px 20px;
}
.pv-stat-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.pv-stat-row>div{
  min-height:82px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.024));
  border:1px solid color-mix(in srgb,var(--pv-a) 20%,rgba(255,255,255,.08));
  padding:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.pv-stat-row span{
  display:block;
  color:#aebdd0;
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}
.pv-stat-row b{
  color:#fff;
  font-size:26px;
  line-height:1;
}
.pv-showcase-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.pv-showcase-slot{
  border-radius:16px;
  padding:12px;
}
.pv-showcase-slot span{
  display:block;
  color:#94a3b8;
  font-size:11px;
  margin-bottom:5px;
}
.pv-showcase-slot strong{
  color:#f8fbff;
  font-size:13px;
}
.pv-footer-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.pv-joined{
  display:grid;
  gap:2px;
  padding:10px 14px;
}
.pv-joined span{
  color:#94a3b8;
  font-size:11px;
}
.pv-joined strong{
  color:#f8fbff;
  font-size:13px;
}
.profile-vitrine-modal .company-profile-owned-note{
  margin-top:0!important;
  padding:10px 12px;
  border-radius:18px;
  border-color:color-mix(in srgb,var(--pv-a) 25%,rgba(255,255,255,.1));
}
.profile-vitrine-modal .company-profile-social-action{
  background:linear-gradient(135deg,var(--pv-a),var(--pv-b));
  color:#06111d;
}
.profile-vitrine-preview{
  margin-top:14px;
  border-radius:22px;
}
.profile-vitrine-preview .pv-cover{
  min-height:150px;
  grid-template-columns:90px minmax(0,1fr);
  padding:18px;
}
.profile-vitrine-preview .pv-monogram{
  width:76px;
  height:76px;
  border-radius:24px;
  font-size:28px;
}
.profile-vitrine-preview .pv-name{font-size:24px;}
.profile-vitrine-preview .pv-content,
.profile-vitrine-preview .pv-body{padding:14px;}
.profile-vitrine-preview .pv-stat-row{grid-template-columns:repeat(3,minmax(0,1fr));}
.profile-vitrine-preview .pv-stat-row>div{min-height:68px;}
@keyframes profile-vitrine-shimmer{
  0%{transform:translateX(-160%) rotate(18deg);opacity:0;}
  15%{opacity:.45;}
  55%{opacity:.55;}
  100%{transform:translateX(430%) rotate(18deg);opacity:0;}
}
@keyframes profile-vitrine-particle{
  0%,100%{transform:translateY(0) scale(.8);opacity:.28;}
  50%{transform:translateY(-10px) scale(1);opacity:.78;}
}
@keyframes profile-vitrine-ring{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}
@media (max-width:820px){
  #dialogRoot.profile-vitrine-open .dialog-card{width:min(620px,calc(100vw - 20px))!important;padding:14px!important;}
  .pv-cover{grid-template-columns:1fr;min-height:auto;padding:20px;}
  .pv-monogram-wrap{width:112px;height:112px;}
  .pv-monogram{width:96px;height:96px;font-size:32px;}
  .pv-name{font-size:30px;}
  .pv-title-plaque{justify-self:start;}
  .pv-stat-row,.pv-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:520px){
  .pv-stat-row,.pv-showcase-grid{grid-template-columns:1fr;}
  .pv-name{font-size:25px;}
}
@media (prefers-reduced-motion:reduce){
  .pv-premium-shimmer,.pv-particles span,.pv-monogram-ring{animation:none!important;}
}
.profile-vitrine-preview .pv-body{display:grid;gap:12px;padding:14px;}
.pv-bio{display:grid;gap:6px;color:#cbd8e7;line-height:1.45;}
.pv-bio strong{color:#fff;font-size:15px;}
.pv-bio span{color:#aebdd0;font-size:13px;}

/* Profile Vitrine 3.0 - luxury social profile */
#dialogRoot.profile-vitrine-open .dialog-card{
  width:min(1020px,calc(100vw - 40px)) !important;
  padding:16px 16px 18px !important;
}
.profile-vitrine-modal,
.profile-vitrine-preview{
  border-radius:30px;
  border:1px solid color-mix(in srgb,var(--pv-a) 26%,rgba(255,255,255,.1));
  background:
    radial-gradient(circle at top left, color-mix(in srgb,var(--pv-a) 9%,transparent), transparent 24%),
    radial-gradient(circle at bottom right, color-mix(in srgb,var(--pv-b) 10%,transparent), transparent 28%),
    linear-gradient(180deg,rgba(5,14,28,.99),rgba(3,9,18,.995));
  box-shadow:0 38px 120px rgba(0,0,0,.54),0 0 44px color-mix(in srgb,var(--pv-a) 14%,transparent),inset 0 1px 0 rgba(255,255,255,.06);
}
.profile-vitrine-modal::before,
.profile-vitrine-preview::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.04);
  pointer-events:none;
}
.profile-vitrine-modal.premium,
.profile-vitrine-preview.premium{
  box-shadow:0 44px 132px rgba(0,0,0,.62),0 0 54px color-mix(in srgb,var(--pv-a) 16%,transparent),inset 0 1px 0 rgba(255,255,255,.07);
}
.pv-cover{
  min-height:286px;
  grid-template-columns:150px minmax(0,1fr) 205px;
  gap:20px;
  padding:24px 24px 20px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.pv-cover::after{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--pv-a) 46%,rgba(255,255,255,.2)),transparent);
  opacity:.62;
}
.pv-cover-light{opacity:.68}
.pv-monogram-wrap{
  width:140px;
  height:140px;
}
.pv-monogram-wrap::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:42px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--pv-a) 16%,transparent),0 0 28px color-mix(in srgb,var(--pv-a) 15%,transparent);
}
.pv-monogram{
  width:116px;
  height:116px;
  border-radius:38px;
  font-size:40px;
  letter-spacing:.06em;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.15), transparent 24%),
    linear-gradient(145deg,color-mix(in srgb,var(--pv-a) 18%,#172338),rgba(5,13,25,.98));
  border-color:color-mix(in srgb,var(--pv-a) 54%,rgba(255,255,255,.18));
  box-shadow:0 24px 50px rgba(0,0,0,.42),0 0 36px color-mix(in srgb,var(--pv-a) 15%,transparent),inset 0 1px 0 rgba(255,255,255,.16),inset 0 -20px 28px rgba(0,0,0,.3);
}
.pv-main{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.pv-kicker{font-size:12px;margin-bottom:10px;letter-spacing:.19em}
.pv-name{font-size:42px;line-height:1}
.pv-tags{margin-top:14px;gap:8px}
.pv-tags span{padding:8px 13px;font-size:12px;background:rgba(255,255,255,.065)}
.pv-slogan{
  margin-top:16px;
  font-size:24px;
  line-height:1.28;
  max-width:720px;
  text-wrap:balance;
}
.pv-description{
  margin-top:8px;
  max-width:720px;
  font-size:14px;
  color:#d2deee;
}
.pv-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.pv-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.045));
  border:1px solid color-mix(in srgb,var(--pv-a) 20%,rgba(255,255,255,.08));
  color:#f7fbff;
  font-size:12px;
  font-weight:800;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.pv-side{
  position:relative;
  z-index:2;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-between;
  gap:14px;
}
.pv-title-plaque{
  justify-content:center;
  min-height:50px;
  padding:12px 16px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
  border-color:color-mix(in srgb,var(--pv-a) 34%,rgba(255,255,255,.1));
}
.pv-prestige-card{
  display:grid;
  gap:8px;
  padding:16px 16px 18px;
  border-radius:24px;
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb,var(--pv-a) 16%,transparent), transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid color-mix(in srgb,var(--pv-a) 22%,rgba(255,255,255,.08));
  box-shadow:0 20px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
}
.pv-prestige-card span{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:color-mix(in srgb,var(--pv-a) 68%,#dbeafe)}
.pv-prestige-card strong{font-size:38px;line-height:1;color:#fff}
.pv-prestige-card b{font-size:16px;color:#f8fbff}
.pv-prestige-card small{font-size:13px;color:#c7d5e7;line-height:1.45}
.pv-content{padding:18px 20px 20px;gap:14px}
.pv-stat-row{gap:14px}
.pv-stat-row>div{
  min-height:96px;
  border-radius:20px;
  padding:14px 16px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb,var(--pv-a) 9%,transparent), transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.028));
}
.pv-stat-row span{font-size:12px;letter-spacing:.03em;margin-bottom:10px}
.pv-stat-row b{font-size:34px}
.pv-rich-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:14px}
.pv-panel{
  border-radius:22px;
  padding:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.024));
  border:1px solid color-mix(in srgb,var(--pv-a) 17%,rgba(255,255,255,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.pv-section-title{
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:color-mix(in srgb,var(--pv-a) 72%,#dbeafe);
  font-weight:900;
  margin-bottom:14px;
}
.pv-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pv-showcase-slot{
  border-radius:18px;
  min-height:82px;
  padding:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
  border:1px solid color-mix(in srgb,var(--pv-a) 16%,rgba(255,255,255,.08));
}
.pv-showcase-slot span{font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.pv-showcase-slot strong{font-size:15px;line-height:1.25}
.pv-signature-panel{display:flex;flex-direction:column;justify-content:space-between}
.pv-signature-quote{
  font-size:24px;
  line-height:1.28;
  font-weight:900;
  color:#fff;
  text-wrap:balance;
}
.pv-signature-text{
  margin-top:8px;
  color:#ccd8e6;
  line-height:1.5;
  font-size:13px;
}
.pv-mini-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.pv-mini-pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:#eef6ff;
  font-size:12px;
  font-weight:700;
}
.pv-footer-row{align-items:stretch;gap:14px}
.pv-joined{
  min-width:138px;
  border-radius:20px;
  padding:11px 14px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
}
.profile-vitrine-modal .company-profile-owned-note{
  flex:1;
  border-radius:22px;
  padding:14px 16px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
}
.profile-vitrine-modal .company-profile-social-action{
  border-radius:16px;
  padding:12px 16px;
  font-weight:900;
}
.profile-vitrine-preview{margin-top:16px}
.profile-vitrine-preview .pv-cover{min-height:210px;grid-template-columns:100px minmax(0,1fr) 170px;padding:18px 18px 16px;gap:16px}
.profile-vitrine-preview .pv-monogram-wrap{width:96px;height:96px}
.profile-vitrine-preview .pv-monogram{width:80px;height:80px;border-radius:26px;font-size:29px}
.profile-vitrine-preview .pv-monogram-wrap::before{inset:8px;border-radius:28px}
.profile-vitrine-preview .pv-name{font-size:28px}
.profile-vitrine-preview .pv-slogan{font-size:18px;margin-top:12px}
.profile-vitrine-preview .pv-description{font-size:13px}
.profile-vitrine-preview .pv-chip-row{margin-top:12px;gap:8px}
.profile-vitrine-preview .pv-chip{padding:7px 10px;font-size:11px}
.profile-vitrine-preview .pv-title-plaque{min-height:44px;padding:10px 12px}
.profile-vitrine-preview .pv-prestige-card{padding:14px;gap:6px}
.profile-vitrine-preview .pv-prestige-card strong{font-size:28px}
.profile-vitrine-preview .pv-prestige-card b{font-size:14px}
.profile-vitrine-preview .pv-content{padding:14px}
.profile-vitrine-preview .pv-stat-row>div{min-height:74px}
.profile-vitrine-preview .pv-stat-row b{font-size:24px}
.profile-vitrine-preview .pv-rich-grid{grid-template-columns:1fr;gap:10px}
.profile-vitrine-preview .pv-signature-quote{font-size:18px}
.profile-vitrine-preview .pv-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:980px){
  #dialogRoot.profile-vitrine-open .dialog-card{width:min(900px,calc(100vw - 26px))!important}
  .pv-cover{grid-template-columns:140px minmax(0,1fr);min-height:auto}
  .pv-side{grid-column:1/-1;flex-direction:row;align-items:stretch}
  .pv-rich-grid{grid-template-columns:1fr}
}
@media (max-width:820px){
  #dialogRoot.profile-vitrine-open .dialog-card{width:min(660px,calc(100vw - 18px))!important;padding:13px!important}
  .pv-cover,.profile-vitrine-preview .pv-cover{grid-template-columns:1fr;gap:16px;padding:18px}
  .pv-monogram-wrap,.profile-vitrine-preview .pv-monogram-wrap{width:110px;height:110px}
  .pv-monogram{width:92px;height:92px;font-size:34px}
  .pv-name{font-size:34px}
  .pv-slogan{font-size:21px}
  .pv-side{flex-direction:column}
  .pv-stat-row,.pv-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .pv-stat-row,.pv-showcase-grid{grid-template-columns:1fr}
  .pv-content{padding:16px}
  .pv-name{font-size:30px}
  .pv-slogan{font-size:19px}
  .pv-signature-quote{font-size:22px}
}

/* showcase slot luxury styling */
.pv-showcase-slot{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at top left, color-mix(in srgb,var(--slot-accent,#60a5fa) 16%,transparent), transparent 42%),
    linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.028));
  border:1px solid color-mix(in srgb,var(--slot-accent,#60a5fa) 34%,rgba(255,255,255,.08));
  box-shadow:0 16px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.02);
}
.pv-showcase-slot::before,
.pv-showcase-slot::after{
  content:"";
  position:absolute;
  pointer-events:none;
}
.pv-showcase-slot::before{
  inset:0;
  background:linear-gradient(135deg, color-mix(in srgb,var(--slot-accent,#60a5fa) 22%,transparent), transparent 34%, transparent 66%, rgba(255,255,255,.03));
  opacity:.88;
}
.pv-showcase-slot::after{
  left:16px;
  right:16px;
  bottom:12px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, color-mix(in srgb,var(--slot-accent,#60a5fa) 86%,transparent), color-mix(in srgb,var(--slot-accent,#60a5fa) 24%,transparent));
  opacity:.92;
}
.pv-showcase-slot span,
.pv-showcase-slot strong{ position:relative; z-index:1; }
.pv-showcase-slot span{
  color:color-mix(in srgb,var(--slot-accent,#60a5fa) 72%,#f8fbff);
  font-weight:900;
}
.pv-showcase-slot strong{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
  color:#f8fbff;
  font-size:17px;
  letter-spacing:.01em;
  text-shadow:0 2px 14px rgba(0,0,0,.28);
}
.pv-showcase-slot strong i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:14px;
  font-style:normal;
  font-size:16px;
  color:color-mix(in srgb,var(--slot-accent,#60a5fa) 90%,#ffffff);
  background:linear-gradient(180deg, color-mix(in srgb,var(--slot-accent,#60a5fa) 20%,rgba(255,255,255,.1)), rgba(255,255,255,.02));
  border:1px solid color-mix(in srgb,var(--slot-accent,#60a5fa) 36%,rgba(255,255,255,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.18);
}
.pv-showcase-slot.slot-theme{
  background:
    radial-gradient(circle at 15% 15%, rgba(250,204,21,.16), transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
}
.pv-showcase-slot.slot-frame{
  background:
    radial-gradient(circle at 85% 18%, rgba(96,165,250,.14), transparent 36%),
    linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
}
.pv-showcase-slot.slot-badge{
  background:
    radial-gradient(circle at 18% 18%, rgba(245,158,11,.18), transparent 38%),
    linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
}
.pv-showcase-slot.slot-effect{
  background:
    radial-gradient(circle at 85% 18%, rgba(168,85,247,.16), transparent 38%),
    linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
}
.pv-title-plaque{
  border:1px solid color-mix(in srgb,var(--pv-accent) 42%,rgba(255,255,255,.12));
  box-shadow:0 18px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.07), 0 0 22px color-mix(in srgb,var(--pv-accent) 12%,transparent);
}
.pv-title-plaque strong{
  color:color-mix(in srgb,var(--pv-accent) 76%,#fff3c4);
  text-shadow:0 0 18px color-mix(in srgb,var(--pv-accent) 20%,transparent);
}
.pv-chip{
  color:color-mix(in srgb,var(--pv-accent) 82%,#ffffff);
}

/* Premium animal avatar cosmetics */
.pv-monogram-wrap.has-avatar::before{
  inset:8px;
  border-radius:42px;
  border:1px solid color-mix(in srgb,var(--avatar-main,#60a5fa) 38%,rgba(255,255,255,.12));
  box-shadow:0 0 0 1px color-mix(in srgb,var(--avatar-main,#60a5fa) 12%,transparent),0 0 32px color-mix(in srgb,var(--avatar-main,#60a5fa) 28%,transparent);
}
.pv-avatar-shell{
  position:relative;
  z-index:2;
  width:126px;
  height:126px;
  border-radius:38px;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.14), transparent 22%),
    linear-gradient(145deg,color-mix(in srgb,var(--avatar-main,#60a5fa) 18%,#182235),rgba(5,13,25,.98));
  border:1px solid color-mix(in srgb,var(--avatar-main,#60a5fa) 52%,rgba(255,255,255,.18));
  box-shadow:0 24px 50px rgba(0,0,0,.42),0 0 36px var(--avatar-glow,rgba(96,165,250,.25)),inset 0 1px 0 rgba(255,255,255,.16),inset 0 -20px 28px rgba(0,0,0,.3);
  overflow:hidden;
}



/* avatar ring fire orbit override */
.pv-monogram-wrap.has-avatar{
  position:relative;
  width:142px;
  height:142px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pv-monogram-wrap.has-avatar::before,
.pv-monogram-wrap.has-avatar::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:42px;
  pointer-events:none;
}
.pv-monogram-wrap.has-avatar::before{
  background:conic-gradient(
    from 0deg,
    transparent 0deg 36deg,
    rgba(255, 200, 70, .96) 52deg,
    rgba(255, 122, 0, .95) 66deg,
    rgba(255, 66, 0, .72) 78deg,
    transparent 94deg 154deg,
    rgba(255, 210, 95, .88) 168deg,
    rgba(255, 136, 20, .96) 182deg,
    rgba(255, 82, 0, .78) 196deg,
    transparent 214deg 276deg,
    rgba(255, 184, 56, .92) 292deg,
    rgba(255, 108, 0, .95) 306deg,
    rgba(255, 56, 0, .7) 320deg,
    transparent 336deg 360deg
  );
  filter:blur(8px) saturate(1.22);
  opacity:.95;
  animation:pvFireOrbit 4.8s linear infinite;
}
.pv-monogram-wrap.has-avatar::after{
  inset:0;
  border:1px solid rgba(255,190,80,.48);
  box-shadow:0 0 0 1px rgba(255,170,60,.14), 0 0 28px rgba(255,128,0,.28), inset 0 0 22px rgba(255,178,44,.12);
}
.pv-avatar-shell{
  position:relative;
  z-index:2;
  width:126px;
  height:126px;
  border-radius:34px;
  overflow:hidden;
  background:linear-gradient(145deg, rgba(15,23,42,.96), rgba(6,10,20,.98));
  border:1px solid rgba(255,205,120,.26);
  box-shadow:0 18px 38px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -12px 20px rgba(0,0,0,.22);
}
.pv-avatar-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 12%, rgba(255,255,255,.18), transparent 28%), linear-gradient(180deg, rgba(255,214,128,.04), transparent 42%);
  pointer-events:none;
  z-index:2;
}
.pv-avatar-gif{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:34px;
  filter:saturate(1.06) contrast(1.08);
}
@keyframes pvFireOrbit{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
@media (max-width:760px){
  .pv-monogram-wrap.has-avatar{width:132px;height:132px}
  .pv-avatar-shell{width:118px;height:118px;border-radius:30px}
}

/* Profil > Profil düzenle özel yerleşim */
.profile-edit-layout{
  display:grid;
  grid-template-columns:minmax(310px,.9fr) minmax(420px,1.1fr);
  grid-template-areas:
    "vitrine preview"
    "profile preview";
  gap:18px;
  align-items:start;
}
.profile-edit-card{min-width:0;}
.company-vitrine-editor{grid-area:vitrine;}
.company-vitrine-preview-card{grid-area:preview;position:relative;overflow:hidden;}
.profile-account-editor{grid-area:profile;}
.company-vitrine-preview-card #companyProfilePreview{margin:0;}
.company-vitrine-preview-card .profile-vitrine-preview{margin-top:0;}
.company-vitrine-editor .company-profile-owned-note{margin-top:10px!important;}
@media (max-width:980px){
  .profile-edit-layout{
    grid-template-columns:1fr;
    grid-template-areas:
      "vitrine"
      "preview"
      "profile";
  }
}



/* Herkese açık insan avatarları: düz ve efektsiz görünüm */
.premium-chat-avatar.avatar-free.has-avatar,
.dm-avatar.avatar-free.has-avatar,
.social-mini-avatar.avatar-free.has-avatar,
.pm-list-avatar.avatar-free.has-avatar,
.leaderboard-avatar.avatar-free.has-avatar{
  padding:0!important;
  overflow:hidden!important;
  background:#ffffff!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
}
.premium-chat-avatar.avatar-free.has-avatar img,
.dm-avatar.avatar-free.has-avatar img,
.social-mini-avatar.avatar-free.has-avatar img,
.pm-list-avatar.avatar-free.has-avatar img,
.leaderboard-avatar.avatar-free.has-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.pv-avatar-shell.avatar-free{
  background:#ffffff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 18px 34px rgba(0,0,0,.22)!important;
}
.pv-avatar-shell.avatar-free::before{
  display:none!important;
}
.pv-avatar-shell.avatar-free .pv-avatar-gif,
.pv-avatar-shell.avatar-free img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}


/* Borsa sembolleri: dosyadan yüklenen gerçek logo/işaretler */
.stock-watch-icon img,.stock-chart-asset-icon img,.stock-inline-icon img,.ticker-stock-icon img{display:block;width:100%;height:100%;object-fit:contain;padding:0;background:transparent!important;border-radius:0;}
.stock-inline-icon,.ticker-stock-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:0 0 auto;width:24px;height:24px;border-radius:8px;overflow:hidden;background:linear-gradient(180deg,rgba(75,106,144,.24),rgba(35,57,87,.16));border:1px solid rgba(111,142,180,.26);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);}
.ticker-stock-icon{width:20px;height:20px;border-radius:6px;margin-right:2px;}
.stock-inline-icon .ui-icon-fallback,.ticker-stock-icon .ui-icon-fallback,.stock-watch-icon .ui-icon-fallback,.stock-chart-asset-icon .ui-icon-fallback{font-size:11px;font-weight:700;line-height:1;text-transform:uppercase;}
.stock-position-row strong,.stock-watch-row-id strong,.stock-chart-asset strong,.stock-tape-row strong{display:flex;align-items:center;gap:8px;}
.landing-stock-icon{width:18px;height:18px;object-fit:contain;vertical-align:middle;margin-right:6px;border-radius:4px;background:#fff;padding:1px;}


/* Borsa sembolleri beyaz zemin düzeltmesi */
.stock-watch-icon img,.stock-chart-asset-icon img,.stock-inline-icon img,.ticker-stock-icon img{
  background:transparent!important;
  padding:0!important;
  border-radius:0!important;
}
.stock-watch-icon,.stock-chart-asset-icon,.stock-inline-icon,.ticker-stock-icon{
  background:linear-gradient(180deg,rgba(75,106,144,.18),rgba(35,57,87,.12))!important;
}


/* Ürün ve işletme görselleri: temaya uygun gerçek görseller */
.ui-good-icon,.ui-facility-icon,.market-good-icon{
  background:linear-gradient(180deg,rgba(18,31,49,.86),rgba(8,15,28,.92))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 10px 22px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04)!important;
  overflow:hidden!important;
}
.ui-good-icon img,.ui-facility-icon img,.market-good-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:inherit!important;
  filter:none!important;
  display:block!important;
}
.ui-good-icon{width:34px!important;height:34px!important;border-radius:10px!important;}
.ui-good-icon.small{width:22px!important;height:22px!important;border-radius:7px!important;}
.ui-facility-icon,.market-good-icon{width:40px!important;height:40px!important;border-radius:12px!important;}
.production-guide-icon .ui-facility-icon{width:46px!important;height:46px!important;border-radius:16px!important;}
.premium-build-icon .ui-facility-icon,.admin-facility-title > .ui-facility-icon{width:48px!important;height:48px!important;border-radius:15px!important;}
.admin-facility-chain-step .ui-facility-icon{width:32px!important;height:32px!important;border-radius:10px!important;}
.admin-facility-modal-step .ui-facility-icon{width:36px!important;height:36px!important;border-radius:12px!important;}

/* İşletme içi detay rehberi modalı */
.facility-build-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.facility-detail-modal-open{overflow:hidden}
.facility-detail-modal-root{position:fixed;inset:0;z-index:70000;display:grid;place-items:center;padding:18px}
.facility-detail-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.68);backdrop-filter:blur(8px)}
.facility-detail-card{position:relative;z-index:2;width:min(880px,calc(100vw - 28px));max-height:84vh;display:flex;flex-direction:column;overflow:hidden;border-radius:26px;background:linear-gradient(180deg,rgba(13,28,48,.985),rgba(5,13,26,.99));border:1px solid rgba(250,204,21,.26);box-shadow:0 32px 100px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.055)}
.facility-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid rgba(148,163,184,.16);background:linear-gradient(135deg,rgba(250,204,21,.10),rgba(56,189,248,.05) 55%,rgba(255,255,255,.02))}
.facility-detail-hero{display:flex;align-items:center;gap:13px;min-width:0}.facility-detail-hero-img{width:58px;height:58px;border-radius:18px;overflow:hidden;display:grid;place-items:center;background:rgba(2,8,23,.40);border:1px solid rgba(255,255,255,.08);flex:0 0 auto}.facility-detail-hero-img .ui-facility-icon{width:58px!important;height:58px!important;border-radius:18px!important}.facility-detail-hero strong{display:block;color:#fff;font-size:18px;font-weight:950;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:560px}.facility-detail-hero span{display:block;margin-top:4px;color:#9fb0c5;font-size:12px;font-weight:700}.facility-detail-close{width:40px;height:40px;border-radius:14px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.05);color:#e5eefb;font-size:26px;line-height:1;cursor:pointer}.facility-detail-close:hover{border-color:rgba(250,204,21,.36);color:#fff;background:rgba(250,204,21,.10)}
.facility-detail-body{padding:16px;overflow:auto;display:grid;gap:14px;scrollbar-width:thin}.facility-detail-balanced{display:grid;grid-template-columns:1fr 1fr;gap:14px}.facility-detail-panel,.facility-detail-chain{border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));border:1px solid rgba(148,163,184,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.035);min-width:0}.facility-detail-panel{padding:14px}.facility-detail-panel.output{border-color:rgba(56,189,248,.18)}.facility-detail-panel h4,.facility-detail-chain h4{margin:0 0 12px;color:#fde68a;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:950}.facility-detail-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:start;max-height:206px;overflow:auto;padding-right:2px;scrollbar-width:thin}.facility-detail-product{display:grid;grid-template-columns:44px minmax(0,1fr);gap:9px;align-items:center;min-width:0;padding:8px;border-radius:15px;background:rgba(2,8,23,.34);border:1px solid rgba(148,163,184,.12)}.facility-detail-product-img{width:44px;height:44px;border-radius:13px;overflow:hidden}.facility-detail-good-image{width:44px!important;height:44px!important;border-radius:13px!important}.facility-detail-good-image img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important}.facility-detail-product-copy{min-width:0}.facility-detail-product-copy strong{display:block;color:#f8fafc;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.facility-detail-product-copy span{display:block;margin-top:3px;color:#93a7c2;font-size:11px;font-weight:800}.facility-detail-product.sale .facility-detail-product-copy span{color:#7dd3fc}.facility-detail-empty{min-height:62px;display:grid;place-items:center;text-align:center;color:#8da0bb;font-size:12px;border:1px dashed rgba(148,163,184,.20);border-radius:15px;background:rgba(2,8,23,.24)}
.facility-detail-chain{padding:14px}.facility-chain-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);gap:12px;align-items:stretch}.facility-chain-column{min-width:0;border-radius:18px;background:rgba(2,8,23,.25);border:1px solid rgba(148,163,184,.12);padding:11px}.facility-chain-column-title{color:#cbd5e1;font-size:11px;text-transform:uppercase;letter-spacing:.10em;font-weight:950;margin-bottom:9px}.facility-chain-scroll{display:grid;gap:9px;max-height:280px;overflow:auto;padding-right:2px;scrollbar-width:thin}.facility-chain-center{min-width:0;border-radius:20px;display:grid;place-items:center;text-align:center;align-content:center;gap:8px;padding:12px;background:linear-gradient(180deg,rgba(250,204,21,.10),rgba(34,211,238,.06));border:1px solid rgba(250,204,21,.20);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.facility-chain-center .ui-facility-icon{width:76px!important;height:76px!important;border-radius:22px!important}.facility-chain-center strong{color:#fff;font-size:13px;font-weight:950;line-height:1.22}.facility-chain-center span{color:#9fb0c5;font-size:11px;font-weight:800}.facility-chain-line{display:grid;gap:8px;padding:8px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(148,163,184,.10)}.facility-chain-line .facility-detail-product{grid-template-columns:38px minmax(0,1fr);padding:6px}.facility-chain-line .facility-detail-product-img,.facility-chain-line .facility-detail-good-image{width:38px!important;height:38px!important;border-radius:12px!important}.facility-chain-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:6px;min-width:0}.facility-detail-mini{display:grid;grid-template-columns:32px minmax(0,1fr);gap:7px;align-items:center;min-width:0;padding:6px;border-radius:13px;background:rgba(15,23,42,.50);border:1px solid rgba(148,163,184,.12)}.facility-detail-mini-img{width:32px;height:32px;border-radius:10px;overflow:hidden}.facility-detail-mini-img .ui-facility-icon{width:32px!important;height:32px!important;border-radius:10px!important}.facility-detail-mini strong{display:block;color:#e5eefb;font-size:11px;font-weight:900;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.18}.facility-detail-mini span{display:block;color:#90a4bf;font-size:10px;font-weight:800}.facility-chain-targets em,.facility-detail-muted{font-style:normal;color:#8da0bb;font-size:11px;font-weight:800;padding:6px 8px;border-radius:999px;background:rgba(148,163,184,.08);border:1px solid rgba(148,163,184,.10);display:inline-flex;width:max-content;max-width:100%}.facility-guide-retired{padding:18px;border-radius:20px;background:linear-gradient(135deg,rgba(250,204,21,.10),rgba(34,211,238,.05));border:1px solid rgba(250,204,21,.20);display:grid;gap:6px}.facility-guide-retired strong{color:#fff;font-size:15px}.facility-guide-retired span{color:#9fb0c5;font-size:13px}
.subnav-btn[data-subtab="production-guide"],.subtab[data-subtab-panel="production-guide"]{display:none!important}
@media (max-width:780px){.facility-detail-card{max-height:88vh}.facility-detail-hero strong{max-width:calc(100vw - 150px);font-size:16px}.facility-detail-balanced{grid-template-columns:1fr}.facility-detail-product-grid{max-height:180px}.facility-chain-grid{grid-template-columns:1fr}.facility-chain-center{order:-1}.facility-chain-center .ui-facility-icon{width:58px!important;height:58px!important;border-radius:18px!important}.facility-detail-modal-root{padding:10px}}


/* İşletme detay modalı: hiçbir kaynak/hedef gizlenmez */
.facility-chain-targets em{display:none!important;}
@media (max-width:780px){.facility-chain-targets{grid-template-columns:1fr!important;}}


/* Landing ve rehber gerçek görsel sistemi */
.landing-feature-grid article{overflow:hidden!important;padding:0!important;display:flex;flex-direction:column;min-height:270px!important;}
.landing-feature-img{width:100%;height:128px;object-fit:cover;display:block;border-bottom:1px solid rgba(255,255,255,.08);background:#07111f;}
.landing-feature-grid article h3{padding:16px 18px 0;margin:0!important;}
.landing-feature-grid article p{padding:8px 18px 18px;margin:0!important;}
.landing-guide-card img{transform:none!important;object-fit:cover;aspect-ratio:1.12/1;border:1px solid rgba(250,204,21,.20);background:#07111f;}
.landing-guide-preview-grid img,.guide-system-card img,.guide-article-image,.guide-hero-visual img,.landing-city-img{filter:saturate(1.08) contrast(1.04);}
.seo-topbar{grid-template-columns:minmax(0,1.2fr) minmax(280px,.72fr)!important;}
.seo-visual-card{margin:0;overflow:hidden;border-radius:20px;border:1px solid rgba(250,204,21,.20);background:#07111f;box-shadow:0 22px 58px rgba(0,0,0,.32);align-self:stretch;min-height:240px;}
.seo-visual-card img{width:100%;height:100%;min-height:240px;object-fit:cover;display:block;filter:saturate(1.08) contrast(1.04);}
.seo-pills{grid-column:1/-1;}
@media(max-width:900px){.seo-topbar{grid-template-columns:1fr!important}.seo-visual-card{min-height:190px}.seo-visual-card img{min-height:190px}.landing-feature-grid article{min-height:auto!important}.landing-feature-img{height:160px}}


/* Admin haber paneli */
.admin-news-row{align-items:center;gap:12px;}
.admin-news-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.admin-news-actions .btn{padding:6px 10px;font-size:12px;line-height:1;}
@media (max-width:700px){.admin-news-row{align-items:flex-start}.admin-news-actions{justify-content:flex-start;width:100%;}}

/* Admin test coin kurtarma butonları */
.admin-crypto-asset-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:360px}
.admin-crypto-asset-actions .btn{padding:7px 10px;font-size:11px;line-height:1;white-space:nowrap}
.admin-crypto-asset-row{align-items:flex-start}
@media (max-width:760px){.admin-crypto-asset-actions{justify-content:flex-start;max-width:100%}.admin-crypto-asset-actions .btn{flex:1 1 135px}}

/* admin menu simplification */
.admin-subnav-refined{align-items:center;justify-content:flex-start;gap:10px;row-gap:12px;padding:10px 12px;border-radius:24px;background:linear-gradient(180deg,rgba(8,17,32,.94),rgba(13,24,42,.78));border:1px solid rgba(244,196,79,.12);box-shadow:0 18px 48px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.03)}
.admin-hub-grid{align-items:start}
.admin-hub-hero-card{background:linear-gradient(135deg,rgba(244,196,79,.10),rgba(34,211,238,.05),rgba(10,20,38,.96));border-color:rgba(244,196,79,.18)}
.admin-hub-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.admin-hub-section-head.compact{margin-bottom:14px}
.admin-hub-section-head h3{margin-bottom:6px}
.admin-hub-section-head p{color:#a8bfd7;line-height:1.5}
.admin-hub-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.admin-hub-modal-root{position:fixed;inset:0;z-index:31000;display:grid;place-items:center;padding:20px}
.admin-hub-modal-root[hidden]{display:none!important}
.admin-hub-modal-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.72);backdrop-filter:blur(6px)}
.admin-hub-modal-card{position:relative;z-index:1;width:min(1120px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;padding:20px;border-radius:26px;background:linear-gradient(180deg,rgba(10,20,38,.98),rgba(14,27,46,.98));border:1px solid rgba(244,196,79,.18);box-shadow:0 24px 80px rgba(0,0,0,.38)}
.admin-hub-modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid rgba(148,163,184,.12)}
body.admin-hub-modal-open{overflow:hidden}
@media(max-width:860px){.admin-hub-section-head{flex-direction:column}.admin-hub-actions{justify-content:flex-start}.admin-hub-modal-card{width:min(100vw - 16px,1120px);padding:16px}}

/* === Premium Admin Panel Refresh === */
[data-tab-panel="admin"]{
  position:relative;
  isolation:isolate;
}
[data-tab-panel="admin"]::before{
  content:"";
  position:absolute;
  inset:-10px -4px auto -4px;
  height:280px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 10% 10%, rgba(244,196,79,.18), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(56,189,248,.14), transparent 30%),
    linear-gradient(180deg, rgba(15,25,43,.85), rgba(15,25,43,0));
  filter:blur(2px);
}
[data-tab-panel="admin"] > .subnav.admin-subnav-refined{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  padding:14px;
  margin-bottom:18px;
  border-radius:28px;
  border:1px solid rgba(244,196,79,.16);
  background:
    linear-gradient(180deg, rgba(8,17,32,.94), rgba(13,24,42,.84)),
    radial-gradient(circle at top left, rgba(244,196,79,.18), transparent 30%);
  box-shadow:0 26px 70px rgba(2,8,23,.35), inset 0 1px 0 rgba(255,255,255,.05), inset 0 -1px 0 rgba(244,196,79,.05);
  backdrop-filter:blur(10px);
}
[data-tab-panel="admin"] .subnav-btn{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:14px 18px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.01em;
  color:#d9e6f2;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(148,163,184,.16);
  border-radius:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(2,8,23,.18);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
[data-tab-panel="admin"] .subnav-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(244,196,79,.26);
  box-shadow:0 14px 30px rgba(2,8,23,.3), 0 0 0 1px rgba(244,196,79,.05), inset 0 1px 0 rgba(255,255,255,.04);
}
[data-tab-panel="admin"] .subnav-btn.active{
  color:#fff7df;
  background:
    linear-gradient(180deg, rgba(244,196,79,.20), rgba(244,196,79,.08)),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-color:rgba(244,196,79,.36);
  box-shadow:0 18px 32px rgba(244,196,79,.12), inset 0 1px 0 rgba(255,249,214,.30);
}
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"]{
  gap:18px;
}
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] > .panel-card,
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] .grid-cards > .panel-card,
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] .grid-2 > .panel-card,
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] .grid-3 > .panel-card{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 28%),
    radial-gradient(circle at top left, rgba(244,196,79,.10), transparent 24%),
    linear-gradient(180deg, rgba(10,22,38,.98), rgba(8,18,32,.98));
  border:1px solid rgba(156,174,204,.12);
  border-radius:24px;
  box-shadow:0 18px 48px rgba(2,8,23,.26), inset 0 1px 0 rgba(255,255,255,.04);
}
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] > .panel-card::before,
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] .grid-cards > .panel-card::before,
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] .grid-2 > .panel-card::before,
[data-tab-panel="admin"] .subtab[data-subtab-panel^="admin-"] .grid-3 > .panel-card::before{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(244,196,79,.46), transparent);
}
[data-tab-panel="admin"] .panel-card h3,
[data-tab-panel="admin"] .panel-card h2{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
[data-tab-panel="admin"] .panel-card h3::before,
[data-tab-panel="admin"] .panel-card h2::before{
  width:8px;
  height:20px;
  border-radius:999px;
  background:linear-gradient(180deg, #fff2b8, #f4c44f, #7f5613);
  box-shadow:0 0 18px rgba(244,196,79,.28);
}
[data-tab-panel="admin"] .mini-list{
  gap:10px;
}
[data-tab-panel="admin"] .mini-item,
[data-tab-panel="admin"] .admin-user,
[data-tab-panel="admin"] .market-item,
[data-tab-panel="admin"] .facility-item{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
[data-tab-panel="admin"] .mini-item:hover,
[data-tab-panel="admin"] .admin-user:hover,
[data-tab-panel="admin"] .market-item:hover,
[data-tab-panel="admin"] .facility-item:hover{
  border-color:rgba(244,196,79,.18);
}
[data-tab-panel="admin"] label{
  display:grid;
  gap:7px;
  color:#e8eff8;
  font-weight:700;
  font-size:13px;
}
[data-tab-panel="admin"] input,
[data-tab-panel="admin"] select,
[data-tab-panel="admin"] textarea{
  width:100%;
  color:#f8fbff;
  background:linear-gradient(180deg, rgba(6,12,22,.82), rgba(10,18,31,.92));
  border:1px solid rgba(148,163,184,.16);
  border-radius:16px;
  padding:13px 14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 1px 0 rgba(0,0,0,.15);
}
[data-tab-panel="admin"] input:focus,
[data-tab-panel="admin"] select:focus,
[data-tab-panel="admin"] textarea:focus{
  outline:none;
  border-color:rgba(244,196,79,.34);
  box-shadow:0 0 0 4px rgba(244,196,79,.08), inset 0 1px 0 rgba(255,255,255,.04);
}
[data-tab-panel="admin"] .btn{
  border-radius:15px;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 10px 24px rgba(2,8,23,.18), inset 0 1px 0 rgba(255,255,255,.05);
}
[data-tab-panel="admin"] .btn.btn-primary{
  background:linear-gradient(180deg, #f2cb67, #c99522);
  color:#1d1404;
  border-color:rgba(255,233,161,.45);
}
[data-tab-panel="admin"] .btn.btn-secondary{
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  color:#edf6ff;
  border-color:rgba(148,163,184,.20);
}
[data-tab-panel="admin"] .btn.btn-danger,
[data-tab-panel="admin"] .btn.danger{
  background:linear-gradient(180deg, rgba(239,68,68,.95), rgba(153,27,27,.96));
  color:white;
}
[data-tab-panel="admin"] .badge{
  font-weight:800;
  letter-spacing:.01em;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.06);
}
[data-tab-panel="admin"] .admin-hub-hero-card{
  background:
    radial-gradient(circle at 8% 10%, rgba(244,196,79,.18), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(56,189,248,.10), transparent 26%),
    linear-gradient(135deg, rgba(12,27,49,.98), rgba(6,14,28,.98));
  border-color:rgba(244,196,79,.24);
}
[data-tab-panel="admin"] .admin-hub-modal-card{
  background:
    radial-gradient(circle at top left, rgba(244,196,79,.12), transparent 26%),
    radial-gradient(circle at top right, rgba(56,189,248,.08), transparent 24%),
    linear-gradient(180deg, rgba(9,20,38,.985), rgba(11,23,40,.985));
  border:1px solid rgba(244,196,79,.18);
  border-radius:28px;
}
[data-tab-panel="admin"] .admin-hub-modal-head{
  padding-bottom:16px;
  margin-bottom:20px;
}
[data-tab-panel="admin"] #adminStockPanel .admin-fx-compact-list,
[data-tab-panel="admin"] #adminFxManagementPanel .admin-fx-compact-list{
  display:grid;
  gap:12px;
}
[data-tab-panel="admin"] .admin-fx-compact-row{
  display:grid;
  grid-template-columns:100px minmax(0,1fr) minmax(200px,1.2fr) auto;
  align-items:center;
  gap:16px;
  width:100%;
  text-align:left;
  padding:16px 18px;
  color:#ecf4fc;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(148,163,184,.12);
  border-radius:18px;
}
[data-tab-panel="admin"] .admin-fx-compact-row:hover{
  border-color:rgba(244,196,79,.24);
  transform:translateY(-1px);
}
[data-tab-panel="admin"] .admin-fx-code{
  font-size:18px;
  font-weight:900;
  color:#fff5d0;
}
[data-tab-panel="admin"] .admin-fx-name{
  font-weight:800;
}
[data-tab-panel="admin"] .admin-fx-rate{
  color:#b5c8d9;
  font-size:13px;
  line-height:1.5;
}
[data-tab-panel="admin"] .admin-stock-announcement-limit-card,
[data-tab-panel="admin"] .mining-transfer-limit{
  display:grid;
  grid-template-columns:minmax(0,1.8fr) minmax(220px,.9fr) auto;
  gap:14px;
  align-items:end;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(244,196,79,.18);
  background:linear-gradient(135deg, rgba(244,196,79,.10), rgba(15,28,49,.95));
  margin-bottom:16px;
}
[data-tab-panel="admin"] .admin-stock-announcement-limit-copy strong{
  display:block;
  margin-bottom:6px;
  color:#fff4cb;
}
[data-tab-panel="admin"] .stack-form{
  gap:14px;
}
[data-tab-panel="admin"] .inline-form{
  gap:12px;
}
[data-tab-panel="admin"] .admin-users{
  gap:14px;
}
[data-tab-panel="admin"] .admin-user-head{
  align-items:flex-start;
}
[data-tab-panel="admin"] #adminSummaryPanel .mini-item{
  background:linear-gradient(135deg, rgba(244,196,79,.09), rgba(56,189,248,.05), rgba(255,255,255,.02));
}
[data-tab-panel="admin"] #adminSummaryPanel .mini-item strong{
  color:#fff1ba;
}
[data-tab-panel="admin"] .item-actions{
  gap:10px;
}
@media (max-width:1200px){
  [data-tab-panel="admin"] > .subnav.admin-subnav-refined{grid-template-columns:repeat(3,minmax(0,1fr));}
  [data-tab-panel="admin"] .admin-fx-compact-row{grid-template-columns:80px minmax(0,1fr);}
  [data-tab-panel="admin"] .admin-fx-rate{grid-column:1 / -1;}
  [data-tab-panel="admin"] .admin-stock-announcement-limit-card,
  [data-tab-panel="admin"] .mining-transfer-limit{grid-template-columns:1fr;}
}
@media (max-width:860px){
  [data-tab-panel="admin"] > .subnav.admin-subnav-refined{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;}
}
@media (max-width:560px){
  [data-tab-panel="admin"] > .subnav.admin-subnav-refined{grid-template-columns:1fr;}
  [data-tab-panel="admin"] .subnav-btn{min-height:52px;}
}

/* Admin facility quick enable/disable toggle */
.admin-facility-status-cell{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:128px;justify-self:end;}
.admin-facility-quick-toggle{position:relative;width:48px;height:26px;border:1px solid rgba(148,163,184,.22);border-radius:999px;padding:0;background:linear-gradient(180deg,rgba(71,85,105,.45),rgba(30,41,59,.70));box-shadow:inset 0 1px 4px rgba(0,0,0,.35),0 8px 18px rgba(0,0,0,.18);cursor:pointer;transition:.18s ease;flex:0 0 auto;}
.admin-facility-quick-toggle span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:999px;background:linear-gradient(180deg,#f8fafc,#94a3b8);box-shadow:0 4px 10px rgba(0,0,0,.28);transition:.18s ease;}
.admin-facility-quick-toggle.on{border-color:rgba(34,197,94,.38);background:linear-gradient(180deg,rgba(16,185,129,.42),rgba(5,90,65,.72));box-shadow:inset 0 1px 4px rgba(0,0,0,.28),0 0 18px rgba(16,185,129,.16);}
.admin-facility-quick-toggle.on span{left:25px;background:linear-gradient(180deg,#dcfce7,#4ade80);}
.admin-facility-quick-toggle.off{border-color:rgba(239,68,68,.34);background:linear-gradient(180deg,rgba(127,29,29,.45),rgba(45,16,16,.72));}
.admin-facility-quick-toggle.off span{background:linear-gradient(180deg,#fecaca,#f87171);}
.admin-facility-quick-toggle:hover{transform:translateY(-1px);filter:brightness(1.08);}
.admin-facility-quick-toggle:disabled{opacity:.55;cursor:wait;transform:none;}
.admin-facility-alpha-row .admin-facility-quick-toggle{z-index:2;}
@media(max-width:840px){.admin-facility-status-cell{justify-self:flex-start;min-width:0;}}


/* Admin işletme ayarları: sağ sütun taşma/kompakt satır düzeltmesi */
#adminFacilitySettingsPanel .admin-facility-alpha-columns{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-count:auto!important;
  column-gap:0!important;
  gap:8px 10px!important;
}
#adminFacilitySettingsPanel .admin-facility-alpha-columns .admin-facility-alpha-row{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(78px,.42fr) 104px!important;
  gap:8px!important;
  align-items:center!important;
  margin:0!important;
  padding:9px 10px!important;
  overflow:hidden!important;
}
#adminFacilitySettingsPanel .admin-facility-alpha-name,
#adminFacilitySettingsPanel .admin-facility-alpha-meta{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
#adminFacilitySettingsPanel .admin-facility-alpha-name{
  font-size:12.5px!important;
  letter-spacing:.01em!important;
}
#adminFacilitySettingsPanel .admin-facility-alpha-meta{
  font-size:11.5px!important;
}
#adminFacilitySettingsPanel .admin-facility-status-cell{
  min-width:0!important;
  width:104px!important;
  max-width:104px!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  overflow:visible!important;
}
#adminFacilitySettingsPanel .admin-facility-status-cell .badge{
  min-width:48px!important;
  justify-content:center!important;
  padding:5px 8px!important;
  font-size:11px!important;
}
#adminFacilitySettingsPanel .admin-facility-quick-toggle{
  width:40px!important;
  height:22px!important;
}
#adminFacilitySettingsPanel .admin-facility-quick-toggle span{
  width:16px!important;
  height:16px!important;
  top:2px!important;
  left:2px!important;
}
#adminFacilitySettingsPanel .admin-facility-quick-toggle.on span{
  left:20px!important;
}
@media(max-width:1320px){
  #adminFacilitySettingsPanel .admin-facility-alpha-columns{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  #adminFacilitySettingsPanel .admin-facility-alpha-columns{
    grid-template-columns:1fr!important;
  }
  #adminFacilitySettingsPanel .admin-facility-alpha-columns .admin-facility-alpha-row{
    grid-template-columns:minmax(0,1fr) 104px!important;
  }
  #adminFacilitySettingsPanel .admin-facility-alpha-meta{
    display:none!important;
  }
}


/* shop yardımcı modalları: yukarı hizalama ve overlay çakışma fix */
.admin-hub-modal-root{
  z-index:120000!important;
  display:grid!important;
  place-items:start center!important;
  align-items:start!important;
  justify-items:center!important;
  padding:clamp(42px,6vh,72px) 20px 24px!important;
  overflow:auto!important;
}
.admin-hub-modal-root[hidden]{display:none!important}
.admin-hub-modal-card{
  margin:0 auto!important;
  max-height:calc(100vh - clamp(84px,12vh,120px))!important;
  overflow:auto!important;
}
#adminPcoinPaymentModal .admin-hub-modal-card,
#adminCouponModal .admin-hub-modal-card{
  width:min(1080px,calc(100vw - 32px))!important;
}
.admin-hub-modal-open .global-chat-shell{
  pointer-events:none!important;
  opacity:.18!important;
  filter:blur(1px)!important;
}
@media(max-height:720px){
  .admin-hub-modal-root{padding-top:28px!important}
  .admin-hub-modal-card{max-height:calc(100vh - 56px)!important}
}

/* ACIL FIX: Shop yardımcı modalları gerçek body overlay olarak açılır */
.admin-hub-modal-layer{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  pointer-events:none!important;
}
.admin-hub-modal-layer .admin-hub-modal-root,
body > .admin-hub-modal-root{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  z-index:2147483000!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:24px 24px 24px!important;
  overflow:auto!important;
  pointer-events:auto!important;
  isolation:isolate!important;
}
.admin-hub-modal-layer .admin-hub-modal-root[hidden],
body > .admin-hub-modal-root[hidden]{display:none!important;}
.admin-hub-modal-layer .admin-hub-modal-backdrop,
body > .admin-hub-modal-root .admin-hub-modal-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  background:rgba(2,6,23,.80)!important;
  backdrop-filter:blur(8px)!important;
}
.admin-hub-modal-layer .admin-hub-modal-card,
body > .admin-hub-modal-root .admin-hub-modal-card{
  position:relative!important;
  z-index:1!important;
  margin:0 auto!important;
  transform:none!important;
  width:min(1120px,calc(100vw - 48px))!important;
  max-height:calc(100vh - 48px)!important;
  overflow:auto!important;
  border-radius:28px!important;
  box-shadow:0 30px 120px rgba(0,0,0,.58),0 0 0 1px rgba(244,196,79,.10)!important;
}
#adminPcoinPaymentModal .admin-hub-modal-card,
#adminCouponModal .admin-hub-modal-card{
  width:min(1080px,calc(100vw - 48px))!important;
}
.admin-hub-modal-open .topbar,
.admin-hub-modal-open .top-stats,
.admin-hub-modal-open .global-chat-shell{
  pointer-events:none!important;
}
.admin-hub-modal-open .global-chat-shell{
  opacity:0!important;
  visibility:hidden!important;
}
@media(max-height:620px){
  .admin-hub-modal-layer .admin-hub-modal-root,
  body > .admin-hub-modal-root{padding-top:12px!important;padding-bottom:12px!important;}
  .admin-hub-modal-layer .admin-hub-modal-card,
  body > .admin-hub-modal-root .admin-hub-modal-card{max-height:calc(100vh - 24px)!important;}
}

/* Support / Ticket sistemi */
.support-tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:8px;border-radius:999px;background:linear-gradient(135deg,#ef4444,#f97316);color:#fff;font-size:11px;font-weight:900;box-shadow:0 0 18px rgba(239,68,68,.38)}
.support-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr);gap:16px;align-items:start}.support-detail-card{grid-column:1/-1}.support-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.support-ticket-form textarea,.support-reply-form textarea{resize:vertical;min-height:96px}.support-ticket-list,.support-admin-list{display:grid;gap:10px}.support-ticket-card{width:100%;display:flex;align-items:stretch;justify-content:space-between;gap:14px;text-align:left;border:1px solid rgba(255,214,102,.14);border-radius:18px;background:linear-gradient(145deg,rgba(15,25,42,.92),rgba(8,16,29,.86));color:var(--text);padding:14px 15px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 34px rgba(0,0,0,.18);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.support-ticket-card:hover,.support-ticket-card.active{transform:translateY(-1px);border-color:rgba(255,207,86,.55);box-shadow:0 18px 42px rgba(0,0,0,.28),0 0 0 1px rgba(255,207,86,.12) inset}.support-ticket-card.unread{border-color:rgba(45,212,191,.52);box-shadow:0 0 0 1px rgba(45,212,191,.14) inset,0 18px 42px rgba(13,148,136,.13)}.support-ticket-main{display:grid;gap:5px;min-width:0}.support-ticket-main strong{font-size:14px;color:#f8fafc}.support-ticket-main small{color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:640px}.support-ticket-side{display:grid;align-content:space-between;justify-items:end;gap:8px;flex:0 0 auto}.support-ticket-side em{font-style:normal;font-size:11px;color:#8ea3bd}.badge.muted{background:rgba(148,163,184,.14);border-color:rgba(148,163,184,.2);color:#cbd5e1}.support-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;padding:14px;border:1px solid rgba(255,214,102,.14);border-radius:18px;background:linear-gradient(135deg,rgba(255,214,102,.08),rgba(15,23,42,.64))}.support-message-list{display:grid;gap:12px;margin:14px 0}.support-message{max-width:min(760px,92%);border:1px solid rgba(148,163,184,.17);border-radius:18px;padding:12px 14px;background:rgba(15,23,42,.78);box-shadow:0 14px 30px rgba(0,0,0,.18)}.support-message.mine{justify-self:end;border-color:rgba(255,207,86,.34);background:linear-gradient(145deg,rgba(95,70,18,.78),rgba(15,23,42,.9))}.support-message.theirs{justify-self:start;border-color:rgba(45,212,191,.24);background:linear-gradient(145deg,rgba(10,38,48,.78),rgba(15,23,42,.9))}.support-message-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#cbd5e1;margin-bottom:7px}.support-message-head span{color:#7f94ad}.support-message-body{line-height:1.55;color:#f8fafc;word-break:break-word}.support-empty-state,.support-closed-note{border:1px dashed rgba(255,214,102,.24);border-radius:18px;padding:18px;color:#cbd5e1;background:rgba(15,23,42,.58)}.support-closed-note{border-color:rgba(239,68,68,.26);color:#fecaca}.support-admin-card{min-height:560px}.support-admin-summary{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;margin-bottom:14px}.support-admin-summary>div{border:1px solid rgba(255,214,102,.14);border-radius:18px;padding:14px;background:linear-gradient(145deg,rgba(255,214,102,.08),rgba(15,23,42,.88))}.support-admin-summary small{display:block;color:#8ea3bd;margin-bottom:4px}.support-admin-summary strong{font-size:22px;color:#f8fafc}.support-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.support-filter-btn{border:1px solid rgba(255,214,102,.18);border-radius:999px;background:rgba(15,23,42,.86);color:#cbd5e1;padding:8px 12px;font-weight:800;cursor:pointer}.support-filter-btn.active,.support-filter-btn:hover{border-color:rgba(255,207,86,.58);color:#fff2b8;background:rgba(255,207,86,.12)}.support-admin-layout{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(420px,1.15fr);gap:16px;align-items:start}.support-admin-detail{border:1px solid rgba(255,214,102,.12);border-radius:20px;padding:14px;background:rgba(8,16,29,.56)}.support-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}.support-reply-form{margin-top:12px}.support-reply-form .btn{justify-self:start}
@media (max-width: 980px){.support-layout,.support-admin-layout{grid-template-columns:1fr}.support-detail-card{grid-column:auto}.support-admin-summary{grid-template-columns:repeat(2,minmax(120px,1fr))}.support-ticket-card{flex-direction:column}.support-ticket-side{justify-items:start;grid-auto-flow:column;justify-content:space-between}.support-message{max-width:100%}}

.support-tab-badge[hidden]{display:none!important}

/* Oyuncu işlem logları */
.admin-log-modal-root{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;}
.admin-log-modal-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.78);backdrop-filter:blur(8px);}
.admin-log-modal-card{position:relative;width:min(1180px,96vw);max-height:92vh;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(145deg,rgba(15,23,42,.98),rgba(8,13,26,.98));border:1px solid rgba(250,204,21,.22);border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.55);}
.admin-log-modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 24px;border-bottom:1px solid rgba(148,163,184,.18);}
.admin-log-modal-head h3{margin:4px 0 3px;font-size:24px;line-height:1.15;color:#f8fafc;}
.admin-log-modal-head p{margin:0;color:#94a3b8;font-size:13px;}
.admin-log-filters{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr)) repeat(2,minmax(150px,1fr)) minmax(220px,1.3fr) auto;gap:12px;align-items:end;padding:16px 24px;border-bottom:1px solid rgba(148,163,184,.12);}
.admin-log-filters label{display:block;}
.admin-log-filters span{display:block;margin-bottom:6px;font-size:11px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;}
.admin-log-filters input,.admin-log-filters select{width:100%;height:40px;border-radius:12px;border:1px solid rgba(148,163,184,.24);background:rgba(2,6,23,.42);color:#e2e8f0;padding:0 12px;outline:none;}
.admin-log-keyword{min-width:220px;}
.admin-log-note{margin:0 24px 14px;padding:10px 12px;border:1px dashed rgba(250,204,21,.24);border-radius:14px;background:rgba(250,204,21,.06);color:#cbd5e1;font-size:12px;}
.admin-log-list{overflow:auto;padding:0 24px 22px;}
.admin-log-day{position:sticky;top:0;z-index:1;margin:12px 0 10px;padding:7px 10px;width:max-content;border-radius:999px;background:rgba(250,204,21,.12);border:1px solid rgba(250,204,21,.22);color:#fde68a;font-size:12px;font-weight:800;}
.admin-log-row{margin:10px 0;padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:18px;background:rgba(15,23,42,.58);box-shadow:inset 0 1px 0 rgba(255,255,255,.03);}
.admin-log-row-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
.admin-log-row-head strong{display:block;margin-top:4px;color:#f8fafc;font-size:15px;}
.admin-log-row-head small{display:block;margin-top:4px;color:#64748b;font-size:11px;}
.admin-log-type{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:rgba(59,130,246,.13);border:1px solid rgba(59,130,246,.22);color:#bfdbfe;font-size:11px;font-weight:800;}
.admin-log-summary{margin-top:10px;color:#e2e8f0;font-size:13px;line-height:1.55;}
.admin-log-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:12px;}
.admin-log-detail-grid div{padding:9px 10px;border-radius:12px;background:rgba(2,6,23,.38);border:1px solid rgba(148,163,184,.1);min-width:0;}
.admin-log-detail-grid span{display:block;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.04em;}
.admin-log-detail-grid strong{display:block;margin-top:3px;color:#cbd5e1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.admin-log-empty{padding:26px;text-align:center;border:1px dashed rgba(148,163,184,.22);border-radius:18px;color:#94a3b8;background:rgba(15,23,42,.38);}
.admin-log-empty.error{color:#fecaca;border-color:rgba(248,113,113,.28);background:rgba(127,29,29,.16);}
.admin-log-pagebar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:12px;border-top:1px solid rgba(148,163,184,.12);color:#94a3b8;font-size:12px;}
.admin-player-log-tab{padding:24px;border:1px dashed rgba(250,204,21,.25);border-radius:18px;background:rgba(250,204,21,.06);text-align:center;}
.badge.success{background:rgba(34,197,94,.14);color:#bbf7d0;border-color:rgba(34,197,94,.24);}
.badge.danger{background:rgba(239,68,68,.14);color:#fecaca;border-color:rgba(239,68,68,.24);}
@media (max-width:900px){.admin-log-modal-root{padding:10px}.admin-log-modal-card{max-height:96vh}.admin-log-filters{grid-template-columns:1fr 1fr}.admin-log-keyword{grid-column:1/-1}.admin-log-filters button{grid-column:1/-1}.admin-log-pagebar{flex-direction:column}.admin-log-row-head{flex-direction:column}.admin-log-modal-head{padding:18px}.admin-log-list{padding:0 16px 18px}.admin-log-filters{padding:14px 16px}.admin-log-note{margin:0 16px 12px}}

/* Moderator role system */
.mod-role-tag{
  display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:999px;
  background:rgba(34,197,94,.16);border:1px solid rgba(34,197,94,.42);color:#86efac;
  font-weight:800;font-size:11px;letter-spacing:.04em;vertical-align:middle;margin-right:4px;
}
.admin-role-panel .mod-role-manager{display:grid;gap:14px;}
.mod-role-topbar{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:4px;}
.mod-role-topbar label{min-width:260px;display:grid;gap:6px;color:#cbd5e1;font-size:12px;}
.mod-role-topbar select{background:rgba(15,23,42,.86);border:1px solid rgba(148,163,184,.24);border-radius:12px;color:#e5e7eb;padding:10px 12px;}
.mod-role-selected{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid rgba(34,197,94,.22);border-radius:16px;background:rgba(34,197,94,.07);}
.mod-permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;}
.mod-permission-group{border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(15,23,42,.55);padding:12px;}
.mod-permission-group h4{margin:0 0 10px;color:#e5e7eb;}
.mod-permission-line{display:grid;grid-template-columns:auto 1fr;gap:8px 10px;align-items:start;padding:8px;border-radius:12px;border:1px solid transparent;}
.mod-permission-line:hover{background:rgba(148,163,184,.08);border-color:rgba(148,163,184,.16);}
.mod-permission-line input{margin-top:3px;}
.mod-permission-line span{color:#f8fafc;font-weight:700;}
.mod-permission-line small{grid-column:2;color:#94a3b8;font-size:11px;}
.admin-permission-hidden{display:none!important;}


.mod-ban-approval-box.compact{padding:12px 14px;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(15,23,42,.42);}
.mod-ban-request-list.compact{display:grid;gap:10px;}
.mod-ban-request-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:rgba(15,23,42,.55);}
.mod-ban-request-card.pending{border-color:rgba(250,204,21,.26);box-shadow:0 0 0 1px rgba(250,204,21,.08) inset;}
.mod-ban-request-main{min-width:0;display:grid;gap:5px;}
.mod-ban-request-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.mod-ban-request-text{color:#cbd5e1;font-size:13px;line-height:1.45;word-break:break-word;}
.mod-ban-request-text span{color:#94a3b8;font-weight:700;}
.mod-ban-request-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
@media (max-width:900px){.mod-ban-request-card{grid-template-columns:1fr}.mod-ban-request-actions{justify-content:flex-start;}}

/* Moderator ban approval modal + red counters */
.mod-ban-approval-launch{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(15,23,42,.48);}
.mod-red-count,.admin-role-pending-dot{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#dc2626;color:#fff;font-weight:900;font-size:12px;line-height:1;box-shadow:0 0 0 2px rgba(127,29,29,.35),0 8px 18px rgba(220,38,38,.28);}
.admin-role-pending-dot{margin-left:8px;vertical-align:middle;}
.mod-ban-modal-root{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:22px;}
.mod-ban-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(7px);}
.mod-ban-modal-card{position:relative;z-index:2;width:min(1180px,calc(100vw - 28px));max-height:88vh;overflow:hidden;display:flex;flex-direction:column;border-radius:24px;background:linear-gradient(180deg,rgba(11,24,43,.98),rgba(6,14,26,.98));border:1px solid rgba(250,204,21,.24);box-shadow:0 30px 90px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.05);}
.mod-ban-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;border-bottom:1px solid rgba(148,163,184,.14);}
.mod-ban-modal-head strong{color:#fff;font-size:18px;}
.mod-ban-modal-list{display:grid;gap:10px;padding:16px 18px 20px;overflow:auto;}
.mod-ban-request-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:rgba(15,23,42,.55);}
.mod-ban-request-card.pending{border-color:rgba(250,204,21,.32);box-shadow:0 0 0 1px rgba(250,204,21,.08) inset;}
.mod-ban-request-main{min-width:0;display:grid;gap:5px;}
.mod-ban-request-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.mod-ban-request-text{color:#cbd5e1;font-size:13px;line-height:1.45;word-break:break-word;}
.mod-ban-request-text span{color:#94a3b8;font-weight:800;}
.mod-ban-request-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
@media (max-width:900px){.mod-ban-approval-launch{align-items:flex-start;flex-direction:column}.mod-ban-request-card{grid-template-columns:1fr}.mod-ban-request-actions{justify-content:flex-start}.mod-ban-modal-root{padding:10px}.mod-ban-modal-card{max-height:94vh}}


/* Global centered flash notifications */
.flash{
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(620px,calc(100vw - 32px));
  margin:0;
  padding:16px 20px;
  border-radius:18px;
  text-align:center;
  font-weight:800;
  line-height:1.5;
  color:#f8fafc;
  background:rgba(15,23,42,.96);
  border:1px solid rgba(34,197,94,.35);
  box-shadow:0 30px 90px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.04) inset;
  z-index:65000!important;
  pointer-events:none;
  backdrop-filter:blur(16px);
}
.flash.success{background:linear-gradient(180deg,rgba(3,105,74,.96),rgba(6,78,59,.96));border-color:rgba(52,211,153,.45);}
.flash.error{background:linear-gradient(180deg,rgba(127,29,29,.97),rgba(69,10,10,.97));border-color:rgba(248,113,113,.45);color:#fff1f2;}
.flash.info{background:linear-gradient(180deg,rgba(30,64,175,.96),rgba(30,58,138,.96));border-color:rgba(96,165,250,.42);color:#eff6ff;}
.flash.warning{background:linear-gradient(180deg,rgba(120,83,12,.96),rgba(92,64,8,.96));border-color:rgba(250,204,21,.45);color:#fffbeb;}
.flash.hidden{display:none!important;}
.flash-enter{opacity:0;transform:translate(-50%,calc(-50% - 8px)) scale(.98);}
.flash-enter-active{opacity:1;transform:translate(-50%,-50%) scale(1);transition:all .22s ease;}
.flash-exit{opacity:1;transform:translate(-50%,-50%) scale(1);}
.flash-exit-active{opacity:0;transform:translate(-50%,calc(-50% - 8px)) scale(.98);transition:all .22s ease;}
@media (max-width:700px){.flash{width:min(92vw,520px);padding:14px 16px;font-size:14px;}}


/* FINAL OVERRIDE: flash must always be above every modal/profile/dialog */
html body #flash.flash,
html body .flash#flash{
  position:fixed!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  z-index:2147483647!important;
  width:min(620px,calc(100vw - 32px))!important;
  margin:0!important;
  pointer-events:none!important;
  isolation:isolate!important;
}
html body #flash.flash.hidden{display:none!important;}
html body #flash.flash.flash-enter{opacity:0!important;transform:translate(-50%,calc(-50% - 8px)) scale(.98)!important;}
html body #flash.flash.flash-enter-active{opacity:1!important;transform:translate(-50%,-50%) scale(1)!important;}
html body #flash.flash.flash-exit{opacity:1!important;transform:translate(-50%,-50%) scale(1)!important;}
html body #flash.flash.flash-exit-active{opacity:0!important;transform:translate(-50%,calc(-50% - 8px)) scale(.98)!important;}

.landing-form-card.security-card{border-color:rgba(250,204,21,.22);background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(2,6,23,.9));}
.profile-edit-layout .panel-card .checkline{justify-content:flex-start;}


/* Forgot password modal: hidden until the link is clicked */
.forgot-account-modal{display:none;position:fixed;inset:0;z-index:2147483000;padding:20px;place-items:center;}
.forgot-account-modal:target{display:grid;}
.forgot-account-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.78);backdrop-filter:blur(8px);}
.forgot-account-card{position:relative;width:min(880px,96vw);max-height:92vh;overflow:auto;border:1px solid rgba(250,204,21,.28);border-radius:26px;background:linear-gradient(180deg,rgba(9,20,36,.98),rgba(2,6,23,.98));box-shadow:0 34px 110px rgba(0,0,0,.58);color:#e5edf7;padding:22px;}
.forgot-account-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid rgba(148,163,184,.18);}
.forgot-account-head strong{display:block;font-size:24px;color:#f8fafc;}
.forgot-account-head span{display:block;margin-top:4px;color:#b8c7d9;}
.forgot-account-close{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.26);border-radius:12px;background:rgba(15,23,42,.78);color:#e5edf7;text-decoration:none;font-size:26px;line-height:1;}
.forgot-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.forgot-account-form{display:grid;gap:12px;border:1px solid rgba(148,163,184,.18);border-radius:20px;background:rgba(15,23,42,.58);padding:18px;}
.forgot-account-form h3{margin:0 0 4px;font-size:20px;color:#f8fafc;}
.forgot-account-form label{display:grid;gap:7px;color:#cbd5e1;font-size:13px;font-weight:800;}
.forgot-account-form input{width:100%;padding:13px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.25);background:rgba(2,6,23,.45);color:#f8fafc;outline:none;}
.forgot-account-form input:focus{border-color:rgba(250,204,21,.7);box-shadow:0 0 0 3px rgba(250,204,21,.12);}
@media(max-width:780px){.forgot-account-grid{grid-template-columns:1fr}.forgot-account-card{padding:16px}.forgot-account-head strong{font-size:20px}}



/* Email sent popup */
.email-sent-popup{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;padding:20px;}
.email-sent-popup.hidden{display:none!important;}
.email-sent-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.78);backdrop-filter:blur(9px);}
.email-sent-card{position:relative;width:min(460px,calc(100vw - 32px));border:1px solid rgba(250,204,21,.34);border-radius:26px;background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(2,6,23,.98));box-shadow:0 34px 110px rgba(0,0,0,.62);padding:24px;text-align:center;color:#f8fafc;}
.email-sent-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;margin:0 auto 14px;background:linear-gradient(135deg,#fee68a,#d99a16);box-shadow:0 16px 36px rgba(250,204,21,.24);font-size:28px;}
.email-sent-card h3{font-size:24px;margin:0 0 10px;color:#facc15;}
.email-sent-card p{color:#dbeafe;line-height:1.6;margin:0 0 14px;}
.email-sent-warning{border:1px solid rgba(148,163,184,.18);border-radius:16px;background:rgba(15,23,42,.72);padding:12px;color:#cbd5e1;line-height:1.5;margin-bottom:16px;}
.email-sent-close{width:100%;max-width:220px;margin:0 auto;}

/* Long-life economy: requirements, licenses, market warnings */
.nav-alert-badge,.subtab-alert-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:7px;border-radius:999px;background:#ef4444;color:white;font-size:12px;font-weight:900;box-shadow:0 0 18px rgba(239,68,68,.45)}
.facility-req-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.facility-req{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid rgba(148,163,184,.2);background:rgba(148,163,184,.08);color:#cbd5e1}.facility-req.ok{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.28);color:#86efac}.facility-req.missing{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.28);color:#fecaca}.facility-paused-note.warn{color:#fbbf24;border-color:rgba(251,191,36,.25);background:rgba(251,191,36,.08)}
.sector-license-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}.sector-license-card{display:grid;gap:10px;padding:16px;border-radius:18px;border:1px solid rgba(148,163,184,.18);background:rgba(15,23,42,.52)}.sector-license-card.owned{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.07)}.sector-license-head{display:flex;gap:12px;align-items:flex-start}.sector-license-head>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:rgba(250,204,21,.13);font-size:22px}.sector-license-price{font-size:18px;font-weight:900;color:#facc15}.sector-license-card .btn[disabled]{opacity:.58;cursor:not-allowed}
.facility-market-warning{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:4px 8px;border-radius:999px;border:1px solid rgba(250,204,21,.32);background:rgba(250,204,21,.14);color:#fde68a;font-size:11px;font-weight:900}.facility-market-warning.critical{border-color:rgba(239,68,68,.42);background:rgba(239,68,68,.16);color:#fecaca}.facility-item.has-market-warning{border-color:rgba(250,204,21,.24);box-shadow:0 0 0 1px rgba(250,204,21,.06) inset}.facility-item.has-market-warning .warning-line{color:#fcd34d;margin-top:5px}.market-warning-card{max-width:720px}.market-warning-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.market-warning-metrics>div{padding:12px;border-radius:14px;background:rgba(15,23,42,.65);border:1px solid rgba(148,163,184,.18)}.market-warning-metrics span{display:block;color:#94a3b8;font-size:12px}.market-warning-metrics b{display:block;margin-top:4px;color:#f8fafc;font-size:18px}.market-warning-text{color:#dbeafe;line-height:1.6;margin:10px 0}.market-warning-suggestions{display:grid;gap:7px;color:#e5e7eb}.market-warning-alternatives{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:760px){.market-warning-metrics{grid-template-columns:1fr}.sector-license-grid{grid-template-columns:1fr}}

/* Premium Auction Hall */
.auction-shell{display:grid;gap:18px}.auction-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:radial-gradient(circle at 20% 0%,rgba(250,204,21,.18),transparent 34%),linear-gradient(135deg,rgba(15,23,42,.96),rgba(30,41,59,.86));border-color:rgba(250,204,21,.24)}.auction-hero h2{font-size:30px;color:#f8fafc}.auction-hero p{color:#cbd5e1;max-width:820px;margin-top:6px}.auction-hero-score{min-width:170px;text-align:center;padding:16px;border-radius:22px;border:1px solid rgba(250,204,21,.28);background:rgba(250,204,21,.08)}.auction-hero-score span{display:block;color:#facc15;font-size:12px}.auction-hero-score strong{font-size:34px;color:#fff}.auction-hall-panel{display:grid;gap:18px}.auction-closed-card{text-align:center;padding:42px!important;border-style:dashed!important}.auction-closed-icon{font-size:54px;margin-bottom:8px}.auction-lot-card{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;padding:18px;border-radius:28px;border:1px solid rgba(250,204,21,.22);background:linear-gradient(135deg,rgba(15,23,42,.94),rgba(30,41,59,.82));box-shadow:0 24px 70px rgba(0,0,0,.22)}.auction-lot-main{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.auction-visual{position:relative;min-height:145px;border-radius:24px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.14);background:linear-gradient(135deg,#334155,#0f172a)}.auction-visual.large{min-height:260px}.auction-visual span{font-size:58px;filter:drop-shadow(0 14px 22px rgba(0,0,0,.38))}.auction-visual.large span{font-size:86px}.auction-visual-shine{position:absolute;inset:-35%;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.45),transparent 24%),linear-gradient(120deg,transparent,rgba(255,255,255,.14),transparent);transform:rotate(18deg)}.estate-blue,.car-blue,.antique-blue{background:linear-gradient(135deg,#0f766e,#1d4ed8)}.estate-gold,.car-gold,.antique-gold,.antique-amber{background:linear-gradient(135deg,#92400e,#f59e0b)}.estate-royal,.antique-royal{background:linear-gradient(135deg,#581c87,#b45309)}.estate-violet,.antique-purple{background:linear-gradient(135deg,#4c1d95,#7c3aed)}.estate-emerald,.car-green{background:linear-gradient(135deg,#064e3b,#16a34a)}.car-red,.antique-red{background:linear-gradient(135deg,#7f1d1d,#ef4444)}.car-carbon,.car-black,.antique-black{background:linear-gradient(135deg,#020617,#334155)}.car-sapphire,.antique-crystal{background:linear-gradient(135deg,#075985,#38bdf8)}.car-teal{background:linear-gradient(135deg,#0f766e,#14b8a6)}.car-orange,.antique-orange,.antique-bronze,.antique-brass{background:linear-gradient(135deg,#7c2d12,#f97316)}.car-silver,.antique-silver,.antique-marble,.antique-steel{background:linear-gradient(135deg,#475569,#e2e8f0)}.antique-pearl{background:linear-gradient(135deg,#475569,#f8fafc)}.antique-vinyl{background:linear-gradient(135deg,#18181b,#a855f7)}.antique-brown,.antique-deco,.antique-camera,.antique-map{background:linear-gradient(135deg,#451a03,#a16207)}.auction-kicker,.collection-kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#facc15;font-weight:800}.auction-lot-copy h3{font-size:28px;margin:7px 0;color:#fff}.auction-lot-copy p{color:#cbd5e1;line-height:1.55}.auction-stat-row{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.auction-stat-row span{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#cbd5e1}.auction-stat-row b{color:#fff}.auction-countdown{display:inline-flex;padding:9px 12px;border-radius:999px;background:rgba(239,68,68,.14);border:1px solid rgba(239,68,68,.25);color:#fecaca;font-weight:800}.auction-lot-side{display:grid;gap:12px;align-content:start}.auction-leaderboard{border-radius:18px;border:1px solid rgba(148,163,184,.16);background:rgba(15,23,42,.55);padding:12px}.auction-leaderboard h4{margin:0 0 8px;color:#facc15}.auction-leader-row{display:grid;grid-template-columns:38px 1fr auto;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.06)}.auction-leader-row:last-child{border-bottom:0}.auction-leader-row b{color:#facc15}.auction-leader-row strong{color:#fff}.auction-my-hold{padding:10px 12px;border-radius:14px;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.22)}.auction-bid-form,.admin-auction-form{display:grid;gap:10px}.auction-bid-form input,.admin-auction-form input,.admin-auction-form select,.admin-auction-form textarea{background:rgba(15,23,42,.82);border:1px solid rgba(148,163,184,.22);border-radius:14px;color:#f8fafc;padding:11px 12px}.auction-bid-form small{color:#94a3b8}.auction-collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.collection-card{border:1px solid rgba(148,163,184,.18);border-radius:22px;background:rgba(15,23,42,.55);overflow:hidden;box-shadow:0 16px 42px rgba(0,0,0,.14)}.collection-card.premium{border-color:rgba(250,204,21,.32);box-shadow:0 0 0 1px rgba(250,204,21,.08) inset,0 18px 48px rgba(0,0,0,.22)}.collection-card-body{padding:13px}.collection-card h4{color:#fff;font-size:16px;margin:4px 0}.collection-card p{color:#94a3b8;font-size:13px;line-height:1.45}.collection-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.collection-meta span{font-size:11px;border-radius:999px;padding:5px 8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#e2e8f0}.auction-empty-collection{padding:22px;border:1px dashed rgba(148,163,184,.24);border-radius:18px;color:#94a3b8;text-align:center}.admin-auction-grid{display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:16px}.admin-auction-form,.admin-auction-list{padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:22px;background:rgba(15,23,42,.48)}.admin-auction-form-head,.admin-auction-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.admin-auction-form label{display:grid;gap:6px;color:#cbd5e1;font-size:12px}.admin-auction-form label.wide,.admin-auction-form .wide{grid-column:1/-1}.admin-auction-row{display:grid;grid-template-columns:92px 1fr auto;gap:12px;align-items:center;border:1px solid rgba(148,163,184,.14);border-radius:18px;padding:10px;margin-bottom:10px;background:rgba(255,255,255,.035)}.admin-auction-row .auction-visual{min-height:72px;border-radius:14px}.admin-auction-row .auction-visual span{font-size:32px}.collection-modal-root{position:fixed;inset:0;z-index:70000;display:grid;place-items:center}.collection-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.collection-modal-card{position:relative;z-index:2;width:min(1120px,calc(100vw - 28px));max-height:90vh;overflow:auto;border-radius:28px;background:linear-gradient(180deg,#102137,#07111f);border:1px solid rgba(250,204,21,.24);box-shadow:0 35px 120px rgba(0,0,0,.5);padding:18px}.collection-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.collection-modal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.pv-collection-panel{margin-top:16px}.pv-collection-panel .btn{margin-top:8px}@media (max-width:1100px){.auction-lot-card,.auction-lot-main,.admin-auction-grid{grid-template-columns:1fr}.auction-visual.large{min-height:200px}.admin-auction-row{grid-template-columns:74px 1fr}.admin-auction-row .admin-player-actions{grid-column:1/-1}}


/* Auction hall + collection gallery premium rework */
.auction-title-premium{font-family:Georgia,"Times New Roman",serif;letter-spacing:.03em;font-weight:900;text-shadow:0 1px 0 rgba(255,255,255,.05),0 6px 24px rgba(0,0,0,.28)}
.auction-visual{position:relative;overflow:hidden;min-height:220px;border-radius:24px;border:1px solid rgba(250,204,21,.18);background:linear-gradient(135deg,rgba(5,15,27,.96),rgba(12,31,55,.92));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 22px 55px rgba(0,0,0,.24)}
.auction-visual.large{min-height:290px}
.auction-visual.has-artwork span{display:none}
.auction-visual-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.02) contrast(1.03)}
.auction-visual-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,10,19,.02) 0%,rgba(4,10,19,.15) 38%,rgba(4,10,19,.82) 100%)}
.auction-visual-caption{position:absolute;left:18px;right:18px;bottom:16px;z-index:3;display:grid;gap:4px}
.auction-visual-caption small{font-size:11px;font-weight:800;letter-spacing:.14em;color:#cfe5ff;text-transform:uppercase}
.auction-visual-caption strong{font-size:clamp(18px,2vw,26px);line-height:1.08;color:#fff}
.collection-card.gallery-mode{background:linear-gradient(180deg,rgba(6,16,30,.98),rgba(8,15,27,.96));border-color:rgba(250,204,21,.22);box-shadow:0 24px 60px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05)}
.collection-card.gallery-mode .collection-card-body{padding:16px 16px 18px;display:grid;gap:10px}
.collection-card.gallery-mode .collection-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#ffd86b;text-transform:uppercase}
.collection-card.gallery-mode h4{font-size:24px;line-height:1.1;margin:0;color:#fff}
.collection-card.gallery-mode p{margin:0;color:#b8c9dd;font-size:13px;line-height:1.6}
.collection-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.collection-detail-grid div{padding:12px 13px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));border:1px solid rgba(148,163,184,.14)}
.collection-detail-grid span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#8ea7c2;margin-bottom:6px}
.collection-detail-grid strong{display:block;color:#fff;font-size:16px;line-height:1.2}
.collection-owner-note{padding:10px 12px;border-radius:14px;background:rgba(250,204,21,.08);border:1px solid rgba(250,204,21,.18);color:#fde68a;font-size:12px;font-weight:700}
.profile-collection-page{display:grid;gap:14px}
.profile-collection-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:22px;border-radius:28px;background:radial-gradient(circle at 15% 0%,rgba(45,212,191,.18),transparent 34%),radial-gradient(circle at 88% 0%,rgba(59,130,246,.18),transparent 30%),linear-gradient(135deg,#071427,#0b2240 58%,#143e7b);border:1px solid rgba(250,204,21,.18);box-shadow:0 25px 64px rgba(0,0,0,.24)}
.profile-collection-hero h3{margin:6px 0 8px;font-size:32px;color:#fff}
.profile-collection-hero p{margin:0;color:#c5d5e7;max-width:820px}
.profile-collection-score{min-width:220px;padding:18px 20px;border-radius:24px;background:rgba(7,17,31,.45);border:1px solid rgba(255,255,255,.13);display:grid;gap:6px;text-align:right}
.profile-collection-score span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#9ec5ff}
.profile-collection-score strong{font-size:42px;line-height:1;color:#fff}
.profile-collection-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.profile-collection-stat-row.modal-mode{margin-bottom:14px}
.profile-collection-stat-row div{padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid rgba(148,163,184,.14)}
.profile-collection-stat-row span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:#8ea7c2;margin-bottom:6px}
.profile-collection-stat-row b{display:block;font-size:18px;color:#fff;line-height:1.2}
.profile-collection-grid,.collection-modal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.profile-vitrine-modal .pv-collection-panel,.profile-vitrine-preview .pv-collection-panel{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid rgba(250,204,21,.14)}
.profile-vitrine-modal .pv-collection-panel .btn,.profile-vitrine-preview .pv-collection-panel .btn{margin-top:10px}
@media (max-width:1100px){.profile-collection-hero{grid-template-columns:1fr}.profile-collection-score{text-align:left;min-width:0}.profile-collection-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-detail-grid{grid-template-columns:1fr}.profile-collection-grid,.collection-modal-grid{grid-template-columns:1fr}}
@media (max-width:640px){.profile-collection-stat-row{grid-template-columns:1fr}.profile-collection-hero h3{font-size:26px}.auction-visual.large,.auction-visual{min-height:230px}}


/* Auction gallery quality pass 2 */
.auction-lot-main{grid-template-columns:minmax(320px,440px) minmax(0,1fr)!important;align-items:stretch;}
.auction-lot-card{background:radial-gradient(circle at 18% 0%,rgba(250,204,21,.12),transparent 32%),linear-gradient(135deg,rgba(6,16,30,.98),rgba(18,26,43,.94))!important;border-color:rgba(250,204,21,.28)!important;}
.auction-countdown{background:linear-gradient(135deg,rgba(14,165,233,.14),rgba(250,204,21,.10))!important;border:1px solid rgba(125,211,252,.28)!important;color:#dff6ff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 28px rgba(14,165,233,.08)!important;}
.auction-my-hold{background:linear-gradient(135deg,rgba(34,197,94,.12),rgba(14,165,233,.08))!important;border-color:rgba(34,197,94,.26)!important;color:#dcfce7!important;}
.auction-bid-form{padding:14px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border:1px solid rgba(148,163,184,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.045);}
.auction-bid-form label{font-weight:900;color:#eaf6ff;letter-spacing:.02em;}
.auction-bid-form small{color:#b6c8dc!important;line-height:1.45;}
.auction-bid-form input:focus,.admin-auction-form input:focus,.admin-auction-form select:focus,.admin-auction-form textarea:focus{outline:none;border-color:rgba(250,204,21,.58)!important;box-shadow:0 0 0 3px rgba(250,204,21,.12)!important;}
.pv-collection-panel{position:relative;overflow:hidden;}
.pv-collection-panel:before{content:"";position:absolute;inset:-40% auto auto -20%;width:220px;height:220px;background:radial-gradient(circle,rgba(250,204,21,.16),transparent 62%);pointer-events:none;}
.pv-collection-panel .pv-section-title,.pv-collection-panel .btn,.pv-collection-panel .pv-mini-pills{position:relative;z-index:1;}
.collection-empty-modal{grid-column:1/-1;}
.admin-auction-preview{min-height:92px;}
.admin-auction-preview-card{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:stretch;padding:10px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid rgba(250,204,21,.16);}
.admin-auction-preview-card .auction-visual{min-height:92px!important;border-radius:16px;}
.admin-auction-preview-card .auction-visual-caption{display:none;}
.admin-auction-preview-card strong{display:block;color:#fff;font-size:19px;line-height:1.15;margin:4px 0 6px;}
.admin-auction-preview-card p{margin:0;color:#adc0d4;font-size:12px;line-height:1.45;}
.admin-auction-row .auction-visual{min-height:86px!important;}
.admin-auction-row .auction-visual-caption{display:none;}
@media (max-width:1100px){.auction-lot-main{grid-template-columns:1fr!important}.admin-auction-preview-card{grid-template-columns:1fr}.admin-auction-preview-card .auction-visual{min-height:160px!important;}}


/* collection panel cleanup v3 */
.pv-collection-panel.compact{margin-top:10px;padding:14px 16px;display:flex;align-items:center;justify-content:flex-start;min-height:auto}
.pv-collection-panel.compact:before{display:none}
.collection-button{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;font-weight:800;min-width:0}
.collection-button span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);font-size:12px}
.profile-vitrine-modal .pv-collection-panel.compact,.profile-vitrine-preview .pv-collection-panel.compact{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));border:1px solid rgba(250,204,21,.12)}
.profile-collection-stat-row.compact{grid-template-columns:repeat(2,minmax(0,180px));gap:10px}
.profile-collection-stat-row.compact div{padding:12px 14px;border-radius:14px}
.collection-modal-head{margin-bottom:10px}
.collection-empty-modal{padding:28px 18px}
@media (max-width:640px){.profile-collection-stat-row.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-button{width:100%;justify-content:space-between}}


/* Collection cleanup */
.collection-modal-root{z-index:2147483000!important}
.collection-modal-backdrop{z-index:1}
.collection-modal-card{z-index:2;width:min(980px,calc(100vw - 34px));max-height:88vh;padding:16px 16px 18px}
.collection-modal-head{margin-bottom:12px}
.collection-modal-head strong{font-size:26px;color:#fff}
.collection-empty-modal{padding:28px 14px}
.pv-collection-panel.compact{margin-top:12px;padding:14px 14px 12px;min-height:auto}
.pv-collection-panel.compact:before{display:none}
.pv-collection-panel.compact .pv-section-title{margin-bottom:8px}
.collection-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px 14px;border-radius:16px;font-size:15px;font-weight:900;border:1px solid rgba(250,204,21,.28)!important;background:linear-gradient(180deg,rgba(250,204,21,.16),rgba(250,204,21,.07))!important;color:#fff!important;box-shadow:0 10px 26px rgba(0,0,0,.18)}
.collection-cta span{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);font-size:13px}
.profile-collection-hero{padding:16px 18px;border-radius:22px;gap:12px}
.profile-collection-hero h3{margin:0;font-size:26px}
.profile-collection-hero p{display:none}
.profile-collection-score{min-width:180px;padding:14px 16px;border-radius:18px}
.profile-collection-score strong{font-size:34px}
.profile-collection-stat-row.compact{gap:10px}
.profile-collection-stat-row.compact div{padding:12px 13px;border-radius:14px}
.profile-collection-stat-row.compact span{margin-bottom:4px}
.profile-collection-stat-row.compact b{font-size:16px}
.profile-vitrine-modal .pv-collection-panel,.profile-vitrine-preview .pv-collection-panel{padding:14px 14px 12px}
.profile-vitrine-modal .pv-collection-panel .pv-mini-pills,.profile-vitrine-preview .pv-collection-panel .pv-mini-pills{display:none}
@media (max-width:640px){.collection-modal-card{width:min(100vw - 16px,980px);padding:14px}.collection-modal-head strong{font-size:22px}.collection-cta{padding:11px 12px}}


/* Collection polish v3 */
.collection-modal-root{z-index:2147483647!important}
.collection-modal-card{width:min(920px,calc(100vw - 40px));max-height:86vh;padding:14px 14px 16px}
.collection-modal-head strong{font-size:24px}
.pv-collection-panel.compact{padding:12px 12px 10px;border-radius:18px;max-width:380px}
.collection-button,.collection-cta{cursor:pointer}
.collection-owner-note{display:none!important}
.profile-collection-page .panel-card{padding:14px}
.profile-collection-hero{padding:14px 16px;border-radius:20px;min-height:auto}
.profile-collection-score{padding:12px 14px;min-width:150px}
.profile-collection-score span{font-size:10px}
.profile-collection-score strong{font-size:30px}
.profile-collection-stat-row.compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.profile-collection-stat-row.compact div{padding:10px 11px}
.profile-collection-stat-row.compact span{font-size:10px}
.profile-collection-stat-row.compact b{font-size:15px}
.collection-empty-modal,.auction-empty-collection{font-size:14px}
@media (max-width:1100px){.profile-collection-stat-row.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.profile-collection-stat-row.compact{grid-template-columns:1fr}.pv-collection-panel.compact{max-width:none}.collection-modal-card{width:min(100vw - 14px,920px)}}


/* profile card compact fix + preview polish */
#dialogRoot.profile-vitrine-open .dialog-card{width:min(860px,calc(100vw - 34px))!important;padding:12px!important;border-radius:24px!important}
#dialogRoot.profile-vitrine-open .dialog-body{margin-bottom:8px!important}
.profile-vitrine-modal{border-radius:24px!important}
.pv-cover{min-height:200px!important;grid-template-columns:132px minmax(0,1fr) 220px!important;gap:16px!important;padding:18px!important}
.pv-monogram-wrap{width:116px!important;height:116px!important}
.pv-monogram{width:96px!important;height:96px!important;border-radius:28px!important;font-size:34px!important}
.pv-monogram-ring{border-radius:32px!important}
.pv-kicker{margin-bottom:6px!important;font-size:10px!important}
.pv-name{font-size:32px!important;line-height:1.02!important}
.pv-tags{gap:8px!important;margin-top:10px!important}
.pv-tags span{padding:7px 10px!important;font-size:12px!important}
.pv-slogan{font-size:17px!important;margin-top:8px!important;line-height:1.18!important}
.pv-description{font-size:13px!important;line-height:1.45!important;margin-top:4px!important}
.pv-chip-row{margin-top:10px!important;gap:7px!important}
.pv-chip{padding:7px 9px!important;font-size:11px!important}
.pv-side{gap:10px!important}
.pv-title-plaque{padding:10px 12px!important;border-radius:16px!important}
.pv-prestige-card{padding:14px 16px!important;border-radius:18px!important;gap:6px!important}
.pv-prestige-card strong{font-size:28px!important}
.pv-prestige-card b{font-size:15px!important}
.pv-prestige-card small{font-size:12px!important;line-height:1.35!important}
.pv-content{padding:14px!important;gap:12px!important}
.pv-stat-row{gap:10px!important}
.pv-stat-row>div{min-height:76px!important;padding:14px 16px!important}
.pv-stat-row b{font-size:24px!important}
.pv-rich-grid{gap:12px!important}
.pv-panel{padding:14px!important;border-radius:18px!important}
.pv-section-title{margin-bottom:10px!important}
.pv-showcase-grid{gap:10px!important}
.pv-showcase-slot{padding:12px 13px!important;border-radius:16px!important;min-height:90px!important}
.pv-showcase-slot strong{font-size:15px!important}
.pv-signature-quote{font-size:18px!important;line-height:1.18!important}
.pv-signature-text{font-size:13px!important;line-height:1.45!important}
.pv-mini-pills{gap:7px!important;margin-top:10px!important}
.pv-mini-pill{padding:7px 10px!important;font-size:11px!important}
.pv-collection-panel.compact{margin-top:8px!important;padding:10px 12px!important;max-width:320px!important;border-radius:16px!important}
.collection-cta{padding:10px 12px!important;border-radius:14px!important;font-size:14px!important}
.collection-cta span{min-width:30px!important;height:30px!important;font-size:12px!important}
.pv-footer-row{gap:10px!important;margin-top:2px!important}
.pv-joined{padding:10px 12px!important;border-radius:14px!important}
.pv-joined strong{font-size:14px!important}
.profile-vitrine-modal .company-profile-actions{gap:8px!important}
.profile-vitrine-modal .company-profile-action,.profile-vitrine-modal .company-profile-social-action{min-height:42px!important;padding:10px 12px!important;border-radius:14px!important}
.admin-auction-preview-card .auction-visual{min-height:190px!important}
@media (max-width:980px){#dialogRoot.profile-vitrine-open .dialog-card{width:min(760px,calc(100vw - 24px))!important}.pv-cover{grid-template-columns:118px minmax(0,1fr)!important}.pv-side{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr!important}}
@media (max-width:820px){#dialogRoot.profile-vitrine-open .dialog-card{width:min(620px,calc(100vw - 16px))!important;padding:10px!important}.pv-cover{grid-template-columns:1fr!important;gap:12px!important;padding:14px!important}.pv-monogram-wrap{width:100px!important;height:100px!important}.pv-monogram{width:84px!important;height:84px!important;font-size:30px!important}.pv-name{font-size:28px!important}.pv-slogan{font-size:15px!important}.pv-content{padding:12px!important}.pv-stat-row,.pv-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:560px){.pv-stat-row,.pv-showcase-grid{grid-template-columns:1fr!important}.pv-side{grid-template-columns:1fr!important}.pv-collection-panel.compact{max-width:none!important}}

/* Collection gallery symmetry + admin collection management */
.profile-collection-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(286px,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.collection-modal-grid{
  grid-template-columns:repeat(auto-fill,minmax(286px,1fr))!important;
  align-items:stretch!important;
}
.collection-card.gallery-mode.sym-card{
  height:100%!important;
  min-height:520px!important;
  display:grid!important;
  grid-template-rows:240px 1fr!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 18% 0%,rgba(250,204,21,.10),transparent 30%),
    linear-gradient(180deg,rgba(7,17,31,.98),rgba(3,9,20,.99))!important;
}
.collection-card.gallery-mode.sym-card .auction-visual{
  min-height:240px!important;
  height:240px!important;
  border-radius:0!important;
  border:0!important;
}
.collection-card.gallery-mode.sym-card .auction-visual-image{
  object-fit:cover!important;
}
.collection-card.gallery-mode.sym-card .collection-card-body{
  display:grid!important;
  grid-template-rows:auto auto minmax(56px,auto) 1fr!important;
  gap:10px!important;
  padding:15px!important;
}
.collection-card.gallery-mode.sym-card h4{
  min-height:54px!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.collection-card.gallery-mode.sym-card p{
  min-height:58px!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.collection-card.gallery-mode.sym-card .collection-detail-grid{
  align-self:end!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.collection-card.gallery-mode.sym-card .collection-detail-grid div{
  min-height:70px!important;
  display:grid!important;
  align-content:center!important;
}
.collection-card.gallery-mode.sym-card .collection-detail-grid strong{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.profile-collection-hero{
  background:
    radial-gradient(circle at 8% 0%,rgba(250,204,21,.18),transparent 34%),
    radial-gradient(circle at 90% 0%,rgba(56,189,248,.14),transparent 32%),
    linear-gradient(135deg,#071427,#0a1e39 54%,#111827)!important;
}
.profile-collection-score strong{color:#fde68a!important}
.profile-collection-stat-row.compact b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-player-collection-list{display:grid;gap:12px}
.admin-player-collection-row{
  display:grid;
  grid-template-columns:120px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
}
.admin-player-collection-art .auction-visual{
  min-height:86px!important;
  height:86px!important;
  border-radius:14px!important;
}
.admin-player-collection-art .auction-visual-caption{display:none!important}
.admin-player-collection-row strong{color:#fff;font-size:17px}
.collection-admin-summary{margin-bottom:12px}
@media(max-width:760px){
  .admin-player-collection-row{grid-template-columns:1fr}
  .admin-player-collection-art .auction-visual{height:180px!important}
  .collection-card.gallery-mode.sym-card{min-height:auto!important;grid-template-rows:230px auto!important}
}

/* Auction hall compact grid + live flow */
.auction-modern-shell{display:grid;gap:14px}
.auction-modern-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px;border-radius:24px;border:1px solid rgba(250,204,21,.18);background:linear-gradient(135deg,rgba(8,14,26,.94),rgba(15,23,42,.82));box-shadow:0 18px 42px rgba(0,0,0,.18)}
.auction-modern-toolbar h3{margin:0;font-size:22px;color:#fff}.auction-modern-toolbar p{margin-top:4px;color:#9fb0c7;font-size:13px}.auction-live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;margin-right:6px;box-shadow:0 0 0 4px rgba(34,197,94,.12)}
.auction-modern-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.auction-modern-controls input,.auction-modern-controls select{min-width:210px;background:rgba(2,6,23,.72);border:1px solid rgba(250,204,21,.18);border-radius:14px;color:#f8fafc;padding:11px 12px}
.auction-category-strip{display:flex;gap:8px;flex-wrap:wrap}.auction-category-btn{border:1px solid rgba(250,204,21,.18);background:rgba(15,23,42,.72);color:#cbd5e1;border-radius:14px;padding:10px 14px;font-weight:800}.auction-category-btn b{color:#facc15;margin-left:7px}.auction-category-btn.active{background:linear-gradient(135deg,rgba(250,204,21,.18),rgba(120,83,16,.18));color:#fff;border-color:rgba(250,204,21,.46)}
.auction-modern-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}.auction-grid-wrap{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.auction-grid-card{position:relative;overflow:hidden;border:1px solid rgba(250,204,21,.22);border-radius:22px;background:linear-gradient(180deg,rgba(12,20,34,.96),rgba(7,13,24,.96));box-shadow:0 18px 44px rgba(0,0,0,.22);transition:transform .16s ease,border-color .16s ease}.auction-grid-card:hover{transform:translateY(-2px);border-color:rgba(250,204,21,.44)}.auction-grid-card.is-busy{opacity:.7;pointer-events:none}.auction-grid-art{position:relative}.auction-grid-art .auction-visual{min-height:160px!important;border-radius:0!important;border:0!important;box-shadow:none!important}.auction-grid-art .auction-visual-caption{display:none!important}.auction-card-badges{position:absolute;top:10px;left:10px;right:10px;z-index:4;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.auction-card-badges span,.auction-card-badges b{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em}.auction-card-badges span{background:linear-gradient(135deg,#16a34a,#15803d);color:#eafff2}.auction-card-badges b{background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff}.auction-grid-body{display:grid;gap:8px;padding:12px}.auction-grid-kicker{font-size:11px;color:#facc15;text-transform:uppercase;font-weight:900;letter-spacing:.08em}.auction-grid-body h3{font-size:17px;color:#fff;line-height:1.15}.auction-grid-body p{color:#9fb0c7;font-size:12px;line-height:1.4;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.auction-grid-timer{justify-content:center;width:100%;font-size:12px;padding:7px 9px!important}.auction-grid-price,.auction-grid-leader,.auction-grid-hold{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;border-radius:13px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);font-size:12px}.auction-grid-price span,.auction-grid-leader span{color:#94a3b8}.auction-grid-price strong{font-size:16px;color:#facc15}.auction-grid-leader b,.auction-grid-hold b{color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auction-grid-bid{grid-template-columns:1fr auto;gap:8px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}.auction-grid-bid input{min-width:0;padding:10px!important}.auction-grid-bid .btn,.auction-grid-card>.btn,.auction-grid-body>.btn{padding:10px 12px;border-radius:13px;white-space:nowrap}.auction-live-panel{position:sticky;top:12px;display:grid;gap:10px;padding:14px;border-radius:24px;border:1px solid rgba(250,204,21,.18);background:linear-gradient(180deg,rgba(5,10,20,.96),rgba(10,17,30,.92));box-shadow:0 18px 48px rgba(0,0,0,.24);max-height:760px;overflow:auto}.auction-live-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid rgba(250,204,21,.16)}.auction-live-head strong{color:#fff}.auction-live-head span{display:inline-flex;align-items:center;gap:6px;color:#dbeafe;font-size:12px}.auction-live-head i{width:8px;height:8px;border-radius:50%;background:#22c55e}.auction-live-row{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07)}.auction-live-row:last-child{border-bottom:0}.auction-live-icon{width:36px;height:36px;border-radius:13px;display:grid;place-items:center;background:rgba(250,204,21,.12);border:1px solid rgba(250,204,21,.2)}.auction-live-row strong{display:block;color:#60a5fa}.auction-live-row.buy_now strong{color:#fb923c}.auction-live-row.win strong{color:#facc15}.auction-live-row p{margin:2px 0;color:#cbd5e1;font-size:12px;line-height:1.35}.auction-live-row p b{color:#facc15}.auction-live-row small,.auction-live-empty{color:#8294ac;font-size:11px}.auction-live-empty{padding:14px;text-align:center;border:1px dashed rgba(255,255,255,.12);border-radius:14px}

/* Admin auction compact list + modal */
.admin-auction-grid.improved{grid-template-columns:minmax(320px,460px) minmax(0,1fr)}.admin-auction-form small{color:#94a3b8}.admin-auction-form select[multiple]{min-height:245px}.admin-auction-list.compact{display:grid;gap:9px;align-content:start}.admin-auction-list-head.history{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}.admin-auction-history-scroll{display:grid;gap:8px;max-height:560px;overflow:auto;padding-right:4px}.admin-auction-compact-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(148,163,184,.13);border-radius:16px;background:rgba(255,255,255,.035)}.admin-auction-compact-row.sold{border-color:rgba(34,197,94,.16)}.admin-auction-detail-link{border:0;background:transparent;color:inherit;text-align:left;padding:0;display:grid;gap:3px;min-width:0}.admin-auction-detail-link strong{color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-auction-detail-link span,.admin-auction-detail-link small{color:#9fb0c7;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-auction-compact-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.btn-sm{padding:7px 9px!important;border-radius:11px!important;font-size:12px!important}.admin-auction-multi-preview{display:grid;gap:4px;padding:16px;border-radius:18px;border:1px solid rgba(250,204,21,.18);background:rgba(250,204,21,.08)}.admin-auction-multi-preview strong{color:#fff;font-size:18px}.admin-auction-multi-preview span{color:#cbd5e1;font-size:12px}.admin-auction-detail-card{width:min(1180px,calc(100vw - 28px))}.admin-auction-detail-grid{display:grid;grid-template-columns:420px minmax(0,1fr);gap:16px}.admin-auction-detail-art .auction-visual{height:320px!important}.admin-auction-detail-art .auction-visual-caption{display:none!important}.admin-auction-detail-info{display:grid;gap:12px;align-content:start}.admin-auction-detail-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-auction-detail-stats div{padding:11px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}.admin-auction-detail-stats span{display:block;color:#94a3b8;font-size:11px;margin-bottom:5px}.admin-auction-detail-stats strong{display:block;color:#fff;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-auction-detail-desc{color:#cbd5e1;line-height:1.5}.admin-auction-detail-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.admin-auction-detail-lists h4{margin:0 0 8px;color:#facc15}.admin-auction-modal-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:12px}.admin-auction-modal-row:last-child{border-bottom:0}.admin-auction-modal-row b{color:#facc15}.admin-auction-modal-row span{color:#e5edf7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-auction-modal-row strong{color:#fff}.admin-auction-modal-row small{color:#94a3b8}
@media (max-width:1180px){.auction-modern-layout,.admin-auction-grid.improved,.admin-auction-detail-grid,.admin-auction-detail-lists{grid-template-columns:1fr}.auction-live-panel{position:relative;top:auto;max-height:none}.admin-auction-detail-art .auction-visual{height:240px!important}}
@media (max-width:640px){.auction-modern-toolbar,.auction-modern-controls,.admin-auction-compact-row{grid-template-columns:1fr;display:grid}.auction-modern-controls input,.auction-modern-controls select{min-width:0}.auction-grid-wrap{grid-template-columns:1fr}.auction-grid-bid{grid-template-columns:1fr}.admin-auction-modal-row{grid-template-columns:28px 1fr}.admin-auction-modal-row strong,.admin-auction-modal-row small{grid-column:2}}

/* ChatGPT hotfix: auction prestige visibility, bid typing stability support, and admin image previews */
.auction-card-badges .auction-prestige-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em;background:linear-gradient(135deg,rgba(120,53,15,.96),rgba(250,204,21,.96));color:#fff7d6;border:1px solid rgba(255,240,180,.5);text-shadow:0 1px 0 rgba(0,0,0,.28);box-shadow:0 8px 22px rgba(0,0,0,.22)}
.auction-card-badges .auction-prestige-badge::before{content:'✦';margin-right:6px;font-size:11px}
.auction-grid-prestige{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;border-radius:13px;background:rgba(250,204,21,.07);border:1px solid rgba(250,204,21,.18);font-size:12px}
.auction-grid-prestige span{color:#f8df7a}.auction-grid-prestige strong{color:#fff7d6;font-size:15px}
.admin-auction-compact-row{grid-template-columns:64px minmax(0,1fr) auto!important}
.admin-auction-compact-thumb .auction-visual{width:60px;height:52px;min-height:52px!important;border-radius:12px!important;border-color:rgba(250,204,21,.18)!important;box-shadow:none!important}
.admin-auction-compact-thumb .auction-visual-caption,.admin-compact-visual .auction-visual-caption{display:none!important}
.admin-auction-preview-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:8px;margin-top:10px}
.admin-auction-preview-thumb{display:grid;gap:5px;padding:7px;border-radius:14px;background:rgba(15,23,42,.48);border:1px solid rgba(255,255,255,.08);min-width:0}
.admin-auction-preview-thumb .auction-visual{height:66px;min-height:66px!important;border-radius:11px!important;box-shadow:none!important}
.admin-auction-preview-thumb .auction-visual-caption{display:none!important}
.admin-auction-preview-thumb b{font-size:11px;color:#fff;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-auction-preview-thumb small{font-size:10px;color:#facc15}.admin-auction-multi-preview em{display:block;margin-top:8px;color:#fff7d6;font-size:12px;font-style:normal}
@media (max-width:760px){.admin-auction-compact-row{grid-template-columns:52px minmax(0,1fr)!important}.admin-auction-compact-actions{grid-column:1/-1}.admin-auction-compact-thumb .auction-visual{width:48px;height:46px;min-height:46px!important}}



.collection-owner-tools{display:grid;gap:10px;margin-top:12px}
.collection-tool-row{display:flex;flex-wrap:wrap;gap:8px}
.collection-tool-row.compact .btn{min-width:44px}
.collection-slot-wrap{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.04);color:#dbeafe;font-size:12px;font-weight:700}
.collection-slot-select{background:rgba(15,23,42,.86);border:1px solid rgba(148,163,184,.22);border-radius:10px;color:#fff;padding:7px 8px}
.collection-flags{margin:2px 0 0}
.collection-card.is-pinned{box-shadow:0 0 0 1px rgba(250,204,21,.12) inset,0 22px 60px rgba(0,0,0,.3),0 0 22px rgba(250,204,21,.12)}
.collection-card.is-favorite{border-color:rgba(244,114,182,.32)}
.collection-card.is-hidden{opacity:.78}
.profile-collection-score small{display:block;color:#fde68a;font-size:12px;margin-top:4px}

.flame-card,.pv-prestige-card.flame-card{position:relative;overflow:hidden;border:1px solid rgba(251,191,36,.36)!important;background:linear-gradient(180deg,rgba(14,23,42,.92),rgba(34,12,8,.82))!important;box-shadow:0 0 0 1px rgba(251,191,36,.08) inset,0 18px 60px rgba(0,0,0,.28),0 0 26px rgba(251,146,60,.18)}
.flame-card::before,.flame-card::after{content:"";position:absolute;inset:auto -10% -35% -10%;height:85%;pointer-events:none;z-index:0}
.flame-card::before{background:radial-gradient(circle at 10% 100%,rgba(251,146,60,.55),transparent 30%),radial-gradient(circle at 35% 100%,rgba(250,204,21,.4),transparent 28%),radial-gradient(circle at 60% 100%,rgba(239,68,68,.38),transparent 26%),radial-gradient(circle at 85% 100%,rgba(251,146,60,.48),transparent 30%);filter:blur(10px);animation:prestigeFlameRise 4.2s ease-in-out infinite}
.flame-card::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent);transform:translateX(-120%) skewX(-18deg);animation:prestigeShine 5.5s linear infinite}
.flame-card > *{position:relative;z-index:1}
.flame-card strong{text-shadow:0 0 14px rgba(255,196,77,.34),0 0 28px rgba(251,146,60,.32)}
.prestige-tier-bronze .flame-card,.profile-vitrine-modal.prestige-tier-bronze .pv-prestige-card{--prestige-tone:#cd7f32}
.prestige-tier-silver .flame-card,.profile-vitrine-modal.prestige-tier-silver .pv-prestige-card{--prestige-tone:#cbd5e1}
.prestige-tier-gold .flame-card,.profile-vitrine-modal.prestige-tier-gold .pv-prestige-card{--prestige-tone:#f59e0b}
.prestige-tier-obsidian .flame-card,.profile-vitrine-modal.prestige-tier-obsidian .pv-prestige-card{--prestige-tone:#facc15}
.prestige-tier-platinum .flame-card,.profile-vitrine-modal.prestige-tier-platinum .pv-prestige-card{--prestige-tone:#93c5fd}
.prestige-tier-ruby .flame-card,.profile-vitrine-modal.prestige-tier-ruby .pv-prestige-card{--prestige-tone:#fb7185}
.prestige-tier-imperial .flame-card,.profile-vitrine-modal.prestige-tier-imperial .pv-prestige-card{--prestige-tone:#c084fc}
.prestige-tier-diamond .flame-card,.profile-vitrine-modal.prestige-tier-diamond .pv-prestige-card{--prestige-tone:#67e8f9}
.prestige-tier-phoenix .flame-card,.profile-vitrine-modal.prestige-tier-phoenix .pv-prestige-card{--prestige-tone:#fb923c}
.prestige-tier-mythic .flame-card,.profile-vitrine-modal.prestige-tier-mythic .pv-prestige-card{--prestige-tone:#fde047}
.profile-vitrine-modal[class*="prestige-tier-"] .pv-title-plaque{border-color:color-mix(in srgb,var(--prestige-chip,#f59e0b) 45%,transparent);box-shadow:0 0 22px color-mix(in srgb,var(--prestige-chip,#f59e0b) 18%,transparent)}
.profile-vitrine-modal[class*="prestige-tier-"] .pv-cover{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--prestige-chip,#f59e0b) 22%,transparent),0 0 30px color-mix(in srgb,var(--prestige-chip,#f59e0b) 10%,transparent)}
@keyframes prestigeFlameRise{0%,100%{transform:translateY(18px) scale(1);opacity:.78}50%{transform:translateY(-4px) scale(1.05);opacity:1}}
@keyframes prestigeShine{0%{transform:translateX(-120%) skewX(-18deg)}100%{transform:translateX(140%) skewX(-18deg)}}


/* Performans ve canlı menü iyileştirmeleri */
.tab:not(.active){display:none!important}
.tab.active,.subtab.active{content-visibility:auto;contain-intrinsic-size:900px;}
.panel-card,.auction-lot-card,.collection-card,.mini-item{backface-visibility:hidden;}
.auction-visual-image{content-visibility:auto;}

.menu-btn.auction-live-tab{position:relative;border-color:rgba(239,68,68,.62)!important;background:linear-gradient(135deg,rgba(127,29,29,.62),rgba(24,24,27,.82))!important;color:#fff!important;box-shadow:0 0 0 1px rgba(239,68,68,.36),0 0 22px rgba(239,68,68,.30),inset 0 0 18px rgba(251,113,133,.12)!important;overflow:hidden;}
.menu-btn.auction-live-tab::before{content:"";position:absolute;inset:auto -12% -48% -12%;height:92%;background:radial-gradient(circle at 15% 100%,rgba(239,68,68,.65),transparent 32%),radial-gradient(circle at 42% 100%,rgba(251,146,60,.50),transparent 28%),radial-gradient(circle at 72% 100%,rgba(220,38,38,.55),transparent 30%);filter:blur(9px);animation:auctionMenuFlame 3.2s ease-in-out infinite;pointer-events:none;}
.menu-btn.auction-live-tab::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.12),transparent 55%);transform:translateX(-140%);animation:auctionMenuSweep 4.4s linear infinite;pointer-events:none;}
.menu-btn.auction-live-tab > *{position:relative;z-index:1;}
.auction-live-count{margin-left:auto!important;background:linear-gradient(180deg,#fecaca,#ef4444)!important;color:#22060a!important;border:1px solid rgba(255,255,255,.38)!important;box-shadow:0 0 16px rgba(239,68,68,.55)!important;font-weight:900!important;min-width:24px!important;height:24px!important;align-items:center!important;justify-content:center!important;}
@keyframes auctionMenuFlame{0%,100%{transform:translateY(10px) scale(1);opacity:.72}50%{transform:translateY(-2px) scale(1.08);opacity:1}}
@keyframes auctionMenuSweep{0%{transform:translateX(-140%)}100%{transform:translateX(140%)}}
@media (prefers-reduced-motion: reduce){.menu-btn.auction-live-tab::before,.menu-btn.auction-live-tab::after{animation:none!important}}


/* Admin auction category grouping */
.admin-auction-category-strip{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 4px}
.admin-auction-category-chip{appearance:none;border:1px solid rgba(148,163,184,.18);border-radius:14px;padding:9px 11px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:#dbeafe;font-weight:800;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transition:.16s ease}
.admin-auction-category-chip b{min-width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(15,23,42,.72);border:1px solid rgba(255,255,255,.1);color:#facc15;font-size:12px}
.admin-auction-category-chip:hover{transform:translateY(-1px);border-color:rgba(250,204,21,.36);box-shadow:0 10px 24px rgba(0,0,0,.18)}
.admin-auction-category-chip.active{border-color:rgba(248,113,113,.52);background:radial-gradient(circle at 20% 0%,rgba(248,113,113,.24),transparent 42%),linear-gradient(135deg,rgba(127,29,29,.72),rgba(15,23,42,.82));box-shadow:0 0 0 1px rgba(248,113,113,.1) inset,0 0 20px rgba(248,113,113,.14)}
.admin-auction-selected-note{margin-top:-2px;padding:9px 11px;border-radius:13px;background:rgba(250,204,21,.07);border:1px solid rgba(250,204,21,.16);color:#fde68a;font-size:12px;font-weight:800}
.admin-auction-selected-note b{color:#fff}
.admin-auction-form select[name="item_keys"] optgroup{font-weight:900;color:#facc15;background:#0f172a}
.admin-auction-form select[name="item_keys"] option{color:#e2e8f0;background:#111827;padding:6px}

/* Şehir ihtiyaçları ve canlı ekonomi ekranı */
.city-needs-tab-fire{position:relative;border-color:rgba(239,68,68,.62)!important;background:linear-gradient(135deg,rgba(127,29,29,.62),rgba(15,23,42,.86))!important;box-shadow:0 0 0 1px rgba(248,113,113,.25),0 0 18px rgba(239,68,68,.18)!important;color:#fff!important}
.city-needs-card{border:1px solid rgba(248,113,113,.32);box-shadow:0 0 0 1px rgba(248,113,113,.08) inset,0 18px 38px rgba(0,0,0,.18)}
.city-needs-panel{display:grid;gap:14px}
.city-needs-toolbar{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(150px,.6fr) minmax(160px,.7fr);gap:10px;align-items:center}
.city-needs-toolbar input,.city-needs-toolbar select{width:100%;border:1px solid rgba(148,163,184,.22);border-radius:13px;background:rgba(15,23,42,.76);color:#e5eefb;padding:10px 12px;font-weight:700;outline:none}
.city-needs-toolbar input:focus,.city-needs-toolbar select:focus{border-color:rgba(248,113,113,.52);box-shadow:0 0 0 3px rgba(248,113,113,.12)}
.city-needs-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.city-needs-summary-grid>div{border:1px solid rgba(148,163,184,.16);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));padding:13px;min-height:82px;display:flex;flex-direction:column;gap:4px}
.city-needs-summary-grid span,.city-needs-summary-grid small{color:#94a3b8;font-size:12px;font-weight:800}.city-needs-summary-grid strong{color:#fff;font-size:18px}
.city-needs-table-wrap{overflow:auto;border:1px solid rgba(148,163,184,.16);border-radius:18px;background:rgba(15,23,42,.52)}
.city-needs-table{width:100%;border-collapse:collapse;min-width:920px}.city-needs-table th,.city-needs-table td{padding:11px 12px;border-bottom:1px solid rgba(148,163,184,.10);text-align:left;vertical-align:middle}.city-needs-table th{position:sticky;top:0;background:rgba(15,23,42,.96);color:#9fb2ca;font-size:11px;text-transform:uppercase;letter-spacing:.04em;z-index:1}.city-needs-table td{color:#dbeafe;font-weight:700}.city-needs-table td small{display:block;color:#94a3b8;font-size:11px;margin-top:2px;font-weight:700}.city-needs-row.hot{background:rgba(34,197,94,.035)}.city-needs-row.mid{background:rgba(250,204,21,.028)}.city-needs-row.saturated{background:rgba(239,68,68,.035)}
.city-status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900;border:1px solid rgba(148,163,184,.18);white-space:nowrap}.city-status-pill.hot{background:rgba(34,197,94,.14);color:#bbf7d0;border-color:rgba(34,197,94,.24)}.city-status-pill.mid{background:rgba(250,204,21,.13);color:#fde68a;border-color:rgba(250,204,21,.24)}.city-status-pill.calm{background:rgba(56,189,248,.12);color:#bae6fd;border-color:rgba(56,189,248,.22)}.city-status-pill.saturated{background:rgba(239,68,68,.12);color:#fecaca;border-color:rgba(239,68,68,.24)}
.empty-cell{text-align:center!important;color:#94a3b8!important;padding:24px!important}.city-needs-intro-card{max-width:520px}.city-intro-focus{border:1px solid rgba(248,113,113,.30);border-radius:18px;padding:15px;background:linear-gradient(135deg,rgba(127,29,29,.22),rgba(15,23,42,.70));color:#fff;font-size:15px;line-height:1.55}.city-intro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.city-intro-grid span{border:1px solid rgba(148,163,184,.14);background:rgba(15,23,42,.58);border-radius:13px;padding:10px;color:#cbd5e1;font-weight:800;text-align:center}.city-intro-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:14px;flex-wrap:wrap}
.build-city-card{max-width:980px}.build-city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.build-city-option{text-align:left;appearance:none;border:1px solid rgba(148,163,184,.16);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:#e2e8f0;padding:13px;display:flex;flex-direction:column;gap:5px;cursor:pointer}.build-city-option:hover{transform:translateY(-1px);border-color:rgba(248,113,113,.42);box-shadow:0 12px 26px rgba(0,0,0,.22)}.build-city-option strong{font-size:16px;color:#fff}.build-city-option span,.build-city-option small{color:#94a3b8;font-weight:700}.build-city-option em{font-style:normal;color:#fca5a5;font-weight:900}.build-city-option b{margin-top:4px;color:#bbf7d0}
.admin-city-pop-card{max-width:1080px}.city-pop-toolbar{margin-bottom:10px}.city-pop-toolbar input{width:100%;border:1px solid rgba(148,163,184,.22);border-radius:13px;background:rgba(15,23,42,.76);color:#e5eefb;padding:10px 12px;font-weight:700}.admin-city-pop-table-wrap{max-height:70vh;overflow:auto;border:1px solid rgba(148,163,184,.16);border-radius:16px}.admin-city-pop-table{width:100%;border-collapse:collapse;min-width:820px}.admin-city-pop-table th,.admin-city-pop-table td{padding:10px;border-bottom:1px solid rgba(148,163,184,.10);text-align:left}.admin-city-pop-table th{position:sticky;top:0;background:rgba(15,23,42,.97);z-index:1;color:#9fb2ca;font-size:11px;text-transform:uppercase}.admin-city-pop-table td strong{display:block;color:#fff}.admin-city-pop-table td small{display:block;color:#94a3b8}.admin-city-pop-table input{width:100%;border:1px solid rgba(148,163,184,.22);border-radius:10px;background:rgba(15,23,42,.78);color:#e5eefb;padding:8px}
@media (max-width:900px){.city-needs-toolbar,.city-needs-summary-grid,.build-city-grid{grid-template-columns:1fr}.city-needs-table{min-width:860px}}

/* Şehir İhtiyaçları - oyuncu rehberi düzeni */
.city-guide-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid rgba(248,113,113,.22);border-radius:18px;padding:14px;background:linear-gradient(135deg,rgba(127,29,29,.18),rgba(15,23,42,.68))}
.city-guide-head span{display:block;color:#fca5a5;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.city-guide-head strong{display:block;color:#fff;font-size:20px;line-height:1.2}.city-guide-steps{display:flex;gap:8px;align-items:center;justify-content:flex-end;color:#cbd5e1;font-weight:900;white-space:nowrap}.city-guide-steps b{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(248,113,113,.16);border:1px solid rgba(248,113,113,.28);color:#fecaca}
.city-guide-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.city-guide-card{appearance:none;text-align:left;border:1px solid rgba(148,163,184,.16);border-radius:16px;padding:12px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:#e2e8f0;cursor:pointer;display:flex;flex-direction:column;gap:3px;min-height:118px;transition:.16s ease}.city-guide-card:hover{transform:translateY(-1px);border-color:rgba(248,113,113,.38);box-shadow:0 14px 28px rgba(0,0,0,.20)}.city-guide-card span{color:#94a3b8;font-size:11px;font-weight:900;text-transform:uppercase}.city-guide-card strong{color:#fff;font-size:16px}.city-guide-card b{color:#dbeafe;font-size:14px}.city-guide-card small{color:#a8b5c9;font-weight:800}.city-guide-card em{margin-top:auto;font-style:normal;color:#fecaca;font-weight:900}.city-guide-card.hot{border-color:rgba(34,197,94,.26)}.city-guide-card.mid{border-color:rgba(250,204,21,.24)}.city-guide-card.saturated{border-color:rgba(248,113,113,.24)}.city-guide-empty{grid-column:1/-1;border:1px dashed rgba(148,163,184,.22);border-radius:16px;padding:18px;text-align:center;color:#94a3b8;font-weight:800}
.city-needs-toolbar-rich{grid-template-columns:minmax(210px,1.4fr) repeat(5,minmax(130px,.72fr));gap:9px}.city-guide-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.city-guide-metrics>div{border:1px solid rgba(148,163,184,.14);border-radius:14px;background:rgba(15,23,42,.42);padding:10px 12px}.city-guide-metrics span{display:block;color:#94a3b8;font-size:11px;font-weight:900;text-transform:uppercase}.city-guide-metrics strong{display:block;color:#fff;font-size:17px;margin-top:2px}
.city-needs-table-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(148,163,184,.12);border-radius:15px;background:rgba(15,23,42,.42);padding:10px 12px}.city-needs-table-head strong{display:block;color:#fff}.city-needs-table-head span{display:block;color:#94a3b8;font-size:12px;font-weight:800}.city-needs-pager{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.city-needs-pager select{border:1px solid rgba(148,163,184,.22);border-radius:11px;background:rgba(15,23,42,.76);color:#e5eefb;padding:8px;font-weight:800}.city-needs-pager b{color:#cbd5e1;font-size:12px;min-width:64px;text-align:center}.city-needs-pager button[disabled]{opacity:.42;cursor:not-allowed}
.city-needs-compact-table{min-width:1040px}.city-needs-compact-table th,.city-needs-compact-table td{padding:9px 10px}.city-needs-compact-table td{font-size:13px}.city-score-badge{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;border-radius:999px;font-weight:950;border:1px solid rgba(148,163,184,.18);background:rgba(148,163,184,.10);color:#e2e8f0}.city-score-badge.hot{background:rgba(34,197,94,.15);border-color:rgba(34,197,94,.28);color:#bbf7d0}.city-score-badge.mid{background:rgba(250,204,21,.14);border-color:rgba(250,204,21,.28);color:#fde68a}.city-score-badge.saturated{background:rgba(248,113,113,.13);border-color:rgba(248,113,113,.25);color:#fecaca}.city-route-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:950;border:1px solid rgba(148,163,184,.18);white-space:nowrap}.city-route-pill.production{background:rgba(56,189,248,.12);border-color:rgba(56,189,248,.22);color:#bae6fd}.city-route-pill.retail{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.22);color:#bbf7d0}.city-route-pill.mixed{background:rgba(250,204,21,.13);border-color:rgba(250,204,21,.24);color:#fde68a}
@media (max-width:1200px){.city-guide-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.city-needs-toolbar-rich{grid-template-columns:repeat(3,minmax(0,1fr))}.city-guide-head{grid-template-columns:1fr}.city-guide-steps{justify-content:flex-start;white-space:normal}}@media (max-width:760px){.city-guide-cards,.city-guide-metrics,.city-needs-toolbar-rich{grid-template-columns:1fr}.city-needs-table-head{align-items:flex-start;flex-direction:column}.city-guide-steps{font-size:12px;gap:5px}}
.build-city-search{width:100%;margin:0 0 12px;border:1px solid rgba(148,163,184,.22);border-radius:14px;background:rgba(15,23,42,.72);color:#e2e8f0;padding:11px 13px;font-weight:800;outline:none}.build-city-search:focus{border-color:rgba(248,113,113,.55);box-shadow:0 0 0 3px rgba(248,113,113,.12)}.build-city-card .facility-detail-body{max-height:min(72vh,760px);overflow:auto}.build-city-grid{max-height:none}

.city-guide-loading {
  display: grid;
  gap: 6px;
  align-items: center;
  justify-items: start;
  padding: 18px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
}
.city-guide-loading strong { font-size: 1rem; }
.city-guide-loading span { color: var(--muted); font-size: 0.9rem; }
