:root {
    --bg: #080b26;
    --bg-deep: #06081e;
    --surface: #171b3e;
    --surface-2: #212650;
    --surface-3: #2b3059;
    --line: rgba(151, 164, 255, .18);
    --text: #f6f5ff;
    --muted: #9ca2c9;
    --soft: #737aa7;
    --blue: #6b9fff;
    --cyan: #55d7ff;
    --purple: #a96cff;
    --gold: #f2bd45;
    --green: #63dba7;
    --danger: #ff758c;
    --shadow: 0 20px 55px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg-deep); }
body { margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .01em; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .4; background-image: radial-gradient(circle at 10% 90%, rgba(34,164,255,.23) 0 1px, transparent 2px), linear-gradient(145deg, transparent 0 45%, rgba(22,79,170,.14) 45.2% 45.4%, transparent 45.6% 100%), linear-gradient(25deg, transparent 0 70%, rgba(45,95,202,.12) 70.2% 70.4%, transparent 70.6% 100%); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.auth-body { display: flex; justify-content: center; }
.auth-layout { width: min(100%, 1080px); min-height: 100vh; padding: 8vh 34px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.auth-copy { padding: 8px 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 24px; font-weight: 800; margin-bottom: 80px; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; color: #11142f; background: var(--gold); border-radius: 10px; font-size: 25px; font-weight: 900; line-height: 1; transform: rotate(-8deg); }
.eyebrow { display: block; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.auth-copy h1 { max-width: 560px; margin: 14px 0 20px; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; }
h1, h2, p { margin-top: 0; }
em { color: var(--gold); font-style: normal; }
.auth-copy p { max-width: 430px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.signal-line { display: flex; align-items: center; gap: 12px; margin-top: 52px; color: var(--soft); font-size: 10px; letter-spacing: .14em; }
.signal-line span { display: block; width: 55px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 32px; color: var(--muted); font-size: 12px; }
.auth-form-area { width: 100%; max-width: 440px; justify-self: end; padding: 12px 0; }
.form-heading { margin-bottom: 28px; }
.form-heading h2 { margin: 8px 0 9px; font-size: 30px; letter-spacing: -.035em; }
.form-heading p, .form-switch { color: var(--muted); font-size: 13px; line-height: 1.6; }
.form-stack { display: grid; gap: 18px; }
label { display: grid; gap: 8px; color: #dfe2ff; font-size: 12px; font-weight: 700; }
label input { width: 100%; height: 52px; padding: 0 16px; color: var(--text); background: rgba(28,32,73,.72); border: 1px solid var(--line); border-radius: 14px; outline: none; transition: .2s ease; }
label input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(107,159,255,.12); }
label small { margin-top: -2px; color: var(--soft); font-size: 11px; font-weight: 500; }
.gold-button, .soft-button, .outline-gold, .small-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 20px; border-radius: 13px; border: 1px solid transparent; font-weight: 800; transition: transform .2s ease, filter .2s ease, background .2s ease; }
.gold-button { color: #17162d; background: linear-gradient(135deg, #ffe08a, var(--gold)); box-shadow: 0 12px 24px rgba(242,189,69,.15); }
.gold-button:hover, .soft-button:hover, .outline-gold:hover, .small-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.gold-button span, .soft-button span { font-size: 20px; line-height: 0; }
.soft-button { color: #e9e8ff; background: rgba(107,159,255,.13); border-color: rgba(107,159,255,.45); }
.outline-gold { min-height: 36px; padding: 0 13px; color: var(--gold); background: rgba(242,189,69,.07); border-color: rgba(242,189,69,.55); font-size: 11px; }
.form-switch { margin: 24px 0 0; text-align: center; }
.form-switch a, .text-link { color: var(--gold); font-weight: 800; }
.consent-list { display: grid; gap: 11px; margin: -2px 0 4px; }
.check-row { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.4; font-weight: 500; }
.check-row input { width: 16px; height: 16px; accent-color: var(--gold); flex: 0 0 auto; }
.flash-stack { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 100svh; margin: 0; padding: 18px; background: rgba(3,4,17,.72); backdrop-filter: blur(9px); }
.flash { position: relative; width: min(100%, 430px); min-height: 96px; display: flex; align-items: center; padding: 24px 58px 24px 22px; border-radius: 20px; color: var(--text); background: linear-gradient(155deg,rgba(47,29,58,.98),rgba(24,22,57,.98)); border: 1px solid var(--line); box-shadow: 0 24px 65px rgba(0,0,0,.42); font-size: 14px; line-height: 1.45; font-weight: 750; animation: flash-in .22s ease both; transition: opacity .2s ease, transform .2s ease, max-height .2s ease, padding .2s ease, margin .2s ease; }
.flash.dismissed { max-height: 0; margin: -8px 0 0; padding-top: 0; padding-bottom: 0; opacity: 0; transform: translateY(-5px); overflow: hidden; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.flash.success, .form-success { border-color: rgba(99,219,167,.5); background: rgba(45,115,91,.25); }
.flash.error, .form-error { border-color: rgba(255,117,140,.5); background: rgba(128,37,63,.24); }
.flash.info { border-color: rgba(107,159,255,.55); }
.flash-message { display: block; min-width: 0; }
.flash-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; color: var(--text); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.08); font-size: 23px; line-height: 1; }
.flash-close:hover { background: rgba(255,255,255,.16); }
.flash-stack.non-blocking { inset: calc(12px + env(safe-area-inset-top)) 0 auto; align-items: center; min-height: 0; padding: 0 14px; background: transparent; backdrop-filter: none; pointer-events: none; }
.flash-stack.non-blocking .flash { width: min(100%, 520px); min-height: 0; padding: 12px 16px; border-color: rgba(99,219,167,.55); border-radius: 13px; background: rgba(35,104,80,.96); box-shadow: 0 12px 30px rgba(0,0,0,.26); font-size: 12px; pointer-events: auto; }
.flash-stack.non-blocking .flash-close { display: none; }
.flash-stack.non-blocking .flash.error { border-color: rgba(255,117,140,.6); background: rgba(128,37,63,.96); }
.flash-stack.non-blocking .flash.info { border-color: rgba(107,159,255,.62); background: rgba(39,62,132,.96); }
.flash-stack.non-blocking .flash.success { border-color: rgba(99,219,167,.6); background: rgba(35,104,80,.96); }
.form-error, .form-success { margin-bottom: 16px; padding: 12px 14px; border: 1px solid; border-radius: 12px; color: var(--text); font-size: 12px; line-height: 1.5; }
.install-layout { align-items: start; padding-top: 12vh; }
.install-layout .brand-lockup { margin-bottom: 60px; }
.migration-list { display: grid; gap: 10px; margin-bottom: 24px; }
.migration-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(28,32,73,.45); }
.migration-row strong, .migration-row small { display: block; }
.migration-row strong { font-size: 12px; }
.migration-row small { margin-top: 5px; color: var(--soft); font-size: 10px; }
.status-dot { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--green); background: rgba(99,219,167,.12); }
.app-body { display: flex; justify-content: center; height: 100svh; min-height: 100svh; overflow: hidden; }
.app-frame { width: min(100%, 720px); height: 100svh; min-height: 100svh; padding: 18px 14px 104px; position: relative; z-index: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.app-frame::-webkit-scrollbar { display: none; }
.profile-header { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:2px 1px 12px; border-bottom:1px solid rgba(151,164,255,.12); }
.profile-identity { min-width:0; display:flex; align-items:center; gap:11px; }
.profile-avatar { width:48px; height:48px; flex:0 0 auto; overflow:hidden; display:block; border:2px solid rgba(242,189,69,.88); border-radius:50%; background:var(--avatar-color,#10152c); box-shadow:0 0 0 4px rgba(242,189,69,.08), 0 8px 18px rgba(0,0,0,.2); }
.profile-avatar .avatar-real { width:100%; height:100%; border-radius:50%; }
.profile-copy { min-width:0; display:grid; gap:4px; }
.profile-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text); font-size:14px; line-height:1; }
.profile-copy small { max-width:190px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-size:10px; line-height:1.2; }
.logout-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:36px; flex:0 0 auto; padding:0 12px; color:var(--gold); background:rgba(242,189,69,.08); border:1px solid rgba(242,189,69,.58); border-radius:11px; font-size:11px; font-weight:850; }
.logout-button:hover { background:rgba(242,189,69,.16); filter:brightness(1.06); }
.logout-button span { font-size:17px; line-height:1; }
.topbar { height: 48px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 850; letter-spacing: -.06em; }
.brand .brand-mark { width: 31px; height: 31px; }
.top-actions { display: flex; align-items: center; gap: 5px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; color: #eeefff; border: 0; background: transparent; font-size: 26px; }
.resource-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 14px 0 18px; }
.resource-chip { min-height: 48px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; column-gap: 7px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 13px; background: rgba(34,39,83,.74); }
.resource-chip > span { grid-row: 1 / 3; font-size: 17px; }
.resource-chip strong { align-self: end; color: #f3f2ff; font-size: 12px; line-height: 1; }
.resource-chip small { align-self: start; color: var(--soft); font-size: 8px; }
.app-content { padding: 8px 2px 30px; }
.welcome-line, .page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 18px 3px 22px; }
.welcome-line h1, .page-title-row h1 { margin: 5px 0 5px; font-size: 29px; letter-spacing: -.05em; }
.welcome-line p, .page-title-row p { margin: 0; color: var(--muted); font-size: 12px; }
.company-logo-mini { display: grid; place-items: center; width: 48px; height: 48px; color: var(--logo); border: 1px solid currentColor; border-radius: 16px; background: rgba(25,27,62,.8); font-size: 25px; }
.hero-banner { min-height: 205px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 25px; border: 1px solid rgba(107,159,255,.25); border-radius: 23px; background: radial-gradient(circle at 90% 50%, rgba(113,91,255,.34), transparent 40%), linear-gradient(120deg, rgba(34,41,102,.95), rgba(23,27,62,.95)); box-shadow: var(--shadow); }
.hero-banner h2 { margin: 8px 0 20px; font-size: 29px; line-height: 1.05; letter-spacing: -.05em; }
.hero-banner .soft-button { min-height: 39px; padding: 0 14px; font-size: 11px; }
.hero-orbit { position: relative; width: 145px; height: 145px; display: grid; place-items: center; color: var(--gold); font-size: 44px; opacity: .9; }
.hero-orbit::before, .hero-orbit::after, .hero-orbit i { content: ""; position: absolute; border: 1px solid rgba(131,168,255,.42); border-radius: 50%; transform: rotate(-25deg); }
.hero-orbit::before { inset: 8px 0; }.hero-orbit::after { inset: 0 19px; transform: rotate(60deg); }.hero-orbit i { inset: 25px; border-color: rgba(242,189,69,.5); }.hero-orbit b { position:absolute; top: 16px; right: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.section-heading { margin: 30px 3px 13px; }.section-heading h2 { margin: 6px 0 0; font-size: 19px; }
.quick-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.quick-tile { min-height: 145px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; gap: 4px; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: rgba(29,34,73,.78); }
.quick-tile.primary { border-color: rgba(107,159,255,.6); background: linear-gradient(145deg, rgba(43,59,135,.95), rgba(27,31,70,.9)); }
.quick-tile.muted { opacity: .62; }.tile-icon { grid-column: 1 / 3; color: var(--gold); font-size: 25px; }.quick-tile strong { font-size: 15px; }.quick-tile small { color: var(--muted); font-size: 10px; line-height: 1.4; }.quick-tile b { align-self: end; color: var(--blue); font-size: 20px; }.network-note { display:flex; align-items:center; gap:12px; margin-top: 13px; padding: 15px; color: var(--muted); border-top: 1px solid var(--line); }.network-note > span { color: var(--gold); font-size: 20px; }.network-note strong { color: var(--text); font-size: 12px; }.network-note p { margin: 4px 0 0; font-size: 10px; }
.count-badge { padding: 8px 10px; color: var(--blue); background: rgba(107,159,255,.1); border: 1px solid rgba(107,159,255,.25); border-radius: 10px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.tab-nav { display: flex; gap: 4px; overflow-x: auto; padding: 4px 0 0; margin-bottom: 15px; border-bottom: 1px solid var(--line); scrollbar-width: none; }.tab-nav::-webkit-scrollbar { display:none; }
.tab-link { display:flex; align-items:center; gap:7px; min-height: 44px; padding: 0 11px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; font-size: 12px; font-weight: 800; }.tab-link.active { color: var(--text); border-color: var(--cyan); }.tab-link b { min-width: 22px; padding: 4px 6px; color: #bfc5ec; background: rgba(255,255,255,.1); border-radius: 8px; font-size: 9px; text-align: center; }
.production-list { display: grid; gap: 14px; }.production-card { overflow: hidden; scroll-margin-top: 18px; border: 1px solid var(--line); border-radius: 23px; background: rgba(34,38,79,.88); box-shadow: 0 10px 30px rgba(0,0,0,.15); }.production-image { height: 190px; position: relative; background: #1a1d3d; }.production-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(7,9,30,.08),rgba(14,16,43,.72)); }.production-image img { width:100%; height:100%; display:block; object-fit:cover; }.level-tag, .live-tag { position:absolute; z-index:1; top:20px; padding: 10px 13px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(25,27,62,.88); font-size:12px; font-weight:850; }.level-tag { left:20px; color:#f5f4ff; }.level-tag:first-letter { color:var(--gold); }.live-tag { right:20px; color:#e6c8ff; background:rgba(113,31,189,.9); }.live-tag.ready { color:#142b31; background:var(--green); }.production-body { padding: 20px 18px 17px; }.production-name { display:flex; align-items:center; gap:8px; position:relative; }.production-name h2 { margin:0; font-size:20px; letter-spacing:-.04em; }.production-name small { margin-left:auto; color:var(--soft); font-size:10px; }.status-light { width:11px; height:11px; border-radius:50%; background:var(--purple); box-shadow:0 0 12px var(--purple); }.status-light.ready { background:var(--green); box-shadow:0 0 12px var(--green); }.progress-meta { display:flex; justify-content:space-between; gap:10px; margin-top:19px; color:var(--muted); font-size:11px; }.progress-meta strong { color:#dce4ff; }.progress-bar { height:7px; overflow:hidden; margin-top:8px; background:rgba(9,11,35,.65); border-radius:5px; }.progress-bar i { display:block; height:100%; min-width:4px; border-radius:inherit; background:linear-gradient(90deg,var(--blue),var(--cyan)); box-shadow:0 0 15px rgba(85,215,255,.45); }.output-list { display:grid; gap:2px; margin:17px 0 14px; }.output-row { display:flex; align-items:center; gap:10px; min-height:48px; padding:8px 0; border-top:1px solid rgba(255,255,255,.06); }.output-icon { display:grid; place-items:center; width:35px; height:35px; font-size:21px; }.output-row span:nth-child(2) { display:grid; gap:2px; }.output-row small { color:var(--soft); font-size:9px; }.output-row strong { font-size:13px; }.output-row > b { margin-left:auto; color:#a6bdfc; font-size:13px; }.output-row > b small { color:var(--soft); font-weight:500; }.production-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.production-actions form { display:contents; }.collect-button, .upgrade-button { min-height:49px; border-radius:15px; font-weight:850; }.collect-button { color:var(--green); background:rgba(99,219,167,.1); border:1px solid rgba(99,219,167,.5); }.collect-button:disabled { color:var(--soft); background:rgba(255,255,255,.04); border-color:var(--line); cursor:not-allowed; }.upgrade-button { color:var(--gold); background:rgba(242,189,69,.08); border:1px solid rgba(242,189,69,.55); }
.output-icon img { width:30px; height:30px; object-fit:contain; display:block; filter:drop-shadow(0 5px 7px rgba(0,0,0,.28)); }
.factory-recipe { display:grid; gap:8px; margin-top:15px; padding:10px; border:1px solid rgba(242,189,69,.2); border-radius:14px; background:linear-gradient(135deg,rgba(242,189,69,.07),rgba(8,10,35,.2)); }
.recipe-title { color:var(--soft); font-size:9px; font-weight:850; text-transform:uppercase; letter-spacing:.11em; }
.recipe-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.recipe-item { min-width:0; display:flex; align-items:center; gap:7px; padding:7px 8px; color:var(--muted); background:rgba(8,10,35,.38); border:1px solid rgba(151,164,255,.11); border-radius:10px; }
.recipe-icon { display:grid; place-items:center; width:30px; height:30px; flex:0 0 auto; border:1px solid rgba(85,215,255,.2); border-radius:9px; background:rgba(85,215,255,.07); }
.recipe-icon img { width:23px; height:23px; object-fit:contain; display:block; filter:drop-shadow(0 4px 6px rgba(0,0,0,.26)); }
.recipe-copy { min-width:0; display:grid; gap:2px; }
.recipe-copy b { overflow:hidden; color:var(--text); font-size:10px; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }
.recipe-copy small { overflow:hidden; color:var(--soft); font-size:9px; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }
.factory-recipe.empty { display:flex; align-items:center; gap:8px; padding:9px 10px; }
.factory-recipe.empty .recipe-title { margin-right:auto; }
.recipe-empty-mark { display:grid; place-items:center; width:22px; height:22px; color:var(--green); border:1px solid rgba(99,219,167,.45); border-radius:50%; background:rgba(99,219,167,.1); font-size:12px; font-weight:900; }
.recipe-empty-text { color:var(--muted); font-size:10px; white-space:nowrap; }
.purchase-cost { margin:14px 0 10px; color:var(--soft); font-size:9px; line-height:1.5; }
.purchase-button, .production-start-button { width:100%; min-height:49px; border-radius:15px; font-weight:850; }
.purchase-button { color:var(--gold); background:rgba(242,189,69,.12); border:1px solid rgba(242,189,69,.65); }
.production-start-button { color:var(--green); background:rgba(99,219,167,.1); border:1px solid rgba(99,219,167,.5); }
.purchase-actions { grid-template-columns:1fr; }
.modal-backdrop { position:fixed; inset:0; z-index:12; display:none; align-items:end; justify-content:center; padding:16px; background:rgba(3,4,17,.75); backdrop-filter:blur(8px); }.modal-backdrop.open { display:flex; }.modal-panel { width:min(100%,520px); position:relative; padding:25px 20px 20px; border:1px solid rgba(242,189,69,.42); border-radius:23px; background:linear-gradient(160deg,#272b5b,#151837); box-shadow:var(--shadow); }.modal-panel h2 { margin:8px 0 5px; font-size:24px; }.modal-panel p { color:var(--muted); font-size:13px; }.modal-close { position:absolute; top:13px; right:13px; width:32px; height:32px; color:var(--muted); border:0; border-radius:50%; background:rgba(255,255,255,.08); font-size:24px; }.cost-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0; }.cost-grid span { padding:12px; color:var(--muted); background:rgba(8,10,35,.36); border-radius:12px; font-size:11px; }.cost-grid b { color:var(--text); }
.loan-warning-panel { max-width:430px; padding:28px 20px 20px; border-color:rgba(255,190,75,.58); }.loan-warning-icon { display:grid; place-items:center; width:42px; height:42px; margin-bottom:13px; color:#1a1730; background:linear-gradient(135deg,#ffe08a,var(--gold)); border-radius:14px; font-size:25px; font-weight:900; }.loan-warning-panel h2 { max-width:260px; line-height:1.12; }.loan-warning-panel p { margin:10px 0 17px; line-height:1.55; }.loan-warning-summary { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 0 18px; }.loan-warning-summary span { display:grid; gap:5px; padding:12px; border:1px solid rgba(151,164,255,.16); border-radius:12px; background:rgba(8,10,35,.34); }.loan-warning-summary small { color:var(--muted); font-size:10px; }.loan-warning-summary strong { color:var(--gold); font-size:14px; }.loan-warning-panel .wide-action { width:100%; }
.modal-visuals { display:grid; grid-template-columns:88px 1fr; align-items:center; gap:14px; padding-right:28px; }.modal-visuals > img { width:88px; height:88px; object-fit:cover; border:1px solid rgba(242,189,69,.45); border-radius:16px; }.modal-visuals h2 { margin-top:6px; }.modal-outputs { margin-top:18px; }.section-caption { display:block; margin-bottom:8px; color:var(--muted); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }.modal-output-list { display:flex; flex-wrap:wrap; gap:7px; }.modal-output-list > span { display:inline-flex; align-items:center; gap:6px; min-height:35px; padding:5px 8px; color:var(--text); background:rgba(8,10,35,.34); border:1px solid rgba(151,164,255,.14); border-radius:10px; }.modal-output-list img { width:24px; height:24px; object-fit:contain; }.modal-output-list strong { font-size:10px; }
.inventory-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }.inventory-item { min-width:0; display:grid; justify-items:center; padding:16px 10px 12px; border:1px solid var(--line); border-radius:18px; background:rgba(31,35,75,.78); text-align:center; }.inventory-icon { display:grid; place-items:center; height:46px; font-size:31px; }.inventory-item > strong { font-size:13px; }.inventory-item > b { margin-top:9px; color:#a5beff; font-size:17px; }.inventory-item > b small { color:var(--text); font-size:12px; font-weight:500; }.unit-price { margin-top:4px; color:var(--soft); font-size:9px; }.sell-form { display:grid; grid-template-columns:1fr auto; gap:5px; width:100%; margin-top:12px; }.sell-form input { min-width:0; height:34px; padding:0 7px; color:var(--text); background:#171a3d; border:1px solid var(--line); border-radius:8px; font-size:10px; }.sell-button { padding:0 9px; color:var(--gold); background:rgba(242,189,69,.1); border:1px solid rgba(242,189,69,.5); border-radius:8px; font-size:11px; font-weight:800; }.empty-state { padding:60px 20px; text-align:center; color:var(--muted); }.empty-state > span { color:var(--blue); font-size:36px; }.empty-state h2 { margin:10px 0 8px; color:var(--text); font-size:20px; }.empty-state p { font-size:12px; line-height:1.6; }.empty-state .soft-button { margin-top:12px; }
.inventory-icon img { width:42px; height:42px; object-fit:contain; display:block; filter:drop-shadow(0 7px 9px rgba(0,0,0,.3)); }
.selection-page { width:min(100%,720px); min-height:100vh; margin:0 auto; padding:28px 18px 40px; position:relative; z-index:1; }.selection-head { margin:12px 0 22px; }.selection-head h1 { margin:9px 0 7px; font-size:32px; line-height:1.02; letter-spacing:-.055em; }.selection-head p { margin:0; color:var(--muted); font-size:13px; }.avatar-preview { display:flex; align-items:center; gap:19px; min-height:190px; margin-bottom:20px; padding:14px 20px; border:1px solid rgba(107,159,255,.32); border-radius:23px; background:radial-gradient(circle at 12% 50%,rgba(107,159,255,.24),transparent 42%),rgba(28,32,73,.72); }.preview-art { width:165px; height:190px; flex:0 0 auto; }.avatar-art { display:block; width:100%; height:100%; }.avatar-preview h2, .company-identity h2 { margin:7px 0 4px; font-size:25px; letter-spacing:-.04em; }.avatar-preview p, .company-identity p { margin:0; color:var(--muted); font-size:12px; }.selection-grid { display:grid; gap:10px; }.avatar-grid { grid-template-columns:repeat(5,1fr); }.avatar-option, .logo-option { display:grid; justify-items:center; gap:6px; padding:7px 5px 8px; color:var(--muted); background:rgba(26,30,68,.66); border:1px solid var(--line); border-radius:16px; }.avatar-option.selected, .logo-option.selected { color:var(--text); border-color:var(--cyan); box-shadow:0 0 0 2px rgba(85,215,255,.1), 0 0 20px rgba(85,215,255,.08); }.avatar-option .avatar-art { width:100%; height:auto; aspect-ratio:180/210; border-radius:11px; }.avatar-option span, .logo-option span { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; font-weight:800; }.wide-action { width:100%; margin-top:19px; min-height:54px; }.company-identity { display:flex; align-items:center; gap:13px; margin-bottom:20px; padding:14px 16px; border-bottom:1px solid var(--line); }.company-avatar { width:70px; height:82px; flex:0 0 auto; }.company-avatar .avatar-art { border-radius:13px; }.company-name-field { margin-bottom:23px; }.section-label { display:flex; justify-content:space-between; align-items:end; margin-bottom:12px; }.section-label strong { color:var(--muted); font-size:11px; }.logo-grid { grid-template-columns:repeat(5,1fr); }.logo-option { padding:12px 5px 10px; }.logo-option .logo-art { width:100%; max-width:74px; height:auto; }.admin-actions { display:flex; align-items:center; gap:10px; margin:8px 0 18px; }.admin-actions .gold-button { min-height:43px; font-size:11px; }.admin-stat { display:grid; gap:2px; padding:9px 12px; border:1px solid var(--line); border-radius:12px; }.admin-stat strong { color:var(--gold); font-size:17px; }.admin-stat small { color:var(--soft); font-size:9px; }.admin-table { overflow:hidden; border:1px solid var(--line); border-radius:18px; background:rgba(28,32,73,.65); }.admin-table-head, .admin-row { display:grid; grid-template-columns:1.2fr 1fr .7fr auto; align-items:center; gap:8px; padding:13px 12px; }.admin-table-head { color:var(--soft); border-bottom:1px solid var(--line); font-size:9px; font-weight:800; text-transform:uppercase; }.admin-row { min-height:67px; border-bottom:1px solid rgba(255,255,255,.05); font-size:10px; }.admin-row:last-child { border-bottom:0; }.admin-row strong, .admin-row small { display:block; }.admin-row strong { font-size:11px; }.admin-row small { margin-top:3px; color:var(--soft); overflow:hidden; text-overflow:ellipsis; }.role-pill { width:max-content; padding:5px 7px; color:var(--muted); background:rgba(255,255,255,.08); border-radius:7px; font-size:9px; }.role-pill.admin { color:var(--gold); background:rgba(242,189,69,.12); }.small-button { min-height:30px; padding:0 8px; color:var(--blue); background:rgba(107,159,255,.1); border-color:rgba(107,159,255,.3); font-size:9px; }.small-button:disabled { opacity:.4; cursor:not-allowed; }
.bottom-nav { position:fixed; left:50%; bottom:14px; z-index:10; display:grid; grid-template-columns:repeat(5,1fr); width:min(calc(100% - 28px),692px); min-height:77px; padding:8px; transform:translateX(-50%); border:1px solid rgba(140,151,255,.28); border-radius:26px; background:rgba(27,31,69,.92); box-shadow:0 18px 45px rgba(0,0,0,.38); backdrop-filter:blur(14px); }.nav-item { display:grid; place-items:center; align-content:center; gap:3px; min-width:0; color:#b4b7d5; border-radius:17px; }.nav-item.active { color:#f7f5ff; background:linear-gradient(150deg,rgba(75,104,203,.72),rgba(48,58,135,.6)); box-shadow:inset 0 0 0 1px rgba(123,159,255,.65); }.nav-item span { font-size:25px; line-height:1; }.nav-item small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; font-weight:800; }
@media (max-width: 760px) { .auth-layout { grid-template-columns:1fr; gap:35px; padding:38px 24px 60px; align-content:center; }.auth-copy { text-align:left; }.brand-lockup { margin-bottom:52px; }.auth-copy h1 { font-size:48px; }.auth-form-area { justify-self:stretch; max-width:none; }.install-layout { align-content:start; }.install-layout .auth-copy h1 { font-size:43px; }.selection-page { padding-left:14px; padding-right:14px; } }
@media (max-width: 620px) { .chat-layout { grid-template-columns:1fr; min-height:0; }.chat-sidebar { max-height:190px; overflow-y:auto; border-right:0; border-bottom:1px solid rgba(151,164,255,.13); }.chat-thread-list { grid-template-columns:repeat(2,minmax(0,1fr)); }.chat-messages { max-height:calc(100vh - 480px); min-height:220px; }.chat-message { max-width:97%; }.chat-channel-messages { max-height:calc(100vh - 225px); } }
@media (max-width: 470px) { .auth-copy h1 { font-size:43px; }.avatar-preview { min-height:158px; padding:10px 12px; gap:12px; }.preview-art { width:135px; height:158px; }.avatar-preview h2 { font-size:20px; }.avatar-grid, .logo-grid { gap:6px; }.avatar-option, .logo-option { border-radius:12px; }.production-image { height:170px; }.production-body { padding:17px 14px 14px; }.production-name h2 { font-size:17px; }.production-name small { font-size:8px; }.tab-link { padding:0 8px; font-size:10px; }.admin-table-head, .admin-row { grid-template-columns:1.2fr .8fr .65fr; }.admin-table-head span:nth-child(4), .admin-row form { display:none; }.admin-row { font-size:9px; }.quick-tile { min-height:132px; padding:14px; }.chat-thread-list { grid-template-columns:1fr; }.chat-page-head h1 { font-size:25px; }.chat-conversation-head { min-height:56px; }.chat-message-main p { font-size:10px; } }

/* Login ve kayıt ekranları: sade, tek akışlı ve mobil uyumlu form düzeni. */
.auth-simple { width: min(100%, 480px); min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; gap: 26px; padding: 24px 22px 30px; position: relative; z-index: 1; }
.auth-simple:not(.register-simple) { justify-content: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.auth-brand-line { width: min(100%, 420px); display: flex; align-items: center; gap: 10px; margin: 0 auto; font-size: 25px; letter-spacing: -.055em; }
.auth-brand-line .brand-mark { width: 34px; height: 34px; }
.simple-auth-form { max-width: none; padding: 0; }
.simple-auth-form .form-heading { margin-bottom: 22px; }
.simple-auth-form .form-heading h1 { margin: 9px 0 8px; font-size: 36px; line-height: 1.05; letter-spacing: -.055em; }
.simple-auth-form .form-heading p { margin: 0; max-width: 340px; font-size: 12px; }
.simple-auth-form .form-stack { gap: 15px; }
.simple-auth-form label { gap: 7px; font-size: 11px; }
.simple-auth-form label input { height: 54px; border-radius: 13px; }
.simple-auth-form .gold-button { width: 100%; margin-top: 5px; }
.register-simple { justify-content: flex-start; padding-top: 28px; }
.register-simple .auth-brand-line { margin-bottom: 10px; }
.register-simple .simple-auth-form .form-heading { margin-bottom: 23px; }
.register-simple .simple-auth-form .form-stack { gap: 13px; }
.register-simple .consent-list { gap: 8px; margin-top: 2px; }
.consent-toggle { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; min-height: 41px; margin: 0; padding: 8px 11px; color: var(--muted); background: rgba(28,32,73,.48); border: 1px solid rgba(151,164,255,.15); border-radius: 12px; font-size: 10px; line-height: 1.35; font-weight: 600; cursor: pointer; }
.consent-toggle:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(107,159,255,.11); }
.simple-auth-form .consent-toggle .toggle-input { position: absolute; left: 11px; top: 50%; z-index: 2; width: 32px !important; min-width: 32px !important; max-width: 32px !important; height: 20px !important; min-height: 20px !important; max-height: 20px !important; margin: 0; padding: 0 !important; border: 0; opacity: 0; transform: translateY(-50%); cursor: pointer; }
.toggle-visual { position: relative; display: block; grid-column: 1; width: 32px; height: 20px; border: 1px solid rgba(151,164,255,.28); border-radius: 20px; background: rgba(8,11,38,.72); transition: .2s ease; }
.toggle-visual i { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--soft); transition: .2s ease; }
.consent-toggle .toggle-input:checked + .toggle-visual { border-color: var(--green); background: rgba(99,219,167,.2); }
.consent-toggle .toggle-input:checked + .toggle-visual i { left: 15px; background: var(--green); box-shadow: 0 0 9px rgba(99,219,167,.65); }
.consent-text { grid-column: 2; min-width: 0; text-align: left; }
.simple-auth-form .form-switch { margin-top: 15px; }
@media (max-width: 470px) { .auth-simple { gap: 24px; padding-left: 18px; padding-right: 18px; }.auth-simple:not(.register-simple) { gap: 22px; }.auth-brand-line { font-size: 23px; }.simple-auth-form .form-heading h1 { font-size: 32px; }.register-simple { padding-top: 25px; }.consent-toggle { font-size: 9.5px; } }

/* PWA: girişten başlayan, dikey ve tam ekran mobil uygulama akışı. */
.pwa-install-backdrop, .pwa-portrait-gate { position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(3,4,17,.82); backdrop-filter:blur(13px); }
.pwa-install-backdrop.open, .pwa-portrait-gate.open { display:flex; }
.pwa-install-panel, .pwa-portrait-panel { position:relative; width:min(100%,430px); padding:26px 20px 19px; overflow:hidden; border:1px solid rgba(85,215,255,.38); border-radius:26px; background:radial-gradient(circle at 100% 0%,rgba(85,215,255,.2),transparent 36%),linear-gradient(155deg,#242b67,#111432); box-shadow:0 24px 70px rgba(0,0,0,.45); }
.pwa-install-panel::before, .pwa-portrait-panel::before { content:""; position:absolute; width:170px; height:170px; right:-80px; top:-90px; border:1px solid rgba(242,189,69,.38); border-radius:50%; box-shadow:0 0 0 16px rgba(242,189,69,.05),0 0 0 34px rgba(242,189,69,.035); }
.pwa-install-close { position:absolute; top:13px; right:13px; z-index:1; width:32px; height:32px; color:var(--muted); border:0; border-radius:50%; background:rgba(255,255,255,.08); font-size:24px; line-height:1; }
.pwa-install-brand { position:relative; z-index:1; display:flex; align-items:center; gap:11px; margin-bottom:22px; }
.pwa-install-brand img { width:54px; height:54px; border:1px solid rgba(242,189,69,.65); border-radius:16px; box-shadow:0 8px 18px rgba(0,0,0,.2); }
.pwa-install-brand div { display:grid; gap:5px; }.pwa-install-brand strong { font-size:21px; letter-spacing:-.04em; }
.pwa-install-panel h1, .pwa-portrait-panel h1 { position:relative; z-index:1; max-width:320px; margin:0 0 9px; font-size:25px; line-height:1.08; letter-spacing:-.05em; }
.pwa-install-panel p, .pwa-portrait-panel p { position:relative; z-index:1; margin:0; color:var(--muted); font-size:11px; line-height:1.6; }
.pwa-install-benefits { position:relative; z-index:1; display:grid; gap:7px; margin:17px 0; padding:11px 12px; color:#dce5ff; border:1px solid rgba(151,164,255,.16); border-radius:13px; background:rgba(8,11,38,.28); font-size:10px; }
.pwa-install-button { position:relative; z-index:1; width:100%; min-height:48px; }.pwa-fullscreen-button { position:relative; z-index:1; width:100%; min-height:38px; margin-top:8px; color:var(--cyan); border:1px solid rgba(85,215,255,.4); border-radius:11px; background:rgba(85,215,255,.08); font-size:10px; font-weight:800; }
.pwa-install-help { display:block; position:relative; z-index:1; margin-top:12px; color:var(--soft); font-size:9px; line-height:1.45; text-align:center; }.pwa-continue-button { display:block; margin:12px auto 0; color:var(--muted); border:0; background:transparent; font-size:10px; }
.pwa-portrait-panel { text-align:center; }.pwa-portrait-panel .eyebrow { position:relative; z-index:1; margin-bottom:12px; }.pwa-portrait-panel h1 { max-width:none; }.pwa-portrait-icon { position:relative; z-index:1; display:grid; place-items:center; width:68px; height:68px; margin:0 auto 18px; color:var(--gold); border:1px solid rgba(242,189,69,.55); border-radius:22px; background:rgba(242,189,69,.1); font-size:42px; transform:rotate(-45deg); }.pwa-portrait-panel p { max-width:300px; margin:0 auto; }
@media (display-mode: fullscreen), (display-mode: standalone) { .pwa-install-backdrop { display:none !important; } body { overscroll-behavior-y:none; } }

/* Gerçekçi avatar atlası: her seçenek 4x5 atlasın tek hücresini gösterir. */
.avatar-real { display: block; overflow: hidden; background-color: #10152c; background-image: url('../img/avatars/avatar-atlas.png'); background-position: var(--avatar-position); background-repeat: no-repeat; background-size: 400% 500%; }
.avatar-option .avatar-real { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 11px; }
.logo-real { display: block; width: 100%; aspect-ratio: 1 / 1; background-color: #10152c; background-image: url('../img/logos/logo-atlas.png'); background-position: var(--logo-position); background-repeat: no-repeat; background-size: 400% 500%; }
.logo-option .logo-real { width: 100%; max-width: 74px; height: auto; }

@media (max-width: 470px) {
    .modal-panel { padding: 21px 14px 16px; }
    .modal-visuals { grid-template-columns: 72px 1fr; gap: 10px; }
    .modal-visuals > img { width: 72px; height: 72px; }
    .modal-visuals h2 { font-size: 20px; }
    .modal-output-list > span { max-width: 100%; }
    .modal-output-list strong { font-size: 9px; }
}

/* Bankacılık: kompakt hesap özeti, EFT ve kredi akışı. */
.chat-channel-page { align-content:stretch; min-height:calc(100svh - 127px); height:calc(100svh - 127px); padding-bottom:0; }
.chat-channel-tabs { width:100%; max-width:none; height:58px; min-height:58px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center; gap:7px; padding:6px 8px; overflow:hidden; border:1px solid rgba(151,164,255,.16); border-radius:17px; background:rgba(25,29,66,.78); }
.chat-channel-tab { position:relative; display:grid; grid-template-rows:24px auto; place-items:center; gap:1px; width:auto; height:44px; min-width:0; padding:4px 7px; color:var(--muted); border:1px solid transparent; border-radius:12px; background:rgba(255,255,255,.035); font-size:19px; }
.chat-channel-tab small { color:var(--soft); font-size:8px; font-weight:850; line-height:1; white-space:nowrap; }
.chat-channel-tab.active { color:var(--text); border-color:rgba(85,215,255,.55); background:linear-gradient(145deg,rgba(66,90,180,.72),rgba(41,47,108,.62)); box-shadow:0 0 18px rgba(85,215,255,.12); }
.chat-channel-tab.active small { color:var(--text); }
.chat-channel-tab b { position:absolute; top:-7px; right:-6px; display:grid; place-items:center; min-width:18px; height:18px; padding:0 4px; color:#fff; background:#ed5261; border:2px solid #171b48; border-radius:10px; font-size:8px; line-height:1; }
.chat-channel-feed { min-height:0; height:100%; display:grid; grid-template-rows:minmax(0,1fr) auto; overflow:hidden; border:1px solid rgba(151,164,255,.16); border-radius:20px; background:radial-gradient(circle at 90% 0%,rgba(74,86,192,.14),transparent 32%),rgba(18,22,56,.7); }
.chat-channel-messages { min-height:0; max-height:none; overflow-y:auto; padding:15px 12px 9px; scroll-behavior:smooth; }
.chat-channel-compose { padding:9px 11px 11px; border-top:1px solid rgba(151,164,255,.13); background:rgba(8,11,38,.46); }
.chat-channel-compose-row { display:flex; align-items:flex-end; gap:8px; }
.chat-channel-compose textarea { min-width:0; flex:1; resize:none; min-height:43px; max-height:100px; padding:12px 13px; color:var(--text); background:rgba(27,31,69,.9); border:1px solid rgba(151,164,255,.24); border-radius:14px; outline:none; font:inherit; font-size:11px; line-height:1.35; }
.chat-channel-compose textarea:focus { border-color:rgba(85,215,255,.68); box-shadow:0 0 0 3px rgba(85,215,255,.08); }
.chat-channel-compose button { display:grid; place-items:center; width:43px; height:43px; flex:0 0 43px; color:#15172f; background:linear-gradient(135deg,#ffe08a,var(--gold)); border:1px solid var(--gold); border-radius:50%; font-size:19px; }
.chat-private-switcher { display:grid; gap:6px; padding:9px 11px; border-bottom:1px solid rgba(151,164,255,.13); }
.chat-private-switcher > span { color:var(--soft); font-size:8px; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.chat-private-switcher > div { display:flex; gap:5px; overflow-x:auto; }
.chat-private-switcher a { max-width:120px; overflow:hidden; padding:6px 9px; color:var(--muted); border:1px solid rgba(151,164,255,.16); border-radius:9px; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.chat-private-switcher a.active { color:var(--text); border-color:rgba(85,215,255,.5); background:rgba(85,215,255,.1); }
.chat-private-recipient { display:grid; gap:5px; margin-bottom:8px; color:var(--soft); font-size:9px; }
.chat-private-recipient select { width:100%; height:34px; padding:0 10px; color:var(--text); background:rgba(27,31,69,.9); border:1px solid rgba(151,164,255,.24); border-radius:10px; font:inherit; font-size:10px; }
.chat-page { display:grid; gap:13px; padding-top:2px; }
.chat-channel-page .chat-message { width:100%; max-width:100%; }
.chat-channel-page .chat-message-main { flex:1; padding:12px 15px; }
.chat-channel-page .chat-message.own .chat-message-main { flex:0 1 88%; }
.chat-channel-page .chat-message-meta { margin-bottom:6px; }
.chat-page-head { display:flex; align-items:end; justify-content:space-between; gap:12px; margin:8px 3px 3px; }.chat-page-head h1 { margin:5px 0 4px; font-size:29px; letter-spacing:-.06em; }.chat-page-head p { margin:0; color:var(--muted); font-size:11px; }.chat-live-status { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; color:var(--green); border:1px solid rgba(99,219,167,.28); border-radius:10px; background:rgba(99,219,167,.08); font-size:9px; font-weight:800; }.chat-live-status i { width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 10px var(--green); }
.chat-layout { display:grid; grid-template-columns:220px minmax(0,1fr); min-height:calc(100vh - 165px); overflow:hidden; border:1px solid var(--line); border-radius:20px; background:rgba(25,29,66,.72); box-shadow:0 12px 30px rgba(0,0,0,.14); }.chat-sidebar { min-width:0; padding:12px 8px; border-right:1px solid rgba(151,164,255,.13); background:rgba(13,16,45,.25); }.chat-section-title { display:flex; justify-content:space-between; align-items:center; padding:4px 7px 10px; color:var(--muted); font-size:10px; }.chat-section-title span { display:grid; place-items:center; min-width:20px; height:20px; color:var(--cyan); background:rgba(85,215,255,.1); border-radius:7px; font-size:9px; }.chat-thread-list { display:grid; gap:3px; }.chat-thread { position:relative; display:flex; align-items:center; gap:8px; min-width:0; padding:9px 7px; color:var(--text); border:1px solid transparent; border-radius:13px; }.chat-thread:hover, .chat-thread.active { border-color:rgba(85,215,255,.25); background:rgba(85,215,255,.08); }.chat-list-avatar { width:35px; height:35px; flex:0 0 35px; overflow:hidden; border:1px solid rgba(242,189,69,.42); border-radius:50%; background:var(--chat-avatar-color,#10152c); }.chat-list-avatar .avatar-real { width:100%; height:100%; border-radius:50%; }.chat-thread-copy { min-width:0; display:grid; gap:2px; }.chat-thread-copy strong, .chat-thread-copy small, .chat-thread-copy em { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.chat-thread-copy strong { font-size:10px; }.chat-thread-copy small { color:var(--cyan); font-size:8px; }.chat-thread-copy em { color:var(--soft); font-size:8px; font-style:normal; }.chat-thread > time { align-self:flex-start; margin-left:auto; color:var(--soft); font-size:7px; white-space:nowrap; }.chat-empty-small { padding:20px 8px; color:var(--soft); font-size:9px; text-align:center; }
.chat-conversation { min-width:0; display:grid; grid-template-rows:auto minmax(0,1fr) auto; background:radial-gradient(circle at 90% 0%,rgba(74,86,192,.15),transparent 35%),rgba(22,25,59,.5); }.chat-conversation-head { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:61px; padding:12px 14px; border-bottom:1px solid rgba(151,164,255,.13); }.chat-conversation-head div { min-width:0; display:grid; gap:3px; }.chat-conversation-head strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }.chat-conversation-head small { overflow:hidden; color:var(--muted); text-overflow:ellipsis; white-space:nowrap; font-size:9px; }.chat-conversation-head > span { padding:5px 7px; color:var(--cyan); border:1px solid rgba(85,215,255,.25); border-radius:7px; font-size:8px; font-weight:800; }
.chat-messages { min-height:260px; max-height:calc(100vh - 315px); overflow-y:auto; padding:15px 12px 8px; scroll-behavior:smooth; }.chat-message { display:flex; align-items:flex-start; gap:9px; max-width:94%; margin:0 auto 13px 0; }.chat-message.own { margin-right:0; margin-left:auto; }.chat-message-avatar { width:42px; flex:0 0 42px; display:grid; justify-items:center; gap:3px; }.chat-message-avatar > span { width:37px; height:37px; overflow:hidden; border:1px solid rgba(242,189,69,.46); border-radius:50%; background:var(--chat-avatar-color,#10152c); }.chat-message-avatar .avatar-real { width:100%; height:100%; border-radius:50%; }.chat-message-avatar time { color:var(--soft); font-size:8px; white-space:nowrap; }.chat-message-main { min-width:0; padding:9px 11px; border:1px solid rgba(151,164,255,.14); border-radius:5px 14px 14px 14px; background:rgba(34,38,79,.84); }.chat-message.own .chat-message-main { border-color:rgba(85,215,255,.24); border-radius:14px 5px 14px 14px; background:rgba(47,62,133,.52); }.chat-message-meta { display:flex; align-items:baseline; gap:7px; min-width:0; margin-bottom:4px; }.chat-message-meta strong { overflow:hidden; color:var(--text); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.chat-message-meta span { overflow:hidden; color:var(--cyan); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.chat-message-main p { margin:0; color:#e8eaff; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }.chat-empty { display:grid; justify-items:center; align-content:center; min-height:230px; gap:6px; color:var(--muted); text-align:center; }.chat-empty > span { display:grid; place-items:center; width:43px; height:43px; margin-bottom:5px; color:var(--cyan); border:1px solid rgba(85,215,255,.3); border-radius:14px; background:rgba(85,215,255,.08); font-size:21px; }.chat-empty strong { color:var(--text); font-size:13px; }.chat-empty small { font-size:9px; }.chat-compose { display:grid; gap:7px; padding:10px 12px 12px; border-top:1px solid rgba(151,164,255,.13); background:rgba(10,13,39,.4); }.chat-recipient-label { display:grid; gap:4px; color:var(--muted); font-size:9px; }.chat-compose select { width:100%; height:35px; padding:0 9px; color:var(--text); background:rgba(28,32,73,.86); border:1px solid var(--line); border-radius:9px; font-size:10px; }.chat-compose-row { display:flex; align-items:flex-end; gap:7px; }.chat-compose textarea { min-width:0; flex:1; resize:none; min-height:39px; max-height:100px; padding:11px; color:var(--text); background:rgba(28,32,73,.86); border:1px solid var(--line); border-radius:11px; outline:none; font:inherit; font-size:11px; line-height:1.35; }.chat-compose textarea:focus, .chat-compose select:focus { border-color:rgba(85,215,255,.65); box-shadow:0 0 0 3px rgba(85,215,255,.08); }.chat-compose button { display:grid; place-items:center; width:40px; height:39px; flex:0 0 40px; color:#14162e; background:linear-gradient(135deg,#ffe08a,var(--gold)); border:1px solid var(--gold); border-radius:11px; font-size:18px; }.chat-compose > small { color:var(--soft); font-size:8px; }.bank-page { display:grid; gap:14px; }
.bank-summary, .bank-panel { padding:15px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(155deg,rgba(33,38,80,.9),rgba(23,27,62,.86)); box-shadow:0 12px 30px rgba(0,0,0,.12); }
.bank-section-head, .bank-panel-title { display:flex; align-items:center; gap:10px; }
.bank-section-head { justify-content:space-between; margin-bottom:13px; }
.bank-section-head h1 { margin:5px 0 0; font-size:25px; letter-spacing:-.05em; }
.bank-mark { display:grid; place-items:center; width:42px; height:42px; color:var(--cyan); border:1px solid rgba(85,215,255,.45); border-radius:14px; background:rgba(85,215,255,.08); font-size:24px; }
.bank-account-line { display:grid; grid-template-columns:auto 1fr; gap:5px 12px; padding:11px 12px; border:1px solid rgba(151,164,255,.13); border-radius:13px; background:rgba(8,11,38,.28); }
.bank-account-line span { color:var(--soft); font-size:10px; }
.bank-account-line strong { overflow:hidden; color:#dfe5ff; font-size:11px; text-align:right; text-overflow:ellipsis; letter-spacing:.04em; }
.bank-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:10px; }
.bank-stat { min-width:0; display:grid; gap:4px; padding:11px 8px; border:1px solid rgba(151,164,255,.12); border-radius:14px; background:rgba(31,35,75,.7); }
.bank-stat span { font-size:18px; }
.bank-stat strong { overflow:hidden; color:#f4f4ff; font-size:14px; text-overflow:ellipsis; }
.bank-stat small { color:var(--soft); font-size:9px; }
.bank-panel-title { margin-bottom:13px; }
.bank-panel-title > span { display:grid; place-items:center; width:28px; height:28px; color:var(--cyan); border-radius:9px; background:rgba(85,215,255,.1); font-size:17px; }
.bank-panel-title h2 { margin:0; font-size:17px; letter-spacing:-.03em; }
.bank-panel-title small { display:block; margin-top:2px; color:var(--muted); font-size:10px; }
.bank-panel-title > b { margin-left:auto; color:var(--gold); font-size:14px; }
.bank-panel-title > strong { margin-left:auto; color:var(--muted); font-size:10px; }
.bank-form-grid, .bank-field-row { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.bank-mini-form { display:grid; gap:7px; }
.bank-page label { gap:6px; color:#dfe2ff; font-size:10px; }
.bank-page label input { height:43px; padding:0 11px; border-radius:10px; font-size:11px; }
.bank-page .bank-mini-form button, .bank-credit-button { min-height:37px; border-radius:10px; font-size:11px; font-weight:850; }
.bank-deposit-button { color:var(--cyan); background:rgba(85,215,255,.1); border:1px solid rgba(85,215,255,.5); }
.bank-withdraw-button { color:var(--green); background:rgba(99,219,167,.1); border:1px solid rgba(99,219,167,.48); }
.bank-note { display:flex; align-items:center; gap:9px; margin-top:11px; padding:9px 10px; color:var(--muted); border:1px solid rgba(107,159,255,.18); border-radius:11px; background:rgba(107,159,255,.06); }
.bank-note > span { display:grid; place-items:center; width:18px; height:18px; flex:0 0 auto; color:#0f1835; border-radius:50%; background:var(--cyan); font-size:11px; font-weight:900; }
.bank-note p { margin:0; font-size:10px; line-height:1.4; }
.bank-note strong { color:var(--text); }
.bank-transfer-form, .credit-form { display:grid; gap:10px; }
.bank-field-row label { min-width:0; }
.recipient-preview { display:flex; align-items:center; gap:9px; padding:9px 10px; border:1px solid; border-radius:11px; }
.recipient-preview.found { color:var(--green); border-color:rgba(99,219,167,.38); background:rgba(99,219,167,.08); }
.recipient-preview.missing { color:var(--danger); border-color:rgba(255,117,140,.38); background:rgba(255,117,140,.08); }
.recipient-preview > span { font-size:17px; font-weight:900; }
.recipient-preview div { min-width:0; display:grid; gap:2px; }
.recipient-preview strong { overflow:hidden; color:var(--text); font-size:11px; text-overflow:ellipsis; }
.recipient-preview small { overflow:hidden; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.transfer-rule { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; padding:10px; border:1px solid rgba(242,189,69,.25); border-radius:12px; background:rgba(242,189,69,.06); }
.transfer-rule span { width:100%; color:var(--text); font-size:11px; font-weight:850; }
.transfer-rule strong { color:var(--gold); font-size:10px; }
.transfer-rule small { width:100%; color:var(--muted); font-size:9px; }
.credit-active { display:grid; gap:5px; padding:11px 12px; border:1px solid rgba(255,117,140,.28); border-radius:12px; background:rgba(255,117,140,.07); }
.credit-active strong { font-size:12px; }
.credit-active small { color:var(--muted); font-size:10px; }
.bank-credit-button { color:#17162d; background:linear-gradient(135deg,#ffe08a,var(--gold)); border:1px solid var(--gold); }
.bank-transaction-list { display:grid; gap:2px; }
.bank-transaction { display:flex; align-items:center; gap:9px; min-width:0; padding:9px 0; border-top:1px solid rgba(255,255,255,.06); }
.transaction-icon { display:grid; place-items:center; width:29px; height:29px; flex:0 0 auto; border-radius:9px; font-size:16px; font-weight:900; }
.transaction-icon.incoming { color:var(--green); background:rgba(99,219,167,.1); }
.transaction-icon.outgoing { color:var(--danger); background:rgba(255,117,140,.1); }
.bank-transaction > div { min-width:0; display:grid; gap:3px; }
.bank-transaction strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.bank-transaction small { overflow:hidden; color:var(--soft); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.bank-transaction > b { margin-left:auto; font-size:11px; white-space:nowrap; }
.bank-transaction > b.incoming { color:var(--green); }.bank-transaction > b.outgoing { color:var(--danger); }
.bank-empty { padding:13px 0 3px; color:var(--muted); font-size:11px; text-align:center; }
@media (max-width: 380px) { .bank-stat-grid { gap:4px; }.bank-stat { padding-left:5px; padding-right:5px; }.bank-stat strong { font-size:12px; }.bank-field-row { grid-template-columns:1fr; } }

/* Banka sekmeleri ve kredi notu / taksit görünümü. */
.bank-tabs { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; padding:5px; border:1px solid rgba(151,164,255,.2); border-radius:16px; background:rgba(28,32,73,.72); }
.bank-tab { min-width:0; display:grid; justify-items:center; gap:4px; padding:8px 4px; color:var(--muted); border-radius:11px; }
.bank-tab span { font-size:19px; line-height:1; }
.bank-tab small { font-size:9px; font-weight:800; }
.bank-tab.active { color:var(--text); background:linear-gradient(145deg,rgba(75,104,203,.75),rgba(48,58,135,.6)); box-shadow:inset 0 0 0 1px rgba(123,159,255,.62); }
.bank-shortcuts { display:grid; gap:7px; }
.bank-shortcuts a { display:flex; align-items:center; justify-content:space-between; min-height:40px; padding:0 11px; color:#e2e5ff; border:1px solid rgba(151,164,255,.14); border-radius:10px; background:rgba(8,11,38,.28); font-size:11px; font-weight:750; }
.bank-shortcuts a b { color:var(--gold); font-size:17px; }
.credit-score-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.credit-score-head h2 { margin:5px 0 0; font-size:18px; }
.credit-score-head > strong { color:var(--gold); font-size:28px; line-height:1; }
.credit-score-head > strong small { color:var(--muted); font-size:10px; font-weight:600; }
.credit-score-bar { height:9px; overflow:hidden; margin:14px 0 8px; border-radius:9px; background:rgba(8,11,38,.7); }
.credit-score-bar i { display:block; height:100%; min-width:2px; border-radius:inherit; background:linear-gradient(90deg,var(--danger),var(--gold),var(--green)); box-shadow:0 0 13px rgba(242,189,69,.35); }
.credit-score-meta { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.credit-score-meta span { color:var(--gold); font-size:10px; font-weight:850; }
.credit-score-meta small { max-width:230px; color:var(--muted); font-size:9px; line-height:1.4; text-align:right; }
.loan-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:11px; }
.loan-stat-grid > span { display:grid; gap:4px; padding:9px 7px; border:1px solid rgba(151,164,255,.13); border-radius:10px; background:rgba(8,11,38,.28); }
.loan-stat-grid small { color:var(--soft); font-size:8px; }
.loan-stat-grid b { color:#dce5ff; font-size:11px; }
.danger-text { color:var(--danger) !important; }
.next-installment { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px; margin-bottom:11px; border:1px solid rgba(99,219,167,.35); border-radius:12px; background:rgba(99,219,167,.08); }
.next-installment.overdue { border-color:rgba(255,117,140,.48); background:rgba(255,117,140,.08); }
.next-installment > div { min-width:0; display:grid; gap:3px; }
.next-installment strong { font-size:11px; }
.next-installment small { color:var(--muted); font-size:9px; }
.next-installment form { flex:0 0 auto; }
.next-installment .bank-credit-button { min-height:34px; padding:0 10px; }
.loan-schedule { display:grid; gap:2px; }
.loan-row { display:grid; grid-template-columns:1fr auto auto auto; align-items:center; gap:7px; min-height:35px; padding:5px 6px; border-top:1px solid rgba(255,255,255,.06); }
.loan-row span { font-size:9px; font-weight:750; }
.loan-row small { color:var(--soft); font-size:8px; }
.loan-row b { color:#dce5ff; font-size:9px; }
.loan-row em { color:var(--muted); font-size:8px; font-style:normal; text-align:right; }
.loan-row.paid em { color:var(--green); }.loan-row.overdue em { color:var(--danger); }.loan-row.pending em { color:var(--gold); }
.loan-offer { display:grid; grid-template-columns:1fr auto; gap:5px 10px; margin-bottom:11px; padding:10px; border:1px solid rgba(242,189,69,.25); border-radius:12px; background:rgba(242,189,69,.06); }
.loan-offer span { color:var(--muted); font-size:10px; }
.loan-offer strong { color:var(--gold); font-size:11px; text-align:right; }
.loan-offer small { grid-column:1 / -1; color:var(--soft); font-size:9px; }
.bank-page select { width:100%; height:43px; padding:0 11px; color:var(--text); background:rgba(28,32,73,.72); border:1px solid var(--line); border-radius:10px; outline:none; font-size:11px; }
.loan-live-preview, .loan-confirm-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; padding:9px; border:1px solid rgba(85,215,255,.25); border-radius:12px; background:rgba(85,215,255,.06); }
.loan-live-preview span, .loan-confirm-grid span { display:grid; gap:4px; min-width:0; }
.loan-live-preview span { color:var(--muted); font-size:8px; }
.loan-live-preview strong { color:var(--cyan); font-size:12px; }
.credit-confirm-panel { border-color:rgba(99,219,167,.38); }
.credit-confirm-panel .bank-panel-title > span { color:var(--green); background:rgba(99,219,167,.12); }
.loan-confirm-grid { margin-bottom:11px; border-color:rgba(242,189,69,.25); background:rgba(242,189,69,.06); }
.loan-confirm-grid small { color:var(--soft); font-size:8px; }
.loan-confirm-grid b { overflow:hidden; color:#f0f2ff; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.credit-confirm-form { display:grid; gap:8px; }
.credit-confirm-form .bank-credit-button { min-height:43px; }
.cancel-credit-link { color:var(--muted); font-size:10px; text-align:center; }
@media (max-width:380px) { .credit-score-meta { display:grid; gap:5px; }.credit-score-meta small { max-width:none; text-align:left; }.loan-stat-grid { gap:4px; }.loan-row { gap:4px; }.loan-row em { font-size:7px; } }

/* Üretim çıktıları: büyük PNG'leri satır içinde sabit tut ve değerleri hizala. */
.production-card .output-icon { width:35px; height:35px; flex:0 0 35px; overflow:hidden; }
.production-card .output-icon img { width:30px; height:30px; max-width:30px; max-height:30px; object-fit:contain; }
.production-card .output-row > span:nth-child(2) { min-width:0; }
.production-card .output-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.production-card .output-row > b { display:inline-flex; align-items:baseline; gap:3px; margin-left:auto; white-space:nowrap; }
.production-card .factory-recipe img { max-width:23px; max-height:23px; object-fit:contain; }
.production-card .production-actions button { appearance:none; -webkit-appearance:none; }
.production-card .purchase-button { display:flex; align-items:center; justify-content:center; gap:7px; }
.production-card .purchase-button strong { color:var(--text); font-size:11px; font-weight:850; }

/* Envanter yalnızca stok ekranıdır; dört sütunlu kompakt mobil görünüm. */
.inventory-page .inventory-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.inventory-page .inventory-item { padding:11px 5px 10px; border-radius:14px; }
.inventory-page .inventory-icon { height:40px; }
.inventory-page .inventory-icon img { width:36px; height:36px; }
.inventory-page .inventory-item > strong { overflow:hidden; max-width:100%; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.inventory-page .inventory-item > b { margin-top:6px; font-size:13px; }
.inventory-page .inventory-item > b small { font-size:9px; }

/* Oyuncular arası pazar: ilan oluşturma, rezervasyonlu alım ve iptal. */
.market-page .page-title-row { margin-bottom:16px; }
.market-create, .market-listing { border:1px solid var(--line); border-radius:18px; background:rgba(31,35,75,.78); }
.market-create { padding:14px; }
.market-section { margin-top:16px; }
.market-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 2px 9px; }
.market-section-head strong { color:var(--muted); font-size:11px; }
.market-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.market-form select, .market-form input { width:100%; height:43px; min-width:0; padding:0 10px; color:var(--text); background:#171a3d; border:1px solid var(--line); border-radius:11px; outline:none; font-size:11px; }
.market-form select { grid-column:1 / -1; }
.market-form input[name="amount"] { grid-column:1 / -1; }
.market-form select:focus, .market-form input:focus, .market-search input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(107,159,255,.1); }
.market-price-line { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; min-height:43px; padding:0 11px; color:var(--soft); background:rgba(8,10,35,.34); border:1px solid rgba(151,164,255,.13); border-radius:11px; font-size:10px; }
.market-price-line span { display:grid; gap:2px; }
.market-price-line strong { color:var(--gold); font-size:11px; }
.market-form .gold-button { grid-column:1 / -1; width:100%; min-height:43px; }
.market-empty-line { padding:18px 8px; color:var(--soft); font-size:11px; text-align:center; }
.market-search { display:grid; grid-template-columns:1fr 42px; gap:7px; margin:16px 0 8px; }
.market-search input { width:100%; height:42px; min-width:0; padding:0 12px; color:var(--text); background:rgba(31,35,75,.78); border:1px solid var(--line); border-radius:11px; outline:none; font-size:11px; }
.market-search button { color:var(--gold); background:rgba(242,189,69,.1); border:1px solid rgba(242,189,69,.45); border-radius:11px; font-size:20px; }
.market-tabs { margin-bottom:12px; }
.market-tabs .tab-link { padding-left:8px; padding-right:8px; font-size:10px; }
.market-list { display:grid; gap:8px; }
.market-listing { padding:11px; }
.market-listing.own { border-color:rgba(242,189,69,.3); }
.market-item-top { display:flex; align-items:center; gap:9px; min-width:0; }
.market-item-icon { display:grid; place-items:center; width:40px; height:40px; flex:0 0 40px; border:1px solid rgba(85,215,255,.25); border-radius:12px; background:rgba(85,215,255,.08); }
.market-item-icon img { width:31px; height:31px; object-fit:contain; }
.market-item-copy { display:grid; min-width:0; gap:4px; }
.market-item-copy strong { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.market-item-copy small { overflow:hidden; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.market-status { margin-left:auto; padding:5px 7px; color:var(--green); background:rgba(99,219,167,.1); border-radius:7px; font-size:9px; font-weight:800; white-space:nowrap; }
.market-stats { display:grid; grid-template-columns:auto auto 1fr; align-items:end; gap:9px; margin-top:10px; padding-top:9px; border-top:1px solid rgba(255,255,255,.06); }
.market-stats > span { display:grid; gap:3px; }
.market-stats small { color:var(--soft); font-size:8px; }
.market-stats b { color:#a6bdfc; font-size:11px; white-space:nowrap; }
.market-stats form { justify-self:end; }
.market-buy-form { display:flex; gap:5px; }
.market-buy-form input { width:74px; height:34px; min-width:0; padding:0 6px; color:var(--text); background:#171a3d; border:1px solid var(--line); border-radius:8px; font-size:10px; }
.market-buy, .market-cancel { min-height:34px; padding:0 10px; border-radius:8px; font-size:10px; font-weight:850; }
.market-buy { color:#142b31; background:var(--green); border:1px solid rgba(99,219,167,.65); }
.market-cancel { color:var(--gold); background:rgba(242,189,69,.1); border:1px solid rgba(242,189,69,.5); }
@media (max-width: 380px) {
    .inventory-page .inventory-grid { gap:5px; }
    .inventory-page .inventory-item { padding-left:3px; padding-right:3px; }
    .market-stats { gap:6px; }
    .market-buy-form input { width:64px; }
}

/* Elmas ve VIP merkezi: premium mağaza, ödeme kapalıyken bile hazır görünür. */
.resource-chip-link { transition: transform .2s ease, border-color .2s ease, filter .2s ease; }
.resource-chip-link:hover { border-color: rgba(169,108,255,.68); filter:brightness(1.08); transform:translateY(-1px); }
.home-menu-item.premium { border-color:rgba(169,108,255,.62); background:linear-gradient(155deg,rgba(61,43,113,.92),rgba(23,27,62,.92)); }
.premium-gem { display:grid; place-items:center; width:54px; height:54px; color:#e9ddff; background:linear-gradient(145deg,#f7e9ff 5%,#a96cff 45%,#5b36bc 100%); border:2px solid rgba(255,255,255,.58); border-radius:17px; box-shadow:inset 8px 8px 13px rgba(255,255,255,.22), inset -9px -10px 15px rgba(28,10,91,.45), 0 0 22px rgba(169,108,255,.48); font-size:36px; line-height:1; text-shadow:0 3px 5px rgba(39,16,94,.65); transform:rotate(45deg); }
.premium-gem::first-letter { color:#fff; }
.premium-page { padding-top:4px; }
.premium-hero { position:relative; overflow:hidden; min-height:190px; display:grid; grid-template-columns:minmax(0,1fr) 120px; align-items:center; gap:8px; padding:21px 18px 17px; border:1px solid rgba(169,108,255,.45); border-radius:23px; background:radial-gradient(circle at 84% 36%,rgba(169,108,255,.38),transparent 34%),linear-gradient(145deg,rgba(49,38,106,.96),rgba(21,25,62,.96)); box-shadow:0 18px 40px rgba(27,12,78,.28); }
.premium-hero::after { content:""; position:absolute; width:180px; height:180px; right:-78px; bottom:-102px; border:1px solid rgba(242,189,69,.32); border-radius:50%; box-shadow:0 0 0 20px rgba(242,189,69,.05),0 0 0 41px rgba(242,189,69,.04); }
.premium-hero-copy { position:relative; z-index:1; }
.premium-hero-copy h1 { margin:8px 0 7px; font-size:29px; letter-spacing:-.055em; }
.premium-hero-copy p { max-width:250px; margin:0; color:var(--muted); font-size:11px; line-height:1.55; }
.premium-orb { position:relative; z-index:1; display:grid; place-items:center; width:112px; height:112px; color:#f8eaff; border:1px solid rgba(225,199,255,.5); border-radius:50%; background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.45),rgba(169,108,255,.32) 25%,rgba(62,34,137,.7) 72%); box-shadow:inset 7px 7px 16px rgba(255,255,255,.18),inset -12px -13px 21px rgba(21,6,76,.5),0 0 32px rgba(169,108,255,.38); }
.premium-orb > span { font-size:49px; line-height:1; text-shadow:0 5px 10px rgba(31,8,78,.6); transform:rotate(45deg); }
.premium-orb i, .premium-orb b { position:absolute; display:block; border:1px solid rgba(242,189,69,.65); border-radius:50%; transform:rotate(-25deg); }
.premium-orb i { inset:-10px 9px; }
.premium-orb b { width:7px; height:7px; right:-2px; top:12px; border:0; background:var(--gold); box-shadow:0 0 13px var(--gold); }
.diamond-balance { position:relative; z-index:1; grid-column:1 / -1; display:flex; align-items:center; gap:9px; margin-top:2px; padding-top:12px; border-top:1px solid rgba(255,255,255,.1); }
.diamond-balance > span { font-size:25px; filter:drop-shadow(0 0 8px rgba(169,108,255,.7)); }
.diamond-balance div { display:grid; gap:2px; }
.diamond-balance strong { color:#f7eaff; font-size:18px; line-height:1; }
.diamond-balance small { color:#b6a7df; font-size:9px; }
.vip-section, .diamond-store { margin-top:16px; padding:15px 13px 14px; border:1px solid var(--line); border-radius:20px; background:rgba(31,35,75,.72); }
.diamond-store { border-color:rgba(242,189,69,.25); }
.premium-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.premium-section-head h2 { margin:6px 0 0; font-size:21px; letter-spacing:-.045em; }
.vip-mark { display:grid; place-items:center; width:36px; height:36px; color:#f1ddff; border:1px solid rgba(169,108,255,.58); border-radius:12px; background:rgba(169,108,255,.16); font-size:24px; }
.premium-note { margin:10px 0 12px; color:var(--muted); font-size:10px; line-height:1.5; }
.premium-tabs { margin:0 -4px 12px; }
.premium-tabs .tab-link { flex:1 0 auto; justify-content:center; padding:0 7px; font-size:10px; }
.premium-tabs .tab-link b { color:var(--green); background:rgba(99,219,167,.11); }
.vip-active { display:flex; align-items:center; gap:9px; margin-bottom:11px; padding:9px 10px; border:1px solid rgba(99,219,167,.4); border-radius:13px; background:rgba(45,115,91,.16); }
.vip-active-icon { display:grid; place-items:center; width:24px; height:24px; flex:0 0 auto; color:#102d2c; border-radius:50%; background:var(--green); font-size:13px; font-weight:900; }
.vip-active div { min-width:0; display:grid; gap:3px; }
.vip-active strong { font-size:10px; }
.vip-active small { overflow:hidden; color:#a6ddc5; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.vip-active > b { margin-left:auto; color:var(--green); font-size:9px; }
.vip-plan-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.vip-plan { min-width:0; display:grid; align-content:start; gap:8px; padding:11px 10px 10px; border:1px solid rgba(151,164,255,.17); border-radius:14px; background:linear-gradient(155deg,rgba(43,47,95,.82),rgba(22,25,58,.82)); }
.vip-plan.featured { border-color:rgba(242,189,69,.65); background:linear-gradient(155deg,rgba(77,61,100,.85),rgba(29,28,65,.9)); }
.vip-plan-top { display:flex; align-items:center; justify-content:space-between; gap:5px; min-height:17px; }
.vip-duration { color:#d9d4ff; font-size:12px; font-weight:900; }
.vip-popular { padding:3px 5px; color:#20192c; border-radius:6px; background:var(--gold); font-size:7px; font-weight:900; white-space:nowrap; }
.vip-plan-name { color:var(--muted); font-size:9px; font-weight:700; }
.vip-plan-price { display:flex; align-items:baseline; gap:5px; margin:1px 0 2px; }
.vip-plan-price span { font-size:16px; }
.vip-plan-price b { color:#f1e7ff; font-size:17px; }
.vip-plan-price small { color:var(--soft); font-size:8px; }
.vip-plan form { margin-top:auto; }
.vip-buy-button { width:100%; min-height:35px; padding:0 6px; color:#1c1630; background:linear-gradient(135deg,#f7d984,var(--gold)); border:1px solid rgba(255,231,159,.5); border-radius:9px; font-size:9px; font-weight:900; }
.vip-buy-button span { margin-left:3px; font-size:14px; }
.offline-badge { padding:6px 8px; color:var(--gold); border:1px solid rgba(242,189,69,.35); border-radius:8px; background:rgba(242,189,69,.1); font-size:8px; font-weight:900; text-transform:uppercase; }
.diamond-package-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.diamond-package { min-width:0; display:grid; grid-template-columns:43px minmax(0,1fr); align-items:center; gap:7px; padding:8px 8px; border:1px solid rgba(169,108,255,.2); border-radius:13px; background:rgba(24,27,63,.75); }
.package-image { display:grid; place-items:center; width:43px; height:43px; overflow:hidden; }
.package-image img { width:100%; height:100%; object-fit:contain; display:block; filter:drop-shadow(0 4px 7px rgba(42,11,102,.42)); }
.package-gem { display:grid; place-items:center; width:32px; height:32px; color:#eadcff; border:1px solid rgba(205,177,255,.4); border-radius:10px; background:linear-gradient(145deg,#b78aff,#5833b9); font-size:19px; transform:rotate(45deg); box-shadow:0 0 13px rgba(169,108,255,.25); }
.diamond-package > div { min-width:0; display:grid; gap:2px; }
.diamond-package strong { color:#eee6ff; font-size:15px; line-height:1; }
.diamond-package small { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.diamond-package em { color:var(--green); font-size:8px; font-style:normal; font-weight:800; }
.diamond-package button { grid-column:1 / -1; width:100%; min-height:29px; margin-top:4px; color:var(--soft); background:rgba(255,255,255,.05); border:1px solid rgba(151,164,255,.15); border-radius:8px; font-size:9px; font-weight:800; cursor:not-allowed; }
@media (max-width:380px) { .premium-hero { grid-template-columns:minmax(0,1fr) 95px; padding-left:14px; padding-right:14px; }.premium-orb { width:90px; height:90px; }.premium-orb > span { font-size:39px; }.vip-plan, .diamond-package { padding-left:7px; padding-right:7px; }.vip-duration { font-size:11px; }.vip-popular { font-size:6px; } }

/* Premium sayfası: dört ayrı, sadece ikonlu hızlı sekme. */
.premium-main-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin:0 0 12px; }
.premium-main-tab { min-width:0; display:grid; grid-template-columns:31px minmax(0,1fr); grid-template-rows:auto auto; align-items:center; column-gap:8px; padding:11px 10px; color:var(--muted); border:1px solid rgba(151,164,255,.2); border-radius:15px; background:rgba(31,35,75,.7); }
.premium-main-tab > span { grid-row:1 / 3; display:grid; place-items:center; width:29px; height:29px; color:#eee3ff; border:1px solid rgba(196,166,255,.45); border-radius:9px; background:linear-gradient(145deg,#b78aff,#5733b7); font-size:17px; }
.premium-main-tab strong { overflow:hidden; color:var(--text); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.premium-main-tab small { overflow:hidden; margin-top:3px; color:var(--soft); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.premium-main-tab.active { border-color:rgba(169,108,255,.72); background:linear-gradient(145deg,rgba(65,46,124,.9),rgba(29,30,70,.9)); box-shadow:0 0 0 2px rgba(169,108,255,.08); }
.premium-main-tab.active > span { border-color:rgba(242,189,69,.65); box-shadow:0 0 14px rgba(169,108,255,.35); }
.premium-main-tab.premium-icon-tab { grid-template-columns:1fr; grid-template-rows:1fr; min-height:68px; place-items:center; padding:6px; }
.premium-main-tab.premium-icon-tab img { width:55px; height:55px; object-fit:contain; display:block; filter:drop-shadow(0 5px 9px rgba(32,8,86,.42)); }
.premium-tab-glyph { display:grid; place-items:center; width:45px; height:45px; color:#f2eaff; border:1px solid rgba(207,179,255,.5); border-radius:14px; background:linear-gradient(145deg,#b78aff,#5733b7); box-shadow:0 0 18px rgba(169,108,255,.3); font-size:31px; line-height:1; }
.premium-main-tab.active .premium-tab-glyph { color:#fff2bf; border-color:rgba(242,189,69,.7); box-shadow:0 0 18px rgba(169,108,255,.42); }
.premium-category-tabs { margin:3px 0 12px; }
.premium-category-tabs .tab-link { flex:1 1 0; justify-content:center; padding-left:5px; padding-right:5px; font-size:9px; }
.exchange-section { padding:15px 13px 14px; border:1px solid rgba(85,215,255,.25); border-radius:20px; background:linear-gradient(145deg,rgba(31,47,88,.78),rgba(24,27,63,.78)); }
.exchange-intro { display:flex; align-items:center; gap:10px; padding-bottom:12px; border-bottom:1px solid rgba(151,164,255,.14); }
.exchange-image { display:grid; place-items:center; width:68px; height:68px; flex:0 0 auto; overflow:hidden; border:1px solid rgba(85,215,255,.28); border-radius:17px; background:rgba(8,10,35,.28); }
.exchange-image img { width:65px; height:65px; object-fit:contain; display:block; filter:drop-shadow(0 5px 7px rgba(0,0,0,.3)); }
.exchange-intro h2 { margin:6px 0 4px; font-size:19px; letter-spacing:-.045em; }
.exchange-intro p { margin:0; color:var(--muted); font-size:9px; line-height:1.45; }
.exchange-rate-grid { display:grid; gap:8px; margin-top:12px; }
.exchange-rate { display:grid; grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) auto; align-items:center; gap:6px; padding:10px 9px; border:1px solid rgba(151,164,255,.16); border-radius:13px; background:rgba(12,15,48,.4); }
.exchange-rate > div { display:grid; gap:3px; min-width:0; }
.exchange-rate > div:nth-of-type(2) { text-align:right; }
.exchange-rate strong { overflow:hidden; color:#eff3ff; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.exchange-rate small { color:var(--soft); font-size:8px; }
.exchange-rate > div:nth-of-type(2) strong { color:var(--green); }
.exchange-arrow { color:var(--gold); font-size:19px; text-align:center; }
.exchange-button { min-height:32px; padding:0 9px; color:#172c2c; background:var(--green); border:1px solid rgba(99,219,167,.6); border-radius:8px; font-size:9px; font-weight:900; }
.material-shop { margin-top:16px; padding:15px 13px 14px; border:1px solid rgba(242,189,69,.25); border-radius:20px; background:rgba(31,35,75,.72); }
.cash-mark { display:grid; place-items:center; width:36px; height:36px; color:var(--green); border:1px solid rgba(99,219,167,.42); border-radius:12px; background:rgba(99,219,167,.1); font-size:23px; font-weight:900; }
.material-shop-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.material-shop-item { min-width:0; display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; gap:7px; padding:9px 7px; border:1px solid rgba(151,164,255,.16); border-radius:12px; background:rgba(24,27,63,.72); }
.material-image { display:grid; place-items:center; width:34px; height:34px; overflow:hidden; border:1px solid rgba(85,215,255,.22); border-radius:9px; background:rgba(85,215,255,.07); }
.material-image img { width:28px; height:28px; object-fit:contain; display:block; }
.material-shop-item > div { min-width:0; display:grid; gap:3px; }
.material-shop-item strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.material-shop-item small { color:var(--muted); font-size:8px; }
.material-shop-item form { grid-column:1 / -1; }
.material-buy-button { width:100%; min-height:32px; display:flex; align-items:center; justify-content:space-between; gap:5px; padding:0 8px; color:var(--gold); background:rgba(242,189,69,.09); border:1px solid rgba(242,189,69,.42); border-radius:8px; font-size:9px; font-weight:900; }
.material-buy-button small { color:var(--gold); font-size:8px; }
.material-package-grid { display:grid; gap:10px; }
.material-package { min-width:0; padding:12px; border:1px solid rgba(169,108,255,.28); border-radius:17px; background:linear-gradient(150deg,rgba(42,39,91,.86),rgba(22,25,58,.9)); box-shadow:0 10px 24px rgba(0,0,0,.12); }
.material-package-head { display:flex; align-items:center; gap:10px; padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,.08); }
.material-package-image { display:grid; place-items:center; width:52px; height:52px; flex:0 0 52px; overflow:hidden; border:1px solid rgba(242,189,69,.42); border-radius:14px; background:rgba(169,108,255,.12); }
.material-package-image img { width:48px; height:48px; object-fit:contain; display:block; filter:drop-shadow(0 4px 7px rgba(32,8,86,.42)); }
.material-package-head > div { min-width:0; display:grid; gap:4px; }
.material-package-head strong { color:#f5edff; font-size:13px; line-height:1.15; }
.material-package-head small { color:var(--muted); font-size:9px; line-height:1.35; }
.material-package-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:10px 0; }
.material-package-item { min-width:0; display:flex; align-items:center; gap:6px; padding:6px 5px; border:1px solid rgba(151,164,255,.13); border-radius:10px; background:rgba(8,10,35,.25); }
.material-package-item .material-image { width:30px; height:30px; flex:0 0 30px; border-radius:8px; }
.material-package-item .material-image img { width:25px; height:25px; }
.material-package-item > div { min-width:0; display:grid; gap:2px; }
.material-package-item strong { overflow:hidden; color:#e8e9ff; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.material-package-item small { color:#9fb4f7; font-size:8px; white-space:nowrap; }
.material-package-buy { width:100%; min-height:39px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 11px; color:#1e1930; background:linear-gradient(135deg,#f7d984,var(--gold)); border:1px solid rgba(255,231,159,.62); border-radius:10px; font-size:10px; font-weight:900; }
.material-package-buy span { font-size:14px; }
.material-package-buy small { color:#3a2d13; font-size:9px; font-weight:900; }
.premium-section-first { margin-top:0; }
.diamond-package-buy { display:grid; grid-template-columns:1fr; align-content:center; gap:2px; }
.diamond-package-buy strong { color:var(--gold); font-size:11px; line-height:1; }
.diamond-package-buy small { color:var(--soft); font-size:7px; }

/* Ana sayfa: yalnızca dört görsel menü, mobil/tablet için tek satır. */
.home-page { padding-top:18px; }
.home-menu { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.home-menu-item { min-width:0; display:grid; justify-items:center; align-content:center; gap:8px; min-height:122px; padding:10px 4px 12px; color:var(--text); border:1px solid var(--line); border-radius:18px; background:linear-gradient(155deg,rgba(43,48,98,.9),rgba(23,27,62,.9)); box-shadow:0 10px 25px rgba(0,0,0,.14); text-align:center; transition:transform .2s ease, border-color .2s ease, filter .2s ease; }
.home-menu-item:not([aria-disabled="true"]):active { transform:scale(.97); filter:brightness(1.08); }
.home-menu-item.production { border-color:rgba(107,159,255,.55); }
.home-menu-item.inventory { border-color:rgba(85,215,255,.42); }
.home-menu-item.market { border-color:rgba(242,189,69,.52); }
.home-menu-item.statistics { border-color:rgba(169,108,255,.38); opacity:.7; }
.home-menu-item.farm { border-color:rgba(99,219,167,.48); background:linear-gradient(155deg,rgba(31,79,82,.92),rgba(23,27,62,.92)); }
.home-menu-item.farm .home-menu-icon { background:radial-gradient(circle,rgba(99,219,167,.2),transparent 68%); }
.home-menu-item.jobs { border-color:rgba(85,215,255,.48); background:linear-gradient(155deg,rgba(25,65,91,.92),rgba(23,27,62,.92)); }
.home-menu-item.jobs .home-menu-icon { background:radial-gradient(circle,rgba(85,215,255,.2),transparent 68%); }
.home-menu-item.tax { border-color:rgba(242,189,69,.5); background:linear-gradient(155deg,rgba(75,57,37,.92),rgba(23,27,62,.92)); }
.home-menu-item.tax .home-menu-icon { background:radial-gradient(circle,rgba(242,189,69,.2),transparent 68%); }
.home-menu-item.jobs .home-menu-icon img, .home-menu-item.tax .home-menu-icon img { animation:home-menu-visual-float 3.4s ease-in-out infinite; }
@keyframes home-menu-visual-float { 0%,100% { transform:translateY(0) scale(1); } 50% { transform:translateY(-3px) scale(1.025); } }
.home-menu-icon { display:grid; place-items:center; width:68px; height:68px; overflow:hidden; border-radius:20px; background:radial-gradient(circle,rgba(85,215,255,.18),transparent 68%); }
.home-menu-item.market .home-menu-icon { background:radial-gradient(circle,rgba(242,189,69,.18),transparent 68%); }
.home-menu-item.statistics .home-menu-icon { background:radial-gradient(circle,rgba(169,108,255,.18),transparent 68%); }
.home-menu-icon img { width:66px; height:66px; object-fit:contain; filter:drop-shadow(0 8px 10px rgba(0,0,0,.32)); }
.home-menu-item strong { overflow:hidden; max-width:100%; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }

/* İşler ve Vergi Dairesi */
.jobs-page, .tax-page { display:grid; gap:11px; padding-top:4px; }
.jobs-hero, .tax-hero, .energy-panel, .career-panel, .job-tasks-panel, .jobs-section, .tax-summary, .tax-payment-panel, .tax-history { min-width:0; padding:14px; border:1px solid var(--line); border-radius:19px; background:linear-gradient(155deg,rgba(31,39,82,.95),rgba(19,23,57,.94)); box-shadow:0 12px 28px rgba(0,0,0,.14); }
.jobs-hero, .tax-hero { display:flex; align-items:center; justify-content:space-between; gap:12px; background:radial-gradient(circle at 100% 0%,rgba(85,215,255,.16),transparent 42%),linear-gradient(155deg,rgba(25,65,91,.95),rgba(19,23,57,.94)); }
.tax-hero { background:radial-gradient(circle at 100% 0%,rgba(242,189,69,.16),transparent 42%),linear-gradient(155deg,rgba(73,56,38,.95),rgba(19,23,57,.94)); }
.jobs-hero h1, .tax-hero h1 { margin:3px 0 4px; font-size:25px; letter-spacing:-.06em; }
.jobs-hero p, .tax-hero p { max-width:255px; margin:0; color:var(--muted); font-size:10px; line-height:1.45; }
.jobs-hero-icon, .tax-hero-icon { display:grid; place-items:center; width:64px; height:64px; flex:0 0 64px; border:1px solid rgba(85,215,255,.42); border-radius:18px; background:rgba(85,215,255,.11); color:#8ce5ff; font-size:27px; box-shadow:0 8px 18px rgba(0,0,0,.2); }
.tax-hero-icon { border-color:rgba(242,189,69,.45); background:rgba(242,189,69,.12); color:var(--gold); }
.tax-hero-icon img { width:58px; height:58px; display:block; object-fit:contain; }
.energy-panel { border-color:rgba(85,215,255,.32); background:linear-gradient(145deg,rgba(20,62,82,.75),rgba(19,23,57,.94)); }
.energy-panel-head, .energy-panel-foot, .jobs-section-head, .career-panel-head, .career-exp-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.energy-panel h2, .career-panel h2, .tax-payment-panel h2, .jobs-section h2, .tax-history h2 { margin:3px 0 0; font-size:16px; letter-spacing:-.035em; }
.energy-timer { padding:6px 8px; color:var(--cyan); border:1px solid rgba(85,215,255,.26); border-radius:10px; font-size:9px; font-weight:850; white-space:nowrap; }
.energy-progress, .career-exp-bar { height:8px; margin:13px 0 9px; overflow:hidden; border-radius:8px; background:rgba(6,10,32,.72); }
.energy-progress i, .career-exp-bar i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#4cc9f0,#75e3ae); box-shadow:0 0 14px rgba(85,215,255,.42); }
.energy-panel-foot small, .jobs-section-head small, .tax-payment-panel p, .career-panel p { color:var(--muted); font-size:9px; line-height:1.4; }
.energy-refill-window { max-width:190px; }
.energy-refill-button, .career-upgrade-button, .job-start-button, .job-collect-button, .tax-pay-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:34px; padding:0 11px; color:#15172d; border:1px solid rgba(255,232,158,.65); border-radius:10px; background:linear-gradient(135deg,#ffe183,#d7a933); font-size:9px; font-weight:900; }
.energy-refill-button { color:#10231d; border-color:rgba(178,244,200,.55); background:linear-gradient(135deg,#8ce5aa,#4fc36e); }
.energy-refill-button:disabled { opacity:.42; filter:saturate(.3); cursor:not-allowed; }
.energy-page { display:grid; gap:11px; padding-top:4px; }
.energy-info-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; padding:1px; border:1px solid rgba(85,215,255,.2); border-radius:15px; background:rgba(85,215,255,.16); overflow:hidden; }
.energy-info-grid > div { min-width:0; display:grid; gap:5px; padding:12px 7px; background:rgba(21,25,59,.95); text-align:center; }
.energy-info-grid strong { color:var(--cyan); font-size:13px; }
.energy-info-grid small { color:var(--muted); font-size:8px; line-height:1.25; }
.jobs-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:4px; border:1px solid rgba(151,164,255,.2); border-radius:14px; background:rgba(19,23,57,.85); }
.jobs-tabs a { min-height:34px; display:grid; place-items:center; color:var(--muted); border-radius:10px; font-size:10px; font-weight:850; }
.jobs-tabs a.active { color:#fff; background:linear-gradient(135deg,rgba(73,119,229,.8),rgba(101,75,205,.85)); box-shadow:0 5px 15px rgba(55,76,180,.26); }
.jobs-section-head { align-items:flex-end; margin-bottom:10px; }
.jobs-section-head > div { min-width:0; }
.jobs-section-head > a { color:var(--cyan); font-size:9px; font-weight:850; white-space:nowrap; }
.jobs-section-title { min-width:0; display:flex; align-items:center; gap:8px; }
.jobs-section-visual { display:grid; place-items:center; width:46px; height:46px; flex:0 0 46px; overflow:hidden; border:1px solid rgba(85,215,255,.38); border-radius:14px; background:rgba(85,215,255,.1); box-shadow:0 7px 16px rgba(0,0,0,.2); }
.jobs-section-visual img { width:43px; height:43px; display:block; object-fit:contain; }
.job-task-actions { display:flex; align-items:center; justify-content:flex-end; gap:7px; flex-wrap:wrap; }
.job-task-actions > a { color:var(--cyan); font-size:9px; font-weight:850; white-space:nowrap; }
.job-task-actions form { margin:0; }
.job-bulk-collect { min-height:29px; padding:0 9px; }
.job-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.job-card { min-width:0; display:grid; gap:8px; padding:10px; border:1px solid rgba(151,164,255,.17); border-radius:14px; background:rgba(8,11,39,.3); }
.job-card-top { display:flex; align-items:center; justify-content:space-between; gap:6px; }
.job-icon, .job-task-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:rgba(85,215,255,.12); font-size:18px; }
.job-level { color:var(--cyan); font-size:8px; font-weight:850; white-space:nowrap; }
.job-card h3 { min-height:27px; margin:0; color:#fff; font-size:11px; line-height:1.2; }
.job-card p { min-height:29px; margin:0; color:var(--muted); font-size:8px; line-height:1.35; }
.job-card.locked { border-color:rgba(242,189,69,.3); background:linear-gradient(150deg,rgba(55,48,72,.45),rgba(8,11,39,.3)); }
.job-card.locked .job-icon { filter:saturate(.55); opacity:.8; }
.job-live-status { display:flex; align-items:center; gap:6px; min-width:0; padding:7px 8px; border:1px solid rgba(242,189,69,.28); border-radius:9px; background:rgba(242,189,69,.08); color:var(--gold); font-size:8px; line-height:1.2; }
.job-live-status span { font-size:13px; line-height:1; }
.job-live-status strong { overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.job-live-status time { color:#fff0b1; font-variant-numeric:tabular-nums; }
.job-live-status.ready { color:var(--green); border-color:rgba(99,219,167,.28); background:rgba(99,219,167,.09); }
.job-live-status.ready strong { color:#bdf5d7; }
.job-metrics, .job-reward { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
.job-metrics span, .job-reward span { min-width:0; display:grid; gap:3px; padding:6px; border-radius:8px; background:rgba(28,34,78,.7); }
.job-metrics b { color:#dff4ff; font-size:9px; }
.job-metrics small, .job-reward small { color:var(--muted); font-size:7px; }
.job-reward { padding-top:7px; border-top:1px solid rgba(151,164,255,.12); }
.job-reward strong { color:var(--green); font-size:9px; }
.job-reward .job-tax strong { color:#ff9eaf; }
.job-reward .job-net strong { color:var(--green); }
.market-tax-note { grid-column:1 / -1; color:var(--muted); font-size:8px; line-height:1.35; }
.job-start-button { width:100%; min-height:32px; color:#10231d; border-color:rgba(178,244,200,.56); background:linear-gradient(135deg,#8ce5aa,#4fc36e); }
.job-start-button:disabled, .career-upgrade-button:disabled, .tax-pay-button:disabled { opacity:.42; filter:saturate(.3); cursor:not-allowed; }
.job-task-list, .tax-history-list { display:grid; gap:6px; }
.job-task-row, .tax-history-row { min-width:0; display:flex; align-items:center; gap:8px; padding:8px; border:1px solid rgba(151,164,255,.15); border-radius:12px; background:rgba(8,11,39,.3); }
.job-task-row > div, .tax-history-row > div { min-width:0; flex:1; display:grid; gap:3px; }
.job-task-row strong, .tax-history-row strong { overflow:hidden; color:#fff; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.job-task-row small, .tax-history-row small { color:var(--muted); font-size:8px; line-height:1.3; }
.job-task-reward, .tax-history-row b { color:var(--green); font-size:9px; white-space:nowrap; }
.job-task-complete { color:var(--green); font-size:17px; }
.job-collect-button { min-height:29px; padding:0 9px; color:#281e0b; }
.career-panel-head > div { min-width:0; }
.career-level-badge { display:grid; place-items:center; width:43px; height:43px; flex:0 0 43px; color:#fff; border:1px solid rgba(242,189,69,.48); border-radius:14px; background:rgba(242,189,69,.13); font-size:11px; font-weight:900; }
.career-exp-meta { color:var(--cyan); font-size:9px; font-weight:850; }
.career-exp-meta strong { color:var(--muted); font-size:8px; }
.career-exp-bar i { background:linear-gradient(90deg,#f2bd45,#82e5a5); box-shadow:0 0 14px rgba(242,189,69,.4); }
.career-upgrade-row { display:flex; align-items:center; justify-content:space-between; gap:9px; color:var(--muted); font-size:9px; }
.career-upgrade-row b { color:var(--gold); }
.career-upgrade-button { color:#1e1930; }
.career-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.career-info-grid > div { display:grid; gap:3px; padding:11px; border:1px solid rgba(151,164,255,.16); border-radius:13px; background:rgba(31,39,82,.7); }
.career-info-grid span { color:var(--gold); font-size:17px; }
.career-info-grid strong { font-size:10px; }
.career-info-grid small { color:var(--muted); font-size:8px; }
.career-page { display:grid; gap:10px; padding-top:4px; }
.career-overview { overflow:hidden; padding:16px; border-color:rgba(242,189,69,.3); background:radial-gradient(circle at 100% 0,rgba(242,189,69,.15),transparent 38%),linear-gradient(150deg,rgba(39,45,94,.97),rgba(19,23,57,.96)); }
.career-overview-head { display:flex; align-items:center; gap:13px; }
.career-overview-copy { min-width:0; flex:1; }
.career-overview-copy h1 { margin:4px 0 5px; font-size:23px; letter-spacing:-.06em; }
.career-overview-copy p { margin:0; color:var(--muted); font-size:9px; line-height:1.5; }
.career-level-orbit { position:relative; display:grid; place-items:center; align-content:center; width:94px; height:94px; flex:0 0 94px; overflow:hidden; border:1px solid rgba(242,189,69,.7); border-radius:50%; background:radial-gradient(circle,rgba(242,189,69,.27),rgba(37,42,88,.88) 62%); box-shadow:0 0 0 6px rgba(242,189,69,.06),0 10px 24px rgba(0,0,0,.2); text-align:center; }
.career-level-orbit::before { content:""; position:absolute; inset:8px; border:1px solid rgba(242,189,69,.26); border-radius:50%; }
.career-level-orbit span, .career-level-orbit strong, .career-level-orbit small { position:relative; z-index:1; }
.career-level-orbit span { color:var(--gold); font-size:7px; font-weight:900; letter-spacing:.11em; }
.career-level-orbit strong { margin:3px 0; color:#fff; font-size:25px; line-height:1; letter-spacing:-.07em; }
.career-level-orbit small { color:var(--muted); font-size:7px; }
.career-progress-block { margin-top:17px; padding-top:13px; border-top:1px solid rgba(255,255,255,.09); }
.career-progress-label, .career-progress-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--muted); font-size:9px; }
.career-progress-label strong { color:var(--text); font-size:11px; }
.career-progress-label strong small { color:var(--soft); font-size:8px; font-weight:700; }
.career-progress-foot { color:var(--soft); font-size:8px; }
.career-progress-foot b { color:var(--gold); font-size:9px; }
.career-overview .career-exp-bar { height:10px; margin:9px 0 7px; background:rgba(6,10,32,.72); }
.career-overview .career-exp-bar i { min-width:0; background:linear-gradient(90deg,#e5a927,#ffe285 48%,#7be0a3); }
.career-stats-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.career-stats-grid > div { min-width:0; display:grid; justify-items:center; gap:4px; padding:11px 5px 10px; border:1px solid rgba(151,164,255,.18); border-radius:14px; background:linear-gradient(150deg,rgba(36,42,87,.92),rgba(20,24,57,.92)); text-align:center; }
.career-stat-icon { display:grid; place-items:center; width:27px; height:27px; border-radius:9px; background:rgba(242,189,69,.12); font-size:14px; }
.career-stats-grid strong { overflow:hidden; max-width:100%; color:#fff; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.career-stats-grid small { color:var(--muted); font-size:7px; line-height:1.2; }
.career-upgrade-card { display:grid; gap:12px; padding:15px; border:1px solid rgba(99,219,167,.25); border-radius:18px; background:linear-gradient(145deg,rgba(31,79,75,.54),rgba(19,23,57,.94)); }
.career-upgrade-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.career-upgrade-heading h2 { margin:4px 0 0; font-size:15px; letter-spacing:-.04em; }
.career-next-level { display:grid; place-items:center; min-width:44px; height:34px; padding:0 8px; color:var(--green); border:1px solid rgba(99,219,167,.4); border-radius:11px; background:rgba(99,219,167,.1); font-size:9px; font-weight:900; }
.career-upgrade-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.career-upgrade-details > div { min-width:0; display:grid; gap:4px; padding:9px 7px; border-radius:10px; background:rgba(8,11,39,.32); }
.career-upgrade-details small { color:var(--muted); font-size:7px; line-height:1.2; }
.career-upgrade-details strong { overflow:hidden; color:var(--gold); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.career-upgrade-wide { width:100%; min-height:40px; }
.career-upgrade-button:disabled { color:#b4b6c9; border-color:rgba(151,164,255,.2); background:rgba(255,255,255,.07); }
.career-roadmap { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; padding:2px 0 8px; }
.career-roadmap > div { min-width:0; display:grid; gap:5px; padding:10px 8px; border-left:2px solid rgba(85,215,255,.5); background:rgba(31,39,82,.48); }
.career-roadmap span { color:var(--cyan); font-size:8px; font-weight:900; }
.career-roadmap strong { font-size:9px; line-height:1.15; }
.career-roadmap small { color:var(--muted); font-size:7px; line-height:1.35; }
.tax-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; padding:1px; background:rgba(151,164,255,.18); }
.tax-summary > div { min-width:0; display:grid; gap:5px; padding:11px 8px; background:rgba(21,25,59,.95); text-align:center; }
.tax-summary small { color:var(--muted); font-size:8px; }
.tax-summary strong { overflow:hidden; color:#fff; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.tax-summary > div:first-child strong { color:var(--gold); }
.tax-payment-panel { display:grid; gap:11px; border-color:rgba(242,189,69,.3); background:linear-gradient(145deg,rgba(72,55,35,.55),rgba(19,23,57,.94)); }
.tax-payment-panel > div { min-width:0; }
.tax-payment-panel p { margin:4px 0 0; }
.tax-pay-button { width:100%; }
.tax-history .jobs-section-head > span { color:var(--gold); font-size:9px; font-weight:850; }
.tax-history-row > span { display:grid; justify-items:end; gap:3px; }
.tax-history-row > span small { color:var(--muted); font-size:8px; }
.tax-history-row.overdue { border-color:rgba(255,100,119,.35); }
.tax-history-row.overdue b { color:var(--danger); }
.tax-history-row.paid { border-color:rgba(99,219,167,.25); }
.tax-history-row.paid b { color:var(--green); }
.tax-empty { padding:24px 10px; color:var(--muted); text-align:center; font-size:10px; }
@media (max-width:380px) {
    .jobs-hero, .tax-hero, .energy-panel, .career-panel, .job-tasks-panel, .jobs-section, .tax-summary, .tax-payment-panel, .tax-history { padding:11px; border-radius:16px; }
    .jobs-hero h1, .tax-hero h1 { font-size:21px; }
    .job-grid { gap:6px; }
    .job-card { padding:8px; gap:6px; }
    .job-card h3 { font-size:10px; }
    .job-card p { font-size:7px; }
    .job-icon { width:28px; height:28px; font-size:15px; }
    .job-start-button { font-size:8px; }
    .career-overview { padding:12px; }
    .career-level-orbit { width:82px; height:82px; flex-basis:82px; }
    .career-level-orbit strong { font-size:22px; }
    .career-overview-copy h1 { font-size:20px; }
    .career-upgrade-card { padding:12px; }
    .career-roadmap { gap:5px; }
    .career-roadmap > div { padding:8px 6px; }
}
@media (max-width:380px) {
    .home-menu { gap:5px; }
    .home-menu-item { min-height:105px; border-radius:14px; gap:5px; padding:7px 2px 9px; }
    .home-menu-icon { width:54px; height:54px; border-radius:15px; }
    .home-menu-icon img { width:53px; height:53px; }
    .home-menu-item strong { font-size:9px; }
}

/* Çiftlik merkezi: seviye ve gelecekteki yerleşim alanları. */
.farm-page { display:grid; gap:13px; }
.farm-hero, .farm-section { min-width:0; padding:15px; border:1px solid var(--line); border-radius:21px; background:linear-gradient(155deg,rgba(32,39,82,.94),rgba(23,27,62,.9)); box-shadow:0 12px 30px rgba(0,0,0,.14); }
.farm-hero { background:radial-gradient(circle at 100% 0%,rgba(99,219,167,.13),transparent 38%),linear-gradient(155deg,rgba(34,59,81,.96),rgba(23,27,62,.93)); }
.farm-hero-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding-bottom:14px; border-bottom:1px solid rgba(151,164,255,.14); }
.farm-heading { min-width:0; display:flex; align-items:center; gap:11px; }
.farm-heading > div { min-width:0; }
.farm-heading h1 { margin:3px 0 4px; font-size:24px; letter-spacing:-.055em; }
.farm-heading p { max-width:240px; margin:0; color:var(--muted); font-size:10px; line-height:1.45; }
.farm-main-icon { display:grid; place-items:center; width:53px; height:53px; flex:0 0 53px; overflow:hidden; border:1px solid rgba(99,219,167,.48); border-radius:16px; background:rgba(99,219,167,.08); }
.farm-main-icon img { width:48px; height:48px; object-fit:contain; }
.farm-level-badge { display:inline-flex; align-items:center; gap:5px; flex:0 0 auto; padding:9px 11px; color:#fff; border:1px solid rgba(134,231,190,.38); border-radius:18px; background:linear-gradient(135deg,#4b76e7,#7051df); font-size:11px; font-weight:900; white-space:nowrap; }
.farm-progress { display:grid; gap:7px; padding:14px 0 13px; }
.farm-progress > div { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.farm-progress small { color:var(--muted); font-size:9px; }
.farm-progress strong { color:#dfe8ff; font-size:10px; }
.farm-progress > span { display:block; height:8px; overflow:hidden; border-radius:8px; background:rgba(10,13,39,.66); }
.farm-progress > span i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#5edaa4,#b8ec7c); box-shadow:0 0 14px rgba(99,219,167,.45); }
.farm-progress-note { text-align:right; }
.farm-upgrade-box { display:grid; grid-template-columns:39px minmax(0,1fr) auto; align-items:center; gap:10px; padding:11px; border:1px solid rgba(151,164,255,.16); border-radius:15px; background:rgba(10,13,39,.28); }
.farm-upgrade-icon { display:grid; place-items:center; width:39px; height:39px; color:#8ee7bd; border-radius:12px; background:rgba(99,219,167,.12); font-size:25px; font-weight:900; }
.farm-upgrade-box > div { min-width:0; display:grid; gap:3px; }
.farm-upgrade-box small { color:var(--muted); font-size:9px; }
.farm-upgrade-box strong { color:#fff; font-size:15px; }
.farm-upgrade-box p { margin:0; color:var(--soft); font-size:8px; line-height:1.35; }
.farm-upgrade-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:39px; padding:0 13px; color:#14251e; border:1px solid rgba(181,245,205,.62); border-radius:11px; background:linear-gradient(135deg,#8fe9b0,#54c875); font-size:11px; font-weight:900; }
.farm-purchase-box { grid-template-columns:39px minmax(0,1fr); border-color:rgba(242,189,69,.34); background:rgba(242,189,69,.06); }
.farm-purchase-box .farm-upgrade-icon { color:var(--gold); background:rgba(242,189,69,.14); }
.farm-purchase-form { grid-column:1 / -1; width:100%; }
.farm-purchase-form .farm-upgrade-button { width:100%; min-height:44px; color:#211a0c; background:linear-gradient(135deg,#ffe28b,#eab442); border-color:rgba(255,234,157,.76); }
.farm-upgrade-form { grid-column:1 / -1; width:100%; }
.farm-upgrade-form .farm-upgrade-button { width:100%; min-height:44px; }
.farm-section { padding:14px; }
.farm-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:11px; border-bottom:1px solid rgba(151,164,255,.14); }
.farm-section-head h2 { margin:3px 0 0; font-size:17px; letter-spacing:-.04em; }
.farm-section-mark { display:grid; place-items:center; width:31px; height:31px; color:#9bb7ff; border-radius:10px; background:rgba(107,159,255,.12); font-size:18px; }
.farm-section-note { margin:11px 0 12px; color:var(--muted); font-size:9px; line-height:1.5; }
.farm-area-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.farm-area-card { min-width:0; display:grid; justify-items:center; align-content:start; gap:5px; min-height:144px; padding:10px 7px; border:1px solid rgba(151,164,255,.18); border-radius:15px; background:linear-gradient(155deg,rgba(38,42,88,.83),rgba(24,28,63,.88)); text-align:center; }
.farm-area-card.available { border-color:rgba(99,219,167,.35); }
.farm-area-card.locked { opacity:.72; }
.farm-area-image { display:grid; place-items:center; width:61px; height:61px; overflow:hidden; }
.farm-area-image img { width:59px; height:59px; object-fit:contain; filter:drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.farm-area-card strong { max-width:100%; color:#eef0ff; font-size:10px; line-height:1.2; }
.farm-area-card small { color:var(--gold); font-size:9px; font-weight:850; }
.farm-area-card.locked small { color:var(--muted); }
.farm-area-description { max-width:100%; overflow:hidden; color:var(--soft); font-size:7px; line-height:1.3; text-overflow:ellipsis; }
.farm-info-strip { display:flex; align-items:flex-start; gap:9px; padding:11px 12px; border:1px solid rgba(85,215,255,.22); border-radius:15px; background:rgba(85,215,255,.06); }
.farm-info-strip > span { color:var(--cyan); font-size:17px; line-height:1; }
.farm-info-strip p { margin:0; color:var(--muted); font-size:9px; line-height:1.45; }
.farm-info-strip strong { color:#dfe8ff; }
@media (max-width:420px) {
    .farm-hero, .farm-section { padding:12px; border-radius:18px; }
    .farm-heading { gap:8px; }
    .farm-main-icon { width:47px; height:47px; flex-basis:47px; border-radius:14px; }
    .farm-main-icon img { width:43px; height:43px; }
    .farm-heading h1 { font-size:21px; }
    .farm-heading p { font-size:9px; }
    .farm-level-badge { padding:8px 9px; font-size:9px; }
    .farm-upgrade-box { grid-template-columns:33px minmax(0,1fr); }
    .farm-upgrade-icon { width:33px; height:33px; font-size:21px; }
    .farm-upgrade-button { grid-column:1 / -1; width:100%; }
    .farm-area-grid { gap:6px; }
    .farm-area-card { min-height:132px; padding:8px 4px; border-radius:13px; }
    .farm-area-image, .farm-area-image img { width:52px; height:52px; }
}

/* Uygulama kabı: tüm ekranlarda ortak yatay hizalama ve alt menü güvenli alanı. */
:root {
    --app-gutter: 14px;
    --bottom-nav-height: 77px;
    --bottom-nav-bottom: 14px;
    --bottom-nav-reserve: calc(var(--bottom-nav-height) + var(--bottom-nav-bottom) + 18px + env(safe-area-inset-bottom));
}
.app-frame {
    width: min(100%, 720px);
    padding-left: var(--app-gutter);
    padding-right: var(--app-gutter);
    padding-bottom: calc(var(--bottom-nav-reserve) + env(safe-area-inset-bottom));
}
.app-content {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.app-content > section,
.app-content > nav,
.app-content > .production-list,
.app-content > .home-menu,
.app-content > .market-list,
.app-content > .admin-table {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.bottom-nav {
    bottom: calc(var(--bottom-nav-bottom) + env(safe-area-inset-bottom));
    width: min(calc(100% - (var(--app-gutter) * 2)), 692px);
}

/* Chat: mesaj alanı ve yazma satırı alt navigasyonun üzerinde kalır. */
.chat-channel-page {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    gap: 8px;
    width: 100%;
    height: calc(100svh - 18px - var(--bottom-nav-reserve));
    min-height: 420px;
    padding: 0;
    overflow: hidden;
}
.chat-channel-tabs,
.chat-channel-feed {
    width: 100%;
    min-width: 0;
    max-width: none;
}
.chat-channel-feed {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
.chat-channel-messages {
    flex: 1 1 auto;
    min-height: 0;
    height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
}
.chat-channel-compose {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding-bottom: 12px;
}

/* Ortak kart davranışı: içerik kabının iki kenarına eşit ve tam oturan kartlar. */
.production-card,
.bank-summary,
.bank-panel,
.market-create,
.market-listing,
.exchange-section,
.material-shop,
.material-package,
.diamond-store,
.vip-section,
.admin-table,
.chat-channel-feed,
.chat-layout {
    width: 100%;
    max-width: none;
}

@media (max-width: 620px) {
    .app-frame { padding-top: 14px; }
    .chat-channel-page {
        height: calc(100svh - 14px - var(--bottom-nav-reserve));
        min-height: 360px;
    }
    .chat-channel-tabs { gap: 5px; padding-left: 6px; padding-right: 6px; }
    .chat-channel-feed { border-radius: 18px; }
    .chat-channel-messages { padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 380px) {
    :root { --app-gutter: 10px; }
    .chat-channel-tab { padding-left: 4px; padding-right: 4px; }
    .chat-channel-tab small { font-size: 7px; }
}

/* Chat canlı akış, profil menüsü, cevap, beğeni ve şikâyet bileşenleri. */
.chat-channel-feed { position:relative; }
.chat-channel-messages { overscroll-behavior:contain; }
.chat-history-button { display:block; width:100%; margin:0 0 10px; padding:7px 10px; color:var(--cyan); background:rgba(85,215,255,.08); border:1px solid rgba(85,215,255,.2); border-radius:9px; font-size:9px; font-weight:800; }
.chat-history-button[hidden], .chat-new-message-alert[hidden] { display:none; }
.chat-new-message-alert { position:absolute; z-index:3; left:50%; bottom:67px; transform:translateX(-50%); padding:7px 12px; color:#152039; background:linear-gradient(135deg,#b8efff,var(--cyan)); border:1px solid rgba(85,215,255,.8); border-radius:20px; box-shadow:0 8px 24px rgba(0,0,0,.32); font-size:9px; font-weight:850; white-space:nowrap; }
.chat-reply-quote { display:grid; gap:2px; margin:0 0 7px; padding:5px 8px; border-left:3px solid var(--cyan); border-radius:4px 8px 8px 4px; background:rgba(85,215,255,.08); }
.chat-reply-quote b { color:var(--cyan); font-size:9px; }.chat-reply-quote span { overflow:hidden; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.chat-like-indicator { display:inline-flex; align-items:center; gap:3px; margin-top:7px; padding:3px 6px; color:#ff91a5; border:1px solid rgba(255,117,140,.25); border-radius:10px; background:rgba(255,117,140,.09); font-size:10px; }
.chat-like-indicator.active { color:#ff5c80; background:rgba(255,117,140,.16); }.chat-like-indicator b { font-size:8px; }
.chat-reply-compose { display:grid; grid-template-columns:24px minmax(0,1fr) 28px; align-items:center; gap:8px; margin:0 0 7px; padding:8px 9px; color:var(--muted); border:1px solid rgba(85,215,255,.24); border-left:3px solid var(--cyan); border-radius:8px 12px 12px 8px; background:linear-gradient(100deg,rgba(85,215,255,.12),rgba(85,215,255,.04)); }
.chat-reply-compose[hidden] { display:none !important; }
.chat-reply-preview-icon { display:grid; place-items:center; width:22px; height:22px; color:var(--cyan); border-radius:7px; background:rgba(85,215,255,.12); font-size:14px; }.chat-reply-compose > div { min-width:0; display:grid; gap:2px; }.chat-reply-compose b { overflow:hidden; color:var(--text); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.chat-reply-compose small { color:var(--cyan); font-size:7px; font-weight:850; letter-spacing:.08em; }.chat-reply-compose p { overflow:hidden; margin:0; color:var(--muted); font-size:9px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }.chat-reply-compose button { width:25px; height:25px; color:var(--text); border:0; border-radius:50%; background:rgba(255,255,255,.1); }
.chat-send-status { display:block; margin:0 2px 5px; color:var(--green); font-size:9px; }.chat-send-status.error { color:var(--danger); }
.chat-profile-menu.open { opacity:1; pointer-events:auto; transform:translateY(0) scale(1); }.chat-profile-menu strong { overflow:hidden; color:var(--text); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.chat-profile-menu > small { overflow:hidden; color:var(--cyan); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.chat-profile-menu a, .chat-profile-menu button { min-height:34px; display:flex; align-items:center; padding:0 9px; color:var(--text); text-align:left; border:1px solid rgba(151,164,255,.16); border-radius:9px; background:rgba(255,255,255,.05); font-size:10px; font-weight:750; }.chat-profile-menu a:hover, .chat-profile-menu button:hover { border-color:rgba(85,215,255,.45); background:rgba(85,215,255,.1); }.chat-profile-menu button.danger { color:var(--danger); }.chat-profile-menu [hidden] { display:none !important; }
.chat-channel-feed > .chat-profile-menu { position:absolute !important; top:auto !important; right:12px !important; bottom:78px !important; left:12px !important; width:auto !important; max-width:none !important; margin:0 !important; }
.chat-profile-menu { display:none !important; position:absolute !important; z-index:10000; grid-template-columns:1fr; gap:7px; width:min(210px,calc(100% - 24px)); max-width:calc(100% - 24px) !important; margin:0 !important; padding:11px; opacity:0; pointer-events:none; transform:translateY(4px) scale(.98); border:1px solid rgba(85,215,255,.35); border-radius:14px; background:linear-gradient(155deg,rgba(35,43,93,.98),rgba(13,18,49,.99)); box-shadow:0 16px 38px rgba(0,0,0,.48); }
.chat-profile-menu.open { display:grid !important; opacity:1; pointer-events:auto; transform:translateY(0) scale(1); }
.chat-message-trigger { cursor:pointer; }
.chat-message-trigger:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; border-radius:8px; }
.chat-channel-feed > .chat-profile-menu { top:12px !important; right:auto !important; bottom:auto !important; left:12px !important; width:min(210px,calc(100% - 24px)) !important; max-width:calc(100% - 24px) !important; }
.chat-report-backdrop { position:fixed; inset:0; z-index:96; display:none; place-items:center; padding:16px; background:rgba(3,4,17,.72); backdrop-filter:blur(8px); }.chat-report-backdrop.open { display:grid; }.chat-report-panel { position:relative; width:min(100%,430px); padding:22px 18px 18px; border:1px solid rgba(255,117,140,.35); border-radius:20px; background:linear-gradient(155deg,rgba(35,29,65,.98),rgba(17,22,55,.98)); box-shadow:0 24px 65px rgba(0,0,0,.5); }.chat-report-panel h2 { margin:8px 0 6px; font-size:21px; }.chat-report-panel > p { max-height:70px; overflow:auto; margin:0 0 14px; padding:9px; color:var(--muted); border-left:3px solid var(--danger); border-radius:5px; background:rgba(255,117,140,.08); font-size:10px; line-height:1.45; }.chat-report-panel textarea { width:100%; resize:vertical; min-height:86px; padding:11px; color:var(--text); background:rgba(9,12,37,.72); border:1px solid var(--line); border-radius:11px; outline:none; font:inherit; font-size:11px; }.chat-report-panel .modal-close { position:absolute; top:10px; right:10px; }
.admin-section-head { display:flex; align-items:end; justify-content:space-between; gap:12px; margin:24px 0 12px; }.admin-section-head h2 { margin:6px 0 4px; font-size:19px; }.admin-section-head p { margin:0; color:var(--muted); font-size:10px; }.admin-section-head > strong { color:var(--gold); font-size:12px; }.admin-empty-note { padding:15px; color:var(--muted); border:1px solid var(--line); border-radius:13px; background:rgba(28,32,73,.5); font-size:10px; }.admin-report-list { display:grid; gap:10px; }.admin-report { display:grid; gap:9px; padding:13px; border:1px solid var(--line); border-left:3px solid var(--soft); border-radius:14px; background:rgba(28,32,73,.65); }.admin-report.pending { border-left-color:var(--danger); }.admin-report.resolved { border-left-color:var(--green); }.admin-report-head, .admin-report-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; }.admin-report-head time, .admin-report-meta { color:var(--soft); font-size:8px; }.admin-report-message { padding:9px; border-radius:9px; background:rgba(8,11,38,.45); }.admin-report-message strong { font-size:10px; }.admin-report-message p { margin:5px 0 0; color:var(--muted); font-size:10px; line-height:1.45; }.admin-report-meta { display:grid; justify-content:stretch; gap:3px; }.admin-report-form { display:grid; grid-template-columns:110px 1fr auto; gap:6px; align-items:end; }.admin-report-form select, .admin-report-form textarea { width:100%; min-height:32px; padding:7px; color:var(--text); background:rgba(9,12,37,.72); border:1px solid var(--line); border-radius:8px; font:inherit; font-size:9px; }.admin-report-form textarea { min-height:32px; resize:vertical; }.admin-report-form .small-button { min-height:32px; }

/* Oyuncu profili: hem kendi profilinde hem karşı oyuncu profilinde ortak görünüm. */
.profile-page { display:grid; gap:12px; padding-top:6px; }
.profile-hero-card { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 15px; border:1px solid rgba(107,159,255,.34); border-radius:20px; background:radial-gradient(circle at 90% 0%,rgba(85,215,255,.14),transparent 40%),linear-gradient(145deg,rgba(39,48,105,.9),rgba(22,27,65,.92)); box-shadow:var(--shadow); }
.profile-hero-main { min-width:0; display:flex; align-items:center; gap:12px; }
.profile-large-avatar { display:block; width:76px; height:76px; flex:0 0 76px; overflow:hidden; border:2px solid var(--gold); border-radius:24px; background:var(--avatar-color,#10152c); box-shadow:0 0 0 5px rgba(242,189,69,.08); }
.profile-large-avatar .avatar-real { width:100%; height:100%; }
.profile-hero-copy { min-width:0; display:grid; gap:4px; }.profile-hero-copy h1 { overflow:hidden; margin:1px 0 0; font-size:25px; letter-spacing:-.05em; text-overflow:ellipsis; white-space:nowrap; }.profile-hero-copy p { overflow:hidden; margin:0; color:var(--cyan); font-size:11px; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }.profile-hero-copy small { color:var(--muted); font-size:9px; }
.profile-company-logo { display:grid; place-items:center; width:55px; height:55px; flex:0 0 55px; color:var(--logo); border:1px solid currentColor; border-radius:17px; background:rgba(8,11,38,.35); }.profile-company-logo .logo-real { width:42px; height:42px; }
.profile-status-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 4px; color:var(--green); font-size:9px; font-weight:800; }.profile-status-row b { padding:6px 9px; color:var(--gold); border:1px solid rgba(242,189,69,.3); border-radius:9px; background:rgba(242,189,69,.08); font-size:9px; }
.profile-section { display:grid; gap:12px; padding:15px; border:1px solid rgba(151,164,255,.16); border-radius:18px; background:rgba(23,27,62,.78); }.profile-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }.profile-section-head h2 { margin:5px 0 0; font-size:17px; letter-spacing:-.03em; }.profile-company-mark, .profile-achievement-count { display:grid; place-items:center; min-width:31px; height:31px; padding:0 7px; color:var(--gold); border:1px solid rgba(242,189,69,.28); border-radius:10px; background:rgba(242,189,69,.08); font-size:14px; font-weight:850; }.profile-achievement-count { color:var(--cyan); border-color:rgba(85,215,255,.25); background:rgba(85,215,255,.08); font-size:9px; }
.profile-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }.profile-stat-grid > div { min-width:0; display:grid; gap:4px; padding:10px 6px; text-align:center; border:1px solid rgba(151,164,255,.12); border-radius:12px; background:rgba(8,11,38,.3); }.profile-stat-grid strong { color:var(--text); font-size:17px; }.profile-stat-grid small { overflow:hidden; color:var(--muted); font-size:7px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.profile-achievement-list { display:grid; gap:7px; }.profile-achievement { display:grid; grid-template-columns:30px minmax(0,1fr) 20px; align-items:center; gap:8px; padding:9px; opacity:.52; border:1px solid rgba(151,164,255,.12); border-radius:12px; background:rgba(8,11,38,.25); }.profile-achievement.active { opacity:1; border-color:rgba(99,219,167,.26); background:rgba(99,219,167,.06); }.profile-achievement > span { display:grid; place-items:center; width:30px; height:30px; color:var(--gold); border-radius:9px; background:rgba(242,189,69,.1); font-size:15px; }.profile-achievement div { min-width:0; display:grid; gap:2px; }.profile-achievement strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.profile-achievement small { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.profile-achievement > b { color:var(--green); font-size:12px; text-align:center; }.profile-back-link { justify-self:start; padding:8px 2px; color:var(--cyan); font-size:10px; font-weight:800; }
@media (max-width:380px) { .profile-hero-card { padding:14px 11px; }.profile-large-avatar { width:66px; height:66px; flex-basis:66px; border-radius:20px; }.profile-hero-copy h1 { font-size:21px; }.profile-company-logo { width:48px; height:48px; flex-basis:48px; }.profile-stat-grid { gap:4px; }.profile-stat-grid > div { padding-left:3px; padding-right:3px; }.profile-stat-grid strong { font-size:14px; }.profile-stat-grid small { font-size:6px; } }

/* Elmas talebi ve admin kaynak yönetimi. */
.online-badge { padding:6px 8px; color:var(--green); border:1px solid rgba(99,219,167,.35); border-radius:8px; background:rgba(99,219,167,.1); font-size:8px; font-weight:900; text-transform:uppercase; }
.diamond-purchase-form { grid-column:1 / -1; width:100%; }
.diamond-package button.diamond-package-buy { cursor:pointer; color:var(--text); border-color:rgba(242,189,69,.35); background:linear-gradient(135deg,rgba(242,189,69,.16),rgba(107,159,255,.12)); }
.diamond-package button.diamond-package-buy:hover { border-color:var(--gold); background:linear-gradient(135deg,rgba(242,189,69,.28),rgba(107,159,255,.18)); }
.admin-users-section, .admin-user-editor, .admin-purchase-requests { display:grid; gap:12px; margin-top:16px; }
.admin-user-head, .admin-user-row { grid-template-columns:1.1fr .95fr .8fr .55fr 1fr; }
.admin-user-row > span { min-width:0; }
.admin-user-row > span > small, .admin-balance-gems { display:block; }
.admin-balance-gems { color:var(--gold); }
.admin-user-actions { display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.admin-user-actions form { margin:0; }
.admin-user-editor { padding:15px; border:1px solid rgba(85,215,255,.25); border-radius:18px; background:linear-gradient(145deg,rgba(30,40,88,.8),rgba(18,23,57,.78)); }
.admin-section-head.compact { margin:4px 0 0; }
.admin-balance-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.admin-balance-grid > div { display:grid; gap:4px; padding:11px; border:1px solid rgba(151,164,255,.15); border-radius:12px; background:rgba(8,11,38,.35); }
.admin-balance-grid small, .admin-request-grid small { color:var(--muted); font-size:8px; }
.admin-balance-grid strong { font-size:16px; }
.admin-resource-form { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; align-items:end; }
.admin-resource-form label { display:grid; gap:5px; color:var(--soft); font-size:9px; font-weight:800; }
.admin-resource-form input, .admin-resource-form select, .admin-resource-form textarea, .admin-request-actions input { width:100%; min-height:36px; padding:8px; color:var(--text); background:rgba(9,12,37,.72); border:1px solid var(--line); border-radius:9px; outline:none; font:inherit; font-size:10px; }
.admin-resource-form label small { color:var(--muted); font-size:8px; font-weight:500; }
.admin-resource-form .admin-reason-field { grid-column:1 / 3; }
.admin-resource-form > .gold-button { min-height:36px; padding:0 12px; font-size:9px; }
.admin-audit-list, .admin-request-list { display:grid; gap:8px; }
.admin-audit-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:8px; padding:9px 10px; border:1px solid rgba(151,164,255,.13); border-radius:10px; background:rgba(8,11,38,.28); }
.admin-audit-row div { min-width:0; display:grid; gap:3px; }.admin-audit-row strong { font-size:10px; }.admin-audit-row small { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.admin-audit-row time { color:var(--soft); font-size:8px; }.admin-audit-row b.positive { color:var(--green); }.admin-audit-row b.negative { color:var(--danger); }
.admin-request { display:grid; gap:10px; padding:13px; border:1px solid rgba(242,189,69,.2); border-radius:15px; background:rgba(28,32,73,.68); }.admin-request.completed { border-color:rgba(99,219,167,.25); }.admin-request.rejected { border-color:rgba(255,117,140,.25); }
.admin-request-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }.admin-request-head div { min-width:0; display:grid; gap:4px; }.admin-request-head strong { font-size:11px; }.admin-request-head small { color:var(--muted); font-size:8px; }.admin-request-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }.admin-request-grid span { min-width:0; display:grid; gap:4px; padding:8px; border-radius:9px; background:rgba(8,11,38,.34); }.admin-request-grid b { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.admin-request-note { margin:0; padding:8px; color:var(--muted); border-left:2px solid var(--gold); background:rgba(242,189,69,.06); font-size:9px; line-height:1.4; }.admin-request-note.admin-note { border-left-color:var(--cyan); }.admin-request-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }.admin-request-actions form { display:flex; flex:1 1 260px; gap:6px; margin:0; }.admin-request-actions input { flex:1; min-height:30px; }.success-button { color:var(--green); border-color:rgba(99,219,167,.3); background:rgba(99,219,167,.1); }.danger-button { color:var(--danger); border-color:rgba(255,117,140,.3); background:rgba(255,117,140,.1); }
@media (max-width:620px) { .admin-user-head { display:none; }.admin-user-row { grid-template-columns:1fr auto; gap:7px; padding:11px 10px; }.admin-user-row > span:nth-child(2) { color:var(--muted); font-size:8px; }.admin-user-row > span:nth-child(4) { grid-column:2; grid-row:1; justify-self:end; }.admin-user-actions { grid-column:1 / -1; }.admin-user-actions .small-button { min-height:28px; }.admin-resource-form { grid-template-columns:1fr 1fr; }.admin-resource-form .admin-reason-field { grid-column:1 / -1; }.admin-resource-form > .gold-button { grid-column:1 / -1; }.admin-request-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.admin-request-actions form { flex-basis:100%; }.admin-request-actions form .small-button { flex:1; }.admin-balance-grid strong { font-size:14px; } }
.profile-page { padding-bottom:132px; }
.profile-social-bar { display:grid; gap:10px; padding:12px; border:1px solid rgba(85,215,255,.24); border-radius:16px; background:linear-gradient(135deg,rgba(42,57,122,.76),rgba(21,27,65,.78)); }
.profile-social-bar > div:first-child { display:grid; gap:3px; }.profile-social-bar strong { font-size:11px; }.profile-social-bar small { color:var(--muted); font-size:8px; }
.profile-social-actions { display:flex; flex-wrap:wrap; gap:6px; }.profile-social-actions form { display:flex; margin:0; }.profile-action-button { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:34px; padding:0 10px; color:var(--text); border:1px solid rgba(151,164,255,.25); border-radius:10px; background:rgba(255,255,255,.06); font-size:9px; font-weight:850; }.profile-action-button.like { color:#ff9bb0; border-color:rgba(255,117,140,.32); background:rgba(255,117,140,.08); }.profile-action-button.like.active { color:#fff; background:linear-gradient(135deg,#d85d85,#9d3d76); }.profile-action-button.like b { min-width:16px; padding:2px 4px; border-radius:6px; background:rgba(255,255,255,.14); font-size:8px; }.profile-action-button.friend, .profile-action-button.accept { color:var(--green); border-color:rgba(99,219,167,.35); background:rgba(99,219,167,.08); }.profile-action-button.message { color:var(--cyan); border-color:rgba(85,215,255,.3); background:rgba(85,215,255,.08); }.profile-action-button.disabled, .profile-action-button:disabled { color:var(--soft); border-color:rgba(151,164,255,.15); background:rgba(151,164,255,.06); cursor:not-allowed; }.profile-friend-actions { display:flex; gap:5px; }.profile-friend-actions form { flex:1; }.profile-friend-actions .profile-action-button { width:100%; padding:0 8px; }
.profile-income-mark { display:grid; place-items:center; width:30px; height:30px; color:var(--green); border:1px solid rgba(99,219,167,.3); border-radius:9px; background:rgba(99,219,167,.08); font-size:15px; font-weight:900; }.profile-income-list { display:grid; gap:7px; }.profile-income-row { display:grid; grid-template-columns:30px minmax(0,1fr) auto; align-items:center; gap:8px; padding:9px; border:1px solid rgba(151,164,255,.12); border-radius:11px; background:rgba(8,11,38,.3); }.profile-income-row > span { display:grid; place-items:center; width:30px; height:30px; color:var(--gold); border-radius:9px; background:rgba(242,189,69,.1); font-size:15px; }.profile-income-row > div { min-width:0; display:grid; gap:3px; }.profile-income-row strong { font-size:10px; }.profile-income-row small { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.profile-income-row > b { color:var(--green); font-size:10px; white-space:nowrap; }
.profile-inventory-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }.profile-inventory-item { min-width:0; display:flex; align-items:center; gap:8px; padding:8px; border:1px solid rgba(151,164,255,.12); border-radius:11px; background:rgba(8,11,38,.3); }.profile-inventory-item > span { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border-radius:9px; background:rgba(85,215,255,.08); }.profile-inventory-item img { width:29px; height:29px; object-fit:contain; }.profile-inventory-item > div { min-width:0; display:grid; gap:3px; }.profile-inventory-item strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.profile-inventory-item small { color:var(--cyan); font-size:8px; }.profile-empty { padding:14px; color:var(--muted); border:1px dashed rgba(151,164,255,.2); border-radius:11px; font-size:9px; text-align:center; }
@media (max-width:380px) { .profile-social-actions { display:grid; grid-template-columns:1fr 1fr; }.profile-social-actions > form, .profile-social-actions > a { min-width:0; }.profile-social-actions .profile-action-button { width:100%; padding-left:6px; padding-right:6px; font-size:8px; }.profile-inventory-grid { gap:5px; }.profile-inventory-item { padding:7px 5px; gap:5px; }.profile-inventory-item > span { width:30px; height:30px; flex-basis:30px; }.profile-inventory-item img { width:25px; height:25px; }.profile-income-row > b { font-size:9px; } }
.admin-page.admin-section-overview .admin-purchase-requests,
.admin-page.admin-section-overview .admin-chat-reports,
.admin-page.admin-section-overview .admin-module-section,
.admin-page.admin-section-diamond_requests .admin-users-section,
.admin-page.admin-section-diamond_requests .admin-user-editor,
.admin-page.admin-section-diamond_requests .admin-chat-reports,
.admin-page.admin-section-diamond_requests .admin-module-section,
.admin-page.admin-section-chat_reports .admin-users-section,
.admin-page.admin-section-chat_reports .admin-user-editor,
.admin-page.admin-section-chat_reports .admin-purchase-requests,
.admin-page.admin-section-chat_reports .admin-module-section,
.admin-page.admin-section-modules .admin-users-section,
.admin-page.admin-section-modules .admin-user-editor,
.admin-page.admin-section-modules .admin-purchase-requests,
.admin-page.admin-section-modules .admin-chat-reports { display:none !important; }
.admin-section-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin:10px 0 16px; padding:6px; border:1px solid var(--line); border-radius:15px; background:rgba(28,32,73,.58); }
.admin-section-tabs a { position:relative; min-width:0; display:grid; justify-items:center; gap:4px; padding:9px 5px; color:var(--muted); border:1px solid transparent; border-radius:11px; text-align:center; }
.admin-section-tabs a.active { color:var(--text); border-color:rgba(107,159,255,.55); background:linear-gradient(135deg,rgba(76,105,209,.55),rgba(47,68,145,.4)); box-shadow:0 7px 18px rgba(14,20,75,.35); }
.admin-section-tabs span { font-size:15px; line-height:1; }.admin-section-tabs small { overflow:hidden; max-width:100%; font-size:8px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }.admin-section-tabs b { position:absolute; top:5px; right:5px; min-width:16px; padding:2px 4px; color:#151a3b; border-radius:8px; background:var(--gold); font-size:7px; }
@media (max-width:380px) { .admin-section-tabs { gap:4px; padding:4px; }.admin-section-tabs a { padding-left:2px; padding-right:2px; }.admin-section-tabs small { font-size:7px; } }

.admin-module-list { display:grid; gap:8px; }.admin-module-row { display:grid; grid-template-columns:30px minmax(0,1fr) auto auto; align-items:center; gap:9px; padding:11px; border:1px solid rgba(151,164,255,.16); border-radius:13px; background:rgba(28,32,73,.62); }.admin-module-row.active { border-left:3px solid var(--green); }.admin-module-row.inactive { border-left:3px solid var(--danger); opacity:.9; }.admin-module-icon { display:grid; place-items:center; width:27px; height:27px; color:var(--danger); border-radius:9px; background:rgba(255,117,140,.1); font-weight:900; }.admin-module-row.active .admin-module-icon { color:var(--green); background:rgba(99,219,167,.1); }.admin-module-copy { min-width:0; display:grid; gap:3px; }.admin-module-copy strong { font-size:11px; }.admin-module-copy small { overflow:hidden; color:var(--muted); font-size:8px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }.admin-module-status { color:var(--muted); font-size:9px; font-weight:850; }.admin-module-row.active .admin-module-status { color:var(--green); }.admin-module-row.inactive .admin-module-status { color:var(--danger); }
@media (max-width:520px) { .admin-section-tabs { gap:4px; }.admin-section-tabs a { padding-left:2px; padding-right:2px; }.admin-section-tabs small { font-size:7px; }.admin-module-row { grid-template-columns:27px minmax(0,1fr) auto; }.admin-module-row form { grid-column:2 / -1; }.admin-module-row form .small-button { width:100%; }.admin-module-status { justify-self:end; } }

/* Alt menü Chat bildirimi: tüm sayfalarda toplam okunmamış mesaj sayısı. */
.nav-item-icon { position:relative; display:grid; place-items:center; min-width:27px; min-height:27px; }
.chat-nav-badge { position:absolute; top:-7px; right:-12px; z-index:2; display:grid; place-items:center; min-width:17px; height:17px; padding:0 4px; color:#fff; border:2px solid #1b1f45; border-radius:10px; background:linear-gradient(135deg,#ff6680,#d62958); box-shadow:0 3px 10px rgba(214,41,88,.42); font-size:8px !important; font-weight:900; line-height:1; }
.chat-nav-badge[hidden] { display:none; }
.nav-item[data-chat-unread]:not([data-chat-unread="0"]) .nav-item-icon { color:var(--text); }

/* Tarla ekranı: görsel ağırlıklı, tek kolonlu mobil üretim akışı. */
.farm-fields-page { display:grid; gap:10px; padding-top:4px; }
.farm-back-link { justify-self:start; padding:3px 2px; color:var(--cyan); font-size:10px; font-weight:850; }
.farm-fields-hero, .farm-purchase-strip, .farm-water-strip, .farm-plot-card, .farm-empty-state { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:19px; background:linear-gradient(155deg,rgba(33,39,82,.94),rgba(22,26,61,.94)); box-shadow:0 12px 28px rgba(0,0,0,.13); }
.farm-fields-hero { position:relative; }
.farm-fields-image { height:142px; overflow:hidden; background:linear-gradient(180deg,rgba(18,24,56,.08),rgba(18,24,56,.58)); }
.farm-fields-image img { width:100%; height:100%; object-fit:cover; display:block; }
.farm-fields-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 14px 15px; }
.farm-fields-head > div { min-width:0; }
.farm-fields-head h1 { margin:3px 0 4px; font-size:22px; letter-spacing:-.05em; }
.farm-fields-head p { margin:0; color:var(--muted); font-size:9px; line-height:1.4; }
.farm-count-badge { flex:0 0 auto; padding:9px 11px; color:var(--green); border:1px solid rgba(99,219,167,.35); border-radius:14px; background:rgba(99,219,167,.08); font-size:10px; font-weight:900; white-space:nowrap; }
.farm-purchase-strip { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px; border-color:rgba(242,189,69,.3); background:linear-gradient(135deg,rgba(76,61,26,.42),rgba(28,32,72,.85)); }
.farm-purchase-strip > div { min-width:0; display:grid; gap:3px; }
.farm-purchase-strip strong { color:#fff; font-size:14px; }
.farm-purchase-strip small { color:var(--muted); font-size:8px; line-height:1.35; }
.farm-purchase-strip form { flex:0 0 auto; margin:0; }
.farm-buy-plot-button, .farm-plot-action, .farm-start-plant-button { display:inline-flex; align-items:center; justify-content:space-between; gap:8px; min-height:40px; padding:0 13px; color:#10231d; border:1px solid rgba(178,244,200,.62); border-radius:11px; background:linear-gradient(135deg,#8ce5aa,#4fc36e); font-size:10px; font-weight:900; white-space:nowrap; }
.farm-buy-plot-button { color:#281e0b; border-color:rgba(255,234,157,.72); background:linear-gradient(135deg,#ffdf79,#eab647); }
.farm-buy-plot-button:disabled { cursor:not-allowed; opacity:.55; filter:grayscale(.3); }
.farm-water-strip { display:flex; align-items:center; gap:9px; padding:10px 12px; border-color:rgba(85,215,255,.23); background:rgba(85,215,255,.06); }
.farm-water-icon { display:grid; place-items:center; width:31px; height:31px; border-radius:10px; background:rgba(85,215,255,.11); font-size:17px; }
.farm-water-strip > div { min-width:0; display:grid; gap:2px; flex:1; }
.farm-water-strip strong { font-size:10px; }
.farm-water-strip small { color:var(--muted); font-size:8px; }
.farm-water-strip > b { color:var(--cyan); font-size:12px; white-space:nowrap; }
.farm-plot-list { display:grid; gap:11px; }
.farm-plot-card { border-radius:19px; }
.farm-plot-image { height:127px; overflow:hidden; background:#232951; }
.farm-plot-image img { width:100%; height:100%; display:block; object-fit:cover; }
.farm-plot-body { display:grid; gap:10px; padding:13px 14px 14px; }
.farm-plot-title { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.farm-plot-title > div { min-width:0; display:grid; gap:6px; }
.farm-plot-title strong { overflow:hidden; color:#f2f3ff; font-size:17px; letter-spacing:-.03em; text-overflow:ellipsis; white-space:nowrap; }
.farm-plot-title > small { color:var(--soft); font-size:8px; white-space:nowrap; }
.farm-plot-status { display:inline-flex; align-items:center; justify-self:start; padding:5px 8px; border-radius:9px; font-size:8px; font-weight:850; }
.farm-plot-status.empty { color:var(--soft); background:rgba(151,164,255,.12); }
.farm-plot-status.growing { color:var(--gold); background:rgba(242,189,69,.12); }
.farm-plot-status.ready { color:var(--green); background:rgba(99,219,167,.12); }
.farm-plot-note { display:flex; align-items:center; gap:6px; min-height:23px; margin:0; color:var(--muted); font-size:10px; line-height:1.35; }
.farm-crop-emoji { font-size:17px; }
.farm-crop-emoji { display:inline-grid; place-items:center; width:23px; height:23px; flex:0 0 auto; }
.farm-crop-emoji img { width:23px; height:23px; object-fit:contain; display:block; }
.farm-plot-note time { color:var(--gold); font-weight:850; }
.farm-plot-action { width:100%; }
.farm-harvest-button { color:#1c2110; border-color:rgba(255,226,128,.72); background:linear-gradient(135deg,#ffe386,#d8aa35); }
.farm-growing-bar { height:7px; overflow:hidden; border-radius:8px; background:rgba(7,10,32,.7); }
.farm-growing-bar i { display:block; width:48%; height:100%; border-radius:inherit; background:linear-gradient(90deg,#d6a738,#f3db86); animation:farm-growing-pulse 2.2s ease-in-out infinite; }
@keyframes farm-growing-pulse { 0%,100% { opacity:.55; transform:translateX(-18%); } 50% { opacity:1; transform:translateX(120%); } }
.farm-empty-state { display:grid; justify-items:center; gap:6px; padding:36px 18px; text-align:center; border-style:dashed; }
.farm-empty-state > span { color:var(--green); font-size:30px; }
.farm-empty-state strong { font-size:14px; }
.farm-empty-state p { margin:0; color:var(--muted); font-size:9px; }
.farm-area-link { width:100%; display:grid; justify-items:center; align-content:start; gap:5px; color:inherit; }
.farm-area-cta { color:var(--green); font-size:8px; font-weight:850; }
.farm-plant-modal { z-index:30; align-items:end; }
.farm-plant-panel { max-height:min(88svh,720px); overflow:auto; padding:22px 14px 15px; border-color:rgba(99,219,167,.34); }
.farm-plant-panel > p { margin:0 0 12px; font-size:10px; line-height:1.4; }
.farm-plant-panel > p strong { color:var(--green); }
.farm-crop-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; max-height:44svh; overflow:auto; padding:2px; }
.farm-crop-option { min-width:0; display:grid; grid-template-columns:30px minmax(0,1fr) 14px; align-items:center; gap:6px; padding:8px 7px; color:var(--text); text-align:left; border:1px solid rgba(151,164,255,.16); border-radius:12px; background:rgba(10,13,39,.36); }
.farm-crop-option > span { display:grid; place-items:center; width:29px; height:29px; border-radius:9px; background:rgba(99,219,167,.1); font-size:18px; }
.farm-crop-option > span img { width:27px; height:27px; display:block; object-fit:contain; }
.farm-crop-option > div { min-width:0; display:grid; gap:3px; }
.farm-crop-option strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.farm-crop-option small { overflow:hidden; color:var(--muted); font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.farm-crop-option > b { color:var(--soft); font-size:17px; text-align:right; }
.farm-crop-option.selected { border-color:var(--green); background:rgba(99,219,167,.13); box-shadow:0 0 0 2px rgba(99,219,167,.1); }
.farm-modal-warning { min-height:14px; margin:8px 0 5px !important; color:var(--danger); font-size:9px !important; }
.farm-start-plant-button { width:100%; color:#10231d; background:linear-gradient(135deg,#8ce5aa,#4fc36e); }
.farm-barn-page { display:grid; gap:10px; padding-top:4px; }
.farm-barn-hero, .farm-barn-purchase, .farm-barn-stats, .farm-animal-card { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:19px; background:linear-gradient(155deg,rgba(33,39,82,.94),rgba(22,26,61,.94)); box-shadow:0 12px 28px rgba(0,0,0,.13); }
.farm-barn-image { height:142px; overflow:hidden; background:#232951; }
.farm-barn-image img { width:100%; height:100%; display:block; object-fit:cover; }
.farm-barn-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 14px 15px; }
.farm-barn-head > div { min-width:0; }
.farm-barn-head h1 { margin:3px 0 4px; font-size:22px; letter-spacing:-.05em; }
.farm-barn-head p { margin:0; color:var(--muted); font-size:9px; line-height:1.4; }
.farm-barn-purchase { display:grid; grid-template-columns:44px minmax(0,1fr); align-items:center; gap:10px; padding:13px; border-color:rgba(242,189,69,.3); background:linear-gradient(135deg,rgba(76,61,26,.42),rgba(28,32,72,.85)); }
.farm-barn-purchase-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:14px; background:rgba(242,189,69,.13); font-size:26px; }
.farm-barn-purchase > div { min-width:0; display:grid; gap:3px; }
.farm-barn-purchase h2 { margin:0; color:#fff; font-size:15px; }
.farm-barn-purchase p { margin:0; color:var(--muted); font-size:9px; line-height:1.35; }
.farm-barn-purchase form { grid-column:1 / -1; width:100%; margin:0; }
.farm-barn-buy-button, .farm-animal-buy { display:inline-flex; align-items:center; justify-content:space-between; width:100%; min-height:43px; padding:0 13px; color:#281e0b; border:1px solid rgba(255,234,157,.72); border-radius:11px; background:linear-gradient(135deg,#ffdf79,#eab647); font-size:10px; font-weight:900; }
.farm-barn-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; padding:1px; background:rgba(151,164,255,.14); }
.farm-barn-stats > div { min-width:0; display:grid; gap:4px; padding:11px 8px; background:rgba(21,25,59,.95); text-align:center; }
.farm-barn-stats small { color:var(--muted); font-size:8px; }
.farm-barn-stats strong { overflow:hidden; color:#fff; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.farm-animal-section { padding:13px; }
.farm-feed-link { color:var(--cyan); font-weight:850; }
.farm-animal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.farm-animal-card { border-radius:15px; background:rgba(27,31,70,.82); }
.farm-animal-image { height:126px; overflow:hidden; background:#3c2e25; }
.farm-animal-image img { width:100%; height:100%; display:block; object-fit:contain; padding:6px; }
.farm-animal-body { display:grid; gap:9px; padding:10px; }
.farm-animal-title { display:flex; align-items:flex-start; justify-content:space-between; gap:7px; }
.farm-animal-title > div { min-width:0; display:grid; gap:4px; }
.farm-animal-title strong { font-size:13px; }
.farm-animal-title small { color:var(--muted); font-size:8px; line-height:1.35; }
.farm-animal-title > span { flex:0 0 auto; padding:4px 6px; color:var(--green); border-radius:8px; background:rgba(99,219,167,.1); font-size:8px; font-weight:850; }
.farm-animal-recipe { display:grid; gap:5px; padding:7px 8px; color:var(--muted); border:1px solid rgba(151,164,255,.12); border-radius:10px; background:rgba(7,10,32,.22); font-size:8px; }
.farm-animal-recipe span { display:flex; align-items:center; gap:5px; min-width:0; }
.farm-animal-recipe img, .farm-animal-output img { width:22px; height:22px; flex:0 0 auto; object-fit:contain; }
.farm-animal-recipe b { color:var(--text); }
.farm-animal-output { display:flex; align-items:center; justify-content:space-between; gap:7px; padding-bottom:8px; border-bottom:1px solid rgba(151,164,255,.12); }
.farm-animal-output > span { min-width:0; display:grid; grid-template-columns:22px minmax(0,1fr); align-items:start; column-gap:5px; }
.farm-animal-output > span small { color:var(--muted); font-size:7px; }
.farm-animal-output > span b { min-width:0; color:var(--text); font-size:9px; line-height:1.2; overflow-wrap:anywhere; white-space:normal; }
.farm-animal-output > strong { color:var(--cyan); font-size:9px; white-space:nowrap; }
.farm-animal-meta { display:flex; align-items:center; justify-content:space-between; gap:7px; color:var(--muted); font-size:8px; }
.farm-animal-meta b { color:var(--gold); font-size:10px; }
.farm-animal-buy { min-height:36px; padding:0 10px; font-size:9px; }
.farm-animal-feed { color:#10231d; border-color:rgba(178,244,200,.62); background:linear-gradient(135deg,#8ce5aa,#4fc36e); }
.farm-animal-collect { color:#281e0b; border-color:rgba(255,234,157,.72); background:linear-gradient(135deg,#ffe386,#d8aa35); }
.farm-animal-busy { color:var(--muted); border-color:rgba(151,164,255,.18); background:rgba(151,164,255,.08); cursor:wait; }
.farm-animal-busy time { color:var(--gold); }
.farm-animal-purchase-strip { border-color:rgba(85,215,255,.24); background:linear-gradient(135deg,rgba(21,53,76,.52),rgba(28,32,72,.85)); }
.farm-animal-purchase-strip .farm-buy-plot-button { color:#10231d; border-color:rgba(178,244,200,.62); background:linear-gradient(135deg,#8ce5aa,#4fc36e); }
.farm-animal-empty { grid-column:1 / -1; padding:28px 16px; }
.farm-animal-empty .farm-animal-buy { width:auto; min-width:150px; margin-top:5px; }
.farm-animal-purchase-modal { z-index:35; align-items:end; }
.farm-animal-purchase-panel { max-height:min(88svh,720px); overflow:auto; padding:22px 14px 15px; border-color:rgba(99,219,167,.34); }
.farm-animal-purchase-panel > p { margin:0 0 12px; color:var(--muted); font-size:10px; line-height:1.4; }
.farm-animal-options { display:grid; gap:7px; max-height:49svh; overflow:auto; padding:2px; }
.farm-animal-option { min-width:0; display:grid; grid-template-columns:54px minmax(0,1fr) 14px; align-items:center; gap:9px; padding:7px; color:var(--text); text-align:left; border:1px solid rgba(151,164,255,.16); border-radius:13px; background:rgba(10,13,39,.36); }
.farm-animal-option img { width:54px; height:54px; display:block; object-fit:contain; border-radius:10px; background:#3c2e25; }
.farm-animal-option span { min-width:0; display:grid; gap:4px; }
.farm-animal-option strong { font-size:11px; }
.farm-animal-option small { min-width:0; color:var(--muted); font-size:8px; line-height:1.25; overflow-wrap:anywhere; white-space:normal; }
.farm-animal-option > b { color:var(--soft); font-size:17px; text-align:right; }
.farm-animal-option.selected { border-color:var(--green); background:rgba(99,219,167,.13); box-shadow:0 0 0 2px rgba(99,219,167,.1); }
.farm-animal-purchase-submit { margin-top:8px; }
.farm-coop-page .farm-barn-image { background:linear-gradient(135deg,#29304d,#10152d); }
.farm-coop-page .farm-animal-image { background:linear-gradient(135deg,#29304d,#10152d); }
.farm-poultry-card .farm-animal-image img { padding:8px 18px; }
@media (max-width:420px) { .farm-barn-image { height:122px; }.farm-barn-head { padding:11px 12px 13px; }.farm-barn-head h1 { font-size:20px; }.farm-barn-head p { font-size:8px; }.farm-animal-grid { grid-template-columns:1fr; }.farm-animal-image { height:150px; } }
@media (max-width:420px) { .farm-fields-image { height:122px; }.farm-fields-head { padding:11px 12px 13px; }.farm-fields-head h1 { font-size:20px; }.farm-fields-head p { font-size:8px; }.farm-count-badge { padding:8px 9px; font-size:9px; }.farm-purchase-strip { align-items:stretch; flex-direction:column; }.farm-purchase-strip form, .farm-buy-plot-button { width:100%; }.farm-plot-image { height:116px; }.farm-plot-body { padding:11px 12px 12px; }.farm-crop-options { grid-template-columns:1fr; max-height:40svh; } }
