/* Oyun sitesi + yonetim paneli ortak stil. Betik yok: esya ipucu :hover ile. */
:root {
	--bg: #14100c; --panel: #1f1912; --panel2: #2a2218; --line: #4a3b26; --text: #e8dcc4; --muted: #a8977a;
	--gold: #e0b55a; --gold2: #f3d27e; --red: #d9655b; --green: #7fc37a; --blue: #8fb7e8; --cell: 34px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg) radial-gradient(ellipse at top, #2d2214 0, var(--bg) 60%) no-repeat; color: var(--text);
	font: 15px/1.5 "Segoe UI", Tahoma, sans-serif; min-height: 100vh; }
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--gold2); font-weight: normal; }
h2 small, h3 small { color: var(--muted); font-size: .65em; margin-left: 6px; }
.muted { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); padding: 24px 0; }
button, .cta { background: linear-gradient(#c9963f, #8a5f22); color: #1b1207; border: 1px solid #f0c66d; border-radius: 4px;
	padding: 7px 16px; font: inherit; font-weight: 600; cursor: pointer; display: inline-block; }
button:hover, .cta:hover { filter: brightness(1.1); text-decoration: none; }
button.ghost { background: transparent; color: var(--muted); border-color: var(--line); font-weight: normal; }
input, select { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 7px 10px; font: inherit; }
input:focus, select:focus { outline: 1px solid var(--gold); }

.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 24px;
	background: rgba(0,0,0,.45); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { font: 22px Georgia, serif; color: var(--gold2); }
.brand span { color: var(--muted); font-size: 15px; }
.top nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.top nav > a { color: var(--text); padding: 6px 12px; border-radius: 4px; }
.top nav > a.on, .top nav > a:hover { background: var(--panel2); color: var(--gold2); text-decoration: none; }
.top nav .cta { margin-left: 8px; color: #1b1207; }
form.inline { display: inline; margin-left: 8px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 16px 24px 48px; }
.hero { text-align: center; padding: 48px 16px 32px; }
.hero h1 { font-size: 40px; margin: 0 0 8px; }
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto 22px; }
.cta.big { font-size: 18px; padding: 12px 34px; }
.news { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 4px 18px; margin-bottom: 12px; }
.news h3 { font-size: 17px; margin: 12px 0 4px; }
.news h3 small { color: var(--muted); font: 12px "Segoe UI", sans-serif; }
.news ul { margin: 4px 0 12px; padding-left: 20px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 24px; border-top: 1px solid var(--line); }

.tbl { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); }
.tbl th, .tbl td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { background: var(--panel2); color: var(--gold); font-weight: 600; font-size: 13px; }
.tbl tr:hover td { background: #262016; }
.subtabs { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.subtabs a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); }
.subtabs a.on { border-color: var(--gold); color: var(--gold2); background: var(--panel2); }
.search { display: flex; gap: 6px; margin: 0 0 12px auto; }
.subtabs .search { margin: 0 0 0 auto; }

.mob { background: var(--panel); border: 1px solid var(--line); border-radius: 5px; margin-bottom: 6px; }
.mob summary { display: flex; gap: 12px; align-items: center; padding: 8px 12px; cursor: pointer; }
.mob summary span { color: var(--muted); font-size: 13px; }
.mob summary em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 12px; }
.drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px; padding: 6px 12px 12px; }
.drop { display: flex; align-items: center; gap: 8px; background: var(--panel2); border-radius: 4px; padding: 3px 8px 3px 3px; }
.drop span { flex: 1; font-size: 13px; }
.drop small { color: var(--muted); }
.drop b { color: var(--green); font-size: 13px; font-weight: 600; }
img.sm, .noicon.sm { width: 24px; height: 24px; }

/* esya hucresi + ipucu */
.it { position: relative; width: var(--cell); min-height: var(--cell); display: flex; align-items: flex-start; justify-content: center;
	background: #0f0c09; border: 1px solid #3a2e1e; }
.it img { image-rendering: pixelated; max-width: 32px; }
.it em { position: absolute; right: 2px; bottom: 0; font: 600 11px sans-serif; font-style: normal; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; }
.noicon { display: block; width: 32px; height: 32px; background: #2a2218; }
.tip { display: none; position: absolute; left: 100%; top: 0; z-index: 20; min-width: 210px; max-width: 300px; margin-left: 6px;
	background: rgba(8,6,4,.96); border: 1px solid #8a6d3b; padding: 8px 10px; font-size: 12px; pointer-events: none; }
.it:hover .tip { display: block; }
.it:hover { border-color: var(--gold); }
.tip b { display: block; color: var(--gold2); font-size: 13px; margin-bottom: 3px; }
.tip i { display: block; font-style: normal; color: var(--text); }
.tip i.base { color: #cfcfcf; }
.tip i.sock { color: var(--blue); }
.tip i.attr { color: var(--green); }
.tip i.desc { color: var(--muted); margin-top: 4px; }

.grid { display: grid; gap: 0; background: #0f0c09 repeating-linear-gradient(0deg, transparent 0 calc(var(--cell) - 1px), #2a2117 0 var(--cell)),
	repeating-linear-gradient(90deg, transparent 0 calc(var(--cell) - 1px), #2a2117 0 var(--cell)); border: 1px solid var(--line); width: max-content; }
.grid .it { width: auto; min-height: 0; border: 0; background: rgba(60,45,25,.55); }
.pages { display: flex; gap: 10px; flex-wrap: wrap; }
.bag { display: flex; gap: 32px; flex-wrap: wrap; }
.equip { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 6px; }
.eq { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--panel); border: 1px solid var(--line); padding: 4px 4px 4px 10px; border-radius: 4px; }
.eq span { color: var(--muted); font-size: 13px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.stat b { font-size: 20px; color: var(--gold2); font-weight: 600; }
.grant { display: flex; gap: 8px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 12px; }
.grant input[name=note] { flex: 1; min-width: 160px; }
.flash { padding: 9px 14px; border-radius: 4px; margin-bottom: 12px; }
.flash.ok { background: #1d3320; border: 1px solid var(--green); }
.flash.err { background: #3a1c18; border: 1px solid var(--red); }

.gate { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 16px; }
.gate-box { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 28px; width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.gate-box label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
	.top { padding: 10px 16px; } .wrap { padding: 12px 16px 40px; }
	.hero h1 { font-size: 28px; }
	.tbl { display: block; overflow-x: auto; }
	.tip { left: 0; top: 100%; margin: 4px 0 0; }
}
