/* =================================================================
   STYLE.CSS — HORS.TR ortak stil (tek stil sistemi, tüm sayfalar)
   YENİ ANA STİL: canvasESAS.html'deki "liste görünümü" (SIRALAMA paneli)
   tasarım dili — beyaz/mavi pastel panel, "Baloo 2" yuvarlak başlık
   fontu, krom-mavi vurgular, yumuşak mavi gölgeler.
   Not: --gold-bright, --text-dim, --success, --danger değişken ADLARI,
   bazı .js dosyalarının içinde (innerHTML şablonlarında) doğrudan
   var(--gold-bright) vb. şeklinde referans verildiği için AYNEN
   korundu; JS dosyalarına dokunmamak için sadece bu adların taşıdığı
   RENK DEĞERLERİ yeni pastel palete göre güncellendi.
   ================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    /* Sayfa arka planı (açık gökyüzü) */
    --bg-1: #eaf4ff;
    --bg-2: #dbe9fb;

    /* Panel / kart (canvas'taki beyaz sonuç paneliyle aynı) */
    --panel-1: rgba(255,255,255,0.97);
    --panel-2: rgba(226,240,255,0.90);
    --panel-solid: #ffffff;
    --panel-border: #ffffff;

    /* Metin */
    --ink: #1e3a54;
    --ink-soft: #39597a;
    --text-dim: #7a93ab;   /* KORUNAN AD — js/html içinde inline kullanılıyor */

    /* Krom-mavi vurgu (canvas başlık gradyanı: #5f8fd0 → #8fb3e0 → #6fa0d8) */
    --chrome-1: #5f8fd0;
    --chrome-2: #8fb3e0;
    --chrome-3: #6fa0d8;
    --gold-bright: #5f8fd0; /* KORUNAN AD — artık "krom-mavi vurgu" anlamına geliyor */
    --gold: #6fa0d8;        /* ikincil vurgu tonu */

    /* Butonlar (canvas'taki "Tekrar" butonu paleti) */
    --btn-1: #d6e8ff;
    --btn-2: #b3d0f0;
    --btn-press-1: #9dc0e8;
    --btn-press-2: #7ea6d4;

    /* Durum renkleri */
    --success: #2f9e63;    /* KORUNAN AD — beyaz zemin üzerinde okunaklı yeşil */
    --danger: #e0574f;     /* KORUNAN AD — değişmedi, beyaz zeminde de iyi çalışıyor */
    --danger-bg: rgba(224,87,79,0.12);

    --line: rgba(95,143,208,0.28);
    --shadow: rgba(20,40,80,0.35);

    /* GENEL STİL KURALI: frame3 (avatar) çerçevelerinin arka planı cinsiyete göre değişir.
       Aygır → mevcut krom-mavi ton (varsayılan). Kısrak → açık pembe (Tea Rose ailesinden,
       pastel temaya uyarlanmış, daha açık bir ton). */
    --frame-stallion: rgba(95,143,208,0.10);
    --frame-mare: #f6d8e0;
    --frame-mare-border: #eeb8c8;

    --radius: 16px;
    --radius-lg: 24px;

    /* Klavye odak ışını kaldırıldı */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
    margin: 0; padding: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    overflow: hidden;
    position: fixed;
    inset: 0;
    background: #0b1420;
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    touch-action: none;
    overscroll-behavior: none;
    -webkit-user-select: none; user-select: none;
}

body {
    display: flex; align-items: center; justify-content: center;
}

/* ---------- SANAL OYUN ÇERÇEVESİ ----------
   Mobil hedefli bir oyun olduğu için tüm arayüz, gerçek ekran boyutu ne
   olursa olsun sabit bir "sanal" çözünürlüğe oturtulur: dikeyde 600x800,
   yatayda 800x600. Böylece her şey derli toplu, tek bakışta sığan bir
   alanda kalır. `transform` burada aynı zamanda içindeki tüm `position:fixed`
   öğeler (topbar butonları, modallar, açılış ekranı) için YENİ bir
   "containing block" oluşturur — yani onlar da gerçek pencereye değil, bu
   çerçeveye göre konumlanır. Pazaryeri sayfası (kartların serbestçe
   büyüyebilmesi için) bu kısıtlamadan muaf tutulur. */
