:root {
  --stroke: #0b1220;
  --paper: #dfe5f0;
  --flat: #ffffff;
  --alt: #ffb300;
  --frame: #111111;
  --lift: #d99700;
  --band: #070b16;
  --round: #ffffff;
  --ink: color-mix(in srgb, var(--paper) 6%, var(--stroke));
  --depth: color-mix(in srgb, var(--paper) 3%, var(--stroke));
  --field: color-mix(in srgb, var(--paper) 18%, var(--stroke));
  --thin: color-mix(in srgb, var(--paper) 68%, var(--stroke));
  --edge: 1160px;
  --card: 78ch;
  --tile: 14px;
  --line: 8px;
  --soft: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
  --shell: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --lead: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --cool: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
  --body: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

*, *::after, *::before {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--stroke);
  color: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--shell);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit
}

.pocket {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--band);
  color: var(--round)
}

.deck__icon, .pocket__line, .column__light, .field__link, .teaser__plain {
  width: min(100% - 2rem, var(--edge));
  margin-inline: auto
}

.pocket__line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 60px;
  padding-block: 0.5rem
}

.corner {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0
}

.corner img {
  height: 32px;
  width: auto;
  object-fit: contain
}

.banner {
  display: flex;
  gap: 0.15rem;
  margin-inline-end: auto;
  min-width: 0
}

.banner a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--line);
  text-decoration: none;
  color: inherit;
  opacity: 0.82;
  white-space: nowrap;
  font-size: 0.92rem
}

.banner a:hover {
  background: color-mix(in srgb, var(--round) 14%, transparent);
  opacity: 1
}

.banner:empty {
  display: none
}

.banner:empty + .pocket__first {
  margin-inline-start: auto
}

.pocket__first {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0
}

.block {
  display: none;
  position: relative;
  flex-shrink: 0
}

.block__icon {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--round) 40%, transparent);
  border-radius: var(--line)
}

.block__icon::-webkit-details-marker {
  display: none
}

.block__icon span, .block__icon span::after, .block__icon span::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px
}

.block__icon span {
  position: relative
}

.block__icon span::before {
  position: absolute;
  top: -6px
}

.block__icon span::after {
  position: absolute;
  top: 6px
}

.block__plain {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  z-index: 25;
  min-width: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem;
  background: var(--band);
  border: 1px solid color-mix(in srgb, var(--round) 20%, transparent);
  border-radius: var(--tile);
  box-shadow: var(--soft)
}

.block__plain a {
  padding: 0.6rem 0.7rem;
  border-radius: var(--line);
  text-decoration: none;
  color: var(--round)
}

.block__plain a:hover {
  background: color-mix(in srgb, var(--round) 12%, transparent)
}

.block__plain .header2 {
  margin-top: 0.4rem;
  color: var(--round);
  border-color: color-mix(in srgb, var(--round) 40%, transparent)
}

.pocket .header2_wide {
  color: inherit;
  border-color: color-mix(in srgb, var(--round) 45%, transparent)
}

.pocket .header2_wide:hover {
  background: color-mix(in srgb, var(--round) 14%, transparent)
}

.field {
  background: color-mix(in srgb, var(--round) 8%, var(--band));
  border-top: 1px solid color-mix(in srgb, var(--round) 12%, transparent);
  font-size: 0.9rem
}

.field__link {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none
}

.field__link::-webkit-scrollbar {
  display: none
}

.field a {
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: var(--round);
  opacity: 0.8;
  white-space: nowrap;
  border-bottom: 2px solid transparent
}

.field a:hover {
  opacity: 1;
  border-bottom-color: var(--alt)
}

.header2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--main, transparent);
  border-radius: var(--line);
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  background: var(--alt);
  color: var(--frame);
  transition: background-color 0.15s ease, transform 0.05s ease
}

.header2:hover {
  background: var(--lift)
}

.header2:active {
  transform: translateY(1px)
}

.header2_wide {
  background: transparent;
  color: var(--flat);
  border-color: var(--field)
}

.header2_wide:hover {
  background: var(--ink)
}

