/* Pik Hotel V2 - tasarim sistemi
   Antrasit/fume zemin, hafif mor tonlu koyu gri paneller, mat turuncu ve altin vurgular, kirik beyaz yazi. */
:root {
    --bg-0: #0e0e11;
    --bg-1: #131317;
    --bg-2: #17161b;
    --panel: #1b1a20;
    --panel-2: #211f27;
    --panel-3: #28252f;
    --line: #2d2a34;
    --line-2: #3a3643;
    --text: #ece7df;
    --text-2: #d6d0c7;
    --muted: #a7a19a;
    --faint: #7a757d;
    --orange: #e3862f;
    --orange-2: #c56d1f;
    --orange-soft: rgba(227, 134, 47, .14);
    --gold: #e2b04a;
    --gold-2: #b98a33;
    --green: #5bbf73;
    --red: #d9655f;
    --blue: #4f8fd1;
    --radius: 16px;
    --radius-sm: 11px;
    --shadow: 0 8px 24px rgba(0, 0, 0, .32);
    --grad-orange: linear-gradient(180deg, #ec9439, #d0731f);
    --grad-gold: linear-gradient(180deg, var(--gold), #c98c2e);
    --max: 1600px;
    --topbar-bg: rgba(17, 16, 20, .9);
    --menu-bg: rgba(17, 16, 20, .98);
    --soft: rgba(255, 255, 255, .025);
    --avatar-bg: radial-gradient(circle at 50% 70%, #3a3442, #221f28);
    --err-text: #f2b8b4;
    --ok-text: #b5e6c1;
    --published-text: #a8dcb4;
    color-scheme: dark;
}

/* Acik tema: krem zemin, sicak acik paneller, ayni turuncu ve altin vurgular. */
:root[data-theme="light"] {
    --bg-0: #efe6d6;
    --bg-1: #f3ebdd;
    --bg-2: #f6efe3;
    --panel: #fbf6ec;
    --panel-2: #f7efe1;
    --panel-3: #efe3cf;
    --line: #e2d4bc;
    --line-2: #d4c2a4;
    --text: #2b2520;
    --text-2: #3d352d;
    --muted: #75695b;
    --faint: #9a8e80;
    --orange: #d77a24;
    --orange-2: #b9651a;
    --orange-soft: rgba(215, 122, 36, .14);
    --gold-2: #b5832c;
    --shadow: 0 8px 22px rgba(92, 64, 30, .14);
    --topbar-bg: rgba(251, 246, 236, .92);
    --menu-bg: rgba(251, 246, 236, .98);
    --soft: rgba(120, 90, 50, .05);
    --avatar-bg: radial-gradient(circle at 50% 70%, #f4e6cf, #e3d0b1);
    --err-text: #9b3a35;
    --ok-text: #2f7a44;
    --published-text: #2f7a44;
    color-scheme: light;
}
/* Gorselin ustundeki alanlar iki temada da koyu kalir. */
.hero, .welcome, .profile-hero {
    --text: #ece7df;
    --text-2: #d6d0c7;
    --muted: #a7a19a;
    --line-2: #3a3643;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
/* The root keeps the dark base, so overscroll and long pages never show white. */
html { background: var(--bg-0); }
body {
    min-height: 100vh;
    color: var(--text);
    font: 500 15px/1.5 'Roboto', system-ui, sans-serif;
    background:
        radial-gradient(1100px 500px at 50% -12%, rgba(227, 134, 47, .07), transparent 65%),
        linear-gradient(180deg, var(--bg-2), var(--bg-1) 45%, var(--bg-0));
    background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img.px { image-rendering: pixelated; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== ust menu ===== */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--topbar-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: var(--max); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.logo img { height: 46px; display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.nav { display: flex; gap: 2px; flex: 1; align-items: center; }
.nav a { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px; color: var(--text-2); font-weight: 700; font-size: 14px; white-space: nowrap; border: 1px solid transparent; }
.nav a img { width: 20px; height: 20px; object-fit: contain; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a.active { color: #fff; background: linear-gradient(180deg, #b8681f, #93521a); border-color: rgba(227, 134, 47, .5); box-shadow: 0 2px 10px rgba(227, 134, 47, .18); }
.nav .mobile-only { display: none; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.me-chip { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.me-chip .head { width: 34px; height: 34px; border-radius: 50%; background: var(--panel-3); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; flex: none; }
.me-chip .head img { width: 54px; max-width: none; margin-top: -10px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--text); margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

/* ===== dugmeler ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font-weight: 800; font-size: 15px; white-space: nowrap; transition: transform .08s, filter .15s, background .15s; }
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn.gold, .btn.orange, .btn.green { background: var(--grad-orange); border-color: rgba(255, 190, 120, .18); color: #fff; box-shadow: 0 3px 0 #9c5517, 0 6px 16px rgba(227, 134, 47, .18); }
.btn.outline { background: var(--soft); border-color: var(--line-2); }
.btn.outline:hover { border-color: var(--orange); }
.btn.ghost { background: transparent; }
.btn.sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 17px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn img { height: 24px; }
.btn .ico { width: 18px; height: 18px; }
.btn .ico.fill { fill: currentColor; stroke: none; }

/* ===== yerlesim ===== */
main { max-width: var(--max); margin: 0 auto; padding: 22px 20px 56px; }
.stack { display: grid; gap: 18px; align-content: start; }
.grid-home { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 20px; align-items: start; }
.grid-player { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 20px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.player-main { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 18px; align-items: start; }

/* ===== panel ===== */
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head .ic { width: 32px; height: 32px; display: grid; place-items: center; flex: none; }
.panel-head .ic img { max-width: 28px; max-height: 28px; }
.panel-head h2 { font-size: 18px; font-weight: 800; }
.panel-head .sub { display: block; color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 1px; }
.panel-head .more { margin-left: auto; color: var(--orange); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.panel-head .more:hover { color: var(--gold); }
.panel-body { padding: 16px 18px 18px; }
.empty { display: grid; place-items: center; gap: 4px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 22px 14px; font-size: 14px; }
.empty b { color: var(--text); }

/* ===== kahraman ===== */
/* The banner keeps its 2:1 ratio and is never cropped. Text sits over its darker left side while the
   banner is wide; on a narrow banner the text moves below the picture. */
.hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #1c1a21; container-type: inline-size; }
.hero-pic { display: block; }
.hero-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1774 / 887; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(22, 20, 27, .94) 0%, rgba(22, 20, 27, .82) 30%, rgba(22, 20, 27, .35) 50%, rgba(22, 20, 27, 0) 64%), linear-gradient(0deg, rgba(14, 13, 17, .55), rgba(14, 13, 17, 0) 30%); }
.hero-in { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 52%; padding: 4cqi 3cqi 3.2cqi 4cqi; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(30px, 4.2cqi, 50px); font-weight: 900; letter-spacing: -.5px; line-height: 1.08; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.hero h1 em { display: block; font-style: normal; color: var(--orange); }
.hero p { color: var(--text-2); font-size: clamp(14px, 1.45cqi, 17px); margin: 1.4cqi 0 2.2cqi; max-width: 440px; line-height: 1.45; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn.outline { background: rgba(22, 20, 27, .78); border-color: rgba(236, 231, 223, .22); backdrop-filter: blur(3px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 2cqi; color: var(--text-2); font-size: 14px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.hero-stats span { display: inline-flex; align-items: center; gap: 8px; }
.hero-stats .ico { color: var(--muted); width: 16px; height: 16px; }
@container (max-width: 820px) {
    .hero-shade { display: none; }
    .hero-in { position: static; width: auto; padding: 20px 22px 24px; }
    .hero h1 { font-size: clamp(28px, 7cqi, 40px); }
    .hero p { font-size: 15px; margin: 12px 0 18px; }
    .hero-stats { margin-top: 18px; }
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(91, 191, 115, .18); flex: none; }
.dot.off { background: var(--faint); box-shadow: 0 0 0 3px rgba(122, 117, 125, .2); }

/* ===== formlar ===== */
.form { display: grid; gap: 12px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.input { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 11px; background: var(--bg-1); border: 1px solid var(--line-2); color: var(--muted); }
.input:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(227, 134, 47, .14); }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; color: var(--text); }
.input input::placeholder { color: var(--faint); }
.input .eye { border: 0; background: none; color: var(--muted); display: grid; place-items: center; padding: 4px; }
.input .eye:hover { color: var(--text); }
.msg { display: none; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.msg.err { display: block; background: rgba(217, 101, 95, .12); border: 1px solid rgba(217, 101, 95, .4); color: var(--err-text); }
.msg.ok { display: block; background: rgba(91, 191, 115, .1); border: 1px solid rgba(91, 191, 115, .35); color: var(--ok-text); }
.login-card .title { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; }
.login-card .title .ico { color: var(--orange); width: 22px; height: 22px; }
.login-card .sub { color: var(--muted); margin: 4px 0 16px; font-size: 14px; }
.login-opts { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.login-opts a { color: var(--orange); font-weight: 700; }
.login-opts a:hover { color: var(--gold); }
.login-foot { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.login-foot a { color: var(--orange); font-weight: 700; }
.or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; font-weight: 800; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }

/* ===== bolum basliklari ===== */
.section-title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; margin: 6px 0 2px; }
.section-title::before { content: ""; width: 6px; height: 24px; border-radius: 3px; background: var(--grad-orange); }
.section-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 14px; }
.section-row .section-title { margin: 0; }
.section-row .more { color: var(--orange); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ===== pik hotel dunyasi ===== */
.world { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.world-tile { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; padding: 16px 12px; border-radius: 13px; background: var(--panel-3); border: 1px solid var(--line); transition: border-color .15s, transform .12s; }
a.world-tile:hover { border-color: rgba(227, 134, 47, .55); transform: translateY(-2px); }
.world-tile img { height: 40px; }
.world-tile b { font-size: 16px; font-weight: 800; }
.world-tile span { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ===== haberler ===== */
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.news-card { display: flex; flex-direction: column; border-radius: 13px; overflow: hidden; background: var(--panel-3); border: 1px solid var(--line); transition: transform .12s, border-color .15s; }
.news-card:hover { transform: translateY(-2px); border-color: rgba(227, 134, 47, .55); }
.news-card .cover { height: 110px; background: #2b2230 url(/images/pik-hotel-hero.png) no-repeat; background-image: image-set(url(/images/pik-hotel-hero.webp) type("image/webp"), url(/images/pik-hotel-hero.png) type("image/png")); background-repeat: no-repeat; image-rendering: pixelated; }
.news-card .body { display: grid; gap: 6px; padding: 12px 14px 14px; flex: 1; align-content: start; }
.news-card b { font-size: 16px; font-weight: 800; }
.news-card .sum { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 4px; }
.news-card .date .ico { width: 15px; height: 15px; }
.news-row { display: flex; gap: 14px; padding: 10px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); align-items: center; }
.news-row:hover { border-color: rgba(227, 134, 47, .55); }
.news-row .thumb { width: 96px; height: 72px; border-radius: 10px; flex: none; background: #2b2230 url(/images/pik-hotel-hero.png) 50% 50% / 300% auto no-repeat; background-image: image-set(url(/images/pik-hotel-hero.webp) type("image/webp"), url(/images/pik-hotel-hero.png) type("image/png")); image-rendering: pixelated; }
/* Articles without a cover each show a different part of the brand scene. */
.news-row:nth-child(3n+1) .thumb:not([style]) { background-position: 82% 22%; }
.news-row:nth-child(3n+2) .thumb:not([style]) { background-position: 24% 42%; }
.news-row:nth-child(3n) .thumb:not([style]) { background-position: 52% 82%; }
.news-row .meta { min-width: 0; display: grid; gap: 3px; }
.news-row b { font-size: 16px; font-weight: 800; }
.news-row .sum { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tags small { color: var(--faint); font-size: 12px; font-weight: 700; }
.cat { display: inline-flex; padding: 2px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; background: #3a3540; color: var(--text-2); text-transform: capitalize; }
.cat-etkinlik { background: #b8691f; color: #fff; }
.cat-kampanya { background: #3f8f53; color: #fff; }
.cat-duyuru { background: #3a6fa6; color: #fff; }
.cat-guncelleme { background: #6c5296; color: #fff; }
.article-cover { height: 260px; background: center / cover no-repeat; image-rendering: pixelated; border-bottom: 1px solid var(--line); }
.article .panel-body { padding: 22px 26px 28px; max-width: 820px; }
.article .back { display: inline-block; color: var(--orange); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.article h1 { font-size: 30px; font-weight: 900; margin: 10px 0 8px; }
.article .lead { color: var(--text-2); font-size: 17px; margin: 0 0 16px; }
.article-body { color: var(--text-2); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }

/* ===== takip et ===== */
.follow { position: relative; padding: 20px 18px; background: linear-gradient(135deg, #2a2234, #1f1b26); }
.follow h2 { font-size: 21px; font-weight: 900; }
.follow p { color: var(--text-2); font-size: 14px; margin: 6px 0 16px; max-width: 240px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #15141a; border: 1px solid var(--line-2); color: var(--text); transition: border-color .15s, color .15s; }
.socials a:hover { border-color: var(--orange); color: var(--orange); }
.socials svg { width: 24px; height: 24px; fill: currentColor; }

/* ===== oyuncu karti ===== */
.profile-cover { height: 120px; background: #2b2230 url(/images/pik-hotel-hero.png) 24% 34% / cover no-repeat; background-image: image-set(url(/images/pik-hotel-hero.webp) type("image/webp"), url(/images/pik-hotel-hero.png) type("image/png")); position: relative; image-rendering: pixelated; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel-2), transparent 70%); }
.profile-top { display: flex; gap: 14px; padding: 0 18px; margin-top: -64px; position: relative; z-index: 1; align-items: flex-end; }
.avatar-box { width: 128px; height: 150px; border-radius: 18px; background: var(--avatar-bg); border: 2px solid var(--gold-2); display: grid; place-items: end center; overflow: hidden; flex: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
/* Avatars keep their natural pixel size; scaling blurs pixel art. */
.avatar-box img { width: 128px; margin-bottom: -6px; }
.profile-name { padding-bottom: 6px; min-width: 0; }
.profile-name h2 { font-size: 22px; font-weight: 900; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 4px; }
.badge-vip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: var(--grad-gold); color: #241707; font-size: 11px; font-weight: 900; letter-spacing: .4px; }
.badge-soft { display: inline-flex; padding: 3px 9px; border-radius: 6px; background: var(--panel-3); border: 1px solid var(--line-2); color: var(--muted); font-size: 11px; font-weight: 800; }
.motto { margin: 14px 18px 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg-1); border: 1px solid var(--line); color: var(--text-2); font-style: italic; overflow-wrap: anywhere; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px 18px; }
.info { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); }
.info .k { font-size: 11px; font-weight: 800; color: var(--faint); letter-spacing: .4px; text-transform: uppercase; }
.info .v { font-size: 14px; font-weight: 700; margin-top: 2px; }

.wallet { display: grid; gap: 10px; }
.coin { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); }
.coin img { width: 26px; height: 26px; object-fit: contain; }
.coin span { color: var(--muted); font-weight: 700; font-size: 14px; }
.coin b { margin-left: auto; font-size: 18px; font-weight: 900; }

.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; }
.badges .b { aspect-ratio: 1; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line); display: grid; place-items: center; }
.badges .b.slot { border-color: var(--gold-2); }
.badges img { max-width: 40px; max-height: 40px; }

.room { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); }
.room .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-1); display: grid; place-items: center; flex: none; }
.room .meta { min-width: 0; }
.room .meta b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room .meta span { color: var(--muted); font-size: 12px; }
.room .count { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--text-2); font-size: 14px; white-space: nowrap; }
.room .count .ico { width: 16px; height: 16px; color: var(--muted); }
.room .count.live { color: var(--green); }
.room .count.live .ico { color: var(--green); }
.room:hover { border-color: rgba(227, 134, 47, .45); }

.welcome { position: relative; min-height: 280px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #2b2230 url(/images/pik-hotel-hero.png) 78% 32% / cover no-repeat; background-image: image-set(url(/images/pik-hotel-hero.webp) type("image/webp"), url(/images/pik-hotel-hero.png) type("image/png")); display: flex; align-items: center; image-rendering: pixelated; }
.welcome::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 20, 27, .95) 0%, rgba(22, 20, 27, .82) 34%, rgba(22, 20, 27, .2) 62%, transparent 78%); }
.welcome .in { position: relative; padding: 30px 32px; max-width: 500px; }
.welcome .live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(22, 20, 27, .8); border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 14px; }
.welcome h1 { font-size: 32px; font-weight: 900; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.welcome h1 em { font-style: normal; color: var(--orange); }
.welcome p { color: var(--text-2); margin: 8px 0 20px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.welcome .hint { display: block; margin-top: 12px; max-width: 330px; color: var(--muted); font-size: 13px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
/* The main call to action: larger than other buttons, with a soft warm halo. */
.btn.xl { height: 62px; padding: 0 34px; font-size: 20px; border-radius: 14px; gap: 12px; }
.btn.xl .ico { width: 22px; height: 22px; }
.btn.enter-cta:not(:disabled) { box-shadow: 0 4px 0 #9c5517, 0 0 0 4px rgba(227, 134, 47, .16), 0 10px 30px rgba(227, 134, 47, .35); }
.btn.enter-cta:not(:disabled):hover { box-shadow: 0 4px 0 #9c5517, 0 0 0 6px rgba(227, 134, 47, .22), 0 12px 34px rgba(227, 134, 47, .45); }

/* ===== siralama ===== */
.rank-row { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: var(--radius-sm); }
.rank-row:nth-child(odd) { background: var(--soft); }
.rank-row:hover { background: var(--panel-3); }
.rank-no { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #2f2c36; color: var(--text-2); font-weight: 900; font-size: 14px; flex: none; }
.rank-row:nth-child(1) .rank-no { background: var(--grad-orange); color: #fff; }
.rank-row:nth-child(2) .rank-no { background: linear-gradient(180deg, #8f8c96, #6b6873); color: #fff; }
.rank-row:nth-child(3) .rank-no { background: linear-gradient(180deg, #a5643a, #7d4826); color: #fff; }
.rank-head { width: 40px; height: 40px; border-radius: 10px; background: var(--panel-3); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; flex: none; }
.rank-head img { width: 54px; max-width: none; margin-top: -6px; }
.rank-row .name { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .val { margin-left: auto; font-weight: 800; color: var(--text); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.rank-row .val img { width: 18px; }

.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; }
.tabs button { flex: 1; height: 40px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-weight: 800; white-space: nowrap; padding: 0 14px; }
.tabs button.on { background: var(--grad-orange); color: #fff; }

.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.page-head .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--panel-3); border: 1px solid var(--line-2); flex: none; }
.page-head .ic img { max-width: 32px; }
.page-head h1 { font-size: 28px; font-weight: 900; }
.page-head p { margin: 2px 0 0; color: var(--muted); }

.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: var(--panel-3); }
.steps i.on { background: var(--grad-orange); }
.steps span { color: var(--muted); font-size: 12px; font-weight: 800; margin-left: 6px; }
.genders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.genders button { padding: 12px; border-radius: 14px; background: var(--panel-3); border: 2px solid var(--line); font-weight: 800; display: grid; justify-items: center; gap: 4px; }
.genders button.on { border-color: var(--orange); background: var(--orange-soft); }
.genders img { height: 110px; }
.auth-wrap { max-width: 460px; margin: 10px auto; }

.footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }

#toast { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: grid; gap: 8px; }
#toast div { padding: 12px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--orange-2); box-shadow: var(--shadow); font-weight: 700; }
#toast div.err { border-color: var(--red); }
.loading { color: var(--muted); padding: 40px; text-align: center; }

/* ===== haber yonetimi ===== */
.back-link { display: inline-block; color: var(--orange); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.editor .preview { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.editor .preview .panel-body { max-width: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input select { flex: 1; height: 100%; border: 0; background: none; outline: none; color: var(--text); }
.input select option { background: var(--panel); }
.input.textarea { height: auto; padding: 10px 12px; }
.input textarea { flex: 1; width: 100%; border: 0; background: none; outline: none; resize: vertical; color: var(--text); line-height: 1.5; }
.input .pre-text { color: var(--faint); font-size: 13px; white-space: nowrap; }
.input input[type="datetime-local"] { color-scheme: dark; }
.field .hint { color: var(--faint); font-size: 12px; float: right; margin-top: 4px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); }
.admin-row:hover { border-color: rgba(227, 134, 47, .55); }
.admin-row .meta { min-width: 0; flex: 1; display: grid; }
.admin-row .meta b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row .meta small { color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row .go { color: var(--orange); font-weight: 700; font-size: 13px; white-space: nowrap; }
.st { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 900; white-space: nowrap; flex: none; }
.st-draft { background: var(--panel); border: 1px solid var(--line-2); color: var(--muted); }
.st-published { background: rgba(91, 191, 115, .14); border: 1px solid rgba(91, 191, 115, .4); color: var(--published-text); }
.st-archived { background: rgba(217, 101, 95, .12); border: 1px solid rgba(217, 101, 95, .4); color: var(--err-text); }

/* ===== yardim ===== */
.grid-help { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 14px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0; padding: 0 14px 14px; color: var(--text-2); line-height: 1.6; }
.muted-p { color: var(--muted); margin: 0 0 12px; font-size: 14px; }

/* ===== duyarli yerlesim ===== */
@media (max-width: 1300px) {
    .me-chip .name { display: none; }
    .me-chip { padding: 4px; }
}
@media (max-width: 1400px) {
    .player-main { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
    .nav a span { display: none; }
    .nav a { padding: 9px; }
    .nav a img { width: 22px; height: 22px; }
}
@media (max-width: 1100px) {
    .world { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .grid-home, .grid-player, .grid-help, .editor { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .editor .preview { position: static; max-height: none; }
    .menu-btn { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: var(--menu-bg); border-bottom: 1px solid var(--line); }
    .nav.open { display: flex; }
    .nav .mobile-only { display: flex; color: #f2b8b4; }
    .nav .mobile-only.admin-link { color: var(--orange); }
    .nav a span { display: inline; }
    .nav a { padding: 12px; }
    .top-actions .hide-sm { display: none; }
}
/* On one column the welcome banner (with Otele Gir) comes first, then the profile, then the rest. */
@media (max-width: 960px) {
    .grid-player > .stack:last-child { display: contents; }
    .grid-player .welcome { order: -2; }
    .grid-player > .stack:first-child { order: -1; }
}
@media (max-width: 760px) {
    .news-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    main { padding: 16px 16px 40px; }
    .topbar-in { padding: 8px 16px; gap: 10px; }
    .logo img { height: 36px; }
    .grid-3, .grid-4, .row2 { grid-template-columns: 1fr; }
    .hero .actions .btn { flex: 1; }
    .hero-stats { gap: 6px 16px; font-size: 13px; }
    .world { gap: 10px; }
    .world-tile { padding: 14px 8px; }
    .info { padding: 9px 10px; }
    /* Phone: the brand scene is a full-width strip on top (never cropped sideways); the text sits on the dark area below it. */
    .welcome { --strip: calc((100vw - 32px) / 2); display: block; min-height: 0; padding-top: calc(var(--strip) - 34px); background-color: #1c1a21; background-size: 100% auto; background-position: center top; }
    .welcome::before { background: linear-gradient(180deg, rgba(28, 26, 33, 0) 0, rgba(28, 26, 33, 0) calc(var(--strip) - 110px), #1c1a21 calc(var(--strip) + 6px)); }
    .welcome .in { padding: 0 20px 22px; max-width: none; }
    .welcome .live { margin-bottom: 10px; }
    .welcome h1 { font-size: 25px; }
    .welcome .btn.xl { width: 100%; }
    .page-head h1 { font-size: 22px; }
    .news-row .thumb { width: 72px; height: 60px; }
    .article .panel-body { padding: 18px; }
    .article h1 { font-size: 23px; }
    .article-cover { height: 170px; }
    .admin-row .go { display: none; }
    .top-actions .btn.sm { padding: 0 10px; }
}

/* ===== tema dugmesi, ortak ===== */
.theme-btn { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); }
.theme-btn .ico { color: var(--gold); }
.link { background: none; border: 0; padding: 0; color: var(--gold); font-weight: 800; display: inline-flex; align-items: center; gap: 5px; text-decoration: underline; text-underline-offset: 3px; }
.link .ico { width: 15px; height: 15px; }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.soon-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); background: var(--soft); color: var(--muted); }
.soon-box .ico { color: var(--gold); margin-top: 2px; }
.soon-box b { display: block; color: var(--text); }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px; }
.btn.green { background: linear-gradient(180deg, #5fae5a, #3f8a3c); border-color: rgba(160, 220, 150, .25); color: #fff; box-shadow: 0 3px 0 #2e6a2c; }
.btn.green:disabled { filter: grayscale(.6); opacity: .55; box-shadow: none; }

/* ===== oyuncu profili ===== */
.profile-card { max-width: 1180px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pc-title { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.pc-title .ico { color: var(--gold); }
.pc-title h1 { font-size: 19px; font-weight: 900; flex: 1; text-align: center; padding-right: 28px; }
.profile-hero { position: relative; height: 170px; margin: 14px 14px 0; border-radius: 14px; overflow: hidden; background: #2b2230 url(/images/pik-hotel-hero.png) 30% 32% / cover no-repeat; background-image: image-set(url(/images/pik-hotel-hero.webp) type("image/webp"), url(/images/pik-hotel-hero.png) type("image/png")); image-rendering: pixelated; }
.profile-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 18, 24, .35), transparent 55%); }
.cover-btn { position: absolute; top: 12px; right: 12px; z-index: 1; background: rgba(22, 20, 27, .82); color: var(--text); border: 1px solid rgba(236, 231, 223, .2); }
.cover-btn em { font-style: normal; font-size: 11px; color: var(--gold); text-transform: uppercase; margin-left: 2px; }
.pc-brand { position: absolute; right: 22px; bottom: 14px; z-index: 1; font: italic 900 26px/0.95 'Roboto', sans-serif; color: var(--gold); text-align: right; transform: rotate(-6deg); text-shadow: 0 2px 0 #6b3f12, 0 4px 10px rgba(0, 0, 0, .5); }
.pc-head { display: flex; gap: 16px; align-items: flex-end; padding: 0 22px; margin-top: -58px; position: relative; z-index: 2; flex-wrap: wrap; }
.pc-photo { width: 116px; height: 116px; border-radius: 50%; background: var(--avatar-bg); border: 4px solid var(--panel); box-shadow: 0 0 0 2px var(--gold-2), var(--shadow); display: grid; place-items: center; position: relative; flex: none; }
.pc-photo img { width: 92px; }
.pc-vip { position: absolute; bottom: 2px; left: -4px; padding: 3px 7px; border-radius: 999px; background: var(--grad-gold); color: #3a2410; font-size: 11px; font-weight: 900; box-shadow: 0 2px 0 #7a5418; }
.pc-name { flex: 1; min-width: 220px; padding: 66px 0 6px; }
.pc-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.pc-line h2 { font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 6px; }
.pc-hotel { color: var(--muted); font-weight: 700; }
.pc-motto { margin-top: 6px; color: var(--text-2); overflow-wrap: anywhere; }
.pc-head > .btn { margin-bottom: 8px; }
.cover-btn:disabled { opacity: .9; }
:root[data-theme="light"] .nav a img { filter: drop-shadow(0 0 1px rgba(60, 40, 20, .55)); }
.pc-tabs { display: flex; gap: 6px; margin: 16px 14px 0; padding: 6px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.pc-tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 800; white-space: nowrap; }
.pc-tabs button:hover { color: var(--text); background: var(--panel-3); }
.pc-tabs button.on { background: var(--grad-orange); color: #fff; box-shadow: 0 2px 0 #9c5517; }
.pc-body { padding: 14px; display: grid; gap: 14px; }
.pc-grid { display: grid; grid-template-columns: 150px minmax(220px, .9fr) 1.4fr; gap: 14px; align-items: stretch; }
.pc-figure { border-radius: 14px; background: var(--avatar-bg); border: 1px solid var(--line); display: grid; place-items: end center; min-height: 230px; overflow: hidden; }
.pc-figure img { width: 128px; margin-bottom: 4px; }
.pc-facts { list-style: none; margin: 0; padding: 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.pc-facts li { display: flex; gap: 12px; align-items: center; color: var(--text-2); }
.pc-facts .ico { width: 22px; height: 22px; color: var(--gold); }
.pc-facts b { color: var(--text); }
.pc-facts .blk { display: block; font-size: 16px; }
.pc-box { padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.pc-box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.pc-box-head h3 { font-size: 16px; font-weight: 900; }
.pc-showcase { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pb { aspect-ratio: 1; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; }
.pb img { max-width: 42px; max-height: 42px; }
.pb small { font-size: 10px; color: var(--muted); word-break: break-all; padding: 2px; text-align: center; }
.pb.empty { border-style: dashed; background: transparent; }
.pc-bio { margin: 0; padding: 4px 30px; position: relative; color: var(--text-2); font-size: 15px; overflow-wrap: anywhere; }
.pc-bio::before, .pc-bio::after { position: absolute; font: 900 34px/1 Georgia, serif; color: var(--gold-2); opacity: .7; }
.pc-bio::before { content: "\201C"; left: 0; top: -4px; }
.pc-bio::after { content: "\201D"; right: 0; bottom: -14px; }
.qs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.qs-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.qs-item .ico { width: 26px; height: 26px; color: var(--gold); }
.qs-item b { display: block; font-size: 18px; font-weight: 900; }
.qs-item span { font-size: 12.5px; color: var(--muted); line-height: 1.25; }
.pc-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.pb-btn { padding: 0; border: 0; background: none; border-radius: 12px; position: relative; }
.pb-btn:disabled { cursor: default; }
.pb-btn.on .pb { border: 2px solid var(--gold); box-shadow: 0 0 0 3px var(--orange-soft); }
.pc-badges.pick .pb-btn:not(.on):hover .pb { border-color: var(--orange); }
.pc-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pc-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pc-friend { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.pc-friend:hover { border-color: rgba(227, 134, 47, .55); }
.pc-friend .fh { width: 44px; height: 44px; border-radius: 50%; background: var(--panel-3); overflow: hidden; display: flex; justify-content: center; flex: none; }
.pc-friend .fh img { width: 64px; max-width: none; margin-top: -8px; }
.pc-friend small { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.pc-friend .dot { width: 8px; height: 8px; }
.pc-form { display: grid; gap: 10px; max-width: 560px; }
.pc-form .btn { justify-self: start; }

/* ===== gorunum degistir ===== */
.look-card { max-width: 1280px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.lk-head { display: flex; align-items: center; gap: 14px; padding: 10px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.lk-head img { height: 34px; }
.lk-head h1 { font-size: 20px; font-weight: 900; flex: 1; text-align: center; padding-right: 90px; }
.lk-tabs { display: flex; gap: 8px; padding: 12px 14px 0; overflow-x: auto; }
.lk-tabs button { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text-2); font-weight: 800; white-space: nowrap; }
.lk-tabs button.on { background: var(--grad-orange); color: #fff; border-color: transparent; box-shadow: 0 2px 0 #9c5517; }
.lk-tabs button .ico { color: var(--gold); }
.lk-tabs button.on .ico { color: #fff; }
.lk-body { display: grid; grid-template-columns: 56px minmax(0, 1fr) 260px; gap: 14px; padding: 14px; align-items: start; }
.lk-gender { display: grid; gap: 10px; }
.lk-gender button { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); display: grid; place-items: center; }
.lk-gender button .ico { width: 26px; height: 26px; }
.lk-gender button.on { border: 2px solid var(--gold); color: var(--blue); background: var(--panel-3); }
.lk-gender button[data-gender="F"].on { color: #c96a8a; }
.lk-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lk-sub button { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text-2); font-weight: 700; }
.lk-sub button.on { border-color: var(--gold); color: var(--text); background: var(--orange-soft); }
.lk-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.lk-colcol { display: grid; gap: 12px; align-content: start; }
.lk-panel { padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.lk-panel h3 { font-size: 15px; font-weight: 900; margin-bottom: 10px; }
.lk-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px 4px 2px 2px; scrollbar-width: thin; }
.lk-part { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-3); display: grid; place-items: center; position: relative; padding: 0; overflow: hidden; }
.lk-part img { max-width: 100%; max-height: 100%; }
.lk-part.on { border: 2px solid var(--gold); box-shadow: 0 0 0 3px var(--orange-soft); }
.lk-part.on::after { content: "\2713"; position: absolute; right: 3px; bottom: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #3a2410; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.lk-part.locked { opacity: .45; cursor: not-allowed; }
.lk-part .hc { position: absolute; left: 3px; top: 3px; padding: 0 4px; border-radius: 5px; background: var(--grad-gold); color: #3a2410; font-size: 9px; font-weight: 900; }
.lk-part.none .ico { color: var(--muted); }
.lk-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.sw { aspect-ratio: 1; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .25); padding: 0; position: relative; }
.sw.on { outline: 2px solid var(--gold); outline-offset: 1px; }
.sw.on::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 900; text-shadow: 0 1px 2px #000; }
.sw.locked { opacity: .3; cursor: not-allowed; }
.lk-preview { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); position: sticky; top: 80px; }
.lk-stage { height: 230px; border-radius: 12px; display: grid; place-items: end center; overflow: hidden; background: radial-gradient(60% 30% at 50% 88%, rgba(0, 0, 0, .28), transparent 70%), radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .14), transparent 70%), var(--avatar-bg); }
.lk-stage img { width: 128px; margin-bottom: 18px; }
.lk-rotate { display: flex; justify-content: space-between; margin-top: -54px; padding: 0 8px; position: relative; }
.lk-rotate button, .lk-tools button { width: 46px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); display: grid; place-items: center; }
.lk-rotate button { background: rgba(22, 20, 27, .55); color: #fff; border-color: transparent; }
.lk-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.lk-tools button { width: auto; }
.lk-save { width: 100%; justify-content: center; height: 48px; font-size: 15px; }
.lk-note { margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.lk-note .ico { width: 16px; height: 16px; color: var(--gold); }
.lk-wardrobe { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.wd { position: relative; padding: 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: grid; justify-items: center; gap: 8px; }
.wd.locked { opacity: .55; }
.wd-fig { height: 100px; display: grid; place-items: center; color: var(--faint); }
.wd-fig .ico { width: 30px; height: 30px; }
.wd-no { position: absolute; left: 8px; top: 6px; font-size: 12px; font-weight: 900; color: var(--muted); }
.wd-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 1100px) {
    .pc-grid { grid-template-columns: 130px 1fr; }
    .pc-grid > .stack { grid-column: 1 / -1; }
    .lk-body { grid-template-columns: 56px minmax(0, 1fr); }
    .lk-preview { grid-column: 1 / -1; position: static; grid-template-columns: 200px 1fr; align-items: start; }
    .lk-preview .lk-stage { grid-row: span 4; }
    .lk-rotate { margin-top: 0; }
}
@media (max-width: 760px) {
    .profile-hero { height: 120px; margin: 10px 10px 0; }
    .pc-brand { display: none; }
    .cover-btn { top: 8px; right: 8px; height: 32px; padding: 0 10px; font-size: 12.5px; }
    .qs { grid-template-columns: 1fr 1fr; }
    .qs-item { padding: 10px; gap: 8px; }
    .qs-item b { font-size: 16px; }
    .pc-figure img { width: 96px; }
    .pc-head { padding: 0 14px; margin-top: -46px; }
    .pc-name { padding-top: 0; min-width: 0; flex-basis: 100%; }
    .pc-photo { width: 92px; height: 92px; }
    .pc-photo img { width: 74px; }
    .pc-line h2 { font-size: 20px; }
    .pc-tabs { margin: 12px 10px 0; }
    .pc-tabs button { flex: none; padding: 0 12px; }
    .pc-body { padding: 10px; }
    .pc-grid { grid-template-columns: 1fr; }
    .pc-figure { min-height: 0; height: 170px; }
    .pc-showcase { gap: 6px; }
    .lk-head h1 { padding-right: 0; font-size: 17px; }
    .lk-body { grid-template-columns: 1fr; padding: 10px; }
    .lk-gender { grid-auto-flow: column; justify-content: start; }
    .lk-cols { grid-template-columns: 1fr; }
    .lk-preview { grid-template-columns: 1fr; order: -1; }
    .lk-preview .lk-stage { grid-row: auto; height: 200px; }
    .lk-rotate { margin-top: -50px; }
    .lk-parts { max-height: 300px; }
    .theme-btn { width: 36px; height: 36px; }
}

/* ===== profil: kapaklar, ayarlar, ziyaretci defteri ===== */
/* Each cover is a zoomed framing of the brand image; the zoom lets the horizontal position matter. */
.profile-hero.cover-saat-kulesi, .cover-opt.cover-saat-kulesi { background-size: 230%; background-position: 24% 32%; }
.profile-hero.cover-tabela, .cover-opt.cover-tabela { background-size: 210%; background-position: 84% 14%; }
.profile-hero.cover-cesme, .cover-opt.cover-cesme { background-size: 240%; background-position: 54% 88%; }
.profile-hero.cover-gunbatimi, .cover-opt.cover-gunbatimi { background-size: 115%; background-position: 0% 4%; }
.cover-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 14px 0; padding: 10px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.cover-picker[hidden] { display: none; }
.cover-opt { height: 74px; border-radius: 11px; border: 2px solid transparent; padding: 0; position: relative; overflow: hidden; background-color: #2b2230; background-image: image-set(url(/images/pik-hotel-hero.webp) type("image/webp"), url(/images/pik-hotel-hero.png) type("image/png")); background-size: cover; image-rendering: pixelated; }
.cover-opt span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; background: linear-gradient(0deg, rgba(20, 18, 24, .85), transparent); color: #ece7df; font-size: 12px; font-weight: 800; text-align: left; }
.cover-opt.on { border-color: var(--gold); box-shadow: 0 0 0 3px var(--orange-soft); }
.pc-meta { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--text-2); font-weight: 700; }
.pc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pc-meta .ico { width: 16px; height: 16px; color: var(--gold); }
.pc-meta .heart { color: var(--orange); fill: var(--orange); }
.pc-meta .sep { width: 1px; height: 14px; background: var(--line-2); }
.pc-form.two { grid-template-columns: 1fr 1fr; max-width: none; }
.pc-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--muted); }
.pc-form label.check { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 700; }
.pc-form label.check input { width: 18px; height: 18px; accent-color: var(--orange); }
.pc-form select { width: 100%; border: 0; background: transparent; outline: 0; }
.pc-form.two .btn { grid-column: 1 / -1; }
.gb-form { display: grid; gap: 8px; margin-bottom: 14px; }
.gb-form textarea { width: 100%; resize: vertical; min-height: 76px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: inherit; }
.gb-form textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.gb-form .pc-actions { margin-top: 0; justify-content: space-between; }
.gb-list { display: grid; gap: 10px; }
.gb-item { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.gb-item.is-hidden { opacity: .6; border-style: dashed; }
.gb-item .fh { width: 44px; height: 44px; border-radius: 50%; background: var(--panel-3); overflow: hidden; display: flex; justify-content: center; flex: none; }
.gb-item .fh img { width: 64px; max-width: none; margin-top: -8px; }
.gb-body { flex: 1; min-width: 0; }
.gb-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gb-top small { color: var(--faint); }
.gb-hide { margin-left: auto; font-size: 13px; }
.gb-body p { margin: 4px 0 0; color: var(--text-2); overflow-wrap: anywhere; white-space: pre-wrap; }
.lk-tools { grid-template-columns: repeat(4, 1fr); }
.lk-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.lk-panel-head h3 { margin: 0; }
@media (max-width: 760px) {
    .cover-picker { grid-template-columns: 1fr 1fr; margin: 8px 10px 0; }
    .pc-form.two { grid-template-columns: 1fr; }
}
.pc-form .form-note { grid-column: 1 / -1; margin: 0; display: flex; gap: 6px; align-items: flex-start; }
.pc-form .form-note .ico { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 2px; }

/* Yonetim: sekmeler ve Pik Sosyal sikayetleri */
.admin-tabs { display: flex; gap: 6px; margin: -4px 0 16px; flex-wrap: wrap; }
.admin-tabs a, .rep-filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-3); color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.admin-tabs a.on, .rep-filter a.on { border-color: rgba(227, 134, 47, .7); color: var(--gold); }
.rep-filter { display: flex; gap: 6px; margin-bottom: 14px; }
.rep-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.rep-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); min-width: 0; }
.rep-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rep-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rep-who img { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.rep-who span { display: grid; min-width: 0; }
.rep-who small, .rep-by { color: var(--muted); font-size: 12px; }
.rep-content { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.rep-content p { flex-basis: 100%; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.rep-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; background: #000; }
.rep-reasons { display: flex; flex-wrap: wrap; gap: 6px; }
.rep-notes { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.rep-notes li { overflow-wrap: anywhere; }
.rep-card .actions-row { margin-top: auto; }

/* Pik Destek (ekip paneli) */
.sup-list { display: grid; gap: 8px; }
.sup-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.sup-row:hover { border-color: var(--line-2); }
.sup-row.is-unread { border-color: rgba(227, 134, 47, .6); }
.sup-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; text-align: right; }
.sup-meta small { color: var(--muted); font-size: 12px; }
.sup-new { color: var(--gold); }
.sup-stars { color: var(--gold); letter-spacing: 1px; }
.sup-back { display: inline-block; margin-bottom: 10px; color: var(--muted); font-weight: 800; text-decoration: none; }
.sup-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sup-rating { margin: 0 0 12px; color: var(--muted); }
.sup-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.sup-msg { max-width: 78%; padding: 10px 12px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line); }
.sup-msg.is-staff { align-self: flex-end; background: rgba(227, 134, 47, .1); border-color: rgba(227, 134, 47, .35); }
.sup-msg.is-note { background: rgba(240, 200, 80, .08); border-style: dashed; }
.sup-msg small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.sup-msg p { margin: 0 0 6px; overflow-wrap: anywhere; white-space: pre-wrap; }
.sup-reply { display: grid; gap: 8px; }
.sup-reply textarea { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--panel-3); color: inherit; font: inherit; resize: vertical; }
.sup-note { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .sup-row, .sup-head { flex-direction: column; align-items: stretch; } .sup-meta { align-items: flex-start; text-align: left; } .sup-msg { max-width: 100%; } }

/* PikTok videosu sikayet kartinda oynatilir. */
.rep-video { width: 160px; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 8px; background: #000; object-fit: cover; image-rendering: pixelated; }

/* Muzik gonder ve muzik onayi */
.music-form input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--soft); color: var(--text); }
.music-agree { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.4; }
.music-agree input { margin-top: 3px; }
.music-form input[name="title"], .music-form input[name="artist"] { width: 100%; max-width: 440px; }
.music-row > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.music-row audio, .rep-card audio { width: 260px; max-width: 100%; height: 34px; }
.music-row .sup-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.music-reason { color: var(--orange); }
.music-status { padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.music-status.is-wait { background: rgba(227, 134, 47, .15); color: var(--orange); }
.music-status.is-ok { background: rgba(95, 174, 90, .18); color: #7fd07a; }
.music-status.is-no { background: rgba(220, 80, 80, .15); color: #e87a7a; }
.music-sub { display: block; color: var(--muted); }

/* Rozet Olusturucu */
.bdg-coin { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.bdg-coin img { width: 18px; height: 17px; image-rendering: pixelated; }
.btn .bdg-coin { color: inherit; }
.btn .bdg-coin img { height: 17px; }
.bdg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bdg-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line); }
.bdg-mode { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.bdg-mode:hover { color: var(--text); }
.bdg-mode.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 0 var(--line-2), 0 2px 8px rgba(0, 0, 0, .18); }
.bdg-balance { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 14px; }
.bdg-balance small { color: var(--faint); font-weight: 600; }
.bdg-work { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.bdg-studio { display: grid; grid-template-columns: max-content minmax(0, 440px) 196px; justify-content: start; gap: 14px; align-items: start; }
.bdg-studio[hidden], #b-friend-box[hidden] { display: none; }
.bdg-tools { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line); }
.bdg-tool { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.bdg-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bdg-tool:hover { color: var(--text); background: var(--soft); }
.bdg-tool.on { color: var(--orange); background: var(--orange-soft); border-color: rgba(227, 134, 47, .45); }
.bdg-tool:focus-visible, .bdg-mode:focus-visible, .bdg-palette button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.bdg-sep { height: 1px; margin: 2px 6px; background: var(--line-2); }
.bdg-canvas-wrap { padding: 8px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); }
#bdgCanvas { display: block; width: 100%; aspect-ratio: 1; image-rendering: pixelated; cursor: crosshair; touch-action: none; border-radius: 6px; }
.bdg-colors { display: flex; flex-direction: column; gap: 12px; }
.bdg-current { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.bdg-current input { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: none; cursor: pointer; }
.bdg-current input::-webkit-color-swatch-wrapper { padding: 3px; }
.bdg-current input::-webkit-color-swatch { border: 0; border-radius: 7px; }
.bdg-palette { display: grid; grid-template-columns: repeat(6, 28px); gap: 5px; }
.bdg-palette button { width: 28px; height: 28px; padding: 0; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .35); background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.bdg-palette button:hover { transform: scale(1.12); }
.bdg-upload { display: block; }
.bdg-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 260px; padding: 24px; text-align: center; border: 2px dashed var(--line-2); border-radius: 14px; background: var(--soft); color: var(--muted); font-size: 13px; cursor: pointer; }
.bdg-drop b { color: var(--text); font-size: 16px; }
.bdg-drop:hover, .bdg-drop.over { border-color: var(--orange); background: var(--orange-soft); }
.bdg-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bdg-side { display: flex; flex-direction: column; gap: 16px; }
.bdg-preview { padding: 14px; border-radius: 14px; background: var(--panel-3); border: 1px solid var(--line); }
.bdg-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.bdg-frames { display: flex; align-items: center; gap: 14px; }
.bdg-frame { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--line); }
.bdg-frame.x2 { width: 96px; height: 96px; }
.bdg-frame canvas, .bdg-frame img { width: 40px; height: 40px; object-fit: none; image-rendering: pixelated; }
.bdg-frame.x2 img { width: 80px; height: 80px; object-fit: contain; }
.bdg-frame img[hidden], .bdg-frame canvas[hidden] { display: none; }
.bdg-frame img:not([src]), .bdg-frame img[src=""] { visibility: hidden; }
.bdg-who { display: flex; gap: 16px; margin-bottom: 8px; font-size: 14px; }
.bdg-who label { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; margin: 0; }
.bdg-note { display: block; margin-top: 8px; color: var(--faint); font-size: 12px; line-height: 1.45; }
.bdg-row { justify-content: flex-start; }
.bdg-thumb { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--line); }
.bdg-thumb img { max-width: 40px; max-height: 40px; image-rendering: pixelated; }
.bdg-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bdg-info small { color: var(--muted); }
.bdg-row .sup-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bdg-card { display: flex; gap: 16px; align-items: flex-start; }
.bdg-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 1100px) {
    .bdg-work { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .bdg-studio { grid-template-columns: 1fr; }
    .bdg-tools { flex-direction: row; flex-wrap: wrap; }
    .bdg-sep { width: 1px; height: auto; margin: 6px 2px; }
    .bdg-palette { grid-template-columns: repeat(10, 28px); }
    .bdg-card { flex-direction: column; }
}

/* Magaza (Pik Coin) */
.shop-balance { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 18px; }
.shop-balance > img { width: 44px; height: 42px; image-rendering: pixelated; }
.shop-balance div { flex: 1; display: flex; flex-direction: column; }
.shop-balance small { color: var(--muted); font-size: 13px; font-weight: 700; }
.shop-balance b { font-size: 30px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.shop-uses { display: grid; gap: 10px; }
.shop-use { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.shop-use:hover { border-color: var(--orange); }
.shop-use > img { width: 32px; height: 32px; image-rendering: pixelated; }
.shop-use > span:first-of-type { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.shop-use small { color: var(--muted); }
.shop-prices { display: grid; grid-template-columns: auto auto; gap: 2px 10px; align-items: center; }
.shop-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--text-2); line-height: 1.5; }
.shop-steps a { color: var(--orange); font-weight: 700; }
.shop-warn { margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--orange-soft); color: var(--text-2); font-size: 13px; }
.shop-move small { color: var(--muted); }
.shop-move > span:first-child { display: flex; flex-direction: column; }
.shop-move .sup-meta { display: flex; flex-direction: column; align-items: flex-end; }
.shop-delta { font-weight: 900; font-size: 16px; }
.shop-delta.is-in { color: var(--green); }
.shop-delta.is-out { color: var(--red); }
@media (max-width: 560px) {
    .shop-balance { flex-wrap: wrap; }
    .shop-use { flex-wrap: wrap; }
}
