/* Oyun hissi: sayfayı "web sitesi" gibi değil oyun gibi davrandırır. Her oyunda aynı dosya.
   Renkler ve yazı tipleri oyunun kendi değişkenlerinden gelir: --oh-* değişkenlerini oyunun :root'unda ver. */
:root {
  --oh-zemin: rgba(8, 11, 14, 0.72);
  --oh-panel: #1d262d;
  --oh-panel-2: #24303a;
  --oh-yazi: #e4e7e1;
  --oh-soluk: #8d999f;
  --oh-vurgu: #f0a020;
  --oh-tehlike: #e5484d;
  --oh-cizgi: rgba(228, 231, 225, 0.14);
  --oh-baslik-yazi: system-ui, sans-serif;
  --oh-govde-yazi: system-ui, sans-serif;
  --oh-kesik: 14px;
}

/* seçme, sürükleme, dokunma parıltısı, sayfa esnemesi yok; imleç her yerde ok */
html, body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
body { -webkit-user-select: none; user-select: none; cursor: default; -webkit-touch-callout: none; }
img, svg, canvas, a { -webkit-user-drag: none; }
input, textarea, [contenteditable="true"], .secilebilir { -webkit-user-select: text; user-select: text; cursor: auto; }
button, a, [role="button"], [role="tab"], label, select, summary { cursor: pointer; }
input::selection, textarea::selection, .secilebilir ::selection { background: var(--oh-vurgu); color: #111; }

/* fareyle tıklayınca mavi çerçeve yok; klavyeyle gezilince oyun renginde ince çerçeve */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--oh-vurgu); outline-offset: 2px; }

/* kaydırma çubukları: ince, oyun renginde */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--oh-yazi) 28%, transparent) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--oh-yazi) 28%, transparent); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--oh-yazi) 45%, transparent); }
::-webkit-scrollbar-corner { background: transparent; }

/* oyun içi onay penceresi (tarayıcının gri confirm/alert kutusu yerine) */
.oh-perde {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center;
  background: var(--oh-zemin); backdrop-filter: blur(3px);
  animation: oh-belir 0.14s ease-out;
}
.oh-kutu {
  width: min(460px, calc(100vw - 32px)); background: var(--oh-panel); color: var(--oh-yazi);
  border-top: 3px solid var(--oh-vurgu); padding: 26px 28px 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--oh-kesik)), calc(100% - var(--oh-kesik)) 100%, 0 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: oh-kalk 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.oh-perde.tehlike .oh-kutu { border-top-color: var(--oh-tehlike); }
.oh-perde .oh-baslik { padding: 0; color: var(--oh-yazi); margin: 0 0 8px; font-family: var(--oh-baslik-yazi); font-size: 30px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.oh-perde .oh-metin { padding: 0; max-width: none; margin: 0 0 24px; font-family: var(--oh-govde-yazi); font-size: 15px; line-height: 1.45; color: var(--oh-soluk); }
.oh-dugmeler { display: flex; gap: 10px; justify-content: flex-end; }
.oh-perde .oh-dugme {
  all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: auto; width: auto; text-align: center;
  font-family: var(--oh-baslik-yazi); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--oh-cizgi); background: var(--oh-panel-2); color: var(--oh-yazi);
  padding: 10px 22px; min-width: 120px; cursor: pointer; transition: background 0.12s, transform 0.08s;
}
.oh-perde .oh-dugme:hover { background: color-mix(in srgb, var(--oh-panel-2) 70%, var(--oh-yazi)); }
.oh-perde .oh-dugme:active { transform: translateY(1px); }
.oh-perde .oh-dugme.ana { background: var(--oh-vurgu); border-color: transparent; color: #111; }
.oh-perde .oh-dugme.ana:hover { background: color-mix(in srgb, var(--oh-vurgu) 82%, #fff); }
.oh-perde .oh-dugme:focus-visible { outline: 2px solid color-mix(in srgb, var(--oh-yazi) 70%, transparent); outline-offset: 3px; }
.oh-perde.tehlike .oh-dugme.ana { background: var(--oh-tehlike); color: #fff; }
.oh-perde.tehlike .oh-dugme.ana:hover { background: color-mix(in srgb, var(--oh-tehlike) 82%, #fff); }
.oh-ipucu { margin-top: 14px; font-family: var(--oh-govde-yazi); font-size: 12px; color: var(--oh-soluk); text-align: right; }
.oh-ipucu kbd { font-family: inherit; border: 1px solid var(--oh-cizgi); padding: 1px 6px; margin: 0 2px; }
@keyframes oh-belir { from { opacity: 0; } }
@keyframes oh-kalk { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
