/* Meine Nacht – isolated player dashboard */

body[data-page="dashboard"] .layout {
  width: 100%;
}

.night-dashboard {
  --dash-gold: #ffcf75;
  --dash-pink: #ff5b91;
  --dash-mint: #79ffc9;
  --dash-panel: rgba(17, 19, 29, .96);
  display: grid;
  gap: 22px;
  width: 100%;
  min-width: 0;
}

.night-dashboard [hidden] { display: none !important; }

.dashboard-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.dashboard-state {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: min(640px, calc(100svh - 220px));
  padding: clamp(32px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 79, 145, .17), transparent 34%),
    linear-gradient(145deg, #1d141d, #0d0f17 68%);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .44);
  text-align: center;
}

.dashboard-state::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 23px;
  pointer-events: none;
}

.dashboard-state h1 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 8px auto 18px;
  font-size: clamp(46px, 6vw, 84px);
  line-height: .94;
  letter-spacing: -.065em;
}

.dashboard-state > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 54ch;
  margin: 0;
  color: #b8b5bf;
  line-height: 1.7;
}

.dashboard-state .eyebrow { position: relative; z-index: 1; margin: 0; }

.state-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 202, 102, .12);
  font-size: clamp(250px, 34vw, 510px);
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(-7deg);
  pointer-events: none;
}

.state-mark.error-mark {
  color: rgba(255, 91, 121, .035);
  -webkit-text-stroke-color: rgba(255, 91, 121, .14);
}

.state-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dashboard-loading {
  grid-template-columns: auto minmax(0, auto);
  gap: 20px;
  min-height: 320px;
  text-align: left;
}

.dashboard-loading strong { display: block; font-size: 20px; }
.dashboard-loading p { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }

.dashboard-loader {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 202, 102, .15);
  border-top-color: var(--dash-gold);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 79, 145, .13);
  animation: dashboard-spin .8s linear infinite;
}

.dashboard-btn,
.dashboard-icon-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.dashboard-btn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 850;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}

.dashboard-btn.primary {
  border-color: transparent;
  color: #1b1117;
  background: linear-gradient(135deg, #ffe092, #ffa063 56%, #ff5d92);
  box-shadow: 0 16px 40px rgba(255, 79, 145, .17);
}

.dashboard-btn.secondary { background: rgba(255, 255, 255, .045); }
.dashboard-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.dashboard-btn:disabled { cursor: wait; opacity: .58; transform: none; }

.dashboard-icon-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, .045);
  font-size: 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.dashboard-icon-btn:hover {
  transform: rotate(12deg);
  border-color: rgba(255, 202, 102, .32);
  background: rgba(255, 202, 102, .075);
}

/* Hero */
.dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(350px, .84fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  min-height: min(610px, calc(100svh - 170px));
  padding: clamp(32px, 5.2vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 34px;
  background:
    radial-gradient(circle at 76% 34%, rgba(255, 79, 145, .17), transparent 32%),
    radial-gradient(circle at 6% 100%, rgba(255, 202, 102, .09), transparent 32%),
    linear-gradient(145deg, #1c141d 0%, #11131c 56%, #090a10 100%);
  box-shadow: 0 38px 120px rgba(0, 0, 0, .48);
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 24px;
  pointer-events: none;
}

.dashboard-hero-copy,
.dashboard-night-card { position: relative; z-index: 1; min-width: 0; }

.dashboard-hero-copy .eyebrow { margin: 0 0 18px; }
.dashboard-hero-copy h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 108px);
  line-height: .83;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.dashboard-hero-copy h1 em {
  display: inline-block;
  max-width: 9ch;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1.25px rgba(255, 202, 102, .82);
  font-style: normal;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.dashboard-hero-copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin: 26px 0 0;
  color: #b8b5bf;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

.dashboard-hero-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 32px;
}

.continue-btn {
  justify-content: space-between;
  min-width: min(100%, 330px);
  min-height: 66px;
  padding: 9px 11px 9px 18px;
  text-align: left;
}

.continue-btn > span { display: grid; gap: 3px; }
.continue-btn small { font-size: 8px; letter-spacing: .17em; }
.continue-btn strong {
  display: block;
  max-width: 22ch;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.continue-btn b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(25, 14, 19, .12);
  font-size: 21px;
}

.dashboard-night-card {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 410px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 202, 102, .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 54% 45%, rgba(255, 79, 145, .2), transparent 39%),
    linear-gradient(145deg, rgba(31, 22, 31, .95), rgba(10, 12, 18, .98));
  box-shadow: 0 28px 85px rgba(0, 0, 0, .4);
}

