/* rules */

.section.rules-header{
  --site-page-hero-accent-rgb:34,197,94;
  --site-page-hero-secondary-rgb:168,85,247;
  margin:0 0 22px;
}

.section.rules-header .site-page-hero-description{
  color:#b9c9c0;
}

@media (max-width:560px){
  .section.rules-header .site-page-hero-copy{
    padding-right:64px;
  }
}

.rules-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:16px !important;
}

.rules-intro-shell,
.rules-chapter,
.structures-rule-link{
  margin-bottom:22px;
}

.rules-floor-note,
.structures-rule-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.rules-floor-note h2{
  margin:4px 0 8px;
  color:#f0fff5;
  font-size:1.28rem;
}

.rules-floor-note p,
.structures-rule-link p{
  max-width:820px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.rules-floor-note .btn,
.structures-rule-link .btn{
  flex:0 0 auto;
  text-align:center;
}

.rules-floor-note .paired-page-cta,
.structures-rule-link .paired-page-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 17px;
  border:1px solid #dca620;
  border-radius:12px;
  color:#1b1305;
  background:linear-gradient(180deg,#ffd568,#ffb81c);
  box-shadow:0 7px 17px rgba(255,184,28,.16);
  font-size:.9rem;
  font-weight:900;
  line-height:1.1;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}

.rules-floor-note .paired-page-cta:hover,
.structures-rule-link .paired-page-cta:hover{
  color:#110d05;
  filter:brightness(1.06);
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(255,184,28,.22);
}

.rules-floor-note .paired-page-cta:active,
.structures-rule-link .paired-page-cta:active{
  transform:translateY(0);
  box-shadow:0 4px 11px rgba(255,184,28,.15);
}

.rules-chapter .section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.rules-chapter .section-head h2{
  margin:0;
}

.rules-mobile-jump,
.rules-chapter-toggle{
  display:none;
}

@media (max-width:900px){
  .rules-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width:640px){
  .rules-mobile-jump{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin:0 0 18px;
    padding:10px;
    border:1px solid rgba(255,184,28,.18);
    border-radius:16px;
    background:rgba(10,16,23,.74);
  }

  .rules-mobile-jump a{
    display:flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:10px;
    color:#e8eef5;
    background:rgba(255,255,255,.035);
    font-size:.8rem;
    font-weight:850;
    line-height:1.2;
    text-align:center;
  }

  .rules-chapter{
    scroll-margin-top:16px;
  }

  .rules-chapter .section-head{
    position:relative;
    min-height:48px;
    margin:0;
    padding:4px 48px 4px 0;
    align-items:center;
  }

  .rules-chapter.is-open .section-head{
    margin-bottom:14px;
  }

  .rules-chapter-toggle{
    position:absolute;
    inset:0;
    z-index:1;
    display:block;
    width:100%;
    min-width:0;
    height:100%;
    min-height:48px;
    padding:0;
    border:0;
    border-radius:10px;
    color:#ffd568;
    background:transparent;
    cursor:pointer;
  }

  .rules-chapter-toggle:hover,
  .rules-chapter-toggle:active{
    background:linear-gradient(90deg,transparent 55%,rgba(255,184,28,.06));
  }

  .rules-chapter-toggle:focus-visible{
    outline:2px solid #ffd568;
    outline-offset:3px;
    box-shadow:none;
  }

  .rules-chapter-toggle::before,
  .rules-chapter-toggle::after{
    content:"";
    position:absolute;
    top:50%;
    right:14px;
    width:14px;
    border-top:2px solid currentColor;
    transform:translateY(-50%);
    transition:transform .16s ease,opacity .16s ease;
  }

  .rules-chapter-toggle::after{
    transform:translateY(-50%) rotate(90deg);
  }

  .rules-chapter-toggle[aria-expanded="true"]::after{
    opacity:0;
    transform:translateY(-50%) rotate(0deg);
  }

  .rules-grid[hidden]{
    display:none !important;
  }

  .rules-grid{
    grid-template-columns:1fr !important;
  }

  .rules-floor-note,
  .structures-rule-link{
    align-items:stretch;
    flex-direction:column;
  }
}

.rule-card{
  padding:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.014) 22%, rgba(255,255,255,.01) 100%);
  border:1px solid var(--line);
  border-color:rgba(255,255,255,.11);
  border-radius:18px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 10px 24px rgba(0,0,0,.18);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rule-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.16);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 12px 26px rgba(0,0,0,.22);
}

