/* Citizens City (OG Play): Oyun kutusu ve arayüz. Lacivert paneller, pirinç çerçeveler.
   Kutu gece ve gündüz modunda aynı görünür (oyun ekranı); sayfadaki metinler og-kit ile temaya uyar.
   Yazı tipleri sitenin kendi fontları: Gövde Outfit, sayılar ve başlıklar Oswald. */
.ogcc {
  --cc-navy: #14213a;
  --cc-navy2: #1b2c4a;
  --cc-navy3: #24395d;
  --cc-brass: #c9a063;
  --cc-brass2: #e2c58e;
  --cc-cream: #f3ead8;
  --cc-muted: #b9c2d3;
  --cc-ok: #8fd49a;
  --cc-bad: #ef8a76;
  --cc-gold: #f0c96a;
  --cc-top: 56px;
  --cc-bar: 82px;
  position: relative;
  height: clamp(520px, 78vh, 880px);
  border-radius: 14px;
  overflow: hidden;
  background: #1c2638;
  border: 2px solid var(--cc-brass);
  box-shadow: 0 10px 30px rgba(10, 18, 34, .35);
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--cc-cream);
  margin: 0 0 24px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.ogcc, .ogcc * { box-sizing: border-box; }
.ogcc [hidden] { display: none !important; }
.ogcc.is-max { position: fixed; inset: 0; height: 100dvh; z-index: 2000; border-radius: 0; border: 0; margin: 0; }
.ogcc:fullscreen { height: 100%; border-radius: 0; border: 0; }
body.ogcc-lock { overflow: hidden; }
.ogcc-loading { padding: 40px 20px; text-align: center; color: var(--cc-muted); font-size: 1rem; }

.ogcc-stage { position: absolute; inset: 0; }
.ogcc-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.ogcc-canvas:active { cursor: grabbing; }

/* ---------- Ortak düğmeler ---------- */
.ogcc button { font-family: inherit; color: inherit; }
.ogcc-icbtn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 160, 99, .35); color: var(--cc-cream); cursor: pointer;
}
.ogcc-icbtn:hover { background: rgba(201, 160, 99, .2); }
.ogcc-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 9px; cursor: pointer;
  background: var(--cc-navy3); border: 1px solid rgba(201, 160, 99, .45); color: var(--cc-cream); font-size: .9rem; font-weight: 500;
}
.ogcc-btn:hover:not(:disabled) { border-color: var(--cc-brass2); }
.ogcc-btn:disabled { opacity: .45; cursor: default; }
.ogcc-btn--ok { background: #2f5b3e; border-color: #6fbf80; }
.ogcc-btn--danger { background: #5b2f2f; border-color: #c97a6a; }

/* ---------- Üst çubuk ---------- */
.ogcc-top {
  position: absolute; left: 0; right: 0; top: 0; min-height: var(--cc-top); z-index: 5;
  display: flex; align-items: center; gap: 12px; padding: 8px 12px;
  background: linear-gradient(180deg, rgba(20, 33, 58, .97), rgba(27, 44, 74, .93));
  border-bottom: 2px solid var(--cc-brass);
}
.ogcc-top__left { display: flex; flex-direction: column; min-width: 0; }
.ogcc-town {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--cc-brass2); line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px;
}
.ogcc-sub { display: flex; gap: 10px; font-size: .8rem; color: var(--cc-muted); white-space: nowrap; }
.ogcc-date { font-family: 'Oswald', sans-serif; font-size: .88rem; color: var(--cc-cream); }
.ogcc-top__res { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
/* Ortala ama taşınca baştaki çipler kesilmesin (justify-content: center kaydırılamayan taşma yapar) */
.ogcc-top__res > :first-child { margin-left: auto; }
.ogcc-top__res > :last-child { margin-right: auto; }
.ogcc-top__res::-webkit-scrollbar { display: none; }
.ogcc-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; white-space: nowrap;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 160, 99, .28); font-size: .82rem;
}
button.ogcc-chip { cursor: pointer; }
.ogcc-chip i { color: var(--cc-brass2); font-size: .85rem; }
.ogcc-chip b { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: .92rem; }
.ogcc-chip.is-full { border-color: var(--cc-gold); }
.ogcc-chip.is-full b { color: var(--cc-gold); }
.ogcc-chip.is-low, .ogcc-chip.is-bad { border-color: var(--cc-bad); }
.ogcc-chip.is-low b, .ogcc-chip.is-bad b { color: var(--cc-bad); }
.ogcc-top__right { display: flex; gap: 6px; align-items: center; }
.ogcc-spdgroup { display: inline-flex; border: 1px solid rgba(201, 160, 99, .35); border-radius: 9px; overflow: hidden; }
.ogcc-spd { background: transparent; border: 0; padding: 7px 8px; font-family: 'Oswald', sans-serif; font-size: .8rem; cursor: pointer; color: var(--cc-muted); }
.ogcc-spd.is-on { background: var(--cc-brass); color: var(--cc-navy); }