.dashboard-night-card::after {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 20px;
}

.dashboard-night-card > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .19;
  filter: saturate(.75) contrast(1.1);
}

.dashboard-night-card > img:not([hidden]) + .night-card-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(9, 10, 16, .38), rgba(9, 10, 16, .96));
}

.night-card-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 52% 43%, rgba(255, 202, 102, .08), transparent 46%);
}

.night-card-kicker {
  color: var(--dash-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
}

.night-card-balance {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: auto 0;
}

.night-card-balance small { flex: 1 0 100%; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.night-card-balance strong {
  max-width: 100%;
  overflow: hidden;
  color: #fff7e8;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.065em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.night-card-balance span { color: var(--dash-gold); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.dashboard-night-card p { position: relative; z-index: 1; max-width: 29ch; margin: 0; color: #aaa7b1; font-size: 13px; line-height: 1.55; }
.night-card-seven {
  position: absolute;
  right: -16px;
  bottom: -48px;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 202, 102, .11);
  font-size: 250px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
}

/* Summary */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-stat {
  position: relative;
  min-width: 0;
  min-height: 135px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(24, 26, 38, .98), rgba(13, 15, 23, .98));
}

.dashboard-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(var(--dash-gold), var(--dash-pink));
  opacity: .7;
}

.dashboard-stat > span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.dashboard-stat strong {
  display: inline-block;
  max-width: calc(100% - 30px);
  margin-top: 20px;
  overflow: hidden;
  color: #f8f3ea;
  font-size: clamp(27px, 3.1vw, 43px);
  line-height: 1;
  letter-spacing: -.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-stat small { margin-left: 6px; color: var(--muted); font-size: 10px; }
.dashboard-stat.is-positive strong { color: var(--dash-mint); }
.dashboard-stat.is-negative strong { color: #ff8399; }

/* Shared section surface */
.dashboard-section {
  min-width: 0;
  padding: clamp(24px, 3.7vw, 42px);
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 202, 102, .045), transparent 32%),
    linear-gradient(145deg, rgba(22, 24, 36, .98), rgba(12, 14, 22, .98));
  box-shadow: 0 28px 85px rgba(0, 0, 0, .34);
}