#hz-app-frame {
    position: relative;
    width: 100%; height: 100%;
    max-width: 600px; max-height: 800px;
    overflow: hidden;
    transform: translateZ(0);
    background: linear-gradient(160deg, var(--bg-1), var(--bg-2));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 0 60px rgba(0,0,0,0.45);
}
@media (orientation: landscape) {
    #hz-app-frame { max-width: 800px; max-height: 600px; }
}
#hz-app-frame.hz-frame-unconstrained { max-width: none; max-height: none; box-shadow: none; }

#page-root { position: relative; width: 100%; height: 100%; }

button, a, input, select, textarea, label,
.hz-btn, .hz-buy-btn, .hz-danger-btn, .hz-badge-btn, .hz-wallet,
.hz-horse-item, .hz-market-card, .hz-stall, .hz-lucky-card,
.hz-race-start-btn, .hz-bet-slider {
    touch-action: manipulation;
}

h1, h2, h3, .hz-display { font-family: 'Baloo 2', sans-serif; }

.hz-page {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    background:
        radial-gradient(ellipse at top, rgba(143,179,224,0.25), transparent 60%),
        linear-gradient(160deg, var(--bg-1), var(--bg-2));
    overflow: hidden;
}

/* ---------- SWIPE INDICATOR (scrollbar yerine) ---------- */
.hz-swipe-indicator {
    position: fixed; left: 50%; bottom: 8px; transform: translateX(-50%);
    z-index: 999999; font-size: 13px; letter-spacing: 2px;
    opacity: 0; transition: opacity .3s;
    background: rgba(255,255,255,0.85); color: var(--ink-soft);
    border: 1px solid var(--line);
    padding: 4px 12px; border-radius: 20px; pointer-events: none;
    box-shadow: 0 4px 12px rgba(20,40,80,0.12);
}
.hz-swipe-indicator.show { opacity: 0.9; animation: hzPulse 1.8s infinite; }
@keyframes hzPulse { 0%,100%{opacity:.6;} 50%{opacity:1;} }

/* ---------- CÜZDAN ---------- */
.hz-topbar {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; padding: 14px 60px 10px 60px; flex-shrink: 0;
    position: relative; z-index: 2;
}
.hz-badge-btn {
    background: none; border: none; font-size: 20px; cursor: pointer;
    padding: 4px 8px; position: relative; color: var(--ink);
}
.hz-badge-btn .hz-badge-count {
    position: absolute; top: -4px; right: -2px; background: var(--chrome-1);
    color: #fff; font-size: 10px; font-weight: 800; border-radius: 10px;
    padding: 1px 5px; min-width: 14px;
}
.hz-wallet {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    background: linear-gradient(160deg, var(--panel-1), var(--panel-2));
    border: 1px solid var(--panel-border); border-radius: 24px;
    padding: 7px 18px; box-shadow: 0 4px 14px rgba(20,40,80,0.16);
}
.hz-wallet .hz-coin { font-size: 16px; }
.hz-wallet-value {
    font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px;
    color: var(--gold-bright); letter-spacing: 0.5px;
}

/* ---------- ANASAYFA ---------- */
.hz-home {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 10px 24px; gap: 14px;
    position: relative; z-index: 2;
}
.hz-home-icon { font-size: 58px; filter: drop-shadow(0 4px 10px rgba(95,143,208,0.35)); }
.hz-home-title { font-size: 34px; font-weight: 800; color: var(--gold-bright); letter-spacing: 1px; font-family: 'Baloo 2', sans-serif; }
.hz-home-sub { color: var(--text-dim); font-size: 14.5px; max-width: 300px; line-height: 1.5; }
.hz-home-actions { display: flex; flex-direction: column; gap: 9px; width: 100%; max-width: 240px; margin-top: 10px; }