.header2_small {
  padding: 0.9rem 1.8rem;
  font-size: var(--lead)
}

:focus-visible {
  outline: 2px solid var(--alt);
  outline-offset: 2px
}

.deck__info, .widget h3, .widget h2, .basket, .element h3, .element h2 {
  color: var(--flat);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance
}

.basket {
  font-size: var(--body);
  margin: 0 0 1rem
}

.deck__info {
  font-size: var(--cool);
  margin: 0 0 1.25rem
}

.widget h3, .element h3 {
  font-size: var(--lead);
  margin: 1.75rem 0 0.5rem
}

.widget p, .element p {
  margin: 0 0 1rem
}

.widget > :last-child, .element > :last-child {
  margin-bottom: 0
}

.widget a, .element a {
  color: color-mix(in srgb, var(--alt) 72%, var(--flat));
  text-underline-offset: 3px
}

.rail {
  display: block
}

.deck {
  padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  scroll-margin-top: 72px
}

.rail > .deck:not(.teaser):nth-of-type(odd) {
  background: var(--ink)
}

.widget {
  max-width: var(--card)
}

.deck_list .widget ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem
}

.deck_list .widget ul > li {
  position: relative;
  padding-inline-start: 1.9rem;
  padding-block: 0.15rem
}

.deck_list .widget ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.75rem;
  height: 0.4rem;
  border-inline-start: 2px solid var(--alt);
  border-bottom: 2px solid var(--alt);
  transform: rotate(-45deg)
}

.deck_list .widget ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem
}

.deck_list .widget ol > li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 2.6rem
}

.deck_list .widget ol > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--alt);
  color: var(--frame);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center
}

.note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--field);
  border-inline-start: 3px solid var(--thin);
  border-radius: 0 var(--line) var(--line) 0;
  background: var(--ink);
  font-size: 0.95rem
}

.note p {
  margin: 0 0 0.6rem
}

.note > :last-child {
  margin-bottom: 0
}

.note strong {
  color: var(--flat)
}

.note--disclosure {
  color: var(--thin);
  font-size: 0.88rem;
  background: transparent;
  border-inline-start-color: var(--field)
}

.note--warning {
  border-inline-start-color: var(--alt);
  background: color-mix(in srgb, var(--alt) 10%, var(--stroke))
}

.note--takeaway {
  font-variant-numeric: tabular-nums;
  border-inline-start-color: var(--flat)
}

.note--rg {
  border: 1px solid color-mix(in srgb, var(--flat) 30%, var(--field));
  border-radius: var(--tile);
  background: var(--depth)
}

.note--rg a {
  font-weight: 600
}

.note--independent {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--thin);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--field);
  border-radius: 0;
  padding: 1rem 0 0
}

.widget blockquote, .element blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid var(--alt);
  border-radius: 0 var(--line) var(--line) 0;
  background: var(--ink);
  color: var(--thin);
  font-size: 0.95rem
}

.widget blockquote p, .element blockquote p {
  margin: 0 0 0.6rem
}

.element blockquote > :last-child, .widget blockquote > :last-child {
  margin-bottom: 0
}

.element blockquote strong, .widget blockquote strong {
  color: var(--flat)
}

.widget hr {
  border: 0;
  border-top: 1px solid var(--field);
  margin: 2rem 0
}

.widget table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  background: var(--depth);
  border: 1px solid var(--field);
  border-radius: var(--tile);
  overflow: hidden
}

.deck_table .widget {
  max-width: none;
  overflow-x: auto
}

.widget td, .widget th {
  border-bottom: 1px solid var(--field);
  padding: 0.7rem 0.9rem;
  text-align: start;
  vertical-align: top
}

.widget caption {
  caption-side: top;
  text-align: start;
  padding: 0 0 0.6rem;
  font-weight: 700;
  color: var(--flat)
}

.widget thead th {
  background: color-mix(in srgb, var(--alt) 16%, var(--ink));
  color: var(--flat);
  font-weight: 700;
  white-space: nowrap
}

