@font-face {
  font-family: 'Tray Condensed';
  src: url('/playtests/theme-barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

body[data-site-theme="resin-tray"]:not(:has(.arena-app)) {
  --site-bg: #0b201e;
  --site-panel: #122e2a;
  --site-text: #fbf1d9;
  --site-muted: #bbcfc5;
  --site-border: #49615a;
  --site-accent: #89e1c8;
  --bg: var(--site-bg);
  --panel: var(--site-panel);
  --panel2: #1b3833;
  --line: var(--site-border);
  --muted: var(--site-muted);
  --teal: var(--site-accent);
  --teal-dark: #174037;
  --amber: #ffbd54;
  --tray-display: 'Tray Condensed', 'Arial Narrow', sans-serif;
  --tray-art: url('/playtests/dicemasters-resin-tray.webp');
  color: var(--site-text);
  background: radial-gradient(ellipse at 85% 0%, #204941, transparent 55%),
    repeating-linear-gradient(125deg, #ffffff03 0 1px, transparent 1px 5px), var(--bg);
  min-height: 100vh;

  & .site-header {
    background: #0a201df2;
    border-bottom: 3px double #8d825c;
  }
  & .game-brand, & h1, & h2, & h3 {
    font-family: var(--tray-display);
    font-weight: 700;
    color: var(--site-text);
  }
  & .game-brand { text-transform: uppercase; letter-spacing: .04em; }
  & .site-header nav a.active { color: var(--amber); border-color: var(--amber); }
  & .hero {
    border: 1px solid #a89767;
    border-radius: 12px;
    box-shadow: inset 0 0 0 5px #10282277, inset 0 0 0 6px #dcba743c, 0 16px 38px #05171280;
    background: linear-gradient(90deg, #08201ee6, #08201e99 37%, transparent 68%),
      var(--tray-art) right 58% / cover no-repeat, var(--panel);
  }
  & .hero-copy { align-self: center; padding: clamp(24px, 4vw, 62px); padding-right: 0; }
  & .hero h1 {
    max-width: 13ch;
    font-size: clamp(3.2rem, 6vw, 5.6rem);
    line-height: .95;
    letter-spacing: -.025em;
    text-wrap: balance;
    text-shadow: 0 3px #11241d;
  }
  & .hero h1 span { color: var(--amber); }
  & .hero-copy > p { color: #e0e4d5; font-size: 1rem; }
  & .hero::after { display: none; }
  & :is(.discovery-panel, .room-card, .modal) {
    border: 1px solid var(--line);
    border-top: 3px solid #bba171;
    background: var(--panel);
  }
  & .discovery-panel h2, & .deck-page h2 { letter-spacing: .015em; }
  & :is(.primary, .discovery-button) {
    background: var(--amber); color: #291e0d; border-color: #ffd588;
    box-shadow: 0 3px 0 #82531c; font-weight: 750;
  }
  & :is(.primary, .discovery-button):hover:not(:disabled) {
    background: #ffd58c; border-color: #ffe3af; color: #261e0e;
  }
  & .secondary { background: #123b33; border-color: #6ea696; color: #e1fff1; }
  & :focus-visible { outline: 3px solid #ffe1a1; outline-offset: 3px; }

  @media (max-width: 700px) {
    & .game-brand { max-width: none; white-space: nowrap; }
    & .hero {
      grid-template-columns: 1fr;
      background: linear-gradient(180deg, #09211ef5 0%, #09211edf 41%, transparent 72%),
        var(--tray-art) right bottom / auto 75% no-repeat, var(--panel);
    }
    & .hero-copy { padding: 28px 23px 170px; }
    & .hero h1 { font-size: clamp(2.8rem, 11vw, 3.8rem); }
  }
}