/* ---------- Kervan defteri ---------- */
.ogcc-goals {
  position: absolute; left: 10px; top: calc(var(--cc-top) + 10px); width: 230px; z-index: 4;
  background: rgba(20, 33, 58, .9); border: 1px solid var(--cc-brass); border-radius: 12px; overflow: hidden;
}
.ogcc-goals__head {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: none; border: 0; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-size: .95rem; color: var(--cc-brass2);
}
.ogcc-goals__head span { flex: 1; text-align: left; }
.ogcc-goals.is-closed .ogcc-goals__list { display: none; }
.ogcc-goals.is-closed .fa-chevron-down { transform: rotate(-90deg); }
.ogcc-goals__list { list-style: none; margin: 0; padding: 0 12px 10px; display: grid; gap: 5px; font-size: .84rem; }
.ogcc-goals__list li { display: flex; gap: 8px; align-items: baseline; color: var(--cc-muted); }
.ogcc-goals__list li i { font-size: .55rem; width: 12px; text-align: center; }
.ogcc-goals__list li.is-done { color: var(--cc-ok); text-decoration: line-through; text-decoration-color: rgba(143, 212, 154, .5); }
.ogcc-goals__list li.is-done i { font-size: .75rem; }
.ogcc-goals__list li.is-current { color: var(--cc-cream); font-weight: 600; }
.ogcc-goals__list li.is-current i { color: var(--cc-gold); }

/* ---------- Yapı çubuğu ---------- */
.ogcc-build {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--cc-bar); z-index: 5; display: flex; gap: 10px; align-items: stretch;
  padding: 8px 10px; background: linear-gradient(0deg, rgba(20, 33, 58, .98), rgba(27, 44, 74, .94)); border-top: 2px solid var(--cc-brass);
}
.ogcc-build__list { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(201, 160, 99, .5) transparent; }
.ogcc-build__list::-webkit-scrollbar { height: 6px; }
.ogcc-build__list::-webkit-scrollbar-thumb { background: rgba(201, 160, 99, .45); border-radius: 6px; }
.ogcc-build__list::-webkit-scrollbar-button { display: none; }
.ogcc-bbtn {
  flex: 0 0 auto; width: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 6px 4px; border-radius: 10px; cursor: pointer; background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 160, 99, .3);
}
.ogcc-bbtn i { font-size: 1.15rem; color: var(--cc-brass2); }
.ogcc-bbtn__name { font-size: .8rem; font-weight: 600; line-height: 1.1; text-align: center; }
.ogcc-cost { font-size: .68rem; color: var(--cc-muted); line-height: 1.1; text-align: center; }
.ogcc-bbtn:hover:not(:disabled) { background: rgba(201, 160, 99, .16); }
.ogcc-bbtn.is-on { background: var(--cc-brass); border-color: var(--cc-brass2); }
.ogcc-bbtn.is-on i, .ogcc-bbtn.is-on .ogcc-cost, .ogcc-bbtn.is-on .ogcc-bbtn__name { color: var(--cc-navy); }
.ogcc-bbtn.is-poor .ogcc-cost { color: var(--cc-bad); }
.ogcc-bbtn:disabled { opacity: .38; cursor: not-allowed; }
.ogcc-bbtn--danger i { color: var(--cc-bad); }
.ogcc-queue { display: flex; gap: 6px; align-items: center; padding-left: 10px; border-left: 1px solid rgba(201, 160, 99, .3); }
.ogcc-slot {
  position: relative; width: 72px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px dashed rgba(201, 160, 99, .4); font-family: 'Oswald', sans-serif; font-size: .8rem; overflow: hidden; cursor: pointer;
}
.ogcc-slot i:first-child { color: var(--cc-brass2); }
.ogcc-slot.is-empty { color: var(--cc-muted); cursor: default; }
.ogcc-slot.is-wait { width: 40px; cursor: default; }
.ogcc-slot__bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--cc-gold); }