/* ---------- ANASAYFA ARKA PLAN: KOŞAN AT ----------
   Sayfanın en alt katmanında (tüm içeriğin arkasında), %80 transparanlıkta
   (opacity 0.2) soldan sağa koşarak geçen at animasyonu. Kareler index.js
   içinde renks/white1.png .. white6.png arasında döngüyle değiştirilir. */
.hz-run-horse-bg {
    position: absolute; z-index: 1; top: auto; bottom: 18px; left: -480px;
    width: 456px; height: 354px;
    background-repeat: no-repeat; background-position: center; background-size: contain;
    opacity: 0.2; pointer-events: none;
    animation: hzRunAcross 9s linear infinite;
}
@keyframes hzRunAcross {
    0%   { left: -480px; }
    100% { left: 100%; }
}
.hz-btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; border: none; background: transparent; padding: 0;
    border-radius: var(--radius); cursor: pointer; text-decoration: none;
}
.hz-beam-face {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: calc(100% - 4px); height: calc(100% - 4px); margin: 2px;
    background: linear-gradient(180deg, var(--btn-1), var(--btn-2));
    color: var(--ink); font-weight: 800; font-size: 13.5px; padding: 12px 16px;
    border: 1.5px solid #fff; border-radius: calc(var(--radius) - 2px);
    box-shadow: 0 6px 16px rgba(20,40,80,0.20);
    transition: transform .12s ease, background .12s ease;
}
.hz-btn:active .hz-beam-face { transform: scale(0.97); background: linear-gradient(180deg, var(--btn-press-1), var(--btn-press-2)); }
.hz-btn.hz-btn-ghost .hz-beam-face {
    background: transparent; border: 1.5px solid var(--chrome-1); color: var(--chrome-1);
    box-shadow: none;
}
.hz-clock { font-size: 12px; color: var(--text-dim); margin-top: 4px; }


/* ---------- LİSTE / KART ORTAK ---------- */
.hz-scroll-viewport { flex: 1; overflow: hidden; position: relative; }
.hz-scroll-content { display: flex; flex-direction: column; gap: 10px; padding: 10px 16px 26px; will-change: transform; }

