.harf{color:var(--ylsa-text);background:var(--ylsa-canvas);min-height:100dvh;font-family:var(--font-body),sans-serif}html[dir=rtl] .harf{font-family:var(--font-arabic),sans-serif}.harf *{box-sizing:border-box}.harf h1,.harf h2,.harf p{margin:0}.harf h1{font-family:var(--font-display),var(--font-arabic),sans-serif;font-size:36px;line-height:1.3;margin-block:8px 20px;overflow-wrap:anywhere}.harf h2{font-size:20px;margin-bottom:12px}.harf p{line-height:1.6}.harf small{color:var(--ylsa-text-muted);line-height:1.5}.harf button,.harf select{cursor:pointer}.harf button:not(.ylsa-button),.harf select{min-height:40px;border:1px solid var(--ylsa-border-strong);border-radius:10px;color:var(--ylsa-text);background:var(--ylsa-surface);padding:8px 14px;font:inherit}.harf button:disabled{opacity:.5;cursor:not-allowed}.harf input{width:100%;min-width:0;min-height:48px;border:1px solid var(--ylsa-border-strong);border-radius:10px;background:var(--ylsa-surface);color:var(--ylsa-text);font:inherit;font-size:18px;padding:10px 14px}.harf label{display:grid;gap:8px;font-weight:600}.harf input:focus{outline:3px solid var(--ylsa-focus);outline-offset:2px}.harf-content{padding:32px;max-width:1300px;margin:auto}.harf-eyebrow{color:var(--ylsa-brand-text);font-weight:700;font-size:15px}.harf-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-block:24px}.harf-room-code{letter-spacing:.18em;font-variant-numeric:tabular-nums;font-weight:700;padding:8px 12px;border:1px solid var(--ylsa-border);border-radius:9px}.harf-lobby{display:grid;grid-template-columns:310px minmax(0,1fr);gap:40px;align-items:center;min-height:440px}.harf-invite{background:var(--ylsa-surface);padding:22px;border:1px solid var(--ylsa-border);border-radius:20px;display:grid;gap:10px;text-align:center;box-shadow:none}.harf-invite img{max-width:100%;height:auto;border-radius:10px;margin:auto}.harf-invite>strong{font-size:56px;letter-spacing:.16em;font-variant-numeric:tabular-nums}.harf-lobby .ylsa-button{margin-block:18px 10px}.harf-lobby small{display:block}.harf-players{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:20px 0}.harf-players li{display:flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid var(--ylsa-border);background:var(--ylsa-surface);border-radius:24px;min-width:0}.harf-players li>span{display:grid;place-items:center;width:28px;height:28px;background:var(--ylsa-brand-strong);color:#fff;border-radius:50%;flex-shrink:0}.harf-players strong{display:flex;align-items:center;overflow-wrap:anywhere;max-width:190px;min-width:0}.harf-presence-notice{color:var(--ylsa-text-muted);font-size:13px;line-height:1.6;max-width:640px;margin:16px auto;text-align:center}.harf-players li[data-done]{border-color:var(--ylsa-success)}.harf-players li[data-done]>span{background:var(--ylsa-forest)}.harf-players .harf-first-done{background:#f6c14a;color:#242634;border-radius:12px;padding:2px 7px;font-weight:700}.harf-setup{display:grid;gap:18px}.harf-setup h1{margin:0}.harf-setup fieldset{border:0;border-top:1px solid var(--ylsa-border);padding:12px 0 0;margin:0;min-width:0}.harf-setup legend{font-weight:700;font-size:20px;padding-inline-end:12px}.harf-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.harf-options button[aria-pressed=true]{color:#fff;background:#285448;border-color:#285448}.harf-letter-pool{color:var(--ylsa-text-muted);font-size:14px;margin-top:8px}.harf-custom{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0}.harf-custom label{grid-template-columns:1fr auto;font-size:14px}.harf-custom input{grid-column:1;grid-row:2}.harf-custom button{grid-column:2;grid-row:2}.harf-settings-row{display:grid;grid-template-columns:1fr 2fr;gap:24px}.harf-setup>.ylsa-button{justify-self:start}.harf-writing{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px 40px;align-items:center}.harf-letter-wrap{text-align:center}.harf-letter{width:310px;height:310px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--ylsa-brand) var(--timer),var(--ylsa-border) 0);padding:8px;margin:auto}.harf-letter strong{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--ylsa-surface);font-size:150px;line-height:1;font-weight:800}.harf-time{font-size:40px;font-weight:700;font-variant-numeric:tabular-nums;margin-top:14px}.harf-categories{padding-inline-start:26px;margin:16px 0}.harf-categories li{padding:10px 12px;border-bottom:1px solid var(--ylsa-border);font-size:26px;font-weight:600;overflow-wrap:anywhere}.harf-categories li::marker{color:var(--ylsa-text-muted);font-size:15px}.harf-writing footer{grid-column:1/-1;display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--ylsa-border)}.harf-writing footer>button{flex-shrink:0}.harf-writing footer .harf-players{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex:1}.harf-writing footer .harf-players li{flex-wrap:wrap;border-radius:12px;padding:8px}.harf-writing footer .harf-players strong{flex:1;font-size:13px}.harf-writing footer .harf-players small{font-size:11px}.harf-mini-letter{display:grid;place-items:center;width:64px;height:64px;font-size:40px;font-weight:800;background:var(--ylsa-brand);color:#fff;border-radius:14px;flex-shrink:0}.harf-review>header{display:flex;gap:18px;align-items:center;margin-bottom:20px}.harf-review h1{margin:0}.harf-review-grid{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:24px;align-items:start}.harf-answers{position:relative}.harf-review-many .harf-answers{max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-inline-end:10px}.harf-answers:focus-visible{outline:3px solid var(--ylsa-focus);outline-offset:4px}.harf-answers article{display:grid;grid-template-columns:110px minmax(90px,1fr) 44px 84px;gap:8px 14px;align-items:center;border-bottom:1px solid var(--ylsa-border);padding:10px 0}.harf-answers article>strong{font-size:15px;overflow-wrap:anywhere}.harf-answers article>span{font-size:20px;font-weight:700;overflow-wrap:anywhere}.harf-answers article>small{font-size:12px}.harf-answers article.is-rejected>span{color:var(--ylsa-text-muted);text-decoration:line-through}.harf-points{background:var(--ylsa-success-soft);color:var(--ylsa-success);padding:6px;border-radius:8px;text-align:center;font-size:22px;font-variant-numeric:tabular-nums}.harf-points-20{background:#f6c14a;color:#242634}.harf-points-0{background:var(--ylsa-surface-soft);color:var(--ylsa-text-muted)}.harf-judge{grid-column:2/-1;display:flex;gap:10px}.harf .harf-judge button,.harf .harf-judge select{min-height:32px;font-size:13px;padding:5px 10px}.harf-review aside{padding:20px;background:var(--ylsa-surface);border:1px solid var(--ylsa-border);border-radius:16px}.harf-review aside p{font-size:14px;color:var(--ylsa-text-muted);margin-block:16px}.harf-review aside button{width:100%;font-size:15px}.harf-point-key{margin:0}.harf-point-key>div{display:flex;gap:12px;margin:12px 0;align-items:center}.harf-point-key dt{font-size:20px;font-weight:700;width:34px}.harf-point-key dd{margin:0;font-size:14px}.harf-results{display:grid;grid-template-columns:1fr 1.3fr;gap:40px;align-items:center;min-height:400px}.harf-leaderboard{list-style:none;padding:0;margin:0;display:grid;gap:8px}.harf-leaderboard li{display:grid;grid-template-columns:28px minmax(0,1fr) auto 60px;gap:14px;padding:12px 18px;align-items:center;border-bottom:1px solid var(--ylsa-border)}.harf-leaderboard li[data-leading]{background:var(--ylsa-warning-soft);border:1px solid var(--ylsa-warning);border-radius:12px}.harf-leaderboard strong{overflow-wrap:anywhere}.harf-leaderboard b{text-align:end;font-size:26px}.harf-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--ylsa-border);padding-top:14px;margin-top:24px;color:var(--ylsa-text-muted);font-size:14px}.harf .harf-bottom button{min-height:34px;padding:5px 12px;font-size:14px}.harf-confirm,.harf-countdown,.harf-notice{padding:14px 20px;border:1px solid var(--ylsa-warning);background:var(--ylsa-warning-soft);border-radius:12px;margin-bottom:16px}.harf-confirm{margin-top:16px;display:flex;flex-wrap:wrap;gap:14px;align-items:center}.harf-notice{margin:20px}.harf-countdown{font-weight:700}.harf-loading{padding:48px}.harf-private .harf-content{max-width:600px;padding:24px 20px max(28px,env(safe-area-inset-bottom))}.harf-private .ylsa-game-header{min-height:80px}.harf-join{max-width:440px;padding:36px 24px;margin:auto;display:grid;gap:20px}.harf-join h1{font-size:32px;margin:0}.harf-waiting{display:grid;gap:16px;padding-top:24px}.harf-check{font-size:40px;color:var(--ylsa-success)}.harf-writer{display:grid;gap:18px}.harf-phone-timer{position:sticky;top:0;z-index:1;display:flex;gap:16px;align-items:center;padding-block:10px;background:var(--ylsa-canvas);border-bottom:1px solid var(--ylsa-border)}.harf-phone-timer strong{font-size:26px;font-variant-numeric:tabular-nums}.harf-phone-timer p{font-size:14px}.harf-save-status{color:var(--ylsa-success);font-size:14px}.harf-private .harf-results,.harf-private .harf-review-grid{grid-template-columns:1fr;gap:24px}.harf-private .harf-answers article{grid-template-columns:minmax(0,1fr) 60px;background:var(--ylsa-surface);padding:20px;border:1px solid var(--ylsa-border);border-radius:16px}.harf-private .harf-answers article>strong{grid-column:1/-1}.harf-private .harf-answers article>span{font-size:32px}.harf-private .harf-answers article>small{grid-column:1/-1}.harf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}html[data-theme][dir] .harf-display[data-shared-mode=fit] .harf{min-height:0}html[data-theme][dir] .harf-display[data-shared-mode=fit] .harf-content{padding:26px 32px 16px}html[data-theme][dir] .harf-display[data-shared-mode=fit] .ylsa-game-header{flex-wrap:nowrap;min-height:82px;padding:8px 24px;padding-inline-end:140px}html[data-theme][dir] .harf-display[data-shared-mode=fit] .ylsa-game-tools{flex-basis:auto;margin-inline-start:auto}html[data-theme][dir] .harf-display[data-shared-mode=fit] .ylsa-logo-badge{width:70px}@media(max-width:700px) and (orientation:portrait){.harf-host .harf-content{padding:28px 18px}.harf-lobby,.harf-results,.harf-review-grid,.harf-writing{grid-template-columns:1fr}.harf-invite{max-width:310px;margin:auto;width:100%}.harf-writing footer{flex-wrap:wrap;padding-bottom:12px}.harf-writing footer .harf-players{grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:100%}.harf-answers article{grid-template-columns:90px minmax(0,1fr) 40px}.harf-answers article>small{grid-column:2/-1}.harf-custom,.harf-settings-row{grid-template-columns:1fr}.harf-letter{width:240px;height:240px}.harf-letter strong{font-size:110px}.harf-categories li{font-size:22px}.harf h1{font-size:28px}}