.widget tbody tr:last-child td {
  border-bottom: 0
}

.widget tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--paper) 3%, transparent)
}

.crate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 2rem;
  align-items: start
}

.crate__stub {
  border: 1px solid var(--field);
  border-radius: var(--tile);
  box-shadow: var(--soft);
  width: 100%
}

.teaser {
  position: relative;
  padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
  background: var(--band);
  isolation: isolate
}

.teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--tone, none);
  background-size: cover;
  background-position: center
}

.bundle__top {
  margin-top: 1.25rem;
  text-align: center
}

.bundle__top a {
  color: var(--alt);
  font-weight: 600
}

.group {
  text-align: center
}

.group__plain {
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  font-weight: 800;
  color: var(--alt);
  margin-bottom: 0.5rem
}

.group__soft {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--thin)
}

.group__small {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem
}

@media (max-width: 700px) {
  .teaser::before {
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--head, var(--tone, none))
  }

}
.teaser__plain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 22rem);
  grid-template-areas: "title offer" "text offer";
  align-content: start;
  gap: 0 2rem
}

.teaser .basket {
  grid-area: title;
  color: #ffffff
}

.teaser__off {
  grid-area: text;
  color: #f2f4f8;
  max-width: 62ch
}

.teaser .element {
  margin-bottom: 1.5rem
}

.teaser__on {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75
}

.board {
  grid-area: offer;
  background: var(--stroke);
  border: 1px solid color-mix(in srgb, var(--alt) 40%, var(--field));
  border-radius: var(--tile);
  box-shadow: var(--soft);
  overflow: hidden;
  align-self: start
}

.board .header2 {
  width: 100%
}

.board__bold {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--alt) 22%, var(--stroke));
  color: var(--flat);
  border-bottom: 3px solid var(--alt)
}

.board__bold img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain
}

.board__thumb {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  text-align: center
}

.board__bottom {
  font-weight: 800;
  font-size: var(--lead);
  color: inherit;
  text-align: center
}

.board__sub {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--thin);
  margin: 0
}

.board__figure {
  font-size: var(--cool);
  font-weight: 800;
  line-height: 1.15;
  color: var(--flat);
  margin: 0;
  text-wrap: balance
}

.board__open {
  font-size: 0.8rem;
  color: var(--thin);
  margin: 0
}

.piece {
  padding-block: 1.5rem
}

.block2 {
  border: 1px solid var(--field);
  border-radius: var(--tile);
  background: var(--depth);
  padding: 0.5rem 1.1rem
}

.block2__copy {
  cursor: pointer;
  font-weight: 700;
  color: var(--flat);
  padding-block: 0.6rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem
}

.block2__copy::-webkit-details-marker {
  display: none
}

.block2__copy::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-inline-end: 2px solid var(--alt);
  border-bottom: 2px solid var(--alt);
  transform: rotate(45deg);
  transition: transform 0.15s ease
}

.block2[open] .block2__copy::before {
  transform: rotate(-135deg)
}

.block2__last {
  columns: 2;
  gap: 2rem;
  margin: 0 0 0.75rem;
  padding-inline-start: 1.2rem;
  font-size: 0.95rem
}

.block2__last li {
  break-inside: avoid;
  margin-bottom: 0.3rem
}

.block2__last a {
  color: var(--thin);
  text-underline-offset: 3px
}

.block2__last a:hover {
  color: var(--flat)
}

.box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.layer {
  display: flex;
  flex-direction: column;
  background: var(--depth);
  border: 1px solid var(--field);
  border-radius: var(--tile);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease
}

.layer:hover {
  border-color: var(--alt);
  transform: translateY(-2px)
}

.layer__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink)
}

.layer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.layer__outer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.85rem;
  margin-top: auto
}

.layer__less {
  font-weight: 600;
  color: var(--flat);
  line-height: 1.3;
  margin: 0
}

.layer .header2 {
  width: 100%;
  padding-block: 0.5rem;
  font-size: 0.95rem
}