.hz-horse-item {
    position: relative; overflow: hidden; isolation: isolate;
    cursor: pointer; border-radius: var(--radius);
}
.hz-horse-item .hz-beam-face {
    display: flex; align-items: center; gap: 12px;
    width: calc(100% - 4px); margin: 2px;
    background: linear-gradient(135deg, var(--panel-1), var(--panel-2));
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 2px); padding: 10px 12px;
    box-shadow: 0 4px 12px rgba(20,40,80,0.10);
}
.hz-horse-item.hz-glow .hz-beam-face { box-shadow: 0 0 0 2px var(--chrome-1), 0 0 14px rgba(95,143,208,0.35); }
.hz-avatar {
    width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
    background: var(--frame-stallion); display: flex; align-items: center; justify-content: center;
}
.hz-avatar.hz-mare { background: var(--frame-mare); }
.hz-avatar img { width: 100%; height: 100%; object-fit: contain; }
.hz-horse-info { flex: 1; min-width: 0; }
.hz-horse-name-row { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.hz-horse-name-row span.nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz-stars { font-size: 11px; color: var(--chrome-1); }
.hz-meta-preview { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.hz-odds { font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--gold-bright); font-size: 15px; }
.hz-mini-tag { font-size: 15px; }

.hz-empty { text-align: center; color: var(--text-dim); padding: 40px 24px; line-height: 1.6; font-size: 14px; }

/* ---------- MODAL (canvas'taki "SIRALAMA" paneliyle aynı tasarım dili) ---------- */
.hz-modal-overlay {
    position: fixed; inset: 0; z-index: 500000; background: rgba(20,40,80,0.35);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .18s;
    padding: 16px;
}
.hz-modal-overlay.active { opacity: 1; pointer-events: auto; }
.hz-modal-panel {
    width: 100%; max-width: 360px; max-height: 88vh; max-height: 88dvh; overflow: hidden;
    background: linear-gradient(135deg, var(--panel-1), var(--panel-2));
    border: 3px solid #fff; border-radius: var(--radius-lg);
    padding: 18px; position: relative;
    display: flex; flex-direction: column; gap: 12px;
    box-shadow: 0 24px 48px rgba(20,40,80,0.35);
}
.hz-modal-close {
    position: absolute; top: 10px; right: 10px; background: rgba(95,143,208,0.12);
    border: none; color: var(--ink); width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 15px;
}
.hz-lock-star-btn {
    position: absolute; top: 48px; right: 10px; background: rgba(95,143,208,0.12);
    border: none; color: var(--chrome-1); width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 16px;
}
.hz-lock-star-btn.active { color: var(--gold-bright); background: rgba(240,196,90,0.20); }
.hz-modal-header { display: flex; align-items: center; gap: 12px; padding-right: 36px; }
.hz-modal-avatar {
    width: 68px; height: 68px; border-radius: 12px; background: var(--frame-stallion);
    display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer;
}
.hz-modal-avatar.hz-mare { background: var(--frame-mare); }
.hz-modal-avatar img { width: 100%; height: 100%; object-fit: contain; }
.hz-modal-title h3 { margin: 0 0 4px; font-size: 18px; color: var(--gold-bright); font-family: 'Baloo 2', sans-serif; }

.hz-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hz-stat-box { background: rgba(95,143,208,0.08); border-radius: 10px; padding: 8px 10px; }
.hz-stat-label { font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.4px; }
.hz-stat-value { font-size: 14px; font-weight: 700; margin-top: 2px; color: var(--ink); }

.hz-bet-slider-wrap { display: flex; flex-direction: column; gap: 6px; }
.hz-bet-slider { width: 100%; accent-color: var(--chrome-1); }
.hz-bet-amount { text-align: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--gold-bright); font-size: 17px; }
.hz-modal-actions { display: flex; gap: 8px; }
.hz-btn-confirm { flex: 1; background: linear-gradient(180deg,var(--btn-1),var(--btn-2)); color: var(--ink); border: 1.5px solid #fff; font-weight:800; padding: 12px; border-radius: 14px; cursor:pointer; box-shadow: 0 6px 14px rgba(20,40,80,0.18); }
.hz-btn-confirm:active { background: linear-gradient(180deg,var(--btn-press-1),var(--btn-press-2)); }
.hz-btn-cancel { flex: 1; background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); font-weight: 700; padding: 12px; border-radius: 14px; cursor: pointer; }

.hz-mini-parent-modal {
    position: fixed; inset: 0; z-index: 600000; background: rgba(20,40,80,0.45);
    display: flex; align-items: center; justify-content: center; opacity:0; pointer-events:none; transition: opacity .15s;
}
.hz-mini-parent-modal.active { opacity: 1; pointer-events: auto; }
.hz-mini-parent-box { background: linear-gradient(135deg, var(--panel-1), var(--panel-2)); border: 3px solid #fff; border-radius: var(--radius-lg); padding: 18px; display:flex; gap:18px; box-shadow: 0 24px 48px rgba(20,40,80,0.35); }
.hz-parent-col { text-align: center; width: 90px; }
.hz-parent-role { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; color: var(--chrome-1); text-transform: uppercase; margin-bottom: 4px; }
.hz-parent-col .hz-avatar { width: 72px; height: 72px; border-radius: 10px; margin: 0 auto; }
.hz-parent-col.dead .hz-avatar img { filter: grayscale(1) brightness(0.8); }
.hz-parent-col .pn { font-size: 11px; margin-top: 6px; color: var(--text-dim); }

/* ---------- YARIŞ PİSTİ (artık canvasESAS.html tabanlı <canvas> motoru çiziyor) ---------- */
.hz-race-wrap { flex: 1; position: relative; overflow: hidden; background: #16240f; }
.hz-race-wrap canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }

.hz-race-start-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 96px; height: 96px; border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.7); background: rgba(0,0,0,0.55);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 15px; font-weight: 800; color: #fff; cursor: pointer;
    box-shadow: 0 0 40px rgba(95,143,208,0.4); z-index: 20;
    display:flex; align-items:center; justify-content:center; text-align:center; line-height:1.2;
    font-family: 'Baloo 2', sans-serif;
}
.hz-race-start-btn:active { transform: translate(-50%,-50%) scale(0.92); }
.hz-race-start-btn:disabled { opacity: 0.3; filter: grayscale(0.7); pointer-events: none; }

