* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(
      circle at 80% 0%,
      rgba(214, 166, 60, .12),
      transparent 27%
    ),
    #080808;

  color: #fff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

button,
input {
  font: inherit;
}

.oro-topbar {
  height: 84px;

  display: flex;
  align-items: center;

  border-bottom:
    1px solid
    rgba(255,255,255,.08);

  background:
    rgba(7,7,7,.92);
}

.oro-brand {
  width: min(
    1180px,
    calc(100% - 40px)
  );

  margin: 0 auto;

  display: flex;
  align-items: center;

  gap: 13px;
}

.oro-mark {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border:
    1px solid #d4a82f;

  border-radius: 50%;

  color: #efc342;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.oro-brand strong,
.oro-brand small {
  display: block;
}

.oro-brand strong {
  font-size: 15px;
}

.oro-brand small {
  margin-top: 3px;

  color: #a8a8ad;

  font-size: 10px;
  letter-spacing: .08em;

  text-transform: uppercase;
}

.vote-shell {
  width: min(
    980px,
    calc(100% - 32px)
  );

  margin: 0 auto;

  padding:
    64px 0
    100px;
}

.vote-hero {
  text-align: center;
}

.vote-kicker {
  color: #d7a929;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .19em;
}

.vote-hero h1 {
  margin:
    10px 0 8px;

  font-size:
    clamp(
      40px,
      7vw,
      68px
    );

  line-height: .98;

  letter-spacing: -.055em;
}

.vote-hero p {
  margin: 0;

  color: #aaaab0;

  font-size: 16px;
}

.vote-loading {
  padding: 70px 0;

  color: #aaa;

  text-align: center;
}

.event-card {
  margin-top: 48px;

  padding: 24px 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border:
    1px solid
    rgba(224,176,60,.26);

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.025)
    );
}

.event-card span,
.session-heading span {
  color: #9a9aa0;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .14em;
}

.event-card h2,
.session-heading h2 {
  margin:
    6px 0 0;
}

.event-card p {
  margin:
    5px 0 0;

  color: #a1a1a6;
}

.open-pill {
  padding:
    8px 12px;

  border:
    1px solid
    rgba(42,188,110,.35);

  border-radius: 999px;

  color: #43d689;

  background:
    rgba(42,188,110,.1);

  font-size: 10px;
  font-weight: 900;
}

.session-heading {
  margin-top: 34px;

  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 16px;
}

.routine-count {
  color: #a5a5aa;

  font-size: 12px;
}

.search-wrap {
  margin-top: 20px;
}

.search-wrap input {
  width: 100%;
  height: 54px;

  padding:
    0 18px;

  border:
    1px solid
    rgba(255,255,255,.13);

  border-radius: 14px;

  outline: none;

  color: #fff;

  background:
    rgba(255,255,255,.055);
}

.search-wrap input:focus {
  border-color:
    rgba(224,176,60,.7);

  box-shadow:
    0 0 0 3px
    rgba(224,176,60,.09);
}

.routine-list {
  margin-top: 16px;

  display: grid;

  gap: 10px;
}

.routine-row {
  min-height: 72px;

  padding:
    12px 14px
    12px 18px;

  display: grid;

  grid-template-columns:
    76px 1fr auto;

  align-items: center;

  gap: 14px;

  border:
    1px solid
    rgba(255,255,255,.09);

  border-radius: 15px;

  background:
    rgba(255,255,255,.035);
}

.routine-number {
  color: #efc13d;

  font-size: 17px;
  font-weight: 900;
}

.routine-name {
  min-width: 0;
}

