/* Hangar2 - sayfa içeriği uyumu. Tema CSS'i ve hangar.css'ten SONRA yüklenir.
   Eski sitenin kendi sınıfları (kart, dugme, izgara-3, tablo, form, bildirim, urun...) ile bu sayfalarda
   kullanılacak yeni yardımcı sınıfları (hg-*) temanın parşömen içerik kutusunun İÇİNDE okunaklı gösterir.
   İçerik kutusu: div.content > .content-bg > .content-bg-bottom (iç genişlik 496px, sağda 15px boşluk).
   CSP: yalnızca 'self' stil; satır içi stil yok. Görsel yolları bu dosyaya göredir (assets/eski/img/...).
   Renkler temadan: metin #2a1000, kahve #4a1e00, koyu kırmızı #7b1300 / #8d0404, altın kenar #b28a45 / #997c47. */

/* --- İçerik kutusu: kısa sayfalarda da kutu çok küçülmesin, alt süs çizgisine yer kalsın --- */
.content .content-bg-bottom { min-height: 160px; padding-bottom: 14px; }

/* Başlık: sayfalar içeriği <h2> ile (ya da eski <h1> ile) açabilir; ikisi de temanın başlık bandı olur. */
.content h1 {
	background: url(img/heading-3.jpg) no-repeat;
	color: #7b1300;
	font-size: 14px;
	font-weight: bold;
	line-height: 17px;
	margin: 11px 0 0;
	padding: 7px 0 7px 33px;
}