/* Yarış sonucu — canvas'taki "SIRALAMA" listesiyle birebir aynı beyaz/mavi panel */
.hz-race-result {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(0.9);
    background: linear-gradient(135deg, var(--panel-1), var(--panel-2));
    border: 3px solid #fff; border-radius: var(--radius-lg);
    padding: 18px 20px; min-width: 240px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 30;
    box-shadow: 0 24px 48px rgba(20,40,80,0.45);
}
.hz-race-result.show { opacity: 1; transform: translate(-50%,-50%) scale(1); pointer-events: auto; }

/* ---------- HARA (liste görünümü) ---------- */
.hz-hara-grid { display: flex; flex-direction: column; gap: 8px; padding: 10px 16px 26px; }
.hz-stall {
    position: relative; overflow: hidden; isolation: isolate;
    cursor: pointer; border-radius: var(--radius);
}
.hz-stall .hz-beam-face {
    display: flex; align-items: center; gap: 12px;
    width: calc(100% - 4px); margin: 2px;
    background: linear-gradient(135deg, var(--panel-1), var(--panel-2));
    border: 1.5px dashed var(--line);
    border-radius: calc(var(--radius) - 2px); padding: 9px 12px;
    box-shadow: 0 4px 12px rgba(20,40,80,0.08);
}
.hz-stall.filled .hz-beam-face { border-style: solid; border-color: var(--chrome-2); }
.hz-stall.reserved .hz-beam-face { opacity: 0.65; }
.hz-stall .hz-avatar { width: 52px; height: 52px; flex-shrink: 0; }
.hz-stall .empty-plus {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--text-dim); background: rgba(95,143,208,0.08);
}
.hz-stall .ss { font-size: 12px; color: var(--chrome-1); margin-top: 2px; }
.hz-stall.buy-stall .hz-beam-face { border-style: solid; border-color: var(--gold-bright); }
.hz-stall.buy-stall .empty-plus { color: var(--gold-bright); background: rgba(240,196,90,0.14); }

