@font-face {
  font-family: "Bebeto Display";
  src: url("art/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
}
:root {
  --rail-width: 230px;
  --rail-bg: #1c161c;
  --lobby-base: #100d12;
  --lobby-panel: #21191f;
  --lobby-edge: #49333a;
  --lobby-muted: #b9a9a4;
  --lobby-accent: #eac780;
  --lobby-font: Inter, "Segoe UI", system-ui, sans-serif;
}
body:not([data-game]) {background:var(--lobby-base); color:#fbf3e7;}
#lobby, .lobby-rail, .mobile-dock, .mast, #settings-dialog {font-family:var(--lobby-font);}
#lobby button, .lobby-rail button, .mobile-dock :is(button,a) {font:inherit; color:inherit;}
#lobby button:focus-visible, .lobby-rail :focus-visible, .mobile-dock :focus-visible, .mast :focus-visible {
  outline:2px solid #f1d494; outline-offset:3px;
}
.mast {
  position:sticky; top:0; z-index:12; background:var(--rail-bg); border-bottom:1px solid #33252b;
}
.mast-inner {
  position:relative; height:73px; padding:0 28px 0 0; max-width:none; gap:16px;
}
.mast .wordmark {
  width:var(--rail-width); align-self:stretch; flex:none; gap:10px; padding:0 23px;
  border-right:1px solid #33252b; border-radius:0;
}
.brand-symbol {
  width:40px; height:40px; border-radius:50%; display:block; flex:none;
  background:center/contain no-repeat url("bebeto-token.png"); color:transparent;
}
.brand-name {display:inline-flex;align-items:baseline;gap:5px;color:#fbedd5;font:italic 700 29px/1 Georgia,serif;letter-spacing:-1.5px;}
.brand-name span {color:#e8c887;font:700 9px/1 var(--lobby-font);text-transform:uppercase;letter-spacing:1.6px;}
.mast-tools {flex:1;justify-content:flex-end;gap:8px;}
.mast #history-open {
  position:absolute;left:calc(50% + var(--rail-width)/2);transform:translateX(-50%);
  height:39px;min-width:120px;gap:9px;padding:0 11px;margin:0;border-radius:9px;border:1px solid #423139;
  background:#140f14;box-shadow:inset 0 1px 3px #0a050966;color:#fbf5ed;
}
.mast #history-open > i:first-child {color:#e2c283;}
.mast #history-open > i:last-child {color:#bba99f;font-size:12px;}
.mast .balance-copy small {font-size:9px;color:#d0bfb5;}
.mast .balance-copy b {font-size:14px;font-weight:750;}
.mast-tools .icon-button, .mast #refill {
  min-height:38px;height:38px;border-radius:50%;width:38px;background:#2b2028;color:#e2cfc1;border:1px solid #49343d;
}
.mast-tools .icon-button:hover, .mast #refill:hover {background:#41303a;}
.mast #refill {width:auto;border-radius:8px;}
.lobby-rail {
  position:fixed;top:calc(74px + max(env(safe-area-inset-top,0px),var(--bebeto-safe-top,0px)));bottom:0;left:0;z-index:8;
  display:flex;flex-direction:column;width:var(--rail-width);overflow:auto;padding:18px 13px 16px;
  background:var(--rail-bg);border-right:1px solid #382a30;
}
.rail-links,.rail-group {display:grid;gap:3px;}
.lobby-rail button,.lobby-rail a {
  display:flex;align-items:center;gap:12px;min-height:39px;padding:8px 13px;text-align:left;
  border:0;border-radius:8px;background:none;color:#cfbfb7;font-family:inherit;font-weight:650;font-size:14px;text-decoration:none;
}
.lobby-rail i, #lobby i, .mobile-dock i, #settings-dialog i {
  display:inline-flex;align-items:center;justify-content:center;flex:none;font-style:normal;
}
.lobby-rail i {color:#ae9997;font-size:17px;}
.rail-links [aria-current="page"],.lobby-rail button:hover,.lobby-rail a:hover {background:#3e2632;color:white;}
.rail-links [aria-current="page"] i {color:#eac780;}
.rail-group {border-top:1px solid #392c32;margin-top:15px;padding-top:16px;}
.rail-group h2 {margin:0 13px 5px;text-transform:uppercase;letter-spacing:1.25px;color:#aa9393;font:750 10px/1.3 var(--lobby-font);}
.lobby-rail .rail-language {margin-top:auto;border:1px solid #483139;min-height:38px;}
.rail-language i:last-child {margin-left:auto;font-size:12px;}
body:not([data-game]) main {margin-left:var(--rail-width);}
body[data-game] .lobby-rail,body[data-game] .mobile-dock {display:none;}
#lobby {max-width:1650px;margin:0 auto;padding:24px clamp(20px,2.5vw,42px) 48px;outline:0;}
.lobby-hero {
  position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;
  min-height:350px;height:clamp(350px,29vw,425px);border-radius:16px;border:1px solid #705347;
  background:linear-gradient(90deg,#260c1df0 0%,#331126ee 35%,#341221aa 69%,#27111c66),
    url("art/bluehour.webp") 68% 49%/cover,#341522;
}
.lobby-hero::before {
  content:"";position:absolute;inset:7px;z-index:0;pointer-events:none;border-radius:10px;
  border:1px solid #d9ba7b42;
}
.hero-words {position:relative;z-index:2;width:58%;padding:28px 0 26px clamp(25px,3.4vw,56px);}
.hero-title {font:500 clamp(46px,5.1vw,78px)/.95 Georgia,"Times New Roman",serif;letter-spacing:-.065em;margin:0;color:#fff4dd;}
.hero-title span,.hero-title em {display:block;}
.hero-title em {margin-top:2px;font-style:italic;color:#efcb82;}
.hero-words p {max-width:370px;line-height:1.55;margin:18px 0 22px;font-size:clamp(13px,1vw,16px);color:#f5e5d6;}
.hero-art {
  position:absolute;z-index:1;right:2%;top:0;bottom:0;width:45%;display:grid;place-items:center;pointer-events:none;
}
.hero-art::before {
  content:"";position:absolute;width:min(80%,360px);aspect-ratio:1;border:1px solid #edc98640;border-radius:50%;
  box-shadow:0 0 0 13px #dfbf850b,inset 0 0 0 6px #e9cb8e0e;transform:rotate(-16deg) scaleX(.92);
}
.hero-art::after {
  content:"";position:absolute;width:48%;height:7%;bottom:8%;border-radius:50%;
  background:#10020bd1;filter:blur(10px);transform:rotate(-6deg);
}
.club-medallion {
  z-index:1;display:block;width:clamp(170px,19vw,265px);height:auto;max-width:71%;
  transform:perspective(650px) rotateY(-15deg) rotateZ(12deg);
  filter:drop-shadow(-2px 2px 0 #9b692c) drop-shadow(-4px 4px 0 #30101d) drop-shadow(-12px 18px 14px #11050dd1);
}
.hero-actions {display:flex;flex-wrap:wrap;gap:9px;}
#lobby .primary-cta,#lobby .secondary-cta {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;
  border:1px solid #f0d296;border-radius:8px;background:linear-gradient(155deg,#f5dba0,#dbb56e);box-shadow:0 3px 9px #0b03062d;color:#271c12;font:700 13px/1.3 var(--lobby-font);
}
#lobby .secondary-cta {color:#fff3dc;background:#3c2631;border-color:#71505a;}
#lobby .primary-cta:hover {background:#f5d996;}#lobby .secondary-cta:hover {background:#513041;}
.hero-facts {display:flex;align-items:center;gap:17px;margin-top:23px;font:600 11px/1.3 var(--lobby-font);color:#d8c6b9;}
.hero-facts > span {display:inline-flex;align-items:center;gap:5px;}
.hero-facts i {font-size:14px;color:#edcb8a;}
#catalog,#club-draw,#wins-wrap,#hero,#beton-spotlight,#demo-wins {scroll-margin-top:90px;outline:0;}
.club-shortcuts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;}
#lobby .club-shortcuts a {
  display:flex;align-items:center;gap:12px;padding:11px 15px;min-width:0;text-align:left;
  background:linear-gradient(105deg,#281a22,#211820);border:1px solid #50353d;border-radius:10px;
}
#lobby .club-shortcuts a:hover {border-color:#a98752;}
.club-shortcuts a>i:first-child {font-size:20px;color:#e7c78c;}
.club-shortcuts a>span {display:grid;min-width:0;gap:2px;}
.club-shortcuts strong {font:700 14px/1.15 var(--lobby-font);color:#fff0db;}
.club-shortcuts small {color:#c3aaa5;font:500 11px/1.24 var(--lobby-font);}
.club-shortcuts a>i:last-child {margin-left:auto;color:#ba9c81;font-size:12px;}
.directory-tools {display:flex;gap:12px;align-items:stretch;margin-top:22px;}
.filter-strip {display:flex;align-items:center;min-width:0;flex:1;gap:3px;overflow-x:auto;scrollbar-width:none;background:#1c161c;border:1px solid #49333a;border-radius:9px;padding:4px;}
.filter-strip::-webkit-scrollbar,.game-row::-webkit-scrollbar {display:none;}
#lobby .filter-strip a {
  display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;flex:none;
  border:0;border-radius:6px;background:transparent;color:#c8b6af;padding:0 11px;white-space:nowrap;font-size:12px;font-weight:650;
}
#lobby .filter-strip a i {font-size:14px;}
#lobby .filter-strip a[aria-current="page"] {background:#4e2a3c;color:#fff;}
.search-field {display:flex;align-items:center;gap:9px;flex:0 1 220px;min-width:130px;padding:0 13px;background:#191219;border:1px solid #4b353c;border-radius:9px;color:#baaaa5;}
.search-field:focus-within {outline:2px solid #e4c486;outline-offset:1px;}
.search-field input {width:100%;min-width:0;padding:9px 0;border:0;outline:none;color:#fff5e9;background:transparent;font:500 13px/1.4 var(--lobby-font);appearance:none;}
.search-field input::placeholder {color:#b8a49e;}
.game-shelf {margin-top:24px;min-width:0;}
.game-shelf header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.game-shelf h2,.arena-banner h2 {display:flex;align-items:center;gap:9px;margin:0;color:#fff4e6;font:750 clamp(18px,1.5vw,24px)/1.2 var(--lobby-font);letter-spacing:-.035em;}
.game-shelf h2 i {color:#e4bf7a;font-size:.95em;}
.row-nav {display:flex;gap:5px;}
#lobby .row-nav button {display:grid;place-items:center;width:31px;height:29px;border-radius:6px;border:1px solid #49343c;background:#2a1e24;color:#ebdcca;}
#lobby .row-nav button:disabled {opacity:.5;}
.game-row,#cards.game-row {
  --poster:calc((100% - 6 * 10px)/7);display:grid;grid-auto-flow:column;grid-auto-columns:var(--poster);
  grid-template-columns:none;justify-content:start;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;
  padding-bottom:2px;
}
#table-row {--poster:calc((100% - 4 * 10px) / 5);}
.arena-banner img {object-position:50% 43%;}
.tile {position:relative;min-width:0;scroll-snap-align:start;}
#lobby .tile-link {
  position:relative;display:block;width:100%;aspect-ratio:.79;overflow:hidden;border:1px solid #4d383f;
  border-radius:9px;background:#291c23;color:white;text-align:left;text-decoration:none;padding:0;isolation:isolate;box-shadow:none;
}
.tile-link img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .16s ease;}
.tile-link::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#13080ef2 0%,#13080e4d 36%,transparent 67%);}
.tile-link strong {position:absolute;left:9px;right:8px;bottom:9px;color:#fff;text-shadow:0 1px 6px #0c0609;font:800 clamp(16px,1.5vw,25px)/.96 "Bebeto Display",Impact,"Arial Narrow",sans-serif;text-transform:uppercase;}
#lobby .tile-link:hover img {transform:scale(1.045);}
#lobby .tile-favorite {
  position:absolute;right:5px;top:5px;display:grid;place-items:center;width:30px;height:30px;
  padding:0;border:0;border-radius:50%;background:#180c14b8;color:#fff5e5;opacity:0;
}
#lobby .tile-favorite {border-radius:0;background:none;isolation:isolate;}
#lobby .tile-favorite::before {content:"";position:absolute;inset:0;z-index:-1;border-radius:50%;background:#180c14b8;pointer-events:none;}
#lobby .tile:hover .tile-favorite,#lobby .tile:focus-within .tile-favorite,#lobby .tile-favorite[aria-pressed="true"] {opacity:1;}
.tile-favorite[aria-pressed="true"] path {fill:#edc884;stroke:#edc884;}
.tile-favorite svg,.row-nav svg {width:16px;height:16px;}
.results-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;}
#results-count,#empty-results {font-size:13px;color:#c5b0a7;}
#empty-results {padding:22px 0;}
.arena-banner {position:relative;isolation:isolate;overflow:hidden;border:1px solid #523440;border-radius:12px;padding:24px 28px;margin-top:25px;background:#351726;}
.arena-banner>div {position:relative;z-index:1;max-width:65%;}
.arena-banner>div>i {color:#f1ce8d;margin-bottom:8px;}
.arena-banner p {color:#ddc8be;font-size:13px;margin:8px 0 15px;}
.arena-banner img {position:absolute;z-index:-2;right:0;top:0;width:50%;height:100%;object-fit:cover;}
.arena-banner::after {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#351726 44%,transparent);}
.replay-link {margin-top:16px;}
#lobby #club-draw {scroll-margin-top:90px;background:#21191f;border-color:#49333a;border-radius:12px;}
#lobby .wins-wrap {padding:0;margin:14px 0;max-width:none;}
#lobby .recent-wins {background:#21191f;border:1px solid #49333a;border-radius:9px;}
.lobby-footer {padding-top:24px;margin-top:30px;border-top:1px solid #37272d;display:flex;align-items:center;gap:18px;color:#bcaaa2;font-size:12px;}
.lobby-footer span {margin-right:auto;font-weight:750;}
.lobby-footer a {color:inherit;}
.mobile-dock {display:none;}
#settings-dialog {width:min(380px,calc(100% - 32px));padding:20px;border:1px solid #5b444b;border-radius:13px;background:#251b22;color:#fff1de;}
#settings-dialog::backdrop {background:#0b0509bc;}
#settings-dialog h2 {margin:0;font:750 20px/1.2 var(--lobby-font);}
#settings-dialog #settings-close {width:35px;height:35px;border:1px solid #543842;border-radius:8px;background:#372330;color:white;font-size:20px;}
.settings-field {display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:14px;padding:12px 0;border:0;border-top:1px solid #46323b;background:none;color:#e4d0c3;font:600 14px/1.3 var(--lobby-font);}
.settings-field>span {display:flex;align-items:center;gap:8px;}
.settings-field select {min-height:38px;max-width:60%;background:#35242d;border:1px solid #59414a;border-radius:7px;padding:0 8px;color:white;}
.settings-field b {font-size:12px;color:#edcf97;}
@media (min-width:1600px) {#lobby{padding-left:45px;padding-right:45px;}}
@media (min-width:761px) and (max-width:1050px) {
  :root {--rail-width:180px;}
  .lobby-rail button,.lobby-rail a {font-size:12px;gap:8px;padding-left:8px;}
  .hero-words {width:55%;}
  .game-row,#cards.game-row {--poster:calc((100% - 4 * 10px)/5);}
  .results-grid {grid-template-columns:repeat(5,minmax(0,1fr));}
  .hero-facts {gap:9px;}
}
@media (max-width:760px) {
  body[data-game] main {display:flex;flex-direction:column;}
  body[data-game] #wins-wrap {order:1;}
  :root {--rail-width:0px;}
  .lobby-rail {display:none;}
  .brand-name {font-size:22px;gap:3px;}
  .brand-name span {font-size:7px;letter-spacing:1.1px;}
  .mast-inner {height:63px;padding:0 13px;gap:7px;}
  .mast .wordmark {padding:0;width:auto;border:0;}
  .mast #history-open {
    position:static;transform:none;min-width:99px;height:36px;gap:6px;border-radius:8px;margin-left:auto;
  }
  .mast-tools {gap:6px;}
  .mast-tools .icon-button {width:36px;height:36px;min-height:36px;}
  .brand-symbol {width:33px;height:33px;}
  body:not([data-game]) main {margin:0;}
  #lobby {padding:12px 12px calc(90px + env(safe-area-inset-bottom,0px));}
  .lobby-hero {align-items:stretch;height:auto;min-height:0;border-radius:14px;background-position:center,65% 50%;}
  .hero-art {width:38%;height:145px;top:14px;right:2%;bottom:auto;opacity:.97;}
  .hero-art::before {width:90%;}
  .hero-art::after {bottom:1%;}
  .club-medallion {width:92%;max-width:92%;}
  .hero-words {width:100%;padding:25px 19px 22px;}
  .hero-title {max-width:64%;font-size:clamp(37px,10.5vw,63px);line-height:.94;}
  .hero-words p {font-size:13px;line-height:1.46;margin:14px 0 16px;max-width:61%;}
  .hero-actions {gap:8px;flex-wrap:nowrap;}
  #lobby .hero-actions :is(button,a) {min-height:41px;padding:0 14px;flex:0 1 auto;font-size:12px;}
  .hero-facts {margin-top:17px;gap:13px;font-size:10px;flex-wrap:wrap;}
  .hero-facts i {font-size:12px;}
  #catalog,#club-draw,#wins-wrap,#hero,#beton-spotlight,#demo-wins {scroll-margin-top:76px;}
  .club-shortcuts {gap:7px;margin-top:10px;}
  #lobby .club-shortcuts a {gap:7px;padding:9px 10px;}
  .club-shortcuts strong {font-size:12px;}
  .club-shortcuts small {font-size:10px;}
  .club-shortcuts a>i:last-child {display:none;}
  .directory-tools {display:grid;gap:9px;margin-top:15px;}
  .filter-strip {width:100%;min-height:42px;}
  #lobby .filter-strip a {font-size:12px;padding:0 9px;min-height:32px;}
  .search-field {min-height:39px;}
  .game-shelf {margin-top:19px;}
  .game-shelf header {margin-bottom:10px;}
  .game-row,#cards.game-row,#table-row {--poster:calc((100% - 22px) / 3.3);gap:8px;}
  .results-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  #lobby .tile-favorite {opacity:1;width:32px;height:32px;right:3px;top:3px;}
  .tile-link strong {font-size:clamp(16px,4.5vw,24px);}
  .arena-banner {padding:17px;}
  .mobile-dock {position:fixed;z-index:10;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);height:calc(64px + env(safe-area-inset-bottom,0px));padding:0 3px env(safe-area-inset-bottom,0px);border-top:1px solid #4d353c;background:#21171e;}
  .mobile-dock :is(button,a) {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:none;color:#c2aba7;font-size:10px;font-weight:600;}
  .mobile-dock i {font-size:19px;}
  .mobile-dock [aria-current="page"] {color:#eac780;}
}
@media(max-width:440px){
  .mast-inner:has(#offers:not([hidden]),#refill:not([hidden])) .brand-name {display:none;}
}
@media(max-width:360px){
  .hero-words{padding-inline:16px;}
  .mast .brand-name {display:none;}
  .hero-facts{gap:8px;font-size:9px;}
  .hero-words p{font-size:12px;}
  .hero-actions {gap:6px;}
  #lobby .hero-actions :is(button,a){padding:0 10px;}
  .mobile-dock :is(button,a) {font-size:9px;}
}
@media(prefers-reduced-motion:reduce){.tile-link img {transition:none;}}

.hero-actions a,.club-shortcuts a,.filter-strip a,.mobile-dock a,.game-shelf h2 a {text-decoration:none;}
html[data-section-entry] body:not([data-section]) #lobby {visibility:hidden;}
.game-shelf h2 a {display:inline-flex;align-items:center;gap:7px;min-height:44px;color:inherit;}
.game-shelf h2 a i {color:var(--lobby-muted);font-size:12px;}
.section-back {display:inline-flex;min-height:44px;align-items:center;gap:7px;color:var(--lobby-muted);text-decoration:none;font-size:14px;}
#section-intro {padding:3px 0 13px;}
#section-intro h1 {font:600 clamp(33px,4.2vw,54px)/1.1 Georgia,serif;letter-spacing:-.045em;margin:6px 0;color:#fff2de;}
#section-title:focus {outline:none;}
#page-panel dialog[open] {position:static;inset:auto;margin:4px 0 0;width:min(100%,680px);max-width:100%;max-height:none;}
#page-panel .offer-head {display:none;}
#page-panel .settings-field:first-of-type {margin-top:0;border-top:0;}
.motion-setting {cursor:pointer;}
.motion-setting input {height:23px;width:23px;flex:none;accent-color:var(--lobby-accent);}
.settings-disclosure {margin:0;color:#c7b7b0;font:400 13px/1.6 var(--lobby-font);}
body:not([data-section="home"]) .directory-tools {margin-top:3px;}
body:not([data-section="home"]) #search-results header {justify-content:flex-end;}
body:not([data-section="home"]) #results-heading {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
#lobby :is(a,button),.lobby-rail :is(a,button),.mobile-dock :is(a,button),.mast :is(a,button) {touch-action:manipulation;-webkit-tap-highlight-color:rgba(239,205,143,.17);}
#lobby a:focus-visible,.section-back:focus-visible {outline:2px solid #f1d494;outline-offset:3px;}
.club-shortcuts a,.filter-strip a,.mobile-dock a,.lobby-rail a {color:inherit;}
[data-opening] {box-shadow:inset 0 0 0 2px #eac780;}
#lobby .filter-strip a,.lobby-rail :is(a,button) {min-height:44px;}
#lobby .row-nav button {width:41px;height:40px;}
#lobby .search-field {min-height:44px;}
@media (hover:hover) {
  .game-shelf h2 a:hover,.section-back:hover {color:var(--lobby-accent);}
}
@media (prefers-reduced-motion:no-preference){
  #lobby :is(a,button),.lobby-rail :is(a,button),.mobile-dock :is(a,button),.mast :is(a,button) {transition:background-color .12s,box-shadow .12s,transform .12s;}
  #lobby :is(a,button):active,.lobby-rail :is(a,button):active,.mobile-dock :is(a,button):active {transform:scale(.975);}
  #section-intro {animation:section-in .16s ease-out both;}
  @keyframes section-in {from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
}
@media (max-width:760px){
  #lobby .filter-strip a {padding:0 12px;min-height:44px;}
  #lobby .tile-favorite,#lobby .row-nav button {width:44px;height:44px;}
  .mast-tools .icon-button {width:44px;height:44px;min-height:44px;}
  .mast #history-open {min-height:44px;}
  #lobby .hero-actions :is(a,button) {min-height:44px;}
  #lobby .club-shortcuts a {min-height:53px;}
  .results-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .mobile-dock a {text-decoration:none;}
}
@media (max-width:390px){
  .mast-tools {gap:4px;}
  .mast .brand-name span {display:none;}
  .mast #refill {width:35px;min-width:35px;}
  .mast #refill span {display:none;}
  .mast-tools:has(#offers:not([hidden])) #history-open>i:last-child {display:none;}
}

#hero {position:relative;display:block;width:100%;height:clamp(360px,29vw,425px);min-height:0;isolation:isolate;background:#24151e;touch-action:pan-y pinch-zoom;}
.hero-sr {position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
.hero-slide {position:absolute;inset:0;isolation:isolate;display:flex;align-items:center;padding-bottom:46px;}
.hero-slide::before {content:"";position:absolute;inset:7px;border:1px solid #ffffff24;border-radius:10px;z-index:2;pointer-events:none;}
.hero-hit {position:absolute;z-index:1;inset:0;border-radius:inherit;}
.hero-slide .hero-words {z-index:3;pointer-events:none;}
.hero-slide .hero-actions>* {pointer-events:auto;}
.hero-room {background:linear-gradient(90deg,#270b1af5 5%,#321022df 43%,#3111227d 83%),url("art/bluehour.webp") 67% 50%/cover;}
.hero-room .hero-art {z-index:0;}
.hero-counter {background:linear-gradient(90deg,#071614ef 0%,#061919c7 33%,#04202922 80%),url("art/arcade-counterattack.webp") 62% 43%/cover,#0d2420;}
.hero-poker {background:radial-gradient(ellipse at 74% 26%,#26575a 0%,#0d282e 50%,#112024 96%);}
.hero-poker::after {content:"";position:absolute;inset:0 0 0 44%;z-index:0;background:linear-gradient(90deg,#132e32 0%,transparent 37%),url("art/covers/poker.webp") 53% 50%/cover;}
.hero-goldline {background:linear-gradient(90deg,#201007f2 0%,#211308bd 39%,#27150620 84%),url("art/goldline-encore.webp") 68% 46%/cover,#2e1a0e;}
.hero-wins {background:radial-gradient(ellipse at 84% 21%,#3b3544 0%,#2c192c 52%,#1e121c 95%);}
.hero-kicker,.hero-feed-head {font:700 12px/1.3 var(--lobby-font);letter-spacing:.07em;color:#e7cb91;}
.hero-game-title {font:800 clamp(46px,6.2vw,88px)/.96 "Bebeto Display",Impact,sans-serif;letter-spacing:-.028em;margin:8px 0;color:#fff7e8;text-shadow:0 2px 12px #0a060c55;}
.hero-counter .hero-kicker {color:#b0f3da;}
.hero-poker .hero-kicker {color:#c5e4dd;}
.hero-wins .hero-actions {margin-top:19px;}
.hero-controls {position:absolute;z-index:4;left:clamp(24px,3.4vw,56px);right:22px;bottom:12px;display:flex;align-items:center;gap:7px;}
#lobby .hero-controls button {display:grid;place-items:center;min-width:42px;height:42px;padding:0;border:1px solid #ffffff39;border-radius:50%;background:#16121cbb;color:#faf0df;cursor:pointer;touch-action:manipulation;}
.hero-controls i {width:17px;height:17px;}
.hero-arrows,.hero-dots {display:flex;align-items:center;}
.hero-arrows {margin-left:auto;gap:7px;}
#lobby .hero-dots button {position:relative;border:0;background:none;min-width:28px;height:42px;}
.hero-dots button::before {content:"";width:7px;height:7px;border-radius:10px;background:#fff7e387;}
.hero-dots button[aria-current="true"]::before {width:19px;background:#f5d18f;}
#hero-rotation span {display:block;width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor;}
#hero-rotation[data-paused="true"] span {width:0;height:0;border:0;border-left:9px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;margin-left:3px;}
.hero-feed {position:absolute;z-index:0;right:clamp(29px,4vw,68px);top:50%;transform:translateY(-56%);width:min(43%,460px);padding:16px 19px;background:#171019ed;border:1px solid #836052;border-radius:11px;}
.hero-feed-head,.hero-feed li {display:flex;align-items:center;justify-content:space-between;gap:8px;}
.hero-feed-head {font-size:11px;letter-spacing:.035em;color:#d7bd9b;}
.hero-feed ul {list-style:none;margin:5px 0 0;padding:0;}
.hero-feed li {min-height:50px;border-top:1px solid #46343e;font:600 14px/1.22 var(--lobby-font);color:#f5eadf;}
.hero-feed img {width:31px;height:36px;object-fit:cover;border-radius:5px;}
.hero-feed li>span {flex:1;min-width:0;display:grid;gap:2px;}
.hero-feed strong,.hero-feed small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hero-feed small {color:#c4adaf;font-size:11px;}
.hero-feed b {color:#f6d28d;font-variant-numeric:tabular-nums;}
@media(prefers-reduced-motion:no-preference){
  .hero-slide:not([hidden]) {animation:hero-reveal .26s ease-out both;}
  @keyframes hero-reveal {from{opacity:.65}to{opacity:1}}
}
@media(max-width:760px){
  #hero {height:clamp(348px,81vw,386px);}
  .hero-slide {padding-bottom:47px;}
  .hero-slide .hero-words {padding:18px 21px 12px;}
  .hero-slide .hero-words p {font-size:14px;max-width:min(71%,300px);margin:12px 0 16px;}
  .hero-room .hero-art {top:17px;height:153px;}
  .hero-counter {background-position:center,64% 39%;}
  .hero-goldline {background-position:center,62% 48%;}
  .hero-counter,.hero-goldline {align-items:flex-end;}
  .hero-counter::after,.hero-goldline::after {content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(0deg,#111019e8 1%,#10121964 58%,transparent 88%);}
  .hero-poker::after {
    inset:0;background-image:linear-gradient(90deg,#11292e 6%,#11292efc 37%,#11292ef2 55%,#10272cad 70%,#10272c32 86%,transparent 98%),url("art/covers/poker.webp");
    background-size:100% 100%,auto 108%;background-position:center,right 48%;background-repeat:no-repeat;
  }
  .hero-poker .hero-game-title,.hero-poker .hero-words p {text-shadow:0 1px 4px #122b30c9;}
  .hero-poker .hero-words p {max-width:62%;}
  .hero-game-title {font-size:clamp(42px,12.2vw,66px);}
  .hero-controls {left:19px;right:18px;bottom:9px;gap:5px;}
  #lobby .hero-controls button {min-width:38px;height:38px;}
  #lobby .hero-dots button {min-width:27px;height:38px;}
  .hero-arrows {gap:5px;}
  .hero-wins {display:block;}
  .hero-wins .hero-words {padding-top:16px;}
  .hero-wins .hero-game-title {margin:4px 0 0;font-size:39px;}
  .hero-wins .hero-actions {margin:0;position:absolute;right:17px;top:32px;}
  #lobby .hero-wins .hero-actions a {padding:0 9px;font-size:12px;min-height:38px;}
  .hero-feed {right:18px;left:18px;top:100px;transform:none;width:auto;padding:9px 12px;}
  .hero-feed li {min-height:46px;}
}
@media(max-width:520px){
  .hero-wins {display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:11px 17px 56px;}
  .hero-wins .hero-words {padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;}
  .hero-wins .hero-game-title {margin:0;font-size:clamp(30px,8vw,39px);line-height:1.02;}
  .hero-wins .hero-actions {position:static;margin-top:0;}
  #lobby .hero-wins .hero-actions a {min-height:40px;}
  .hero-feed {position:relative;top:auto;right:auto;left:auto;transform:none;width:100%;margin-top:8px;padding:7px 11px;}
  .hero-feed li {min-height:41px;}
  .hero-feed img {height:30px;width:26px;}
}
@media(max-width:360px){
  .hero-slide:not(.hero-wins) .hero-words {padding-inline:16px;}
}

.mast #audio {
  flex:none; width:44px; min-width:44px; height:44px; min-height:44px; padding:0;
  gap:8px; color:#f1e6dd; background:#332830; border-color:#77616b;
}
.mast #audio svg {display:block; flex:none; width:26px; height:26px;}
.mast #audio .mast-sound-label {display:none;}
.mast #audio[aria-pressed="true"] {color:#ffe1a2; background:#49351e; border-color:#b99860;}
.mast #audio[aria-pressed="true"] .sound-muted {display:none;}
.mast #audio[aria-pressed="true"] .sound-enabled {display:block;}
.mast #audio:hover {border-color:currentColor;}
.mast #audio:focus-visible {outline:2px solid #ffe1a2; outline-offset:3px;}
@media (max-width:360px) {
  .mast-tools:has(#offers:not([hidden])):has(#refill:not([hidden])) #history-open {
    min-width:0; max-width:80px; padding-inline:6px;
  }
  .mast-tools:has(#offers:not([hidden])):has(#refill:not([hidden])) #history-open > i {display:none;}
  .mast-tools:has(#offers:not([hidden])):has(#refill:not([hidden])) .balance-copy small {
    max-width:66px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
}
@media (min-width:960px) {
  .mast #audio {width:auto; padding-inline:12px; border-radius:22px;}
  .mast #audio .mast-sound-label {display:inline; font-size:13px; font-weight:650;}
}