.rules-grid .rule-card{
  position:relative;
  overflow:hidden;
}

.rules-grid .rule-card::before{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:3px;
  border-radius:999px;
  opacity:.95;
}

.rules-grid .rule-card:nth-child(1){
  border-color:rgba(59,130,246,.18);
  background:
    radial-gradient(circle at top right, rgba(59,130,246,.16), transparent 34%),
    linear-gradient(180deg, rgba(59,130,246,.09), rgba(59,130,246,.02) 22%, rgba(255,255,255,.01) 100%);
  box-shadow:
    0 0 0 1px rgba(59,130,246,.06),
    0 10px 24px rgba(0,0,0,.18),
    0 0 18px rgba(59,130,246,.08);
}

.rules-grid .rule-card:nth-child(1)::before{
  background:linear-gradient(90deg, rgba(59,130,246,.95), rgba(59,130,246,.15));
  box-shadow:0 0 10px rgba(59,130,246,.16);
}

.rules-grid .rule-card:nth-child(1):hover{
  border-color:rgba(59,130,246,.32);
  box-shadow:
    0 0 0 1px rgba(59,130,246,.10),
    0 12px 26px rgba(0,0,0,.22),
    0 0 20px rgba(59,130,246,.12);
}

.rules-grid .rule-card:nth-child(2){
  border-color:rgba(34,197,94,.18);
  background:
    radial-gradient(circle at top right, rgba(34,197,94,.15), transparent 34%),
    linear-gradient(180deg, rgba(34,197,94,.08), rgba(34,197,94,.02) 22%, rgba(255,255,255,.01) 100%);
  box-shadow:
    0 0 0 1px rgba(34,197,94,.06),
    0 10px 24px rgba(0,0,0,.18),
    0 0 18px rgba(34,197,94,.08);
}

.rules-grid .rule-card:nth-child(2)::before{
  background:linear-gradient(90deg, rgba(34,197,94,.95), rgba(34,197,94,.15));
  box-shadow:0 0 10px rgba(34,197,94,.16);
}

.rules-grid .rule-card:nth-child(2):hover{
  border-color:rgba(34,197,94,.30);
  box-shadow:
    0 0 0 1px rgba(34,197,94,.10),
    0 12px 26px rgba(0,0,0,.22),
    0 0 20px rgba(34,197,94,.12);
}

.rules-grid .rule-card:nth-child(3){
  border-color:rgba(168,85,247,.18);
  background:
    radial-gradient(circle at top right, rgba(168,85,247,.16), transparent 34%),
    linear-gradient(180deg, rgba(168,85,247,.08), rgba(168,85,247,.02) 22%, rgba(255,255,255,.01) 100%);
  box-shadow:
    0 0 0 1px rgba(168,85,247,.06),
    0 10px 24px rgba(0,0,0,.18),
    0 0 18px rgba(168,85,247,.08);
}

.rules-grid .rule-card:nth-child(3)::before{
  background:linear-gradient(90deg, rgba(168,85,247,.95), rgba(168,85,247,.15));
  box-shadow:0 0 10px rgba(168,85,247,.16);
}

.rules-grid .rule-card:nth-child(3):hover{
  border-color:rgba(168,85,247,.30);
  box-shadow:
    0 0 0 1px rgba(168,85,247,.10),
    0 12px 26px rgba(0,0,0,.22),
    0 0 20px rgba(168,85,247,.12);
}

.rules-grid .rule-card:nth-child(4){
  border-color:rgba(239,68,68,.18);
  background:
    radial-gradient(circle at top right, rgba(239,68,68,.15), transparent 34%),
    linear-gradient(180deg, rgba(239,68,68,.08), rgba(239,68,68,.02) 22%, rgba(255,255,255,.01) 100%);
  box-shadow:
    0 0 0 1px rgba(239,68,68,.06),
    0 10px 24px rgba(0,0,0,.18),
    0 0 18px rgba(239,68,68,.08);
}

.rules-grid .rule-card:nth-child(4)::before{
  background:linear-gradient(90deg, rgba(239,68,68,.95), rgba(239,68,68,.15));
  box-shadow:0 0 10px rgba(239,68,68,.16);
}

