@font-face {
  font-family: ElBody;
  src: url(fonts/ElkjopBodytext-Regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: ElBody;
  src: url(fonts/ElkjopBodytext-DemiBold.woff2) format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: ElHead;
  src: url(fonts/ElkjopHeadline-Regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #102243;
  --navy: #041753;
  --blue: #0e2d7b;
  --green: #78bf26;
  --muted: #52637a;
  --bg: #f5f7fa;
  --paper: #fff;
  --panel: #edf2f6;
  --line: #d7e0e6;
  --tint: #eaf1fc;
  --select: #17458b;
  --focus: #2868bb;
  --softgreen: #e9f3df;
  --good: #345b22;
  --softamber: #fbefd9;
  --warn: #764b0e;
  --badbg: #ffebe4;
  --bad: #8c3821;
  --bench: #e6ecef;
  --benchline: #bfcbd340;
  font-family: ElBody, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.48;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  border: 0;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 10px 12px;
}
select {
  min-height: 44px;
}
a {
  color: var(--select);
}
a,
button {
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
button:active,
.btn:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
h1,
h2,
h3,
p,
blockquote,
fieldset {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
}
h1 {
  font-family: ElHead, ElBody, sans-serif;
  font-weight: 400;
}
h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.1rem;
}
p + p {
  margin-top: 0.68rem;
}
h2 + p,
h3 + p {
  margin-top: 10px;
}
.ico {
  vertical-align: middle;
  flex-shrink: 0;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 6px;
  left: 10px;
  z-index: 20;
  background: var(--paper);
  padding: 10px;
}
.wrap,
.top {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
main {
  padding-top: 30px;
  min-height: 65vh;
}
main:focus {
  outline: none;
}
header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top {
  min-height: 76px;
  display: flex;
  gap: 34px;
  align-items: center;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}
.brand picture,
.brand-logo {
  display: block;
}
.brand-logo {
  width: 137px;
  height: auto;
}
.brand small {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 3px;
  line-height: 1.05;
}
.top nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}
.navitem,
.adminlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
}
.navitem.active {
  color: var(--select);
  background: var(--tint);
}
.adminlink {
  border: 1px solid var(--line);
  padding: 0 14px;
}
.top > .brand + .adminlink {
  margin-left: auto;
}
.top nav + .adminlink {
  margin-left: 0;
}
.navitem:hover,
.adminlink:hover,
.angles button:hover,
.text:hover {
  background: var(--panel);
}
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border-radius: 22px;
  background: #0c2a66;
  color: white;
  min-height: 334px;
  padding: 36px clamp(28px, 3.65vw, 53px);
  box-shadow: 0 5px 15px #20345a12;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 76% 55%, #244d79 0%, #12336a 33%, #0d2b64 60%, #0a245a 100%);
}
.hero:after {
  content: '';
  position: absolute;
  inset: 0 0 0 38%;
  z-index: -1;
  background-image:
    linear-gradient(#bdd9ff14 1px, transparent 1px), linear-gradient(90deg, #bdd9ff14 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font:
    600 0.69rem/1.3 ElBody,
    sans-serif;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow.light {
  color: #e1eafa;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  background: #9ed253;
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.94;
  margin: 15px 0 12px;
  letter-spacing: 0;
}
.hero h1 em {
  font-style: normal;
  color: #97d455;
}
.heroCopy p {
  color: #edf3fd;
  font-size: 1rem;
  max-width: 446px;
  line-height: 1.45;
}
.heroArt {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.heroArt img {
  width: min(100%, 426px);
  height: 100%;
  max-height: 320px;
  object-fit: contain;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.heroActions {
  margin-top: 20px;
}
.btn,
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.22;
  max-width: 100%;
  text-align: center;
}
.btn.primary {
  background: var(--green);
  color: #041753;
}
.btn.primary:hover {
  background: #8cd03f;
}
.btn.secondary,
.iconbtn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn.secondary:hover,
.iconbtn:hover {
  background: var(--panel);
  border-color: var(--muted);
}
.btn.onblue {
  color: white;
  background: #ffffff0c;
  border-color: #ffffff75;
}
.btn.text {
  border: 0;
  padding: 8px 10px;
  color: var(--select);
  background: transparent;
}
.btn.danger {
  color: var(--bad);
  background: var(--badbg);
}
.iconbtn {
  padding: 8px;
  min-width: 44px;
}
.hero .primary {
  padding: 12px 21px;
  min-height: 47px;
}
.hero .primary .ico {
  order: 2;
}
.sectionhead,
.gamebar,
.sheethead {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.sectionhead .eyebrow + h2,
.gamebar .eyebrow + h1,
.pagehead .eyebrow + h1 {
  margin-top: 6px;
}
.modeSection,
.shelf {
  margin-top: 30px;
}
.sectionhead {
  margin-bottom: 15px;
}
.modegrid,
.shelfgrid,
.cataloggrid,
.rewardgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mode {
  position: relative;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 19px 20px 18px;
  border-radius: 15px;
  box-shadow: 0 1px 2px #10284c05;
}
.mode.selected {
  border: 1.5px solid var(--select);
  box-shadow: inset 0 0 0 1px var(--select);
  background: linear-gradient(112deg, var(--tint), var(--paper));
}
.mode:hover,
.casecard:hover,
.question:hover {
  border-color: var(--select);
}
.modeIcon,
.medal {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  color: var(--select);
  background: var(--tint);
}
.mode.selected .modeIcon {
  background: var(--blue);
  color: white;
}
.modeTick {
  position: absolute;
  right: 17px;
  top: 18px;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.selected .modeTick {
  background: var(--select);
  color: var(--paper);
  border-color: var(--select);
}
.mode > strong,
.mode > span:last-child {
  display: block;
}
.mode > strong {
  font-size: 1.16rem;
  margin: 10px 0 3px;
}
.mode > span:last-child {
  font-size: 0.925rem;
  color: var(--muted);
  max-width: 31ch;
}
.small,
small {
  font-size: 0.85rem;
}
.subdued,
.small.subdued {
  color: var(--muted);
}
.small .ico {
  margin-right: 3px;
}
.modeSection > .small {
  margin-top: 10px;
}
.level,
.filters label,
.categorypick {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
}
.level label {
  color: var(--muted);
}
.shelf {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.shelf h2 {
  font-size: 1.42rem;
}
.casecard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 80px;
  padding: 8px 12px 8px 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.thumb {
  width: 70px;
  height: 62px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
  background: var(--bench);
  border-radius: 9px;
}
.thumb img {
  width: 95%;
  height: 58px;
}
.caseinfo {
  flex: 1;
  min-width: 0;
}
.caseinfo strong,
.caseinfo small {
  display: block;
}
.caseinfo small,
.techhead small,
.panel > p {
  color: var(--muted);
}
.caseinfo strong {
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 3px;
}
.casecard > .ico {
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 34px !important;
  padding-block: 16px 24px;
}
footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pagehead {
  margin: 12px 0 24px;
}
.pagehead h1,
.gamebar h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  overflow-wrap: anywhere;
}
.pagehead p {
  color: var(--muted);
  margin-top: 7px;
}
.categorypick {
  margin-top: 15px;
}
.filters {
  flex-wrap: wrap;
}
.panel,
.countercard,
.reference,
.customerCard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  min-width: 0;
}
.gamebar {
  margin: 4px 0 15px;
}
.gamebar h1 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}
.gameNav {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 20px;
}
.gameNav button,
.subnav button,
.angles button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
  font-size: 0.92rem;
}
.gameNav .chosen {
  background: var(--blue);
  color: #fff;
}
.workgrid,
.techlayout {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr);
  gap: 19px;
  align-items: start;
}
.workgrid.writing {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.customerCard {
  padding: 0;
  overflow: hidden;
}
.customerScene {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--panel);
}
.customerScene strong {
  font-size: 1.18rem;
}
.customerScene > .ico {
  margin-left: auto;
  color: var(--select);
}
.face {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #eaf0ec;
  flex-shrink: 0;
}
.customerCard blockquote {
  font-size: clamp(1.22rem, 2.1vw, 1.65rem);
  line-height: 1.35;
  padding: 21px;
  font-weight: 600;
  animation: enter 0.22s ease-out;
}
.questionbox {
  margin-top: 20px;
}
.questionbox h3 {
  margin-bottom: 10px;
}
.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  margin: 7px 0;
  min-height: 46px;
}
.question > .ico {
  color: var(--select);
}
.bench {
  width: 100%;
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--bench);
  background-image:
    linear-gradient(var(--benchline) 1px, transparent 1px),
    linear-gradient(90deg, var(--benchline) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 220px;
  aspect-ratio: 1.8;
}
.bench .specimen {
  width: 84%;
  height: 83%;
  max-height: 305px;
  object-fit: contain;
  filter: drop-shadow(0 6px 5px #18334415);
  animation: enter 0.22s ease-out;
}
.bench.mini {
  margin-block: 12px;
}
.countercard > strong {
  font-size: 1.2rem;
  display: block;
}
.countercard > .btn {
  padding-left: 0;
}
.benchlabel,
.zoombtn {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1;
}
.benchlabel {
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-size: 0.76rem;
  color: var(--muted);
}
.zoombtn {
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 44px;
}
.angles,
.subnav,
.mobileRefs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}
.angles button,
.subnav button {
  border: 1px solid var(--line);
  min-height: 44px;
  padding: 7px 11px;
}
.angles [aria-pressed='true'],
.subnav [aria-pressed='true'] {
  color: var(--select);
  border-color: var(--select);
  background: var(--tint);
}
.inspectbody {
  margin-top: 12px;
}
.enlarged {
  min-height: 280px;
  aspect-ratio: 1.3;
}
.enlarged .specimen {
  height: 90%;
  width: 94%;
  max-height: 65vh;
}
.history {
  border-top: 1px solid var(--line);
  margin-top: 13px;
}
.history summary {
  cursor: pointer;
  color: var(--select);
  font-weight: 600;
  min-height: 44px;
  padding: 10px 0;
}
.history p {
  padding-bottom: 8px;
}
.hint p,
.testbox p,
.notice {
  background: var(--tint);
  padding: 12px 14px;
  border-radius: 10px;
}
.hint {
  margin-top: 7px;
}
.testbox {
  margin-top: 10px;
}
.testbox b {
  margin-left: 3px;
}
.field {
  margin: 18px 0;
  display: grid;
  gap: 6px;
}
.field label,
.fieldlabel {
  font-weight: 600;
}
.field .status {
  justify-self: start;
}
.field textarea,
textarea {
  width: 100%;
  line-height: 1.45;
  resize: vertical;
  min-height: 66px;
}
.writepanel h2 {
  margin-top: 9px;
}
.writepanel .primary {
  width: 100%;
  border-radius: 12px;
}
.mobileRefs {
  display: none;
}
.reference {
  padding: 16px;
}
.reference .subnav {
  margin: 0 0 13px;
}
.reference .customerScene {
  padding: 10px 14px;
}
.reference blockquote {
  font-size: 1.2rem;
  padding: 14px;
}
.reference .questionbox {
  margin-top: 13px;
}
.techhead {
  display: flex;
  gap: 12px;
  align-items: center;
}
.tech {
  animation: enter 0.23s ease-out;
}
.fieldresult,
.advice {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.fieldresult .status {
  margin-top: 8px;
}
.fieldresult p {
  margin: 10px 0;
}
.status,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 20px;
  width: fit-content;
  font-size: 0.79rem;
  font-weight: 600;
}
.status.ready,
.medal {
  background: var(--softgreen);
  color: var(--good);
}
.status.clarify {
  background: var(--softamber);
  color: var(--warn);
}
.status.fix {
  background: var(--badbg);
  color: var(--bad);
}
.tag {
  background: var(--tint);
  color: var(--select);
}
.badgeitem {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 17px 0;
}
.badgeitem .medal {
  min-width: 38px;
  min-height: 38px;
  width: 38px;
  height: 38px;
}
.badgeitem p,
.advice p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 3px 0;
}
.rewardbox > p {
  margin-top: 15px;
}
.resultactions,
.roundlist {
  margin: 20px 0;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 16px;
}
.highlight .eyebrow {
  margin-bottom: 6px;
}
.highlight .medal {
  min-width: 52px;
  height: 52px;
}
.roundlist > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
}
.rewardgrid .panel h2 {
  margin-top: 15px;
  font-size: 1.4rem;
}
.unearned {
  background: var(--panel);
  color: var(--muted);
}
.rewardgrid .panel > strong {
  display: block;
  margin-top: 15px;
}
.sheet {
  width: min(580px, calc(100% - 28px));
  max-height: 88dvh;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 22px;
  box-shadow: 0 25px 100px #03163240;
  overscroll-behavior: contain;
}
.sheet::backdrop {
  background: #0b1d38a6;
  backdrop-filter: blur(3px);
}
.sheethead {
  margin-bottom: 12px;
}
.sheethead h2 {
  font-size: 1.45rem;
}
.sheet .actions {
  margin-top: 20px;
}
.sheet .iconbtn {
  margin-left: auto;
}
.sheet .refcontent {
  min-width: 0;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.hero :focus-visible {
  outline-color: white;
}
.sheet[open] {
  animation: enter 0.18s ease-out;
}
@keyframes enter {
  from {
    opacity: 0.65;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1450px) {
  .hero {
    min-height: 364px;
  }
}
@media (max-width: 1000px) {
  .wrap,
  .top {
    width: calc(100% - 42px);
  }
  .top {
    gap: 14px;
  }
  .navitem {
    padding-inline: 9px;
  }
  .hero {
    min-height: 300px;
  }
  .hero h1 {
    font-size: 3.65rem;
  }
  .level label {
    display: none;
  }
  .casecard {
    gap: 6px;
  }
  .thumb {
    width: 58px;
    flex-basis: 58px;
  }
  .panel,
  .countercard {
    padding: 18px;
  }
  .workgrid {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .wrap,
  .top {
    width: calc(100% - 32px);
  }
  .top {
    flex-wrap: wrap;
    min-height: 64px;
    gap: 4px 10px;
    padding-top: 10px;
  }
  .top .brand {
    margin-right: auto;
  }
  .brand-logo {
    width: 116px;
  }
  .brand small {
    font-size: 0.7rem;
  }
  .top nav {
    order: 3;
    width: 100%;
    margin: 4px 0 0;
    border-top: 1px solid var(--line);
    padding: 3px 0;
    justify-content: space-around;
  }
  .navitem {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 0.84rem;
  }
  .top > .adminlink {
    min-height: 39px;
    padding: 5px 9px;
  }
  .top:has(.tag) {
    padding-bottom: 10px;
  }
  .hero {
    min-height: 266px;
    padding: 23px;
    gap: 0;
    grid-template-columns: 1.15fr 0.85fr;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 8vw, 3.55rem);
  }
  .heroCopy p {
    font-size: 0.91rem;
  }
  .hero .eyebrow {
    font-size: 0.59rem;
  }
  .hero .primary {
    padding: 10px 14px;
  }
  .modegrid,
  .cataloggrid,
  .shelfgrid {
    gap: 9px;
  }
  .mode {
    padding: 14px;
  }
  .mode > strong {
    font-size: 1.08rem;
  }
  .mode > span:last-child {
    font-size: 0.85rem;
  }
  .modeTick {
    right: 10px;
    top: 12px;
  }
  .modeSection,
  .shelf {
    margin-top: 23px;
  }
  .shelfgrid,
  .cataloggrid {
    grid-template-columns: 1fr 1fr;
  }
  .workgrid,
  .workgrid.writing,
  .techlayout {
    grid-template-columns: 1fr;
  }
  .refaside {
    display: none;
  }
  .mobileRefs {
    display: flex;
  }
  .mobileRefs .btn {
    font-size: 0.86rem;
  }
  .gameNav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
  }
  .gameNav button {
    font-size: 0.87rem;
    padding: 6px 5px;
  }
  .bench {
    min-height: 195px;
  }
  .rewardgrid {
    grid-template-columns: 1fr;
  }
  .countercard {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 10px;
  }
  .countercard .mini {
    grid-column: 1;
    width: 100%;
    min-height: 120px;
    aspect-ratio: 1.9;
    grid-row: 2/4;
  }
  .countercard > strong,
  .countercard > .btn {
    grid-column: 2;
    max-width: 160px;
  }
  .countercard > .btn {
    justify-self: start;
  }
  .countercard > .eyebrow {
    grid-column: 1/-1;
  }
  .pagehead h1 {
    font-size: 2.25rem;
  }
  main {
    padding-top: 18px;
  }
}
@media (max-width: 540px) {
  .hero {
    display: block;
    overflow: hidden;
    padding: 23px 20px 21px;
  }
  .heroCopy {
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: 3.4rem;
    max-width: 60%;
  }
  .heroCopy p {
    max-width: 100%;
    margin-top: 10px;
  }
  .heroArt {
    position: absolute;
    right: 0;
    top: 15px;
    width: 41%;
    height: 130px;
    pointer-events: none;
  }
  .heroArt img {
    height: 100%;
    width: 100%;
  }
  .heroActions {
    margin-top: 13px;
  }
  .hero:after {
    inset: 0 0 0 35%;
  }
  .hero h1 {
    margin-top: 14px;
    margin-bottom: 16px;
  }
  .hero .onblue,
  .hero .primary {
    font-size: 0.9rem;
  }
  .modegrid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mode {
    display: grid;
    grid-template-columns: 44px 1fr 18px;
    column-gap: 11px;
    align-items: center;
    padding: 11px 13px;
  }
  .mode > .modeIcon {
    grid-column: 1;
    grid-row: 1/3;
    width: 40px;
    height: 40px;
  }
  .mode > strong {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .mode > span:last-child {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
  }
  .modeTick {
    position: static;
    grid-column: 3;
    grid-row: 1/3;
  }
  .sectionhead {
    gap: 8px;
    align-items: center;
  }
  .sectionhead h2 {
    font-size: 1.43rem;
  }
  .level select {
    font-size: 0.85rem;
    max-width: 124px;
    padding: 6px;
  }
  .sectionhead .eyebrow {
    font-size: 0.62rem;
  }
  .shelfgrid,
  .cataloggrid {
    grid-template-columns: 1fr;
  }
  .shelf h2 {
    font-size: 1.25rem;
  }
  .sectionhead .btn {
    font-size: 0.83rem;
  }
  .gamebar {
    align-items: center;
  }
  .gamebar h1 {
    font-size: 1.85rem;
  }
  .gamebar .btn {
    font-size: 0.85rem;
    min-height: 42px;
    padding: 7px 10px;
  }
  .gameNav button {
    flex-direction: column;
    gap: 3px;
    font-size: 0.77rem;
    line-height: 1.2;
    min-height: 54px;
  }
  .gameNav {
    margin-bottom: 14px;
  }
  .customerCard blockquote {
    padding: 17px;
  }
  .customerScene {
    padding: 11px 15px;
  }
  .panel,
  .countercard,
  .sheet {
    padding: 15px;
  }
  footer {
    font-size: 0.7rem;
    flex-wrap: wrap;
  }
  .field {
    margin: 14px 0;
  }
  .btn {
    padding: 9px 13px;
  }
  .badgeitem {
    margin: 12px 0;
  }
  .filters {
    align-items: flex-end;
  }
  .filters label {
    flex-wrap: wrap;
  }
  .filters select {
    max-width: 235px;
  }
  .categorypick {
    flex-wrap: wrap;
  }
  .angles {
    gap: 4px;
  }
  .angles button {
    font-size: 0.83rem;
    padding: 7px 9px;
  }
}
@media (max-width: 355px) {
  .wrap,
  .top {
    width: calc(100% - 22px);
  }
  .navitem {
    font-size: 0.78rem;
    padding: 5px;
    gap: 4px;
  }
  .hero h1 {
    font-size: 2.9rem;
  }
  .heroArt {
    width: 38%;
  }
  .level select {
    max-width: 106px;
  }
  .countercard {
    display: block;
  }
  .countercard .mini {
    width: 100%;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #e9f0fa;
    --muted: #b3c1d2;
    --bg: #111925;
    --paper: #192534;
    --panel: #243244;
    --line: #3c4b60;
    --tint: #253953;
    --select: #afccff;
    --focus: #a8cafa;
    --softgreen: #263d30;
    --good: #b9e49e;
    --softamber: #493b25;
    --warn: #f4d191;
    --badbg: #4d302c;
    --bad: #ffbca9;
    --bench: #bbc9d0;
    --benchline: #8ea1af55;
  }
  .mode.selected .modeTick {
    color: #102443;
  }
  .hero,
  .gameNav .chosen {
    border: 1px solid #466087;
  }
  .status,
  .tag {
    font-weight: 600;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .sheet::backdrop {
    backdrop-filter: none;
    background: #182438;
  }
}
@media (prefers-contrast: more) {
  :root {
    --line: #6b7a8d;
  }
  .btn,
  .navitem,
  .mode,
  .casecard {
    border-width: 2px;
  }
}
@media (forced-colors: active) {
  .chosen,
  .mode.selected,
  [aria-pressed='true'] {
    outline: 2px solid Highlight;
  }
  .hero .primary {
    border: 2px solid ButtonText;
  }
  .ico {
    forced-color-adjust: auto;
  }
}

.gesture {
  display: block;
  font-size: 0.79rem;
  color: var(--muted);
  margin-top: 2px;
}
.customerScene .face {
  animation: enter 0.22s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .customerScene .face {
    animation: none;
  }
}