/* ---------- İpucu, onay, bildirim ---------- */
.ogcc-hint {
  position: absolute; left: 50%; bottom: calc(var(--cc-bar) + 10px); transform: translateX(-50%); z-index: 6; max-width: min(720px, 92%);
  padding: 8px 14px; border-radius: 10px; background: rgba(20, 33, 58, .94); border: 1px solid var(--cc-brass); font-size: .85rem; text-align: center;
}
.ogcc-hint.is-bad { border-color: var(--cc-bad); }
.ogcc-hint__bad { color: var(--cc-bad); font-weight: 600; }
.ogcc-hint__ok { color: var(--cc-ok); }
.ogcc-hint__keys { color: var(--cc-muted); font-size: .78rem; }
.ogcc-confirm { position: absolute; left: 50%; bottom: calc(var(--cc-bar) + 64px); transform: translateX(-50%); z-index: 7; display: flex; gap: 8px; }
.ogcc-toasts { position: absolute; left: 50%; top: calc(var(--cc-top) + 10px); transform: translateX(-50%); z-index: 8; display: grid; gap: 6px; width: min(460px, 90%); pointer-events: none; }
.ogcc-toast {
  padding: 8px 14px; border-radius: 10px; background: rgba(20, 33, 58, .95); border: 1px solid rgba(201, 160, 99, .6); font-size: .86rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25); transition: opacity .5s, transform .5s;
}
.ogcc-toast i { color: var(--cc-brass2); margin-right: 4px; }
.ogcc-toast.is-goal { border-color: var(--cc-ok); }
.ogcc-toast.is-goal i { color: var(--cc-ok); }
.ogcc-toast.is-bad { border-color: var(--cc-bad); }
.ogcc-toast.is-coin i { color: var(--cc-gold); }
.ogcc-toast.is-out { opacity: 0; transform: translateY(-6px); }

