/* Hadi Sende Oyunlar — ortak tasarım (açık tema, beyaz / mürekkep / kırmızı).
   Önek: hg-   |   Oyunlara özel bölümler dosyanın devamında. Hareket azaltma tercihi saygı görür. */
.hg-wrap { max-width: 980px; margin: 0 auto; padding-bottom: 48px; }
.hg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #737373; margin: 0 0 14px; }
.hg-crumbs a { color: #5e5e5e; text-decoration: none; }
.hg-crumbs a:hover { color: #e50914; }
html body .hg-h1 { font-family: var(--ns-serif, Georgia, serif); font-size: clamp(28px, 4.6vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin: 0 0 10px; color: #141414; }
.hg-lead { font-size: 17px; line-height: 1.6; color: #333; margin: 0 0 20px; max-width: 62ch; }
.hg-h2 { font-size: 18px; }
.hg-wrap .sh-h2 { margin-top: 36px; }

/* -------------------------------------------------------------- oyun kutusu */
.hg-app { position: relative; background: #fff; border: 1px solid var(--hs-line, rgba(20,20,20,.12)); border-top: 3px solid var(--hs-pri, #e50914); border-radius: 14px; padding: 16px; box-shadow: 0 14px 34px -22px rgba(20,20,20,.28); }
.hg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 12px; }
.hg-seg { display: inline-flex; gap: 2px; padding: 3px; background: #f1f1f1; border-radius: 999px; }
.hg-seg button { appearance: none; border: 0; background: transparent; min-height: 36px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: #5e5e5e; cursor: pointer; transition: background .15s, color .15s; }
.hg-seg button:hover { color: #141414; }
.hg-seg button[aria-checked="true"] { background: #fff; color: #b20710; box-shadow: 0 1px 3px rgba(20,20,20,.18); }
.hg-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--hs-bd, #d9d9d9); background: #fff; color: #141414; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.hg-btn:hover { background: #f5f5f5; border-color: #bdbdbd; color: #141414; }
.hg-btn:active { transform: translateY(1px); }
.hg-btn:disabled { opacity: .45; cursor: not-allowed; }
.hg-btn--pri { background: var(--hs-pri, #e50914); border-color: var(--hs-pri, #e50914); color: #fff; }
.hg-btn--pri:hover { background: var(--hs-prih, #c40812); border-color: var(--hs-prih, #c40812); color: #fff; }
.hg-btn[aria-pressed="true"], .hg-btn.is-on { background: #141414; border-color: #141414; color: #fff; }
.hg-btn svg { width: 18px; height: 18px; flex: none; }
.hg-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hg-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; background: #f7f7f7; border: 1px solid #ececec; border-radius: 10px; font-size: 13px; color: #5e5e5e; }
.hg-chip span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #737373; }
.hg-chip b { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; color: #141414; }
.hg-chip--best b { color: #b20710; }
.hg-play { display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 120px; }
.hg-hint { font-size: 13.5px; color: #5e5e5e; text-align: center; margin: 0; max-width: 56ch; }
.hg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hg-noscript { padding: 24px 12px; text-align: center; color: #5e5e5e; }
.hg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* -------------------------------------------------------------- pencere ve bildirim */
.hg-modal-back { position: fixed; inset: 0; z-index: 2600; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20,20,20,.52); animation: hg-fade .18s ease both; }
.hg-modal { width: 100%; max-width: 420px; max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: 16px; padding: 24px 22px 20px; box-shadow: 0 28px 70px rgba(20,20,20,.35); outline: 0; animation: hg-pop .24s cubic-bezier(.2,.8,.2,1) both; }
.hg-modal__t { font-family: var(--ns-serif, Georgia, serif); font-size: 24px; line-height: 1.2; margin: 0 0 10px; color: #141414; }
.hg-modal__b p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.55; color: #333; }
.hg-modal__s { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 12px 0 4px; }
.hg-modal__s div { background: #f7f7f7; border-radius: 10px; padding: 8px 10px; text-align: center; }
.hg-modal__s dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #737373; }
.hg-modal__s dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: #141414; }
.hg-modal__a { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.hg-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 2700; transform: translate(-50%, 12px); max-width: calc(100% - 32px); background: #141414; color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.hg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@keyframes hg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hg-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------- Türkçe ekran klavyesi */
.hg-kb { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 6px; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.hg-kb__r { display: flex; justify-content: center; gap: 5px; }
.hg-key { appearance: none; flex: 1 1 0; min-width: 0; max-width: 46px; height: 50px; padding: 0; border: 0; border-radius: 8px; background: #e9e9e9; color: #141414; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .12s, transform .08s; -webkit-tap-highlight-color: transparent; }
.hg-key:hover:not(:disabled) { background: #dcdcdc; }
.hg-key:active:not(:disabled) { transform: scale(.94); }
.hg-key--w { flex: 1.6 1 0; max-width: 72px; font-size: 13px; background: #d2d2d2; }
.hg-key.is-ok { background: #1e8e3e; color: #fff; }
.hg-key.is-pres { background: #f9ab00; color: #141414; }
.hg-key.is-abs { background: #737373; color: #fff; }
.hg-key.is-hit { background: #1e8e3e; color: #fff; opacity: 1; }
.hg-key.is-miss { background: #f3c9cc; color: #a9070f; }
.hg-key:disabled { cursor: default; }
@media (max-width: 420px) { .hg-kb__r { gap: 3px; } .hg-key { height: 46px; font-size: 15px; border-radius: 6px; } .hg-key--w { font-size: 12px; } }

/* -------------------------------------------------------------- nasıl oynanır / ipuçları */
.hg-how { display: grid; gap: 8px 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hg-how { grid-template-columns: 3fr 2fr; } }
.hg-how h3 { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #b20710; margin: 18px 0 8px; }
.hg-how ol, .hg-how ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.hg-how li { font-size: 15.5px; line-height: 1.6; color: #333; }
.hg-how p { font-size: 15.5px; line-height: 1.65; color: #333; margin: 0 0 10px; }
.hg-levels { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hg-levels li { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; background: #f7f7f7; border-radius: 10px; font-size: 14.5px; line-height: 1.5; color: #333; }
.hg-levels b { flex: none; min-width: 52px; color: #141414; }
.hg-faq details { border-bottom: 1px solid #e5e5e5; padding: 12px 0; }
.hg-faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; color: #141414; }
.hg-faq p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #444; }

/* -------------------------------------------------------------- diğer oyunlar şeridi ve oyun kartları */
.hg-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 0; padding: 0; list-style: none; }
.hg-card { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px; background: #fff; border: 1px solid var(--hs-line, rgba(20,20,20,.12)); border-radius: 14px; text-decoration: none; color: inherit; transition: transform .2s var(--ns-ease, ease), border-color .2s, box-shadow .2s; }
.hg-card:hover { transform: translateY(-3px); border-color: #141414; box-shadow: 0 16px 30px -20px rgba(20,20,20,.45); color: inherit; }
.hg-card__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--hs-pri-bg, #fdeced); color: var(--hs-pri, #e50914); }
.hg-card__ic svg { width: 34px; height: 34px; }
.hg-card__t { font-family: var(--ns-serif, Georgia, serif); font-size: 20px; font-weight: 700; line-height: 1.2; margin: 4px 0 0; color: #141414; }
.hg-card__d { font-size: 14px; line-height: 1.5; color: #5e5e5e; margin: 0; flex: 1; }
.hg-card__f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 13px; }
.hg-card__go { font-weight: 800; color: #b20710; }
.hg-card__go i { display: inline-block; font-style: normal; transition: transform .2s; }
.hg-card:hover .hg-card__go i { transform: translateX(4px); }
.hg-badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1f1f1; color: #5e5e5e; }
.hg-badge--ok { background: #e6f4ea; color: #137333; }
.hg-badge--best { background: #fff4d6; color: #8a5a00; }
.hg-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.hg-tags span { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #f5f5f5; color: #5e5e5e; }

/* -------------------------------------------------------------- oyunlar ana sayfası */
.hg-daily { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 4px 0 8px; }
@media (min-width: 700px) { .hg-daily { grid-template-columns: 1fr 1fr; } }
.hg-dcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: #141414; color: #fff; text-decoration: none; overflow: hidden; transition: transform .2s var(--ns-ease, ease), box-shadow .2s; }
.hg-dcard:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -22px rgba(20,20,20,.7); color: #fff; }
.hg-dcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(229,9,20,.55), rgba(229,9,20,0) 70%); pointer-events: none; }
.hg-dcard__k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ff6b73; }
.hg-dcard__t { font-family: var(--ns-serif, Georgia, serif); font-size: 26px; font-weight: 700; line-height: 1.15; margin: 0; color: #fff; }
.hg-dcard__d { font-size: 14.5px; line-height: 1.5; color: #d6d6d6; margin: 0 0 8px; max-width: 40ch; }
.hg-dcard__f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; font-size: 13px; color: #cfcfcf; }
.hg-dcard__f time, .hg-dcard__f b { font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; }
.hg-dcard__b { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 700; color: #fff; font-size: 12.5px; }
.hg-dcard__b.is-ok { background: #1e8e3e; }
.hg-note { font-size: 13.5px; color: #737373; margin: 18px 0 0; }
.hg-hubnote { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 22px; padding: 12px 14px; background: #f7f7f7; border-radius: 10px; font-size: 14px; color: #444; }
.hg-hubnote span { display: inline-flex; align-items: center; gap: 6px; }
.hg-hubnote span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e50914; }

@media (max-width: 520px) {
  .hg-app { padding: 12px 10px; border-radius: 12px; }
  .hg-seg button { padding: 0 13px; }
  .hg-btn { min-height: 44px; }
  .hg-seg button { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-modal-back, .hg-modal { animation: none; }
  .hg-card, .hg-dcard, .hg-btn, .hg-key, .hg-toast, .hg-card__go i { transition: none; }
}
@media print { .hg-app, .hg-top { display: none; } }

/* ============================================================== ortak animasyonlar */
@keyframes hg-draw { to { stroke-dashoffset: 0; } }
@keyframes hg-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes hg-tilepop { from { transform: scale(.88); } to { transform: scale(1); } }
@keyframes hg-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }

/* ============================================================== Sudoku */
.hg-sd { display: grid; grid-template-columns: repeat(9, 1fr); width: min(100%, 468px); aspect-ratio: 1; border: 2px solid #141414; border-radius: 6px; overflow: hidden; background: #fff; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.hg-sd__c { appearance: none; position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; padding: 0; border: 0; border-right: 1px solid #d6d6d6; border-bottom: 1px solid #d6d6d6; background: #fff; font: inherit; font-size: clamp(17px, 5.2vw, 27px); font-weight: 500; color: #b20710; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hg-sd__c.bR { border-right: 2px solid #141414; }
.hg-sd__c.bB { border-bottom: 2px solid #141414; }
.hg-sd__c.is-given { color: #141414; font-weight: 700; background: #f7f7f7; }
.hg-sd__c.is-peer { background: #f1f1f1; }
.hg-sd__c.is-given.is-peer { background: #ebebeb; }
.hg-sd__c.is-same { background: #fde3e5; }
.hg-sd__c.is-sel { background: #ffd2d5; box-shadow: inset 0 0 0 2px #e50914; z-index: 1; }
.hg-sd__c.is-bad { background: #fce8e6; color: #d93025; }
.hg-sd__notes { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 100%; height: 100%; padding: 1px; }
.hg-sd__notes i { display: grid; place-items: center; font-style: normal; font-size: clamp(7px, 1.9vw, 11px); line-height: 1; font-weight: 700; color: #737373; }
.hg-sd__pad { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; width: min(100%, 468px); }
.hg-sd__n { appearance: none; position: relative; display: grid; place-items: center; min-height: 52px; padding: 0; border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; font: inherit; color: #141414; cursor: pointer; transition: background .12s, transform .08s; }
.hg-sd__n b { font-size: 20px; font-weight: 700; }
.hg-sd__n i { position: absolute; right: 4px; bottom: 2px; font-style: normal; font-size: 9px; font-weight: 700; color: #8a8a8a; }
.hg-sd__n:hover:not(:disabled) { background: #f5f5f5; }
.hg-sd__n:active:not(:disabled) { transform: scale(.94); }
.hg-sd__n:disabled { opacity: .35; cursor: default; }
@media (max-width: 420px) { .hg-sd__pad { gap: 3px; } .hg-sd__n b { font-size: 18px; } }

/* ============================================================== Adam Asmaca */
.hg-hm { width: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.hg-hm__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; font-size: 14px; color: #5e5e5e; }
.hg-hm__head label { font-weight: 700; }
.hg-select { height: 40px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid var(--hs-bd, #d9d9d9); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #141414; cursor: pointer; }
.hg-hm__cat { padding: 4px 10px; border-radius: 999px; background: var(--hs-pri-bg, #fdeced); color: #b20710; font-weight: 700; font-size: 13px; }
.hg-hm__main { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: center; width: 100%; max-width: 640px; }
.hg-hm__art { display: block; justify-self: center; }
.hg-hm__svg { display: block; width: 150px; height: 170px; color: #141414; }
.hg-hm__f { color: #cfcfcf; }
.hg-hm__p { opacity: 0; transition: opacity .25s; }
.hg-hm__p.is-on { opacity: 1; }
.hg-hm__p:not([data-p="1"]) { color: #e50914; }
.hg-hm__side { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hg-hm__word { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.hg-hm__l { width: clamp(26px, 7.2vw, 42px); height: clamp(36px, 9.6vw, 54px); display: grid; place-items: center; border-bottom: 3px solid #141414; font-size: clamp(20px, 5.6vw, 30px); font-weight: 800; color: #141414; text-transform: uppercase; }
.hg-hm__l.is-miss { color: #d93025; border-color: #d93025; }
.hg-hm__wrong { min-height: 20px; }
@media (max-width: 520px) { .hg-hm__main { grid-template-columns: 1fr; gap: 6px; } .hg-hm__svg { width: 120px; height: 136px; } }

/* ============================================================== XOX */
.hg-xo__status { margin: 0; min-height: 24px; font-weight: 700; color: #141414; text-align: center; }
.hg-xo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 330px); aspect-ratio: 1; }
.hg-xo__c { appearance: none; display: grid; place-items: center; min-width: 0; padding: 16%; border: 0; border-radius: 14px; background: #f3f3f3; cursor: pointer; transition: background .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.hg-xo__c:hover:not(:disabled) { background: #ebebeb; }
.hg-xo__c:active:not(:disabled) { transform: scale(.96); }
.hg-xo__c:disabled { cursor: default; }
.hg-xo__c svg { width: 100%; height: 100%; overflow: visible; }
.hg-xo__c.is-x { color: #141414; }
.hg-xo__c.is-o { color: #e50914; }
.hg-xo__c svg path, .hg-xo__c svg circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hg-draw .32s ease-out forwards; }
.hg-xo__c svg path + path { animation-delay: .12s; }
.hg-xo__c.is-win { background: #fdeced; }

/* ============================================================== Dört Bağlama */
.hg-c4__legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin: 0; font-size: 14px; color: #333; }
.hg-c4__dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-left: 8px; vertical-align: -2px; }
.hg-c4__dot:first-child { margin-left: 0; }
.hg-c4__dot.p1 { background: #e50914; }
.hg-c4__dot.p2 { background: #f9ab00; }
.hg-c4 { display: flex; gap: 6px; width: min(100%, 460px); padding: 8px; background: #1d1d1f; border-radius: 16px; overflow: hidden; touch-action: manipulation; }
.hg-c4__col { appearance: none; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hg-c4__col:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.hg-c4__col:disabled { cursor: default; }
.hg-c4__cell { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #f7f7f7; box-shadow: inset 0 2px 4px rgba(0,0,0,.35); }
.hg-c4__cell::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: transparent; }
.hg-c4__cell.p1::after { background: #e50914; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2), inset 0 3px 0 rgba(255,255,255,.25); }
.hg-c4__cell.p2::after { background: #f9ab00; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2), inset 0 3px 0 rgba(255,255,255,.35); }
.hg-c4__cell.is-new::after { animation: hg-c4drop .36s cubic-bezier(.5, 0, 1, .6) both; }
.hg-c4__cell.is-win::after { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(255,255,255,.35); }
@keyframes hg-c4drop { from { transform: translateY(calc(var(--fall, 1) * -115%)); } to { transform: none; } }

/* ============================================================== Hafıza */
.hg-mem { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 8px; width: min(100%, calc(var(--cols) * 108px)); }
.hg-mem__c { appearance: none; padding: 0; border: 0; background: none; aspect-ratio: 1; perspective: 700px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hg-mem__c:disabled { cursor: default; }
.hg-mem__in { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .38s cubic-bezier(.3, .7, .3, 1); }
.hg-mem__c.is-open .hg-mem__in, .hg-mem__c.is-match .hg-mem__in { transform: rotateY(180deg); }
.hg-mem__f, .hg-mem__b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hg-mem__f { background: #141414 repeating-linear-gradient(45deg, rgba(229,9,20,.9) 0 6px, transparent 6px 14px); box-shadow: inset 0 0 0 3px #141414; }
.hg-mem__c:hover:not(.is-open):not(.is-match) .hg-mem__f { filter: brightness(1.25); }
.hg-mem__b { transform: rotateY(180deg); background: #fff; border: 2px solid #d9d9d9; font-size: clamp(22px, 6.4vw, 42px); line-height: 1; }
.hg-mem__c.is-match .hg-mem__b { background: #e6f4ea; border-color: #1e8e3e; }
.hg-mem--c6 { gap: 6px; }
.hg-mem--c6 .hg-mem__b { font-size: clamp(20px, 5.4vw, 34px); }

/* ============================================================== Mayın Tarlası */
.hg-ms-wrap { width: 100%; display: flex; justify-content: center; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hg-ms { display: grid; grid-template-columns: repeat(var(--w), var(--cs)); gap: 2px; padding: 6px; background: #d4d4d4; border-radius: 10px; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hg-ms__c { appearance: none; display: grid; place-items: center; width: var(--cs); height: var(--cs); padding: 0; border: 0; border-radius: 4px; background: #fafafa; box-shadow: inset 0 -2px 0 rgba(0,0,0,.14), inset 0 2px 0 #fff; font: inherit; font-size: calc(var(--cs) * .56); font-weight: 800; line-height: 1; color: #141414; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hg-ms__c:hover:not(.is-open) { background: #fff; }
.hg-ms__c.is-open { background: #e9e9e9; box-shadow: none; cursor: default; }
.hg-ms__c.is-flag { color: #e50914; }
.hg-ms__c.is-mine { color: #141414; background: #fce8e6; }
.hg-ms__c.is-boom { background: #e50914; color: #fff; }
.hg-ms__c.is-wrong { background: #fce8e6; color: #d93025; text-decoration: line-through; }
.hg-ms__c[data-n="1"] { color: #1a73e8; } .hg-ms__c[data-n="2"] { color: #1e8e3e; } .hg-ms__c[data-n="3"] { color: #d93025; } .hg-ms__c[data-n="4"] { color: #5f2eb4; }
.hg-ms__c[data-n="5"] { color: #8a1c1c; } .hg-ms__c[data-n="6"] { color: #129eaf; } .hg-ms__c[data-n="7"] { color: #141414; } .hg-ms__c[data-n="8"] { color: #737373; }
.hg-ms__c.is-flag[data-n], .hg-ms__c.is-mine[data-n] { color: inherit; }

/* ============================================================== 2048 */
.hg-2k { --g: 8px; position: relative; width: min(100%, 420px); aspect-ratio: 1; padding: var(--g); background: #d2d2d2; border-radius: 14px; touch-action: none; user-select: none; -webkit-user-select: none; outline: 0; }
.hg-2k[style*="--n: 5"] { --g: 6px; }
.hg-2k__bg { position: absolute; inset: var(--g); display: grid; grid-template-columns: repeat(var(--n), 1fr); grid-template-rows: repeat(var(--n), 1fr); gap: var(--g); }
.hg-2k__cell { background: #e3e3e3; border-radius: 8px; }
.hg-2k__layer { position: absolute; inset: var(--g); }
.hg-2k__t { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: calc((100% - (var(--n) - 1) * var(--g)) / var(--n)); aspect-ratio: 1; border-radius: 8px; background: #fff; color: #141414; font-weight: 800; font-size: clamp(18px, 7.4vw, 38px); line-height: 1; transform: translate(calc(var(--x) * (100% + var(--g))), calc(var(--y) * (100% + var(--g)))); transition: transform .12s ease-in-out; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.hg-2k[style*="--n: 5"] .hg-2k__t { font-size: clamp(15px, 6vw, 30px); }
.hg-2k__t.is-long { font-size: clamp(14px, 5.4vw, 28px); }
.hg-2k[style*="--n: 5"] .hg-2k__t.is-long { font-size: clamp(12px, 4.4vw, 22px); }
.hg-2k__t[data-v="4"] { background: #ffe9ea; } .hg-2k__t[data-v="8"] { background: #ffc9cd; } .hg-2k__t[data-v="16"] { background: #ff9ea5; } .hg-2k__t[data-v="32"] { background: #ff6f78; color: #fff; }
.hg-2k__t[data-v="64"] { background: #f0424d; color: #fff; } .hg-2k__t[data-v="128"] { background: #e50914; color: #fff; } .hg-2k__t[data-v="256"] { background: #c40812; color: #fff; }
.hg-2k__t[data-v="512"] { background: #a9070f; color: #fff; } .hg-2k__t[data-v="1024"] { background: #7d050b; color: #fff; } .hg-2k__t[data-v="2048"] { background: #141414; color: #f9ab00; } .hg-2k__t[data-v="4096"] { background: #000; color: #f9ab00; }
.hg-2k__t.is-new { animation: hg-2k-pop .2s .1s both; }
.hg-2k__t.is-merge { animation: hg-2k-bump .2s .08s both; z-index: 2; }
@keyframes hg-2k-pop { from { scale: 0; } to { scale: 1; } }
@keyframes hg-2k-bump { 0% { scale: 1; } 50% { scale: 1.18; } 100% { scale: 1; } }

/* ============================================================== Yılan */
.hg-sn__stage { position: relative; max-width: 100%; border: 2px solid #141414; border-radius: 10px; overflow: hidden; line-height: 0; }
.hg-sn { display: block; touch-action: none; max-width: 100%; }
.hg-sn__veil { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; text-align: center; background: rgba(255,255,255,.84); font-size: 16px; line-height: 1.4; font-weight: 700; color: #141414; cursor: pointer; }
.hg-sn__veil[hidden] { display: none; }
/* Yılan: başparmak çemberi (dokunmatik ekranlarda görünür; masaüstünde ok tuşları + kaydırma yeter) */
.hg-sn__dial { display: none; position: relative; width: min(212px, 56vw); aspect-ratio: 1; margin: 4px auto 0; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; cursor: grab; }
.hg-sn__dial svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hg-sn__dial.is-down { cursor: grabbing; }
.hg-dl__ring { fill: #fafafa; stroke: #141414; stroke-width: 2.4; }
.hg-dl__hub { fill: #fff; stroke: rgba(20, 20, 20, .16); stroke-width: 1.4; stroke-dasharray: 3 4; }
.hg-dl__w { fill: rgba(229, 9, 20, 0); transition: fill .12s; }
.hg-dl__w.is-on { fill: rgba(229, 9, 20, .2); }
.hg-dl__a { fill: #141414; opacity: .55; }
.hg-dl__knob { fill: #e50914; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 3px 6px rgba(229, 9, 20, .35)); transition: r .12s; }
.hg-dl__dot { fill: #fff; opacity: .9; }
.hg-sn__dial.is-down .hg-dl__knob { r: 21; }
@media (pointer: coarse) { .hg-sn__dial { display: block; } }
.hg-app.is-full .hg-sn__dial { width: min(172px, 46vw); margin-top: 8px; }
.hg-app.is-full[data-game="yilan"] .hg-hint, .hg-app.is-full[data-game="yilan"] .hg-fsbody > .hg-top { display: none; }      /* tam ekranda yer açmak için: seviye/yeni oyun satırı ve ipucu gizli (Tekrar oyna penceresi var) */
@media (prefers-reduced-motion: reduce) { .hg-dl__w, .hg-dl__knob { transition: none; } }

/* ============================================================== Sayı Tahmini */
.hg-nm__in { display: flex; gap: 8px; justify-content: center; }
.hg-nm__d { display: grid; place-items: center; width: 52px; height: 64px; border: 2px solid #d9d9d9; border-radius: 10px; font-size: 30px; font-weight: 800; color: #141414; background: #fff; }
.hg-nm__d.is-on { border-color: #e50914; box-shadow: 0 0 0 3px rgba(229,9,20,.14); }
.hg-nm__pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: min(100%, 380px); }
.hg-nm__pad .hg-key { max-width: none; flex: none; }
.hg-nm__pad .hg-key--w { grid-column: span 1; }
.hg-nm__go { grid-column: span 1; background: #e50914; color: #fff; }
.hg-nm__go:hover:not(:disabled) { background: #c40812 !important; }
.hg-nm__nwrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hg-nm__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.hg-nm__nt { appearance: none; width: 36px; height: 36px; border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; font: inherit; font-weight: 700; color: #141414; cursor: pointer; }
.hg-nm__nt[data-s="1"] { background: #f1f1f1; color: #b0b0b0; text-decoration: line-through; }
.hg-nm__nt[data-s="2"] { background: #e6f4ea; border-color: #1e8e3e; color: #137333; }
.hg-nm__list { display: grid; gap: 6px; width: min(100%, 420px); margin: 0; padding: 0; list-style: none; }
.hg-nm__row { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: #fafafa; border: 1px solid #ececec; border-radius: 10px; }
.hg-nm__g { font-size: 20px; letter-spacing: .32em; color: #141414; }
.hg-nm__s { display: inline-flex; gap: 10px; font-size: 17px; font-weight: 800; }
.hg-nm__s .is-p { color: #137333; } .hg-nm__s .is-m { color: #b06000; }

/* ============================================================== Kelime Avı */
.hg-ka__theme { margin: 0; font-size: 14px; color: #5e5e5e; }
.hg-ka__theme b { color: #b20710; }
.hg-ka { display: grid; grid-template-columns: repeat(var(--n), var(--cs)); gap: 2px; padding: 6px; background: #ececec; border-radius: 12px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hg-ka__c { appearance: none; display: grid; place-items: center; width: var(--cs); height: var(--cs); padding: 0; border: 0; border-radius: 6px; background: #fff; font: inherit; font-size: calc(var(--cs) * .5); font-weight: 800; line-height: 1; color: #141414; cursor: pointer; transition: background .12s; -webkit-tap-highlight-color: transparent; }
.hg-ka__c.is-sel { background: #141414; color: #fff; }
.hg-ka__c.is-found[data-c="0"], .hg-ka__words li.is-found[data-c="0"] { background: #ffd2d5; }
.hg-ka__c.is-found[data-c="1"], .hg-ka__words li.is-found[data-c="1"] { background: #ffe8a8; }
.hg-ka__c.is-found[data-c="2"], .hg-ka__words li.is-found[data-c="2"] { background: #c9ecd2; }
.hg-ka__c.is-found[data-c="3"], .hg-ka__words li.is-found[data-c="3"] { background: #cfe3ff; }
.hg-ka__c.is-found[data-c="4"], .hg-ka__words li.is-found[data-c="4"] { background: #e6d6fb; }
.hg-ka__c.is-found[data-c="5"], .hg-ka__words li.is-found[data-c="5"] { background: #c5eef3; }
.hg-ka__c.is-no { animation: hg-shake .3s; background: #fce8e6; }
.hg-ka__c.is-hint { box-shadow: inset 0 0 0 3px #f9ab00; }
.hg-ka__words { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; max-width: 580px; margin: 0; padding: 0; list-style: none; }
.hg-ka__words li { padding: 4px 11px; border-radius: 999px; background: #f1f1f1; font-size: 14px; font-weight: 700; color: #141414; }
.hg-ka__words li.is-found { color: #5e5e5e; text-decoration: line-through; }

/* ============================================================== Günün Kelimesi */
.hg-wd { display: grid; gap: 6px; width: min(100%, 320px); }
.hg-wd__r { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hg-wd__t { display: grid; place-items: center; aspect-ratio: 1; border: 2px solid #d9d9d9; border-radius: 8px; background: #fff; font-size: clamp(24px, 7vw, 32px); font-weight: 800; color: #141414; transition: background-color 0s linear, color 0s linear, border-color 0s linear; }
.hg-wd__t.is-f { border-color: #737373; animation: hg-tilepop .1s ease-out; }
.hg-wd__t[data-s] { color: #fff; border-color: transparent; }
.hg-wd__t[data-s="ok"] { background: #1e8e3e; } .hg-wd__t[data-s="pres"] { background: #f9ab00; color: #141414; } .hg-wd__t[data-s="abs"] { background: #737373; }
.hg-wd__t[data-s]:not(.is-static) { animation: hg-flip .5s ease both; animation-delay: calc(var(--i) * .2s); transition: background-color 0s linear calc(var(--i) * .2s + .25s), color 0s linear calc(var(--i) * .2s + .25s), border-color 0s linear calc(var(--i) * .2s + .25s); }
.hg-wd__r.is-shake { animation: hg-shake .4s; }
.hg-wd__msg { min-height: 24px; margin: 0; font-weight: 700; text-align: center; color: #141414; }

/* ============================================================== Günün Cümlesi */
.hg-cs { max-width: 720px; margin: 0; font-family: var(--ns-serif, Georgia, serif); font-size: clamp(20px, 4.4vw, 28px); line-height: 2.2; text-align: center; color: #141414; }
.hg-cs__t { white-space: normal; }
.hg-cs__h { position: relative; display: inline-block; vertical-align: middle; margin: 0 3px; line-height: 1; cursor: text; }
.hg-cs__boxes { display: inline-flex; gap: 3px; }
.hg-cs__boxes i { display: grid; place-items: center; width: clamp(20px, 6.2vw, 34px); height: clamp(28px, 8vw, 42px); border: 2px solid #cfcfcf; border-radius: 6px; background: #fff; font-style: normal; font-family: var(--font); font-size: clamp(14px, 4.2vw, 22px); font-weight: 800; color: #141414; }
.hg-cs__boxes i.is-f { border-color: #737373; }
.hg-cs__boxes i.is-hint { background: #fff4d6; border-color: #f9ab00; }
.hg-cs__boxes i.is-ok { background: #e6f4ea; border-color: #1e8e3e; color: #137333; }
.hg-cs__boxes i.is-rev { background: #fdeced; border-color: #e50914; color: #b20710; }
.hg-cs__boxes i.is-cur { border-color: #e50914; box-shadow: 0 0 0 3px rgba(229,9,20,.15); }
.hg-cs__in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; text-transform: uppercase; cursor: text; }
.hg-cs__h.is-bad { animation: hg-shake .4s; }
.hg-cs__h.is-bad .hg-cs__boxes i { border-color: #d93025; background: #fce8e6; }
.hg-cs.is-done .hg-cs__t { color: #141414; }

/* ============================================================== Günlük bulmaca ortak (sonuç, geri sayım, hata) */
.hg-dl__next { margin: 10px 0 0; text-align: center; font-size: 14px; color: #5e5e5e; }
.hg-dl__next b { font-variant-numeric: tabular-nums; color: #141414; }
.hg-dl__dist { display: grid; gap: 4px; margin: 12px 0 4px; }
.hg-dl__bar { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #5e5e5e; }
.hg-dl__bar i { display: flex; justify-content: flex-end; align-items: center; width: var(--w); min-width: 26px; padding: 2px 6px; border-radius: 4px; background: #d9d9d9; font-style: normal; }
.hg-dl__bar i.is-on { background: #1e8e3e; color: #fff; }
.hg-dl__bar i b { font-size: 12px; }
.hg-dl__prev { margin-top: 4px; }
.hg-dl__err { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 8px; text-align: center; color: #5e5e5e; }
.hg-dl__err p { margin: 0; }

/* ============================================================== hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  .hg-xo__c svg path, .hg-xo__c svg circle { animation: none; stroke-dashoffset: 0; }
  .hg-mem__in { transition: none; }
  .hg-2k__t { transition: none; }
  .hg-2k__t.is-new, .hg-2k__t.is-merge { animation: none; }
  .hg-c4__cell.is-new::after { animation: none; }
  .hg-hm__p { transition: none; }
  .hg-wd__t, .hg-wd__t.is-f, .hg-wd__t[data-s]:not(.is-static) { animation: none; transition: none; }
  .hg-wd__r.is-shake, .hg-cs__h.is-bad, .hg-ka__c.is-no { animation: none; }
}

/* ============================================================== Tam ekran (paket 2b)
   Oyun kutusu sayfayı tamamen kaplayan beyaz pencereye dönüşür; içerik ekrana sığacak kadar büyür (--hgz, js/games/common.js). */
.hg-fsbtn svg { width: 18px; height: 18px; }
.hg-top--solo { justify-content: flex-end; }
.hg-fshead { display: none; }
.hg-fsbody { display: block; }
html.hg-lock, html.hg-lock body { overflow: hidden !important; }
.hg-app.is-full {
  position: fixed; inset: 0; z-index: 2500; display: flex; flex-direction: column; width: 100%; max-width: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; box-shadow: none; background: #fff; overflow: hidden; animation: hg-full-in .32s cubic-bezier(.22, 1, .36, 1) both;
}
.hg-app.is-full .hg-fshead { display: block; flex: none; background: #fff; border-bottom: 1px solid var(--hs-line, rgba(20, 20, 20, .12)); padding-top: env(safe-area-inset-top, 0px); }
.hg-fshead__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1100px; margin: 0 auto; min-height: 60px; padding: 0 20px; }
.hg-fshead__t { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #141414; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-fsx { appearance: none; flex: none; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #f5f5f5; color: #141414; cursor: pointer; transition: background .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.hg-fsx:hover { background: #ececec; }
.hg-fsx:active { transform: scale(.92); }
.hg-fsx:focus-visible, .hg-fsbtn:focus-visible { outline: 2px solid var(--hs-pri, #e50914); outline-offset: 2px; }
.hg-fsx svg { width: 18px; height: 18px; }
.hg-app.is-full .hg-fsbody {
  flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
}
.hg-app.is-full .hg-fsbody > .hg-top, .hg-app.is-full .hg-fsbody > .hg-stats, .hg-app.is-full .hg-fsbody > .hg-play { width: 100%; max-width: 760px; zoom: var(--hgz, 1); }
.hg-app.is-full .hg-fsbody > .hg-top { margin-bottom: 8px; justify-content: center; }
.hg-app.is-full .hg-fsbody > .hg-stats { justify-content: center; margin-bottom: 10px; }
.hg-app.is-full .hg-fsbody > .hg-play { flex: none; min-height: 0; }
.hg-app.is-full .hg-fsbody > .hg-top .hg-fsbtn { display: none; }      /* kapatma ✕ üst çubukta; aynı işi yapan ikinci düğme gereksiz */
@keyframes hg-full-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  .hg-fshead__in { min-height: 54px; padding: 0 14px; }
  .hg-app.is-full .hg-fsbody { padding: 10px 10px calc(14px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .hg-app.is-full { animation: none; } }
@media print { .hg-app.is-full { display: none; } }