.rules-grid .rule-card:nth-child(4):hover{
  border-color:rgba(239,68,68,.30);
  box-shadow:
    0 0 0 1px rgba(239,68,68,.10),
    0 12px 26px rgba(0,0,0,.22),
    0 0 20px rgba(239,68,68,.12);
}

.rule-card-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.rule-card-title-wrap{
  flex:1 1 auto;
  min-width:0;
}

.rule-roast-avatar{
  flex:0 0 46px;
  width:46px;
  height:46px;
  margin-left:auto;
  border:2px solid rgba(244,231,192,.9);
  border-radius:50%;
  background:#101216;
  box-shadow:
    0 0 0 2px rgba(227,179,65,.22),
    0 6px 14px rgba(0,0,0,.32);
  object-fit:cover;
}

.dealer-button-icon{
  position:relative;
  isolation:isolate;
  --retired-b-shape:polygon(
    0 100%,
    0 88.7%,
    8.1% 82.2%,
    8.1% 17.9%,
    0 11.3%,
    0 0,
    80% 0,
    100% 16.1%,
    100% 40.4%,
    88% 50%,
    100% 59.6%,
    100% 84%,
    80% 100%
  );
  flex:0 0 62px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:
    linear-gradient(#111317,#111317) center / 100% 3px no-repeat,
    linear-gradient(#111317,#111317) center / 3px 100% no-repeat,
    linear-gradient(
      45deg,
      transparent calc(50% - 1.5px),
      #111317 calc(50% - 1.5px) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)
    ),
    linear-gradient(
      135deg,
      transparent calc(50% - 1.5px),
      #111317 calc(50% - 1.5px) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)
    ),
    #f4e7c0;
  border:3px solid #e3b341;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#090a0c;
  font-family:"Arial Black",Arial,sans-serif;
  font-size:1.2rem;
  font-weight:900;
  letter-spacing:-.035em;
  line-height:1;
  text-shadow:0 1px 0 rgba(255,247,220,.42);
  box-shadow:
    0 8px 16px rgba(0,0,0,.32),
    0 0 12px rgba(227,179,65,.16);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dealer-button-icon::before,
.dealer-button-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(calc(-50% + 2px),-50%);
  clip-path:var(--retired-b-shape);
}

.dealer-button-icon::before{
  z-index:1;
  width:34px;
  height:40px;
  background:#101216;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.42));
}

.dealer-button-icon::after{
  z-index:2;
  width:30px;
  height:36px;
  background:#e3b341;
}

.dealer-button-number{
  position:relative;
  z-index:3;
  transform:translateX(2px);
  text-shadow:none;
}

.rule-card:hover .dealer-button-icon{
  transform:translateY(-1px);
}

.rule-card-title-wrap h3{
  margin:0;
  transition:color .18s ease, text-shadow .18s ease;
}

.rules-grid .rule-card:nth-child(1) .rule-card-title-wrap h3{
  color:#bfdbfe;
  text-shadow:0 0 10px rgba(59,130,246,.12);
}

.rules-grid .rule-card:nth-child(2) .rule-card-title-wrap h3{
  color:#bbf7d0;
  text-shadow:0 0 10px rgba(34,197,94,.12);
}

.rules-grid .rule-card:nth-child(3) .rule-card-title-wrap h3{
  color:#e9d5ff;
  text-shadow:0 0 10px rgba(168,85,247,.12);
}

.rules-grid .rule-card:nth-child(4) .rule-card-title-wrap h3{
  color:#fecaca;
  text-shadow:0 0 10px rgba(239,68,68,.12);
}

.rule-card p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.rules-table-bg .rules-format .timer-rail{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:14px 0 18px;
  padding:0 18px;
}

.timer-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  padding:10px 7px;
  background:rgba(255,255,255,.04);
  color:#fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 6px 16px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.04);
  line-height:1;
}

.timer-rail .timer-pill:nth-child(1){
  border-color:rgba(59,130,246,.34);
  background:
    linear-gradient(180deg, rgba(59,130,246,.18), rgba(59,130,246,.06)),
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 60%);
  box-shadow:
    0 6px 16px rgba(0,0,0,.18),
    0 0 0 1px rgba(59,130,246,.10),
    0 0 16px rgba(59,130,246,.10);
}

.timer-rail .timer-pill:nth-child(1) strong{
  color:#93c5fd;
}

