:root {
  color-scheme: dark;
  --bg: #101211;
  --panel: #171b19;
  --panel2: #202623;
  --text: #f0eee6;
  --muted: #a6ada8;
  --line: #303731;
  --gold: #dfbb75;
  --red: #f39b90;
  --green: #9ecea5;
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #dfbb7540;
}
.skip-link {
  position: fixed;
  left: 24px;
  top: -80px;
  z-index: 50;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 8px;
}
body:not(.session-active) .skip-link {
  display: none;
}
.skip-link:focus {
  top: 12px;
}
#content:focus {
  outline: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
  background: var(--panel2);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
}
button:hover,
.button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 650;
}
.gold:hover {
  color: var(--bg);
  background: #f1c776;
}
a {
  color: var(--gold);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  padding: 0.65rem 0.8rem;
  min-height: 44px;
  max-width: 100%;
}
textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}
h1,
h2,
h3 {
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
h2 {
  font-size: 1.8rem;
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0.5rem 0 1rem;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.7rem 0;
}
[hidden] {
  display: none !important;
}
.masthead {
  min-height: 80px;
  border-bottom: 1px solid var(--line);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #111512;
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Charter, Georgia, serif;
  font-size: 1.8rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.035em;
}
.brand img {
  border-radius: 10px;
  width: 40px;
  height: 40px;
}
.edition,
.eyebrow {
  font:
    600 0.68rem/1.5 "Avenir Next",
    system-ui,
    sans-serif;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.edition {
  color: var(--muted);
  font-size: 0.6rem;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
#account-button {
  background: transparent;
  padding-inline: 20px;
}
#menu-button {
  display: none;
}
.welcome {
  max-width: 1280px;
  padding: 7vh 4vw 10vh;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8vw;
  align-items: center;
}
.welcome h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.035em;
}
.lede {
  font:
    1.2rem/1.65 Charter,
    Georgia,
    serif;
  max-width: 34rem;
}
.muted,
.fine {
  color: var(--muted);
}
.fine {
  font-size: 0.8rem;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.5rem;
  border-radius: 12px;
}
.signin {
  padding: 2.5rem;
  max-width: 440px;
  box-shadow: 0 24px 64px #0003;
  border-top: 2px solid var(--gold);
}
.signin-icon {
  border-radius: 16px;
  margin-bottom: 24px;
}
.signin h2 {
  font-size: 2.6rem;
  letter-spacing: -0.045em;
  max-width: 12ch;
}
.signin button,
.signin .button {
  width: 100%;
  margin: 0.4rem 0;
}
.plans {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  margin-top: 1.8rem;
}
.plans div {
  display: flex;
  flex-direction: column;
}
.plans strong {
  font:
    2rem Georgia,
    serif;
}
.plans span {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
#notice:empty {
  display: none;
}
#notice {
  padding: 1rem 5vw;
  background: #352c18;
  border-bottom: 1px solid #806a36;
  color: #f8d28b;
}
#workspace {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: calc(100dvh - 80px);
}
.workspace-sidebar {
  padding: 30px 16px 24px;
  background: #111512;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 80px;
  height: calc(100dvh - 80px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.nav-caption {
  color: #89938b;
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  padding: 0 14px;
  margin: 0 0 26px;
}
#navigation {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nav-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-group-label {
  color: var(--muted);
  font-size: 0.72rem;
  margin: 0 14px 6px;
}
#navigation button {
  justify-content: flex-start;
  width: 100%;
  background: transparent;
  border-color: transparent;
  padding: 10px 14px;
  color: #c0c6bf;
  font-weight: 500;
}
#navigation button:hover {
  background: #202721;
  color: var(--text);
}
#navigation button.active {
  background: #2c2d21;
  color: var(--gold);
  border-color: #494332;
  box-shadow: inset 3px 0 var(--gold);
}
.sidebar-note {
  margin: auto 14px 0;
  padding-top: 40px;
  font-size: 0.74rem;
  color: var(--muted);
}
.sidebar-note strong {
  color: #c3c9c1;
  font-weight: 500;
}
.sidebar-note p {
  margin: 8px 0 16px;
}
.sidebar-note a {
  font-size: 0.74rem;
  text-decoration: none;
}
.workspace-body {
  width: 100%;
  max-width: 1550px;
  margin-inline: auto;
  min-width: 0;
  padding: 0 clamp(24px, 3.2vw, 56px) 64px;
}
.workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 26px;
}
.workspace-head h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  letter-spacing: -0.045em;
}
.workspace-head .eyebrow {
  margin: 0 0 10px;
}
.section-description {
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 0.92rem;
}
#sync-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 0.7rem;
  margin-top: 7px;
  max-width: 240px;
}
#sync-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}
#sync-state[data-state="synced"]::before {
  background: var(--green);
}
#sync-state[data-state="pending"]::before {
  background: var(--gold);
}
#sync-state[data-state="syncing"]::before {
  background: #aad1e6;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.toolbar input[type="search"] {
  min-width: 230px;
  flex: 1;
}
.toolbar label {
  min-width: 120px;
}
.grow {
  flex: 1;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(0, 1.6fr);
  gap: 16px;
  margin: 0 0 32px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  background: var(--panel);
  min-width: 0;
}
.stat strong {
  display: block;
  font:
    500 clamp(1.7rem, 2.6vw, 2.4rem)/1.2 "Avenir Next",
    system-ui,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 8px 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat span {
  display: block;
  color: #c4cac3;
  font-size: 0.78rem;
}
.stat small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}
.stat-value {
  border-top-color: #7b6946;
}
.stat-value strong {
  color: var(--gold);
}
.collection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 20px;
}
.collection-heading h2 {
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  margin: 0;
}
.collection-heading p {
  margin: 0;
}
.collection-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.collection-tools {
  position: relative;
  padding: 0;
}
.collection-tools summary {
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 0.86rem;
  background: var(--panel);
  min-height: 44px;
}
.collection-tools summary:hover {
  border-color: var(--gold);
}
.tools-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  padding: 8px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 36px #0008;
}
.tools-menu button {
  justify-content: flex-start;
  border: 0;
  background: transparent;
}
.tools-menu button:hover {
  background: var(--panel2);
}
.binder-filters {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  gap: 12px;
}
.binder-filters label {
  min-width: 155px;
  font-size: 0.72rem;
}
.binder-filters input[type="search"] {
  min-width: 160px;
}
.selection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 18px;
  min-height: 44px;
}
.selection-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.selection-actions button {
  background: transparent;
  border-color: transparent;
  padding: 4px 6px;
  font-size: 0.75rem;
  color: var(--muted);
}
.selection-actions button:hover {
  color: var(--gold);
}
.selection-count {
  color: var(--gold);
  font-size: 0.75rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 18px;
}
.card-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--panel);
  transition: border-color 140ms ease;
}
.card-tile:hover {
  border-color: #66705f;
}
.card-tile.is-selected {
  border-color: var(--gold);
  background: #292a20;
}
.art-button {
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  border-radius: 8px;
}
.art-button:hover {
  background: transparent;
}
.art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 488/680;
  object-fit: contain;
  border-radius: 8px;
  background: var(--panel2);
}
.card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 2px 0;
  gap: 5px;
}
.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.card-meta {
  font-size: 0.72rem;
  color: var(--muted);
}
.card-location {
  overflow-wrap: anywhere;
}
.card-price {
  font-variant-numeric: tabular-nums;
  color: #e1d5b5;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.86rem;
}
.tile-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.tile-actions button {
  font-size: 0.75rem;
  padding: 6px 8px;
  flex: 1;
  background: transparent;
}
.tile-actions button[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold);
}
#recommendation-results .card-tile {
  gap: 10px;
}
#recommendation-results .card-tile .card-title {
  margin-top: 2px;
}
#recommendation-results .tile-actions {
  margin-top: auto;
  padding-top: 4px;
}
.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.deck-preview {
  padding: 0;
  overflow: hidden;
  max-width: 520px;
}
.deck-preview-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 160px;
  padding: 24px;
  background: #202821;
  border-bottom: 1px solid var(--line);
}
.deck-preview-art .art {
  width: calc((100% - 24px) / 3);
  max-width: 100px;
  height: auto;
}
.deck-placeholder {
  border-radius: 18px;
}
.deck-preview-info {
  padding: 24px;
}
.deck-preview-info h2 {
  font-size: 1.85rem;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
.deck-preview-info p {
  font-size: 0.83rem;
  overflow-wrap: anywhere;
}
.deck-preview-info button {
  width: 100%;
  margin-top: 12px;
}
.deck-workshop {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
}
.deck-workshop > * {
  min-width: 0;
}
.deck-workshop aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.deck-workshop h3 {
  margin-top: 20px;
}
.deck-workshop aside h3 {
  margin-top: 0;
}
.empty {
  grid-column: 1/-1;
  background: var(--panel);
  border: 1px dashed #4b554a;
  padding: 3rem;
  text-align: center;
  border-radius: 10px;
}
.empty img {
  border-radius: 18px;
  margin: 0 auto 22px;
}
.empty h2 {
  color: var(--text);
  letter-spacing: -0.03em;
}
.empty p {
  max-width: 42ch;
  margin: 0 auto 22px;
}
.empty .button,
.empty button {
  margin-top: 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
th,
td {
  padding: 0.8rem 0.65rem;
  border-bottom: 1px solid var(--line);
}
td button {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}
.row-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.row-item h3 {
  margin: 0 0 0.4rem;
}
.row-item p {
  margin: 0;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}
.columns.deck-workshop {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
}
.dossier {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: 2rem;
}
.dossier .art {
  position: sticky;
  top: 0;
}
.oracle-text {
  white-space: pre-wrap;
  font:
    1.1rem/1.65 Charter,
    Georgia,
    serif;
}
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
  margin: 0.2rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}
.danger {
  color: var(--red);
}
.success {
  color: var(--green);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: min(920px, 94vw);
  max-height: 90vh;
  padding: 2rem;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(3px);
}
dialog > form[method="dialog"] {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  background: var(--panel);
  padding-bottom: 8px;
}
.close {
  margin-top: 0;
}
details {
  padding: 0.6rem 0;
}
summary {
  cursor: pointer;
  color: var(--gold);
}
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.session-active footer {
  margin-left: 208px;
}
footer {
  padding: 2rem 5vw;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}
.life-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.player {
  text-align: center;
}
.life {
  font:
    5rem Georgia,
    serif;
  line-height: 1.2;
}
.player h3 {
  color: var(--gold);
}
.counter {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}
.bar-chart {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  height: 170px;
  margin: 2rem 0;
}
.bar {
  flex: 1;
  min-width: 24px;
  background: var(--gold);
  position: relative;
}
.bar span {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
}
.bar b {
  position: absolute;
  top: -26px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
}
.link-button {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 24px;
  color: var(--gold);
  text-align: left;
  justify-content: start;
}
@media (max-width: 1100px) {
  #workspace {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .workspace-sidebar {
    padding-inline: 12px;
  }
  .workspace-body {
    padding-inline: 24px;
  }
  .session-active footer {
    margin-left: 180px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px 16px;
  }
  .workspace-head {
    flex-wrap: wrap;
    gap: 12px;
  }
  #sync-state {
    margin: 0;
  }
  .columns.deck-workshop {
    grid-template-columns: minmax(0, 1fr);
  }
  .deck-workshop aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .edition {
    display: none;
  }
  .masthead {
    min-height: 72px;
    padding: 0 20px;
    gap: 12px;
  }
  .brand {
    font-size: 1.65rem;
    gap: 9px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  #account-button {
    padding-inline: 12px;
  }
  #menu-button {
    display: inline-flex;
  }
  #workspace {
    display: block;
    min-height: calc(100dvh - 72px);
  }
  .workspace-sidebar {
    display: none;
    position: fixed;
    top: 72px;
    bottom: 0;
    height: auto;
    width: 100%;
    z-index: 9;
    padding: 24px;
  }
  .workspace-sidebar.is-open {
    display: flex;
  }
  .nav-caption {
    margin-bottom: 20px;
  }
  #navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .sidebar-note {
    margin: 24px 14px 0;
    padding-top: 16px;
    max-width: 30ch;
  }
  .workspace-body {
    padding: 0 20px 40px;
  }
  .workspace-head {
    padding: 26px 0 24px;
  }
  .workspace-head h1 {
    font-size: 2.75rem;
  }
  .section-description {
    font-size: 0.88rem;
  }
  #sync-state {
    font-size: 0.68rem;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 26px;
  }
  .stat-value {
    grid-column: 1/-1;
  }
  .stat strong {
    font-size: 2rem;
  }
  .collection-heading {
    gap: 14px;
  }
  .collection-actions {
    gap: 8px;
  }
  .collection-actions button,
  .collection-tools summary {
    font-size: 0.8rem;
    padding-inline: 12px;
  }
  .binder-filters {
    padding: 14px;
    gap: 12px;
  }
  .binder-filters input[type="search"] {
    flex-basis: 100%;
  }
  .binder-filters label {
    min-width: 0;
    flex: 1;
  }
  .selection-bar {
    margin-bottom: 14px;
    gap: 0;
  }
  .selection-actions {
    gap: 6px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-tile {
    padding: 8px;
    border-radius: 10px;
  }
  .card-info {
    padding-top: 12px;
  }
  .card-title {
    font-size: 0.83rem;
  }
  .card-price {
    font-size: 0.8rem;
  }
  .card-meta {
    font-size: 0.68rem;
  }
  .tile-actions {
    gap: 4px;
  }
  .tile-actions button {
    padding-inline: 4px;
    font-size: 0.7rem;
  }
  .welcome {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }
  .welcome h1 {
    font-size: clamp(3.3rem, 12vw, 5rem);
  }
  .welcome-copy .lede {
    font-size: 1.1rem;
  }
  .signin {
    max-width: none;
    width: 100%;
    padding: 28px;
  }
  .signin h2 {
    font-size: 2.5rem;
    max-width: none;
  }
  .signin-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }
  .plans {
    gap: 24px;
  }
  .columns,
  .columns.deck-workshop,
  .dossier,
  .form-grid,
  .deck-workshop aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .dossier > .art {
    max-width: 230px;
    position: static;
    margin: auto;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  dialog {
    padding: 20px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  .toolbar label {
    flex: 1;
  }
  .row-item {
    align-items: start;
    flex-wrap: wrap;
  }
  .empty {
    padding: 32px 22px;
  }
  .deck-preview {
    max-width: none;
  }
  .life {
    font-size: 3.5rem;
  }
  .player {
    padding: 1rem;
  }
  .session-active footer {
    margin-left: 0;
  }
}
@media (max-width: 380px) {
  .masthead {
    padding-inline: 12px;
  }
  .brand {
    font-size: 1.4rem;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions button {
    padding-inline: 8px;
    font-size: 0.8rem;
  }
  .workspace-body {
    padding-inline: 14px;
  }
  .collection-actions {
    width: 100%;
  }
  .collection-actions > * {
    flex: 1;
  }
  .collection-tools summary {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
#registration {
  display: none;
}
@media print {
  @page {
    size: A4;
    margin: 15mm;
  }
  body {
    background: white;
    color: black;
    font:
      11pt Arial,
      sans-serif;
  }
  body > * {
    display: none !important;
  }
  body > #registration {
    display: block !important;
  }
  #registration h1 {
    font-size: 20pt;
  }
  #registration h2 {
    font-size: 13pt;
    margin: 1rem 0 0.4rem;
  }
  #registration th,
  #registration td {
    padding: 3pt 6pt;
    color: black;
    border-color: #ccc;
  }
  #registration tr {
    break-inside: avoid;
  }
  #registration thead {
    display: table-header-group;
  }
}