/* ---------- Sahne üstü etiketler ---------- */
.ogcc-labels { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.ogcc-label {
  position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap; padding: 3px 8px; border-radius: 8px;
  background: rgba(20, 33, 58, .88); border: 1px solid rgba(201, 160, 99, .55); font-family: 'Oswald', sans-serif; font-size: .78rem; color: var(--cc-cream);
}
.ogcc-label.is-click { pointer-events: auto; cursor: pointer; }
.ogcc-label i { color: var(--cc-brass2); margin-right: 3px; }
.ogcc-label.is-coin { background: #6b4e1d; border-color: var(--cc-gold); font-size: .9rem; padding: 4px 10px; animation: ogcc-bob 1.6s ease-in-out infinite; }
.ogcc-label.is-coin i { color: var(--cc-gold); }
.ogcc-label.is-warn { border-color: var(--cc-bad); }
.ogcc-label.is-warn i { color: var(--cc-bad); }
.ogcc-label.is-lock { background: rgba(20, 33, 58, .7); font-size: .74rem; }
.ogcc-label.is-wait { opacity: .85; }
@keyframes ogcc-bob { 50% { margin-top: -4px; } }

/* ---------- Seçim paneli ---------- */
.ogcc-panel {
  position: absolute; right: 10px; top: calc(var(--cc-top) + 10px); bottom: calc(var(--cc-bar) + 10px); width: 320px; z-index: 6;
  display: flex; flex-direction: column; background: rgba(20, 33, 58, .96); border: 1px solid var(--cc-brass); border-radius: 12px; overflow: hidden;
}
.ogcc-panel__head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(201, 160, 99, .35); background: rgba(201, 160, 99, .1); }
.ogcc-panel__head h3 { flex: 1; margin: 0; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--cc-brass2); }
.ogcc-panel__head h3 i { margin-right: 4px; }
.ogcc-panel__body { flex: 1; overflow-y: auto; padding: 10px 12px 14px; display: grid; gap: 8px; align-content: start; font-size: .88rem; scrollbar-width: thin; scrollbar-color: rgba(201, 160, 99, .5) transparent; }
.ogcc-panel__body::-webkit-scrollbar { width: 6px; }
.ogcc-panel__body::-webkit-scrollbar-thumb { background: rgba(201, 160, 99, .45); border-radius: 6px; }
.ogcc-panel__body::-webkit-scrollbar-button { display: none; }
.ogcc-panel h4 { margin: 6px 0 0; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: .95rem; color: var(--cc-brass2); }
.ogcc-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ogcc-row > span { color: var(--cc-muted); }
.ogcc-row > b { font-weight: 600; text-align: right; }
.ogcc-row .ogcc-meter { flex: 0 0 55%; }
.ogcc-note { margin: 0; color: var(--cc-muted); font-size: .84rem; line-height: 1.4; }
.ogcc-warn { margin: 0; color: var(--cc-bad); font-weight: 600; }
.ogcc-meter { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ogcc-meter i { display: block; height: 100%; background: var(--cc-brass2); }
.ogcc-meter.is-gold i { background: var(--cc-gold); }
.ogcc-meter.is-ok i { background: var(--cc-ok); }
.ogcc-meter.is-bad i { background: var(--cc-bad); }
.ogcc-needs, .ogcc-wishes, .ogcc-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ogcc-needs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ogcc-needs .is-ok i { color: var(--cc-ok); }
.ogcc-needs .is-no { color: var(--cc-bad); }
.ogcc-wishes li::before { content: '“'; color: var(--cc-brass2); margin-right: 2px; }
.ogcc-wishes li::after { content: '”'; color: var(--cc-brass2); }
.ogcc-people { display: flex; flex-wrap: wrap; gap: 5px; }
.ogcc-person {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 8px; cursor: pointer; font-size: .82rem;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 160, 99, .3);
}
.ogcc-person i { color: var(--cc-brass2); }
.ogcc-person small { color: var(--cc-muted); }
.ogcc-person.is-dead { opacity: .6; }
.ogcc-kin { display: grid; gap: 4px; }
.ogcc-kin > span { color: var(--cc-muted); font-size: .8rem; }
.ogcc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ogcc-log li { display: grid; gap: 1px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ogcc-log time { font-family: 'Oswald', sans-serif; font-size: .75rem; color: var(--cc-brass2); }
.ogcc-log i { color: var(--cc-muted); }
.ogcc-log .is-vefat span { color: var(--cc-muted); }
.ogcc-panel input[type=range] { width: 100%; accent-color: var(--cc-brass); }
.ogcc-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ogcc-seg .ogcc-btn { padding: 6px 10px; font-size: .82rem; }

/* ---------- Atalar çağı: Panellerin yeni parçaları ---------- */
.ogcc .is-bad { color: var(--cc-bad); }
.ogcc .is-ok { color: var(--cc-ok); }
.ogcc-chip small { font-family: 'Outfit', sans-serif; font-size: .72rem; color: var(--cc-muted); }
.ogcc-town i { margin-right: 2px; }
.ogcc-era { font-family: 'Oswald', sans-serif; font-size: .84rem; color: var(--cc-brass2); }
.ogcc-rumor { margin: 0; padding: 0 12px 8px; font-size: .8rem; line-height: 1.35; color: var(--cc-cream); font-style: italic; }
.ogcc-goals.is-closed .ogcc-rumor { display: none; }
.ogcc-barstate { display: flex; align-items: center; gap: 8px; padding: 0 12px; font-family: 'Oswald', sans-serif; font-size: .95rem; color: var(--cc-brass2); }
.ogcc-slot > span { display: inline-flex; gap: 4px; align-items: center; }
.ogcc-slot .fa-repeat { font-size: .65rem; color: var(--cc-muted); }
.ogcc-step { display: inline-flex; align-items: center; gap: 8px; }
.ogcc-step b { font-family: 'Oswald', sans-serif; min-width: 18px; text-align: center; }
.ogcc-step .ogcc-icbtn { width: 28px; height: 28px; font-size: 1rem; }
.ogcc-whos { display: grid; gap: 4px; }
.ogcc-who {
  display: grid; grid-template-columns: 18px 1fr 70px; grid-template-rows: auto auto; gap: 2px 8px; align-items: center; text-align: left;
  padding: 6px 8px; border-radius: 8px; cursor: pointer; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .22); font-size: .84rem;
}
.ogcc-who > small:last-child { grid-column: 2 / 4; color: var(--cc-muted); font-size: .72rem; }
.ogcc-who small { color: var(--cc-muted); }
.ogcc-who i { color: var(--cc-muted); }
.ogcc-who.is-on { border-color: var(--cc-brass2); background: rgba(201, 160, 99, .14); }
.ogcc-who.is-on i { color: var(--cc-gold); }
.ogcc-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: .86rem; color: var(--cc-muted); }
.ogcc-toggle i { font-size: 1.2rem; }
.ogcc-toggle.is-on { color: var(--cc-cream); }
.ogcc-toggle.is-on i { color: var(--cc-ok); }
.ogcc-store { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: .82rem; }
.ogcc-store span { display: flex; align-items: center; gap: 6px; }
.ogcc-store span > i:first-child { color: var(--cc-brass2); width: 16px; text-align: center; }
.ogcc-store b { margin-left: auto; font-family: 'Oswald', sans-serif; font-weight: 500; }
.ogcc-store .fa-hourglass-half { font-size: .62rem; color: var(--cc-muted); }
.ogcc-rites { display: grid; gap: 8px; }
.ogcc-rite { display: grid; gap: 3px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .25); }
.ogcc-rite small { color: var(--cc-muted); font-size: .76rem; line-height: 1.35; }
.ogcc-rite .ogcc-btn { justify-self: start; margin-top: 4px; padding: 5px 12px; }
.ogcc-fams { display: grid; gap: 6px; }
.ogcc-famrow { display: grid; grid-template-columns: 12px 1fr 90px; gap: 10px; align-items: center; text-align: left; padding: 7px 9px; border-radius: 9px; cursor: pointer; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .25); }
.ogcc-famrow span { display: grid; font-weight: 600; font-size: .88rem; }
.ogcc-famrow small { font-weight: 400; color: var(--cc-muted); font-size: .74rem; }
.ogcc-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); }
.ogcc-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ogcc-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: .76rem; background: rgba(201, 160, 99, .14); border: 1px solid rgba(201, 160, 99, .4); }
.ogcc-tag i { color: var(--cc-brass2); }
.ogcc-tag.is-gold { border-color: var(--cc-gold); color: var(--cc-gold); }
.ogcc-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--cc-brass2); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(201, 160, 99, .4); }
.ogcc-person.is-hurt { border-color: var(--cc-bad); }
.ogcc-panel__body .ogcc-note a { color: var(--cc-brass2); }
.ogcc-label.is-herd { font-size: .74rem; padding: 2px 7px; background: rgba(20, 33, 58, .72); }
.ogcc-label.is-patch { font-size: .72rem; padding: 2px 6px; background: rgba(20, 33, 58, .65); border-color: rgba(143, 212, 154, .45); }
.ogcc-label.is-patch i { margin: 0; color: var(--cc-ok); }
.ogcc-label.is-camp { font-size: .9rem; padding: 4px 10px; border-color: var(--cc-brass); }
.ogcc-label small { font-family: 'Outfit', sans-serif; color: var(--cc-muted); margin-left: 3px; }

