/* Retain existing clue colors; position, not hue, identifies each mark. */
.tile-state-mark{display:none;position:absolute;width:8px;height:8px;border-radius:0;background:none;border:0;box-shadow:none;filter:drop-shadow(0 0 1px #202820);pointer-events:none;z-index:1}.corner-markers .tile-state-mark{display:block}.correct>.tile-state-mark{top:1px;right:1px;border-top:2px solid #fff;border-right:2px solid #fff}.present>.tile-state-mark{top:1px;left:1px;border-top:2px solid #fff;border-left:2px solid #fff}.absent>.tile-state-mark{bottom:1px;left:1px;border-bottom:2px solid #fff;border-left:2px solid #fff}.key,.legend b{position:relative}.key .tile-state-mark{width:6px;height:6px;border-width:1.5px}.legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 14px}.legend>span{display:flex;align-items:center;gap:7px}.legend b{width:26px;height:26px;flex-shrink:0;font-size:12px}.legend b .tile-state-mark{width:8px;height:8px;border-width:1.5px}.clue-text{font-size:10px;line-height:1.3}.clue-text small{display:none;font-size:9px;margin-top:2px}.corner-markers .clue-text small{display:block}.table-scroll{max-width:100%;overflow-x:auto}.public-rankings{min-width:480px}.your-ranking{font-weight:600;background:#edf1e7}#all-leaderboard{margin-top:4px;margin-bottom:14px}footer{flex-wrap:wrap}
@media(max-width:760px){.intro{padding:10px 3px 12px}.intro h1{margin:4px 0 6px}.intro p{margin:0}.clue-text{font-size:9px}.clue-text small{font-size:8px}.legend b{width:24px;height:24px}.legend>span{gap:5px}}
@media(max-width:760px) and (max-height:820px){.intro{padding:5px 3px 7px}.intro h1{margin:3px 0}.timing-controls .timer small{display:none}.timing-controls>button{min-height:30px;padding:4px 8px;margin-bottom:4px}.game-heading .timing-controls .timer{font-size:12px}.game-heading h2{margin-bottom:5px}#notice{padding-top:6px;min-height:25px}.edit-hint{margin:7px 0 8px}.legend{margin-top:9px}}

@media(max-width:760px) and (max-height:820px){.intro{display:none}.game-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center}.timing-controls{display:contents}.timing-controls>button{grid-column:2;grid-row:1;margin:0}.game-heading .timing-controls .timer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:14px;min-width:0}.game-heading .timer[hidden]{display:none}.game-heading .timer-row{gap:5px}.game-heading h2{margin:3px 0}.game-panel{padding-top:10px}.board{--size:clamp(29px,9.4vw,39px)}}

.legend .clue-text{display:block}

.tile:not(.correct):not(.present):not(.absent){border-color:#8b9b7e}.tile.selected:not(.correct):not(.present):not(.absent){border-color:#527346}.header nav{gap:5px}.header #account{margin-left:8px}.check-label{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:0;border:0;border-radius:0}.check-label input{width:18px;min-height:18px;margin:0;flex-shrink:0}

footer{flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}footer .footer-links{justify-content:center;gap:8px}.footer-brand{display:block}

.reset-line{display:flex;align-items:baseline;justify-content:center;gap:5px;text-align:center;white-space:nowrap}.reset-line time{float:none;margin-left:0}

/* Give the final guess row breathing room above the keyboard. */
#notice:empty{display:none}.board{margin-bottom:20px}
.daily-four-preview{max-width:340px;margin-left:auto;margin-right:auto;padding:19px;font-family:Arial,sans-serif}.daily-four-preview .share-card-brand{font-size:21px;letter-spacing:-.5px}.daily-four-preview .four-card-rows>div{gap:8px;flex-wrap:wrap}.daily-four-preview .mini-row i{width:13px;height:13px}.daily-four-preview .mini-grids{column-gap:12px}

@media(max-width:760px) and (max-height:820px){.game-heading .timing-controls .timer{justify-content:center}.game-heading .timer-row{display:flex;justify-content:center;gap:5px}}

.header nav #stats,.header nav #groups{display:inline-flex;align-items:center;justify-content:center;gap:6px}.header nav .nav-icon{display:block;width:18px;height:18px;flex-shrink:0}

.header nav #help{font-size:18px;font-weight:400;line-height:1}

footer .footer-separator{font-size:14px;line-height:1;color:#63705c;font-weight:600}

footer .footer-brand{font-size:12px;font-weight:600;letter-spacing:.2px;color:#5d7156}

#daily-progress .progress-item b{width:30px;height:30px;font-size:18px;font-weight:700;color:#496240;background:#e0e8d8;flex-shrink:0}#daily-progress .progress-item{gap:10px}

#daily-progress .progress-item{align-items:flex-start}#daily-progress .progress-item small{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left}#daily-progress .progress-times{display:grid;grid-template-columns:auto auto;gap:3px 8px;align-items:baseline}#daily-progress .progress-times time{font-variant-numeric:tabular-nums;text-align:left}

#daily-progress .progress-number{display:flex;align-items:center;gap:5px}#daily-progress .progress-score{white-space:nowrap;font-size:11px;font-weight:600;color:var(--green)}#daily-progress .progress-item{gap:6px}

.group-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;padding:10px 2px;text-align:left;border-bottom:1px solid var(--line)}.group-list-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.group-list-row small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.group-list-row>span:last-child{color:var(--green)}.group-forms{gap:6px}.group-forms summary,.group-settings summary{cursor:pointer;padding:12px 0;min-height:44px;font-weight:600}.group-forms form{padding:8px 0 14px}.group-settings{margin:12px 0 20px;border-top:1px solid var(--line)}.group-settings .group-admin{flex-wrap:wrap}.group-settings .group-admin button{min-height:44px}.group-settings .group-code{overflow-wrap:anywhere}

body.account-dialog-open{overflow:hidden}#account-backdrop{position:fixed;inset:0;background:#29332e55;backdrop-filter:blur(3px);z-index:1000}dialog.account-dialog{position:fixed;top:50%;bottom:auto;left:0;right:0;margin:0 auto;transform:translateY(-50%);z-index:1001;overflow:auto;max-height:85dvh}

.tip .tip-icon{font-family:inherit;font-size:18px;font-weight:400;line-height:1}
