/* A01 reference layout. Every selector is isolated from existing themes. */
html[data-invite-theme="A01RedGold"]{--a01-bg:#230b00;--a01-wine:#420500;--a01-red:#df130d;--a01-gold:#ffc400;--invite-bar-surface:#30080a;--invite-bar-text:#ffe88a;--invite-bar-button:#df130d;--invite-bar-unit:calc(min(100vw,486px) / 39);--a01-unit:calc(min(100vw,486px) / 390);--color-bg-100:#230b00;--color-bg-200:#420500;--color-bg-300:#591009;--color-text-100:#fff7e5;--color-text-80:#ffe3b7;--color-primary-800:#ffc400;--ion-background-color:#230b00;--ion-text-color:#fff;--tab-image-active-color:#ffe88a;--tab-image-color:#ba9b80}
html[data-invite-theme="A01RedGold"] body{background:#170600!important;color:#fff}
html[data-invite-theme="A01RedGold"] .a01-page{background:radial-gradient(ellipse 90% 260px at 50% 150px,#590900,transparent),#230b00;color:#fff;--u:var(--a01-unit)}
html[data-invite-theme="A01RedGold"] .a01-page button{font:inherit;color:inherit;cursor:pointer;border:0;padding:0;background:none}
html[data-invite-theme="A01RedGold"] .a01-page button:focus-visible{outline:2px solid #ffe88a;outline-offset:3px}
html[data-invite-theme="A01RedGold"] .a01-header{z-index:10;background:#230b00;flex-shrink:0}
html[data-invite-theme="A01RedGold"] .a01-pwa{min-height:calc(42 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-pwa .pwa-header-wrap{background:#230b00!important;min-height:calc(42 * var(--u));color:white}
html[data-invite-theme="A01RedGold"] .a01-toolbar{height:calc(57 * var(--u));padding:0 calc(12 * var(--u));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #571605}
html[data-invite-theme="A01RedGold"] .a01-logo{width:calc(207 * var(--u));height:calc(42 * var(--u));object-fit:contain;object-position:left}
html[data-invite-theme="A01RedGold"] .a01-page .a01-square{width:calc(36 * var(--u));height:calc(36 * var(--u));border:1px solid #ffd000;border-radius:8px;background:linear-gradient(#e41408,#410007);display:grid;place-items:center;flex-shrink:0;font-size:24px}
html[data-invite-theme="A01RedGold"] .a01-content{--background:transparent;--padding-bottom:0}
html[data-invite-theme="A01RedGold"] .a01-hero{margin:calc(12 * var(--u));height:calc(134 * var(--u));overflow:hidden;border-radius:6px}
html[data-invite-theme="A01RedGold"] .a01-hero>*,html[data-invite-theme="A01RedGold"] .a01-hero .swiper{height:100%!important;margin:0!important}
html[data-invite-theme="A01RedGold"] .a01-hero img{width:100%;height:100%;object-fit:fill}
html[data-invite-theme="A01RedGold"] .a01-account{display:flex;align-items:center;gap:calc(8 * var(--u));margin:calc(12 * var(--u));height:calc(48 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-avatar{width:calc(40 * var(--u));height:calc(40 * var(--u));flex-shrink:0}
html[data-invite-theme="A01RedGold"] .a01-avatar img{width:100%;height:100%}
html[data-invite-theme="A01RedGold"] .a01-welcome{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;overflow:hidden}
html[data-invite-theme="A01RedGold"] .a01-welcome strong{font-size:calc(18 * var(--u));font-weight:700;line-height:1.2}
html[data-invite-theme="A01RedGold"] .a01-welcome span{font-size:calc(12 * var(--u));white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
html[data-invite-theme="A01RedGold"] .a01-page .a01-login,html[data-invite-theme="A01RedGold"] .a01-page .a01-register{height:calc(34 * var(--u));width:calc(88 * var(--u));font-size:calc(14 * var(--u));font-weight:700;color:#000;clip-path:polygon(8% 0,100% 0,92% 100%,0 100%);background:#ffc000;border-radius:4px}
html[data-invite-theme="A01RedGold"] .a01-page .a01-login{background:#df130d}
html[data-invite-theme="A01RedGold"] .a01-promos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(15 * var(--u)) calc(10 * var(--u));margin:calc(24 * var(--u)) calc(12 * var(--u)) calc(20 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-promos img{width:100%;height:calc(57 * var(--u));object-fit:fill}
html[data-invite-theme="A01RedGold"] .a01-news-row{display:flex;gap:calc(10 * var(--u));margin:0 calc(12 * var(--u)) calc(20 * var(--u));height:calc(36 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-page .a01-news{min-width:0;flex:1;display:flex;align-items:center;gap:8px;background:#420500;border-radius:7px;text-align:left;overflow:hidden;font-size:calc(14 * var(--u));font-weight:700}
html[data-invite-theme="A01RedGold"] .a01-news img{width:calc(36 * var(--u));height:100%;object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-news span{white-space:nowrap}
html[data-invite-theme="A01RedGold"] .a01-search-icon{width:22px;height:22px;border:2px solid #fff;border-radius:50%;position:relative}
html[data-invite-theme="A01RedGold"] .a01-search-icon:after{content:'';position:absolute;right:-5px;bottom:-3px;width:9px;height:2px;background:#fff;transform:rotate(48deg)}
html[data-invite-theme="A01RedGold"] .a01-catalog{display:grid;grid-template-columns:calc(56 * var(--u)) minmax(0,1fr);gap:calc(12 * var(--u));margin:0 calc(12 * var(--u));align-items:start}
html[data-invite-theme="A01RedGold"] .a01-providers{display:flex;flex-direction:column;gap:calc(10 * var(--u));max-height:70vh;overflow-y:auto;scrollbar-width:none;position:sticky;top:0}
html[data-invite-theme="A01RedGold"] .a01-page .a01-provider{width:100%;min-height:calc(70 * var(--u));flex-shrink:0;border:1px solid #b77c32;border-radius:4px;background:linear-gradient(135deg,#e0897080,transparent 45%),linear-gradient(#61141a,#3e0409 36%,#fa0b06);display:flex;flex-direction:column;align-items:center;justify-content:space-around;font-size:calc(11 * var(--u));font-weight:700;padding:4px 0}
html[data-invite-theme="A01RedGold"] .a01-provider[aria-pressed="true"]{border-color:#ffdb00;box-shadow:inset 0 0 8px #ffb80088}
html[data-invite-theme="A01RedGold"] .a01-provider img{width:calc(35 * var(--u));height:calc(35 * var(--u));object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-provider-symbol{font-size:calc(19 * var(--u));line-height:1.5;color:#fff1db}
html[data-invite-theme="A01RedGold"] .a01-games{min-width:0;overflow:hidden}
html[data-invite-theme="A01RedGold"] .a01-featured{border-radius:12px;background:#c9120c;overflow:hidden;margin-bottom:10px}
html[data-invite-theme="A01RedGold"] .a01-section-title{display:flex;align-items:center;gap:7px;min-height:calc(42 * var(--u));padding:6px 8px;background:linear-gradient(110deg,#9b1007,#ff5500 58%,#b90903)}
html[data-invite-theme="A01RedGold"] .a01-section-title img{width:22px;height:26px;object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-section-title strong{font-size:calc(18 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-section-title button{margin-left:auto;font-size:calc(13 * var(--u));font-weight:700}
html[data-invite-theme="A01RedGold"] .a01-showcases{display:flex;gap:10px;overflow:auto;padding:8px;scrollbar-width:none}
html[data-invite-theme="A01RedGold"] .a01-showcase-card{flex:0 0 calc(108 * var(--u));overflow:hidden;border-radius:9px;background:#de1710!important;display:flex;flex-direction:column;text-align:left}
html[data-invite-theme="A01RedGold"] .a01-showcase-card img{width:100%;height:calc(83 * var(--u));object-fit:cover;border-radius:8px}
html[data-invite-theme="A01RedGold"] .a01-showcase-card span{font-size:calc(11 * var(--u));font-weight:700;padding:3px}
html[data-invite-theme="A01RedGold"] .a01-games .game-wrapper{padding:0!important}
html[data-invite-theme="A01RedGold"] .a01-games .game-list{padding:0!important}
html[data-invite-theme="A01RedGold"] .a01-empty{padding:20px 10px;background:#420500;border-radius:8px;font-size:13px}
html[data-invite-theme="A01RedGold"] .a01-empty button{display:block;margin-top:12px;color:#ffd65a;text-decoration:underline}
html[data-invite-theme="A01RedGold"] .a01-support{position:fixed;left:max(calc((100vw - 486px)/2 + 12px),12px);bottom:calc(250 * var(--u));width:calc(46 * var(--u));height:calc(46 * var(--u));z-index:25}
html[data-invite-theme="A01RedGold"] .a01-support img{width:100%;height:100%;object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-footer{margin:28px 12px}
html[data-invite-theme="A01RedGold"] .a01-bottom-space{height:100px}
html[data-invite-theme="A01RedGold"] .invite-bar-shell{height:calc(78 * var(--a01-unit))!important;background:url('/assets/themes/a01/tabbar.png') center bottom/100% 100% no-repeat!important}
html[data-invite-theme="A01RedGold"] .invite-bar-shell:before,html[data-invite-theme="A01RedGold"] .invite-bar-shell:after{display:none!important}
html[data-invite-theme="A01RedGold"] .invite-bar-shell ion-tab-bar{background:transparent!important;--background:transparent;border:0!important}
html[data-invite-theme="A01RedGold"] .invite-bar-item{padding-top:18px!important;background:none!important}
html[data-invite-theme="A01RedGold"] .invite-bar-item .tab-img{width:calc(29 * var(--a01-unit))!important;height:calc(29 * var(--a01-unit))!important}
html[data-invite-theme="A01RedGold"] .invite-bar-center{background:none!important;border:0!important;box-shadow:none!important;bottom:calc(9 * var(--a01-unit))!important;height:calc(82 * var(--a01-unit))!important;width:calc(98 * var(--a01-unit))!important}
html[data-invite-theme="A01RedGold"] .invite-bar-shine{background:none!important;overflow:visible!important;width:calc(78 * var(--a01-unit))!important;height:calc(62 * var(--a01-unit))!important}
html[data-invite-theme="A01RedGold"] .invite-bar-gift{width:100%!important;height:100%!important;object-fit:contain}
html[data-invite-theme="A01RedGold"] .invite-bar-center span{color:#ffe88a!important;font-size:calc(18 * var(--a01-unit));font-weight:700}
@media(prefers-reduced-motion:reduce){html[data-invite-theme="A01RedGold"] *{animation:none!important;scroll-behavior:auto!important}}
html[data-invite-theme="A01RedGold"] .invite-bar-shell .tab-bar{height:calc(78 * var(--a01-unit))!important}
html[data-invite-theme="A01RedGold"] .invite-bar-shell .tab-bar:before,html[data-invite-theme="A01RedGold"] .invite-bar-shell ion-tab-bar:after{display:none!important}
html[data-invite-theme="A01RedGold"] .invite-bar-shell ion-tab-bar{height:calc(78 * var(--a01-unit))!important;overflow:visible}
html[data-invite-theme="A01RedGold"] .invite-bar-center .tab-main-text{font-size:calc(17 * var(--a01-unit))!important;position:static!important;line-height:1.2;margin-top:-2px}
html[data-invite-theme="A01RedGold"] .invite-bar-item .tab-img{object-fit:contain;filter:none!important;animation:none!important}
html[data-invite-theme="A01RedGold"] .invite-bar-shine:after{display:none!important}
html[data-invite-theme="A01RedGold"] #pwa-header-bar{--background:#230b00!important;--color:#fff;background:#230b00!important;height:42px;--min-height:42px}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .flex>ion-img{display:none}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install{background:linear-gradient(110deg,#c79200,#ff7a18)!important;color:#000;min-width:88px}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install ion-button{--background:transparent!important;--color:#000!important}
html[data-invite-theme="A01RedGold"]{--invite-bar-button-text:#ffe88a;--invite-bar-active:#ffe88a}
html[data-invite-theme="A01RedGold"] .a01-avatar{border-radius:50%;background:#a11b22!important;padding:7px!important}
html[data-invite-theme="A01RedGold"] .a01-page .a01-support{border-radius:50%;background:#da171c;padding:6px;bottom:calc(240 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-support img{filter:brightness(0) invert(1)}
html[data-invite-theme="A01RedGold"] .a01-bonus{position:fixed;right:max(calc((100vw - 486px)/2 + 2px),2px);bottom:calc(178 * var(--u));width:calc(86 * var(--u));z-index:24}
html[data-invite-theme="A01RedGold"] .a01-bonus img{width:100%;height:auto}
html[data-invite-theme="A01RedGold"] .single-content{display:none!important}
html[data-invite-theme="A01RedGold"] .invite-bar-center .tab-main-text{text-transform:capitalize;color:#ffe88a!important;font-weight:700!important}
html[data-invite-theme="A01RedGold"] .invite-bar-center{overflow:visible!important}
html[data-invite-theme="A01RedGold"] .invite-bar-gift{transform:scale(1.4);transform-origin:center bottom}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .button,html[data-invite-theme="A01RedGold"] #pwa-header-bar .install ion-button::part(native){background:transparent!important;color:#000!important;box-shadow:none!important}
html[data-invite-theme="A01RedGold"] .a01-games[aria-label="Jogos Popular"] .game-head:has(.hot-logo){display:none!important}
html[data-invite-theme="A01RedGold"] .a01-games .game-head{background:linear-gradient(110deg,#d8170c,#640906);border-radius:7px;padding:5px;margin-top:12px!important;margin-bottom:8px!important}
html[data-invite-theme="A01RedGold"] .a01-games .game-head .label{font-size:14px}
html[data-invite-theme="A01RedGold"]{--invite-bar-text:#a18d82}
html[data-invite-theme="A01RedGold"] .a01-page .a01-support{bottom:calc(190 * var(--u))}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install *{color:#160800!important}
/* Exact reference artwork: bevel filters, provider atlas and glossy tile. */
html[data-invite-theme="A01RedGold"] .a01-page .a01-login,
html[data-invite-theme="A01RedGold"] .a01-page .a01-register{clip-path:none;border-radius:0;background:transparent url('/assets/themes/a01/button-login.svg') center/100% 100% no-repeat}
html[data-invite-theme="A01RedGold"] .a01-page .a01-register{background-image:url('/assets/themes/a01/button-register.svg')}
html[data-invite-theme="A01RedGold"] .a01-page .a01-provider{border:0;box-shadow:none;background:transparent url('/assets/themes/a01/provider-tile.svg') center/100% 100% no-repeat;padding:0;justify-content:flex-start;gap:0}
html[data-invite-theme="A01RedGold"] .a01-provider img,
html[data-invite-theme="A01RedGold"] .a01-provider-sprite{display:block;width:calc(46 * var(--u));height:calc(46 * var(--u));flex-shrink:0}
html[data-invite-theme="A01RedGold"] .a01-provider-sprite{background-image:url('/assets/themes/a01/provider-sprite.png');background-size:800% 500%}
html[data-invite-theme="A01RedGold"] .a01-section-title{background:#d71410 url('/assets/themes/a01/heading-arrows.svg') left center/auto 100% no-repeat}
/* Reference card surfaces and spacing; counts remain connected to the local catalog. */
html[data-invite-theme="A01RedGold"] .a01-featured{background:#6e0707;margin-bottom:0;border-radius:calc(12 * var(--u)) calc(12 * var(--u)) 0 0}
html[data-invite-theme="A01RedGold"] .a01-section-title{height:calc(42 * var(--u));padding:0 calc(12 * var(--u));gap:calc(8 * var(--u));color:#fff}
html[data-invite-theme="A01RedGold"] .a01-section-title strong{font-weight:700}
html[data-invite-theme="A01RedGold"] .a01-section-title button{display:flex;align-items:center;gap:calc(8 * var(--u));font-size:calc(16 * var(--u));font-weight:700;color:#fff}
html[data-invite-theme="A01RedGold"] .a01-section-title small{display:flex;align-items:center;gap:calc(9 * var(--u));background:#230b00;border-radius:20px;padding:calc(3 * var(--u)) calc(8 * var(--u));font-size:calc(12 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-showcases{padding:calc(12 * var(--u)) calc(10 * var(--u));gap:calc(10 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-page .a01-showcase-card{box-sizing:border-box;flex-basis:calc(108 * var(--u));height:calc(104 * var(--u));padding:calc(4 * var(--u)) calc(4 * var(--u)) 0;background:#d21a1a!important;border-radius:calc(10 * var(--u));color:#fff}
html[data-invite-theme="A01RedGold"] .a01-showcase-card img{width:100%;height:calc(75 * var(--u));object-fit:fill;border-radius:calc(8 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-showcase-card .a01-showcase-label{display:flex;align-items:center;justify-content:center;gap:calc(2 * var(--u));white-space:nowrap;padding:calc(4 * var(--u)) 0;font-size:calc(12 * var(--u));line-height:1;font-weight:700}
html[data-invite-theme="A01RedGold"] .a01-showcase-label small{background:#6e0707;border-radius:calc(4 * var(--u));padding:calc(2 * var(--u));font-size:calc(9 * var(--u));font-weight:400}
html[data-invite-theme="A01RedGold"] .a01-game-panel{background:#6e0707;border-radius:0 0 calc(12 * var(--u)) calc(12 * var(--u));overflow:hidden;margin-bottom:calc(12 * var(--u));padding-top:calc(12 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-games .card-container{padding:0 calc(8 * var(--u)) calc(8 * var(--u))!important;gap:calc(12 * var(--u))!important}
html[data-invite-theme="A01RedGold"] .a01-games .game-card{width:calc(25% - 9 * var(--u))!important;border-radius:calc(8 * var(--u));background:linear-gradient(331deg,#fff 2.58%,#fff0,#fff 97.72%)!important}
html[data-invite-theme="A01RedGold"] .a01-games .game-img{padding:calc(2 * var(--u));border-radius:calc(6 * var(--u));overflow:hidden}
html[data-invite-theme="A01RedGold"] .a01-games .game-img::part(image){border-radius:calc(6 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-page .a01-show-all{display:block;width:100%;height:calc(38 * var(--u));background:#d21a1a;color:#fff;font-size:calc(12 * var(--u));font-weight:700}
/* All catalog groups share the reference surface, independent of fallback theme. */
html[data-invite-theme="A01RedGold"] .a01-game-panel{border-radius:calc(12 * var(--u));padding-top:0;margin-bottom:calc(16 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-popular-panel{border-radius:0 0 calc(12 * var(--u)) calc(12 * var(--u));padding-top:calc(12 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head{margin:0 0 calc(12 * var(--u))!important;border-radius:0;padding:0 calc(12 * var(--u));height:calc(42 * var(--u));background:#d21a1a url('/assets/themes/a01/heading-arrows.svg') left center/auto 100% no-repeat;color:#fff;gap:calc(8 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .label,
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .number{color:#fff!important;font-weight:700!important}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .title-c .label{font-size:calc(18 * var(--u))!important}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .logo{color:#fff!important;filter:brightness(0) invert(1);width:calc(26 * var(--u));height:calc(26 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .total{margin-left:auto;background:transparent!important;padding:0;gap:calc(8 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .total .label{font-size:calc(16 * var(--u))!important}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .total .number{font-size:calc(12 * var(--u))!important;background:#230b00;border-radius:20px;padding:calc(4 * var(--u)) calc(8 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .arrow-container ion-icon{color:#fff!important;background:#230b00!important}
html[data-invite-theme="A01RedGold"] .a01-games .game-card .platform-icon{color:#fff!important;filter:brightness(0) invert(1)}
html[data-invite-theme="A01RedGold"] .a01-games .game-card .favorite{color:rgba(255,255,255,.65)!important}
html[data-invite-theme="A01RedGold"] .a01-section-title{background-color:#d21a1a}
html[data-invite-theme="A01RedGold"] .a01-section-title img{width:calc(22 * var(--u));height:calc(32 * var(--u));flex-shrink:0}
html[data-invite-theme="A01RedGold"] .a01-section-title strong{font-size:calc(20 * var(--u));line-height:1.2;color:#fff}
html[data-invite-theme="A01RedGold"] .a01-section-title button{font-size:calc(16 * var(--u));line-height:1.2}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .logo-c{min-width:0;flex:1;gap:calc(6 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .title-c{min-width:0;overflow:hidden}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .title-c .label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .total,
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head .arrow-container{flex-shrink:0}
/* Reference provider headings: short names and one catalog arrow. */
html[data-invite-theme="A01RedGold"] .a01-game-panel .game-head{display:none!important}
html[data-invite-theme="A01RedGold"] .a01-group-heading{display:flex;align-items:center;justify-content:space-between;gap:calc(8 * var(--u));height:calc(42 * var(--u));padding:0 calc(8 * var(--u));margin-bottom:calc(12 * var(--u));background:#d21a1a url('/assets/themes/a01/heading-arrows.svg') left center/auto 100% no-repeat;color:#fff}
html[data-invite-theme="A01RedGold"] .a01-group-name{display:flex;align-items:center;gap:calc(6 * var(--u));min-width:0}
html[data-invite-theme="A01RedGold"] .a01-group-name strong{font-size:calc(18 * var(--u));font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-invite-theme="A01RedGold"] .a01-group-name .a01-provider-sprite{width:calc(28 * var(--u));height:calc(28 * var(--u));flex-shrink:0}
html[data-invite-theme="A01RedGold"] .a01-group-heading button{display:flex;align-items:center;gap:calc(8 * var(--u));flex-shrink:0;color:#fff;font-size:calc(16 * var(--u));font-weight:700}
html[data-invite-theme="A01RedGold"] .a01-group-heading small{display:flex;align-items:center;gap:calc(10 * var(--u));background:#230b00;border-radius:20px;padding:calc(4 * var(--u)) calc(8 * var(--u));font-size:calc(12 * var(--u));line-height:1.2;color:#fff}
/* A01 right-hand menu, matching the reference structure. */
html[data-invite-theme="A01RedGold"] .a01-toolbar .a01-square{background:linear-gradient(#d21a1a 0%,#6e0707 47.92%,#430404 100%);border-color:#fcb612}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install{background:#fcb612!important;border-radius:calc(4 * var(--u));min-width:calc(84 * var(--u));padding:0!important;height:calc(30 * var(--u))}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .button:before{content:'↓';margin-right:6px;font-size:20px}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .button{display:flex;align-items:center;justify-content:center;height:100%;font-size:calc(12 * var(--u));font-weight:700}
html[data-invite-theme="A01RedGold"] .a01-drawer-backdrop{position:fixed;inset:0;background:#0008;z-index:10000;display:flex;justify-content:flex-end}
html[data-invite-theme="A01RedGold"] .a01-drawer{--du:var(--a01-unit);width:calc(324 * var(--du));max-width:100%;height:100%;background:#230b00;color:#fff;display:flex;flex-direction:column;outline:none;box-shadow:-1px 0 #6e0707}
/* Ionic already positions the fixed backdrop within the centered page. Keep inset:0 at every viewport width. */
html[data-invite-theme="A01RedGold"] .a01-drawer-header{padding:calc(10 * var(--du));flex-shrink:0}
html[data-invite-theme="A01RedGold"] .a01-drawer-brand{display:flex;align-items:center;justify-content:space-between}
html[data-invite-theme="A01RedGold"] .a01-drawer-brand>img{width:calc(190 * var(--du));height:calc(38 * var(--du));object-fit:contain;object-position:left}
html[data-invite-theme="A01RedGold"] .a01-drawer .a01-drawer-close{width:calc(32 * var(--du));height:calc(32 * var(--du));border-radius:calc(12 * var(--du));background:#430404;color:#e31c18;font-size:calc(25 * var(--du));line-height:1}
html[data-invite-theme="A01RedGold"] .a01-drawer-welcome{text-align:center;padding:calc(26 * var(--du)) 0 calc(20 * var(--du));margin:0 0 calc(16 * var(--du));font-size:calc(14 * var(--du));font-weight:400;background:radial-gradient(ellipse at bottom,#6e0707,transparent 65%);border-bottom:1px solid #ffffff18}
html[data-invite-theme="A01RedGold"] .a01-drawer-auth{display:flex;gap:calc(4 * var(--du))}
html[data-invite-theme="A01RedGold"] .a01-drawer-auth button{flex:1;font-size:calc(14 * var(--du));height:calc(34 * var(--du))}
html[data-invite-theme="A01RedGold"] .a01-drawer-scroll{overflow:auto;min-height:0;padding-bottom:calc(20 * var(--du));overscroll-behavior:contain}
html[data-invite-theme="A01RedGold"] .a01-drawer-popular{display:flex;gap:calc(5 * var(--du));padding:calc(8 * var(--du)) calc(14 * var(--du));align-items:center}
html[data-invite-theme="A01RedGold"] .a01-drawer-popular>img{width:calc(22 * var(--du));height:calc(28 * var(--du));object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-drawer-popular strong{display:block;font-size:calc(14 * var(--du));line-height:1}
html[data-invite-theme="A01RedGold"] .a01-drawer-popular small{font-size:calc(10 * var(--du));color:#a18d82}
html[data-invite-theme="A01RedGold"] .a01-drawer-games{height:calc(96 * var(--du));overflow:hidden;background:#430404;padding:calc(10 * var(--du)) 0}
html[data-invite-theme="A01RedGold"] .a01-drawer-games .game-head{display:none!important}
html[data-invite-theme="A01RedGold"] .a01-drawer-games .card-container{display:flex!important;flex-wrap:nowrap!important;gap:calc(10 * var(--du))!important;padding:0 calc(12 * var(--du))!important}
html[data-invite-theme="A01RedGold"] .a01-drawer-games .game-card{flex:0 0 calc(54 * var(--du));width:calc(54 * var(--du))!important;border-radius:6px;background:linear-gradient(331deg,#fff,#fff0,#fff)}
html[data-invite-theme="A01RedGold"] .a01-drawer-games .game-img{padding:2px;border-radius:6px;overflow:hidden}
html[data-invite-theme="A01RedGold"] .a01-drawer h2{font-size:calc(14 * var(--du));color:#a18d82;font-weight:400;margin:calc(10 * var(--du)) calc(12 * var(--du))}
html[data-invite-theme="A01RedGold"] .a01-drawer-events,html[data-invite-theme="A01RedGold"] .a01-drawer-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(8 * var(--du));margin:0 calc(12 * var(--du))}
html[data-invite-theme="A01RedGold"] .a01-drawer-events button{position:relative;text-align:left;height:calc(68 * var(--du));border:1px solid #6e0707;border-radius:6px;background:linear-gradient(45deg,#fff0,#ffffff08 16%,#fff0 16%,#ffffff08 32%,#fff0 32%,#ffffff08 48%,#fff0 48%,#ffffff08),#430404;overflow:hidden;padding:calc(4 * var(--du));align-content:start}
html[data-invite-theme="A01RedGold"] .a01-drawer-events strong{display:block;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(12 * var(--du));line-height:1.2}
html[data-invite-theme="A01RedGold"] .a01-drawer-events span{display:inline-block;border-radius:20px;background:#230b00;color:#a18d82;font-size:calc(10 * var(--du));padding:2px 5px;margin-top:calc(6 * var(--du))}
html[data-invite-theme="A01RedGold"] .a01-drawer-events img{position:absolute;right:2px;bottom:2px;width:calc(60 * var(--du));height:calc(48 * var(--du));object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-drawer-providers button{height:calc(42 * var(--du));background:#430404;border:1px solid #6e0707;border-radius:4px;display:flex;align-items:center;gap:calc(8 * var(--du));padding:calc(8 * var(--du));font-size:calc(12 * var(--du));text-align:left}
html[data-invite-theme="A01RedGold"] .a01-drawer-providers .a01-provider-sprite{width:calc(24 * var(--du));height:calc(24 * var(--du));background-image:url('/assets/themes/a01/drawer-providers.png')}
html[data-invite-theme="A01RedGold"] .a01-drawer-providers img{width:calc(24 * var(--du));height:calc(24 * var(--du));object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-drawer-download{position:relative;background:#430404;border:1px solid #6e0707;border-radius:6px;margin:calc(28 * var(--du)) calc(12 * var(--du)) calc(18 * var(--du));padding:calc(6 * var(--du));min-height:calc(88 * var(--du))}
html[data-invite-theme="A01RedGold"] .a01-drawer-download>strong{font-size:calc(14 * var(--du));display:block}
html[data-invite-theme="A01RedGold"] .a01-drawer-download>p{color:#a18d82;font-size:calc(10 * var(--du));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:70%;margin:4px 0 8px}
html[data-invite-theme="A01RedGold"] .a01-drawer-download>div{display:flex;width:70%;gap:calc(8 * var(--du))}
html[data-invite-theme="A01RedGold"] .a01-drawer-download button{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #6e0707;border-radius:30px;flex:1;height:calc(30 * var(--du));font-size:calc(12 * var(--du));font-weight:700}
html[data-invite-theme="A01RedGold"] .a01-drawer-download button img{width:calc(20 * var(--du));height:calc(20 * var(--du));filter:brightness(0) invert(1)}
html[data-invite-theme="A01RedGold"] .a01-drawer-download>img{position:absolute;right:0;bottom:0;width:calc(93 * var(--du));height:calc(94 * var(--du));pointer-events:none;object-fit:contain}
html[data-invite-theme="A01RedGold"] body:has(.a01-drawer-backdrop) .invite-bar-shell,
html[data-invite-theme="A01RedGold"] body:has(.a01-drawer-backdrop) .invite-bar-center,
html[data-invite-theme="A01RedGold"] body:has(.a01-drawer-backdrop) .a01-support,
html[data-invite-theme="A01RedGold"] body:has(.a01-drawer-backdrop) .a01-bonus{visibility:hidden!important;pointer-events:none!important}
html[data-invite-theme="A01RedGold"] .a01-drawer-popular>div{display:flex;flex-direction:column;gap:2px}
html[data-invite-theme="A01RedGold"] .a01-drawer-welcome,html[data-invite-theme="A01RedGold"] .a01-drawer h2{font-weight:400!important}
html[data-invite-theme="A01RedGold"] .a01-drawer strong{font-weight:700!important}
/* Drawer enters from the right; scrolling remains available without a visible rail. */
html[data-invite-theme="A01RedGold"] .a01-drawer{animation:a01-drawer-enter .24s cubic-bezier(.2,.8,.2,1) both}
html[data-invite-theme="A01RedGold"] .a01-drawer-backdrop{animation:a01-drawer-shade .24s ease both}
html[data-invite-theme="A01RedGold"] .a01-drawer-scroll{scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}
html[data-invite-theme="A01RedGold"] .a01-drawer-scroll::-webkit-scrollbar{display:none;width:0;height:0}
@keyframes a01-drawer-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes a01-drawer-shade{from{background:transparent}to{background:#0008}}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .button:before{content:none!important}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install{background:linear-gradient(110deg,#c89100,#ff781c)!important;min-width:calc(108 * var(--u));height:calc(34 * var(--u));border-radius:calc(6 * var(--u))}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .button{gap:calc(14 * var(--u));font-size:calc(12 * var(--u));height:100%!important}
html[data-invite-theme="A01RedGold"] .a01-install-cloud{display:block;width:calc(26 * var(--u));height:calc(26 * var(--u));object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-toolbar .a01-square{touch-action:manipulation;position:relative;z-index:1}
/* The explicit slide lifecycle keeps the drawer mounted through its exit. */
html[data-invite-theme="A01RedGold"] .a01-drawer{animation:none!important;will-change:transform}
html[data-invite-theme="A01RedGold"] .a01-drawer-backdrop{animation:none!important}
html[data-invite-theme="A01RedGold"] .a01-drawer-providers button{background:#430404;box-shadow:none;border:1px solid #6e0707}
html[data-invite-theme="A01RedGold"] .a01-drawer-auth .a01-register{background-image:url('/assets/themes/a01/button-register.svg?v=2')}
/* Original btn-default measurements and gradient from the reference. */
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install{width:calc(108 * var(--u));min-width:calc(108 * var(--u));height:calc(34 * var(--u));padding:0!important;background:linear-gradient(90deg,#b39200 -27%,#ff702e 127%)!important;border-radius:calc(6 * var(--u));box-shadow:none!important;overflow:hidden}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .button{box-sizing:border-box;width:100%!important;height:100%!important;min-height:0!important;padding:calc(8 * var(--u)) calc(10 * var(--u))!important;display:flex!important;align-items:center;justify-content:space-between;gap:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .button>span{display:flex;align-items:center;justify-content:space-between;width:100%;gap:0}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .a01-install-cloud{width:calc(26 * var(--u));height:calc(26 * var(--u));flex-shrink:0}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .a01-install-text{display:block;width:auto;line-height:1.5;font-size:calc(12 * var(--u));font-weight:700;color:#000!important}
html[data-invite-theme="A01RedGold"] #pwa-header-bar .install .a01-install-button{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:calc(8 * var(--u)) calc(10 * var(--u));background:transparent;border:0;box-sizing:border-box;cursor:pointer}
/* Standalone banner avoids Ionic toolbar slot clipping. */
html[data-invite-theme="A01RedGold"] .a01-pwa{min-height:0}
html[data-invite-theme="A01RedGold"] .a01-app-banner{position:relative;display:flex;align-items:center;gap:calc(8 * var(--u));height:calc(52 * var(--u));padding:0 calc(12 * var(--u)) 0 calc(36 * var(--u));box-sizing:border-box;background:#1e0900;color:#fff;overflow:visible}
html[data-invite-theme="A01RedGold"] .a01-page .a01-app-close{position:absolute;left:0;top:0;display:flex;align-items:flex-start;justify-content:flex-start;width:calc(30 * var(--u));height:calc(26 * var(--u));padding:calc(2 * var(--u)) calc(6 * var(--u));border-radius:0 0 100% 0;background:#ffffff14;color:#fff;font-size:calc(18 * var(--u));font-weight:400;line-height:1.2}
html[data-invite-theme="A01RedGold"] .a01-app-icon{width:calc(30 * var(--u));height:calc(30 * var(--u));flex-shrink:0;object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-app-copy{flex:1;min-width:0;margin:0;font-size:calc(12 * var(--u));font-weight:500!important;line-height:1.5;color:#fff}
html[data-invite-theme="A01RedGold"] .a01-page .a01-app-banner .a01-install-button{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;flex:0 0 calc(108 * var(--u));width:calc(108 * var(--u));height:calc(34 * var(--u));padding:0 calc(10 * var(--u));border-radius:calc(6 * var(--u));background:linear-gradient(90deg,#b39200 -27%,#ff702e 127%);color:#000}
html[data-invite-theme="A01RedGold"] .a01-app-banner .a01-install-cloud{width:calc(26 * var(--u));height:calc(26 * var(--u));flex-shrink:0}
html[data-invite-theme="A01RedGold"] .a01-app-banner .a01-install-text{font-size:calc(12 * var(--u));font-weight:700;line-height:1.5;color:#000;white-space:nowrap}
/* Reference footer hierarchy with the platform's own links and legal copy. */
html[data-invite-theme="A01RedGold"] .a01-footer{margin:calc(24 * var(--u)) calc(12 * var(--u)) 0;padding:calc(12 * var(--u));border:1px solid #6e0707;border-bottom:0;border-radius:calc(10 * var(--u)) calc(10 * var(--u)) 0 0;background:#430404;color:#a98b8b;display:flex;flex-direction:column}
html[data-invite-theme="A01RedGold"] .a01-footer h2{font-size:calc(14 * var(--u));font-weight:700;margin:calc(8 * var(--u)) 0 calc(12 * var(--u));color:#a98b8b}
html[data-invite-theme="A01RedGold"] .a01-footer-downloads{display:flex;gap:calc(12 * var(--u));margin-bottom:calc(10 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-footer-downloads button{display:flex;align-items:center;gap:calc(10 * var(--u));flex:1;min-width:0;background:#760b09;border-radius:calc(7 * var(--u));height:calc(50 * var(--u));padding:calc(10 * var(--u));color:#fff;text-align:left}
html[data-invite-theme="A01RedGold"] .a01-footer-downloads img{width:calc(22 * var(--u));height:calc(22 * var(--u));filter:brightness(0) invert(1)}
html[data-invite-theme="A01RedGold"] .a01-footer-downloads small{display:block;font-size:calc(8 * var(--u));line-height:1.4}
html[data-invite-theme="A01RedGold"] .a01-footer-downloads strong{display:block;font-size:calc(10 * var(--u));line-height:1.5}
html[data-invite-theme="A01RedGold"] .a01-footer-downloads button>span:last-child{margin-left:auto;color:#b36660}
html[data-invite-theme="A01RedGold"] .a01-footer-payments,html[data-invite-theme="A01RedGold"] .a01-footer-providers{width:100%;height:auto;object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-footer-providers{margin:calc(14 * var(--u)) 0 calc(36 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-footer-contact{display:flex;justify-content:space-between}
html[data-invite-theme="A01RedGold"] .a01-footer-social{display:flex;align-items:center;gap:calc(10 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-footer-social img{width:calc(26 * var(--u));height:calc(26 * var(--u));object-fit:contain}
html[data-invite-theme="A01RedGold"] .a01-footer .footer-content{display:contents}
html[data-invite-theme="A01RedGold"] .a01-footer .footer-content>.title,html[data-invite-theme="A01RedGold"] .a01-footer .footer-content>.text-center{display:none}
html[data-invite-theme="A01RedGold"] .a01-footer .footer-content>.content{margin:calc(30 * var(--u)) calc(14 * var(--u)) 0;color:#a98b8b;font-size:calc(11 * var(--u));line-height:1.5}
html[data-invite-theme="A01RedGold"] .a01-footer .footer-content>.content p{font-size:calc(11 * var(--u));line-height:1.5}
html[data-invite-theme="A01RedGold"] .a01-footer-logo{width:calc(225 * var(--u));max-width:75%;height:calc(52 * var(--u));object-fit:contain;align-self:center;margin-top:calc(48 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-footer .footer-content>.sub{order:5;color:#a98b8b;font-size:calc(10 * var(--u));margin:calc(10 * var(--u)) 0 calc(26 * var(--u));text-align:center}
html[data-invite-theme="A01RedGold"] .a01-footer-social button img{filter:brightness(0) invert(1)}

/* A01 reference header and register badge, 2026-11-03 */
html[data-invite-theme="A01RedGold"] .a01-toolbar{position:relative;isolation:isolate;background:#200900;overflow:hidden}
html[data-invite-theme="A01RedGold"] .a01-toolbar:before{content:"";position:absolute;z-index:-1;left:51%;right:-9%;top:calc(8 * var(--u));height:125%;border-radius:calc(18 * var(--u)) 0 0 0;transform:skewX(-29deg);background:linear-gradient(115deg,#440c06,#290700 72%);pointer-events:none}
html[data-invite-theme="A01RedGold"] .a01-logo{width:calc(150 * var(--u));height:calc(37 * var(--u))}
html[data-invite-theme="A01RedGold"] .a01-content{--background:radial-gradient(ellipse 82% 260px at 50% 140px,#6b1007 0%,#3c0b03 50%,#230b00 100%)}
html[data-invite-theme="A01RedGold"] .a01-page .a01-register{position:relative;isolation:isolate;clip-path:none;background:none!important;overflow:visible}
html[data-invite-theme="A01RedGold"] .a01-register:before{content:"";position:absolute;inset:0;z-index:-1;background:#ffc000;border-radius:4px;clip-path:polygon(8% 0,100% 0,100% 100%,0 100%);box-shadow:inset 0 -2px #b97e00}
html[data-invite-theme="A01RedGold"] .a01-register-badge{position:absolute;right:-2px;top:-9px;display:flex;align-items:center;gap:7px;padding:1px 5px;border:1px solid #ffe366;border-radius:6px 2px 6px 2px;background:linear-gradient(110deg,#93049c 48%,#f03d58 49%);color:#fff34d;font-size:11px;line-height:14px;font-weight:900;font-style:italic;white-space:nowrap;pointer-events:none}
html[data-invite-theme="A01RedGold"] .a01-promos img{object-fit:contain}
html[data-invite-theme="A01RedGold"] body:has(#stacked-floats:not([hidden])) .a01-bonus{display:none!important}

html[data-invite-theme="A01RedGold"] .a01-promos button:not(:has(img)){display:none}