.peak__alt {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.marker {
  background: var(--stroke);
  border: 1px solid var(--field);
  border-radius: var(--tile);
  padding: 1.1rem 1.2rem
}

.marker__on {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem
}

.marker__icon {
  font-weight: 700;
  color: var(--flat)
}

.marker__top {
  color: var(--alt);
  font-weight: 700;
  white-space: nowrap
}

.marker__narrow {
  margin: 0;
  color: var(--thin)
}

.holder__bottom {
  display: grid;
  gap: 0.5rem;
  max-width: var(--card)
}

.holder__stub {
  border: 1px solid var(--field);
  border-radius: var(--line);
  background: var(--depth);
  padding: 0 1.1rem
}

.holder__small {
  cursor: pointer;
  font-weight: 600;
  color: var(--flat);
  padding-block: 0.9rem;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem
}

.holder__small::-webkit-details-marker {
  display: none
}

.holder__small::before {
  content: "+";
  color: var(--alt);
  font-weight: 700;
  line-height: 1.4;
  flex-shrink: 0
}

.holder__stub[open] .holder__small::before {
  content: "−"
}

.holder__first {
  color: var(--thin);
  padding-bottom: 1rem
}

.holder__first > :first-child {
  margin-top: 0
}

.holder__first > :last-child {
  margin-bottom: 0
}

.room {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem;
  border-radius: var(--tile);
  background: color-mix(in srgb, var(--alt) 12%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--alt) 35%, var(--field))
}

.room__shut {
  margin: 0;
  font-size: var(--lead);
  font-weight: 800;
  color: var(--flat);
  text-wrap: balance
}

.room__side {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--thin)
}

.column {
  border-top: 1px solid var(--field);
  background: var(--ink);
  color: var(--thin);
  padding-block: 2rem 6rem
}

.column__light {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--field)
}

.column__wide {
  margin-inline-end: auto;
  font-weight: 700;
  color: var(--flat)
}

.column__wide img {
  height: 32px;
  width: auto;
  object-fit: contain
}

.column__cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem
}

.column__cell:empty {
  display: none
}

.column__cell a {
  text-decoration: none
}

.column__cell a:hover {
  text-decoration: underline
}

.column__less {
  width: min(100% - 2rem, var(--edge));
  margin-inline: auto;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: grid;
  gap: 0.5rem
}

.column__less p {
  margin: 0
}

.column__line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap
}

.stem {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.78rem
}

.vein {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--alt) 14%, var(--band));
  color: var(--round);
  border-top: 1px solid color-mix(in srgb, var(--alt) 45%, transparent)
}

.vein__bold {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25
}

.vein__soft {
  font-weight: 800;
  color: var(--round);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.vein__sub {
  font-size: 0.75rem;
  opacity: 0.7
}

.vein .header2 {
  margin-inline-start: auto;
  flex-shrink: 0
}

@media (max-width: 960px) {
  .teaser__plain {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "offer" "text";
    gap: 1.25rem
  }

  .crate {
    grid-template-columns: 1fr
  }

  .crate__stub {
    max-width: 260px;
    margin-inline: auto
  }

}
@media (max-width: 700px) {
  .block2__last {
    columns: 1
  }

  .box {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 0.75rem
  }

}
@media (max-width: 640px) {
  .pocket {
    position: static
  }

  .pocket__line {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-block: 0.6rem
  }

  .pocket__line {
    flex-wrap: nowrap
  }

  .pocket__first .header2_wide, .field, .banner {
    display: none
  }

  .banner + .pocket__first {
    margin-inline-start: auto
  }

  .block {
    display: block;
    order: 3
  }

  .pocket__first {
    margin-inline-start: auto
  }

  .pocket__first .header2 {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem
  }

  .deck {
    padding-block: 1.75rem
  }

  .room, .board__thumb {
    padding: 1.15rem
  }

  .teaser__off .header2_small, .room .header2_small {
    width: 100%
  }

  .vein__sub {
    display: none
  }

}
@media (prefers-reduced-motion: reduce) {
  *, *::before {
    transition: none !important
  }

}