.routine-name strong {
  display: block;

  overflow: hidden;

  color: #f5f5f6;

  font-size: 14px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.routine-name small {
  display: block;

  margin-top: 4px;

  overflow: hidden;

  color: #8d8d93;

  font-size: 11px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.routine-row button {
  min-width: 88px;
  height: 40px;

  border: 0;

  border-radius: 10px;

  color: #171208;

  background:
    linear-gradient(
      135deg,
      #f4ce61,
      #d8a31f
    );

  font-size: 12px;
  font-weight: 900;

  cursor: pointer;
}

.routine-row button:hover {
  filter:
    brightness(1.08);
}

.closed-card {
  max-width: 640px;

  margin:
    55px auto 0;

  padding:
    48px 30px;

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: 22px;

  background:
    rgba(255,255,255,.04);

  text-align: center;
}

.closed-badge {
  display:
    inline-flex;

  padding:
    7px 11px;

  border-radius: 999px;

  color: #aaa;

  background:
    rgba(255,255,255,.07);

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .1em;
}

.closed-card h2 {
  margin:
    18px 0 8px;
}

.closed-card p {
  margin: 0;

  color: #99999f;
}

.no-results {
  padding: 40px 0;

  color: #8f8f94;

  text-align: center;
}

.vote-modal {
  position: fixed;
  inset: 0;

  z-index: 1000;

  display: grid;
  place-items: center;

  padding: 20px;
}

.vote-modal[hidden] {
  display: none;
}

.vote-modal-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(0,0,0,.78);

  backdrop-filter:
    blur(7px);
}

.vote-confirm {
  position: relative;

  z-index: 1;

  width:
    min(
      460px,
      100%
    );

  padding:
    34px;

  border:
    1px solid
    rgba(223,176,59,.28);

  border-radius: 22px;

  background:
    #141414;

  box-shadow:
    0 30px 90px
    rgba(0,0,0,.55);
}

.modal-close {
  position: absolute;

  top: 14px;
  right: 15px;

  width: 36px;
  height: 36px;

  border: 0;
  border-radius: 50%;

  color: #aaa;

  background:
    rgba(255,255,255,.06);

  font-size: 21px;

  cursor: pointer;
}

.selected-number {
  margin-top: 21px;

  color: #e9bb38;

  font-size: 27px;
  font-weight: 900;
}

.vote-confirm h2 {
  margin:
    6px 0 8px;

  font-size: 26px;

  letter-spacing: -.03em;
}

.vote-confirm > p {
  margin:
    0 0 25px;

  color: #99999f;

  line-height: 1.5;
}

.vote-confirm label {
  display: grid;

  gap: 8px;

  color: #c4c4c8;

  font-size: 12px;
  font-weight: 700;
}

.vote-confirm input {
  width: 100%;
  height: 50px;

  padding:
    0 14px;

  border:
    1px solid
    rgba(255,255,255,.14);

  border-radius: 11px;

  outline: none;

  color: #fff;

  background:
    #202022;
}

.vote-confirm form button,
#finishVote {
  width: 100%;
  height: 50px;

  margin-top: 14px;

  border: 0;

  border-radius: 11px;

  color: #181208;

  background:
    linear-gradient(
      135deg,
      #f5cd5c,
      #dca61f
    );

  font-weight: 900;

  cursor: pointer;
}

.vote-rule {
  display: block;

  margin-top: 14px;

  color: #74747a;

  text-align: center;
}

.vote-error {
  margin-top: 13px;

  padding: 11px 12px;

  border:
    1px solid
    rgba(222,74,74,.28);

  border-radius: 10px;

  color: #ff9c9c;

  background:
    rgba(200,50,50,.08);

  font-size: 12px;
}

.vote-confirm.success {
  text-align: center;
}

.success-mark {
  width: 64px;
  height: 64px;

  margin:
    0 auto 22px;

  display: grid;
  place-items: center;

  border:
    1px solid
    #d8a92e;

  border-radius: 50%;

  color: #ebbc38;

  font-size: 14px;
  font-weight: 900;
}

@media (
  max-width: 620px
) {

  .oro-topbar {
    height: 72px;
  }

  .vote-shell {
    width:
      min(
        100% - 24px,
        980px
      );

    padding-top: 42px;
  }

  .event-card {
    margin-top: 34px;

    padding: 20px;

    align-items: flex-start;

    flex-direction: column;
  }

  .routine-row {
    grid-template-columns:
      54px 1fr auto;

    gap: 9px;

    padding:
      10px 10px
      10px 13px;
  }

  .routine-number {
    font-size: 14px;
  }

  .routine-name strong {
    font-size: 12px;
  }

  .routine-name small {
    display: none;
  }

  .routine-row button {
    min-width: 66px;
    height: 38px;

    padding:
      0 10px;
  }

  .vote-confirm {
    padding:
      30px 22px;
  }
}
