/* Photographic material layer. The puzzle layout and interaction rules live in styles.css. */
:root {
  --canvas-photo: url("./assets/cotton-canvas-v2.webp");
  --green-cloth-photo: url("./assets/green-weave-v2.webp");
  --fabric-shadow: 0 3px 2px #fff8ec55 inset, 0 4px 7px #4f341e80, 0 11px 17px #3a241c38;
}

.app-shell {
  grid-template-rows: clamp(29px, 3.4vw, 48px) auto minmax(0, 1fr) auto clamp(78px, 7vw, 105px);
  background-image: radial-gradient(ellipse at 50% 34%, #eee0c557, transparent 72%), linear-gradient(#d8c19f18, #b99e7a28), url("./assets/linen.webp");
  background-size: auto, auto, 470px auto;
}
.app-shell::before {
  position: relative;
  top: -4px;
  height: calc(100% + 12px);
  background: url("./assets/weaving-top-wide.webp") center bottom / cover no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 4px 4px #27180d78);
}
.app-shell::after {
  position: relative;
  top: -4px;
  height: calc(100% + 4px);
  background: url("./assets/weaving-bottom-wide.webp") center top / cover no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 -3px 3px #27180d75);
}

.app-header {
  display: grid;
  grid-template-columns: clamp(320px, 42vw, 600px) minmax(0, 1fr) auto;
  column-gap: clamp(14px, 2.5vw, 38px);
  align-items: center;
  min-height: 86px;
  padding: 0 clamp(14px, 2vw, 30px) 0 0;
  background: none;
  box-shadow: none;
}
.header-fabric {
  position: absolute;
  z-index: 0;
  inset: -60px 0 -8px;
  pointer-events: none;
  background-image: linear-gradient(#0e2b25b8, #0b2a25a0), var(--green-cloth-photo);
  background-size: auto, 460px auto;
  -webkit-mask-image: url("./assets/green-header-frayed-mask.webp");
  mask-image: url("./assets/green-header-frayed-mask.webp");
  -webkit-mask-size: 100% 200%;
  mask-size: 100% 200%;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 7px 5px #24190e8c);
}
.header-intro {
  position: relative;
  z-index: 2;
  grid-column: 2;
  min-width: 0;
  margin: 0;
  padding: 0 12px;
  color: #f3e4c9;
  text-align: center;
  text-shadow: 0 1px 2px #061912, 0 0 8px #f4dcb334;
  font: italic 400 clamp(13px, 1.55vw, 19px)/1.3 Georgia, serif;
  letter-spacing: .025em;
}
.app-header::after {
  display: none;
}
.site-name {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 1;
  isolation: isolate;
  align-self: center;
  justify-self: start;
  min-height: 105px;
  padding: 9px clamp(21px, 2.8vw, 46px) 16px clamp(17px, 2.5vw, 40px);
  background: none;
  box-shadow: none;
  clip-path: none;
}
.site-name::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -16px -23px -14px;
  background: url("./assets/title-cloth-v3.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(3px 6px 3px #0a1712a8);
  pointer-events: none;
}
.site-name img {
  max-height: 80px;
  position: relative;
  filter: drop-shadow(0 1px 0 #fcf2dc7d);
}
.site-nav {
  position: relative;
  z-index: 2;
  grid-column: 3;
  width: 53px;
  height: 53px;
}
.site-nav::before { display: none; }
.help-mark {
  width: 51px;
  height: 51px;
  border: 2px solid #d7bd8d;
  background-image: linear-gradient(#fff8e9ba, #ead6b7a6), var(--canvas-photo);
  background-size: auto, 180px auto;
  box-shadow: inset 0 0 0 2px #fff3db, 0 2px 4px #17180f91;
}

.playfield { background: transparent; }
.loom-rail-image { filter: drop-shadow(0 4px 3px #36200e9c); }
.rail-wrap {
  fill: none;
  stroke: #a17d52;
  stroke-width: 2.6;
  stroke-linecap: round;
  filter: drop-shadow(1px 1px 1px #2915089c);
}
.rail-wrap-shadow { fill: none; stroke: #2613078c; stroke-width: 5; stroke-linecap: round; }
.rail-wrap-fiber { fill: none; stroke: url(#yarn-fiber); stroke-width: 2.4; opacity: .42; mix-blend-mode: multiply; }
.rail-wrap.type-add { stroke: var(--add); }
.rail-wrap.type-remove { stroke: var(--remove); }
.rail-wrap.type-change { stroke: var(--change); }
.rail-wrap.type-rhyme { stroke: var(--rhyme); }
.rail-wrap.type-synonym { stroke: var(--synonym); }
.rail-wrap.type-homophone { stroke: var(--homophone); }
.rail-wrap.type-anagram { stroke: var(--anagram); }
.thread-shadow { stroke: #301b1399; stroke-width: 11; transform: translate(2px, 3px); }
.thread-line { stroke-width: 9; }
.thread-fiber { stroke-width: 8; mix-blend-mode: multiply; opacity: .16; }
.thread-highlight { fill: none; stroke: #fff1cc96; stroke-width: 1.7; stroke-linecap: round; transform: translate(-2px, -1px); }
.thread-groove { fill: none; stroke: #21120846; stroke-width: 1.3; stroke-linecap: round; transform: translate(2px, 0); }
.thread-hit { stroke-width: 30; }
.app-footer {
  background: transparent;
  box-shadow: none;
}

/* Flat cut-linen pieces; the single colored seam remains live CSS. */
.word-card, .history-word {
  background-image: linear-gradient(135deg, #fffaf06b, #e4c9a245), var(--canvas-photo);
  background-size: auto, 290px auto;
  box-shadow: 0 3px 3px #4d2f1b73, 0 8px 11px #38231342;
  text-shadow: 0 1px #fff9ee70;
}
.source-card, .history-word, .answer-tile {
  border: 1.5px solid #ba8b59;
  border-radius: 8px;
  outline: none;
}
.source-card, .history-word { padding-inline: 10px; }
.source-card::after, .history-word::after, .answer-tile::after {
  --stitch-long-radius: 5px;
  --stitch-short-radius: 2px;
  --stitch-pitch: 12px;
  --stitch-track: 4px;
  display: block;
  inset: 4px;
  border: 0;
  background-image:
    radial-gradient(ellipse var(--stitch-long-radius) var(--stitch-short-radius), var(--stitch-color, #ae733e) 0 82%, transparent 98%),
    radial-gradient(ellipse var(--stitch-long-radius) var(--stitch-short-radius), var(--stitch-color, #ae733e) 0 82%, transparent 98%),
    radial-gradient(ellipse var(--stitch-short-radius) var(--stitch-long-radius), var(--stitch-color, #ae733e) 0 82%, transparent 98%),
    radial-gradient(ellipse var(--stitch-short-radius) var(--stitch-long-radius), var(--stitch-color, #ae733e) 0 82%, transparent 98%);
  background-position: left top, left bottom, left top, right top;
  background-size: var(--stitch-pitch) var(--stitch-track), var(--stitch-pitch) var(--stitch-track), var(--stitch-track) var(--stitch-pitch), var(--stitch-track) var(--stitch-pitch);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  filter: drop-shadow(0 1px 0 #68402270);
}
.answer-tile:focus-within { outline: 2px solid #966728; outline-offset: 1px; }
.answer-card.dragging .answer-tile { box-shadow: none; filter: drop-shadow(0 6px 8px #24170f85); }
.answer-input { text-shadow: 0 1px #fff9ee8c; }
.drag-handle {
  background-image: linear-gradient(#fff4dfb8, #d2ad7cad), var(--canvas-photo);
  background-size: auto, 130px auto;
  box-shadow: 0 1px 2px #5b391e77;
}
.type-chip .chip-symbol, .legend-item b, .thread-dialog-symbol {
  box-shadow: inset 0 2px 2px #fff6df3b, inset 0 -3px 5px #180f0b54, 0 3px 5px #422e205c;
}

/* The date has a thick leather rim and a stitched green face. */
.history-date, .current-label {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  border: 0;
  border-radius: 10px;
  padding: 0 38px;
  background: none;
  box-shadow: none;
  text-shadow: 0 2px 2px #071c17;
  font-size: clamp(12px, 1.35vw, 17px);
  line-height: 1.2;
  filter: drop-shadow(0 4px 4px #39200f9c);
}
.history-date::before, .current-label::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7px -4px;
  border: 1px solid transparent;
  border-image: url("./assets/date-plaque-v4.webp") 270 165 fill / 40% 19px / 0 stretch;
  pointer-events: none;
}
.history-date::after, .current-label::after { display: none; }
.current-label { min-height: 58px; padding-inline: 42px; }
.history-lock {
  width: 45px;
  height: 45px;
  padding: 0;
  border: 2px solid #d7bd8d;
  background-image: linear-gradient(#fff8e9ba, #ead6b7a6), var(--canvas-photo);
  background-size: auto, 180px auto;
  box-shadow: inset 0 0 0 2px #fff3db, 0 2px 4px #17180f91;
}
.history-lock img {
  display: block;
  width: 24px;
  height: 24px;
  justify-self: center;
  align-self: center;
  filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(919%) hue-rotate(108deg) brightness(89%) contrast(89%);
}

/* Cloth-covered controls carry an inset stitch line. */
.main-action, .dialog-submit {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #fff2d8;
  box-shadow: none;
  text-shadow: 0 2px 2px #031b15b0;
  line-height: 1.2;
  filter: drop-shadow(0 4px 4px #3822159a);
}
.main-action { min-width: min(270px, 82vw); height: 62px; padding-inline: 28px; }
.main-action span { line-height: 1; }
.footer-actions:has(.vote-action:not([hidden])) .main-action { max-width: 270px; }
.dialog-submit { min-height: 52px; padding-inline: 28px; }
.main-action::before, .dialog-submit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7px -4px;
  border: 1px solid transparent;
  border-image: url("./assets/stitched-button-v4.webp") 270 165 fill / 40% 19px / 0 stretch;
  pointer-events: none;
}
.main-action::after, .dialog-submit::after {
  display: none;
}
.main-action:focus-visible, .dialog-submit:focus-visible { outline: 3px solid #fff3d3; outline-offset: 3px; }
.word-nav button {
  background-image: linear-gradient(#fff9ed91, #e3cba98c), var(--canvas-photo);
  background-size: auto, 190px auto;
  box-shadow: inset 0 1px #fffaf1, 0 2px 4px #563a236b;
}

/* Dialogs share one cloth surface, a narrow bound edge, and simple paper controls. */
.app-dialog {
  --dialog-inset: clamp(24px, 4vw, 36px);
  padding: var(--dialog-inset);
  border: 1px solid #a98b65;
  border-radius: 15px;
  background: #f4e7cf var(--canvas-photo) center / 360px auto;
  box-shadow: 0 2px 0 #d1b28b, 0 18px 55px #071711a6;
  scrollbar-width: thin;
  scrollbar-color: #ad9370 transparent;
  overscroll-behavior: contain;
}
.app-dialog::before { content: none; }
.app-dialog::backdrop { background: #091911bd; backdrop-filter: blur(4px); }
.dialog-close {
  z-index: 3;
  top: 17px;
  right: 17px;
  width: 42px;
  height: 42px;
  border: 1px solid #ad8a5e;
  border-radius: 50%;
  background: #f7ead2;
  color: var(--pine);
  font: 30px/1 Georgia, serif;
  box-shadow: 0 2px 0 #d2b18a, 0 4px 7px #4b321c42;
  cursor: pointer;
}
.dialog-close:hover, .dialog-actions button:hover, .options-tabs button:hover,
.submit-secondary:hover, #refresh-ballot:hover, .ballot-choice:hover {
  box-shadow: 0 4px 8px #4b321c61;
}
.help-dialog[open] { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.help-dialog-head {
  flex: none;
  padding: var(--dialog-inset) calc(var(--dialog-inset) + 39px) 0 var(--dialog-inset);
}
.help-dialog-head h2 {
  margin: 0 0 20px;
  font: 700 clamp(18px, 4.2vw, 22px)/1.25 Georgia, serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.help-dialog-content {
  min-height: 0;
  overflow-y: auto;
  padding: 0 var(--dialog-inset) var(--dialog-inset);
  scrollbar-width: thin;
  scrollbar-color: #ad9370 transparent;
  overscroll-behavior: contain;
}
.help-intro {
  position: relative;
  isolation: isolate;
  margin: 3px 4px 28px !important;
  padding: 18px 21px;
  color: #fff2d8 !important;
  font-size: 15.5px !important;
  font-weight: 700;
  line-height: 1.45 !important;
  text-align: center;
  text-shadow: 0 2px 2px #031b15b0;
  filter: drop-shadow(0 4px 4px #38221580);
}
.help-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5px -4px;
  border: 1px solid transparent;
  border-image: url("./assets/stitched-button-v4.webp") 270 165 fill / 18px 19px / 0 stretch;
  pointer-events: none;
}
.help-intro strong {
  display: block;
  margin-top: 9px;
  color: inherit;
  font-size: 17px;
  line-height: 1.4;
}
.help-inline-symbol {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0 1px;
  vertical-align: -.1em;
  border: 1px solid #aa865b;
  border-radius: 50%;
  background: #f7ead2;
  box-shadow: 0 1px 2px #4b321c42;
}
.help-inline-symbol img {
  display: block;
  width: 12px;
  height: 12px;
  filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(919%) hue-rotate(108deg) brightness(89%) contrast(89%);
}
.dialog-kicker {
  color: #81552f;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .17em;
}
.app-dialog h2 { margin: 10px 0 18px; line-height: 1.14; }
.app-dialog p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.54; }
.help-section { clear: both; margin: 0 0 20px; }
.help-section h3 {
  margin: 0 0 7px;
  color: #805430;
  font: 700 11px/1.3 Georgia, serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.help-section p:last-child { margin-bottom: 0; }
.artwork-credit {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #bda988;
}
.artwork-credit figure {
  margin: 12px 0 16px;
  padding: 5px;
  border: 1px solid #bda988;
  background: #f8efdf;
  box-shadow: 0 3px 8px #55391f38;
}
.artwork-credit img { display: block; width: 100%; height: auto; }
.artwork-credit a { color: var(--pine); text-underline-offset: 3px; }
.dialog-section-title {
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid #bda988;
}
.dialog-actions { gap: 9px; }
.dialog-actions button, .options-tabs button, .submit-secondary, #refresh-ballot {
  border: 1px solid #a98b65;
  border-radius: 8px;
  background: #f7ecd9;
  color: var(--pine);
  box-shadow: 0 2px 3px #55391f42;
  cursor: pointer;
}
.dialog-actions button { padding: 11px 16px; }
.setting-row { border-bottom-color: #bda988; }
.options-tabs button { min-height: 43px; }
.options-tabs button[aria-pressed="true"] {
  border-color: #3d5d47;
  background: #dce8d7;
  color: var(--pine);
  box-shadow: inset 0 0 0 1px #789177;
}
.option-count, .ballot-choice, .credit-field input {
  border: 1px solid #bea98b;
  border-radius: 8px;
  background: #f9efdf;
  box-shadow: 0 2px 3px #55391f30;
}
.option-total, .ballot-choice[aria-pressed="true"] {
  border-color: #64866b;
  background: #e0eadb;
  color: var(--pine);
}
.ballot-choice[aria-pressed="true"] { border-width: 1px; box-shadow: inset 0 0 0 1px #64866b, 0 2px 3px #55391f30; }
.credit-field input:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.vote-controls {
  padding-top: 14px;
  border-top: 1px solid #bda988;
  background: #f4e7cf var(--canvas-photo) center / 360px auto;
}
.submit-entry-words, .submit-result-words { border-color: #bda988; }
#submit-status:empty { display: none; }
.submit-result-mark { border: 0; box-shadow: 0 3px 7px #3b292149; }
.thread-dialog-symbol { margin-top: 24px; }

/* The two icon groups intentionally remain circular; only the legend has text. */
.legend-item { background: none; border: 0; box-shadow: none; }
.type-chip { font-size: 0; }
.options-trigger {
  position: absolute;
  z-index: 2;
  top: -5px;
  right: -6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #ab8258;
  border-radius: 50%;
  background-image: linear-gradient(#fff8e6af, #e1c59da6), var(--canvas-photo);
  background-size: auto, 100px auto;
  box-shadow: 0 2px 3px #4b301a65;
  color: var(--pine);
  text-decoration: none;
}
.type-choice { position: relative; display: inline-flex; width: 42px; height: 42px; flex: none; }
.options-trigger img { display: block; width: 18px; height: 18px; }
.options-trigger:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

/* Pointer feedback deepens the cloth shadow without changing its color or edge. */
.game-page button:hover:not(:disabled) { filter: drop-shadow(0 6px 6px #2c1a0db3); }

@media (min-width: 681px) {
  .source-card { font-size: var(--fit-font-size, clamp(26px, 2.8vw, 40px)); }
  .answer-input { --default-input-size: clamp(26px, 2.8vw, 40px); }
}
@media (min-width: 681px) and (max-height: 950px) {
  .app-shell { grid-template-rows: 38px auto minmax(0, 1fr) auto 90px; }
  .app-header { min-height: 82px; }
  .site-name { min-height: 91px; padding-top: 2px; padding-bottom: 6px; }
  .site-name img { max-height: 83px; }
  .current-label { margin-bottom: 18px; }
  .loom-gap { height: clamp(85px, 11vh, 110px); }
  .app-footer { padding-top: 7px; padding-bottom: 3px; gap: 6px; }
  .footer-caption { margin-bottom: 7px; }
  .legend-item { min-height: 62px; }
}
@media (min-width: 681px) and (max-height: 850px) {
  .playfield-content { padding-top: 14px; }
  .current-label { margin-bottom: 8px; }
  .loom-gap { height: 64px; }
}
@media (min-width: 681px) and (max-width: 900px) and (max-height: 850px) {
  .playfield-content { padding-top: 46px; }
}

body:not(.game-page) {
  background-image: linear-gradient(#d8c09c36, #ae8c6429), url("./assets/linen.webp");
  background-size: auto, 510px auto;
}
.site-header {
  position: relative;
  padding: 28px;
  border: 0;
  background-image: linear-gradient(#103227bb, #102c25c2), var(--green-cloth-photo);
  background-size: auto, 390px auto;
  box-shadow: 0 5px 12px #422b1a72;
}
.brand { color: #f4e2c5; text-shadow: 0 2px #091b14; }
.credits-page {
  padding: 30px 36px 40px;
  border: 4px ridge #b7895d;
  background-image: linear-gradient(#fff8e9b8, #e7d1b2af), var(--canvas-photo);
  background-size: auto, 360px auto;
  box-shadow: var(--fabric-shadow);
}

@media (max-width: 680px) {
  .app-shell::before { top: -4px; height: calc(100% + 18px); background-image: url("./assets/weaving-top-mobile.webp"); }
  .app-shell::after { background-image: url("./assets/weaving-bottom-mobile.webp"); }
  .app-shell { grid-template-rows: 28px auto minmax(0, 1fr) auto 80px; }
  .app-header { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; column-gap: 0; min-height: 68px; padding: 2px 4px 3px 0; }
  .app-header::before { content: ""; position: absolute; z-index: 1; top: -16px; left: -16px; width: calc(100% - 6px); height: 111px; background: url("./assets/title-cloth-v3.webp") center / 100% 100% no-repeat; filter: drop-shadow(3px 5px 3px #071a1699); pointer-events: none; }
  .header-intro { position: relative; top: 10px; z-index: 2; grid-column: 2; grid-row: 1; justify-self: stretch; margin: 0; padding: 0 40px 0 0; color: var(--pine); text-align: center; text-shadow: 0 1px #fffaf1a8; font-size: clamp(13px, 3.85vw, 16px); font-style: normal; font-weight: 500; line-height: 1.16; letter-spacing: 0; }
  .header-intro span { display: block; }
  .site-name { position: relative; top: 10px; left: auto; z-index: 2; grid-column: 1; grid-row: 1; min-height: 61px; padding: 3px 16px 8px 13px; }
  .site-name::before { display: none; }
  .site-name img { width: clamp(135px, 42vw, 210px); max-height: 48px; }
  .site-nav { position: absolute; z-index: 3; top: 11px; right: 4px; width: 37px; height: 37px; }
  .help-mark { width: 35px; height: 35px; font-size: 23px; }
  .source-card, .history-word, .answer-tile { border-radius: 6px; }
  .source-card, .history-word, .answer-tile { padding-inline: 8px; }
  .thread-line { stroke-width: 6; }
  .thread-shadow { stroke-width: 8; }
  .thread-fiber { stroke-width: 6; }
  .thread-highlight { stroke-width: 1.5; }
  .thread-groove { stroke-width: 1; }
  .rail-wrap { stroke-width: 2; }
  .rail-wrap-shadow { stroke-width: 4; }
  .rail-wrap-fiber { stroke-width: 1.8; }
  .source-card::after, .history-word::after, .answer-tile::after {
    --stitch-long-radius: 4px;
    --stitch-short-radius: 1.5px;
    --stitch-pitch: 9px;
    --stitch-track: 3px;
  }
  .current-label { min-height: 43px; padding-inline: 25px; font-size: 10px; }
  .history-lock { width: 35px; height: 35px; }
  .history-lock img { width: 20px; height: 20px; }
  .main-action { height: 52px; }
  .app-footer { padding-bottom: 3px; }
  .app-dialog { --dialog-inset: 23px; width: calc(100vw - 30px); max-height: 85dvh; }
  .vote-dialog { max-height: 90dvh; }
  #vote-picker { max-height: calc(min(90dvh, 700px) - 50px); }
  .credits-page { margin-top: 24px; padding: 20px; }
}
@media (max-width: 360px) {
  .site-name img { width: 125px; }
  .header-intro { font-size: 12px; }
}
@media (max-width: 680px) and (min-height: 701px) and (max-height: 760px) {
  .playfield-content { padding-top: 43px; }
  .current-label { margin-bottom: 10px; }
  .history-lock { margin-bottom: 10px; }
  .loom-gap { height: 88px; }
}
@media (max-width: 680px) and (max-height: 700px) {
  .app-shell { grid-template-rows: 16px auto minmax(0, 1fr) auto 42px; }
  .playfield-content { padding-top: 38px; }
  .current-label { margin-bottom: 5px; }
  .history-lock { margin-bottom: 5px; }
  .loom-gap { height: 33px; }
  .answer-status { min-height: 30px; }
}
@media (max-width: 680px) {
  .typing .app-shell { grid-template-rows: 0 auto minmax(0, 1fr) auto 0; }
  .typing .app-header { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; min-height: 47px; }
  .typing .header-intro { display: none; }
  .typing .app-header::before { display: none; }
  .typing .site-name { top: 0; grid-row: 1; min-height: 39px; padding: 1px 10px 5px 9px; }
  .typing .site-name::before { display: block; inset: -9px -4px -11px -6px; }
  .typing .site-name img { max-height: 36px; }
  .typing .site-nav { grid-column: 2; width: 45px; height: 40px; }
  .typing .help-mark { width: 32px; height: 32px; font-size: 21px; }
  .typing .source-card::after, .typing .answer-tile::after { inset: 4px; }
  .typing .answer-tile:focus-within { outline: none; }
}
