/* Habron v2 — açık tema, tek stil dosyası.
   Kart: beyaz zemin, ince kenarlık, 12px köşe. Buton: dolgulu zemin,
   2px açık kenarlık, altta koyu gölge. Vurgu: turuncu. */
:root {
  --bg: #f1f2f4;
  --card: #ffffff;
  --line: #e1e4e9;
  --line-soft: #eef0f3;
  --ink: #1c1f26;
  --text-2: #4b5563;
  --muted: #5f6875;
  --soft: #f7f8f9;
  --ph: #e4e7eb;
  --accent: #f59e0b;
  --accent-ink: #92400e;
  --accent-soft: #fef3c7;
  --link: #b45309;
  --green: #178a3d;
  --green-edge: #6fe08f;
  --blue: #1479b8;
  --blue-edge: #49a9e6;
  --orange: #d9861a;
  --orange-edge: #ffc766;
  --orange-ink: #3a2203;
  --red: #c0392b;
  --red-edge: #f08a7e;
  --dark: #2a2f38;
  --radius: 0.25rem;
  --wrap: 960px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
a { color: var(--link); }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 0.25rem; }
.skip-link:focus { top: 8px; color: #fff; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-danger { color: var(--red); }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 14px; }
.mb-lg { margin-bottom: 20px; }

/* ---------- Yükleme ekranı (ördek) ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(241, 242, 244, 0.96);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.16s ease, visibility 0s linear 0.16s;
}
.page-loader.animating { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.16s ease; }
.page-loader.is-initial { animation: loader-out 0.3s ease 0.55s both; }
.page-loader-track { position: relative; width: 180px; height: 56px; overflow: hidden; }
.page-loader-duck {
  position: absolute; left: 0; bottom: 6px; width: 40px; height: 48px;
  image-rendering: pixelated;
  animation: duck-swim 1.3s ease-in-out infinite alternate;
}
.page-loader-water { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--ph); }
.page-loader-text { font-size: 12px; font-weight: 600; color: var(--muted); }
@keyframes duck-swim { from { transform: translateX(0) translateY(0); } 50% { transform: translateX(70px) translateY(-3px); } to { transform: translateX(140px) translateY(0); } }
@keyframes loader-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .page-loader-duck { animation: none; left: 70px; }
  .page-loader.is-initial { animation: none; }
}

/* ---------- Bildirimler ---------- */
.toast-stack { position: fixed; right: 16px; top: 16px; z-index: 95; display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; box-shadow: none; font-weight: 600; transition: opacity 0.2s, transform 0.2s; }
.toast-success { border-color: #a9d9b8; background: #e3f4e8; color: #14532d; }
.toast-error { border-color: #f1b3ac; background: #fde2e2; color: #7f1d1d; }
.toast.leaving { opacity: 0; transform: translateY(-6px); }
.toast-close { flex: none; width: 28px; height: 28px; border: 0; border-radius: 0.25rem; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; }

/* ---------- Üst bölüm: banner + menü ---------- */
.site-top { position: relative; z-index: 20; }
.banner { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.banner-shade { position: absolute; inset: 0; background: rgba(28, 31, 38, 0.55); }
.banner-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 22px 16px 50px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.banner-logo { display: flex; flex: none; }
.banner-logo img { width: 232px; height: auto; image-rendering: pixelated; display: block; }
.banner-copy { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 14px; }
.banner-figure { flex: none; max-height: 96px; width: auto; image-rendering: pixelated; }
.banner-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.banner-title { font-size: 20px; font-weight: 700; line-height: 1.2; color: #fff; }
.banner-desc { font-size: 13px; color: #e4e7eb; max-width: 520px; }
.banner-desc a, .hero-link { color: #ffd98a; font-weight: 600; }
.hero-profile-link { color: inherit; text-decoration: none; }
.online-pill { flex: none; display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff; color: var(--ink); border-radius: 0.25rem; font-size: 12px; font-weight: 600; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }

.site-nav { max-width: var(--wrap); margin: -28px auto 0; padding: 0 16px; position: relative; }
.nav-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 6px 8px 6px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; box-shadow: none; }
.nav-tabs { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav-item { position: relative; }
.nav-tab-btn { min-height: 44px; padding: 0 8px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.nav-tab-btn:hover, .nav-item:hover > .nav-tab-btn { color: var(--ink); }
.nav-tab-btn.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-tab-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--ph); object-fit: cover; object-position: center 20%; }
.nav-tab-caret { flex: none; }
.nav-menu { display: none; position: absolute; left: 0; top: 100%; z-index: 30; width: 220px; padding: 6px; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; box-shadow: none; }
.nav-item.has-menu:hover > .nav-menu, .nav-item.has-menu:focus-within > .nav-menu, .nav-item.is-open > .nav-menu { display: flex; }
.nav-item.is-closed > .nav-menu { display: none; }
.nav-menu-title { display: none; }
.nav-menu-link { width: 100%; min-height: 40px; padding: 0 10px; display: flex; align-items: center; border: 0; border-radius: 0.25rem; background: transparent; font-size: 13px; font-weight: 600; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.nav-menu-link:hover { background: var(--soft); color: var(--ink); }
.nav-menu-link.active { background: var(--accent-soft); color: var(--accent-ink); }
.nav-menu-link.is-danger { color: var(--red); }
.nav-menu-form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line-soft); }

/* ---------- Butonlar ---------- */
.btn, .btn-play-habbo, .btn-oyna, .auction-bid-form button, .auction-bid-login {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 18px;
  background: #fff; color: var(--ink);
  border: 2px solid #d5dae0; border-radius: 0.25rem;
  box-shadow: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
  cursor: pointer;
}
.btn:hover { background: var(--bg); color: var(--ink); }
.btn-play-habbo, .btn-oyna, .btn-primary, .btn-green { background: var(--green); border-color: var(--green-edge); color: #fff; box-shadow: none; }
.btn-play-habbo:hover, .btn-oyna:hover, .btn-primary:hover, .btn-green:hover { background: #1a9a45; color: #fff; }
.btn-blue, .auction-bid-form button, .auction-bid-login { background: var(--blue); border-color: var(--blue-edge); color: #fff; box-shadow: none; }
.btn-blue:hover, .auction-bid-form button:hover, .auction-bid-login:hover { background: #1787cc; color: #fff; }
.btn-orange { background: var(--orange); border-color: var(--orange-edge); color: var(--orange-ink); box-shadow: none; }
.btn-orange:hover { background: #e6952a; color: var(--orange-ink); }
.btn-dark { background: var(--ink); border-color: #5f6875; color: #fff; box-shadow: none; }
.btn-dark:hover { background: var(--dark); color: #fff; }
.btn-danger { background: var(--red); border-color: var(--red-edge); color: #fff; box-shadow: none; }
.btn-danger:hover { background: #d04436; color: #fff; }
.btn-ghost { box-shadow: none; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; }
.btn-lg { min-height: 48px; padding: 0 26px; font-size: 14px; }
.btn-block, .form-submit { display: flex; width: 100%; }
button:disabled, .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-subtle-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ink); border: 1px solid #cfd4db; border-radius: 0.25rem; cursor: pointer; }

/* ---------- Sayfa gövdesi ---------- */
.content-canvas { flex: 1 0 auto; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 20px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.content-canvas:focus { outline: none; }
.content-canvas[aria-busy="true"] { opacity: 0.6; }
.page-narrow { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.editorial-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.editorial-feed { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sidebar-feed { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.is-sidebar-first .sidebar-feed { order: -1; }

.card, .editorial-feed > div, .editorial-feed > section, .sidebar-feed > div, .section-block, .plain-card, .news-page-panel, .news-sidebar-box, .admin-card, .activity-widget {
  background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; padding: 14px 16px;
}
.editorial-feed > .card-bare, .sidebar-feed > .card-bare { background: transparent; border: 0; padding: 0; }
.card-flush { padding: 0; overflow: hidden; }
.card-head { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; }
.card-head a { font-size: 12px; font-weight: 500; }
.card-body { padding: 14px 16px; }

.section-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.section-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 16px; font-weight: 700; line-height: 1.25; }
.section-title-icon { flex: none; width: 22px; height: 22px; object-fit: contain; image-rendering: pixelated; }
.subsection-title { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.lead-note { margin-bottom: 12px; color: var(--text-2); }
.muted-note { color: var(--muted); }
.muted-note-sm { color: var(--muted); font-size: 11px; }
.back-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; text-decoration: none; }
.more-link-row { display: flex; justify-content: flex-end; margin-top: 10px; }
.more-link { font-weight: 600; text-decoration: none; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; text-align: center; color: var(--muted); }
.empty-state-title { font-weight: 600; color: var(--ink); }
.badge-pill, .story-pill, .feature-lead-tag, .spotlight-pill-tag, .auction-box-tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 0.25rem; font-size: 10px; font-weight: 700; background: var(--ph); color: var(--text-2); white-space: nowrap; }
.badge-pill-success, .pill-event { background: #dcf5e3; color: #14532d; }
.badge-pill-warning, .feature-lead-tag, .spotlight-pill-tag { background: var(--accent-soft); color: var(--accent-ink); }
.badge-pill-danger { background: #fde2e2; color: #7f1d1d; }
.alert-banner { padding: 10px 14px; border-radius: 0.25rem; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.alert-banner-error { background: #fde2e2; color: #7f1d1d; }

/* ---------- Formlar ---------- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 12px; font-weight: 600; }
.form-input { width: 100%; min-height: 44px; padding: 10px 12px; background: #fff; border: 1px solid #cfd4db; border-radius: 0.25rem; color: var(--ink); font-size: 14px; }
textarea.form-input { resize: vertical; line-height: 1.5; }
.form-input::placeholder { color: #6b7280; }
.form-hint { font-size: 11px; color: var(--muted); }
.form-footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 12px; font-weight: 500; }
.inline-form, .copy-field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.inline-form .form-input, .copy-field .form-input { flex: 1 1 200px; width: auto; }
.auth-card { width: 100%; max-width: 400px; margin: 0 auto; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; box-shadow: none; }
.auth-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 16px; }
.auth-row > .auth-card, .auth-row > .card { flex: 1 1 320px; max-width: 400px; margin: 0; }
.auth-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Liste satırları ---------- */
.story-line-list { display: flex; flex-direction: column; }
.story-line-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.story-line-list > .story-line-item:first-child { border-top: 0; }
a.story-line-item:hover { color: var(--link); }
.story-line-item.is-stacked { flex-direction: column; align-items: flex-start; gap: 4px; }
.story-line-meta { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.story-line-title { font-weight: 600; }
.story-line-body { color: var(--text-2); line-height: 1.6; white-space: pre-line; }
.story-line-arrow { flex: none; color: var(--muted); }

/* ---------- Ana sayfa ---------- */
.profile-card { padding: 0; overflow: hidden; }
.profile-card-top { padding: 20px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.profile-card-avatar { height: 110px; width: auto; image-rendering: pixelated; }
.profile-card-name { font-size: 17px; font-weight: 700; }
.profile-card-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.wallet-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; border-top: 1px solid var(--line-soft); }
.wallet-row-label { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.wallet-row-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.wallet-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.wallet-badge { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--soft); border-radius: 0.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.wallet-badge-icon { width: 16px; height: 16px; object-fit: contain; image-rendering: pixelated; }

.feature-lead-story { display: block; color: var(--ink); text-decoration: none; }
.feature-lead-image { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 0.25rem; background: var(--soft); overflow: hidden; }
.feature-lead-image.has-photo { padding-top: 150px; }
.feature-lead-photo { position: absolute; left: 0; top: 0; width: 100%; height: 140px; object-fit: cover; }
.feature-lead-tag { align-self: flex-start; }
.feature-lead-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.feature-lead-desc { color: var(--text-2); }
.news-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.news-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.news-card-thumb { height: 84px; width: 100%; border-radius: 0.25rem; background: var(--ph); object-fit: cover; display: block; }
.news-card-title { font-weight: 600; line-height: 1.35; }
.news-card-meta { font-size: 11px; color: var(--muted); }

.agenda-lines { display: flex; flex-direction: column; }
.agenda-line { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.agenda-lines > .agenda-line:first-child { border-top: 0; }
.agenda-time-text { flex: none; min-width: 52px; padding: 4px 0; text-align: center; background: var(--soft); border-radius: 0.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.agenda-info { min-width: 0; display: flex; flex-direction: column; }
.agenda-event-title { font-weight: 600; }
.agenda-room-name { font-size: 11px; color: var(--muted); }

.spotlight-bare { display: flex; align-items: center; gap: 12px; }
.spotlight-halo-disc { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: flex-start; justify-content: center; }
.spotlight-halo-disc img { image-rendering: pixelated; }
.spotlight-meta-clean { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.spotlight-meta-clean span { color: var(--text-2); }

.activity-widget { padding: 0; overflow: hidden; }
.activity-widget-header { padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.feed-item:last-child { border-bottom: 0; }
.feed-avatar { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ph); overflow: visible; }
.feed-avatar > img:first-child { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.feed-avatar-logo { object-fit: contain !important; padding: 6px; }
.feed-avatar-mini { position: absolute; right: -6px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: var(--ph); object-fit: cover; }
.feed-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.feed-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.feed-text { line-height: 1.5; }
.feed-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.feed-time { flex: none; font-size: 11px; color: var(--muted); }
.feed-card { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 0.25rem; color: var(--ink); text-decoration: none; }
.feed-card-image { width: 100%; max-height: 160px; object-fit: cover; border-radius: 0.25rem; margin-bottom: 4px; }
.feed-card-title { font-weight: 700; }
.feed-card-excerpt { font-size: 12px; color: var(--text-2); }
.feed-empty { padding: 24px 16px; text-align: center; color: var(--muted); }

/* ---------- Açık artırma ---------- */
.auction-panel { display: flex; flex-direction: column; gap: 12px; }
.auction-stage { position: relative; min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 0.25rem; overflow: hidden; }
.auction-stage-banner-wrap { position: absolute; inset: 0; }
.auction-stage-banner { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; opacity: 0.35; }
.auction-stage-label { position: relative; display: flex; align-items: center; gap: 6px; padding: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: 0.25rem; font-weight: 700; }
.auction-stage-clock { width: 19px; height: 16px; image-rendering: pixelated; }
.auction-stage-item { position: relative; width: 130px; height: 130px; display: flex; align-items: center; justify-content: center; }
.auction-stage-spinner { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.auction-item-image { position: relative; max-width: 96px; max-height: 96px; image-rendering: pixelated; }
.auction-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.auction-box { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 0.25rem; }
.auction-box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.auction-box-head h4 { font-size: 13px; font-weight: 700; }
.auction-box-count { font-size: 11px; color: var(--muted); }
.auction-leader, .auction-bid-row { display: flex; align-items: center; gap: 10px; }
.auction-bid-list { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow: auto; }
.auction-avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ph); overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.auction-avatar.is-lg { width: 44px; height: 44px; }
.auction-avatar img { width: 100%; height: 100%; object-fit: cover; }
.auction-bidder { flex: 1; min-width: 0; }
.auction-bidder-name { font-weight: 700; }
.auction-bidder-sub { font-size: 11px; color: var(--muted); }
.auction-amount { flex: none; display: flex; align-items: center; gap: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.auction-amount img { width: 16px; height: 16px; object-fit: contain; image-rendering: pixelated; }
.auction-bid-form { display: flex; gap: 8px; }
.auction-bid-form input { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; border: 1px solid #cfd4db; border-radius: 0.25rem; background: #fff; }
.auction-empty { color: var(--muted); }

/* ---------- Haberler ---------- */
.news-search { margin: 0; }
.news-search-input { width: 100%; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid #cfd4db; border-radius: 0.25rem; font-size: 14px; }
.news-category-hint { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.news-category-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.news-category-tab, .pill-tab { min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; background: #fff; border: 1px solid #cfd4db; border-radius: 0.25rem; font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: none; }
.news-category-tab:hover, .pill-tab:hover { background: var(--soft); color: var(--ink); }
.news-category-tab.active, .pill-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-search-summary { margin-bottom: 8px; color: var(--muted); }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.news-list > .empty-state { grid-column: 1 / -1; border: 0; }
.news-list-item { display: flex; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 0.25rem; color: var(--ink); text-decoration: none; }
.news-list-item:hover { border-color: var(--accent); color: var(--ink); }
.news-list-thumb { flex: none; width: 72px; height: 72px; border-radius: 0.25rem; background: var(--ph); object-fit: cover; }
.news-list-title { font-weight: 700; line-height: 1.3; }
.news-list-meta { font-size: 11px; color: var(--muted); }
.news-list-desc { font-size: 12px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.news-pagination a, .news-pagination span { min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cfd4db; border-radius: 0.25rem; background: #fff; font-weight: 600; color: var(--ink); text-decoration: none; }
.news-pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-article-hero-meta { color: var(--muted); }
.news-article-body { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.news-article-body img { height: auto; border-radius: 0.25rem; }
.news-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.news-sidebar-box { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-sidebar-box > .muted-note-sm { padding: 14px 16px; }
.news-sidebar-title { padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.news-sidebar-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-weight: 600; text-decoration: none; }
.news-sidebar-link:hover { background: var(--soft); color: var(--ink); }
.news-sidebar-date { font-size: 11px; font-weight: 400; color: var(--muted); }

/* ---------- Ekip, gruplar, rozetler ---------- */
.staff-row-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.staff-clean-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; color: var(--ink); text-decoration: none; }
a.staff-clean-item:hover { border-color: var(--accent); color: var(--ink); }
.staff-clean-item > img { flex: none; width: 54px; height: 62px; object-fit: contain; image-rendering: pixelated; }
.item-name { display: block; font-size: 14px; font-weight: 700; }
.item-sub { display: block; font-size: 12px; color: var(--text-2); }
.item-desc { margin: 4px 0 10px; color: var(--text-2); }
.plain-card { margin-bottom: 12px; }

/* ---------- Sıralama ---------- */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding: 20px 16px 0; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; overflow: hidden; }
.podium-col { flex: 1 1 0; max-width: 180px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--ink); text-decoration: none; }
.podium-col img { height: 84px; width: auto; image-rendering: pixelated; }
.podium-name { font-size: 14px; font-weight: 700; }
.podium-value { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.podium-value img { width: 14px; height: 14px; }
.podium-block { align-self: stretch; margin-top: 4px; display: flex; align-items: center; justify-content: center; border-radius: 0.25rem 0.25rem 0 0; font-size: 20px; font-weight: 700; background: var(--ph); }
.podium-1 .podium-block { height: 84px; background: #fbbf24; }
.podium-2 .podium-block { height: 56px; }
.podium-3 .podium-block { height: 40px; background: #f3c9a0; }
.podium-2 { order: -1; }
.table-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; }
.section-block .table-scroll, .admin-card .table-scroll { border: 0; border-radius: 0; }
.leader-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.leader-table th { padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.leader-table td { padding: 8px 14px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.leader-table th.text-right { text-align: right; }
.leader-rank { width: 44px; font-weight: 700; color: var(--muted); }
.leader-rank-1, .leader-rank-2, .leader-rank-3 { color: var(--accent-ink); }
.leader-user { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.leader-user img { width: 32px; height: 32px; border-radius: 50%; background: var(--ph); object-fit: cover; }
.leader-amount { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.leader-amount img { width: 15px; height: 15px; margin-left: 6px; vertical-align: -2px; image-rendering: pixelated; }

/* ---------- Mağaza, fotoğraflar ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; }
.shop-toolbar .section-title { margin-bottom: 0; }
.shop-items-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.shop-clean-item { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; }
.shop-clean-item form { margin: auto 0 0; align-self: stretch; }
.shop-clean-item form .btn, .shop-clean-item form .btn-play-habbo { width: 100%; }
.shop-item-icon { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; }
.shop-item-emoji { width: 56px; height: 56px; border-radius: 0.25rem; background: var(--ph); font-size: 0; }
.photo-card { padding: 8px; }
.photo-card img { width: 100%; border-radius: 0.25rem; display: block; }
.photo-card-meta { font-weight: 600; }

/* ---------- Karşılama (misafir) ---------- */
.landing-stats-row { display: flex; flex-wrap: wrap; gap: 8px; }
.landing-stat { display: flex; align-items: baseline; gap: 6px; padding: 6px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; }
.landing-stat strong { font-variant-numeric: tabular-nums; }
.landing-stat span { font-size: 12px; color: var(--muted); }
.landing-intro { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.landing-intro p { max-width: 520px; font-size: 14px; color: var(--text-2); }
.landing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.landing-feature-card { padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; }
.landing-feature-icon { display: none; }
.landing-feature-title { font-weight: 700; }
.landing-feature-desc { font-size: 12px; color: var(--text-2); }

/* ---------- Yönetim paneli ---------- */
.admin-shell { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.admin-shell > div { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.admin-nav { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; }
.admin-nav a { min-height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 8px; border-radius: 0.25rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.admin-nav a:hover { background: var(--soft); }
.admin-nav a.active { background: var(--accent-soft); color: var(--accent-ink); }
.admin-nav-group-label { padding: 10px 10px 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.admin-page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.admin-page-header .section-title { margin-bottom: 0; }
.admin-card-title { margin-bottom: 10px; font-weight: 700; }
.admin-card.is-narrow { max-width: 480px; }
.admin-card.is-medium { max-width: 640px; }
.admin-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.admin-stat-card { display: flex; flex-direction: column; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; }
.admin-stat-value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-stat-label { font-size: 12px; color: var(--muted); }
.id-suffix { color: var(--muted); font-weight: 400; }

/* ---------- Alt bilgi ---------- */
.site-footer-wrap { margin-top: auto; background: var(--card); border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; font-size: 12px; color: var(--text-2); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }
.footer-links a { min-height: 40px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--link); }
.footer-copy { font-weight: 600; color: var(--ink); }

/* ---------- Bakım sayfası ---------- */
.maint-body { background: var(--bg); }
.maint-banner { background: var(--dark); }
.maint-banner-inner { max-width: 560px; margin: 0 auto; padding: 36px 16px 72px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.maint-logo { width: 232px; height: auto; image-rendering: pixelated; }
.maint-page { width: 100%; max-width: 560px; margin: -44px auto 0; padding: 0 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.maint-card { background: var(--card); border: 1px solid var(--line); border-radius: 0.25rem; box-shadow: none; overflow: hidden; }
.maint-main { padding: 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.maint-tag { padding: 2px 12px; background: var(--accent-soft); color: var(--accent-ink); border-radius: 0.25rem; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.maint-main h1 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.maint-desc { max-width: 420px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.maint-eta { font-weight: 600; }
.maint-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.maint-unit { background: #fff; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; }
.maint-unit-box { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.maint-unit-label { font-size: 11px; color: var(--muted); }
.maint-actions { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.maint-db-note { padding: 10px 20px; border-top: 1px solid var(--line); text-align: center; color: var(--red); font-weight: 600; }
.maint-footer { text-align: center; font-size: 12px; color: var(--text-2); }
.maint-overlay { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(28, 31, 38, 0.55); }
.maint-overlay.is-open { display: flex; }
.maint-modal { width: 100%; max-width: 380px; padding: 18px; background: #fff; border-radius: 0.25rem; display: flex; flex-direction: column; gap: 10px; }
.maint-modal h2 { font-size: 16px; font-weight: 700; }
.maint-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }

@media (max-width: 640px) {
  .banner-inner { padding-top: 16px; }
  .banner-logo img { width: 180px; }
  .nav-menu { position: static; width: 100%; box-shadow: none; }
  .nav-tabs, .nav-item { width: 100%; }

}

/* ---------- Kart içi dolgu düzeltmeleri ---------- */
.editorial-feed > .card-flush, .sidebar-feed > .card-flush,
.editorial-feed > .profile-card, .sidebar-feed > .profile-card,
.editorial-feed > .activity-widget, .sidebar-feed > .activity-widget { padding: 0; overflow: hidden; }
.auth-row > .card-flush { padding: 0; }

/* Yüklenemeyen görseller (public/js/enhance.js) */
.img-failed { visibility: hidden; }
.banner-bg.img-failed { display: none; }

/* ---------- Tasarımla birebir ölçüler ---------- */
/* Beyaz (ikincil) buton: 12px / 600, büyük harf yok, 36px. Renkli butonlar: 13px / 700, büyük harf, 40px. */
.btn { min-height: 36px; padding: 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.btn-play-habbo, .btn-oyna, .btn-primary, .btn-green, .btn-blue, .btn-orange, .btn-dark, .btn-danger, .auction-bid-form button, .auction-bid-login { min-height: 40px; padding: 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; }
.btn-lg { min-height: 44px; padding: 0 22px; font-size: 14px; }
.form-submit { min-height: 44px; font-size: 14px; }

/* Sayfa başlığı içerikte (tasarımdaki h1 20px/700 + 13px açıklama); banner yalnızca logo ve çevrimiçi sayısı. */
.page-head { display: flex; flex-direction: column; gap: 2px; }
.page-head h1 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.page-head p { color: var(--text-2); }
.content-canvas > .section-title, .page-narrow > .section-title { margin-bottom: 0; font-size: 20px; }
.section-eyebrow { display: none; }
.badge-pill { margin-left: 6px; }

/* Kart başlığı: 13px/700, 12px 16px dolgu, altında ince çizgi (tasarımdaki .hd). */
.editorial-feed > div > .section-title, .editorial-feed > section > .section-title,
.sidebar-feed > div > .section-title, .editorial-feed > div > div > .section-title, .sidebar-feed > div > div > .section-title {
  margin: -14px -16px 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700;
}
.auth-card { padding: 16px; }
.auth-card > .section-title { margin: -16px -16px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.shop-toolbar .section-title { font-size: 20px; }
.admin-page-header .section-title { font-size: 20px; }
.subsection-title { font-size: 13px; }

/* Açılır menü: 200px, satır 44px, başlık 13px/600 + 11px açıklama. */
.nav-tab-btn { gap: 4px; }
.nav-menu { width: 200px; }
.nav-menu-link { min-height: 44px; padding: 4px 8px; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.3; }
.nav-menu-desc { font-size: 11px; font-weight: 400; color: var(--muted); }
.nav-menu-link.active .nav-menu-desc { color: var(--accent-ink); }
.nav-menu-form .nav-menu-link { min-height: 40px; }

/* Ana sayfa haber kutuları: 84px görsel, 13px/600 başlık, 11px bilgi. */
.news-card-thumb.is-empty { display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--text-2); }
.profile-card-top .muted-note { font-size: 12px; }
.wallet-row { font-size: 13px; }

/* ---------- Tasarım şablonlarıyla uyum ---------- */
.news-article-body.is-plain { padding: 0; border: 0; border-radius: 0; background: transparent; }
.d-btn2.d-on { background: #fef3c7; border-color: #f59e0b; font-weight: 700; }
.site-nav:empty { display: none; }
.nav-menu-form .nav-menu-link { border: 0; background: transparent; }

/* ---------- Mavi banner ve otel görseli ---------- */
/* Görsel: public/images/header-hotel.gif — dosya yoksa yalnızca mavi zemin görünür. */
.banner-hotel { position: absolute; inset: 0; background: url(/images/header-hotel.gif) no-repeat right 32% / 1350px auto; image-rendering: pixelated; pointer-events: none; }
.site-top .banner-hotel.is-center { background-position: center 36%; opacity: 0.9; }
