/* Crown Rush: bright court, dark scoreboards and tactile arcade controls. */
:root,
html.painted,
html.high-contrast.painted {
  color-scheme: dark;
  --cream: #f4f8ff;
  --paper: #101f46;
  --paper-2: #0c193a;
  --deep: #fff;
  --deep-2: #07132e;
  --ink: #f4f8ff;
  --ink-soft: #b7cdeb;
  --honey: #ffce34;
  --honey-dark: #ffce34;
  --gold: #ffce34;
  --sage: #40baff;
  --sage-soft: #15396a;
  --coral: #ff6950;
  --coral-dark: #d9442d;
  --line: #3a5c91;
  --shadow: 0 7px 0 #06132b, 0 15px 35px #020a2550;
  --font-display: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --font-ui: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0754ac;
  color: var(--ink);
}
body {
  background:
    var(--street-court) center/cover fixed no-repeat,
    #0754ac;
}
#game {
  background: transparent;
}
h1,
h2,
h3 {
  color: #f4f8ff;
  font-family: var(--font-display);
  font-weight: 1000;
}
h2,
h3 {
  letter-spacing: -0.025em;
}
button,
input,
select {
  font-family: var(--font-ui);
}
:focus-visible {
  outline: 3px solid #ffdb57;
  outline-offset: 4px;
}
.screen {
  overflow-x: clip;
  overflow-y: auto;
  background: #061a3c65;
  scrollbar-color: #3289ec #0d2346;
}
html.painted .card,
.card,
.panel,
.modal-card,
html.high-contrast.painted .card {
  background: #101f46;
  border: 2px solid #315b95;
  border-radius: 20px;
  box-shadow: var(--shadow);
  color: #f4f8ff;
  padding: 22px;
}
.card-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #315383;
}
.card-head h2 {
  color: #fff;
}
.modal {
  background: #020d2bc9;
  backdrop-filter: blur(5px);
}
html.painted .btn,
.btn,
html.high-contrast.painted .btn:not(.primary):not(.coral) {
  background: linear-gradient(#2387fa, #1268d8);
  color: #fff;
  border: 2px solid #5aa5ff;
  border-bottom-color: #1952a0;
  border-radius: 13px;
  box-shadow:
    0 5px 0 #06132e,
    inset 0 2px 0 #a7d7ff55;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}
html.painted .btn svg,
.btn svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  opacity: 1;
}
html.painted .btn.primary,
.btn.primary,
.hud-bottom .btn.hint {
  background: linear-gradient(#ffdf54, #ffc52d);
  color: #071b3b;
  border-color: #ffe994;
  box-shadow:
    0 5px 0 #926015,
    inset 0 2px 0 #fff5b5;
}
html.painted .btn.coral,
.btn.coral,
.hud-bottom .btn:nth-child(2) {
  background: linear-gradient(#ff8067, #ff6047);
  border-color: #ffac93;
  color: #091b38;
  box-shadow:
    0 5px 0 #9b3028,
    inset 0 2px 0 #ffd3b955;
}
html.painted .btn.ghost,
.btn.ghost {
  background: #172e55;
  border-color: #375788;
  box-shadow: 0 3px 0 #06132e;
}
html.painted .btn:active,
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #06132e;
}
html.painted .btn[disabled],
.btn[disabled] {
  opacity: 0.47;
  filter: none;
  transform: none;
  box-shadow: 0 2px 0 #06132e;
}
html.painted .btn.small,
.btn.small {
  min-height: 40px;
  font-size: 13px;
  padding: 8px 12px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
}
@media (hover: hover) {
  html.painted .btn:hover {
    background: #3995ff;
    box-shadow:
      0 5px 0 #06132e,
      inset 0 2px 0 #a7d7ff55;
  }
  html.painted .btn.primary:hover {
    background: #ffe576;
  }
  html.painted .btn.coral:hover {
    background: #ff927b;
  }
}
html.painted .screen.painted-home,
.screen:has(> .home) {
  background: #02143524;
  padding: 22px;
  overflow: hidden;
}
html.painted .screen.painted-home .home,
.screen .home {
  width: min(1060px, 100%);
  height: min(690px, 100%);
  min-height: 0;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 440px);
  grid-template-rows: 180px minmax(0, 1fr) 44px;
  gap: 12px 36px;
  align-items: stretch;
}
html.painted .screen.painted-home .title-card,
.home .title-card {
  grid-column: 1;
  grid-row: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.home .portrait-wrap,
.home .brand-logo,
.home .title-card .sub,
.home .title-card .tagline,
.home .title-card .badge {
  display: none !important;
}
html.painted .screen.painted-home h1,
.home .title-card h1 {
  font-size: 0;
  line-height: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--street-logo) center/contain no-repeat;
}
.home-stage {
  grid-column: 1;
  grid-row: 2/4;
  min-height: 0;
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.home-bunny {
  position: absolute;
  inset: 0;
  background: var(--street-amora) center bottom/contain no-repeat;
  z-index: 1;
}
.home-aura {
  position: absolute;
  inset: 15% 8% 2%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #36b9ff52, transparent 66%);
}
.home-sparks {
  display: none;
}
html.painted .screen.painted-home .home-menu,
.home .home-menu {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  width: 100%;
  margin: 0;
  background: #0c1d42ed;
  border: 2px solid #4c7ebe;
  box-shadow:
    0 7px 0 #06132e,
    0 15px 35px #020a2540;
  border-radius: 22px;
  padding: 18px !important;
}
html.painted .screen.painted-home .menu-list,
.home .menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
html.painted .screen.painted-home .menu-list .btn,
.home .menu-list .btn {
  justify-content: flex-start;
  min-width: 0;
  min-height: 66px;
  padding: 11px 12px;
  background: linear-gradient(#2387fa, #1268d8);
  color: #fff;
  border: 2px solid #5298ed;
  border-radius: 12px;
  box-shadow:
    0 4px 0 #06132e,
    inset 0 2px 0 #a7d7ff44;
  font-size: 14px;
  font-weight: 900;
  gap: 9px;
  margin: 0;
}
html.painted .screen.painted-home .menu-list .btn svg {
  width: 24px;
  height: 24px;
  opacity: 1;
}
html.painted .screen.painted-home .menu-list .btn.primary {
  grid-column: 1/-1;
  min-height: 72px;
  padding: 14px 16px;
  background: linear-gradient(#ffdf54, #ffc52d);
  border-color: #ffe994;
  color: #071b3b;
  box-shadow: 0 5px 0 #926015;
  font-size: 19px;
  margin: 0;
}
html.painted .screen.painted-home .has-resume .menu-list > :last-child,
html.painted .screen.painted-home .menu-list > :last-child:nth-child(even) {
  margin: 0;
  color: #fff;
  font-size: 14px;
  grid-column: 1/-1;
  justify-content: center;
}
.home .btn:not(.resume-game) .hint-text {
  display: none;
}
html.painted .screen.painted-home .menu-list .resume-game {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 3px 10px;
}
html.painted .screen.painted-home .menu-list .resume-game .hint-text {
  grid-column: 2;
  color: #263e54;
  font-size: 11px;
  font-weight: 800;
  margin: 0;
}
.home .lang-row {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  align-self: center;
}
.seg,
.lang-row .seg {
  background: #0c1d42;
  border: 1px solid #4771a4;
  box-shadow: none;
  padding: 3px;
}
.seg button {
  color: #b7cdeb;
  min-height: 36px;
}
.seg button[aria-pressed='true'] {
  background: #ffce34;
  color: #091c3b;
  box-shadow: none;
}
.choice,
.set,
.garden,
.node,
.stat {
  background: #152e59;
  border: 1px solid #3b6298;
  color: #f4f8ff;
}
.choice[aria-pressed='true'],
html.painted .set[aria-pressed='true'],
.set[aria-pressed='true'] {
  border-color: #ffcf35;
  background: #1b4173;
  box-shadow: 0 0 0 2px #ffcf3533;
}
.choice .desc,
.set .sub,
.label,
.muted,
.note,
.board-help,
.result-detail,
.opponent-style,
.tutorial-progress,
.volume-value,
.recent-list small,
.preview-boards figcaption,
html.painted .set[aria-pressed='true'] .sub {
  color: #b7cdeb;
}
.choice .lock {
  color: #bacdeb;
}
.large-pieces,
.reward-preview,
.loss-help {
  background: #172f59;
  color: #f4f8ff;
}
.set.locked .swatches {
  filter: none;
  opacity: 0.55;
}
.stat .v {
  color: #ffda43;
  font-weight: 1000;
}
.stat .k,
table.mini th {
  color: #b7cdeb;
}
.recent-list li,
table.mini td,
table.mini th {
  border-color: #315383;
}
.warn-box,
.banner .pill.warn {
  background: #ffd249;
  color: #10213e;
  border-color: #ffe99c;
}
.badge,
.result .seal {
  background: #ffce34;
  border-color: #ffe791;
  color: #071b3b;
}
.result .big {
  color: #ffda43;
  font-weight: 1000;
}
.result .quote,
.unlock-item,
.encounter-card blockquote {
  color: #f4f8ff;
}
.result .actions {
  background: #101f46 !important;
}
input:not([type='range']):not([type='checkbox']),
select,
.tutorial-select,
.stats-filters select {
  background: #091a39;
  color: #fff;
  border: 1px solid #527db5;
  border-radius: 9px;
  padding: 9px;
  max-width: 100%;
}
input[type='range'],
.set-row input[type='range'] {
  accent-color: #ffce34;
}
.toggle span {
  background: #355078;
  border: 1px solid #6b8bb7;
}
.toggle input:checked + span {
  background: #1678e5;
}
kbd {
  background: #1e3e6e;
  color: #fff;
  border-color: #587eb1;
}
.campaign-screen .campaign-summary {
  background: #101f46;
  border-color: #315383;
}
.campaign-chapters button {
  background: #173763;
  color: #fff;
  border-color: #3b6298;
}
.campaign-map {
  background: var(--street-campaign) center/cover no-repeat;
  position: relative;
  border-radius: 16px;
}
.map-node {
  color: #fff;
}
.map-node .map-status,
.map-node.sealed .map-status {
  color: #d7e7ff;
}
.node.sealed {
  background: #233f64;
  border-color: #ffce34;
}
.node svg,
.node.sealed svg {
  color: #ffce34;
}
.seal-progress span {
  background: #314b72;
}
.seal-progress span.on {
  background: #ffce34;
  box-shadow: inset 0 0 0 3px #ffe794;
}
html.painted .hud-panel,
.hud-panel,
html.high-contrast.painted .hud-panel {
  background: #0b1d42f5;
  border: 2px solid #3876bd;
  border-radius: 17px;
  box-shadow: 0 5px 0 #06132b;
  backdrop-filter: none;
  color: #f4f8ff;
}
.hud-top {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  max-height: 90px;
}
.hud-top .who {
  display: grid;
  text-align: left;
  justify-items: start;
  min-width: 0;
  gap: 2px;
}
html.painted .hud-top .name,
.hud-top .name {
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
}
html.painted .hud-top .status,
html.painted .hud-panel[data-human-turn='true'] .status,
html.painted .hud-panel[data-status='thinking'] .status {
  color: #ffdc54;
  font-size: 12px;
}
html.painted .hud-top .player-side {
  color: #b7cdeb;
  font-size: 10px;
}
.hud-top .portrait {
  align-self: center;
  max-height: 80px;
  object-fit: contain;
}
.score-group {
  margin-left: auto;
  flex: none;
}
html.painted .counts,
.counts {
  gap: 2px;
  color: #fff;
  font-size: 15px;
}
.count-row,
.count-row.active {
  color: #fff;
}
.count-row.active::before {
  background: #ffce34;
}
.count-row img {
  width: 24px;
  height: 28px;
  object-fit: contain;
}
.count-row .num {
  min-width: 17px;
}
html.painted .timer {
  border: 0;
  padding: 0;
  color: #b7cdeb;
  font-size: 10px;
  justify-content: flex-end;
}
.street-self {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  border-right: 1px solid #315383;
  padding-right: 8px;
}
.street-self img {
  width: 62px;
  height: 68px;
  object-fit: contain;
}
.street-self span {
  color: #ffce34;
  font-size: 10px;
  font-weight: 1000;
}
.street-brand {
  position: absolute;
  top: 22px;
  left: 24px;
  width: clamp(110px, 15vw, 220px);
  height: 150px;
  background: none;
  object-fit: contain;
  pointer-events: none;
}
.hud-bottom {
  display: flex !important;
  flex-direction: row;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 10px;
}
.hud-bottom .btn {
  max-width: none;
  flex: 1;
  min-width: 0;
  min-height: 52px;
  text-transform: uppercase;
  font-size: 14px;
}
.banner .pill,
.board-guide {
  background: #0b1d42ed;
  color: #dcecff;
  border: 1px solid #4278b6;
  box-shadow: 0 3px 0 #06132b;
}
.banner .pill.capture {
  background: #ffce34;
  color: #071b3b;
  box-shadow: 0 3px 0 #926015;
}
.banner .pill.good {
  background: #163e71;
  color: #fff;
}
.tut .ttl {
  color: #ffda43;
  font-weight: 1000;
}
.tut .txt {
  color: #f4f8ff;
}
.tut .txt.done {
  color: #ffda43;
}
.tut .dots span {
  background: #3a5279;
}
.tut .dots span.on {
  background: #ffce34;
}
.tut .dots span.done {
  background: #48acff;
}
.tut-btns .btn {
  font-size: 12px;
}
@media (max-width: 760px) and (max-aspect-ratio: 1/1) {
  html.painted .screen.painted-home,
  .screen:has(> .home) {
    padding: 12px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom));
  }
  html.painted .screen.painted-home .home,
  .screen .home {
    width: min(450px, 100%);
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(80px, 19%) minmax(60px, 1fr) auto 40px;
    gap: 8px;
  }
  html.painted .screen.painted-home .title-card {
    grid-column: 1;
    grid-row: 1;
  }
  .home-stage {
    grid-column: 1;
    grid-row: 2;
  }
  html.painted .screen.painted-home .home-menu {
    grid-column: 1;
    grid-row: 3;
    padding: 12px !important;
  }
  html.painted .screen.painted-home .menu-list {
    gap: 9px;
  }
  html.painted .screen.painted-home .menu-list .btn {
    min-height: 48px;
    font-size: 12px;
    padding: 8px;
    gap: 7px;
  }
  html.painted .screen.painted-home .menu-list .btn.primary {
    min-height: 54px;
    font-size: 17px;
    padding: 10px 12px;
  }
  html.painted .screen.painted-home .menu-list .btn svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }
  html.painted .screen.painted-home .has-resume .menu-list > :last-child {
    font-size: 12px;
  }
  .home .lang-row {
    grid-column: 1;
    grid-row: 4;
  }
  .street-brand {
    display: none;
  }
  .hud-top {
    gap: 6px;
    padding: 4px 7px;
  }
  .street-self {
    gap: 0;
    padding-right: 4px;
    flex-direction: column;
  }
  .street-self img {
    width: 40px;
    height: 44px;
  }
  .street-self span {
    font-size: 8px;
    line-height: 1;
  }
  html.painted .hud-top .name {
    font-size: 14px;
  }
  html.painted .hud-top .status {
    font-size: 10px;
  }
  html.painted .hud-top .player-side {
    font-size: 8px;
  }
  .count-row img {
    width: 17px;
    height: 21px;
  }
  .counts {
    font-size: 12px;
  }
  .count-row {
    gap: 2px;
  }
  .count-row .num {
    min-width: 13px;
  }
  .hud-bottom {
    gap: 7px;
  }
  .hud-bottom .btn {
    min-height: 46px;
    padding: 6px;
    font-size: 11px;
    gap: 6px;
  }
  .hud-bottom .btn svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .card,
  .modal-card {
    padding: 16px;
  }
}
@media (max-height: 620px) and (max-aspect-ratio: 1/1) {
  html.painted .screen.painted-home .home {
    grid-template-rows: 85px minmax(38px, 1fr) auto 36px;
    gap: 5px;
  }
  html.painted .screen.painted-home .home-menu {
    padding: 10px !important;
  }
  html.painted .screen.painted-home .menu-list .btn {
    min-height: 42px;
    padding: 7px;
    font-size: 11px;
  }
  html.painted .screen.painted-home .menu-list .btn.primary {
    min-height: 49px;
    font-size: 16px;
  }
}
@media (max-height: 500px) and (min-aspect-ratio: 1/1) {
  html.painted .screen.painted-home,
  .screen:has(> .home) {
    padding: 12px;
  }
  html.painted .screen.painted-home .home {
    height: 100%;
    width: min(920px, 100%);
    grid-template-columns: minmax(130px, 1fr) minmax(290px, 1.25fr);
    grid-template-rows: 95px minmax(0, 1fr) 33px;
    gap: 6px 16px;
  }
  html.painted .screen.painted-home .home-menu {
    padding: 11px !important;
  }
  html.painted .screen.painted-home .menu-list {
    gap: 8px;
  }
  html.painted .screen.painted-home .menu-list .btn {
    min-height: 38px;
    padding: 6px 8px;
    font-size: 11px;
  }
  html.painted .screen.painted-home .menu-list .btn.primary {
    min-height: 42px;
    padding: 7px 10px;
    font-size: 15px;
  }
  html.painted .screen.painted-home .menu-list .btn svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
  html.painted .screen.painted-home .has-resume .menu-list > :last-child {
    font-size: 11px;
  }
  .home .seg button {
    min-height: 26px;
    font-size: 11px;
    padding: 4px 10px;
  }
  .street-brand {
    top: 10px;
    left: 12px;
    width: 100px;
    height: 80px;
  }
  .hud-top {
    padding: 2px 7px;
    border-radius: 12px;
    gap: 6px;
  }
  html.painted .hud-top .name {
    font-size: 13px;
  }
  html.painted .hud-top .status {
    font-size: 10px;
  }
  html.painted .hud-top .player-side {
    display: none;
  }
  .street-self img {
    width: 35px;
    height: 38px;
  }
  .street-self span {
    font-size: 8px;
  }
  .count-row img {
    width: 16px;
    height: 18px;
  }
  .counts {
    font-size: 11px;
  }
  .hud-bottom .btn {
    min-height: 36px;
    padding: 4px 7px;
    font-size: 11px;
    gap: 6px;
    border-radius: 9px;
  }
  .hud-bottom .btn svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  .banner .pill {
    font-size: 11px;
    min-height: 24px;
    padding: 3px 8px;
  }
  .tut {
    padding: 6px 9px;
    gap: 3px;
  }
  .tut .ttl {
    font-size: 13px;
  }
  .tut .txt {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
html.reduced *,
html.reduced *::before,
html.reduced *::after {
  animation: none !important;
  transition: none !important;
}

/* End of src/street.css */

/* End of assets/street-BqBXusuB.css */