.timer-rail .timer-pill:nth-child(2){
  border-color:rgba(255,213,108,.36);
  background:
    linear-gradient(180deg, rgba(255,213,108,.18), rgba(255,213,108,.06)),
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 60%);
  box-shadow:
    0 6px 16px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,213,108,.10),
    0 0 16px rgba(255,213,108,.10);
}

.timer-rail .timer-pill:nth-child(2) strong{
  color:#ffe29a;
}

.timer-rail .timer-pill:nth-child(3){
  border-color:rgba(168,85,247,.34);
  background:
    linear-gradient(180deg, rgba(168,85,247,.18), rgba(168,85,247,.06)),
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 60%);
  box-shadow:
    0 6px 16px rgba(0,0,0,.18),
    0 0 0 1px rgba(168,85,247,.10),
    0 0 16px rgba(168,85,247,.10);
}

.timer-rail .timer-pill:nth-child(3) strong{
  color:#d8b4fe;
}

.timer-rail .timer-pill:nth-child(4){
  border-color:rgba(34,197,94,.34);
  background:
    linear-gradient(180deg, rgba(34,197,94,.18), rgba(34,197,94,.06)),
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 60%);
  box-shadow:
    0 6px 16px rgba(0,0,0,.18),
    0 0 0 1px rgba(34,197,94,.10),
    0 0 16px rgba(34,197,94,.10);
}

.timer-rail .timer-pill:nth-child(4) strong{
  color:#86efac;
}

.timer-rail .timer-pill:nth-child(5){
  border-color:rgba(239,68,68,.34);
  background:
    linear-gradient(180deg, rgba(239,68,68,.18), rgba(239,68,68,.06)),
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 60%);
  box-shadow:
    0 6px 16px rgba(0,0,0,.18),
    0 0 0 1px rgba(239,68,68,.10),
    0 0 16px rgba(239,68,68,.10);
}

.timer-rail .timer-pill:nth-child(5) strong{
  color:#fca5a5;
}

.timer-pill-payouts{
  flex:1 1 100%;
  flex-wrap:wrap;
  padding-right:14px;
  padding-left:14px;
  line-height:1.4;
  text-align:center;
}

.timer-pill:hover{
  transform:translateY(-1px);
  box-shadow:
    0 8px 18px rgba(0,0,0,.22);
}