/* ---------- PAZARYERI ---------- */
.hz-sort-btn {
    display: flex; align-items: center; gap: 5px;
    background: linear-gradient(160deg, var(--panel-1), var(--panel-2));
    border: 1px solid var(--panel-border); border-radius: 20px;
    padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--ink);
    cursor: pointer; box-shadow: 0 3px 10px rgba(20,40,80,0.12);
}
.hz-sort-btn:active { transform: scale(0.95); }
.hz-market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px 26px; }
.hz-market-card {
    position: relative; overflow: hidden; isolation: isolate;
    cursor: pointer; border-radius: var(--radius);
}
.hz-market-card .hz-beam-face {
    display: block; width: calc(100% - 4px); margin: 2px;
    background: linear-gradient(135deg, var(--panel-1), var(--panel-2)); border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 2px); padding: 10px; text-align: center;
    box-shadow: 0 4px 12px rgba(20,40,80,0.08);
}
.hz-market-card .hz-avatar { width: 100%; height: 76px; margin: 0 auto 6px; }
.hz-market-card .mn { font-size: 12.5px; font-weight: 700; color: var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hz-market-card .mp { font-family:'Baloo 2',sans-serif; font-weight:800; color: var(--gold-bright); font-size: 13.5px; margin-top: 4px; }
.hz-buy-btn { margin-top: 6px; width: 100%; padding: 8px; border: 1.5px solid #fff; border-radius: 10px; background: linear-gradient(180deg,var(--btn-1),var(--btn-2)); color: var(--ink); font-weight: 800; font-size: 12px; cursor: pointer; }

/* ---------- AYARLAR ---------- */
.hz-settings-list { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.hz-settings-row { background: linear-gradient(135deg, var(--panel-1), var(--panel-2)); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); box-shadow: 0 4px 12px rgba(20,40,80,0.08); }
.hz-danger-btn { background: var(--danger-bg); border: 1px solid var(--danger); color: var(--danger); padding: 8px 14px; border-radius: 10px; font-weight: 700; cursor: pointer; }

/* ---------- REKLAM ---------- */
.hz-ad-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; }
.hz-ad-box { width: 100%; max-width: 320px; aspect-ratio: 9/13; background: linear-gradient(160deg, var(--panel-1), var(--panel-2)); border: 3px solid #fff; border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; box-shadow: 0 24px 48px rgba(20,40,80,0.30); }
.hz-ad-timer { font-size: 44px; font-weight: 800; color: var(--gold-bright); font-family:'Baloo 2',sans-serif; }
.hz-ad-close { display:none; background: linear-gradient(180deg,var(--btn-1),var(--btn-2)); color: var(--ink); border: 1.5px solid #fff; padding: 12px 28px; border-radius: 12px; font-weight: 800; cursor: pointer; }

/* ---------- ŞANS KARTI ---------- */
.hz-cards-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 20px; }
.hz-cards-row { display: flex; gap: 14px; }
.hz-lucky-card {
    width: 84px; height: 118px; border-radius: 14px; background: linear-gradient(160deg,var(--panel-1),var(--panel-2));
    border: 1.5px solid var(--chrome-1); display: flex; align-items: center; justify-content: center;
    font-size: 30px; cursor: pointer; transition: transform .15s;
    box-shadow: 0 6px 16px rgba(20,40,80,0.16);
}
.hz-lucky-card.flipped { transform: rotateY(180deg); pointer-events: none; }
.hz-lucky-result { text-align: center; font-size: 15px; font-weight: 700; color: var(--gold-bright); min-height: 24px; }

/* ---------- BAHİS ÇUBUĞU ---------- */
.hz-chip-hint { font-size: 11px; color: var(--text-dim); display:flex; justify-content:space-between; }

/* ---------- Kula (Buckskin) yaklaşık görsel filtresi ---------- */
.hz-filter-buckskin { filter: sepia(0.55) saturate(1.6) hue-rotate(-8deg) brightness(1.08); }
.hz-dead-figure { filter: grayscale(1) brightness(0.85); }

/* ---------- FORM ---------- */
.hz-input {
    width: 100%; background: rgba(95,143,208,0.08); border: 1px solid var(--line); color: var(--ink);
    padding: 10px 12px; border-radius: 12px; font-size: 14px; font-family: 'Manrope', sans-serif;
}
.hz-field-label { font-size: 11px; color: var(--text-dim); margin-bottom: 4px; display:block; }

@media (min-width: 480px) {
    .hz-modal-panel { max-width: 380px; }
}

/* ---------- KISA YATAY EKRANLAR (gerçek telefonlar yatayda genelde
   600px'ten çok daha az yükseklikte, ör. ~375-430px) — anasayfadaki tüm
   içeriğin (başlık + açıklama + 4 buton) kesilmeden sığması için sıkılaştırılmış
   boşluklar. ---------- */
@media (orientation: landscape) and (max-height: 480px) {
    .hz-topbar { padding: 10px 60px 6px 60px; }
    .hz-home { gap: 8px; padding: 6px 24px; }
    .hz-home-title { font-size: 24px; }
    .hz-home-sub { font-size: 12px; line-height: 1.35; }
    .hz-home-actions { gap: 6px; margin-top: 6px; }
    .hz-home-actions .hz-beam-face { padding: 8px 16px; font-size: 12px; }
    .hz-run-horse-bg { width: 300px; height: 232px; bottom: 6px; }
}