/* ---------- Öğretici, ağaçlar, oyun sonu ---------- */
.ogcc-goals__list li span { display: grid; gap: 3px; }
.ogcc-goals__list li small { font-weight: 400; font-size: .76rem; line-height: 1.35; color: var(--cc-brass2); }
@keyframes ogcc-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 201, 106, .0); } 50% { box-shadow: 0 0 0 4px rgba(240, 201, 106, .55); } }
.ogcc-bbtn.is-pulse, .ogcc-row.is-pulse { animation: ogcc-pulse 1.4s ease-in-out infinite; border-color: var(--cc-gold); }
.ogcc-row.is-pulse { border-radius: 9px; padding: 2px 6px; }
.ogcc-overstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ogcc-overstats span { display: grid; justify-items: center; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 160, 99, .3); font-size: .8rem; color: var(--cc-muted); }
.ogcc-overstats b { font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 500; color: var(--cc-cream); }
.ogcc-over .ogcc-start__card h2, .ogcc-gov .ogcc-start__card h2 { color: var(--cc-gold); }
.ogcc-tree, .ogcc-tree ul { list-style: none; margin: 0; padding: 0; }
.ogcc-tree ul { margin-left: 12px; padding-left: 12px; border-left: 1px dashed rgba(201, 160, 99, .45); }
.ogcc-tree li { margin: 4px 0; }
.ogcc-tnode { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ogcc-tlink { font-size: .62rem; color: var(--cc-bad); }
.ogcc-person.is-ruler { border-color: var(--cc-gold); }
.ogcc-person.is-ruler i.fa-crown { color: var(--cc-gold); }
.ogcc-person .ogcc-dot { width: 9px; height: 9px; }
.ogcc-rulers { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ogcc-rulers li { display: grid; justify-items: start; gap: 2px; }
.ogcc-rulers small { color: var(--cc-muted); font-size: .74rem; }

.ogcc-orders { display: grid; gap: 6px; }
.ogcc-orders.is-pulse { animation: ogcc-pulse 1.4s ease-in-out infinite; border-radius: 10px; }
.ogcc-order { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .25); }
.ogcc-order > span:first-child { display: grid; gap: 2px; font-size: .86rem; }
.ogcc-order i { color: var(--cc-brass2); }
.ogcc-order small { color: var(--cc-muted); font-size: .72rem; }
.ogcc-label.ogcc-hp { display: grid; gap: 3px; justify-items: center; min-width: 74px; padding: 3px 8px 5px; font-family: 'Outfit', sans-serif; }
.ogcc-label.ogcc-hp b { font-weight: 600; font-size: .78rem; }
.ogcc-label.ogcc-hp .ogcc-meter { width: 62px; height: 6px; }
.ogcc-label.ogcc-hp i { font-size: .7rem; color: var(--cc-bad); }

/* ---------- Başlangıç ekranı ---------- */
.ogcc-start { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(11, 17, 29, .55); backdrop-filter: blur(2px); }
.ogcc-start__card {
  width: min(760px, 100%); max-height: 100%; overflow-y: auto; display: grid; gap: 14px; padding: 18px 20px 20px;
  background: rgba(20, 33, 58, .97); border: 2px solid var(--cc-brass); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  scrollbar-width: thin; scrollbar-color: rgba(201, 160, 99, .5) transparent;
}
.ogcc-start__card h2 { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.45rem; color: var(--cc-brass2); }
.ogcc-field { display: grid; gap: 6px; }
.ogcc-field > span:first-child { font-family: 'Oswald', sans-serif; font-size: .9rem; color: var(--cc-brass2); }
.ogcc-field__row { display: flex; gap: 8px; }
.ogcc-field input[type=text] { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(201, 160, 99, .5); background: rgba(255, 255, 255, .06); color: var(--cc-cream); font: inherit; font-size: 1rem; }
.ogcc-swatches, .ogcc-syms { display: flex; flex-wrap: wrap; gap: 8px; }
.ogcc-sw { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: 2px solid rgba(255, 255, 255, .25); }
.ogcc-sw.is-on { border-color: var(--cc-cream); box-shadow: 0 0 0 3px var(--cc-brass); }
.ogcc-sym { width: 40px; height: 40px; border-radius: 10px; cursor: pointer; background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 160, 99, .3); font-size: 1.05rem; }
.ogcc-sym.is-on { background: var(--cc-brass); color: var(--cc-navy); border-color: var(--cc-brass2); }
.ogcc-cards { display: grid; gap: 8px; }
.ogcc-cards--5 { grid-template-columns: repeat(5, 1fr); }
.ogcc-cards--4 { grid-template-columns: repeat(4, 1fr); }
.ogcc-card { display: grid; gap: 4px; align-content: start; text-align: left; padding: 9px 10px; border-radius: 10px; cursor: pointer; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .3); }
.ogcc-card i { color: var(--cc-brass2); font-size: 1.05rem; }
.ogcc-card b { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: .95rem; }
.ogcc-card small { font-size: .74rem; line-height: 1.3; color: var(--cc-muted); }
.ogcc-card small.is-ok { color: var(--cc-ok); }
.ogcc-card small.is-bad { color: var(--cc-bad); }
.ogcc-card.is-on { border-color: var(--cc-gold); background: rgba(201, 160, 99, .16); box-shadow: inset 0 0 0 1px var(--cc-gold); }
.ogcc-start__go { justify-self: center; padding: 11px 26px; font-size: 1.05rem; }