.rules-chip-panel{
  padding:16px;
  margin:14px 0 18px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.rules-chip-grid{
  display:grid !important;
  grid-template-columns:repeat(7, minmax(0,1fr)) !important;
  gap:14px !important;
}

@media (min-width:801px){
  .rules-chip-grid.rules-chip-grid-5{
    grid-template-columns:repeat(5, minmax(0,1fr)) !important;
  }
}

.rules-chip-card{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:14px 10px;
  text-align:center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015) 28%, rgba(255,255,255,.02) 100%);
  min-height:170px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 8px 20px rgba(0,0,0,.16);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rules-chip-card.chip-25{
  background:
    linear-gradient(180deg, rgba(34,197,94,.18), rgba(34,197,94,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-100{
  background:
    linear-gradient(180deg, rgba(148,163,184,.18), rgba(148,163,184,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-500{
  background:
    linear-gradient(180deg, rgba(168,85,247,.18), rgba(168,85,247,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-1000{
  background:
    linear-gradient(180deg, rgba(250,204,21,.18), rgba(250,204,21,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-5000{
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-10000{
  background:
    linear-gradient(180deg, rgba(249,115,22,.18), rgba(249,115,22,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-25000{
  background:
    linear-gradient(180deg, rgba(239,68,68,.18), rgba(239,68,68,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-100000{
  background:
    linear-gradient(180deg, rgba(244,114,182,.18), rgba(244,114,182,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card.chip-250000{
  background:
    linear-gradient(180deg, rgba(59,130,246,.18), rgba(59,130,246,.06) 28%, rgba(255,255,255,.02) 100%);
}

.rules-chip-card:hover{
  transform:translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0,0,0,.20);
}

.rules-chip-image{
  width:76px;
  height:76px;
  object-fit:contain;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.35));
  transition:filter .18s ease, transform .18s ease;
}

.rules-chip-card:hover .rules-chip-image{
  transform:translateY(-1px) scale(1.03);
}

.rules-chip-card.chip-25 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(34,197,94,.20)); }
.rules-chip-card.chip-100 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(148,163,184,.16)); }
.rules-chip-card.chip-500 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(168,85,247,.20)); }
.rules-chip-card.chip-1000 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(250,204,21,.20)); }
.rules-chip-card.chip-5000 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(255,255,255,.18)); }
.rules-chip-card.chip-10000 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(249,115,22,.20)); }
.rules-chip-card.chip-25000 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(239,68,68,.20)); }
.rules-chip-card.chip-100000 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(244,114,182,.20)); }
.rules-chip-card.chip-250000 .rules-chip-image{ filter:drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(59,130,246,.20)); }

.rules-chip-card.chip-25:hover{
  border-color:rgba(21,128,61,.72);
  box-shadow:
    0 0 0 1px rgba(21,128,61,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(21,128,61,.18);
}

.rules-chip-card.chip-100:hover{
  border-color:rgba(71,85,105,.72);
  box-shadow:
    0 0 0 1px rgba(71,85,105,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(71,85,105,.16);
}

.rules-chip-card.chip-500:hover{
  border-color:rgba(126,34,206,.72);
  box-shadow:
    0 0 0 1px rgba(126,34,206,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(126,34,206,.18);
}

.rules-chip-card.chip-1000:hover{
  border-color:rgba(202,138,4,.76);
  box-shadow:
    0 0 0 1px rgba(202,138,4,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(202,138,4,.18);
}

.rules-chip-card.chip-5000:hover{
  border-color:rgba(203,213,225,.76);
  box-shadow:
    0 0 0 1px rgba(203,213,225,.16),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(203,213,225,.14);
}

.rules-chip-card.chip-10000:hover{
  border-color:rgba(194,65,12,.76);
  box-shadow:
    0 0 0 1px rgba(194,65,12,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(194,65,12,.18);
}

.rules-chip-card.chip-25000:hover{
  border-color:rgba(185,28,28,.76);
  box-shadow:
    0 0 0 1px rgba(185,28,28,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(185,28,28,.18);
}

.rules-chip-card.chip-100000:hover{
  border-color:rgba(190,24,93,.76);
  box-shadow:
    0 0 0 1px rgba(190,24,93,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(190,24,93,.18);
}

.rules-chip-card.chip-250000:hover{
  border-color:rgba(29,78,216,.76);
  box-shadow:
    0 0 0 1px rgba(29,78,216,.18),
    0 10px 24px rgba(0,0,0,.20),
    0 0 18px rgba(29,78,216,.18);
}

.rules-chip-image.is-missing{
  display:none;
}

.rules-chip-fallback{
  width:76px;
  height:76px;
  border-radius:50%;
  border:3px solid rgba(255,255,255,.18);
  display:none;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:800;
  color:#dfe7ef;
  background:linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,0)), linear-gradient(135deg,#1b2530 0%,#10161d 100%);
}

.rules-chip-fallback.is-visible{
  display:flex;
}

.rules-chip-label{
  font-weight:800;
  color:#fff;
}

.rules-chip-count{
  color:var(--muted);
  font-size:.88rem;
  line-height:1.35;
  font-weight:400;
}

.rules-chip-card.chip-25 .rules-chip-label,
.rules-chip-card.chip-25 .rules-chip-count{
  color:#86efac;
}

.rules-chip-card.chip-100 .rules-chip-label,
.rules-chip-card.chip-100 .rules-chip-count{
  color:#d1d5db;
}

.rules-chip-card.chip-500 .rules-chip-label,
.rules-chip-card.chip-500 .rules-chip-count{
  color:#d8b4fe;
}

.rules-chip-card.chip-1000 .rules-chip-label,
.rules-chip-card.chip-1000 .rules-chip-count{
  color:#fde68a;
}

.rules-chip-card.chip-5000 .rules-chip-label,
.rules-chip-card.chip-5000 .rules-chip-count{
  color:#ffffff;
}

.rules-chip-card.chip-10000 .rules-chip-label,
.rules-chip-card.chip-10000 .rules-chip-count{
  color:#fdba74;
}

.rules-chip-card.chip-25000 .rules-chip-label,
.rules-chip-card.chip-25000 .rules-chip-count{
  color:#fca5a5;
}

.rules-chip-card.chip-100000 .rules-chip-label,
.rules-chip-card.chip-100000 .rules-chip-count{
  color:#f9a8d4;
}

.rules-chip-card.chip-250000 .rules-chip-label,
.rules-chip-card.chip-250000 .rules-chip-count{
  color:#93c5fd;
}

.blind-sheet{
  padding:16px;
  background:
    linear-gradient(180deg, rgba(255,184,28,.06), rgba(255,184,28,.015) 24%, rgba(255,255,255,.01) 100%);
  border:1px solid var(--line);
  border-color:rgba(255,184,28,.14);
  border-radius:18px;
  box-shadow:
    0 0 0 1px rgba(255,184,28,.06),
    0 10px 24px rgba(0,0,0,.18);
}

.blind-table{
  width:100%;
  min-width:780px;
  border-collapse:collapse;
}

.blind-table th,
.blind-table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  white-space:nowrap;
}

.blind-table th{
  color:#ffe7b0;
  font-weight:800;
  letter-spacing:.03em;
  background:
    linear-gradient(180deg, rgba(255,184,28,.14), rgba(255,184,28,.05)),
    linear-gradient(90deg, rgba(59,130,246,.03), transparent 35%);
  box-shadow:inset 0 -1px 0 rgba(255,184,28,.12);
}

.blind-table td{
  color:#eef3f8;
}

.blind-row-dark{
  background:rgba(255,255,255,.02);
}

.blind-row-light{
  background:rgba(255,184,28,.05);
}

.blind-table tr.blind-row-payout td{
  color:#ecfdf5;
  border-bottom-color:rgba(134,239,172,.18);
  background:
    linear-gradient(180deg, rgba(34,197,94,.24), rgba(22,101,52,.22)),
    rgba(5,46,22,.55);
  box-shadow:inset 0 1px 0 rgba(187,247,208,.04);
}

.blind-table tr.blind-row-payout td:first-child,
.blind-table tr.blind-row-payout td:last-child{
  color:#86efac;
  font-weight:900;
}

.blind-break td{
  color:#171717;
  font-weight:800;
  background:linear-gradient(180deg, #ffcf5a, #ffb81c);
}

/* Optional Sunday must keep its break text readable above compact-table rules. */
#format-content[data-rules-format="sunday"] .blind-break td{
  color:#171717;
  background:linear-gradient(180deg, #ffcf5a, #ffb81c);
}

.blind-note{
  margin:12px 0 0;
  color:var(--muted);
  font-size:.92rem;
}

.format-toggle{
  flex-wrap:wrap;
}

.mtt-guide-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 18px;
  margin-top:18px;
}

.mtt-format-pair{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  max-width:100%;
}

.btn.mtt-guide-button{
  justify-content:center;
  max-width:100%;
  text-align:center;
  white-space:normal;
  color:#fecaca;
  border-color:rgba(239,68,68,.36);
  background:linear-gradient(180deg, rgba(31,39,51,.98) 0%, rgba(20,26,34,.98) 100%);
}

.btn.mtt-guide-button:hover{
  transform:translateY(-1px);
  color:#450a0a;
  background:linear-gradient(180deg, #fee2e2 0%, #fca5a5 100%);
  border-color:#fca5a5;
  box-shadow:
    0 8px 18px rgba(0,0,0,.28),
    0 0 0 1px rgba(252,165,165,.18);
}

.btn.mtt-guide-button:active,
.btn.mtt-guide-button[aria-expanded="true"]{
  transform:translateY(0);
  color:#fef2f2;
  background:linear-gradient(180deg, rgba(239,68,68,.34) 0%, rgba(153,27,27,.96) 100%);
  border-color:#dc2626;
}

.btn.mtt-guide-button:focus-visible{
  outline:3px solid var(--white);
  outline-offset:3px;
}

.mtt-guide-panel{
  margin-top:20px;
  min-width:0;
}

.mtt-guide-panel[hidden],
.format-content-shell[hidden]{
  display:none !important;
}

.mtt-guide-toolbar,
.mtt-guide-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}

.mtt-guide-toolbar{
  justify-content:space-between;
  margin-bottom:12px;
}

.mtt-guide-toolbar h2{
  margin:0;
  font-size:1.25rem;
}

.mtt-guide-frame{
  display:block;
  width:100%;
  height:80vh;
  min-height:480px;
  max-height:1100px;
  margin-top:12px;
  border:1px solid rgba(239,68,68,.36);
  border-radius:12px;
  background:#202124;
}

.mtt-guide-actions .btn{
  min-height:44px;
}

.mtt-guide-actions .btn:disabled{
  opacity:.55;
  cursor:wait;
}

.mtt-guide-caption{
  color:var(--muted);
  font-size:.9rem;
}

@media (max-width:640px){
  .mtt-format-pair{
    width:100%;
    gap:12px;
  }

  .format-toggle .mtt-guide-button,
  .mtt-guide-links .mtt-guide-button{
    width:100%;
  }
}

#format-btn-two-table{
  color:#bfdbfe;
  border-color:rgba(59,130,246,.36);
  background:linear-gradient(180deg, rgba(31,39,51,.98) 0%, rgba(20,26,34,.98) 100%);
}

#format-btn-two-table:hover{
  transform:translateY(-1px);
  color:#172554;
  background:linear-gradient(180deg, #dbeafe 0%, #93c5fd 100%);
  border-color:#93c5fd;
  box-shadow:
    0 8px 18px rgba(0,0,0,.28),
    0 0 0 1px rgba(147,197,253,.18);
}

#format-btn-two-table.active{
  color:#eff6ff;
  background:linear-gradient(180deg, rgba(59,130,246,.34) 0%, rgba(30,64,175,.96) 100%);
  border-color:#2563eb;
  box-shadow:
    0 8px 18px rgba(0,0,0,.28),
    0 0 0 1px rgba(37,99,235,.22);
}

#format-btn-two-table:focus-visible{
  outline:3px solid var(--white);
  outline-offset:3px;
}

.format-title-two-table{
  color:#93c5fd;
}

.format-description{
  max-width:780px;
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.5;
}

.rules-bounty-callout{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin:0 18px 18px;
  padding:16px 18px;
  border:1px solid rgba(255,184,28,.38);
  border-radius:16px;
  background:
    radial-gradient(circle at top right, rgba(34,197,94,.14), transparent 34%),
    linear-gradient(180deg, rgba(255,184,28,.14), rgba(255,184,28,.05));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 8px 20px rgba(0,0,0,.18),
    0 0 16px rgba(255,184,28,.08);
}

.rules-bounty-icon{
  flex:0 0 auto;
  font-size:2rem;
  line-height:1;
}

.rules-bounty-callout h3{
  margin:0 0 6px;
  color:#ffe29a;
  font-size:1.06rem;
}

.rules-bounty-callout p{
  margin:0;
  color:#eef3f8;
  line-height:1.5;
}

.rules-money-callout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  margin:0 18px 18px;
  overflow:hidden;
  border:1px solid rgba(255,213,108,.32);
  border-radius:16px;
  background:
    radial-gradient(circle at top left, rgba(239,68,68,.11), transparent 34%),
    radial-gradient(circle at bottom right, rgba(34,197,94,.11), transparent 38%),
    rgba(10,17,24,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 8px 20px rgba(0,0,0,.18),
    0 0 16px rgba(255,184,28,.07);
}

.rules-money-section{
  display:flex;
  min-width:0;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
}

.rules-money-section + .rules-money-section{
  border-left:1px solid rgba(255,255,255,.12);
}

.rules-money-icon{
  flex:0 0 auto;
  font-size:1.8rem;
  line-height:1;
}

.rules-money-bounty .rules-money-icon,
.rules-bounty-icon{
  filter:none;
}

.rules-money-callout h3{
  margin:0 0 6px;
  font-size:1.06rem;
}

.rules-money-prize h3{
  color:#fda4af;
}

.rules-money-bounty h3{
  color:#ffe29a;
}

.rules-money-callout p{
  margin:0;
  color:#eef3f8;
  line-height:1.5;
}

@media (max-width:760px){
  .rules-money-callout{
    grid-template-columns:1fr;
  }

  .rules-money-section + .rules-money-section{
    border-top:1px solid rgba(255,255,255,.12);
    border-left:0;
  }
}

@media (max-width:560px){
  .rules-bounty-callout,
  .rules-money-callout{
    margin-right:12px;
    margin-left:12px;
  }

  .rules-bounty-callout{
    padding:14px;
  }

  .rules-money-section{
    padding:14px;
  }
}
