/* Yazı tipleri sunucudan (Google'a istek yok). Lisans: SIL OFL 1.1 */
@font-face{font-family:"Sora";font-style:normal;font-display:swap;font-weight:600;src:url("../fonts/sora-latin-ext-600-normal.b51f3dbc7ca0.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-display:swap;font-weight:600;src:url("../fonts/sora-latin-600-normal.4c3aca48be0c.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sora";font-style:normal;font-display:swap;font-weight:700;src:url("../fonts/sora-latin-ext-700-normal.859d67c9a2e9.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-display:swap;font-weight:700;src:url("../fonts/sora-latin-700-normal.b2758c7ec7e6.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sora";font-style:normal;font-display:swap;font-weight:800;src:url("../fonts/sora-latin-ext-800-normal.4d3b1a491580.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-display:swap;font-weight:800;src:url("../fonts/sora-latin-800-normal.566a81b2caf2.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:400;src:url("../fonts/figtree-latin-ext-400-normal.a920986a5789.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:400;src:url("../fonts/figtree-latin-400-normal.7bfd10a3def3.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:600;src:url("../fonts/figtree-latin-ext-600-normal.d5396b002e5b.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:600;src:url("../fonts/figtree-latin-600-normal.4376f5953b85.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:700;src:url("../fonts/figtree-latin-ext-700-normal.43164d69542f.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:700;src:url("../fonts/figtree-latin-700-normal.70aaa6879de5.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:800;src:url("../fonts/figtree-latin-ext-800-normal.bcda155f9666.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:800;src:url("../fonts/figtree-latin-800-normal.6d348a4f382c.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* HRQuiz – HRCompass tasarım sistemiyle uyumlu (lacivert–turuncu, Sora + Figtree).
   Önek: hq-  (HRCompass'a taşınınca çakışma olmaması için) */
:root {
  --hq-navy: #1B467D;
  --hq-navy-900: #0E2647;
  --hq-navy-800: #133460;
  --hq-orange: #F1751D;
  --hq-orange-text: #B8520C;
  --hq-gray: #8592A2;
  --hq-bg: #F4F6F9;
  --hq-surface: #FFFFFF;
  --hq-ink: #14233A;
  --hq-ink-2: #4A5A70;
  --hq-line: #DDE3EB;
  --hq-ok: #0B7A6B;
  --hq-ok-bg: #DDF2EC;
  --hq-no: #B4232A;
  --hq-no-bg: #FBE3E4;
  /* Cevap renkleri: beyaz metinle en az 4.5:1 kontrast + her şıkta ayrı şekil */
  --hq-a: #1B467D;
  --hq-b: #B54C0C;
  --hq-c: #0B7A6B;
  --hq-d: #6A4C9C;
  --hq-e: #A3195B;
  --hq-f: #4A5A70;
  --hq-radius: 14px;
  --hq-shadow: 0 1px 2px rgba(14, 38, 71, .06), 0 6px 20px rgba(14, 38, 71, .08);
  --hq-font-head: "Sora", system-ui, sans-serif;
  --hq-font: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--hq-font);
  color: var(--hq-ink);
  background: var(--hq-bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--hq-font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
a { color: var(--hq-navy); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.hq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ düğmeler */
.hq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-family: var(--hq-font-head); font-size: .95rem;
  cursor: pointer; text-decoration: none; transition: transform .08s, background .15s, box-shadow .15s;
  background: var(--hq-surface); color: var(--hq-navy); border-color: var(--hq-line);
  white-space: nowrap;
}
.hq-btn:hover { background: #EEF2F7; }
.hq-btn:active { transform: translateY(1px); }
.hq-btn:focus-visible { outline: 3px solid var(--hq-orange); outline-offset: 2px; }
.hq-btn[disabled] { opacity: .5; cursor: not-allowed; }
.hq-btn--primary { color: #fff; background: #D9620F; border-color: #D9620F; }
.hq-btn--primary:hover { background: #C2560B; }
.hq-btn--navy { background: var(--hq-navy); color: #fff; border-color: var(--hq-navy); }
.hq-btn--navy:hover { background: var(--hq-navy-800); }
.hq-btn--ghost { background: transparent; border-color: transparent; }
.hq-btn--danger { color: var(--hq-no); }
.hq-btn--lg { padding: .95em 1.6em; font-size: 1.1rem; border-radius: 12px; }
.hq-btn--sm { padding: .4em .75em; font-size: .85rem; border-radius: 8px; }
.hq-btn--block { width: 100%; }

/* ------------------------------------------------------------ form */
.hq-field { display: block; margin-bottom: 1rem; }
.hq-field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--hq-ink-2); }
.hq-input, .hq-select, .hq-textarea {
  width: 100%; padding: .7em .85em; border-radius: 10px; border: 1px solid var(--hq-line);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.hq-input:focus, .hq-select:focus, .hq-textarea:focus { outline: none; border-color: var(--hq-navy); box-shadow: 0 0 0 3px rgba(27, 70, 125, .15); }
.hq-textarea { min-height: 80px; resize: vertical; }
.hq-hint { font-size: .85rem; color: var(--hq-ink-2); }
.hq-error { background: var(--hq-no-bg); color: #7d1419; border-radius: 10px; padding: .7em .9em; margin-bottom: 1rem; font-weight: 600; }
.hq-msgs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.hq-msgs li { padding: .7em .9em; border-radius: 10px; background: #E7EEF8; font-weight: 600; }
.hq-msgs li.success { background: var(--hq-ok-bg); color: #064d43; }
.hq-msgs li.error { background: var(--hq-no-bg); color: #7d1419; }

/* ------------------------------------------------------------ logo */
.hq-logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--hq-font-head); font-weight: 800; font-size: 1.25rem; color: inherit; text-decoration: none; letter-spacing: -.02em; }
.hq-logo__mark { width: 34px; height: 34px; flex: none; }
.hq-logo b { color: var(--hq-orange); font-weight: 800; }

/* ============================================================ YÖNETİM */
.hq-admin-top { background: var(--hq-navy-900); color: #fff; }
.hq-admin-top__in { max-width: 1180px; margin: 0 auto; padding: .8rem 16px; display: flex; align-items: center; gap: 1.5rem; }
.hq-admin-nav { display: flex; gap: .25rem; flex: 1; overflow-x: auto; }
.hq-admin-nav a { color: #C9D4E3; text-decoration: none; padding: .45em .8em; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.hq-admin-nav a:hover, .hq-admin-nav a.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.hq-admin-top form button { background: none; border: 0; color: #C9D4E3; cursor: pointer; font-weight: 600; }
.hq-page { max-width: 1180px; margin: 0 auto; padding: 1.75rem 16px 4rem; }
.hq-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hq-page-head h1 { font-size: 1.7rem; margin: 0; }
.hq-page-head p { margin: .25rem 0 0; color: var(--hq-ink-2); }
.hq-card { background: var(--hq-surface); border-radius: var(--hq-radius); box-shadow: var(--hq-shadow); padding: 1.25rem; }
.hq-card + .hq-card { margin-top: 1rem; }
.hq-card h2 { font-size: 1.1rem; }
.hq-grid { display: grid; gap: 1rem; }
.hq-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hq-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.hq-stat { background: var(--hq-surface); border-radius: var(--hq-radius); box-shadow: var(--hq-shadow); padding: 1rem 1.1rem; }
.hq-stat__label { font-size: .82rem; color: var(--hq-ink-2); font-weight: 600; }
.hq-stat__value { font-family: var(--hq-font-head); font-size: 1.7rem; font-weight: 800; color: var(--hq-navy-900); }
.hq-stat__value small { font-size: .9rem; color: var(--hq-gray); font-weight: 600; }
.hq-empty { text-align: center; padding: 3rem 1rem; color: var(--hq-ink-2); }
.hq-empty h2 { color: var(--hq-ink); }

.hq-quiz-card { display: flex; flex-direction: column; gap: .75rem; }
.hq-quiz-card__band { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--hq-a) 0 25%, var(--hq-b) 25% 50%, var(--hq-c) 50% 75%, var(--hq-d) 75%); }
.hq-quiz-card__band[class*="hq-bg--"] { height: 56px; border-radius: 10px; }
.hq-quiz-card h3 { font-size: 1.1rem; margin: 0; }
.hq-quiz-card h3 a { color: inherit; text-decoration: none; }
.hq-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--hq-ink-2); }
.hq-quiz-card__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.hq-badge { display: inline-flex; align-items: center; gap: .3em; padding: .15em .6em; border-radius: 99px; font-size: .78rem; font-weight: 700; background: #E7EEF8; color: var(--hq-navy); }
.hq-badge--live { background: #FDE8D9; color: var(--hq-orange-text); }
.hq-badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hq-orange); animation: hq-pulse 1.4s infinite; }
.hq-badge--ok { background: var(--hq-ok-bg); color: #064d43; }

.hq-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hq-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hq-table th, .hq-table td { padding: .65em .7em; text-align: left; border-bottom: 1px solid var(--hq-line); vertical-align: middle; }
.hq-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--hq-ink-2); font-weight: 700; background: #F8FAFC; position: sticky; top: 0; }
.hq-table td.num, .hq-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.hq-table tr:hover td { background: #FAFBFD; }
.hq-table .is-muted td { color: var(--hq-gray); }

/* ------------------------------------------------------------ giriş */
.hq-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.hq-auth__side { background: var(--hq-navy-900); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.hq-auth__side h1 { font-size: 2.2rem; max-width: 14ch; }
.hq-auth__side p { color: #C9D4E3; max-width: 38ch; }
.hq-auth__form { display: grid; place-items: center; padding: 2rem 16px; }
.hq-auth__form form { width: 100%; max-width: 380px; }
@media (max-width: 800px) { .hq-auth { grid-template-columns: 1fr; } .hq-auth__side { padding: 1.5rem 16px; } .hq-auth__side h1 { font-size: 1.5rem; } .hq-auth__deco { display: none; } }

/* ============================================================ DÜZENLEYİCİ */
.hq-editor > * { min-width: 0; }
.hq-editor { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.hq-editor__side { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; }
.hq-qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.hq-qlist li { min-width: 0; display: flex; align-items: center; gap: .5rem; padding: .55rem .6rem; border-radius: 10px; background: #F7F9FC; cursor: pointer; border: 2px solid transparent; font-size: .9rem; }
.hq-qlist li.is-active { border-color: var(--hq-navy); background: #fff; }
.hq-qlist li.has-error { border-color: var(--hq-no); }
.hq-qlist__no { font-family: var(--hq-font-head); font-weight: 800; color: var(--hq-gray); width: 1.6em; flex: none; }
.hq-qlist__txt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hq-qlist__kind { font-size: .7rem; font-weight: 700; color: var(--hq-ink-2); }
.hq-qedit-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hq-qedit-head h2 { margin: 0; }
.hq-qtext { font-size: 1.25rem; font-family: var(--hq-font-head); font-weight: 700; min-height: 90px; text-align: center; }
.hq-qopts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 1rem 0; }
.hq-choices-edit { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hq-choice-edit { display: flex; align-items: center; gap: .5rem; padding: .5rem .6rem; border-radius: 12px; color: #fff; }
.hq-choice-edit input[type=text] { flex: 1; min-width: 0; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 8px; padding: .6em .7em; font-weight: 600; }
.hq-choice-edit input[type=text]::placeholder { color: rgba(255, 255, 255, .7); }
.hq-choice-edit input[type=text]:focus { outline: 2px solid #fff; }
.hq-correct-toggle { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.hq-correct-toggle[aria-pressed=true] { background: #fff; color: var(--hq-ok); }
.hq-shape { width: 26px; height: 26px; flex: none; }
.hq-qimage { border: 2px dashed var(--hq-line); border-radius: 12px; padding: 1rem; text-align: center; color: var(--hq-ink-2); }
.hq-qimage img { max-height: 200px; border-radius: 8px; display: block; margin: 0 auto .5rem; }
.hq-savebar { position: sticky; bottom: 0; background: rgba(244, 246, 249, .94); backdrop-filter: blur(6px); padding: .8rem 0; display: flex; gap: .75rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--hq-line); margin-top: 1.5rem; z-index: 5; }
.hq-savebar__status { margin-right: auto; color: var(--hq-ink-2); font-size: .9rem; }
.hq-dialog { border: 0; border-radius: var(--hq-radius); padding: 1.5rem; max-width: 480px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.hq-dialog::backdrop { background: rgba(14, 38, 71, .5); }
@media (max-width: 860px) {
  .hq-editor { grid-template-columns: 1fr; }
  .hq-editor__side { position: static; max-height: none; }
  .hq-qlist { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; padding-bottom: .25rem; }
  .hq-choices-edit { grid-template-columns: 1fr; }
}

/* ============================================================ SAHNE (oyun ekranları) */
.hq-stage {
  min-height: 100vh; min-height: 100dvh; color: #fff; display: flex; flex-direction: column;
  background: radial-gradient(1200px 600px at 80% -10%, #24569A 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #1B467D 0%, transparent 55%), var(--hq-navy-900);
  overflow-x: hidden;
}
.hq-stage a { color: #fff; }
.hq-stage__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 16px; }
.hq-stage__main { flex: 1; display: flex; flex-direction: column; padding: 0 16px 1.5rem; width: 100%; max-width: 1280px; margin: 0 auto; }
.hq-pill { display: inline-flex; align-items: center; gap: .45em; background: rgba(255, 255, 255, .12); border-radius: 99px; padding: .35em .85em; font-weight: 700; font-size: .9rem; font-family: var(--hq-font-head); }
.hq-pill--orange { background: var(--hq-orange); color: #1d0f04; }
.hq-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.hq-glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 1.25rem; }
.hq-stage .hq-btn { background: #fff; color: var(--hq-navy-900); border-color: #fff; }
.hq-stage .hq-btn--primary { background: #D9620F; color: #fff; border-color: #D9620F; }
.hq-stage .hq-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: transparent; }
.hq-stage .hq-btn--ghost:hover { background: rgba(255, 255, 255, .18); }

/* PIN girişi */
.hq-join { width: 100%; max-width: 400px; }
.hq-join .hq-logo { font-size: 2.2rem; margin-bottom: .5rem; }
.hq-join .hq-logo__mark { width: 52px; height: 52px; }
.hq-join__box { background: #fff; color: var(--hq-ink); border-radius: 18px; padding: 1.25rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); display: grid; gap: .75rem; }
.hq-join__input { text-align: center; font-family: var(--hq-font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: .12em; padding: .55em; border: 2px solid var(--hq-line); border-radius: 12px; width: 100%; }
.hq-join__input--nick { letter-spacing: 0; font-size: 1.35rem; }
.hq-join__input:focus { outline: none; border-color: var(--hq-navy); }
.hq-join__foot { margin-top: 1.25rem; color: #AFC0D6; font-size: .9rem; }
.hq-join__title { color: #C9D4E3; margin: 0; }

/* Cevap düğmeleri / kutuları */
.hq-answers { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: 100%; }
.hq-answers--tf { grid-template-columns: 1fr 1fr; }
.hq-ans {
  position: relative; display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-radius: 14px; border: 0; color: #fff;
  font-weight: 700; font-size: 1.15rem; text-align: left; min-height: 84px; cursor: pointer; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .22);
  transition: transform .1s, opacity .25s, filter .25s, box-shadow .2s;
}
.hq-ans:active { transform: scale(.98); }
.hq-ans:focus-visible { outline: 4px solid #fff; outline-offset: 2px; }
.hq-ans .hq-shape { width: 34px; height: 34px; }
.hq-ans__txt { flex: 1; overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.hq-ans__count { font-family: var(--hq-font-head); font-size: 1.4rem; font-weight: 800; }
.hq-ans__mark { position: absolute; top: -10px; right: -10px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.hq-ans--a { background: var(--hq-a); } .hq-ans--b { background: var(--hq-b); } .hq-ans--c { background: var(--hq-c); } .hq-ans--d { background: var(--hq-d); }
.hq-ans--e { background: var(--hq-e); } .hq-ans--f { background: var(--hq-f); }
.hq-answers--6 { grid-template-columns: repeat(3, 1fr); }
.hq-host-answers.hq-answers--6 .hq-ans { min-height: 80px; }
@media (max-width: 700px) { .hq-answers--6 { grid-template-columns: 1fr 1fr; } }
.hq-ans--true { background: var(--hq-ok); } .hq-ans--false { background: var(--hq-no); }
.hq-ans--a.hq-ans--sky { background: #2A5C99; }
.hq-ans.is-dim { opacity: .28; filter: saturate(.4); }
.hq-ans.is-correct { box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .22), 0 0 0 4px #fff; }
.hq-ans.is-mine { box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .22), 0 0 0 4px var(--hq-orange); }
.hq-ans.is-correct.is-mine { box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .22), 0 0 0 4px #fff, 0 0 0 8px var(--hq-orange); }
.hq-ans[disabled] { cursor: default; }
.hq-choice-edit.hq-ans--a { background: var(--hq-a); } .hq-choice-edit.hq-ans--b { background: var(--hq-b); }
.hq-choice-edit.hq-ans--c { background: var(--hq-c); } .hq-choice-edit.hq-ans--d { background: var(--hq-d); }
.hq-choice-edit.hq-ans--e { background: var(--hq-e); } .hq-choice-edit.hq-ans--f { background: var(--hq-f); }
.hq-choice-del { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; flex: none; font-size: 1.1rem; line-height: 1; }
.hq-choice-del:hover { background: rgba(0, 0, 0, .3); }
.hq-choice-add { border: 2px dashed var(--hq-line); border-radius: 12px; background: transparent; color: var(--hq-navy); font-weight: 700; cursor: pointer; min-height: 52px; }
.hq-choice-add:hover { border-color: var(--hq-navy); background: #F2F5FA; }

/* Soru başlığı */
.hq-qhead { text-align: center; margin: .5rem auto 1rem; max-width: 1000px; }
.hq-qhead__text { font-family: var(--hq-font-head); font-weight: 800; font-size: clamp(1.25rem, 3.4vw, 2.6rem); line-height: 1.2; background: #fff; color: var(--hq-navy-900); border-radius: 16px; padding: .7em 1em; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.hq-qimg { max-height: 32vh; border-radius: 14px; margin: 0 auto 1rem; display: block; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hq-qmeta { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }

/* Zamanlayıcı halkası */
.hq-timer { position: relative; width: 92px; height: 92px; flex: none; }
.hq-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hq-timer circle { fill: none; stroke-width: 9; }
.hq-timer .track { stroke: rgba(255, 255, 255, .15); }
.hq-timer .bar { stroke: var(--hq-orange); stroke-linecap: round; transition: stroke .3s; }
.hq-timer.is-low .bar { stroke: #FF5A5F; }
.hq-timer__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--hq-font-head); font-weight: 800; font-size: 2rem; }
.hq-timer--sm { width: 54px; height: 54px; }
.hq-timer--sm .hq-timer__num { font-size: 1.15rem; }

/* Okuma çubuğu */
.hq-readbar { width: min(520px, 90%); height: 8px; background: rgba(255, 255, 255, .15); border-radius: 99px; overflow: hidden; margin: 1.25rem auto 0; }
.hq-readbar > i { display: block; height: 100%; width: 100%; background: var(--hq-orange); transform-origin: left; }

/* Lobi */
.hq-lobby { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 1.5rem; flex: 1; align-items: start; }
.hq-lobby__join { background: #fff; color: var(--hq-ink); border-radius: 20px; padding: 1.5rem; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.hq-lobby__join small { color: var(--hq-ink-2); font-weight: 600; }
.hq-lobby__url { font-family: var(--hq-font-head); font-weight: 800; font-size: 1.35rem; color: var(--hq-navy); margin: .1rem 0 .6rem; }
.hq-lobby__pin { font-family: var(--hq-font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: .06em; color: var(--hq-navy-900); line-height: 1; margin: .25rem 0 .8rem; }
.hq-lobby__qr svg { width: 210px; height: 210px; max-width: 100%; }
.hq-lobby__link { display: flex; gap: .5rem; margin-top: .75rem; }
.hq-lobby__link input { flex: 1; min-width: 0; font-size: .85rem; padding: .5em .7em; border: 1px solid var(--hq-line); border-radius: 8px; background: #F7F9FC; }
.hq-lobby__players-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hq-count { font-family: var(--hq-font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.hq-count small { font-size: 1rem; font-weight: 600; color: #C9D4E3; margin-left: .35em; }
.hq-chips { display: flex; flex-wrap: wrap; gap: .6rem; align-content: flex-start; }
.hq-chip { display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--hq-navy-900); padding: .5em .5em .5em .95em; border-radius: 99px; font-weight: 800; font-family: var(--hq-font-head); font-size: 1.05rem; animation: hq-pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.hq-chip.is-offline { background: rgba(255, 255, 255, .35); color: #fff; }
.hq-chip.is-offline::after { content: "bağlantı koptu"; font-size: .7rem; font-weight: 700; background: #FF5A5F; color: #fff; border-radius: 99px; padding: .15em .55em; order: 2; }
.hq-chip button { order: 3; border: 0; background: rgba(14, 38, 71, .08); color: inherit; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1rem; line-height: 1; }
.hq-chip.is-offline button { background: rgba(255, 255, 255, .25); }
.hq-chip button:hover { background: var(--hq-no); color: #fff; }
.hq-waiting { color: #C9D4E3; display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.hq-dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin: 0 2px; animation: hq-bounce 1.2s infinite; }
.hq-dots span:nth-child(2) { animation-delay: .15s; } .hq-dots span:nth-child(3) { animation-delay: .3s; }
.hq-controls { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.hq-switch { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-weight: 600; user-select: none; }
.hq-switch input { appearance: none; width: 42px; height: 24px; background: rgba(255, 255, 255, .25); border-radius: 99px; position: relative; cursor: pointer; transition: background .2s; flex: none; }
.hq-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.hq-switch input:checked { background: var(--hq-orange); }
.hq-switch input:checked::after { transform: translateX(18px); }
.hq-switch input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) { .hq-lobby { grid-template-columns: 1fr; } }

/* Sunucu soru düzeni */
.hq-host-q { display: grid; grid-template-columns: 110px 1fr 110px; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.hq-host-q__side { display: flex; flex-direction: column; align-items: center; gap: .25rem; font-weight: 700; }
.hq-host-q__big { font-family: var(--hq-font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.hq-host-answers .hq-ans { min-height: 96px; font-size: clamp(1.05rem, 2vw, 1.5rem); cursor: default; }
@media (max-width: 700px) { .hq-host-q { grid-template-columns: 70px 1fr 70px; } .hq-host-q__big { font-size: 1.5rem; } }

/* Cevap dağılımı grafiği */
.hq-dist { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.75rem, 3vw, 2.5rem); height: 34vh; min-height: 180px; margin: .5rem auto 1.25rem; width: 100%; max-width: 760px; }
.hq-dist__col { flex: 1; max-width: 140px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; justify-content: flex-end; }
.hq-dist__num { font-family: var(--hq-font-head); font-weight: 800; font-size: 1.6rem; display: flex; align-items: center; gap: .3rem; }
.hq-dist__bar { width: 100%; border-radius: 10px 10px 4px 4px; min-height: 8px; transform-origin: bottom; animation: hq-grow .7s cubic-bezier(.2, .9, .3, 1) both; }
.hq-dist__col.is-dim { opacity: .35; }
.hq-explain { max-width: 800px; margin: 0 auto 1rem; background: rgba(255, 255, 255, .1); border-left: 4px solid var(--hq-orange); padding: .75rem 1rem; border-radius: 8px; text-align: left; }

/* Sunucu cevap ekranı: grafik + şıklar tek ekrana sığsın */
.hq-host-reveal .hq-dist { height: 26vh; min-height: 150px; margin-bottom: .5rem; }
.hq-host-reveal .hq-host-answers .hq-ans { min-height: 62px; padding: .6rem 1rem; font-size: clamp(1rem, 1.7vw, 1.25rem); }
.hq-host-reveal .hq-qhead { margin-bottom: .5rem; }
.hq-host-reveal .hq-qhead__text { font-size: clamp(1.1rem, 2.4vw, 1.8rem); padding: .5em .9em; }
.hq-dist__lbl { height: 34px; display: grid; place-items: center; }
.hq-dist__lbl .hq-shape { width: 26px; height: 26px; }

/* Sıralama */
.hq-board { width: 100%; max-width: 760px; margin: 0 auto; display: grid; gap: .6rem; }
.hq-board__row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: .75rem; background: #fff; color: var(--hq-navy-900); border-radius: 12px; padding: .75rem 1rem; font-weight: 800; font-family: var(--hq-font-head); font-size: clamp(1rem, 2vw, 1.35rem); animation: hq-slide .5s cubic-bezier(.2, .9, .3, 1) both; }
.hq-board__rank { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #E7EEF8; color: var(--hq-navy); font-size: 1rem; }
.hq-board__row { text-align: left; }
.hq-board__rank.r1 { background: #F6C445; color: #4a3500; }
.hq-board__rank.r2 { background: #CBD5E1; color: #263241; }
.hq-board__rank.r3 { background: #E3A27A; color: #4b2208; }
.hq-board__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hq-board__name small { display: block; font-family: var(--hq-font); font-size: .78rem; font-weight: 700; color: var(--hq-ok); }
.hq-board__score { font-variant-numeric: tabular-nums; }
.hq-board__row.is-me { outline: 4px solid var(--hq-orange); }

/* 8 kişilik sıralama: daha sık satırlar */
.hq-board--compact { gap: .45rem; }
.hq-board--compact .hq-board__row { padding: .5rem .9rem; font-size: clamp(.95rem, 1.8vw, 1.25rem); }
.hq-board--compact .hq-board__rank { width: 34px; height: 34px; font-size: .95rem; }
.hq-board.has-move .hq-board__row { grid-template-columns: 44px 44px 1fr auto; }

/* Sıra değişimi göstergesi */
.hq-move { display: inline-flex; align-items: center; justify-content: center; gap: 1px; font-family: var(--hq-font); font-size: .8rem; font-weight: 800; line-height: 1; min-width: 34px; }
.hq-move b { font-size: .72rem; }
.hq-move--up { color: #0B7A6B; }
.hq-move--down { color: #C62828; }
.hq-move--same { color: #8494A9; font-size: 1.1rem; }
.hq-move-line { margin-top: .35rem; font-weight: 700; font-size: .95rem; color: #fff; display: flex; align-items: center; justify-content: center; gap: .35rem; }
.hq-move-line .hq-move { min-width: 0; background: #fff; border-radius: 99px; padding: .15rem .45rem; }

/* Podyum sonrası 4.–8. */
.hq-podium-rest { margin-top: 1.25rem; }
.hq-podium-rest__title { font-size: 1rem; margin: 0 0 .6rem; color: #C9D4E3; font-weight: 700; text-align: center; }
@media (max-width: 560px) {
  .hq-board.has-move .hq-board__row { grid-template-columns: 34px 34px 1fr auto; gap: .5rem; }
}

/* Podyum */
.hq-podium { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.5rem, 2vw, 1.25rem); width: 100%; max-width: 820px; margin: 1rem auto 0; height: 52vh; min-height: 300px; }
.hq-podium__slot { flex: 1; max-width: 240px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.hq-podium__who { text-align: center; margin-bottom: .6rem; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s cubic-bezier(.2, 1.3, .4, 1); }
.hq-podium__name { font-family: var(--hq-font-head); font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.9rem); word-break: break-word; }
.hq-podium__score { color: #C9D4E3; font-weight: 700; }
.hq-podium__medal { width: clamp(46px, 7vw, 70px); height: clamp(46px, 7vw, 70px); margin: 0 auto .35rem; }
.hq-podium__block { width: 100%; border-radius: 14px 14px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: .7rem; font-family: var(--hq-font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem); color: rgba(255, 255, 255, .9); transform: scaleY(0); transform-origin: bottom; transition: transform .8s cubic-bezier(.2, .9, .3, 1); box-shadow: inset 0 6px 0 rgba(255, 255, 255, .18); }
.hq-podium__slot--1 .hq-podium__block { height: 62%; background: linear-gradient(#F1751D, #C2560B); }
.hq-podium__slot--2 .hq-podium__block { height: 46%; background: linear-gradient(#2A5C99, #1B467D); }
.hq-podium__slot--3 .hq-podium__block { height: 34%; background: linear-gradient(#5E79A0, #3D5578); }
.hq-podium__slot.is-shown .hq-podium__block { transform: scaleY(1); }
.hq-podium__slot.is-shown .hq-podium__who { opacity: 1; transform: none; transition-delay: .55s; }
.hq-podium__slot.is-empty { visibility: hidden; }
.hq-drumroll { font-family: var(--hq-font-head); font-weight: 800; font-size: 1.4rem; color: #C9D4E3; min-height: 2em; }
.hq-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* Katılımcı ekranı */
.hq-me-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem 16px; background: rgba(0, 0, 0, .2); font-weight: 700; }
.hq-me-bar__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hq-me-bar__score { font-family: var(--hq-font-head); background: #fff; color: var(--hq-navy-900); border-radius: 8px; padding: .15em .6em; font-variant-numeric: tabular-nums; }
.hq-play { flex: 1; display: flex; flex-direction: column; padding: 1rem 16px; width: 100%; max-width: 640px; margin: 0 auto; gap: 1rem; }
.hq-play .hq-qhead__text { font-size: clamp(1.1rem, 5vw, 1.6rem); }
.hq-play .hq-qimg { max-height: 24vh; }
.hq-play .hq-answers { flex: 1; grid-auto-rows: minmax(84px, 1fr); }
.hq-play .hq-ans { font-size: 1.05rem; }
.hq-play .hq-answers--tf { grid-template-columns: 1fr; }
.hq-play .hq-answers--tf .hq-ans { justify-content: center; font-size: 1.5rem; }
.hq-result { border-radius: 18px; padding: 1.25rem; text-align: center; animation: hq-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.hq-result--ok { background: var(--hq-ok); }
.hq-result--no { background: var(--hq-no); }
.hq-result--none { background: rgba(255, 255, 255, .14); }
.hq-result h2 { font-size: 1.8rem; margin: .25rem 0; }
.hq-result__pts { font-family: var(--hq-font-head); font-weight: 800; font-size: 1.3rem; background: rgba(0, 0, 0, .2); display: inline-block; padding: .2em .8em; border-radius: 99px; }
.hq-result__icon { width: 64px; height: 64px; margin: 0 auto; }
.hq-bigrank { font-family: var(--hq-font-head); font-weight: 800; font-size: 4rem; line-height: 1; }
.hq-bigrank small { font-size: 1.2rem; color: #C9D4E3; }
.hq-mini-dist { display: grid; gap: .5rem; }
.hq-mini-dist .hq-ans { min-height: 56px; font-size: .98rem; padding: .6rem .9rem; }
.hq-mini-dist .hq-ans .hq-shape { width: 24px; height: 24px; }
.hq-flame { color: #FFB078; font-weight: 800; }
.hq-status-icon { width: 80px; height: 80px; }

.hq-conn { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); background: #FF5A5F; color: #fff; padding: .5em 1em; border-radius: 99px; font-weight: 700; z-index: 60; display: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.hq-conn.is-on { display: block; }

.hq-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 100%); background: #fff; color: var(--hq-ink); z-index: 70; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .3); }
.hq-drawer.is-open { transform: none; }
.hq-drawer__head { padding: 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--hq-line); }
.hq-drawer__head h2 { margin: 0; font-size: 1.1rem; }
.hq-drawer__list { overflow: auto; flex: 1; list-style: none; margin: 0; padding: .5rem; }
.hq-drawer__list li { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border-radius: 8px; }
.hq-drawer__list li:hover { background: #F4F6F9; }
.hq-drawer__list .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hq-ok); flex: none; }
.hq-drawer__list .is-offline .dot { background: #FF5A5F; }
.hq-drawer__list .name { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.hq-drawer__list .sc { color: var(--hq-ink-2); font-variant-numeric: tabular-nums; font-size: .9rem; }
.hq-drawer .hq-btn--danger { padding: .3em .6em; }

.hq-host-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding-top: 1rem; }
.hq-kbd { font-size: .8rem; color: #AFC0D6; }
.hq-kbd kbd { background: rgba(255, 255, 255, .15); border-radius: 4px; padding: .05em .4em; font-family: inherit; }

/* Rapor */
.hq-pbar { height: 8px; background: #E7EEF8; border-radius: 99px; overflow: hidden; min-width: 80px; }
.hq-pbar > i { display: block; height: 100%; background: var(--hq-ok); border-radius: 99px; }
.hq-pbar--warn > i { background: var(--hq-orange); }
.hq-pbar--bad > i { background: var(--hq-no); }
.hq-qrow { padding: 1rem 0; border-bottom: 1px solid var(--hq-line); }
.hq-qrow:last-child { border-bottom: 0; }
.hq-qrow__head { display: flex; gap: .75rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.hq-qrow__head h3 { font-size: 1rem; margin: 0; flex: 1; min-width: 240px; }
.hq-qrow__dist { display: grid; gap: .35rem; margin-top: .65rem; }
.hq-drow { display: grid; grid-template-columns: minmax(120px, 280px) 1fr 70px; gap: .6rem; align-items: center; font-size: .9rem; }
.hq-drow__lbl { display: flex; align-items: center; gap: .4rem; overflow: hidden; }
.hq-drow__lbl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hq-drow__lbl .hq-shape { width: 16px; height: 16px; }
.hq-drow__bar { height: 14px; border-radius: 4px; background: #E7EEF8; overflow: hidden; }
.hq-drow__bar > i { display: block; height: 100%; border-radius: 4px; }
.hq-drow.is-correct .hq-drow__lbl { font-weight: 800; color: var(--hq-ok); }
.hq-matrix td.c { text-align: center; font-weight: 800; width: 34px; padding: .4em .2em; }
.hq-matrix td.ok { color: var(--hq-ok); background: #EEF8F4; }
.hq-matrix td.no { color: var(--hq-no); background: #FDF0F0; }
.hq-matrix td.blank { color: var(--hq-gray); }
.hq-tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--hq-line); margin-bottom: 1rem; overflow-x: auto; }
.hq-tabs button { background: none; border: 0; padding: .7em 1em; font-weight: 700; color: var(--hq-ink-2); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.hq-tabs button[aria-selected=true] { color: var(--hq-navy); border-bottom-color: var(--hq-orange); }
.hq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .hq-two { grid-template-columns: 1fr; } .hq-drow { grid-template-columns: 110px 1fr 56px; } }
@media print {
  .hq-admin-top, .hq-noprint, .hq-tabs { display: none !important; }
  .hq-tabpanel { display: block !important; }
  body { background: #fff; }
  .hq-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
}

/* ------------------------------------------------------------ animasyonlar */
@keyframes hq-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hq-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes hq-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-6px); opacity: 1; } }
@keyframes hq-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hq-slide { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hq-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hq-fade { animation: hq-fade .4s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 640px) {
  .hq-admin-top__in { flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; }
  .hq-admin-nav { order: 3; flex-basis: 100%; margin: 0 -.5rem; }
  .hq-page-head h1 { font-size: 1.4rem; }
}


/* ------------------------------------------------------------ arka planlar
   Sahneye .hq-bg--<anahtar> eklenir (models.BACKGROUNDS ile aynı anahtarlar).
   Kendi görseli yüklenmişse .hq-bg--image: görsel + okunurluk için koyu katman. */
.hq-bg--lacivert { background: radial-gradient(1200px 600px at 80% -10%, #24569A 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #1B467D 0%, transparent 55%), #0E2647; }
.hq-bg--gece { background: radial-gradient(800px 500px at 50% 120%, #1E3A6E 0%, transparent 70%), linear-gradient(160deg, #060E1E 0%, #0B1B38 60%, #102850 100%); }
.hq-bg--gunbatimi { background: linear-gradient(160deg, #3B1A4A 0%, #7A2E3A 45%, #B5501C 100%); }
.hq-bg--orman { background: radial-gradient(900px 500px at 85% 0%, #2E7D5B 0%, transparent 60%), linear-gradient(170deg, #0B3A2C 0%, #0E4A3A 55%, #08291F 100%); }
.hq-bg--okyanus { background: radial-gradient(900px 600px at 15% 0%, #1D7FA6 0%, transparent 60%), linear-gradient(180deg, #0A4A6B 0%, #073652 60%, #052538 100%); }
.hq-bg--mor { background: radial-gradient(1000px 600px at 80% 0%, #7B4FC4 0%, transparent 60%), linear-gradient(170deg, #2A1650 0%, #3B1F6B 60%, #1E1040 100%); }
.hq-bg--desen {
  background-color: #0E2647;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, .045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .045) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, .045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .045) 87.5%),
    linear-gradient(30deg, rgba(255, 255, 255, .045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .045) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, .045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .045) 87.5%),
    linear-gradient(60deg, rgba(241, 117, 29, .08) 25%, transparent 25.5%, transparent 75%, rgba(241, 117, 29, .08) 75%),
    linear-gradient(60deg, rgba(241, 117, 29, .08) 25%, transparent 25.5%, transparent 75%, rgba(241, 117, 29, .08) 75%);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}
.hq-bg--kutlama {
  background-color: #12285A;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(241, 117, 29, .55) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 20%, rgba(246, 196, 69, .55) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 40% 80%, rgba(127, 224, 200, .5) 0 3px, transparent 4px),
    radial-gradient(circle at 85% 65%, rgba(181, 127, 224, .55) 0 2.5px, transparent 3.5px),
    radial-gradient(1000px 600px at 50% -10%, #2A5C99 0%, transparent 60%);
  background-size: 120px 120px, 90px 90px, 140px 140px, 110px 110px, auto;
}
.hq-stage.hq-bg--image {
  background-image: linear-gradient(rgba(14, 38, 71, .62), rgba(14, 38, 71, .72)), var(--hq-bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@supports (-webkit-touch-callout: none) { .hq-stage.hq-bg--image { background-attachment: scroll; } }

/* düzenleyicide arka plan seçici */
.hq-bgpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; }
.hq-bgpick button { position: relative; height: 70px; border-radius: 10px; border: 3px solid transparent; cursor: pointer; color: #fff; font-weight: 700; font-size: .8rem; display: flex; align-items: flex-end; padding: .35rem .5rem; text-align: left; box-shadow: inset 0 -30px 30px -20px rgba(0, 0, 0, .5); }
.hq-bgpick button[aria-pressed=true] { border-color: var(--hq-orange); }
.hq-bgpick button[aria-pressed=true]::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--hq-orange); display: grid; place-items: center; font-size: .8rem; }
.hq-bgpick button:focus-visible { outline: 3px solid var(--hq-navy); outline-offset: 2px; }
.hq-bgpick .hq-bgpick__img { background-size: cover; background-position: center; }
.hq-bg-upload { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: .75rem; }

/* Çerez bandı (Google Analytics onayı) */
.hq-cerez { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 520px; margin: 0 auto; background: #fff; color: var(--hq-navy-900); border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); padding: .9rem 1rem; display: grid; gap: .6rem; font-size: .9rem; line-height: 1.45; }
.hq-cerez[hidden] { display: none; }
.hq-cerez p { margin: 0; }
.hq-cerez strong { display: block; color: var(--hq-navy); }
.hq-cerez a { color: var(--hq-navy); text-decoration: underline; }
.hq-cerez__btn { display: flex; gap: .5rem; justify-content: flex-end; }
.hq-cerez .hq-btn--ghost { color: var(--hq-navy); border-color: #CBD5E1; }