/* ---------- Yapı vitrini (?vitrin=1) ---------- */
.ogcc-gal-tools { flex-wrap: wrap; justify-content: flex-end; }
.ogcc-gal-tools a.ogcc-btn { text-decoration: none; }
.ogcc-gal-hour { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9px; border: 1px solid rgba(201, 160, 99, .35); font-family: 'Oswald', sans-serif; font-size: .85rem; }
.ogcc-gal-hour i { color: var(--cc-brass2); }
.ogcc-gal-hour input { width: 110px; accent-color: var(--cc-brass); }
.ogcc.is-gallery .ogcc-top { flex-wrap: wrap; }
.ogcc.is-gallery .ogcc-sub { white-space: normal; }
.ogcc-label.is-name { display: grid; justify-items: center; gap: 0; padding: 2px 7px; font-family: 'Outfit', sans-serif; background: rgba(20, 33, 58, .78); border-color: rgba(201, 160, 99, .35); }
.ogcc-label.is-name b { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: .76rem; color: var(--cc-cream); }
.ogcc-label.is-name small { font-size: .62rem; color: var(--cc-brass2); }
.ogcc-label.is-row { font-size: .95rem; padding: 4px 12px; color: var(--cc-brass2); border-color: var(--cc-brass); }

/* ---------- Sayfa (oyun kutusunun dışı, og-kit tokenleriyle gece ve gündüz uyumlu) ---------- */
.ogcc-page { font-family: 'Outfit', system-ui, sans-serif; }
.ogcc-proto {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: rgba(201, 160, 99, .18); color: var(--k-ink, #0f0f1a); border: 1px solid rgba(201, 160, 99, .55);
}
/* Geliştirilme aşamasında notu (2026-11-11): Kapalı deneme; başlığın altında, iki temada okunur */
.ogcc-dev { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 0; padding: .45rem .8rem; border-radius: 10px; font-size: .9rem; background: rgba(201, 160, 99, .14); border: 1px solid rgba(201, 160, 99, .45); color: var(--k-ink, #0f0f1a); }
.ogcc-dev i { color: #c9a063; }
.ogcc-notes { display: grid; gap: 1rem; }
.ogcc-notes h3 { margin: 0; font-family: 'Oswald', sans-serif; font-size: 1.15rem; display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; color: var(--k-ink, #0f0f1a); }
.ogcc-notes h3 span { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .95rem; color: var(--k-muted, #50566a); }
.ogcc-notes time { font-size: .85rem; color: var(--k-muted, #50566a); }
.ogcc-notes ul { margin: .4rem 0 0; padding-left: 1.2rem; display: grid; gap: .25rem; color: var(--k-ink, #0f0f1a); }

/* ---------- Bilgi, kültür, tüccar, göçmenler (0.3.0) ---------- */
.ogcc-chip.is-pulse, .ogcc-whos.is-pulse, .ogcc-actions.is-pulse { animation: ogcc-pulse 1.4s ease-in-out infinite; border-radius: 10px; }
.ogcc-label.is-site { font-size: .74rem; padding: 2px 8px; border-color: rgba(240, 201, 106, .6); background: rgba(20, 33, 58, .75); }
.ogcc-label.is-site i { color: var(--cc-gold); }
.ogcc-label.is-grave { font-size: .7rem; padding: 2px 6px; background: rgba(20, 33, 58, .6); }
.ogcc-label.is-trader { border-color: #b9a2e6; }
.ogcc-label.is-trader i { color: #cdb9f2; }
.ogcc-label.is-band { border-color: var(--cc-gold); }
.ogcc-knows { display: grid; gap: 6px; }
.ogcc-know { display: grid; gap: 2px; padding: 7px 9px; border-radius: 9px; border: 1px solid rgba(201, 160, 99, .3); background: rgba(255, 255, 255, .03); }
.ogcc-know b { font-weight: 600; font-size: .88rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ogcc-know b i { color: var(--cc-brass2); }
.ogcc-know small { color: var(--cc-muted); font-size: .76rem; line-height: 1.35; }
.ogcc-know.is-on { border-color: rgba(143, 212, 154, .5); }
.ogcc-know.is-on b i { color: var(--cc-ok); }
.ogcc-know.is-fading { border-color: rgba(239, 138, 118, .5); }
.ogcc-know.is-dark { opacity: .62; }
.ogcc-cmap { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; margin: 6px auto; }
.ogcc-cmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ogcc-cmap circle { fill: none; stroke: rgba(201, 160, 99, .22); stroke-width: 1; stroke-dasharray: 3 4; }
.ogcc-cmap line { stroke: rgba(185, 194, 211, .28); stroke-width: 2; }
.ogcc-cmap line.is-own { stroke: var(--cc-gold); stroke-width: 3; }
.ogcc-ccentre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, rgba(201, 160, 99, .3), rgba(20, 33, 58, .9)); border: 1px solid var(--cc-brass); padding: 4px; }
.ogcc-ccentre b { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: .86rem; color: var(--cc-brass2); line-height: 1.1; word-break: break-word; }
.ogcc-ccentre small { font-size: .62rem; color: var(--cc-muted); line-height: 1.1; }
.ogcc-cnode { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: .82rem; border: 2px solid rgba(185, 194, 211, .35); background: var(--cc-navy2); color: var(--cc-muted); padding: 0; }
.ogcc-cnode.is-open { border-color: var(--cc-brass); color: var(--cc-brass2); }
.ogcc-cnode.is-own { border-color: var(--cc-gold); background: #6b4e1d; color: var(--cc-gold); box-shadow: 0 0 10px rgba(240, 201, 106, .45); }
.ogcc-cnode.is-locked { opacity: .55; }
.ogcc-cnode.is-sel { outline: 2px solid var(--cc-cream); outline-offset: 2px; }
.ogcc-cbranch { position: absolute; transform: translate(-50%, -50%); font-size: .64rem; white-space: nowrap; color: var(--cc-muted); pointer-events: none; }
.ogcc-cbranch i { color: var(--cc-brass2); }
.ogcc-cdet { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(201, 160, 99, .35); background: rgba(201, 160, 99, .07); }
.ogcc-cdet small { color: var(--cc-muted); font-size: .74rem; }
.ogcc-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ogcc-bandov .ogcc-start__card { max-width: 460px; }
.ogcc-note.is-ok { color: var(--cc-ok); }
/* Parşömen harita etiketleri: Mürekkep */
.ogcc-label.is-ink { background: rgba(230, 216, 184, .9); border: 1px solid #5a4630; color: #4a3826; font-size: .92rem; padding: 4px 10px; border-radius: 3px; box-shadow: 1px 1px 0 rgba(90, 70, 48, .4); }
.ogcc-label.is-ink i { color: #5a4630; }
.ogcc-label.is-ink small { display: block; font-family: 'Outfit', sans-serif; font-size: .7rem; color: #6e5a44; }
.ogcc-label.is-ink.is-faint { background: transparent; border-color: transparent; box-shadow: none; font-style: italic; }
.ogcc-bbtn.is-def { border-color: rgba(239, 138, 118, .55); }
.ogcc-bbtn.is-def i { color: #f2b3a4; }
/* Süsler (yalnız görüntü): Kesik çerçeve, yeşilimsi simge */
.ogcc-bbtn.is-deco { border-style: dashed; border-color: rgba(159, 220, 174, .5); }
.ogcc-bbtn.is-deco i { color: #b9e3c3; }
.ogcc-tfam { font-size: .66rem; font-weight: 600; margin-left: 4px; white-space: nowrap; }
.ogcc-hera { margin-top: 10px; color: var(--cc-gold); }
.ogcc-chron .ogcc-hyear { font-family: 'Oswald', sans-serif; font-weight: 600; color: var(--cc-brass2); border-bottom: 1px solid rgba(201, 160, 99, .3); padding-top: 6px; }

/* ---------- Telefon ---------- */
@media (max-width: 720px) {
  .ogcc { --cc-top: 92px; --cc-bar: 78px; height: clamp(520px, 84vh, 820px); border-radius: 10px; }
  .ogcc-build { gap: 6px; padding: 6px; }
  .ogcc-queue { gap: 4px; padding-left: 6px; }
  .ogcc-slot { width: 46px; font-size: .7rem; }
  .ogcc-slot.is-empty span { display: none; }
  .ogcc-slot.is-wait { width: 28px; }
  .ogcc-top { flex-wrap: wrap; gap: 6px 8px; padding: 6px 8px; }
  .ogcc-top__left { flex: 1; }
  .ogcc-top__res { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .ogcc-town { max-width: 150px; font-size: 1.02rem; }
  .ogcc-icbtn { width: 32px; height: 32px; }
  .ogcc-goals { width: 200px; }
  .ogcc-panel { left: 8px; right: 8px; width: auto; top: auto; max-height: 58%; }
  .ogcc-bbtn { width: 78px; }
  .ogcc-bbtn__name { font-size: .74rem; }
  .ogcc-cost { font-size: .62rem; }
  .ogcc-hint { font-size: .78rem; }
  .ogcc-hint__keys { display: none; }
  .ogcc-top__left { min-width: 0; overflow: hidden; }
  .ogcc-sub { flex-direction: column; gap: 0; line-height: 1.15; }
  .ogcc-era, .ogcc-date { font-size: .76rem; }
  .ogcc-cards--5 { grid-template-columns: repeat(2, 1fr); }
  .ogcc-cards--4, .ogcc-cards--2 { grid-template-columns: 1fr; }
  .ogcc-start { padding: 8px; }
  .ogcc-start__card { padding: 14px; }
  .ogcc-store { grid-template-columns: 1fr; }
}

/* 0.3.0 yönetim: Dilekler, makamlar */
.ogcc-pet { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .3); margin: 6px 0; }
.ogcc-pet__who small { color: var(--cc-muted); }
.ogcc-pet p { margin: 4px 0; font-style: italic; }
.ogcc-office { padding: 6px 0; border-bottom: 1px solid rgba(201, 160, 99, .18); }
.ogcc-badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--cc-brass2); color: #1a1410; font-size: 11px; font-weight: 700; text-align: center; }
.ogcc-card.is-on { border-color: var(--cc-brass2); background: rgba(201, 160, 99, .14); }
.ogcc-cards--2 { grid-template-columns: repeat(2, 1fr); }

/* 0.3.0 kökenler */
.ogcc-card.is-off { opacity: .55; cursor: not-allowed; }
.ogcc-card--origin b { font-size: .9rem; }
@media (max-width: 720px) { .ogcc-cards--4 { grid-template-columns: repeat(2, 1fr); } }

/* 0.3.0 çağ göstergesi */
.ogcc-req { padding: 6px 0; border-bottom: 1px solid rgba(201, 160, 99, .18); }
.ogcc-req .ogcc-meter { display: block; margin-top: 4px; }

.ogcc-tips { margin: 4px 0 0; padding-left: 18px; font-size: .86rem; color: var(--cc-muted); }
.ogcc-tips li { margin: 2px 0; }

/* 0.3.0 işler */
.ogcc-select { font: inherit; font-family: "Outfit", sans-serif; font-size: .82rem; color: var(--cc-ink, #f1e6d2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 160, 99, .35); border-radius: 8px; padding: 3px 6px; max-width: 46%; }
.ogcc-select option { color: #1a1410; }
.ogcc-jobs { display: grid; gap: 4px; }
.ogcc-jobrow { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid rgba(201, 160, 99, .15); }
.ogcc-jobrow small { color: var(--cc-muted); font-size: .74rem; }

/* 0.3.0 kişi kartı ve makam adayları */
.ogcc-label.ogcc-hp { min-width: 150px; justify-items: start; text-align: left; }
.ogcc-label.ogcc-hp small { font-size: .68rem; color: var(--cc-muted, #cbbfa8); line-height: 1.25; }
.ogcc-label.ogcc-hp small.is-gold { color: var(--cc-brass2, #c9a063); }
.ogcc-hcard__sk { display: flex; gap: 8px; font-size: .68rem; }
.ogcc-hcard__sk b { color: #fff; }
.ogcc-cands { display: grid; gap: 4px; margin: 4px 0; }
.ogcc-cand { display: grid; gap: 2px; text-align: left; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 99, .25); cursor: pointer; color: inherit; font: inherit; }
.ogcc-cand.is-best { border-color: var(--cc-ok, #7fd18b); }
.ogcc-cand.is-on { background: rgba(201, 160, 99, .14); }
.ogcc-cand__n { font-weight: 600; } .ogcc-cand__n em { font-style: normal; font-size: .7rem; color: var(--cc-ok, #7fd18b); }
.ogcc-cand__s { font-size: .76rem; } .ogcc-cand small { font-size: .7rem; color: var(--cc-muted); }
