/* Felt, bones, ticker — app PipLayout + Royal Table colors. Motion off when reduced. */
:root {
  --felt-emerald: #0B5E3E;
  --felt-purple: #381142;
  --felt-burgundy: #581727;
  --felt-teal: #143D42;
  --felt-gold: #B99D66;
  --play-blue: #2E6BFF;
  --pay-green: #2FA86A;
}

.ticker {
  overflow: hidden;
  max-width: 100%;
  border-block: 1px solid rgba(226,177,80,.35);
  background: linear-gradient(180deg,#2A2218,#12100C);
  color: #E2B150;
  font: 700 12px/1.2 "Avenir Next Condensed","Arial Narrow",sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  padding: 10px 0;
  animation: ticker 36s linear infinite;
}
.ticker span { white-space: nowrap; padding: 0 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.rack {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  padding: 8px 0 18px;
}
@media (max-width: 600px) {
  .rack { gap: 7px; overflow: hidden; }
  .rack .bone { --w: 26px; }
}
.bone {
  --w: 40px;
  width: var(--w);
  height: calc(var(--w) * 2);
  border-radius: 6px;
  background: linear-gradient(180deg,#f4eee4,#d9cbb4 55%,#c4b199);
  box-shadow: inset 0 1px 0 #fff8, 0 8px 16px #0008, 0 0 0 1px #8a7a62;
  display: grid;
  grid-template-rows: 1fr 3px 1fr;
  flex: none;
}
.bone.lying { width: calc(var(--w) * 2); height: var(--w); grid-template-rows: 1fr; grid-template-columns: 1fr 3px 1fr; }
.bone .divider { background: linear-gradient(#4a3a2c,#1c1612); box-shadow: 0 0 0 1px #8a7a62; }
.half {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 12%;
  gap: 8%;
}
.pip { border-radius: 50%; background: transparent; }
.pip.on { background: radial-gradient(circle at 35% 30%, #3a2a22, #120c08 70%); box-shadow: inset 0 1px 1px #0008; }
.bone.ivory .pip.on { background: radial-gradient(circle at 35% 30%, #1a1410, #050403); }

.table-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px auto 8px;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 520px;
}
@media (min-width: 520px) { .table-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; } }
@media (min-width: 900px) { .table-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; } }
.felt-swatch {
  aspect-ratio: 16/10;
  border-radius: 12px;
  border: 2px solid #c9a45a;
  box-shadow: inset 0 0 0 5px #1a140c, 0 10px 22px #0007;
  display: grid;
  place-items: end center;
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.felt-swatch::before {
  content: "";
  position: absolute;
  inset: 10% 18% 28%;
  background: url("/img/website-icon.png") center / contain no-repeat;
  pointer-events: none;
  opacity: .95;
  /* still frame on the felt — globe spin is only in .globe-well */
}
.felt-swatch span {
  position: relative;
  font: 700 11px/1.2 "Avenir Next",sans-serif;
  color: #F4EEE2;
  text-shadow: 0 1px 4px #000;
}
.felt-midnight { background: #143D42; }
.felt-burgundy { background: #581727; }
.felt-smoke { background: #17191E; }
.felt-classic { background: #064D3B; }
.felt-purple { background: #381142; }
.felt-sapphire { background: #173A86; }
.felt-emerald { background: #0B5E3E; }
.felt-rose { background: #C79A98; }
.felt-ice { background: #E6E9EC; }
.felt-ice span { color: #111; text-shadow: none; }
.felt-black { background: #111113; }
.felt-champagne { background: #B99D66; }
.felt-goldvault { background: #0D0C0A; }
.felt-red { background: #8C0F1C; }
.felt-bdiamond { background: #0B0B0D; }
.felt-dcrown { background: linear-gradient(135deg,#08301F,#0D0C0A); }

.hero-action {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-action::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(226,177,80,.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(56,17,66,.45), transparent 50%),
    radial-gradient(ellipse 60% 50% at 70% 90%, rgba(11,94,62,.35), transparent 55%);
  animation: lamp 10s ease-in-out infinite alternate;
}
@keyframes lamp { to { transform: translate3d(-4%, 3%, 0) scale(1.05); } }

.p2p {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.p2p-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(226,177,80,.4);
  box-shadow: 0 8px 20px #0008;
}
.p2p-play { color: var(--play-blue); font-weight: 800; letter-spacing: .04em; }
.p2p-pay { color: var(--pay-green); font-weight: 800; letter-spacing: .04em; }
.p2p-2 { color: #F4EEE2; font: 800 28px/1 "DIN Condensed","Arial Narrow",sans-serif; }
.p2p img { width: 72px; height: 72px; border-radius: 12px; }
.keycap-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}
.keycap-mark .keycap-icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  box-shadow: 0 12px 28px #0008, 0 0 0 1px rgba(226,177,80,.35);
}
.keycap-mark .keycap-poster {
  width: min(220px, 42vw);
  border-radius: 12px;
  box-shadow: 0 16px 36px #000a;
}

.feature-shot { border-radius: 16px; overflow: hidden; border: 1px solid rgba(226,177,80,.32); box-shadow: 0 18px 40px #0008; }
.brawl-hero { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .brawl-hero { grid-template-columns: 1.1fr .9fr; } }
.poster-stack { display: grid; gap: 14px; justify-items: center; }
.brawl-poster { width: 100%; max-width: 420px; border-radius: 12px; box-shadow: 0 22px 48px #000a; }
.mall-fascia .globe-well img { border-radius: 0; }
.icon-row { display: flex; gap: 14px; align-items: center; margin: 12px 0; }
.icon-row img { width: 54px; height: 54px; border-radius: 12px; }

.mall-fascia {
  background: linear-gradient(180deg,#2A2218,#12100C);
  border: 1.4px solid;
  border-image: linear-gradient(#E8D6A0,#6A5428) 1;
  border-radius: 16px;
  padding: 18px 16px 12px;
  text-align: center;
  margin: 0 0 22px;
}
.mall-fascia .mall-name {
  margin: 8px 0 10px;
  font: 700 34px/1 "DIN Condensed","Arial Narrow",sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(180deg,#FFF1C4,#F1C45E 55%,#C78C28);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mall-fascia img { width: 78px; height: 78px; margin: 0 auto; border-radius: 12px; }
.marquee-lights { display: flex; justify-content: center; gap: 7px; margin-bottom: 8px; }
.marquee-lights i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3a3018;
  box-shadow: 0 0 0 1px #6A5428;
  animation: bulb 1.2s linear infinite;
}
.marquee-lights i:nth-child(2n) { animation-delay: .2s; }
.marquee-lights i:nth-child(3n) { animation-delay: .4s; }
@keyframes bulb { 0%,100% { background:#3a3018 } 40% { background:#E8D6A0; box-shadow:0 0 8px #E8D6A0 } }

.court-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
@media (max-width: 700px) { .court-row { grid-template-columns: repeat(2,1fr); } }
.court-row img { width: 100%; border-radius: 10px; border: 1px solid #6A5428; }


/* Championship table (app TableStyle.championship) + Championship bones + Tournament Ring faces */
.champ-table { max-width: 920px; margin: 18px auto 8px; }
.champ-rail {
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(180deg,#3a342c,#161412 40%,#0a0908);
  box-shadow: 0 22px 48px #000a, inset 0 1px 0 rgba(226,177,80,.35);
}
.champ-felt {
  position: relative;
  min-height: 168px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(217,178,94,.16), transparent 55%),
    repeating-linear-gradient(90deg, rgba(217,178,94,.07) 0 1px, transparent 1px 7px),
    linear-gradient(180deg,#302D2A,#161412 55%,#080706);
  box-shadow: inset 0 0 0 2px rgba(217,178,94,.28);
}
.champ-crest {
  position: absolute;
  left: 50%; top: 46%;
  width: 88px; height: 88px;
  transform: translate(-50%,-50%);
  opacity: .38;
  pointer-events: none;
  border-radius: 10px;
}
.champ-rack { position: relative; z-index: 1; padding-top: 36px; }

.bone.platinum {
  background: linear-gradient(180deg,#f7f9fc,#c5ccd4 52%,#8e98a4);
  box-shadow: inset 0 1px 0 #fff, 0 8px 16px #0008, 0 0 0 1px #c9a45a;
}
.bone.platinum .divider { background: linear-gradient(#f4e6c0,#c9a45a); box-shadow: 0 0 0 1px #e8d6a0; }
.bone.platinum .pip.on {
  background: radial-gradient(circle at 32% 28%, #fff, #dce8f4 42%, #8aa4bc 78%);
  box-shadow: 0 0 0 1.4px #e8d6a0, inset 0 1px 1px #fff8;
}

.felt-friday { background: #0A4A35; }
.felt-yard { background: #313539; }
.felt-iron { background: #1B232C; }
.felt-championship { background: linear-gradient(135deg,#302D2A,#161412 55%,#080706); }
.felt-jackpot { background: #7E1015; }

.ring-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}
@media (min-width: 800px) { .ring-row { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.ring-pedestal { margin: 0; text-align: center; }
.ring-pedestal figcaption { margin-top: 8px; font-size: 13px; color: #A2A5AB; }
.ring-slab {
  aspect-ratio: 2/1;
  border-radius: 14px;
  padding: 10% 8% 8%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px #0008, inset 0 1px 0 rgba(255,255,255,.35);
}
.ring-slab.metal-bronze { background: linear-gradient(145deg,#E8B07A,#C4834A 45%,#8A5528); }
.ring-slab.metal-silver { background: linear-gradient(145deg,#F4F7FA,#D9DEE4 45%,#9AA3AC); }
.ring-slab.metal-gold { background: linear-gradient(145deg,#FFE6A0,#E9B955 40%,#C48A26); }
.ring-slab.metal-platinum { background: linear-gradient(145deg,#FFFFFF,#EEF2F6 40%,#C5CCD4); }
.ring-onyx {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(180deg,#30343B,#060607 55%,#1A1C20);
  display: grid;
  grid-template-columns: 1fr 6px 1fr;
  overflow: hidden;
}
.ring-bar { background: linear-gradient(#f4e6c0,#c9a45a); border-radius: 3px; margin: 12% 0; }
.ring-half {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(3,1fr);
  padding: 12%;
  gap: 8%;
}
.ring-half .pip { border-radius: 50%; background: transparent; }
.ring-half .pip.on {
  background: radial-gradient(circle at 32% 28%, #fff, #e4eef6 50%, #9bb4c8 80%);
  box-shadow: 0 0 0 1px rgba(232,214,160,.7);
}
.metal-bronze .ring-half .pip.on { background: radial-gradient(circle at 32% 28%, #fff, #F1ECFF 55%, #b8a8d8 80%); }
.metal-silver .ring-half .pip.on { background: radial-gradient(circle at 32% 28%, #fff, #E6FFF1 55%, #8ecfb0 80%); }

.ring-wheel-wrap { overflow: hidden; max-width: 100%; }
.ring-wheel {
  --r: min(34vw, 250px);
  position: relative;
  width: min(100%, calc(var(--r) * 2 + 100px));
  height: calc(var(--r) * 2 + 100px);
  margin: 12px auto 8px;
}
.ring-wheel-track {
  position: absolute;
  inset: 0;
  animation: ring-turn 90s linear infinite;
}
.ring-hub {
  position: absolute;
  left: 50%; top: 50%;
  width: 140px; height: 140px;
  margin: -70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  background: radial-gradient(circle at 40% 30%, #302D2A, #080706);
  border: 2px solid #c9a45a;
  box-shadow: 0 10px 28px #0008;
  z-index: 2;
  font: 700 12px/1.3 "Avenir Next",sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #E2B150;
}
.ring-seat:nth-child(1) { --a: 0.000000deg; }
.ring-seat:nth-child(2) { --a: 12.857143deg; }
.ring-seat:nth-child(3) { --a: 25.714286deg; }
.ring-seat:nth-child(4) { --a: 38.571429deg; }
.ring-seat:nth-child(5) { --a: 51.428571deg; }
.ring-seat:nth-child(6) { --a: 64.285714deg; }
.ring-seat:nth-child(7) { --a: 77.142857deg; }
.ring-seat:nth-child(8) { --a: 90.000000deg; }
.ring-seat:nth-child(9) { --a: 102.857143deg; }
.ring-seat:nth-child(10) { --a: 115.714286deg; }
.ring-seat:nth-child(11) { --a: 128.571429deg; }
.ring-seat:nth-child(12) { --a: 141.428571deg; }
.ring-seat:nth-child(13) { --a: 154.285714deg; }
.ring-seat:nth-child(14) { --a: 167.142857deg; }
.ring-seat:nth-child(15) { --a: 180.000000deg; }
.ring-seat:nth-child(16) { --a: 192.857143deg; }
.ring-seat:nth-child(17) { --a: 205.714286deg; }
.ring-seat:nth-child(18) { --a: 218.571429deg; }
.ring-seat:nth-child(19) { --a: 231.428571deg; }
.ring-seat:nth-child(20) { --a: 244.285714deg; }
.ring-seat:nth-child(21) { --a: 257.142857deg; }
.ring-seat:nth-child(22) { --a: 270.000000deg; }
.ring-seat:nth-child(23) { --a: 282.857143deg; }
.ring-seat:nth-child(24) { --a: 295.714286deg; }
.ring-seat:nth-child(25) { --a: 308.571429deg; }
.ring-seat:nth-child(26) { --a: 321.428571deg; }
.ring-seat:nth-child(27) { --a: 334.285714deg; }
.ring-seat:nth-child(28) { --a: 347.142857deg; }
.ring-seat {
  position: absolute;
  left: 50%; top: 50%;
  width: 70px;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
  margin: -18px 0 0 -35px;
}
.ring-seat .ring-slab { padding: 9% 7% 7%; }
@keyframes ring-turn { to { transform: rotate(360deg); } }
.tag-earn {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border: 1px solid rgba(226,177,80,.45);
  border-radius: 999px;
  font: 700 11px/1.4 "Avenir Next",sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #E2B150;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero-action::after, .marquee-lights i, .ring-wheel-track { animation: none; }
  .ticker-track { transform: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