.dashboard-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.dashboard-section-head .eyebrow { margin: 0 0 8px; }
.dashboard-section-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1; letter-spacing: -.055em; }
.dashboard-section-head > a { flex: 0 0 auto; color: var(--dash-gold); font-size: 12px; font-weight: 850; }
.dashboard-section-head > p { max-width: 40ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: right; }
.section-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .025);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Quickplay */
.quickplay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quickplay-card {
  position: relative;
  min-width: 0;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 79, 145, .13), transparent 34%),
    linear-gradient(145deg, #1d1922, #0c0e15 74%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.quickplay-card:hover { transform: translateY(-4px); border-color: rgba(255, 202, 102, .26); box-shadow: 0 25px 55px rgba(0, 0, 0, .28); }
.quickplay-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: saturate(.83) contrast(1.08); transition: transform .45s ease, opacity .3s ease; }
.quickplay-card:hover > img { transform: scale(1.045); opacity: .52; }
.quickplay-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 14, .08) 15%, rgba(8, 9, 14, .94) 82%); pointer-events: none; }
.quickplay-link { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.quickplay-link small { color: var(--dash-gold); font-size: 8px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.quickplay-link h3 { margin: 8px 44px 7px 0; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.02; letter-spacing: -.04em; }
.quickplay-link p { max-width: 30ch; margin: 0 44px 0 0; overflow: hidden; color: #aaa7b1; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.favorite-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  color: #fff;
  background: rgba(8, 9, 14, .72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 18px;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.favorite-toggle:hover { transform: scale(1.06); }
.favorite-toggle[aria-pressed="true"] { color: var(--dash-gold); background: rgba(42, 29, 22, .86); }
.favorite-toggle:disabled { cursor: wait; opacity: .55; transform: none; }

/* Rounds and per-game balance */
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: 22px;
  align-items: start;
}

.rounds-list,
.game-balance-list { display: grid; gap: 9px; }
.round-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-width: 0;
  min-height: 76px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(255, 255, 255, .037), rgba(255, 255, 255, .014));
}
.round-game { display: flex; align-items: center; gap: 12px; min-width: 0; }
.round-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(255, 202, 102, .15); border-radius: 13px; color: var(--dash-gold); background: rgba(255, 202, 102, .045); font-weight: 900; }
.round-game > div { min-width: 0; }
.round-game strong,
.round-game small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.round-game strong { font-size: 14px; }
.round-game small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.round-value { display: grid; gap: 4px; min-width: 72px; text-align: right; }
.round-value span { color: var(--muted); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.round-value strong { font-size: 14px; }
.round-value.is-positive strong { color: var(--dash-mint); }
.round-value.is-negative strong { color: #ff8399; }

.game-balance-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 17px;
  background: rgba(255, 255, 255, .022);
}
.game-balance-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.game-balance-head > div { min-width: 0; }
.game-balance-head strong,
.game-balance-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-balance-head strong { font-size: 15px; }
.game-balance-head small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.game-net { flex: 0 0 auto; font-size: 16px; font-weight: 900; }
.game-net.is-positive { color: var(--dash-mint); }
.game-net.is-negative { color: #ff8399; }
.game-progress { height: 5px; margin-top: 15px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .055); }
.game-progress > i { display: block; height: 100%; width: var(--progress, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--dash-pink), var(--dash-gold)); }

