*{box-sizing:border-box}body{margin:0;background:#f6f5ef;color:#262722;font:16px system-ui,sans-serif}button,input,a{font:inherit}button,a{cursor:pointer;color:inherit}button{background:none;border:0}header,main{max-width:1160px;margin:auto;padding:0 40px}header{height:84px;display:flex;align-items:center;gap:44px;border-bottom:1px solid #c9c9be}.brand{font:bold 40px Georgia;text-decoration:none;letter-spacing:-3px}.mark{display:inline-grid;place-items:center;border-radius:50%;width:39px;height:39px;background:#674bb3;color:white;font:34px Georgia;vertical-align:4px;letter-spacing:0}nav{display:flex;gap:18px;align-items:center}nav a,nav button{font-size:15px;text-decoration:none;padding:9px 4px}nav .active{border-bottom:2px solid #7051b4}#help{margin-left:auto;border:1px solid;border-radius:100%;width:31px;height:31px;font:italic bold 20px Georgia}.intro{margin:42px 0 28px}.kicker,.row,.panel>b{font: bold 12px ui-monospace,monospace;letter-spacing:.12em}.kicker{color:#6548a4}h1{font:normal clamp(48px,7vw,90px)/1 Georgia;margin:10px 0;letter-spacing:-.066em}h1 span{color:#7954c5}.intro p{margin:0;font:20px Georgia;color:#595951}.grid{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(225px,1fr);gap:18px 24px;align-items:start}article,.panel,form{border:1px solid #cacac2;background:#fffefa;border-radius:7px;padding:26px 30px}.row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddddd4;padding-bottom:15px}.row small{color:#68685e}article h2{font:38px Georgia;margin:24px 0 14px}#passage p{font:19px/1.75 Georgia;margin:14px 0}.mask{display:inline-block;background:#33342f;height:.72em;vertical-align:baseline;border-radius:2px;max-width:100%}.hit{color:#64449b}.numbers{display:flex;gap:32px;margin:18px 0;color:#606058;font-size:14px}.numbers strong{display:block;font:36px Georgia;color:#242520}.track{height:5px;background:#dedadf;border-radius:4px}.track i{display:block;background:#8264ba;height:100%}h3{font:22px Georgia;margin:22px 0 8px}#history,output,#credit{font-size:14px;color:#65655e}#history{max-height:160px;overflow:auto}aside button{width:100%;padding:13px;margin-top:10px;border-radius:5px}#hint{background:#e8e1f4;font-weight:600}small{font-size:12px}#share{border:1px solid #c6c5ba}form{grid-column:1;padding:18px 24px;margin-bottom:32px}label{font-weight:650}.inputrow{display:flex;gap:8px;margin:8px 0}input{width:100%;min-width:0;border:1px solid #bdbcb4;border-radius:5px;padding:12px;background:white}.inputrow button,dialog a{background:#6644a4;color:white;border-radius:5px;padding:10px 24px}dialog{width:min(460px,90%);border:1px solid #bbb;border-radius:9px;padding:30px;background:#fffefa}dialog::backdrop{background:#24212377}dialog h2{font:32px Georgia}dialog a{display:inline-block;margin:4px;text-decoration:none}#close{float:right;font-size:24px}button:disabled{opacity:.5;cursor:default}@media(max-width:720px){header,main{padding:0 16px}header{gap:12px;height:66px}nav{gap:8px}nav a,nav button{font-size:13px}.brand{font-size:30px}.mark{width:27px;height:27px;font-size:24px}.intro{margin:27px 0 20px}.grid{display:flex;flex-direction:column;gap:12px}.grid>*{width:100%}article,.panel{padding:19px}aside{order:3;margin-bottom:24px}form{margin:0}#passage p{font-size:17px}.numbers{margin:10px 0}}
#language{font-size:14px;margin-left:auto}#help{margin-left:0}@media(max-width:720px){header{flex-wrap:wrap;gap:4px 14px;height:auto;padding-top:10px;padding-bottom:8px}nav{order:4;width:100%}}
.title-mask{background:#7954b6}.starter{color:#4d397b;font-weight:600}
.just-revealed {
  display: inline-block;
  color: #38215f;
  background: #e9ddff;
  border-radius: .18em;
  box-shadow: 0 0 0 .11em #e9ddff;
  animation: word-reveal 600ms ease-out both;
}
@keyframes word-reveal {
  0% { transform: scale(.92); background: #a68ae0; box-shadow: 0 0 0 .11em #a68ae0; }
  36% { transform: scale(1.09); background: #d3bafc; box-shadow: 0 0 0 .17em #d3bafc; }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .just-revealed { animation: none; }
}
.grid > article { grid-area: 1 / 1; }
.grid > aside { grid-area: 1 / 2 / span 2; }
.grid > form { grid-area: 2 / 1; }
.guess-actions { margin-top: 8px; }
.guess-actions button { padding: 8px 12px; border-radius: 5px; }
@media (max-width: 720px) {
  .grid > form {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 9px 12px;
    box-shadow: 0 3px 8px #26272218;
  }
  .grid > form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .inputrow { margin-top: 0; }
}
.guess-actions button:not(#hint) { border: 1px solid #c6c5ba; margin-right: 5px; }
.grid > article { grid-row: 2; }
.grid > form { grid-row: 1; margin-bottom: 0; }
#guess-instructions { margin: 0 0 12px; color: #595951; }
.result {
  margin-bottom: 26px;
  padding: clamp(16px, 4vw, 26px);
  border: 1px solid #d5c8ec;
  border-radius: 6px;
  background: #f0e9fb;
  color: #362056;
  scroll-margin-top: 40px;
}
.result p { margin: 8px 0; }
.result h2 { margin: 8px 0; }
#result-streak:empty { display: none; }
#challenge { margin-top: 8px; padding: 10px 15px; color: white; background: #6644a4; border-radius: 5px; font-weight: 650; }
@media (max-width: 720px) {
  #guess-instructions { font-size: 14px; margin-bottom: 8px; }
  .result { scroll-margin-top: 220px; }
}
#practice-link, #skip-practice { margin-top: 12px; color: #6548a4; }
#practice-link:not([hidden]), #skip-practice:not([hidden]), #practice-done:not([hidden]) { display: inline-block; }
#practice-done { margin-top: 8px; padding: 10px 15px; color: white; background: #6644a4; border-radius: 5px; font-weight: 650; }
#story {
  margin: 8px 0 0 6px;
  padding: 9px 14px;
  border: 1px solid #7954b6;
  border-radius: 5px;
  color: #4d397b;
  font-weight: 650;
}
.tutorial { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid #7954b6; background: #f0e9fb; }
.tutorial strong { color: #4d397b; font-size: .9rem; }
.tutorial p { margin: 5px 0 8px; }
.tutorial button { padding: 6px 10px; border: 1px solid #7954b6; border-radius: 5px; color: #4d397b; font-weight: 650; }
.tutorial-invite {
  width: fit-content;
  margin-top: 12px;
  padding: 2px 6px 2px 10px;
  border: 1px solid #d5c8ec;
  border-radius: 6px;
  background: #f0e9fb;
  color: #4d397b;
  font-size: 14px;
}
.tutorial-invite #practice-link { margin: 0 4px; font-weight: 650; }
.tutorial-invite button { min-width: 32px; min-height: 36px; border-radius: 5px; font-size: 19px; }
.tutorial-invite button:hover { background: #e5d8f6; }
#restart-tutorial { margin: 8px 0 0 6px; padding: 9px 14px; border: 1px solid #7954b6; border-radius: 5px; color: #4d397b; font-weight: 650; }
.grid > form[hidden] { display: none; }
.grid:has(> form[hidden]) > article { grid-row: 1; }
.result-next { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.result-next:not(:has(> :not([hidden]))) { display: none; }
.result-next > :not([hidden]) { display: inline-block; padding: 8px 11px; border: 1px solid #7954b6; border-radius: 5px; font-weight: 650; color: #4d397b; }
#next-daily { font-weight: 650; font-variant-numeric: tabular-nums; }
#community { border-top: 1px solid #d5c8ec; margin-top: 16px; padding-top: 2px; }
#community h3 { margin-top: 12px; }
#community-summary span { display: block; margin-top: 4px; }
#community-account { font-size: .9rem; }
.account-action, #email-auth button, #auth-google, #auth-facebook {
  padding: 8px 12px; margin: 4px 4px 4px 0; border: 1px solid #7954b6; border-radius: 5px; color: #4d397b;
}
#email-auth { padding: 12px; margin-bottom: 8px; }
#email-auth input { margin: 4px 0; }
/* Keep the opening article visible alongside the controls. */
header { height: 68px; gap: 27px; }
.brand { display: flex; align-items: center; gap: 7px; font-size: 34px; letter-spacing: -0.07em; }
.mark { width: 32px; height: 32px; background: #674bb3 url('/icon.png') center / cover; font-size: 0; }
header #stats { border: 1px solid #cacac2; border-radius: 6px; padding: 7px 12px; }
.intro { margin: 28px 0 20px; }
.intro h1 { font-size: clamp(42px, 6vw, 71px); }
#guess-instructions { margin: 0 0 10px; }
.grid > form { padding: 15px 20px; }
.grid > form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#message:empty { display: none; }
.grid > article { min-width: 0; margin-bottom: 20px; }
article .row { font-size: .79rem; }
.panel > b { font-size: .8rem; }
#credit { margin-top: 21px; }
#passage p, #title { overflow-wrap: anywhere; }
#word, #submit-guess { min-height: 46px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #674bb3; outline-offset: 3px; }
footer { max-width: 1160px; margin: 0 auto; padding: 18px 40px; border-top: 1px solid #c9c9be; }
footer button { padding: 6px 0; color: #595951; text-decoration: underline; }
.archive-list { padding: 0; list-style: none; }
.archive-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-bottom: 1px solid #ddddd4; }
.archive-list a { background: transparent; color: #4d397b; margin: 0; padding: 10px 0; text-decoration: underline; }
.archive-list span { color: #595951; font-size: .86rem; }
.feedback-options { display: flex; flex-wrap: wrap; gap: 8px; }
.feedback-options button { border: 1px solid #7954b6; border-radius: 5px; padding: 8px 11px; }
@media (max-width: 720px) {
  header { gap: 4px 11px; height: auto; }
  header #stats { padding: 5px 8px; }
  nav { gap: 13px; }
  nav a, nav button { padding-block: 9px; }
  .intro { margin: 18px 0 14px; }
  .intro h1 { margin: 5px 0 8px; }
  .intro > p { font-size: 17px; }
  .tutorial-invite { margin-top: 8px; }
  .grid > form { padding: 8px 11px; }
  .guess-actions { margin-top: 6px; }
  .grid > article { margin-bottom: 0; }
  footer { padding: 12px 16px; }
}
#account-status { padding: 7px 10px; border: 1px solid #cacac2; border-radius: 6px; white-space: nowrap; }
#account-status[data-signed-in]::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #327752; }
#account-notice { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid #674bb3; background: #f0e9fb; }
.stats-account { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  #account-status { padding: 5px 8px; }
}

/* A compact editorial masthead leaves the puzzle in the first view. */
.intro { margin: 22px 0 16px; }
.intro h1 { font-size: clamp(35px, 4.8vw, 57px); letter-spacing: -.055em; }
.intro > p { font-size: 17px; }
.grid { grid-template-columns: minmax(0, 1fr) minmax(190px, 240px); gap: 20px; }
.grid > article { grid-row: 1; padding: 22px 28px; }
.grid > aside { grid-area: 1 / 2; }
.grid > aside .panel { padding: 20px; }
.composer { background: #fffefa; }
article .composer h2 { margin: 14px 0 11px; font-size: clamp(26px, 3.8vw, 38px); }
.composer form { padding: 0 0 7px; border: 0; border-radius: 0; margin: 0; }
.composer form label, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.composer .inputrow { margin: 8px 0 0; }
.composer .inputrow button { padding: 0 13px; white-space: nowrap; }
.composer .inputrow #hint {
  color: #4d397b;
  border: 1px solid #d5c8ec;
  min-height: 46px;
}
.composer .guess-actions { margin-top: 5px; }
.composer .guess-actions:not(:has(> :not([hidden]))) { display: none; }
#matches { background: #f0e9fb; color: #4d397b; font-weight: 650; }
#matches:not([hidden])::after { content: ' ↳'; }
#message:not(:empty):not(.sr-only) { display: block; margin-top: 6px; min-height: 1em; }
#mask-legend { margin: 3px 0 8px; color: #65578b; font-size: .8rem; }
#mask-legend i { display: inline-block; width: .9em; height: .55em; margin-right: 5px; border-radius: 2px; background: #7954b6; }
#mobile-history { display: none; }
.match-in-focus { outline: 2px solid #7954b6; outline-offset: 3px; border-radius: 3px; }
[data-tutorial-focus] { box-shadow: 0 0 0 2px #a88bde; }
#title[data-tutorial-focus] { width: fit-content; padding: 0 6px; border-radius: 4px; }
article .tutorial { margin-top: 12px; }
.result {
  background: #f0e9fb;
  border: 1px solid #d5c8ec;
  border-top: 5px solid #7954b6;
  padding: clamp(18px, 4vw, 30px);
}
.result h2 { font-size: clamp(28px, 5vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.result-strip { --revealed: 0%; max-width: 380px; height: 12px; margin: 15px 0; border-radius: 2px;
  background: linear-gradient(to right,#a37ce8 var(--revealed),#362056 var(--revealed));
  mask-image: repeating-linear-gradient(to right,#000 0 calc(10% - 4px),transparent calc(10% - 4px) 10%); }
#result-streak { margin-top: 14px; }
@media (max-width: 720px) {
  .intro { margin: 12px 0 10px; }
  .intro h1 { margin: 5px 0 4px; font-size: clamp(31px, 8vw, 43px); }
  .intro > p { font-size: 16px; }
  .grid > article { padding: 13px 15px; }
  article .row { padding-bottom: 7px; min-height: 36px; }
  article .row small, .grid > aside .panel { display: none; }
  #mobile-history { display: inline-block; padding: 6px 8px; min-height: 36px; color: #4d397b; text-decoration: underline; }
  .composer { position: sticky; top: 0; z-index: 2; margin-inline: -15px; padding: 3px 15px; box-shadow: 0 4px 5px -5px #4d397b66; }
  article .composer h2 { margin: 5px 0 8px; max-height: 2.8em; overflow-y: auto; }
  .composer .inputrow { gap: 5px; margin: 5px 0 0; }
  .composer .inputrow button { padding: 0 9px; }
  .composer .inputrow input { padding: 10px; }
  #guess-instructions { display: none; }
  .grid > aside { margin-bottom: 14px; }
  .result { scroll-margin-top: 18px; }
}
.stats-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.stats-metrics > div { display: flex; flex-direction: column-reverse; gap: 4px; background: #f0e9fb; padding: 8px; border-radius: 6px; color: #4d397b; }
.stats-metrics dt { font-size: .75rem; line-height: 1.15; }
.stats-metrics dd { margin: 0; font: 1.8rem Georgia,serif; }
.history-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.history-day, dialog a.history-day { display: flex; justify-content: center; gap: 3px; align-items: center; min-height: 35px; margin: 0; padding: 3px; border-radius: 4px; background: #ece9e2; color: #55524c; font-size: .77rem; text-decoration: none; }
dialog a.history-won { background: #7954b6; color: white; }
dialog a.history-ended { background: #ded4ee; color: #4d397b; }
.history-key { margin: 8px 0 16px; font-size: .82rem; color: #595951; }
.history-key span:not(:first-child) { margin-left: 9px; }
.stats-distribution summary { color: #4d397b; cursor: pointer; }
.stats-account { border-top: 1px solid #d5c8ec; margin-top: 16px; font-size: .9rem; }
#hint span::after { content: ' +5'; font-size: .75rem; font-weight: 500; }
.composer:has(form[hidden]) { position: static; box-shadow: none; }

/* Newspaper front page */
:root {
  --paper: #f7f3e8;
  --ink: #211d19;
  --rule: #a9a092;
  --violet: #583b87;
}
body { background: var(--paper); color: var(--ink); }
.front-page, main, footer { width: min(1200px, calc(100% - 64px)); padding-inline: 0; }
.front-page {
  display: block;
  height: auto;
  padding-top: 15px;
  border-bottom: 0;
}
.masthead {
  display: grid;
  justify-items: center;
  padding: clamp(8px, 2vw, 22px) 0 15px;
  border-top: 1px solid var(--ink);
  border-bottom: 4px double var(--ink);
}
.masthead .brand {
  display: block;
  font: 900 clamp(66px, 10.5vw, 146px)/.86 'Baskerville', 'Times New Roman', serif;
  letter-spacing: -.075em;
  padding-inline-end: .075em;
}
.masthead p {
  margin: 13px 0 0;
  color: #50483f;
  font: italic 1.05rem/1.3 Georgia, serif;
  text-align: center;
}
.section-bar, .utilities, .section-bar nav { display: flex; align-items: center; }
.section-bar {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 18px;
  border-bottom: 1px solid var(--ink);
}
.section-bar nav, .utilities { gap: clamp(8px, 2vw, 24px); }
.section-bar :is(nav a, nav button, #language, #stats, #account-status) {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 2px;
  font-size: .88rem;
  font-weight: 650;
  white-space: nowrap;
}
.section-bar nav .active { color: var(--violet); box-shadow: inset 0 -2px var(--violet); border: 0; }
.utilities :is(#stats, #account-status) { border: 0; border-radius: 0; }
.utilities button[hidden] { display: none; }
.utilities #language { margin-left: 0; }
.utilities #help { width: 30px; height: 30px; }
.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 19px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.intro h1 {
  order: -1;
  margin: 0;
  font: bold clamp(24px, 3.2vw, 38px)/1.1 Georgia, serif;
  letter-spacing: -.035em;
}
#edition { color: #50483f; font: .9rem Georgia, serif; letter-spacing: 0; }
.intro .tutorial-invite {
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
#skip-practice { margin: 0 0 0 auto; }
.grid { gap: clamp(22px, 4vw, 48px); grid-template-columns: minmax(0, 1fr) minmax(175px, 21%); }
.grid > article { padding: 0; margin: 0; }
.grid > aside { margin-top: 18px; border-left: 1px solid var(--rule); padding-left: 18px; }
.grid > aside .panel { padding: 0; }
article, .panel, .composer, .composer form { background: var(--paper); border: 0; border-radius: 0; }
article .composer h2 { margin: 14px 0 6px; font-size: clamp(28px, 4vw, 46px); }
#guess-instructions { font-size: .88rem; margin: 0 0 7px; }
.composer .inputrow { max-width: 620px; }
.inputrow :is(input, button), .result, aside button, dialog { border-radius: 2px; }
#word { background: #fffcf5; }
#submit-guess { background: var(--violet); }
.reading-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--rule);
  margin-top: 6px;
}
.reading-key:not(:has(> :not([hidden]))) { display: none; }
#mask-legend { margin: 8px 0; }
#passage p {
  font: 1.17rem/1.72 Georgia, serif;
  margin: 0 0 .85em;
}
.mask { border-radius: 1px; background: var(--ink); }
.title-mask { background: #7954b6; }
.numbers { gap: 20px; margin: 1px 0 13px; }
.numbers strong { font-variant-numeric: lining-nums tabular-nums; }
.panel h3 { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 10px; }
#share { border-color: var(--rule); }
#credit { margin: 16px 0; }
.result { margin-top: 15px; }
footer { border-top: 4px double var(--ink); margin-top: 20px; }
@media (min-width: 1000px) {
  #passage { column-count: 2; column-gap: 31px; column-rule: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .front-page, main, footer { width: calc(100% - 32px); }
  .front-page { padding-top: 8px; padding-bottom: 0; }
  .masthead { padding-block: 10px; }
  .masthead p { margin-top: 8px; font-size: .94rem; }
  .section-bar { gap: 0; }
  .section-bar nav { order: 0; width: auto; }
  .section-bar :is(nav a, nav button, #language, #stats, #account-status) { min-height: 38px; font-size: .8rem; }
  .utilities { margin-left: auto; }
  .intro { margin-top: 10px; padding-bottom: 7px; }
  .intro h1 { margin: 0; }
  .intro .tutorial-invite { margin-left: 0; }
  .grid { gap: 0; }
  .grid > aside { border: 0; padding: 0; margin-top: 0; margin-bottom: 0; }
  .composer { margin-inline: -16px; padding-inline: 16px; }
  article .composer h2 { margin-top: 7px; margin-bottom: 5px; }
  #passage p { font-size: 1.08rem; }
  #mobile-history { margin-left: auto; }
  footer { margin-top: 16px; }
}

.profile-heading { display: flex; align-items: center; gap: .75rem; overflow-wrap: anywhere; }
#profile-avatar {
  display: grid; place-items: center; flex: 0 0 48px; height: 48px;
  border: 1px solid var(--rule); border-radius: 50%; color: var(--violet);
  font: bold 1.4rem Georgia, serif;
}
.profile-form { display: grid; gap: .5rem; border: 0; padding: 1rem 0; margin: 0; background: transparent; }
.profile-form label { margin-top: .35rem; }
.profile-form select { min-height: 44px; padding: 8px; border: 1px solid var(--rule); font: inherit; }
.profile-form button { justify-self: start; }
.profile-actions { display: flex; flex-wrap: wrap; gap: .8rem; border-top: 1px solid var(--rule); padding-top: .6rem; }
.profile-actions button { min-height: 42px; padding: 4px 0; text-decoration: underline; }
#profile-delete, #confirm-deletion { color: #96332e; }
#profile-status:empty, #deletion-status:empty { display: none; }
.utilities #account-status { max-width: 10rem; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.utilities #account-status[hidden] { display: none; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #211e1a;
  --ink: #f0e9dd;
  --rule: #81786c;
  --violet: #d3b8fa;
  & :is(dialog, #word, input, select) { background: #302923; color: var(--ink); }
  & :is(#edition, .masthead p, #guess-instructions, #mask-legend, #history, #credit, output, .numbers, footer button, .archive-list span, .history-key) { color: #cbc0b3; }
  & :is(.numbers strong, .panel, .composer form) { color: var(--ink); }
  & .mask { background: #a89d90; }
  & .title-mask, & #mask-legend i { background: #b087e8; }
  & :is(.hit, .starter, .kicker, #practice-link, #skip-practice, #mobile-history, .account-action, .stats-distribution summary, .archive-list a, #email-auth button, #auth-google, #auth-facebook) { color: var(--violet); }
  & :is(.result, .tutorial, .stats-metrics > div, #account-notice, #matches) { background: #362844; color: #f4eaff; }
  & :is(.tutorial strong, .tutorial button, #story, #restart-tutorial, .result-next > :not([hidden])) { color: var(--violet); }
  & #submit-guess { background: #a279d5; color: #18111f; }
  & :is(#profile-delete, #confirm-deletion) { color: #ffa8a0; }
}
@media (prefers-color-scheme: dark) {
:root[data-theme="system"] {
  color-scheme: dark;
  --paper: #211e1a;
  --ink: #f0e9dd;
  --rule: #81786c;
  --violet: #d3b8fa;
  & :is(dialog, #word, input, select) { background: #302923; color: var(--ink); }
  & :is(#edition, .masthead p, #guess-instructions, #mask-legend, #history, #credit, output, .numbers, footer button, .archive-list span, .history-key) { color: #cbc0b3; }
  & :is(.numbers strong, .panel, .composer form) { color: var(--ink); }
  & .mask { background: #a89d90; }
  & .title-mask, & #mask-legend i { background: #b087e8; }
  & :is(.hit, .starter, .kicker, #practice-link, #skip-practice, #mobile-history, .account-action, .stats-distribution summary, .archive-list a, #email-auth button, #auth-google, #auth-facebook) { color: var(--violet); }
  & :is(.result, .tutorial, .stats-metrics > div, #account-notice, #matches) { background: #362844; color: #f4eaff; }
  & :is(.tutorial strong, .tutorial button, #story, #restart-tutorial, .result-next > :not([hidden])) { color: var(--violet); }
  & #submit-guess { background: #a279d5; color: #18111f; }
  & :is(#profile-delete, #confirm-deletion) { color: #ffa8a0; }
}
}
#profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
