/* HC Oyunlar / Adam Asmaca v1 */
.ha-page{display:grid;gap:14px}.ha-layout{display:grid;grid-template-columns:260px minmax(360px,1fr) 250px;gap:14px;align-items:start}.ha-left,.ha-right{display:grid;gap:14px}.ha-scoreboard h2,.ha-actions h2{margin-top:0}.ha-score-list{display:grid;gap:7px}.ha-score-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.ha-score-row:last-child{border-bottom:0}.ha-score-row>b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf4ff;color:#225fa9}.ha-score-row span strong,.ha-score-row span small{display:block}.ha-score-row span small{font-size:10px;color:var(--muted)}.ha-score-row em{font-style:normal;font-weight:800}.ha-game{padding:18px}.ha-game-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ha-game-head h2{margin:0}.ha-stage{display:grid;gap:12px;justify-items:center}.ha-gallows{width:min(240px,60%);height:auto;stroke:#26384a;stroke-width:6;stroke-linecap:round;fill:none}.ha-word{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 4px;padding:10px}.ha-letter{display:grid;place-items:center;width:28px;height:38px;border-bottom:3px solid #405a70;font-size:22px;font-weight:800}.ha-letter.is-open{color:#166534}.ha-space{width:18px}.ha-punct{display:grid;place-items:end center;width:18px;height:38px;font-size:20px;font-weight:800}.ha-keyboard{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin-top:14px}.ha-keyboard form{margin:0}.ha-keyboard button{width:100%;min-height:42px;padding:5px;font-size:15px;font-weight:800}.ha-keyboard button.is-correct{background:#dff5e5;color:#1e6e35;border-color:#a8dcb5}.ha-keyboard button.is-wrong{background:#fbe1e1;color:#9e2e2e;border-color:#efb2b2}.ha-actions{position:sticky;top:12px}.ha-actions>button,.ha-actions>form button{width:100%;margin-bottom:8px}.ha-current{display:grid;grid-template-columns:1fr auto;gap:7px 8px;margin:12px 0;padding:10px;border-radius:9px;background:#f7fafc}.ha-current span{font-size:11px;color:var(--muted)}.ha-current strong{font-size:11px;text-align:right}.ha-hint{padding:9px;border-radius:8px;background:#fff7d8;border:1px solid #ead898;font-size:12px}.ha-welcome,.ha-result{text-align:center;padding:28px}.ha-preview{font-size:30px;font-weight:900;letter-spacing:6px;margin-bottom:18px;color:#37536c}.ha-result>span{font-size:54px}.ha-result>strong{display:block;font-size:30px;margin:8px}.ha-dialog{width:min(520px,calc(100% - 30px));border:0;border-radius:14px;padding:0;box-shadow:0 25px 80px #0006}.ha-dialog::backdrop{background:#071422aa}.ha-dialog-card{display:grid;gap:14px;padding:18px}.ha-dialog-card header{display:flex;justify-content:space-between;align-items:center}.ha-dialog-card header h2{margin:0}.ha-dialog-card header button{background:transparent;color:var(--ink);font-size:24px;padding:0 8px}.ha-admin-head,.ha-admin-filter{display:flex;justify-content:space-between;align-items:center;gap:12px}.ha-level-settings{overflow:auto}.ha-level-settings table{min-width:520px}.ha-level-settings input{max-width:110px}.ha-admin-actions{display:flex;gap:5px;flex-wrap:wrap}.ha-admin-actions form{margin:0}
html[data-color-mode="dark"] .ha-score-row>b,body[data-color-mode="dark"] .ha-score-row>b{background:#1d3147;color:#a8cdf6}html[data-color-mode="dark"] .ha-gallows,body[data-color-mode="dark"] .ha-gallows{stroke:#d9e5ef}html[data-color-mode="dark"] .ha-letter,body[data-color-mode="dark"] .ha-letter{border-color:#b4c6d7;color:#eef5fb}html[data-color-mode="dark"] .ha-letter.is-open,body[data-color-mode="dark"] .ha-letter.is-open{color:#a6e6b5}html[data-color-mode="dark"] .ha-current,body[data-color-mode="dark"] .ha-current{background:#152234}html[data-color-mode="dark"] .ha-hint,body[data-color-mode="dark"] .ha-hint{background:#382f16;border-color:#665b28;color:#f5edc6}html[data-color-mode="dark"] .ha-dialog,body[data-color-mode="dark"] .ha-dialog{background:#101a28;color:#e7eef7}html[data-color-mode="dark"] .ha-dialog-card header button,body[data-color-mode="dark"] .ha-dialog-card header button{color:#e7eef7}
@media(max-width:1050px){.ha-layout{grid-template-columns:220px minmax(320px,1fr)}.ha-right{grid-column:1/-1}.ha-actions{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ha-actions h2,.ha-actions .muted,.ha-current,.ha-hint{grid-column:1/-1}}@media(max-width:760px){.ha-layout{grid-template-columns:1fr}.ha-left{order:2}.ha-center{order:1}.ha-right{order:3}.ha-keyboard{grid-template-columns:repeat(6,minmax(0,1fr))}.ha-gallows{width:190px}}@media(max-width:480px){.ha-keyboard{grid-template-columns:repeat(5,minmax(0,1fr))}.ha-letter{width:24px;height:34px;font-size:19px}.ha-preview{font-size:22px;letter-spacing:4px}}

/* Adam Asmaca v1.1 — kompakt kelime görünümü */
.ha-word{
  display:block;
  width:100%;
  padding:10px;
  text-align:center;
}
.ha-mask-text{
  display:inline-block;
  white-space:pre-wrap;
  font-size:30px;
  line-height:1.35;
  font-weight:900;
  letter-spacing:1px;
  color:#263f55;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}
html[data-color-mode="dark"] .ha-mask-text,
body[data-color-mode="dark"] .ha-mask-text{color:#eef5fb}
@media(max-width:480px){.ha-mask-text{font-size:24px;letter-spacing:.5px}}

/* Adam Asmaca v2 — iki oyun türü, kelime önerileri ve 2D çizimler */
.ha-score-modes{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0}
.ha-score-modes a{padding:7px 6px;border:1px solid var(--line);border-radius:8px;text-align:center;font-size:10px;font-weight:800;color:var(--ink);background:#f7fafc}
.ha-score-modes a.active{background:#e7f1ff;border-color:#8fbaf0;color:#145da8}
.ha-score-filter{margin:8px 0}.ha-score-filter label{font-size:11px;font-weight:700}.ha-score-filter select{margin-top:4px;width:100%}
.ha-choice-group{display:grid;gap:8px;margin:0;padding:10px;border:1px solid var(--line);border-radius:10px}.ha-choice-group legend{padding:0 5px;font-weight:800}
.ha-choice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#f8fafc;cursor:pointer}
.ha-choice:has(input:checked){border-color:#68a7ef;background:#eaf4ff;box-shadow:0 0 0 2px #68a7ef22}.ha-choice input{margin:0}.ha-choice strong,.ha-choice small{display:block}.ha-choice small{font-size:10px;color:var(--muted);margin-top:2px}
.ha-drawing-choices{grid-template-columns:1fr 1fr}.ha-drawing-choices legend{grid-column:1/-1}.ha-drawing-choices .ha-choice{grid-template-columns:auto auto minmax(0,1fr)}.ha-choice-art{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e9eef5;font-size:20px;font-weight:900}
.ha-dialog-note{margin:0;padding:8px 10px;border-radius:8px;background:#eef7ee;color:#2f633c;font-size:12px;font-weight:700}
.ha-mannequin-drawing{stroke-width:5}.ha-mannequin-drawing .ha-stand{fill:none;stroke:#53687a;stroke-width:7;stroke-linecap:round}.ha-mannequin-drawing .ha-rope{fill:none;stroke:#9c774b;stroke-width:5;stroke-linecap:round}.ha-mannequin-drawing .ha-wood{fill:url(#haWoodGradient);stroke:#70421f;stroke-width:3}.ha-mannequin-drawing .ha-limb{fill:none;stroke:#bd7a36;stroke-width:12;stroke-linecap:round}.ha-mannequin-drawing .ha-joint{fill:#70421f;stroke:#f0c47d;stroke-width:1.5}
.ha-meaning{max-width:620px;margin:14px auto;padding:13px 15px;border:1px solid #b9d5b9;border-radius:10px;background:#f0f8ef;text-align:left}.ha-meaning>b{display:block;color:#2b6a38}.ha-meaning p{margin:5px 0 0;line-height:1.55}
.ha-word-submit h2{margin-top:0}.ha-word-submit-form{display:grid;gap:9px}.ha-word-submit-form label{display:grid;gap:4px;font-size:11px;font-weight:700}.ha-word-submit-form input,.ha-word-submit-form select,.ha-word-submit-form textarea{width:100%}.ha-word-submit-form label small{font-weight:400;color:var(--muted)}
.ha-fixed-rule,.ha-fixed-word-rules{padding:8px 10px;border-radius:8px;background:#fff7d8;border:1px solid #e7d490;color:#705b18;font-size:11px}.ha-fixed-word-rules{margin:5px 0}
.ha-admin-filter form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.ha-admin-filter select{min-width:150px}.ha-status{display:inline-block;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800}.ha-status-approved{background:#dff5e5;color:#216c36}.ha-status-pending{background:#fff0c8;color:#7b5a0c}.ha-status-rejected{background:#fbe1e1;color:#9c2929}
html[data-color-mode="dark"] .ha-score-modes a,body[data-color-mode="dark"] .ha-score-modes a{background:#152234;border-color:#2d4055;color:#dfeaf5}
html[data-color-mode="dark"] .ha-score-modes a.active,body[data-color-mode="dark"] .ha-score-modes a.active{background:#1b3d62;border-color:#4c8ed1;color:#d7ebff}
html[data-color-mode="dark"] .ha-choice,body[data-color-mode="dark"] .ha-choice{background:#152234;border-color:#2d4055;color:#e7eef7}
html[data-color-mode="dark"] .ha-choice:has(input:checked),body[data-color-mode="dark"] .ha-choice:has(input:checked){background:#193754;border-color:#5797d7}
html[data-color-mode="dark"] .ha-choice-art,body[data-color-mode="dark"] .ha-choice-art{background:#25384d;color:#e7eef7}
html[data-color-mode="dark"] .ha-dialog-note,body[data-color-mode="dark"] .ha-dialog-note{background:#193623;color:#bde7c7}
html[data-color-mode="dark"] .ha-mannequin-drawing .ha-stand,body[data-color-mode="dark"] .ha-mannequin-drawing .ha-stand{stroke:#c2d0dd}
html[data-color-mode="dark"] .ha-meaning,body[data-color-mode="dark"] .ha-meaning{background:#17291c;border-color:#365c3e;color:#e1eee2}
html[data-color-mode="dark"] .ha-meaning>b,body[data-color-mode="dark"] .ha-meaning>b{color:#9bd7a8}
html[data-color-mode="dark"] .ha-fixed-rule,html[data-color-mode="dark"] .ha-fixed-word-rules,body[data-color-mode="dark"] .ha-fixed-rule,body[data-color-mode="dark"] .ha-fixed-word-rules{background:#382f16;border-color:#665b28;color:#f5edc6}
html[data-color-mode="dark"] .ha-status-approved,body[data-color-mode="dark"] .ha-status-approved{background:#193b24;color:#a9e8b7}
html[data-color-mode="dark"] .ha-status-pending,body[data-color-mode="dark"] .ha-status-pending{background:#413616;color:#f5d984}
html[data-color-mode="dark"] .ha-status-rejected,body[data-color-mode="dark"] .ha-status-rejected{background:#472020;color:#f2aaaa}
@media(max-width:1050px){.ha-word-submit{grid-column:1/-1}.ha-drawing-choices{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ha-drawing-choices{grid-template-columns:1fr}.ha-drawing-choices legend{grid-column:auto}.ha-score-modes{grid-template-columns:1fr}.ha-admin-filter{align-items:flex-start;flex-direction:column}.ha-admin-filter form{width:100%}.ha-admin-filter select{width:100%}}

/* Adam Asmaca v2.1 — sayfalama, tek skor listesi, popup ve profil oyunları */
.ha-mask-text{display:none!important}
.ha-mask-cells{display:inline-flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:5px;max-width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace}
.ha-mask-cell,.ha-mask-punct{display:inline-flex;align-items:flex-end;justify-content:center;width:25px;height:38px;font-size:28px;line-height:1;font-weight:900;color:#263f55}
.ha-mask-cell{border-bottom:3px solid #405a70;padding-bottom:3px}.ha-mask-cell.is-hidden{color:transparent}.ha-mask-cell.is-open{color:#166534}.ha-mask-space{width:18px;height:38px}.ha-preview .ha-mask-cell,.ha-preview .ha-mask-punct{font-size:27px}
.ha-word-submit-summary>button,.ha-word-submit-summary>a.button{width:100%}.ha-word-submit-summary p{margin:7px 0}.ha-word-dialog{width:min(620px,calc(100% - 30px))}
.ha-page-size{display:flex!important;align-items:center;gap:6px;font-size:11px;font-weight:700}.ha-page-size select{min-width:76px!important;width:auto!important}
.ha-pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:14px}.ha-pagination>a:not(.button),.ha-pagination>span{display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:12px;font-weight:800}.ha-pagination>a.selected{background:#176bd1;color:#fff;border-color:#176bd1}.ha-pagination .disabled{pointer-events:none;opacity:.45}
.ha-profile-games{display:grid;gap:14px}.ha-profile-game-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ha-profile-game-stats>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:#f7fafc}.ha-profile-game-stats strong,.ha-profile-game-stats span{display:block}.ha-profile-game-stats strong{font-size:22px}.ha-profile-game-stats span{font-size:11px;color:var(--muted)}.ha-profile-game-table{min-width:980px}.ha-profile-game-table td{vertical-align:top}.ha-profile-game-table .block{display:block;margin-top:3px}
html[data-color-mode="dark"] .ha-mask-cell,body[data-color-mode="dark"] .ha-mask-cell{border-color:#b4c6d7;color:#eef5fb}html[data-color-mode="dark"] .ha-mask-cell.is-hidden,body[data-color-mode="dark"] .ha-mask-cell.is-hidden{color:transparent}html[data-color-mode="dark"] .ha-mask-cell.is-open,body[data-color-mode="dark"] .ha-mask-cell.is-open{color:#a6e6b5}
html[data-color-mode="dark"] .ha-pagination>a:not(.button),html[data-color-mode="dark"] .ha-pagination>span,body[data-color-mode="dark"] .ha-pagination>a:not(.button),body[data-color-mode="dark"] .ha-pagination>span{background:#152234;border-color:#2d4055;color:#e7eef7}html[data-color-mode="dark"] .ha-pagination>a.selected,body[data-color-mode="dark"] .ha-pagination>a.selected{background:#1f6fc7;border-color:#4a91d9;color:#fff}
html[data-color-mode="dark"] .ha-profile-game-stats>div,body[data-color-mode="dark"] .ha-profile-game-stats>div{background:#152234;border-color:#2d4055;color:#e7eef7}
@media(max-width:760px){.ha-profile-game-stats{grid-template-columns:repeat(7,minmax(0,1fr))}.ha-mask-cell,.ha-mask-punct{width:22px;height:34px;font-size:24px}.ha-mask-space{width:14px;height:34px}}
@media(max-width:480px){.ha-mask-cells{gap:3px}.ha-mask-cell,.ha-mask-punct{width:19px;height:31px;font-size:21px}.ha-mask-space{width:11px;height:31px}.ha-profile-game-stats{grid-template-columns:1fr 1fr}}
.ha-preview{letter-spacing:0}

/* HC_PROFILE_MATCHING_STATS_V1 */
.ha-profile-game-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1050px){.ha-profile-game-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ha-profile-game-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ha-profile-game-stats{grid-template-columns:1fr 1fr}}
/* HC_PROFILE_WORD_SEARCH_STATS_V1 */
@media(max-width:1180px){.ha-profile-game-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ha-profile-game-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* HC_PROFILE_2048_STATS_V1 */
@media(max-width:1180px){.ha-profile-game-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.ha-profile-game-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
