/* Piksel ikon katmanı. İkonlar public/images/icons altında (Habbo katalog
   ikonları, doğal boyutlarında ~12-20px). Yalnızca görsel; düzen ve
   davranış habron-v2.css / habron-design.css içinde kalır. */

.ic { flex: none; image-rendering: pixelated; vertical-align: middle; }
.ic-2x { transform: scale(2); }

/* İkon + metin: başlık, etiket ve sekmelerde aynı hizalama. */
.ic-t { display: inline-flex; align-items: center; gap: 8px; }
h1.ic-t, h2.ic-t { display: flex; }
.ic-c { justify-content: center; }
.d-mut.ic-t { gap: 5px; }
.ic-row { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Sekme ve haplar: ikon ile yazı arasında boşluk. */
.d-pl { gap: 6px; }
.d-tabx { display: inline-flex; align-items: center; gap: 6px; }

/* Açılır menü: ikon solda, başlık ve açıklama sağda iki satır. */
.nav-menu-link.has-ic { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; align-items: center; justify-items: start; }
.nav-menu-link.has-ic > .ic { grid-row: 1 / span 2; justify-self: center; }
.nav-menu-link.has-ic > span { grid-column: 2; }

/* Cüzdan: renkli noktalar yerine gerçek para birimi ikonları. */
.d-dot-credits, .d-dot-diamonds, .d-dot-duckets, a.d-row[href="/shop/vip"] .d-dot {
  width: 16px; height: 16px; border-radius: 0; background-color: transparent;
  background-position: center; background-repeat: no-repeat; image-rendering: pixelated;
}
.d-dot-credits { background-image: url(/images/icons/credits.png); }
.d-dot-diamonds { height: 18px; background-image: url(/images/icons/diamonds.png); }
.d-dot-duckets { background-image: url(/images/icons/duckets.png); }
a.d-row[href="/shop/vip"] .d-dot { background-image: url(/images/icons/vip.png); }

/* VIP rozeti: taç. */
.d-vip { display: inline-flex; align-items: center; gap: 4px; }
.d-vip::before { content: ""; width: 15px; height: 13px; background: url(/images/icons/crown.png) center no-repeat; image-rendering: pixelated; }

/* Boş durumlar: metnin üstünde küçük bir piksel görsel. */
.empty-state::before,
.d-x099bd14::before,
.d-x8617a27::before,
.d-x62e4235::before {
  content: ""; display: block; flex: none; width: 36px; height: 34px; margin: 0 auto 10px;
  background: url(/images/icons/dove.png) center / 36px 34px no-repeat; image-rendering: pixelated; opacity: 0.85;
}

/* Yer tutucular artık ikon taşıyor; gri zemin biraz daha yumuşak. */
.d-ph > .ic { opacity: 0.9; }

/* ---- Menü çubuğu: sağda Discord düğmesi ve kullanıcı alanı (avatar, ad,
   kredi; açılır menüde cüzdan, profil, ayarlar, çıkış). ---- */
.nav-bar { padding-top: 8px; padding-bottom: 8px; }
.nav-tabs { flex: 1 1 auto; align-items: center; gap: 2px 6px; }
.nav-tab-btn { min-height: 48px; padding: 0 12px; gap: 7px; font-size: 15px; }
.nav-user { margin-left: auto; }
.dc-logo { flex: none; }
.nav-user > .nav-tab-btn { padding: 0 8px 0 6px; gap: 8px; border-radius: 0.25rem; }
.nav-user > .nav-tab-btn:hover, .nav-user:hover > .nav-tab-btn { background: var(--soft); }
.nav-user-ava { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #DDEFF8; object-fit: cover; object-position: center 25%; }
.nav-user-t b { font-size: 13px; font-weight: 700; color: var(--ink); }
.nav-user-t small { font-size: 11px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-user > .nav-menu { left: auto; right: 0; width: 230px; }
.nav-wallet { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 4px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line-soft); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nav-wallet span { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 640px) {
  .nav-user > .nav-menu { right: auto; left: 0; }
}

/* ---- Ana sayfa profil kartı: kapak görseli, yuvarlak avatar, ikonlu sayılar. ---- */
.pc-cover { height: 76px; overflow: hidden; }
.pc-cover-img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.pc-body { margin-top: -46px; padding: 0 16px 14px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.pc-ava { width: 88px; height: 88px; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; border-radius: 50%; border: 3px solid #FFFFFF; background: #DDEFF8; box-shadow: none; }
.pc-ava img { flex: none; height: 110px; width: auto; margin-top: 4px; }
.pc-name { margin: 6px 0 0; font-size: 17px; font-weight: 700; }
.pc-motto { font-size: 12px; color: #5F6875; overflow-wrap: anywhere; }

/* ---- Sosyal medya kartı: çizgili gri zemin, beyaz satırlar, solda sağa
   doğru sivrilen renkli logo sekmesi. ---- */
.sc-card { padding: 12px; display: flex; flex-direction: column; gap: 8px; border: 1px solid #D5D9DF; border-radius: 0.25rem; background: #ECEEF1 repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0 6px, transparent 6px 12px); }
.sc-title { margin: 0 2px 2px; font-size: 13px; font-weight: 700; color: #6B7280; }
.sc-row { min-height: 46px; display: flex; align-items: center; gap: 12px; overflow: hidden; background: #FFFFFF; border: 1px solid #DADEE4; border-radius: 0.25rem; box-shadow: none; font-size: 13px; font-weight: 700; color: #3A3F47; text-decoration: none; }
.sc-row:hover { color: #1C1F26; border-color: #B9C0C9; }
.sc-badge { flex: none; align-self: stretch; width: 60px; padding-right: 10px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; color: #FFFFFF; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); transition: filter 0.15s ease; }
.sc-row:hover .sc-badge { filter: brightness(1.1); }
.sc-logo { flex: none; }
.sc-text { min-width: 0; padding-right: 12px; line-height: 1.3; }
.sc-x { background: #1E2328; }
.sc-ig { background: linear-gradient(200deg, #7C3AED 0%, #E1306C 50%, #F59E0B 100%); }
.sc-dc { background: #5865F2; }
.sc-tt { background: #111111; }
.sc-row.is-off { cursor: default; }
.sc-row.is-off .sc-text { color: #6B7280; }
.sc-soon { flex: none; margin-left: auto; margin-right: 10px; padding: 2px 8px; border-radius: 0.25rem; background: #EEF0F3; font-size: 10px; font-weight: 700; color: #6B7280; }

/* ---- Çevrimiçi sıralama: ilk üç sıra altın, gümüş, bronz. Zeminde o
   sekmenin para birimi ikonu (kredi, ducket, elmas) desen olarak döşenir. ---- */
.d-rank-row { position: relative; }
.d-rank-row > * { position: relative; z-index: 1; }
.d-rank-row:nth-child(-n+3) { overflow: hidden; }
.d-rank-row:nth-child(-n+3)::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.2; background-repeat: repeat-x; background-position: 0 center; image-rendering: pixelated; pointer-events: none; }
[data-panel="credits"] .d-rank-row:nth-child(-n+3)::before { background-image: url(/images/icons/coins-credits.png); }
[data-panel="duckets"] .d-rank-row:nth-child(-n+3)::before { background-image: url(/images/icons/coins-duckets.png); }
[data-panel="diamonds"] .d-rank-row:nth-child(-n+3)::before { background-image: url(/images/icons/coins-diamonds.png); }

.d-rank-row:nth-child(1) { background: linear-gradient(180deg, #FFF6D6 0%, #FCE9A9 100%); border-bottom-color: #EBD08A; }
.d-rank-row:nth-child(2) { background: linear-gradient(180deg, #F7F8FA 0%, #E8EBEF 100%); border-bottom-color: #D5DAE0; }
.d-rank-row:nth-child(3) { background: linear-gradient(180deg, #FCEFE3 0%, #F4DAC2 100%); border-bottom-color: #E3C3A5; }
.d-rank-row:nth-child(-n+3) .d-rank-desc { color: #5F6875; }
.d-rank-row:nth-child(-n+3) .d-rank-name, .d-rank-row:nth-child(-n+3) .d-rank-value { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55); }
.d-rank-row:nth-child(-n+3) .d-rank-follow:hover { background: rgba(255, 255, 255, 0.35); }
.d-rank-row:nth-child(1) .d-rank-square { background: #FDEFC0; border-right-color: #EBD08A; }
.d-rank-row:nth-child(2) .d-rank-square { background: #ECEEF2; border-right-color: #D5DAE0; }
.d-rank-row:nth-child(3) .d-rank-square { background: #F7E2CF; border-right-color: #E3C3A5; }
.d-rank-row:nth-child(1) .d-rank-follow { border-left-color: #EBD08A; }
.d-rank-row:nth-child(2) .d-rank-follow { border-left-color: #D5DAE0; }
.d-rank-row:nth-child(3) .d-rank-follow { border-left-color: #E3C3A5; }

/* Sıralama sekmeleri: her para birimi ikonunun arkasında kendi renginde şeffaf zemin. */
.d-rank-tab[data-tab="credits"] { background: rgba(245, 158, 11, 0.1); }
.d-rank-tab[data-tab="duckets"] { background: rgba(168, 85, 247, 0.1); }
.d-rank-tab[data-tab="diamonds"] { background: rgba(34, 184, 207, 0.1); }
.d-rank-tab[data-tab="credits"]:hover { background: rgba(245, 158, 11, 0.28); }
.d-rank-tab[data-tab="duckets"]:hover { background: rgba(168, 85, 247, 0.28); }
.d-rank-tab[data-tab="diamonds"]:hover { background: rgba(34, 184, 207, 0.28); }
.d-rank-tab[data-tab="credits"].d-on { background: rgba(245, 158, 11, 0.26); box-shadow: inset 0 -3px 0 #F59E0B; }
.d-rank-tab[data-tab="duckets"].d-on { background: rgba(168, 85, 247, 0.24); box-shadow: inset 0 -3px 0 #A855F7; }
.d-rank-tab[data-tab="diamonds"].d-on { background: rgba(34, 184, 207, 0.26); box-shadow: inset 0 -3px 0 #22B8CF; }

/* Sıralama: arkadaş ekleme ikonunun arkasında küçük, soluk buz mavisi kare;
   üzerine gelince ikon büyür. */
.d-rank-follow img { box-sizing: content-box; padding: 5px; border-radius: 0.25rem; background: rgba(224, 242, 254, 0.9); border: 1px solid rgba(125, 211, 252, 0.55); transition: transform 0.15s ease, background-color 0.15s ease; }
.d-rank-follow:hover, .d-rank-row:nth-child(-n+3) .d-rank-follow:hover { background: transparent; }
.d-rank-follow:hover img, .d-rank-follow:focus-visible img { transform: scale(1.22); background: rgba(186, 230, 253, 0.95); }
@media (prefers-reduced-motion: reduce) { .d-rank-follow img { transition: none; } }

/* ---- Profil kartı bakiye şeridi: üstte siyah VIP şeridi, altında birbirine
   ok uçlarıyla geçen kredi (sarı), elmas (turkuaz) ve ducket (mor) blokları. ---- */
.pc-bar { padding: 0 8px 14px; display: flex; flex-direction: column; gap: 6px; }
.pc-seg { min-width: 0; height: 36px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.16); }
.pc-seg-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-vip { padding: 0 12px; justify-content: flex-start; border-radius: 0.25rem; background: #1C1F26; color: #FFFFFF; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), inset 0 -3px 0 rgba(0, 0, 0, 0.35); }
a.pc-vip:hover { background: #2A2F3A; color: #FFFFFF; }
.pc-vip-tag { flex: none; padding: 1px 6px; border-radius: 0.25rem; background: #FACC15; color: #1C1F26; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.pc-chain { display: flex; }
.pc-chain .pc-seg { flex: 1 1 auto; gap: 4px; padding: 0 11px 0 14px; margin-left: -8px; font-size: 11px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); }
.pc-credits { order: 1; background: #FACC15; color: #3B2F00; }
.pc-diamonds { order: 2; background: #4FD1E0; color: #06363D; }
.pc-duckets { order: 3; background: #A855F7; color: #FFFFFF; }
.pc-chain .pc-duckets { padding-right: 9px; border-radius: 0 0.25rem 0.25rem 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%); }

/* ---- Bildirimler (toast): beyaz kart, renkli ikon kutusu, altta süre çubuğu,
   sağdan kayarak girer. İşaretleme: views/partials/flash.njk. ---- */
.toast-stack { top: 18px; right: 18px; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast, .toast.toast-success, .toast.toast-error { position: relative; overflow: hidden; justify-content: flex-start; gap: 12px; padding: 12px 10px 15px 12px; background: #FFFFFF; border: 1px solid #E1E4E9; border-radius: 0.25rem; box-shadow: none; font-size: 13px; font-weight: 600; line-height: 1.4; color: #1C1F26; animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.toast.leaving { opacity: 0; transform: translateX(24px); animation: none; }
.toast-ic { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 0.25rem; background: #22A854; color: #FFFFFF; }
.toast-error .toast-ic { background: #E5484D; }
.toast-like .toast-ic { background: #FFE4EA; }
.toast-comment .toast-ic { background: #E0F2FE; }
.toast-info .toast-ic { background: #64748B; }
.toast-msg { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.toast-close { width: 26px; height: 26px; border-radius: 0.25rem; color: #8A93A0; }
.toast-close:hover { background: #F1F2F4; color: #1C1F26; }
.toast-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #22A854; transform-origin: left center; animation: toastBar 6s linear forwards; }
.toast-bar.is-short { animation-duration: 3.5s; }
.toast-error .toast-bar { background: #E5484D; }
.toast-like .toast-bar { background: #F43F5E; }
.toast-comment .toast-bar { background: #38BDF8; }
.toast-info .toast-bar { background: #64748B; }
@keyframes toastSlideIn { from { opacity: 0; transform: translateX(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } .toast-bar { animation: none; transform: scaleX(0); } }

/* ---- Haber kartlarında yayınlayan: küçük yuvarlak avatar + kullanıcı adı. ---- */
.na { margin-top: 3px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #1C1F26; }
.na-ava { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #E4E7EB; object-fit: cover; object-position: center 20%; image-rendering: pixelated; }

/* Haber metni düz metindir: paragraf boşlukları ve satır sonları korunur. */
.news-article-body.is-plain { white-space: pre-line; }
.pc-chain .pc-vipseg { order: 0; flex: 0 0 auto; margin-left: 0; padding-left: 9px; border-radius: 0.25rem 0 0 0.25rem; background: #1C1F26; color: #FFFFFF; font-size: 10px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), inset 0 -3px 0 rgba(0, 0, 0, 0.35); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
a.pc-vipseg:hover { background: #2A2F3A; color: #FFFFFF; }

/* ---- Anket (gönderi içinde): şıklar alt alta, dolgu oy oranını gösterir,
   altında oy verenler. Genişlikler sınıfla verilir (CSP satır içi stile izin vermez). ---- */
.poll { margin: 8px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.poll-form { margin: 0; }
.poll-btn { position: relative; overflow: hidden; width: 100%; min-height: 40px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; background: #FFFFFF; border: 1px solid #D5DAE0; border-radius: 0.25rem; font: inherit; font-size: 13px; font-weight: 600; color: #1C1F26; text-align: left; }
button.poll-btn { cursor: pointer; }
button.poll-btn:hover { border-color: #F59E0B; }
.poll-opt.is-chosen .poll-btn { border-color: #F59E0B; box-shadow: inset 0 0 0 1px #F59E0B; }
.poll-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #FEF3C7; }
.poll-opt.is-chosen .poll-fill { background: #FDE68A; }
.poll-w-5 { width: 5%; } .poll-w-10 { width: 10%; } .poll-w-15 { width: 15%; } .poll-w-20 { width: 20%; } .poll-w-25 { width: 25%; } .poll-w-30 { width: 30%; } .poll-w-35 { width: 35%; } .poll-w-40 { width: 40%; } .poll-w-45 { width: 45%; } .poll-w-50 { width: 50%; } .poll-w-55 { width: 55%; } .poll-w-60 { width: 60%; } .poll-w-65 { width: 65%; } .poll-w-70 { width: 70%; } .poll-w-75 { width: 75%; } .poll-w-80 { width: 80%; } .poll-w-85 { width: 85%; } .poll-w-90 { width: 90%; } .poll-w-95 { width: 95%; } .poll-w-100 { width: 100%; }
.poll-btn > :not(.poll-fill) { position: relative; z-index: 1; }
.poll-letter { flex: none; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 0.25rem; background: #1C1F26; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.poll-label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.poll-count { flex: none; font-size: 11px; font-weight: 600; color: #5F6875; font-variant-numeric: tabular-nums; }
.poll-voters { padding: 5px 2px 2px 42px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.poll-voter { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #4B5563; text-decoration: none; }
a.poll-voter:hover { color: #1C1F26; }
.poll-voter-ava { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #E4E7EB; object-fit: cover; object-position: center 20%; image-rendering: pixelated; }
.poll-new { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.poll-new[hidden] { display: none; }
.poll-new-row { display: flex; align-items: center; gap: 8px; }
.poll-new-row .d-inp { flex: 1 1 auto; min-width: 0; }
.poll-actions { display: flex; align-items: center; gap: 8px; }

/* ---- Ana sayfa haber kaydırıcısı: tek seferde bir büyük haber, yana kayar. ---- */
.ns { position: relative; }
.ns-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ns-track::-webkit-scrollbar { display: none; }
.ns-slide { position: relative; flex: 0 0 100%; height: 330px; display: block; overflow: hidden; scroll-snap-align: start; color: #FFFFFF; text-decoration: none; }
.ns-slide:hover { color: #FFFFFF; }
.ns-img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform 0.6s ease; }
.ns-slide:hover .ns-img { transform: scale(1.04); }
.ns-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 22px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; background: linear-gradient(180deg, rgba(15, 17, 22, 0) 0%, rgba(15, 17, 22, 0.55) 45%, rgba(15, 17, 22, 0.92) 100%); }
.ns-tag { padding: 3px 10px; border-radius: 4px; background: #F59E0B; color: #1C1F26; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: none; }
.ns-title { font-size: 26px; font-weight: 700; line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.ns-desc { max-width: 560px; font-size: 13px; line-height: 1.45; opacity: 0.92; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ns-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; opacity: 0.95; }
.ns-nav { position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -30px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: #1C1F26; box-shadow: none; cursor: pointer; opacity: 0; transition: opacity 0.15s ease; }
.ns:hover .ns-nav, .ns-nav:focus-visible { opacity: 1; }
.ns-nav:hover { background: #FFFFFF; }
.ns-prev { left: 12px; }
.ns-next { right: 12px; }
.ns-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.ns-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.5); cursor: pointer; pointer-events: auto; transition: width 0.2s ease, background-color 0.2s ease; }
.ns-dot.is-on { width: 22px; background: #FFFFFF; }
@media (hover: none) { .ns-nav { opacity: 1; } }
@media (max-width: 640px) { .ns-slide { height: 230px; } .ns-title { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .ns-img { transition: none; } }

/* Haber kutusu: başlıksız, kaydırıcı kartı tamamen doldurur; belirgin gölge ve
   alt kenarda süre çubuğu. */
.d-card.ns-card { border: 1px solid #E1E4E9; border-radius: 0.25rem; box-shadow: none; }
.ns-card .ns-slide::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.14); border-radius: 0.25rem; pointer-events: none; }
.ns-all { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 0.25rem; background: rgba(15, 17, 22, 0.62); color: #FFFFFF; font-size: 11px; font-weight: 700; text-decoration: none; backdrop-filter: blur(4px); }
.ns-all:hover { background: rgba(15, 17, 22, 0.85); color: #FFFFFF; }
.ns-bar { position: absolute; left: 0; bottom: 0; z-index: 2; height: 4px; width: 100%; background: #F59E0B; transform: scaleX(0); transform-origin: left center; }
.ns-bar.is-running { animation: nsBar 6s linear forwards; }
@keyframes nsBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ns-card .ns-nav { width: 38px; height: 38px; }
@media (max-width: 640px) { .ns-card .ns-slide { height: 250px; } .ns-card .ns-title { font-size: 20px; } .ns-card .ns-cap { padding: 60px 16px 36px; } }

/* ---- Ana sayfa açık artırması: mağazadaki bileşenin (auction-widget) aynısı,
   .ah içinde daha küçük ölçülerle. ---- */
.ah { padding: 12px 14px; scroll-margin-top: 90px; }
.ah .auction-panel { gap: 10px; }
.ah .auction-stage { min-height: 92px; padding: 8px 12px; font-size: 12px; }
.ah .auction-stage-item { width: 86px; height: 86px; }
.ah .auction-item-image { max-width: 60px; max-height: 60px; }
.ah .auction-stage-label { padding: 3px 8px; }
.ah .auction-columns { gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ah .auction-box { padding: 10px; gap: 8px; }
.ah .auction-box-head h4 { margin: 0; font-size: 12px; }
.ah .auction-avatar.is-lg { width: 36px; height: 36px; }
.ah .auction-avatar { width: 28px; height: 28px; }
.ah .auction-bidder-name { margin: 0; font-size: 13px; }
.ah .auction-bidder-sub { margin: 0; }
.ah .auction-bid-list { max-height: 112px; gap: 6px; }
.ah .auction-bid-form input { min-height: 36px; font-size: 13px; }
.ah .auction-bid-form button, .ah .auction-bid-login { min-height: 36px; padding: 0 14px !important; font-size: 12px; }

/* Tema uyumlu açılır liste (public/js/enhance.js, select[data-ui-select]). */
.composer-select { height: 36px; padding: 0 8px; font-size: 13px; }
.ui-select-native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.ui-select { position: relative; display: inline-block; }
.ui-select-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 132px; height: 36px; padding: 0 10px 0 12px; box-sizing: border-box; background: #FFFFFF; border: 1px solid #CFD4DB; border-radius: 0.25rem; color: #1C1F26; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.ui-select-btn:hover { border-color: #9AA1AC; }
.ui-select-btn:focus-visible, .ui-select.is-open .ui-select-btn { outline: 0; border-color: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22); }
.ui-select-text { flex: 1 1 auto; text-align: left; white-space: nowrap; }
.ui-select-chevron { flex: none; display: flex; color: #5F6875; transition: transform 0.15s ease; }
.ui-select.is-open .ui-select-chevron { transform: rotate(180deg); }
.ui-select-list { position: absolute; left: 0; top: calc(100% + 4px); z-index: 60; min-width: 100%; margin: 0; padding: 4px; list-style: none; box-sizing: border-box; background: #FFFFFF; border: 1px solid #E1E4E9; border-radius: 0.25rem; box-shadow: none; outline: 0; }
.ui-select-list[hidden] { display: none; }
.ui-select.is-up .ui-select-list { top: auto; bottom: calc(100% + 4px); }
.ui-select-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 10px; border-radius: 0.25rem; font-size: 13px; font-weight: 500; color: #1C1F26; white-space: nowrap; cursor: pointer; }
.ui-select-option.is-active { background: #F3F4F6; }
.ui-select-option[aria-selected="true"] { font-weight: 700; }
.ui-select-check { display: flex; color: #F59E0B; visibility: hidden; }
.ui-select-option[aria-selected="true"] .ui-select-check { visibility: visible; }
/* Composer: .d-card hat overflow:hidden und würde die geöffnete Liste abschneiden. */
.d-card.d-xf9be8b4 { overflow: visible; }

/* ---- Etkinlik satırları (menüdeki etkinlikler açılır listesinde kullanılır). ---- */
.ev-row { padding: 10px 14px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #EEF0F3; color: #1C1F26; text-decoration: none; }
.ev-row:first-of-type { border-top: 0; }
.ev-row:hover { background: #FFFBEB; color: #1C1F26; }
.ev-time { flex: none; width: 58px; padding: 5px 0; display: flex; flex-direction: column; align-items: center; line-height: 1.2; background: #FEF3C7; border-radius: 0.25rem; font-variant-numeric: tabular-nums; }
.ev-time b { font-size: 14px; }
.ev-time small { font-size: 10px; font-weight: 600; color: #92400E; }
.ev-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.ev-type { padding: 1px 7px; border-radius: 0.25rem; background: #EEF0F3; font-size: 10px; font-weight: 700; color: #4B5563; }
.ev-empty { margin: 0; padding: 18px 16px; text-align: center; font-size: 12px; color: #5F6875; }

/* ---- Gruplar: kart başına ad, üye sayısı, kurucu, grup odası, kuruluş. ---- */
.gr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gr { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.gr-head { display: flex; align-items: center; gap: 12px; }
.gr-badge { flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #FEF3C7; border: 1px solid #F0D48A; border-radius: 0.25rem; }
.gr-title { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gr-name { margin: 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.gr-count { align-self: flex-start; padding: 1px 8px; border-radius: 0.25rem; background: #1C1F26; color: #FFFFFF; font-size: 11px; font-weight: 700; }
.gr-desc { margin: 0; font-size: 12px; line-height: 1.5; color: #4B5563; overflow-wrap: anywhere; }
.gr-meta { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #EEF0F3; }
.gr-owner { display: inline-flex; align-items: center; gap: 8px; color: #1C1F26; text-decoration: none; }
.gr-owner > span, .gr-facts > span { display: flex; flex-direction: column; line-height: 1.3; font-size: 12px; }
.gr-facts { display: flex; gap: 16px; text-align: right; }
.gr-ava { width: 28px; height: 28px; }

/* ---- Anı Kutusu: otelden paylaşılan fotoğraflar. ---- */
.ak-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ak { margin: 0; display: flex; flex-direction: column; }
.ak-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #E4E7EB; image-rendering: pixelated; }
.ak-cap { padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ak-user { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #1C1F26; text-decoration: none; }

/* ---- Menü: profilin solunda takvim düğmesi ve yaklaşan etkinlikler listesi. ---- */
.nav-events { margin-left: auto; }
.nav-events + .nav-user { margin-left: 4px; }
.nav-events-btn { position: relative; padding: 0 10px; background: transparent; border: 0; border-radius: 0.25rem; font: inherit; cursor: pointer; }
.nav-events-btn:hover, .nav-events:hover > .nav-events-btn, .nav-events.is-open > .nav-events-btn { background: var(--soft); }
.nav-events-ic { width: 20px; height: 20px; }
.nav-events-count { position: absolute; right: 2px; top: 6px; min-width: 16px; height: 16px; box-sizing: border-box; padding: 0 4px; display: flex; align-items: center; justify-content: center; border-radius: 0.25rem; background: #E5484D; color: #FFFFFF; font-size: 10px; font-weight: 700; line-height: 1; box-shadow: none; }
.nav-events > .nav-menu { left: auto; right: 0; width: 236px; padding: 0; overflow: hidden; border-radius: 0.25rem; box-shadow: none; }
.nav-events-head { padding: 8px 12px; border-bottom: 1px solid var(--line-soft); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.nav-events-all { padding: 7px 12px; border-top: 1px solid var(--line-soft); font-size: 11px; font-weight: 600; text-align: center; text-decoration: none; }
@media (max-width: 640px) { .nav-events { margin-left: 0; } .nav-events > .nav-menu { right: auto; left: 0; width: min(236px, calc(100vw - 32px)); } }
/* Etkinlik listesi menüde küçük ve sade: dar satırlar, küçük saat kutusu. */
.nav-events .ev-row { padding: 7px 12px; gap: 9px; }
.nav-events .ev-time { width: 42px; padding: 3px 0; border-radius: 0.25rem; background: #FFF7E0; }
.nav-events .ev-time b { font-size: 12px; }
.nav-events .ev-time small { font-size: 9px; }
.nav-events .ev-title { gap: 5px; font-size: 12px; font-weight: 600; }
.nav-events .ev-type { padding: 0 6px; font-size: 9px; font-weight: 600; }
.nav-events .ev-info .d-mut { font-size: 10px; }
.nav-events .ev-empty { padding: 12px; font-size: 11px; }
.nav-events-count { min-width: 14px; height: 14px; font-size: 9px; top: 8px; right: 3px; }

/* Çevrimiçi sıralaması kutusu: daha yuvarlak köşeler ve yumuşak gölge. */
.d-card.d-rank { border: 0; border-radius: 0.25rem; box-shadow: none; }
