body:has(.card-start) {padding:0}
.card-start {
  width:100%;
  height:100dvh;
  overflow:auto;
  padding:0 max(4%, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4%, env(safe-area-inset-left));
  background:
    linear-gradient(90deg,#101c24fa,#142723be 44%,#0f221d42 100%),
    url('../assets/cards.png') 61% center / cover no-repeat,
    #101e24;
  color:#f6f2e8;
}
.card-start-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  height:84px;
  background:none;
  border:0;
  padding:0;
}
.card-start-brand {display:inline-flex}
.card-start-brand img {display:block;width:clamp(132px,17vw,245px);height:auto}
.card-start-top button {
  min-height:40px;
  padding:5px 14px;
  color:#f5f3e9;
  background:#202b32eb;
  border:1px solid #73828b;
  border-radius:7px;
  box-shadow:none;
}
.card-start .card-start-content {
  width:min(100%,1120px);
  min-height:calc(100% - 114px);
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:center;
  justify-items:center;
  gap:clamp(7px,2vh,20px);
  padding:24px 0 36px;
}
.card-start-copy {min-width:0;text-align:center}
.card-start-copy h1 {
  margin:0 0 13px;
  font-size:clamp(32px,4.6vw,58px);
  line-height:1.1;
  
}
.card-start-copy p {
  margin:0 0 19px;
  color:#e1e5e7;
  font-size:clamp(13px,1.6vw,17px);
  line-height:1.65;
  word-break:keep-all;
}
.card-start-copy p.card-start-grant {font-size:13px;margin-top:11px;color:#cbd4d1}
.card-start-copy button.primary {
  min-height:46px;
  min-width:172px;
  padding:8px 17px;
  color:#232318;
  border:1px solid #f2d999;
  border-radius:7px;
  font-size:15px;
  background:#f2d999;
  box-shadow:0 8px 25px #0005;
}
.card-start-copy button.primary:hover {background:#ffe6a9}
.card-start-cards {
  grid-row:1;
  isolation:isolate;
  min-width:0;
  min-height:242px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-inline:15px;
}
.card-start .card-start-cards .mini-card {
  width:118px;
  height:154px;
  margin:0;
  zoom:1.3;
  border-radius:6px;
  filter:drop-shadow(0 8px 16px #000a);
}
.card-start .card-start-cards .roster-card {transform:none}
.card-start-cards .mini-card:first-child {transform:translate(10%,3%) rotate(-11deg)}
.card-start-cards .mini-card:nth-child(2) {position:relative;z-index:1;transform:translateY(-6%)}
.card-start-cards .mini-card:last-child {transform:translate(-10%,3%) rotate(11deg)}
@media(max-width:900px) {
  .card-start .card-start-cards .mini-card {zoom:1}
}
@media(max-width:650px) {
  .card-start {padding-inline:14px;background-position:63% center}
  .card-start-top {height:66px}
  .card-start .card-start-content {min-height:calc(100% - 66px);gap:7px;padding-block:18px 24px}
  .card-start-cards {min-height:153px}
  .card-start .card-start-cards .mini-card {zoom:.73}
}

#dialog.club-create-dialog {
  --create-surface:#202428;
  --create-raised:#292e33;
  --create-edge:#77818a;
  --create-text:#f0f1ed;
  color:var(--create-text);
  background:var(--create-surface);
  border-color:var(--create-edge);
  border-radius:10px;
}
.light #dialog.club-create-dialog {
  --create-surface:#f6f6f1;
  --create-raised:#e9ede9;
  --create-edge:#879299;
  --create-text:#20252a;
}
.club-create-dialog :is(.dialog-header,.dialog-footer) {color:var(--create-text);background:var(--create-surface)}
.club-create-dialog .club-options button {
  min-width:0;
  color:var(--create-text);
  background:var(--create-raised);
  border-color:var(--create-edge);
  border-radius:7px;
}
.club-create-dialog .club-options button.selected {
  background:color-mix(in srgb,#c29649 21%,var(--create-raised));
  border-color:#c29649;
  box-shadow:inset 0 0 0 1px #c29649;
}
.club-create-dialog .starting-grants {color:var(--create-text);background:var(--create-raised);border-color:var(--create-edge)}