/* Sınıfsız (düz) bağlantılar: temanın kırmızısı. Sınıflı bağlantılar (btn, dugme...) kendi stilini korur. */
.content a:not([class]) { color: #8d0404; text-decoration: none; }
.content a:not([class]):visited { color: #943b00; }
.content a:not([class]):hover { text-decoration: underline; }

/* --- Kart: iç panel --- */
.content .kart {
	background: rgba(255, 250, 228, .55);
	border: 1px solid #b28a45;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
	margin: 12px 15px 12px 0;
	padding: 12px 14px 8px;
	color: #2a1000;
	font-size: 12px;
	line-height: 1.5;
}
.content .kart.dar { margin-left: 0; }
.content .kart > :last-child { margin-bottom: 4px; }
.content .kart h1,
.content .kart h2,
.content .kart h3 {
	background: none;
	margin: 0 0 8px;
	padding: 0;
	color: #7b1300;
	font-weight: bold;
	line-height: 1.25;
}
.content .kart h1 { font-size: 17px; }
.content .kart h2 { font-size: 14px; }
.content .kart h3 { font-size: 13px; }
.content .kart p { margin: 0 0 10px; font-size: 12px; line-height: 1.5; text-align: left; padding: 0; }
.content .kart strong { color: #4a1e00; }
.content .kart ul,
.content .kart ol { margin: 0 0 10px; padding: 0 0 0 20px; }
.content .kart ul { list-style: disc; }
.content .kart ol { list-style: decimal; }
.content .kart li { margin: 0 0 4px; }
.content .bilgi-kutu { border-left: 4px solid #8d0404; }

/* Izgara: içerik kutusu dar olduğu için iki sütun */
.content .izgara-3 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 12px 15px 12px 0;
}
.content .izgara-3 .kart { margin: 0; }

/* Ana sayfa şeridi */
.content .kahraman {
	margin: 12px 15px 12px 0;
	padding: 18px 14px 14px;
	text-align: center;
	background: rgba(123, 19, 0, .08);
	border: 1px solid #b28a45;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.content .kahraman h1 {
	background: none;
	margin: 0 0 4px;
	padding: 0;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: 1px;
	color: #7b1300;
}
.content .slogan { margin: 0 0 10px; color: #4a1e00; font-size: 13px; }
.content .durum {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	padding: 3px 12px;
	border: 1px solid #b28a45;
	background: rgba(255, 250, 228, .7);
	color: #4a1e00;
	font-size: 12px;
}
.content .nokta { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.content .nokta.yesil { background: #2e8b3d; box-shadow: 0 0 5px #2e8b3d; }
.content .nokta.gri { background: #8a8170; }
.content .dugmeler { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 10px 0 0; }
.content .adimlar { margin: 0 0 10px; padding: 0 0 0 20px; list-style: decimal; }
.content .adimlar li { margin: 0 0 4px; }

/* --- Düğmeler (içeriğe sığan bronz düğme; temanın sabit ölçülü .btn düğmesinden ayrı) --- */
.content .dugme,
.content button.dugme {
	display: inline-block;
	background: linear-gradient(#5b4521, #2c1f0b);
	border: 1px solid #d8b85c;
	border-radius: 2px;
	color: #f6e7a8;
	font: bold 12px/1.3 Arial, Helvetica, sans-serif;
	padding: 6px 14px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}
.content .dugme:hover,
.content button.dugme:hover { background: linear-gradient(#7a5f2e, #3d2b0e); color: #fff; text-decoration: none; }
.content .dugme.ikincil {
	background: transparent;
	color: #7b1300;
	border-color: #8a6a3a;
	text-shadow: none;
}
.content .dugme.ikincil:hover { background: rgba(123, 19, 0, .1); color: #7b1300; }
.content .dugme.kucuk { padding: 3px 9px; font-size: 11px; }
.content .dugme.pasif,
.content .dugme.pasif:hover {
	background: #cbbd96;
	border-color: #b3a276;
	color: #7a6c4a;
	text-shadow: none;
	cursor: not-allowed;
}
.content .link-dugme {
	background: none;
	border: 0;
	padding: 0;
	color: #8d0404;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}
.content .link-dugme:hover { text-decoration: underline; }
.content .satir-form { display: inline; margin: 0; }

/* --- Formlar (.form, .kart içindeki formlar ve yeni .hg-form) --- */
.content .form,
.content .hg-form { display: grid; gap: 10px; clear: none; }
.content .form.satir,
.content .hg-form.satir { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.content .form label,
.content .hg-form label {
	display: grid;
	gap: 4px;
	float: none;
	margin: 0;
	color: #4a1e00;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.3;
}
.content .form label input,
.content .hg-form label input {
	float: none;
	height: auto;
	margin: 0;
	width: 100%;
}
.content .form small,
.content .hg-form small,
.content .kart small { color: #6a4a20; font-size: 11px; font-weight: normal; }
.content .form input[type=text],
.content .form input[type=password],
.content .form input[type=email],
.content .form input[type=number],
.content .form input[type=search],
.content .form select,
.content .form textarea,
.content .hg-form input[type=text],
.content .hg-form input[type=password],
.content .hg-form input[type=email],
.content .hg-form input[type=number],
.content .hg-form input[type=search],
.content .hg-form select,
.content .hg-form textarea {
	width: 100%;
	box-sizing: border-box;
	background: #f6ecc9;
	color: #3a1500;
	border: 1px solid #622400;
	border-radius: 0;
	padding: 5px 8px;
	font: 13px Arial, Helvetica, sans-serif;
}
.content .form input[type=checkbox],
.content .form input[type=radio],
.content .hg-form input[type=checkbox],
.content .hg-form input[type=radio] { width: auto; height: auto; margin: 0 6px 0 0; }
.content .form.satir input[type=text],
.content .form.satir input[type=password],
.content .form.satir input[type=email],
.content .form.satir input[type=number],
.content .form.satir select { width: auto; }
.content .form input:focus,
.content .form select:focus,
.content .form textarea:focus,
.content .hg-form input:focus,
.content .hg-form select:focus,
.content .hg-form textarea:focus { border-color: #8d0404; background: #fbf3d6; }
/* Bot tuzağı alanı: insanlar görmez */
.gizli-alan { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* --- Bildirimler (flash ve sayfa içi) --- */
.bildirim {
	margin: 0 0 8px;
	padding: 8px 12px 8px 34px;
	border: 1px solid;
	background-repeat: no-repeat;
	background-position: 11px 9px;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.4;
}
.bildirim-ok { background-color: #e4efc9; border-color: #6b8e23; color: #2d4a00; background-image: url(img/valid-icon.gif); background-position: 11px 8px; }
.bildirim-hata { background-color: #f6d5ca; border-color: #af1b03; color: #7b0f00; background-image: url(img/error-mini.gif); }
.bildirim-bilgi { background-color: #efe3b5; border-color: #aa8551; color: #4a1e00; background-image: url(img/bullet.gif); background-position: 10px 8px; }
.bildirim-uyari { background-color: #f5e2a8; border-color: #c58b12; color: #6a3e00; background-image: url(img/error-mini.gif); }
/* İçerik kutusunun içindeki bildirimler: kutunun sağ boşluğuna uysun */
.content .bildirim { margin: 8px 15px 8px 0; }
.content .kart .bildirim { margin: 0 0 10px; }
.content .not { margin: 10px 0 0; color: #6a4a20; font-size: 11px; line-height: 1.4; }
.content .kucuk { font-size: 11px; }

/* --- Market --- */
.content .market-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.content .market-ust h1 { margin-bottom: 4px; }
.content .market-ust p { margin: 0; }
.content .bakiye { text-align: right; }
.content .bakiye span { display: block; color: #6a4a20; font-size: 11px; }
.content .bakiye strong { color: #7b1300; font-size: 18px; }
.content .sekmeler { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 15px 10px 0; }
.content .sekmeler a {
	padding: 3px 10px;
	border: 1px solid #997c47;
	background: #e6d6a4;
	color: #4a1e00;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
}
.content .sekmeler a:hover { background: #d8c28a; }
.content .sekmeler a.aktif { background: #7b1300; border-color: #4a0b00; color: #fef6aa; }
.content .urunler {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 15px 12px 0;
}
.content .urun {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	background: rgba(255, 250, 228, .55);
	border: 1px solid #b28a45;
	color: #2a1000;
	font-size: 12px;
	line-height: 1.4;
}
.content .urun:hover { border-color: #7b1300; }
.content .urun h3 { margin: 0 0 4px; padding: 0; background: none; color: #7b1300; font-size: 13px; font-weight: bold; line-height: 1.25; }
.content .urun p { margin: 6px 0 0; padding: 0; color: #5a3a10; font-size: 11px; line-height: 1.4; text-align: left; }
.content .urun-bilgi { flex: 1; }
.content .urun-alt { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.content .urun-resim {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
	background: #efe2b8;
	border: 1px solid #997c47;
}
.content .yer-tutucu {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8d6a2a;
	font-size: 26px;
	font-weight: bold;
}
.content .fiyat { color: #7b1300; font-weight: bold; }
.content .adet { color: #6a4a20; font-size: 11px; font-weight: bold; }
.content .etiket {
	display: inline-block;
	padding: 1px 7px;
	background: #d9c58e;
	border: 1px solid #b28a45;
	color: #5a3a10;
	font-size: 10px;
}
.content .onay-urun { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 12px; }

/* --- Tablolar (.tablo; ayrıca sıralama sayfaları için .tablo.siralama) --- */
.content .tablo-kap { overflow-x: auto; margin: 0 0 8px; }
.content .tablo { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: 12px; color: #2a1000; }
.content .tablo th,
.content .tablo td {
	padding: 6px 8px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #cdb27a;
}
.content .tablo th {
	background: #dcc690;
	border-bottom: 2px solid #aa8551;
	color: #6a1a00;
	font-size: 11px;
	font-weight: bold;
	height: auto;
	padding-top: 6px;
}
.content .tablo tbody tr:nth-child(even) td { background: rgba(170, 133, 81, .12); }
.content .tablo.ozet th { width: 45%; background: transparent; border-bottom: 1px solid #cdb27a; }
.content .tablo.siralama td,
.content .tablo.siralama th { vertical-align: middle; }
.content .tablo .sag { text-align: right; }
.content .tablo .orta { text-align: center; }
.content .tablo.siralama td.no { width: 40px; text-align: center; font-weight: bold; color: #7b1300; }
.content .rozet {
	display: inline-block;
	padding: 1px 9px;
	border: 1px solid;
	font-size: 11px;
	font-weight: bold;
}
.content .rozet.yesil { background: #e4efc9; border-color: #6b8e23; color: #2d4a00; }
.content .rozet.mavi { background: #d9e6f3; border-color: #4a78a8; color: #1d3f66; }
.content .rozet.sari { background: #f5e2a8; border-color: #c58b12; color: #6a3e00; }
.content .rozet.gri { background: #e3dac0; border-color: #a99a73; color: #5d5238; }
.content .rozet.kirmizi { background: #f6d5ca; border-color: #af1b03; color: #7b0f00; }

/* --- Yeni yardımcılar: sayfalama ve ayrıntı listesi (oyuncu/lonca sayfaları, hesabım) --- */
.content .hg-sayfalama { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 15px 12px 0; font-size: 11px; }
.content .hg-sayfalama a,
.content .hg-sayfalama span {
	display: inline-block;
	min-width: 24px;
	padding: 3px 8px;
	border: 1px solid #997c47;
	background: #e6d6a4;
	color: #4a1e00;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}
.content .hg-sayfalama a:hover { background: #d8c28a; text-decoration: none; }
.content .hg-sayfalama .aktif { background: #7b1300; border-color: #4a0b00; color: #fef6aa; }
.content .hg-sayfalama .pasif { opacity: .5; }

/* Ayrıntı listesi: <dl class="hg-liste"><dt>Ad</dt><dd>Değer</dd>...</dl> */
.content .hg-liste { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 10px; font-size: 12px; color: #2a1000; }
.content .hg-liste dt { color: #6a4a20; font-weight: bold; }
.content .hg-liste dd { margin: 0; font-weight: bold; color: #7b1300; }

/* Ortalanmış / sağa yaslı yardımcılar */
.content .hg-orta { text-align: center; }
.content .hg-sag { text-align: right; }

/* --- Tema .inner-content içine yerleştirilen bloklar: .inner-content zaten sağ boşluk bıraktığı için sıfırla --- */
.content .inner-content .kart,
.content .inner-content .izgara-3,
.content .inner-content .urunler,
.content .inner-content .sekmeler,
.content .inner-content .bildirim,
.content .inner-content .hg-sayfalama { margin-left: 0; margin-right: 0; }
.content .urun-alt { flex-wrap: wrap; }
.content .market-ust p { padding-bottom: 0; }
.content .market-ust { margin: 0 0 12px; }

/* --- Kayıt formundaki ipucu satırı --- */
.ipucu {
	display: block;
	margin: 3px 0 0;
	color: #775555;
	font-size: 10px;
	font-weight: normal;
	line-height: 12px;
}

/* --- Karakter ve lonca ayrıntı sayfaları (bg-light item-container: temanın karakter kartı) --- */
.content .breadcumb { margin: 8px 15px 6px 5px; font-size: 11px; font-weight: bold; }
.content .bg-light.item-container {
	display: flex;
	align-items: stretch;
	margin: 6px 15px 14px 5px;
	overflow: hidden;
	background: rgba(255, 250, 228, .55);
	border: 1px solid #b28a45;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
	color: #2a1000;
	font-size: 12px;
	line-height: 1.4;
}
.content .player-card {
	flex: 0 0 132px;
	padding: 12px 10px;
	text-align: center;
	background: rgba(123, 19, 0, .07);
	border-right: 1px solid #cdb27a;
}
.content .player-card h3,
.content .player-informations h3 {
	margin: 0 0 8px;
	padding: 0 0 4px;
	border-bottom: 1px solid #cdb27a;
	color: #7b1300;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.25;
}
.content .player-title { display: block; margin-top: 6px; color: #4a1e00; font-size: 12px; font-weight: bold; }
.content .player-informations { flex: 1 1 auto; min-width: 0; padding: 12px 14px; }
.content .player-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	border-bottom: 1px dotted #cdb27a;
}
.content .player-row:last-child { border-bottom: 0; }
.content .player-row strong { color: #6a4a20; font-weight: bold; }
.content .player-row span { color: #7b1300; font-weight: bold; text-align: right; }
/* İmparatorluk şeridi: sağ kenarda dikey bant (Shinsoo kırmızı, Chunjo sarı, Jinno mavi) */
.content .player-flag { flex: 0 0 8px; background: rgba(84, 14, 14, .54); }
.content .player-flag.empire1 { background: #b32017; }
.content .player-flag.empire2 { background: #c9a21c; }
.content .player-flag.empire3 { background: #2a5db0; }

/* Lonca üyeleri listesi */
.content ul.lonca_uyeleri_div {
	columns: 2;
	column-gap: 16px;
	margin: 4px 15px 12px 5px;
	padding: 0;
	color: #2a1000;
	font-size: 11px;
	line-height: 1.4;
}
.content .lonca_uyeleri_div li {
	break-inside: avoid;
	padding: 3px 0 3px 20px;
	background: url(img/bullet.gif) no-repeat 0 3px;
	list-style: none;
}

/* Sıralama tablosu biçimindeki sipariş listesinde (tarih + durum rozeti) dar sütuna sığsın */
.content .ranks-inner-content .rozet { padding: 0 5px; font-size: 10px; white-space: nowrap; }