/* Achievements */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.achievement-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 19px;
  background: rgba(255, 255, 255, .021);
}
.achievement-card.is-complete { border-color: rgba(255, 202, 102, .22); background: radial-gradient(circle at 90% 0, rgba(255, 202, 102, .1), transparent 38%), rgba(255, 255, 255, .025); }
.achievement-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 13px; color: var(--muted); background: rgba(255, 255, 255, .035); font-size: 18px; }
.achievement-card.is-complete .achievement-icon { color: #1b1117; border-color: transparent; background: linear-gradient(135deg, #ffe092, #ff9c64 60%, #ff5d92); }
.achievement-card h3 { margin: 17px 0 7px; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.achievement-card p { min-height: 36px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.achievement-progress { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-top: 16px; }
.achievement-progress > div { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.achievement-progress i { display: block; width: var(--progress, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--dash-pink), var(--dash-gold)); }
.achievement-progress span { color: var(--muted); font-size: 9px; font-weight: 800; }

.dashboard-empty {
  display: grid;
  place-items: center;
  min-height: 165px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, .1);
  border-radius: 18px;
  text-align: center;
}
.dashboard-empty strong { font-size: 17px; }
.dashboard-empty p { max-width: 42ch; margin: 8px auto 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.dashboard-empty a { color: var(--dash-gold); font-size: 12px; font-weight: 850; }
.dashboard-notice { position: fixed; right: 20px; bottom: 20px; z-index: 40; max-width: min(380px, calc(100vw - 28px)); min-height: 0; margin: 0; padding: 0; border-radius: 14px; color: #fff; background: rgba(14, 16, 24, .96); box-shadow: 0 18px 50px rgba(0, 0, 0, .38); font-size: 13px; line-height: 1.45; transition: padding .2s ease, opacity .2s ease; }
.dashboard-notice:not(:empty) { padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .11); }

@keyframes dashboard-spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .dashboard-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .quickplay-grid { grid-template-columns: 1fr 1fr; }
  .quickplay-card:first-child { grid-column: 1 / -1; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .dashboard-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 28px;
  }
  .dashboard-hero-copy h1 { font-size: clamp(54px, 13vw, 82px); }
  .dashboard-night-card { min-height: 280px; }
  .quickplay-grid { grid-template-columns: 1fr; }
  .quickplay-card:first-child { grid-column: auto; }
}

@media (max-width: 600px) {
  body[data-page="dashboard"] .layout { padding-right: 12px; padding-left: 12px; }
  .night-dashboard,
  .dashboard-content { gap: 14px; }
  .dashboard-state { min-height: 430px; padding: 28px 20px; border-radius: 24px; }
  .dashboard-state::before { inset: 10px; border-radius: 17px; }
  .dashboard-loading { grid-template-columns: 1fr; justify-items: center; min-height: 260px; text-align: center; }
  .dashboard-hero { display: flex; flex-direction: column; gap: 24px; padding: 27px 18px 19px; border-radius: 25px; }
  .dashboard-hero::before { inset: 10px; border-radius: 18px; }
  .dashboard-hero-copy { display: contents; }
  .dashboard-hero-copy .eyebrow { order: 1; align-self: flex-start; margin: 0; }
  .dashboard-hero-copy h1 { order: 2; align-self: stretch; font-size: clamp(42px, 12vw, 60px); overflow-wrap: anywhere; }
  .dashboard-hero-copy > p:not(.eyebrow) { order: 4; margin: 0; font-size: 14px; }
  .dashboard-hero-actions { order: 3; width: 100%; margin: 0; }
  .dashboard-night-card { order: 5; width: 100%; min-height: 230px; padding: 23px; border-radius: 20px; }
  .continue-btn { width: 100%; min-width: 0; min-height: 70px; }
  .dashboard-icon-btn { width: 54px; height: 70px; }
  .dashboard-stats { gap: 8px; }
  .dashboard-stat { min-height: 112px; padding: 15px 13px; border-radius: 17px; }
  .dashboard-stat strong { max-width: 100%; margin-top: 17px; font-size: clamp(23px, 8vw, 34px); }
  .dashboard-stat small { display: block; margin: 5px 0 0; }
  .dashboard-section { padding: 23px 17px; border-radius: 23px; }
  .dashboard-section-head { align-items: flex-start; gap: 13px; margin-bottom: 21px; }
  .dashboard-section-head.compact { display: grid; grid-template-columns: 1fr auto; }
  .dashboard-section-head > p { display: none; }
  .dashboard-section-head h2 { font-size: clamp(29px, 9vw, 39px); }
  .quickplay-card { min-height: 235px; }
  .round-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .round-value.is-bet { display: none; }
  .round-icon { width: 39px; height: 39px; }
  .achievement-grid { gap: 8px; }
  .achievement-card { min-height: 180px; padding: 15px; }
  .achievement-card h3 { font-size: 15px; }
}

@media (max-width: 380px) {
  .dashboard-hero-copy h1 { font-size: clamp(44px, 14vw, 56px); }
  .dashboard-night-card { min-height: 210px; }
  .night-card-balance strong { font-size: 43px; }
  .dashboard-stat > span { font-size: 8px; letter-spacing: .1em; }
  .dashboard-section-head > a { font-size: 10px; }
  .quickplay-link { padding: 18px; }
  .quickplay-link h3 { margin-right: 36px; }
  .favorite-toggle { top: 11px; right: 11px; width: 42px; height: 42px; }
  .achievement-grid { grid-template-columns: 1fr; }
  .achievement-card { min-height: 155px; }
  .achievement-card p { min-height: 0; }
  .round-game small { max-width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-loader { animation: none; }
  .dashboard-btn,
  .dashboard-icon-btn,
  .quickplay-card,
  .quickplay-card > img,
  .favorite-toggle,
  .dashboard-notice { transition: none; }
}
