@font-face {
  font-family: Barlow;
  src: url('/fonts/body.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('/fonts/body-semibold.ttf') format('truetype');
  font-weight: 550 900;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/condensed.ttf') format('truetype');
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/display.ttf') format('truetype');
  font-weight: 700 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #111411;
  --surface: #191c19;
  --line: #373b34;
  --text: #f3f3e9;
  --muted: #b1b6ab;
  --lime: #d5f48a;
  --gold: #e7c981;
  --sans: Barlow, Arial, sans-serif;
  --condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --page: 1320px;
  color-scheme: dark;
  accent-color: var(--lime);
  font-family: var(--sans);
  scrollbar-color: #58604e #171b16;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font: 400 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex='0']:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
::selection {
  background: #cce78f;
  color: #10160d;
}
svg.ico {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 20;
  background: var(--lime);
  color: var(--ink);
  padding: 10px;
}
.skip-link:focus {
  top: 6px;
}
[hidden] {
  display: none !important;
}
.mast {
  border-bottom: 1px solid #30342d;
  background: #151814;
}
.mast-inner,
.main-view,
.foot {
  width: min(var(--page), calc(100% - clamp(40px, 8vw, 128px)));
  margin: 0 auto;
}
.mast-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 76px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand span {
  font: 800 28px/0.94 var(--display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand b {
  color: var(--lime);
}
.mast nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: clamp(12px, 1.7vw, 32px);
}
.mast nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #bdc1b6;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.mast nav a.selected,
.mast nav a:hover {
  color: var(--lime);
}
.mast nav a.selected::after {
  content: '';
  height: 3px;
  background: var(--lime);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.mast-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-button {
  border: 1px solid #454b3f;
  background: #23271f;
  padding: 8px 13px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
}
.account-button span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 132px;
}
.account-button:hover {
  border-color: var(--lime);
}
#balance {
  font-weight: 600;
  color: var(--gold);
  gap: 5px;
  display: flex;
  align-items: center;
}
.main-view {
  min-height: 75vh;
  outline: none;
}
.lobby {
  padding-top: 29px;
}
.title-row,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.title-row {
  margin-bottom: 17px;
}
.title-row h1,
.standings-title {
  font: 800 clamp(35px, 3vw, 49px) / 1 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.022em;
}
.sound-area {
  position: relative;
}
.audio-toggle,
.quiet-link,
.all-ranks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.audio-toggle {
  font-size: 14px;
  padding: 6px 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.audio-toggle .ico {
  color: var(--lime);
}
.sound-status {
  color: var(--muted);
  font-size: 12px;
  border-left: 1px solid var(--line);
  padding-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.daily-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 305px;
  border: 1px solid #4a5140;
  border-radius: 10px;
  background: #16251e url('/art/club-table.jpg') center 57% / cover no-repeat;
  display: flex;
  align-items: center;
}
.daily-feature:before {
  position: absolute;
  content: '';
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 17, 12, 0.85) 0%,
    rgba(11, 25, 17, 0.68) 28%,
    transparent 62%
  );
  z-index: -1;
}
.daily-copy {
  position: relative;
  z-index: 2;
  padding: 27px clamp(22px, 3.7vw, 58px);
  max-width: 55%;
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dbedc8;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  background: #203b28;
  border: 1px solid #526f49;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 10px;
}
.daily-copy h2 {
  font: 800 clamp(48px, 4.9vw, 78px) / 0.92 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.daily-copy h2 span {
  display: block;
  color: #e2f1b0;
}
.daily-copy p {
  font-size: 16px;
  line-height: 1.38;
  color: #d1dacb;
  margin: 13px 0 17px;
}
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--lime);
  border: 1px solid var(--lime);
  color: #182014;
  font-weight: 700;
  padding: 10px 17px;
  min-height: 41px;
  border-radius: 5px;
}
.primary-btn:hover {
  background: #e6ffab;
}
.floating-product {
  position: absolute;
  right: 8%;
  top: 0;
  width: 40%;
  height: 100%;
  outline-offset: -4px !important;
  perspective: 950px;
}
.pack-pair {
  display: block;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: packfloat 5.7s ease-in-out infinite;
}
.pack-pair img {
  position: absolute;
  height: 87%;
  width: auto;
  top: 7%;
  object-fit: contain;
  filter: drop-shadow(7px 14px 6px #040900a0);
  transform-origin: 50% 75%;
}
.pack-pair .main-pack {
  left: 34%;
  transform: translateX(-17%) rotate(11deg) rotateY(-9deg);
  z-index: 2;
}
.pack-pair .rear-pack {
  left: 8%;
  height: 79%;
  top: 10%;
  transform: rotate(-13deg) rotateY(-13deg);
  filter: brightness(0.69) drop-shadow(3px 10px 7px #01050199);
}
.pack-shadow {
  width: 58%;
  height: 8%;
  position: absolute;
  right: 13%;
  bottom: 3%;
  background: #030801b3;
  filter: blur(11px);
  border-radius: 50%;
  animation: packshadow 5.7s ease-in-out infinite;
}
.floating-product:hover .pack-pair {
  filter: brightness(1.09);
}
@keyframes packfloat {
  0%,
  100% {
    transform: translateY(2px) rotate(-0.8deg);
  }
  50% {
    transform: translateY(-7px) rotate(0.65deg);
  }
}
@keyframes packshadow {
  50% {
    transform: scale(0.91);
    opacity: 0.7;
  }
}
.section-head {
  margin: 0 0 14px;
}
.section-head h2 {
  font: 700 29px/1.08 var(--condensed);
  letter-spacing: -0.009em;
}
.quiet-link {
  color: #bcc5b5;
  font-size: 14px;
}
.quiet-link:hover,
.all-ranks:hover,
.foot a:hover {
  color: var(--lime);
}
.mode-section {
  margin: 28px 0 30px;
}
.mode-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mode-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid #454035;
  min-height: 135px;
  display: flex;
  align-items: center;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.mode-tile:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--tile) 32%, transparent 85%);
}
.mode-hunt {
  --tile: #2c201b;
  --accent: #f4b18b;
  background: var(--tile);
}
.mode-casual {
  --tile: #1c2920;
  --accent: #bddb96;
  background: var(--tile);
  border-color: #344637;
}
.mode-practice {
  --tile: #1c242b;
  --accent: #adc8e3;
  background: var(--tile);
  border-color: #37424d;
}
.mode-tile img {
  z-index: -2;
  position: absolute;
  right: -1%;
  width: 42%;
  height: 142%;
  top: -2%;
  object-fit: cover;
  object-position: center 28%;
  mix-blend-mode: lighten;
  transition: transform 0.32s ease-out;
}
.mode-tile:hover {
  border-color: var(--accent);
}
.mode-tile:hover img {
  transform: translateY(-3px) scale(1.04);
}
.mode-copy {
  padding: 19px 20px;
}
.mode-copy .ico {
  color: var(--accent);
  margin-bottom: 9px;
}
.mode-copy h3 {
  font: 700 28px/1 var(--condensed);
}
.mode-copy p {
  font-size: 14px;
  color: #c9c9bc;
  margin-top: 5px;
}
.lobby-bottom {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(230px, 1fr);
  gap: clamp(20px, 2.7vw, 45px);
  margin-bottom: 40px;
}
.featured-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.showcase-card {
  display: block;
  min-width: 0;
  transition: transform 0.22s ease-out;
}
.showcase-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
}
.feature-edition {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  margin-top: 6px;
}
.tiny-gem {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: #aebcad;
}
.tiny-gem.fantasy {
  background: #bca5e5;
}
.tiny-gem.vintage {
  background: #c5a36e;
}
.tiny-gem.golden {
  background: #efc962;
}
.rank-section .section-head > .ico {
  color: var(--gold);
}
.rank-section {
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 2.2vw, 33px);
}
.soft-message,
.empty-standings p {
  color: var(--muted);
  font-size: 15px;
}
.empty-standings {
  padding: 17px 0 18px;
  border-block: 1px solid var(--line);
}
.empty-standings strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.all-ranks {
  font-size: 14px;
  color: var(--lime);
  margin-top: 12px;
}
.standing-row {
  display: grid;
  grid-template-columns: 29px 1fr auto;
  align-items: center;
  gap: 5px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.standing-row:hover {
  color: var(--lime);
}
.rank-num {
  color: var(--gold);
  font: 700 19px var(--condensed);
}
.rating-no {
  font-variant-numeric: tabular-nums;
}
.rank-wins {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}
.standing-page {
  margin: 33px 0 55px;
  max-width: 860px;
}
.standing-page .standings-title {
  margin: 12px 0;
}
.standing-page > p {
  color: var(--muted);
  margin: 0 0 22px;
}
.standing-page .standing-row {
  padding: 14px 4px;
}
.foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 21px 0 30px;
  color: var(--muted);
  font-size: 14px;
}
.foot > span {
  font: 800 18px var(--display);
  text-transform: uppercase;
  color: #cad0bd;
}
.foot a:last-child {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
#toast-region {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  max-width: min(92vw, 520px);
}
.toast-note {
  background: #293326;
  color: #f4f8ed;
  border: 1px solid #707f62;
  border-radius: 7px;
  padding: 10px 16px;
  box-shadow: 0 6px 20px #0006;
}
.sound-panel {
  position: fixed;
  z-index: 100;
  width: 270px;
  background: #232820;
  border: 1px solid #4b5346;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 12px 30px #0008;
}
.sound-panel h3 {
  font: 700 22px var(--condensed);
  margin: 0 0 8px;
}
.sound-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 14px;
}
.sound-panel input[type='range'] {
  min-width: 0;
  flex: 1;
}
.sound-panel button {
  border: 1px solid #4d5846;
  background: #323b2d;
  border-radius: 4px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sound-panel .track-name {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 11px;
}
.triad-card {
  --frame: #9cacb1;
  --frame-dark: #334549;
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid var(--frame);
  border-radius: 6px;
  background: #27312c;
  color: #fffbe8;
  container-type: inline-size;
  box-shadow: inset 0 0 0 2px var(--frame-dark);
  text-align: left;
}
.triad-card:before {
  content: '';
  position: absolute;
  inset: 2.2%;
  z-index: 2;
  border: 1px solid var(--frame);
  pointer-events: none;
  opacity: 0.7;
}
.triad-card .portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  display: block;
}
.card-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #10190df5 0%, #10170aa8 13%, transparent 42%);
  z-index: 1;
}
.card-ranks {
  position: absolute;
  left: 5.5%;
  top: 4%;
  width: 28%;
  aspect-ratio: 1.08;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  line-height: 0.84;
  font: 700 11cqw/0.84 var(--condensed);
  text-shadow:
    0 1px 2px #000,
    1px 0 #151409,
    -1px 0 #151409,
    0 -1px #151409;
  filter: drop-shadow(0 2px 2px #0009);
}
.card-ranks b {
  font-weight: 700;
}
.card-ranks b:nth-child(1) {
  grid-area: 1/2;
}
.card-ranks b:nth-child(2) {
  grid-area: 2/3;
}
.card-ranks b:nth-child(3) {
  grid-area: 3/2;
}
.card-ranks b:nth-child(4) {
  grid-area: 2/1;
}
.card-name {
  position: absolute;
  bottom: 6.4%;
  left: 5%;
  right: 5%;
  color: #fcf8e6;
  font: 700 10cqw/0.95 var(--condensed);
  text-shadow: 0 1px 4px #111b;
  z-index: 4;
  text-align: center;
  letter-spacing: -0.016em;
}
.card-corner {
  position: absolute;
  right: 5%;
  top: 5%;
  width: 5.5%;
  height: 4.4%;
  transform: rotate(45deg);
  background: var(--frame);
  border: 1px solid #ffffff9c;
  z-index: 3;
}
/* The same archival image supplies the portrait in all three editions. */
.triad-card.vintage { --frame: #a28963; --frame-dark: #705939; }
.triad-card.vintage .portrait { filter: grayscale(.84) sepia(.32) contrast(1.035); }
.triad-card.vintage .card-name { font-family: Georgia, serif; font-size: 8.2cqw; font-weight: 600; color: #fbefd2; }
.triad-card.fantasy { --frame: #877958; --frame-dark: #25384d; }
:where(.triad-card.fantasy) .card-wash { background: linear-gradient(0deg,#161322f8 0%,#201c2cd9 12%,transparent 40%); }
.triad-card:is(.vintage,.fantasy,.golden)::before { content: none; }
.triad-card:is(.vintage,.fantasy,.golden) > .card-corner { display: none; }
.card-mount, .card-metal {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.vintage > .card-mount { background-image: url('/art/frames/vintage.svg'); }
.vintage > .card-mount::before {
  content: '';
  position: absolute;
  inset: 3% 4%;
  opacity: .14;
  background: repeating-linear-gradient(126deg, transparent 0 2px, #7055327a 2px 2.5px);
  mix-blend-mode: multiply;
}
.fantasy > .card-mount { background-image: url('/art/frames/fantasy.svg'); }
.triad-card.golden {
  --gold-frame:url('/art/frames/gold.svg');
  --frame: #8c662c;
  --frame-dark: #5c3d19;
  border: 1px solid #6d512c;
  border-radius: 2px;
  box-shadow: none;
}
.triad-card.golden > .card-mount { background-image: none; }
.triad-card.golden.vintage {
  --gold-frame:url('/art/frames/gold-vintage.svg');
  background-color:#584029;
}
.triad-card.golden.fantasy {
  --gold-frame:url('/art/frames/gold-fantasy.svg');
  background-color:#1e2c46;
}
.triad-card.golden.vintage > .portrait {filter:grayscale(1) sepia(.87) saturate(.92) contrast(.94)}
.triad-card.golden.fantasy > .portrait {filter:saturate(.45) contrast(1.06)}
.triad-card.golden.vintage > .card-mount::before {opacity:.25}
.triad-card.golden.fantasy > .card-mount {mix-blend-mode:color}
.triad-card.golden.fantasy > .card-mount::before {
  content:'';position:absolute;inset:0;background:#315a97;
  opacity:.62;
}
.bt-face .triad-card.golden.fantasy > .card-mount::before {opacity:0}
.card-metal {z-index:4;background-image:var(--gold-frame)}
.bt-face .triad-card.golden > .card-metal { bottom: 11%; }
.bt-face .triad-card.golden > .card-name { bottom: 16%; }
.card-metal::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  mask: var(--gold-frame) center/100% 100% no-repeat;
  background: linear-gradient(var(--foil-angle,110deg), transparent 35%, #ffe7a6 50%, transparent 65%);
  background-size: 195% 180%;
  background-position: var(--foil-x,50%) var(--foil-y,50%);
  transition: opacity .15s ease;
}
.fantasy.golden .card-metal::after {
  background-image:linear-gradient(var(--foil-angle,110deg),transparent 36%,#97b9db94 44%,#e5f3dd 49%,#c8b4dc 53%,transparent 61%);
}
@media (prefers-reduced-motion: no-preference) {
  .triad-card.is-tilting .card-metal::after { opacity: .55; }
}
.triad-card:is(.vintage,.fantasy,.golden) > .card-name { left: 9%; right: 9%; }
.triad-card.golden > .card-ranks { left: 7.5%; top: 6%; }
.triad-card.golden.vintage > .card-name,.triad-card.golden.fantasy > .card-name {
  left:12.5%;right:12.5%;bottom:5.3%;line-height:.99;
}
.triad-card.golden.vintage > .card-name {
  color:#39281b;background:#d9bb83;padding:.12em .04em 0;
  clip-path:polygon(.32em 0,calc(100% - .32em) 0,100% .28em,100% 100%,0 100%,0 .28em);
  box-shadow:inset 0 1px #f7deaa;
  text-shadow:none;font-family:var(--serif);font-weight:700;
}
.triad-card.golden.fantasy > .card-name {
  color:#ffedc4;text-shadow:0 1px 1px #162039;
}
.triad-card.golden.vintage > .card-name :is(.card-chapter,.card-artnote) {color:inherit;text-shadow:none}
.triad-card.golden.fantasy:is([data-long],:has(.card-name small)) > .card-name {
  padding:1% 0 0;background:#23375b;
}
.bt-face .triad-card.golden:is(.vintage,.fantasy) > .card-name {bottom:15.7%}
.triad-card.golden.vintage .card-ranks::before {background:#402e20ee}
.triad-card.golden.fantasy .card-ranks::before {background:#152440ee}
.triad-card .card-name, .triad-card .card-ranks { z-index: 5; }
.card-name .card-tribute {
  display:flex; align-items:center; justify-content:center; gap:.45em;
  margin:.32em auto 0; font:600 .56em/1.05 var(--sans,sans-serif);
  letter-spacing:.07em; text-transform:uppercase;
}
.card-tribute::before,.card-tribute::after {
  content:''; width:1.3em; height:1px; background:currentColor; opacity:.75;
}
.triad-card.golden.vintage .card-name:has(.card-tribute),
.triad-card.golden.fantasy .card-name:has(.card-tribute) {padding-bottom:.17em}
.triad-card.regular:before { border-radius: 2px; }

@media (min-width: 1450px) {
  .daily-feature {
    min-height: 335px;
  }
  .mode-tile {
    min-height: 145px;
  }
  .daily-copy {
    padding-block: 33px;
  }
}
@media (max-width: 1050px) {
  .mast-inner {
    gap: 24px;
  }
  .mast nav {
    gap: 15px;
  }
  .mast nav .ico {
    display: none;
  }
  .brand span {
    font-size: 25px;
  }
  .main-view,
  .mast-inner,
  .foot {
    width: calc(100% - 48px);
  }
  .mode-copy {
    padding: 15px;
  }
  .lobby-bottom {
    grid-template-columns: minmax(0, 1.9fr) minmax(210px, 1fr);
  }
  .featured-list {
    gap: 8px;
  }
  .daily-feature {
    min-height: 292px;
  }
  .mode-tile {
    min-height: 122px;
  }
}
@media (max-width: 800px) {
  .mast-inner {
    width: 100%;
    height: auto;
    min-height: 64px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
  }
  .brand {
    padding: 10px 0;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .mast-account {
    grid-area: 1/2;
  }
  .mast nav {
    grid-row: 2;
    grid-column: 1/-1;
    justify-content: space-between;
    gap: 8px;
  }
  .mast nav a {
    padding: 9px 0 10px;
    font-size: 14px;
  }
  .mast nav .ico {
    display: block;
  }
  .lobby-bottom {
    grid-template-columns: 1fr;
  }
  .rank-section {
    border-left: 0;
    padding-left: 0;
  }
  .featured-list {
    gap: 12px;
  }
  .mode-copy h3 {
    font-size: 24px;
  }
  .mode-copy p {
    font-size: 13px;
    max-width: 15ch;
  }
  .mode-tile img {
    width: 42%;
  }
  .lobby {
    padding-top: 23px;
  }
  .floating-product {
    right: 3%;
    width: 46%;
  }
  .daily-copy {
    max-width: 55%;
  }
}
@media (max-width: 560px) {
  .main-view,
  .foot {
    width: calc(100% - 30px);
  }
  .mast-inner {
    padding: 0 15px;
  }
  .mast nav .ico {
    display: none;
  }
  .mast nav a {
    font-size: 13px;
    min-height: 40px;
  }
  .account-button {
    font-size: 14px;
    padding: 6px 10px;
  }
  .mast-account {
    gap: 7px;
  }
  #balance {
    font-size: 14px;
  }
  .title-row {
    margin-bottom: 13px;
  }
  .title-row h1 {
    font-size: 36px;
  }
  .daily-feature {
    min-height: 244px;
    border-radius: 7px;
  }
  .daily-copy {
    max-width: 61%;
    padding: 18px 0 18px 17px;
  }
  .availability {
    font-size: 11px;
    margin-bottom: 9px;
  }
  .daily-copy h2 {
    font-size: clamp(34px, 8.7vw, 47px);
  }
  .daily-copy p {
    font-size: 14px;
    margin: 11px 0 14px;
  }
  .daily-copy p br {
    display: none;
  }
  .primary-btn {
    padding: 8px 11px;
    gap: 6px;
    font-size: 14px;
  }
  .floating-product {
    width: 45%;
    right: -1%;
  }
  .pack-pair img {
    height: auto;
    width: 80%;
    top: 21%;
  }
  .pack-pair .main-pack {
    left: 24%;
    top: 21%;
  }
  .pack-pair .rear-pack {
    height: auto;
    width: 72%;
    left: 2%;
    top: 19%;
  }
  .mode-section {
    margin: 23px 0;
  }
  .section-head {
    margin-bottom: 11px;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .quiet-link {
    font-size: 13px;
  }
  .mode-row {
    gap: 7px;
  }
  .mode-tile {
    min-height: 132px;
    align-items: end;
  }
  .mode-copy {
    padding: 8px 8px 11px;
  }
  .mode-copy h3 {
    font-size: 21px;
  }
  .mode-copy p {
    font-size: 12px;
    line-height: 1.2;
    max-width: 12ch;
    margin-top: 4px;
  }
  .mode-copy > .ico {
    width: 16px;
    height: 16px;
    margin-bottom: 6px;
  }
  .mode-tile img {
    width: 55%;
    height: 110%;
    top: -10%;
    right: -2%;
  }
  .mode-tile:before {
    background: linear-gradient(0deg, var(--tile), transparent 80%);
  }
  .featured-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .foot {
    gap: 12px;
    font-size: 13px;
  }
  .foot a:last-child {
    margin-left: 0;
  }
  .feature-edition {
    font-size: 12px;
  }
  .rank-wins {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.audio-shortcut {
  display: grid;
  place-items: center;
  color: var(--lime);
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
}
body:not([data-view]) .audio-shortcut,
body[data-view='lobby'] .audio-shortcut {
  display: none;
}
.resume-game {
  margin-bottom: 12px;
}
.route-loading {
  padding: 70px 0;
  color: var(--muted);
}
.triad-card[data-long] .card-name {
  font-size: 8cqw;
}
.card-name {
  text-wrap: balance;
}
.triad-card {
  border-radius: 6px;
}
@media (max-width: 560px) {
  .mode-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mode-tile {
    min-height: 69px;
    align-items: center;
  }
  .mode-copy {
    padding: 11px 14px;
    display: grid;
    grid-template-columns: 23px 1fr;
    column-gap: 11px;
    align-items: center;
  }
  .mode-copy > .ico {
    grid-row: 1/3;
    width: 21px;
    height: 21px;
    margin: 0;
  }
  .mode-copy h3 {
    font-size: 22px;
  }
  .mode-copy p {
    max-width: none;
    font-size: 13px;
    margin-top: 3px;
  }
  .mode-tile img {
    top: -26%;
    height: 213%;
    width: 29%;
    right: 2%;
    object-position: center 31%;
  }
  .mode-tile:before {
    background: linear-gradient(90deg, var(--tile) 48%, transparent 85%);
  }
  .daily-copy p {
    max-width: 21ch;
  }
  .mast-account {
    gap: 6px;
  }
}
@media (max-width: 560px) {
  .mast-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .mast nav {
    min-width: 0;
  }
  .brand {
    gap: 4px;
  }
  .brand span {
    font-size: 23px;
  }
  .mast-account .account-button span {
    max-width: 76px;
  }
  .mast-account .account-button {
    padding: 6px 8px;
  }
  .audio-shortcut {
    width: 28px;
    height: 31px;
  }
  .mast-account .account-button .ico {
    width: 14px;
  }
}
@media (max-width: 365px) {
  .brand span {
    font-size: 21px;
  }
  .brand img {
    width: 29px;
  }
  .mast-account .account-button span {
    max-width: 60px;
  }
  .mast nav a {
    font-size: 12px;
  }
}
.triad-card[data-era='Romantic']:before {
  border-radius: 15% 4%;
  border-width: 3px;
  border-style: double;
}
.triad-card[data-era='Classical']:before {
  inset: 2.7%;
  border-width: 3px;
  border-style: double;
  border-radius: 1%;
}
.triad-card[data-era='Postwar']:before {
  border-radius: 1%;
  border-block-width: 2px;
  border-inline-style: double;
}
.triad-card[data-era='Modern']:before {
  border-radius: 1% 9%;
  border-bottom-width: 2px;
}
.triad-card[data-era='Contemporary']:before {
  border-radius: 7% 1%;
  border-top-width: 2px;
}
.card-ranks {
  isolation: isolate;
}
.card-ranks:before {
  content: '';
  position: absolute;
  inset: -7% -6% -8%;
  z-index: -1;
  background: linear-gradient(145deg, #0b170dd4, #1420169e);
  clip-path: polygon(20% 0, 80% 0, 100% 24%, 100% 69%, 50% 100%, 0 69%, 0 24%);
}
