/* Guided customization, readable controls and wrapping navigation. */
.studio-tabs,.sub-tabs,.category-bar{flex-wrap:wrap;overflow:visible;scrollbar-width:none}.studio-tabs{gap:0 24px}.studio-tabs button{padding:14px 0;min-height:46px}.sub-tabs{gap:0 25px}.category-bar{gap:0 24px}.category-bar .category-icon{margin-left:0}.category-bar .search-mini{margin-left:auto}.studio-tabs::-webkit-scrollbar,.sub-tabs::-webkit-scrollbar,.category-bar::-webkit-scrollbar{display:none}.mobile-admin-section{display:none}.field input,.field select,.field textarea,.modal input,.modal select,.modal textarea{font-size:15px;line-height:1.6;color:color-mix(in srgb,var(--text) 88%,transparent)}.field label{display:flex;align-items:center;gap:7px;line-height:1.5}.field small{line-height:1.7}.field input::placeholder{color:#8c95aa99}.domain-row{display:flex;gap:10px;align-items:stretch}.domain-row>input{flex:1;min-width:0;color:color-mix(in srgb,var(--text) 60%,transparent)}.domain-row>.btn{flex-shrink:0;min-width:145px;font-size:13px}.admin-panel{overflow:visible}.admin-columns.brand-identity-grid{grid-template-columns:1.1fr 1fr;gap:32px}.brand-identity-grid .interactive-brand-preview{min-height:280px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;align-self:start;position:sticky;top:20px}.interactive-brand-preview>p{line-height:1.8;font-size:14px}.mini-header{display:flex;align-items:center;gap:18px;justify-content:space-between;border:1px solid #ffffff18;padding:20px;border-radius:13px;flex-wrap:wrap}.mini-brand{display:flex;align-items:center;gap:10px;min-width:0}.mini-brand img{object-fit:contain;max-width:190px}.mini-brand strong{font-size:20px;letter-spacing:.025em;overflow-wrap:anywhere}.mini-header>span{font-size:11px;color:inherit;opacity:.6;white-space:nowrap}.mini-header.position-center{flex-direction:column}.mini-header.position-center .mini-brand{justify-content:center}.mini-header.position-right{flex-direction:row-reverse}.mini-header.position-right .mini-brand{justify-content:flex-end}.mini-theme-card{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.mini-theme-card i{display:block;height:70px;background:linear-gradient(135deg,var(--preview-accent),#ffffff12);border-radius:12px;opacity:.7}.interactive-brand-preview>.pill{align-self:center}.theme-columns{display:grid;grid-template-columns:1fr 1fr 1fr;gap:25px;margin:36px 0 20px}.theme-columns h4{font-size:16px;font-weight:600;margin:0 0 18px}.theme-columns .palette-option{margin:10px 0;width:100%;gap:13px;min-height:58px}.palette-option.shiny{background:linear-gradient(115deg,var(--palette-bg),var(--palette-surface));border-color:color-mix(in srgb,var(--palette-accent) 35%,transparent);box-shadow:inset 0 1px 0 #ffffff17}.palette-option.shiny>span{box-shadow:0 0 14px color-mix(in srgb,var(--palette-accent) 30%,transparent)}.palette-option.active{outline:1px solid var(--accent)}.custom-theme-editor{border:1px solid var(--line);border-radius:15px;padding:25px;margin:25px 0;background:#ffffff02}.custom-theme-editor h3{font-size:22px;margin-bottom:24px}.custom-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.custom-colors input[type=color]{height:65px;padding:7px;width:100%;cursor:pointer}.custom-colors label{font-size:12px}.custom-theme-editor .check-row{margin:0}.player-header .nav-top{height:auto;min-height:92px;padding:20px 0;gap:24px}.player-header .brand{min-width:0;flex-shrink:1}.brand .brand-mark.uploaded{width:auto;height:auto;max-width:var(--logo-width,120px)}.brand .brand-mark.uploaded img{width:var(--logo-width,120px);height:var(--logo-height,44px);max-width:min(var(--logo-width,120px),30vw);object-fit:contain}.player-header .brand-words{max-width:240px;min-width:0}.logo-position-center .nav-top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.logo-position-center .brand{grid-column:2;grid-row:1;justify-content:center}.logo-position-center .nav-tabs{grid-column:1;grid-row:1;justify-content:flex-start}.logo-position-center .header-right{grid-column:3;grid-row:1;justify-content:flex-end}.logo-position-right .nav-top{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.logo-position-right .brand{grid-column:3;grid-row:1;justify-content:flex-end}.logo-position-right .nav-tabs{grid-column:1;grid-row:1;justify-content:flex-start}.logo-position-right .header-right{grid-column:2;grid-row:1}.header-right{flex-shrink:0}.header-wallet{display:flex;align-items:center;gap:7px}.wallet-chip>small{font-size:10px;font-weight:600;opacity:.7}.currency-coin{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:25px;height:25px;flex-shrink:0;background:linear-gradient(130deg,#fff8c9,var(--currency-color) 45%,color-mix(in srgb,var(--currency-color) 70%,#1c1820));border:1px solid color-mix(in srgb,var(--currency-color) 80%,white);box-shadow:inset 0 0 0 3px #ffffff22,0 1px 6px #0003;color:#3c2b14;font-weight:800;font-size:12px}.currency-symbol{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;flex-shrink:0}.currency-toggle{display:flex;padding:3px;background:#ffffff04;border:1px solid var(--line);border-radius:8px;gap:2px}.currency-toggle>button{background:none;color:var(--muted);border-radius:5px;font-size:10px;padding:6px 7px;font-weight:650}.currency-toggle>button.active{background:var(--accent);color:var(--accent-ink)}.currency-menu-button{font-size:11px;padding:6px!important;gap:3px}.wallet-currency-list{display:grid;gap:13px}.wallet-currency-list>button{padding:20px;display:flex;align-items:center;gap:17px;background:#ffffff02;border:1px solid var(--line);border-radius:13px;text-align:left}.wallet-currency-list>button.active{border-color:var(--accent)}.wallet-currency-list>button>div{flex:1}.wallet-currency-list b{font-size:16px}.wallet-currency-list small{font-size:12px;display:block;margin-top:8px;color:var(--muted);line-height:1.7}.wallet-currency-list strong{font-size:22px}.multi-wallet-balances{grid-template-columns:repeat(3,minmax(0,1fr))}.multi-wallet-balances>button{border:1px solid var(--line);border-radius:13px;padding:20px;display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap;background:#ffffff02}.multi-wallet-balances>button.selected{border-color:var(--accent)}.owned-item-list{display:grid;gap:12px}.owned-item-list>div{padding:17px;border:1px solid var(--line);border-radius:11px;display:flex;justify-content:space-between;gap:20px}.owned-item-list small{color:var(--muted);font-size:12px}.inventory-title>b{display:block;font-size:16px;font-weight:600;line-height:1.4;padding:3px 0;overflow-wrap:anywhere}.inventory-edit-row>img{width:80px;height:62px}.inventory-column-labels{display:flex;align-items:center;gap:25px;justify-content:space-between;padding:16px 0;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}.inventory-column-labels span{display:flex;gap:8px;align-items:center}.inventory-hint{margin-top:24px}.inventory-edit-row .unlock-field{font-size:11px}.hero.hero-clean{background:linear-gradient(115deg,var(--surface),color-mix(in srgb,var(--surface) 75%,var(--accent)));border-color:color-mix(in srgb,var(--accent) 12%,transparent);position:relative}.hero-clean h1{color:var(--text)}.hero-illustration:before{background:linear-gradient(90deg,var(--surface),transparent 40%)}.hero-clean p{color:color-mix(in srgb,var(--text) 64%,transparent)}[data-shine=true] .hero.hero-clean{box-shadow:inset 0 1px 0 #ffffff18,0 10px 35px #0002;background:radial-gradient(ellipse at 10% 0%,color-mix(in srgb,var(--accent) 20%,transparent),transparent 65%),linear-gradient(120deg,var(--surface),var(--bg))}[data-shine=true] .btn.primary{background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 65%,white),var(--accent));box-shadow:inset 0 1px 0 #ffffff55,0 2px 12px color-mix(in srgb,var(--accent) 12%,transparent)}[data-shine=true] .wallet-chip{box-shadow:inset 0 1px 0 #ffffff13}[data-shine=true] .game-image-button{box-shadow:0 0 0 1px color-mix(in srgb,var(--gold) 15%,transparent)}.homepage-carousel .hero-copy{padding-bottom:60px}.carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;position:absolute;bottom:16px;left:0;right:0;z-index:3;pointer-events:none}.carousel-controls>*{pointer-events:auto}.carousel-controls>button{height:29px;width:29px;border-radius:50%;border:1px solid #ffffff20;background:#10121f88;color:var(--text);font-size:21px;display:flex;align-items:center;justify-content:center}.carousel-controls>.btn{width:29px;min-height:29px;padding:0;font-size:12px}.carousel-dots{display:flex;gap:7px;padding:8px 11px;border-radius:30px;background:#10121f88}.carousel-dots>button{width:7px;height:7px;border-radius:10px;background:#ffffff45;padding:0}.carousel-dots>button.active{width:18px;background:var(--accent)}.carousel-settings{display:grid;grid-template-columns:1fr 220px;gap:30px;align-items:center;margin-bottom:22px}.carousel-settings .check-row{margin:0}.carousel-settings .field{margin:0}.carousel-editor{display:grid;gap:24px;margin-bottom:25px}.carousel-edit-card{display:grid;grid-template-columns:210px 1fr;gap:26px;border:1px solid var(--line);padding:23px;border-radius:14px;background:#ffffff02}.carousel-edit-card h3{font-size:20px}.carousel-edit-card .between{margin-bottom:20px;flex-wrap:wrap}.slide-image>img{aspect-ratio:1.2;width:100%;object-fit:cover;border-radius:11px}.slide-image .upload-button{margin-top:15px!important;width:100%}.carousel-edit-card .field{margin-bottom:16px}.carousel-edit-card .field label{font-size:12px}.currency-editor{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:25px}.currency-edit-card{padding:24px;border:1px solid var(--line);border-radius:15px;background:#ffffff02}.currency-edit-card>.between{margin-bottom:23px}.currency-edit-card>.between>label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.currency-edit-card>.between .currency-coin,.currency-edit-card>.between .currency-symbol{width:34px;height:34px}.pack-editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.pack-editor-toolbar p{color:var(--muted);font-size:14px}.pack-editor-toolbar b{color:var(--text)}.packs-editor.packs-six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.pack-edit-card{padding:21px 14px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:15px;min-width:0;position:relative;background:linear-gradient(135deg,#ffffff04,#ffffff01);border:1px solid color-mix(in srgb,var(--pack-color) 22%,transparent)}.pack-edit-card h3{font-size:16px;line-height:1.45;font-weight:600;overflow-wrap:anywhere;min-height:44px;display:flex;align-items:center}.pack-edit-card>strong{font-size:20px;line-height:1.3;color:var(--pack-color);font-weight:650}.pack-edit-card>small{color:var(--muted);font-size:11px;line-height:1.6;min-height:18px}.pack-edit-card>.btn{margin-top:auto;width:100%;font-size:13px}.pack-edit-card.featured{border-color:var(--pack-color)}.pack-art{height:64px;display:flex;align-items:center;justify-content:center;margin:5px 0}.pack-art>.currency-coin{width:55px;height:55px;font-size:24px}.pack-art>.currency-symbol{width:52px;height:52px}.pack-art>.currency-symbol svg{width:42px;height:42px}.pack-art>img{width:100%;height:72px;object-fit:contain;border-radius:10px}.pack-card-actions{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px}.pack-pricing{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;line-height:1.4}.pack-pricing>b{font-size:21px;color:var(--text)}.pack-pricing>del{font-size:12px;color:var(--muted)}.offer-badge{background:var(--pack-color);color:#1a1721;font-size:10px;line-height:1.5;padding:4px 8px;border-radius:30px;font-weight:750;max-width:100%;overflow-wrap:anywhere}.pack-bonus{font-size:11px;color:var(--pack-color);line-height:1.6}.store-modal{width:min(1420px,100%)!important}.store-heading-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.store-heading-row p{color:var(--muted);font-size:15px;line-height:1.8;max-width:800px}.store-balance{display:flex;align-items:center;gap:9px;flex-shrink:0;border:1px solid var(--line);border-radius:10px;padding:13px 17px}.store-balance strong{font-size:22px;color:var(--gold)}.store-balance>span:last-child{font-size:11px;color:var(--muted)}.store-currency-filters{margin-bottom:25px}.store-grid{grid-template-columns:repeat(var(--store-cols,6),minmax(0,1fr));gap:15px}.store-offer{border-color:color-mix(in srgb,var(--pack-color) 30%,transparent);background:linear-gradient(125deg,color-mix(in srgb,var(--pack-bg) 85%,var(--pack-color)),var(--pack-bg));box-shadow:inset 0 1px 0 #ffffff12;gap:15px;min-width:0;padding:25px 16px;position:relative}.store-offer .pack-art{height:62px;margin-bottom:4px}.store-offer .offer-badge{position:absolute;top:10px;left:10px;right:10px}.store-offer:has(.offer-badge) .pack-art{margin-top:20px}.store-offer>h3{font-size:16px;line-height:1.5;font-weight:600;min-height:42px;display:flex;align-items:center;justify-content:center;text-align:center;overflow-wrap:anywhere}.store-offer>strong{font-size:29px;line-height:1.3;color:var(--pack-color);font-weight:700}.store-offer>small{font-size:12px;color:#cad0df;line-height:1.6;text-align:center}.store-offer>p{font-size:13px;line-height:1.7;color:#d0d5e1;text-align:center}.store-offer .pack-pricing{margin-top:auto;min-height:42px}.store-offer>.btn{width:100%;margin-top:0;font-size:13px;min-height:39px;padding:10px 7px}.store-layout-compact .store-offer{padding:18px 13px;gap:9px}.store-layout-compact .pack-art{height:42px}.store-layout-compact .pack-art .currency-coin{height:37px;width:37px;font-size:17px}.store-layout-compact .store-offer>strong{font-size:24px}.store-layout-featured .featured-offer{grid-column:span 2;background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--pack-color) 35%,transparent),transparent 75%),var(--pack-bg);box-shadow:inset 0 0 0 1px var(--pack-color)}.checkout-item-art{height:150px;width:100%;object-fit:contain;border-radius:12px}.checkout-summary>.currency-coin{width:75px;height:75px;font-size:34px}.checkout-summary>.currency-symbol{width:75px;height:75px}.checkout-summary>.currency-symbol svg{width:65px;height:65px}.notice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.notice-toolbar p{font-size:14px;color:var(--muted);display:flex;gap:8px;align-items:center}.notice-rule-list{display:grid;gap:16px}.notice-rule{display:flex;align-items:center;gap:22px;padding:23px;border:1px solid var(--line);border-radius:14px;background:#ffffff02}.notice-type-icon{display:flex;align-items:center;justify-content:center;width:49px;height:49px;border-radius:13px;background:#b29af710;color:var(--accent);flex-shrink:0}.notice-type-icon.warning{background:#efce7c12;color:var(--gold)}.notice-type-icon.promo{background:#d88ba415;color:#efb0c5}.notice-rule>div:first-of-type{flex:1;min-width:0}.notice-rule h3{font-size:19px;line-height:1.4;font-weight:600}.notice-rule p{font-size:13px;color:var(--accent);margin:8px 0;line-height:1.6}.notice-rule small{font-size:13px;color:var(--muted);line-height:1.8;display:block;max-width:600px}.notice-active{display:flex;align-items:center;gap:8px;font-size:12px}.dynamic-banner{position:fixed;top:62px;left:50%;transform:translateX(-50%);width:min(1000px,calc(100% - 32px));background:#242b40;border:1px solid var(--accent);border-radius:13px;box-shadow:0 12px 45px #0007;padding:18px 22px;display:flex;align-items:center;gap:20px;z-index:75}.dynamic-banner>div{flex:1}.dynamic-banner strong{font-size:16px;line-height:1.5}.dynamic-banner p{font-size:14px;color:#c8d0df;line-height:1.7;margin-top:7px}.dynamic-banner.warning,.notice-toast.warning{border-color:var(--gold)}.dynamic-notice-overlay{z-index:95}.dynamic-notice .eyebrow{margin-bottom:12px}.dynamic-notice .body-copy{font-size:16px;line-height:1.8;margin:0 0 28px}.dynamic-notice.warning{border-color:#efce7c55}.dynamic-notice.promo{background:linear-gradient(135deg,#30253b,#1b2133)}.notice-image{width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin-bottom:25px}#notice-toast-root{position:fixed;right:24px;bottom:24px;z-index:92;width:min(450px,calc(100% - 30px))}.notice-toast{padding:20px;background:#22293c;border:1px solid #ffffff25;border-radius:14px;box-shadow:0 16px 50px #0005;display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}.notice-toast>div{flex:1;min-width:200px}.notice-toast b{font-size:16px;line-height:1.5}.notice-toast p{font-size:14px;line-height:1.8;color:#c7cedd;margin-top:8px}.notice-toast>.btn{font-size:12px}.agent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.agent-card{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:26px;border:1px solid var(--line);border-radius:15px;background:#ffffff02}.agent-avatar{display:flex;align-items:center;justify-content:center;width:51px;height:51px;color:var(--accent);background:#b29af710;border:1px solid #b29af720;border-radius:14px;flex-shrink:0}.agent-card h3{font-size:21px;font-weight:600;line-height:1.4}.agent-card p{font-size:14px;color:var(--muted);line-height:1.85}.agent-card small{font-size:12px;color:var(--accent);line-height:1.8}.agent-card .btn{margin-top:auto}.agent-staff-list{display:grid;gap:17px}.agent-staff-list>div{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:22px}.agent-staff-list>div>div{flex:1}.agent-staff-list b{font-size:17px}.agent-staff-list small{display:block;color:var(--muted);font-size:13px;line-height:1.8;margin-top:9px}.agent-role-description>svg{color:var(--accent);display:block;margin:10px auto 28px}.agent-role-description>p{font-size:15px;line-height:1.85;color:var(--muted);margin:20px 0}.agent-role-description h3{font-size:20px}.tip-wrap{display:inline-flex;position:relative;vertical-align:middle;flex-shrink:0}.help-tip{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-height:18px;border-radius:50%;border:1px solid #b29af748;background:#b29af70a;color:#bcb7d4;font-size:11px;font-weight:700;padding:0;cursor:help;line-height:1}.tip-bubble{display:none;position:fixed;z-index:150;width:280px;max-width:calc(100vw - 24px);padding:15px 17px;border-radius:11px;background:#edf1fa;color:#1c283c;box-shadow:0 10px 35px #0005;font-size:13px;font-weight:450;line-height:1.75;white-space:normal;letter-spacing:0;text-transform:none;pointer-events:none}.tip-wrap:hover .tip-bubble,.tip-wrap:focus-within .tip-bubble,.tip-wrap.expanded .tip-bubble{display:block}.table-scroll{overflow:visible}.data-table{table-layout:auto;width:100%}.data-table td{overflow-wrap:anywhere}.data-table .btn{white-space:normal}.game-wallet .currency-coin{width:23px;height:23px}.modal .form-grid .field:has([type=color]){min-width:0}.modal-open .player-shell{pointer-events:none}.modal-backdrop{overflow-x:hidden}.modal{max-width:100%}.save-bar .flex{flex-wrap:wrap}.packs-editor+.save-bar{margin-top:30px}
@media(max-width:1200px){.packs-editor.packs-six{grid-template-columns:repeat(3,minmax(0,1fr))}.pack-edit-card{padding:24px 18px}.pack-edit-card h3{min-height:0}.logo-position-center .nav-top,.logo-position-right .nav-top{grid-template-columns:minmax(0,1fr) auto}.logo-position-center .brand,.logo-position-right .brand{grid-column:1;grid-row:1;justify-content:flex-start}.logo-position-center .header-right,.logo-position-right .header-right{grid-column:2;grid-row:1}.logo-position-center .nav-tabs,.logo-position-right .nav-tabs{grid-column:1/-1;grid-row:2;justify-content:center}.store-grid{gap:12px}.store-offer{padding:23px 12px}.store-offer>h3{font-size:14px}.store-offer>strong{font-size:25px}.notice-rule{flex-wrap:wrap;gap:18px}.notice-rule>div:first-of-type{flex-basis:calc(100% - 75px)}.notice-rule>.flex{margin-left:auto}.theme-columns{gap:16px}.palette-option b{font-size:13px}}
@media(max-width:900px){.admin-columns.brand-identity-grid{grid-template-columns:1fr}.brand-identity-grid .interactive-brand-preview{position:static;min-height:240px}.theme-columns{grid-template-columns:1fr 1fr}.theme-columns>section:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.theme-columns>section:last-child h4{grid-column:1/-1}.custom-colors{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-grid{grid-template-columns:1fr 1fr}.carousel-edit-card{grid-template-columns:170px 1fr;gap:20px}.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-offer>h3{font-size:16px}.store-offer>strong{font-size:29px}.header-wallet{gap:4px}.currency-toggle>button{padding:5px 6px}.currency-editor{grid-template-columns:1fr}.player-header .nav-top{grid-template-columns:minmax(0,1fr) auto;padding-top:19px;padding-bottom:0}.logo-position-center .nav-tabs,.logo-position-right .nav-tabs{justify-content:flex-start}.logo-position-center .nav-top{display:grid;grid-template-columns:1fr}.logo-position-center .brand{grid-column:1;grid-row:1;justify-content:center}.logo-position-center .header-right{grid-column:1;grid-row:2;justify-content:center}.logo-position-center .nav-tabs{grid-column:1;grid-row:3;justify-content:center}.logo-position-right .brand{grid-column:2;grid-row:1;justify-content:flex-end}.logo-position-right .header-right{grid-column:1;grid-row:1;justify-content:flex-start}.logo-position-right .nav-tabs{grid-column:1/-1;grid-row:2}.player-header .brand-words{font-size:20px}.carousel-settings{grid-template-columns:1fr 180px}.multi-wallet-balances{grid-template-columns:1fr 1fr}.agent-staff-list>div{flex-wrap:wrap}.agent-staff-list>div>div{flex-basis:60%}.agent-staff-list .pill{margin-left:70px}}
@media(max-width:640px){.studio-tabs{display:none}.mobile-admin-section{display:flex;flex-direction:column;gap:9px;margin:0 0 27px}.mobile-admin-section label{font-size:13px;color:var(--muted)}.mobile-admin-section select{width:100%;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:11px;padding:13px 15px;min-height:48px;font-size:16px}.studio-heading{margin-bottom:25px}.sub-tabs{gap:0 22px;margin-top:14px}.sub-tabs button{font-size:13px;padding:13px 0}.category-bar{gap:0 21px;padding-bottom:3px}.category-bar button{font-size:12px;padding:12px 0;min-height:40px}.category-bar .search-mini{margin-left:0}.domain-row{flex-direction:column;gap:9px}.domain-row .btn{align-self:flex-end;min-width:140px}.field input,.field select,.field textarea,.modal input,.modal select,.modal textarea{font-size:16px}.theme-columns{grid-template-columns:1fr;gap:26px;margin-top:30px}.theme-columns>section:last-child{grid-column:auto;display:block}.theme-columns h4{font-size:17px}.theme-columns .palette-option{min-height:58px;margin:12px 0;padding:14px 18px}.palette-option b{font-size:15px}.interactive-brand-preview{padding:24px 18px}.mini-header{padding:18px 13px;gap:15px;justify-content:center}.mini-brand{justify-content:center;flex-wrap:wrap}.mini-brand strong{font-size:19px}.custom-colors{grid-template-columns:1fr 1fr;gap:0 18px}.custom-colors label{font-size:13px}.custom-theme-editor{padding:22px 18px}.brand-identity-grid .interactive-brand-preview{min-height:240px}.player-header .brand-words{font-size:16px;max-width:160px}.player-header .brand .brand-mark.uploaded img{max-width:min(var(--logo-width,120px),28vw);max-height:80px}.player-header .nav-top{padding-top:17px;gap:16px 10px;min-height:0}.player-header .nav-tabs{gap:30px}.player-header .nav-tabs button{font-size:14px}.player-header .header-right{gap:5px}.player-header .header-wallet{gap:4px}.wallet-chip>small{display:none}.player-header .wallet-chip{padding:5px 4px 5px 7px;gap:5px}.wallet-chip .currency-coin,.wallet-chip .currency-symbol{height:18px;width:18px;font-size:8px}.wallet-chip .currency-symbol svg{width:17px;height:17px}.player-header .wallet-chip .plus{margin-left:2px;width:18px;height:18px}.currency-toggle{padding:2px;border-radius:7px}.currency-toggle>button{font-size:8px;padding:5px}.player-header .avatar{width:29px;height:29px;font-size:10px}.player-header .header-right>.icon-btn{width:24px}.header-wallet .currency-menu-button{font-size:10px!important}.logo-position-center .nav-top{gap:17px;padding-bottom:0}.logo-position-center .brand-words{max-width:230px;font-size:20px}.logo-position-center .brand .brand-mark.uploaded img{max-width:min(var(--logo-width,120px),65vw)}.logo-position-right .header-right{flex-wrap:wrap;gap:5px}.logo-position-right .brand-words{max-width:130px}.hero-clean .hero-illustration:before{background:linear-gradient(90deg,var(--surface),transparent 80%)}.hero-clean .hero-copy{padding-bottom:57px;min-height:270px}.homepage-carousel.hero.hero-clean{min-height:270px}.homepage-carousel .hero-illustration{height:100%;min-height:270px}.carousel-controls{bottom:13px;gap:8px}.carousel-controls>button{height:26px;width:26px}.carousel-dots{gap:5px}.carousel-dots>button{width:6px;height:6px}.carousel-dots>button.active{width:16px}.carousel-settings{grid-template-columns:1fr;gap:20px}.carousel-edit-card{grid-template-columns:1fr;padding:18px;gap:24px}.slide-image>img{height:190px;aspect-ratio:auto}.carousel-edit-card h3{font-size:22px}.carousel-edit-card .between{gap:15px}.carousel-edit-card .between>.flex{width:100%;justify-content:flex-end}.carousel-edit-card .field label{font-size:14px}.carousel-editor+.between>.flex{flex-wrap:wrap;justify-content:flex-end}.pack-editor-toolbar{flex-direction:column;align-items:stretch;gap:16px}.pack-editor-toolbar>.flex{justify-content:flex-end;flex-wrap:wrap}.pack-editor-toolbar .btn{font-size:12px}.packs-editor.packs-six{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.pack-edit-card{padding:22px 12px;gap:14px}.pack-edit-card h3{font-size:16px;min-height:44px}.pack-edit-card>strong{font-size:22px}.pack-pricing>b{font-size:22px}.pack-edit-card small{font-size:11px}.pack-art{height:56px}.pack-art>.currency-coin{width:47px;height:47px;font-size:20px}.pack-edit-card .btn{font-size:13px}.pack-card-actions{gap:4px}.pack-card-actions .position-buttons button{width:25px}.store-modal .modal-body{padding:24px 17px}.store-heading-row{flex-direction:column;align-items:stretch;gap:17px}.store-heading-row p{font-size:14px}.store-balance{align-self:flex-start}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.store-offer{padding:24px 13px;gap:14px}.store-offer>h3{font-size:15px;line-height:1.5;min-height:44px}.store-offer>strong{font-size:29px}.store-offer>small{font-size:12px}.store-offer .pack-bonus{font-size:11px}.store-offer .btn{font-size:12px}.store-offer .offer-badge{font-size:9px}.store-layout-featured .featured-offer{grid-column:1/-1}.store-currency-filters{gap:0 19px}.currency-edit-card{padding:22px 18px}.wallet-currency-list>button{padding:18px 15px;gap:12px}.wallet-currency-list strong{font-size:19px}.wallet-currency-list b{font-size:15px}.wallet-currency-list small{font-size:11px}.multi-wallet-balances>button,.multi-wallet-balances>div{padding:19px 10px;gap:9px}.multi-wallet-balances strong{font-size:23px}.notice-toolbar{align-items:flex-start;gap:15px;flex-wrap:wrap}.notice-rule{padding:22px 18px;gap:17px}.notice-rule>div:first-of-type{flex-basis:100%;order:2}.notice-rule>.notice-active{order:1;margin-left:auto}.notice-rule>.flex{order:3;justify-content:flex-end;width:100%}.notice-rule h3{font-size:21px}.notice-rule p,.notice-rule small{font-size:13px}.notice-type-icon{width:44px;height:44px}.dynamic-banner{top:12px;padding:18px;gap:15px;flex-wrap:wrap}.dynamic-banner>div{flex-basis:100%}.dynamic-banner strong{font-size:16px}.dynamic-banner p{font-size:14px}#notice-toast-root{bottom:15px;right:15px}.notice-toast{padding:19px}.notice-toast>div{min-width:160px}.notice-toast b{font-size:16px}.notice-toast p{font-size:14px}.agent-grid{grid-template-columns:1fr;gap:20px}.agent-card{padding:25px}.agent-card h3{font-size:23px}.agent-card p{font-size:15px}.agent-card small{font-size:13px}.agent-staff-list>div{gap:17px}.agent-staff-list .pill{margin-left:0}.agent-staff-list small{font-size:13px}.tip-bubble{font-size:13px;line-height:1.8}.table-scroll{overflow:visible}.data-table{min-width:0;table-layout:fixed}.data-table thead{display:none}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block;width:100%}.data-table tr{padding:17px;border:1px solid var(--line);border-radius:13px;margin-bottom:16px;background:#ffffff02}.data-table td{padding:10px 0;border:0;min-width:0!important;max-width:none!important;font-size:14px}.data-table td::before{content:attr(data-label);display:block;font-size:10px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:#848fa8;margin-bottom:7px}.data-table td:empty{display:none}.data-table b{font-size:15px}.data-table small{font-size:13px}.data-table .btn{font-size:12px}.data-table td .flex{flex-wrap:wrap}.save-bar .flex{display:flex;flex-wrap:wrap}.save-bar .flex .btn{flex:1;min-width:110px}.owned-item-list>div{flex-direction:column;gap:10px}.studio-heading>.flex{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.homepage-carousel *{animation:none!important;transition:none!important}}
@media(min-width:1101px){.studio-tabs{display:grid;grid-template-columns:repeat(var(--studio-columns,6),minmax(0,1fr));gap:0 22px}.studio-tabs button{text-align:left}}
@media(min-width:641px) and (max-width:1100px){.studio-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px}.studio-tabs button{text-align:left}}

/* Keep supplied cover titles and complete artwork inside each tile. */
.supplied-artwork .game-image-button{aspect-ratio:1;background:#11131a}.supplied-artwork .game-image-button>img{object-fit:contain}.supplied-artwork:hover .game-image-button>img{transform:none}

/* Full-width supplied banner, with open space for copy on the left. */
.hero.hero-clean.purple-gold-banner{position:relative;display:block;min-height:280px;background:#180726;isolation:isolate}
.purple-gold-banner .hero-illustration{position:absolute;inset:0;width:100%;height:100%;opacity:1;z-index:-1;overflow:hidden}
.purple-gold-banner .hero-illustration::before,.purple-gold-banner .hero-illustration::after,.purple-gold-banner .hero-copy::after{display:none}
.purple-gold-banner .hero-illustration img{width:100%;height:100%;object-fit:cover;object-position:center;opacity:1;filter:none;transform:none}
.purple-gold-banner .hero-copy{position:relative;width:58%;height:100%;z-index:1;background:transparent;padding:38px 44px}
.purple-gold-banner h1{color:#fff8ef;font-size:40px;max-width:490px}
.purple-gold-banner p{color:#f1e5f8;max-width:410px}
@media(max-width:650px){.hero.hero-clean.purple-gold-banner{min-height:260px;height:auto}.purple-gold-banner .hero-copy{width:76%;padding:28px 22px}.purple-gold-banner h1{font-size:29px;max-width:235px}.purple-gold-banner p{max-width:220px;font-size:13px}.purple-gold-banner .hero-illustration img{object-position:65% center}.purple-gold-banner .hero-illustration::before{display:block;content:'';position:absolute;inset:0;background:linear-gradient(90deg,#13051de6,transparent);z-index:1}}

/* Product photography sits on clean, padded reward cards. */
.prize-card>img{object-fit:contain;background:#f7f7f7;padding:18px;height:240px;box-sizing:border-box}
.reward-edit-image>img{object-fit:contain;background:#f7f7f7;padding:12px;box-sizing:border-box}
.prize-card:has(img[src*="/reward-hawaii"])>img{object-fit:cover;padding:0}

.earn-section-tabs{margin-top:12px}.earn-section-heading{margin:26px 0}.limited-promo-image{width:100%;max-height:280px;object-fit:contain;border-radius:12px;margin:18px 0}

.earning-controls{border-top:1px solid var(--line);padding-top:25px;margin-top:28px}.earning-controls h3{font-size:23px}.earning-rule{padding:22px 0;border-bottom:1px solid var(--line)}.profile-earning-progress{display:grid;gap:18px;margin:22px 0}.earning-progress-row{padding:18px;border:1px solid var(--line);border-radius:12px}.earning-progress-row .progress{margin:12px 0}.earning-progress-row small{color:var(--muted);line-height:1.6}

/* Clear rewards navigation and high-contrast favorites. */
.game-card .fav.active{color:#ff84b2;background:rgba(255,132,178,.12)}
.game-card .fav.active svg{fill:currentColor;stroke:currentColor}
.loyalty-balance{display:flex;flex-direction:column;gap:3px;align-items:flex-end;background:none;border:0;padding:0;color:var(--text);flex-shrink:0}
.loyalty-balance strong{font-size:clamp(40px,5vw,64px);line-height:1.05;letter-spacing:-.04em;color:var(--accent)}
.loyalty-balance span{font-size:16px;color:var(--muted)}
.advent-day.mystery strong{font-size:14px;line-height:1.4}
.advent-day.mystery:not(.today){background:var(--surface);opacity:.75}
@media(max-width:600px){.rewards-heading{align-items:flex-start;gap:24px;flex-wrap:wrap}.loyalty-balance{align-items:flex-start}.advent-days{grid-template-columns:repeat(2,minmax(0,1fr))}.advent-day.grand{grid-column:1/-1}.nav-tabs button{white-space:nowrap}}

.mission-milestone{margin-bottom:36px}.story-section{max-width:850px}.story-section>.field{max-width:440px;margin-bottom:24px}.story-preview{display:grid;gap:20px}.story-preview .btn,.story-preview .pill{justify-self:start}.prize-filters{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:24px 0 30px}.prize-filters .field{min-width:240px;margin:0}.prize-wish{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface);color:var(--muted)}.prize-wish.active{color:#ff84b2}.prize-wish.active svg{fill:currentColor}.section-head h2,.category-bar button,.mission-card h3{text-transform:capitalize}

.studio-shell .studio-tabs button,.studio-shell .sub-tabs button,.studio-shell label,.studio-shell h2,.studio-shell h3,.studio-shell .btn{text-transform:capitalize}.studio-shell input:not([type=checkbox]):not([type=color]),.studio-shell select,.studio-shell textarea{background:#160d23!important;color:rgba(255,255,255,.7)!important;border:1px solid #493658!important}.studio-shell input::placeholder,.studio-shell textarea::placeholder{color:rgba(255,255,255,.5)}.studio-shell option{background:#160d23;color:rgba(255,255,255,.7)}.studio-shell .save-bar{position:sticky;bottom:0;z-index:5;background:var(--surface);padding:14px;border:1px solid var(--line);border-radius:12px}.reward-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}.reward-quick-table{min-width:1050px}.reward-quick-table input:not([type=checkbox]),.reward-quick-table select{width:100%;min-width:100px;padding:10px;border-radius:7px}.reward-quick-table td{padding:10px}.reward-quick-table th:nth-child(2){width:23%}.reward-quick-table th:nth-child(1){width:19%}

.studio-shell select{text-transform:capitalize}.reward-actions{position:sticky;top:0;z-index:8;background:var(--bg);padding:12px 0}.reward-actions+.save-bar{position:static}

.reward-quick-table .btn{white-space:nowrap}.reward-quick-table th:last-child{min-width:100px}

.studio-shell .save-bar{background:#10071d!important;border:1px solid #755593;box-shadow:0 -8px 28px rgba(0,0,0,.5);color:#fff}.studio-shell .save-bar p{color:#e0d4ec}.inventory-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;margin:20px 0}.inventory-filters input,.inventory-filters select{width:100%}.game-feature-unlock{display:flex;flex-direction:column;gap:10px;min-width:210px}.game-feature-unlock>label:first-child{display:flex;align-items:center;gap:8px}.journey-unlock-label{font-size:12px;color:var(--muted);margin-top:3px}.game-feature-unlock select{border-radius:8px;padding:11px;width:100%}.journey-inventory-row .inventory-title{min-width:140px;flex:1}.journey-inventory-row{align-items:center}.inventory-list{margin-top:20px}@media(max-width:650px){.inventory-filters{grid-template-columns:1fr 1fr}.inventory-filters>.field:first-child{grid-column:1/-1}.game-feature-unlock{flex-basis:100%;min-width:0}.journey-inventory-row .position-buttons{margin-left:auto}.studio-shell .save-bar{bottom:8px}}

/* Clear admin selection and special workspace links. */
.studio-shell .studio-tabs button{border:2px solid transparent;border-radius:10px}
.studio-shell .studio-tabs button.active,.studio-shell .sub-tabs button.active{border:2px solid #b78aff!important;background:#28183e!important;color:#fff!important;box-shadow:0 0 0 1px #b78aff30}
.studio-shell .sub-tabs button{border:2px solid transparent;border-radius:9px}
.studio-shell #admin-section-select{border-color:#b78aff!important}
.btn.integration-link{background:linear-gradient(135deg,#ffe59a,#e4b541)!important;border:1px solid #ffdd80!important;color:#17100a!important;font-weight:700}
.btn.integration-link:hover{background:#ffe8a9!important}
.modal.game-placeholder{position:relative;width:min(680px,calc(100vw - 32px),calc(100dvh - 48px));max-height:none;padding:0;overflow:visible;background:#10071d;border:1px solid #493658;border-radius:18px}
.game-placeholder>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:17px}
.game-placeholder .game-placeholder-close{position:absolute;right:12px;top:12px;z-index:1;width:40px;height:40px;background:#10071de6;color:#fff;border:1px solid #ffffff80;border-radius:50%;box-shadow:0 2px 12px #0008}

/* Responsive forms: intrinsic date/select widths must never widen their grid. */
.studio-shell .studio-tabs button,.studio-shell .sub-tabs button{padding-left:14px;padding-right:14px}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.field,.form-grid>* ,.reward-edit-fields,.admin-workspace,.modal-body,.modal-header>div{min-width:0}
.field input:not([type=checkbox]):not([type=color]),.field select,.field textarea,.reward-quick-table input:not([type=checkbox]),.reward-quick-table select{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
input[type=date]{display:block;min-width:0;max-width:100%;min-height:48px;appearance:none;-webkit-appearance:none}
input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}
.modal-backdrop{background:rgba(0,0,0,.5);backdrop-filter:none}
.modal{box-sizing:border-box;min-width:0;max-width:100%;max-height:calc(100dvh - 68px);overflow-y:auto;overflow-x:hidden;margin:auto;overscroll-behavior:contain}
.modal .form-grid{gap:22px 24px}
.modal .field label{display:block;margin-bottom:9px;line-height:1.5}
.modal form>button[type=submit]{margin-top:24px;margin-bottom:6px}
#profile-form>p{margin-top:22px;line-height:1.6;overflow-wrap:anywhere}
.account-summary{margin-bottom:24px}.account-tabs{margin:24px 0;gap:8px;flex-wrap:wrap;overflow:visible}
.account-tabs button,.store-currency-filters button{padding:10px 14px}
.store-filter-label{font-weight:650;margin:20px 0 10px}.store-currency-filters{flex-wrap:wrap;overflow:visible;gap:8px}
.store-offer,.pack-edit-card{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){
 .form-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .modal .form-grid{gap:20px}
 .modal-backdrop{padding:16px 12px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}
 .modal{width:100%;max-height:calc(100dvh - 32px)}
 .modal-header{padding:22px 18px;gap:12px}.modal-header h2{font-size:25px}.modal-header>.icon-btn{flex-shrink:0}
 .modal-body{padding:22px 18px}
 .account-tabs{display:flex;gap:8px}.account-tabs button{font-size:13px;flex:0 1 auto}
 .reward-quick-table,.reward-quick-table tbody,.reward-quick-table tr,.reward-quick-table td{display:block;width:100%;min-width:0!important;max-width:100%;box-sizing:border-box}
 .reward-quick-table thead{display:none}.reward-quick-table tr{padding:16px;margin-bottom:18px;border:1px solid var(--line);border-radius:12px}
 .reward-quick-table td{padding:9px 0;border:0}
 .reward-quick-table td:before{content:attr(data-label);display:block;margin-bottom:8px;font-size:13px;color:#c7bcd4;text-transform:none}
 .reward-quick-table input:not([type=checkbox]),.reward-quick-table select{font-size:16px;min-width:0!important}
 .reward-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reward-actions .btn{min-width:0;padding:12px 10px}.reward-actions>.btn:first-child{grid-column:1/-1}
 .reward-edit-card{grid-template-columns:minmax(0,1fr)}.reward-edit-image{min-width:0}.reward-edit-image img{width:100%;max-height:220px;object-fit:contain}
 .save-bar{gap:14px;flex-wrap:wrap}.save-bar .flex{gap:10px}
 .level-panel{gap:14px;padding:18px}.level-panel .level-data{min-width:0}.level-panel .level-data h3{margin-bottom:12px}
}

/* Compact overview: two rows, horizontal discovery on small screens. */
.overview-dashboard{margin-bottom:28px;min-width:0}.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.dashboard-toolbar h2{font-size:22px;margin:0 0 7px}.dashboard-toolbar p{font-size:13px;color:var(--muted);margin:0}.metric-picker{position:relative;flex-shrink:0}.metric-picker summary,.activity-more summary{cursor:pointer;list-style:none;border:1px solid #80639e;border-radius:9px;padding:11px 14px;color:#e9d9ff;font-size:13px;font-weight:650}.metric-picker summary::-webkit-details-marker,.activity-more summary::-webkit-details-marker{display:none}.metric-options{position:absolute;right:0;top:calc(100% + 8px);z-index:12;background:#160d23;border:1px solid #80639e;border-radius:12px;padding:18px;width:265px;max-width:calc(100vw - 40px);box-shadow:0 12px 32px #0009;max-height:65dvh;overflow:auto}.metric-options p{margin:0 0 14px}.metric-options label{display:flex;align-items:center;gap:11px;padding:9px 0;font-size:14px}.metric-options input{width:18px;height:18px;flex-shrink:0;accent-color:#c2a0ff}.dashboard-metric-scroll{display:grid;grid-template-rows:repeat(2, minmax(126px,auto));grid-auto-flow:column;grid-auto-columns:calc((100% - 60px)/6);gap:12px;overflow-x:auto;padding:3px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#80639e #1b102a}.dashboard-metric{border:1px solid #ffffff16;background:#211233;border-radius:12px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:10px;scroll-snap-align:start}.dashboard-metric-label{font-size:13px;line-height:1.35;color:#d1c5dc;display:flex;align-items:flex-start;gap:6px}.dashboard-metric strong{font-size:29px;line-height:1.15;color:#fff;overflow-wrap:anywhere}.dashboard-metric strong.game-metric-value{font-size:18px;line-height:1.3}.dashboard-metric small{font-size:11px;line-height:1.4;color:#baaacb}.dashboard-metric.needs-attention{border-color:#b94c64;background:#301425}.needs-attention small,.attention-caption{color:#ff9bb0!important}.attention-flag{display:inline-flex;background:#da3c5b;color:#fff;border-radius:50%;width:17px;height:17px;align-items:center;justify-content:center;font-weight:800;flex-shrink:0}.attention-caption{font-size:10px}.dashboard-source-note{font-size:11px;color:var(--muted);line-height:1.5;margin:8px 0 0}.dashboard-swipe-hint{display:none}.activity-more{margin-top:16px}.activity-more summary{display:inline-block}.activity-more .activity-list{margin-top:16px}.activity-less-label{display:none}.activity-more[open] .activity-less-label{display:inline}.activity-more[open] .activity-more-label{display:none}
@media(max-width:900px){.dashboard-metric-scroll{grid-auto-columns:calc((100% - 30px)/3.35)}.dashboard-swipe-hint{display:block;margin-top:5px;color:#d2b8f2}.dashboard-metric{padding:12px;gap:8px}}
@media(max-width:600px){.dashboard-toolbar{align-items:flex-start;gap:10px}.dashboard-toolbar h2{font-size:19px}.dashboard-toolbar p{font-size:11px;line-height:1.5}.metric-picker summary{font-size:11px;padding:10px}.dashboard-metric-scroll{gap:8px;grid-auto-columns:calc((100% - 24px)/3.25);grid-template-rows:repeat(2,minmax(126px,auto))}.dashboard-metric{padding:10px 8px;border-radius:10px}.dashboard-metric-label{font-size:11px;min-height:30px;flex-wrap:wrap}.dashboard-metric strong{font-size:23px}.dashboard-metric strong.game-metric-value{font-size:13px}.dashboard-metric small{font-size:10px}.attention-flag{width:14px;height:14px;font-size:10px}.attention-caption{font-size:9px}}

.modal.game-placeholder.widescreen-demo{width:min(1280px,calc(100vw - 32px),calc((100dvh - 64px)*16/9));max-height:none;overflow:visible;padding:0;background:#08050d}
.game-placeholder.widescreen-demo>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.widescreen-demo .game-placeholder-close{top:-19px;right:-8px;background:#10071d;border-color:#dcc8f0}

/* Game takeover uses the entire viewport with a 80% black lobby scrim. */
.modal-backdrop.game-backdrop{position:fixed;inset:0;z-index:100;padding:0;background:rgba(0,0,0,.8);backdrop-filter:none;align-items:center;justify-content:center;overflow:hidden}
.game-backdrop .modal.game-placeholder{margin:0;border:0;border-radius:0;box-shadow:none;width:min(100vw,100dvh);max-width:100vw;max-height:100dvh;overflow:visible}
.game-backdrop .modal.game-placeholder.widescreen-demo{width:min(100vw,calc(100dvh * 16 / 9))}
.game-backdrop .game-placeholder>img{border-radius:0;display:block;object-fit:contain}
.game-backdrop .game-placeholder .game-placeholder-close{position:fixed;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:44px;height:44px;background:rgba(0,0,0,.8);color:#fff;border:1px solid #ffffff90;z-index:101}

.loyalty-center-balance{margin:10px 0 14px}.loyalty-center-balance .loyalty-balance{align-items:flex-start;text-align:left}.earn-more-link{background:none;border:0;padding:0;color:var(--accent);font-size:14px;text-decoration:underline;cursor:pointer;margin:0 0 8px}.loyalty-center-balance~.section{margin-top:16px}
.account-tabs{display:flex;gap:8px;padding:8px;background:#100d1b;border:1px solid #ffffff18;border-radius:12px;flex-wrap:wrap}.account-tabs button{border:1px solid #ffffff25;border-radius:8px;padding:11px 14px;color:#d3ccdf;background:#ffffff05}.account-tabs button.active{background:#bda0f5;color:#160d23;border-color:#d8c4ff;font-weight:700}.account-tabs button.active:after{display:none}
.store-grid.store-layout-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.store-grid .compact-coin-offer{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;text-align:left;gap:14px;padding:18px;min-height:100px}.compact-coin-offer .pack-art{height:40px;margin:0}.compact-coin-offer .pack-art img{max-width:40px;max-height:40px;object-fit:contain}.pack-summary{min-width:0;display:flex;flex-direction:column;gap:5px}.pack-summary strong{font-size:25px;line-height:1.2}.pack-summary small{font-size:12px;line-height:1.4}.pack-special{font-size:10px;font-weight:750;color:#1c1303;background:#f3d780;border-radius:5px;padding:4px 7px;align-self:flex-start}.compact-coin-offer>.btn{margin:0;min-width:92px;padding:12px}.store-grid:not(.store-layout-compact) .compact-coin-offer{grid-template-columns:1fr;text-align:center}.store-grid:not(.store-layout-compact) .pack-summary{align-items:center}
@media(max-width:760px){.store-grid.store-layout-compact{grid-template-columns:minmax(0,1fr)}.store-grid .compact-coin-offer{padding:14px 12px;gap:10px;grid-template-columns:32px minmax(0,1fr) auto}.compact-coin-offer .pack-art{height:32px}.compact-coin-offer .pack-art>.currency-coin{width:30px;height:30px}.pack-summary strong{font-size:23px}.compact-coin-offer>.btn{min-width:88px;font-size:13px;padding:12px 9px}.account-tabs button{flex:1 1 90px;font-size:12px;text-align:center}.policy-content{overflow-wrap:anywhere}}

/* Portrait game previews keep the full supplied screen visible. */
.game-backdrop .modal.game-placeholder.portrait-demo{width:min(100vw,calc(100dvh * 9 / 16));max-height:100dvh;background:#08050d}
.game-backdrop .game-placeholder.portrait-demo>img{width:100%;height:auto;aspect-ratio:9/16;max-height:100dvh;object-fit:contain}

/* Casino navigation stays together while the page below scrolls. */
.casino-chrome{position:sticky;top:0;z-index:30;isolation:isolate;background:var(--casino-bg,var(--bg));box-shadow:0 8px 24px #0003}
.casino-chrome .player-header{background:var(--casino-bg,var(--bg))}
.demo-bar{color:#e7eaf0;background:#11151b}
.demo-bar .btn.studio-entry{background:#55caff;border:1px solid #8de1d8;color:#092c2a;font-weight:750;border-radius:9px;box-shadow:0 2px 7px #0004}
.demo-bar .btn.studio-entry:hover{background:#70d6cb}
.demo-bar .btn.studio-entry:focus-visible{outline:3px solid #9cdcff;outline-offset:3px}
/* Work surfaces have an independent PlayExpress palette. */
.studio-shell,.admin-modal{--bg:#11171b;--surface:#171e23;--panel:#171e23;--text:#edf4f5;--muted:#a5b7bd;--line:#ffffff20;--accent:#55caff;--accent-ink:#092c2a;--gold:#efce7c;--green:#75caff;color:var(--text);color-scheme:dark}
body.editing-mode{background:#11171b}
.studio-shell{background:#11171b}
.studio-shell .studio-header{background:#172127;border-color:#35484f}
.studio-identity{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.studio-identity .pe-logo{color:#70d6cb;font-size:19px}
.studio-identity strong{font-size:20px}
.studio-identity small{color:var(--muted);font-size:13px}
.work-mode-badge{background:#163c3e;color:#9cdcff;border:1px solid #438e8b;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700}
.studio-shell .admin-panel,.studio-shell .dashboard-metric,.studio-shell .metric,.studio-shell .inventory-row,.studio-shell .category-edit-row,.studio-shell .role-cards article,.studio-shell .agent-card,.studio-shell .pack-edit-card,.studio-shell .reward-edit-card{background:#171e23;border-color:#36454d;color:var(--text)}
.studio-shell .dashboard-metric.needs-attention{background:#331e27;border-color:#b94c64}
.studio-shell .dashboard-metric-label,.studio-shell .dashboard-metric small,.studio-shell .dashboard-swipe-hint{color:#b8c9cf}
.studio-shell .studio-tabs button.active,.studio-shell .sub-tabs button.active{border:2px solid #55caff!important;background:#19354f!important;color:#d9efff!important;box-shadow:none}
.studio-shell #admin-section-select{border-color:#55caff!important}
.studio-shell input:not([type=checkbox]):not([type=color]),.studio-shell select,.studio-shell textarea,.admin-modal input:not([type=checkbox]):not([type=color]),.admin-modal select,.admin-modal textarea{background:#111a20!important;color:rgba(255,255,255,.7)!important;border:1px solid #4a606a!important}
.studio-shell option,.admin-modal option{background:#111a20;color:#e4eef0}
.studio-shell input[type=checkbox],.admin-modal input[type=checkbox]{accent-color:#55caff}
.studio-shell .save-bar{background:#0e181e!important;border-color:#456c92;color:#edf4f5}
.studio-shell .save-bar p{color:#c5d6da}
.studio-shell .metric-options{background:#172127;border-color:#456c92}
.studio-shell .metric-picker summary,.studio-shell .activity-more summary{border-color:#456c92;color:#a6d7ff}
.studio-shell .dashboard-metric-scroll{scrollbar-color:#456c92 #172127}
.studio-shell .info-box,.studio-shell .role-preview,.admin-modal .info-box,.admin-modal .role-preview{background:#192e43;color:#c0daf2;border-color:#324f70}
.studio-shell .pill.purple,.admin-modal .pill.purple{background:#19354f;color:#a6d7ff}
.studio-shell .btn.secondary,.admin-modal .btn.secondary{background:#1e292f;color:#e0eef0;border-color:#49606a}
.admin-modal .modal{background:var(--surface);color:var(--text);border-color:#49606a}
/* Player account and store controls inherit the chosen casino palette. */
#modal-root:not(.admin-modal) .modal:not(.game-placeholder){background:var(--surface);color:var(--text)}
#modal-root:not(.admin-modal) .account-tabs{background:var(--bg);border-color:var(--line)}
#modal-root:not(.admin-modal) .account-tabs button{background:color-mix(in srgb,var(--surface),var(--text) 5%);color:color-mix(in srgb,var(--text) 80%,transparent);border-color:var(--line)}
#modal-root:not(.admin-modal) .account-tabs button.active{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
#modal-root:not(.admin-modal) input:not([type=checkbox]):not([type=color]),#modal-root:not(.admin-modal) select,#modal-root:not(.admin-modal) textarea{background:var(--bg);color:color-mix(in srgb,var(--text) 70%,transparent);border-color:var(--line)}
@media(max-width:760px){.studio-header>.page{gap:16px;flex-wrap:wrap}.studio-identity{gap:8px 14px}.studio-identity small{flex-basis:100%}.work-mode-badge{font-size:11px;padding:8px 10px}.casino-chrome .demo-bar{padding-top:max(8px,env(safe-area-inset-top))}.casino-chrome .demo-label{display:none}}

/* One compact workspace identity row, without repeated studio labels. */
.studio-header>.page{padding-top:14px;padding-bottom:14px}
.studio-header .studio-identity{gap:10px 14px;align-items:center}
.studio-header .studio-identity .pe-logo{white-space:nowrap}
.studio-header .work-mode-badge{white-space:nowrap;padding:8px 10px}
.studio-header .studio-identity small{flex-basis:auto;font-size:13px}
@media(max-width:480px){.studio-header .studio-identity{gap:8px 10px}.studio-header .studio-identity .pe-logo{font-size:16px}.studio-header .work-mode-badge{font-size:10px}.studio-header .studio-identity small{font-size:12px}}

/* Return-to-casino actions are distinct from teal edit-mode actions. */
.demo-bar .btn[data-action="mode"][data-mode="player"],.studio-shell .btn[data-action="mode"][data-mode="player"]{background:#7445bf;border:1px solid #b491ee;color:#fff;font-weight:750}
.demo-bar .btn[data-action="mode"][data-mode="player"]:hover,.studio-shell .btn[data-action="mode"][data-mode="player"]:hover{background:#8956d8}
.demo-bar .btn[data-action="mode"][data-mode="player"]:focus-visible,.studio-shell .btn[data-action="mode"][data-mode="player"]:focus-visible{outline:3px solid #d8c5ff;outline-offset:3px}

/* Compact edit-mode heading leads directly into the admin section selector. */
.studio-shell .studio-main{padding-top:14px}
.studio-shell .studio-heading{margin:0 0 14px;gap:10px;align-items:center;flex-direction:row;flex-wrap:wrap}
.studio-shell .studio-heading h1{font-size:28px;line-height:1.2;margin:0;max-width:none}
.studio-shell .studio-tabs{margin-bottom:20px}
@media(max-width:600px){.studio-shell .studio-main{padding-top:12px}.studio-shell .studio-heading h1{font-size:24px}.studio-shell .studio-heading{margin-bottom:12px}.studio-shell .studio-header>.page{padding-top:10px;padding-bottom:10px}}

/* High-contrast floating save controls stay distinct from the workspace. */
.studio-shell .save-bar{background:#080a0b!important;border:2px solid #f2cd55!important;border-radius:12px;box-shadow:0 8px 28px #000b,0 -4px 18px #0006;color:#fff;padding:16px;bottom:max(10px,env(safe-area-inset-bottom));z-index:15}
.studio-shell .save-bar p{color:#f5edd5}
.studio-shell .save-bar .btn[data-action="save-section"]{background:#55caff;border:1px solid #8de1d8;color:#092c2a;font-weight:750;min-height:44px}
.studio-shell .save-bar .btn[data-action="save-section"]:hover{background:#70d6cb}
.studio-shell .save-bar .btn:focus-visible{outline:3px solid #f2cd55;outline-offset:3px}
.studio-shell .save-bar .btn.ghost{color:#e6e9eb}
@media(max-width:600px){.studio-shell .save-bar{padding:12px;gap:12px}.studio-shell .save-bar>.flex{flex-wrap:wrap;gap:8px;min-width:0}.studio-shell .save-bar .btn{min-height:44px}}

/* Reward tiles are direct actions; the wheel retains a true circular shape. */
.promo-experience .promo-object.round-wheel{position:relative;display:grid;place-items:center;flex:none;width:min(240px,65vw);height:auto;aspect-ratio:1/1;box-sizing:border-box;border:8px solid var(--gold);border-radius:50%;background:conic-gradient(#7544c0 0deg 45deg,#efbf49 45deg 90deg,#26887f 90deg 135deg,#efbf49 135deg 180deg,#7544c0 180deg 225deg,#efbf49 225deg 270deg,#26887f 270deg 315deg,#efbf49 315deg);box-shadow:0 8px 24px #0006;overflow:visible}
.round-wheel .wheel-center{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;border:4px solid var(--gold);background:var(--bg);color:var(--gold)}
.promo-experience .round-wheel:after{content:'';position:absolute;top:-15px;left:calc(50% - 10px);border-left:10px solid transparent;border-right:10px solid transparent;border-top:24px solid #fff}
.promo-experience .round-wheel.revealing{animation:gift-wheel-spin .9s ease-out both}
@keyframes gift-wheel-spin{to{transform:rotate(1080deg)}}
button.advent-day{font:inherit;color:var(--text);width:100%;min-width:0;cursor:pointer}
button.advent-day:disabled{cursor:default;opacity:1}
button.advent-day.today{border:2px solid var(--gold);background:color-mix(in srgb,var(--gold) 12%,var(--surface))}
button.advent-day.today:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 30%,transparent)}
button.advent-day:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.new-player-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.new-player-days .advent-day{min-height:110px;padding:12px 6px;gap:9px}
.new-player-days .advent-day strong{font-size:12px}.gift-progress{margin:0 0 18px;color:var(--muted);line-height:1.5}
.flying-point{background:var(--accent);border-color:var(--accent)}
@media(max-width:600px){.new-player-days{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.new-player-days .advent-day{min-height:98px}.modal .calendar-card .section-head{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.promo-experience .round-wheel.revealing{animation:none}.flying-coin{transition-duration:.01s}}

/* Compact editing workspace and consistent persistent actions. */
.studio-shell .studio-header{position:sticky;top:0;z-index:25;box-shadow:0 5px 18px #0005}
.studio-shell .studio-main{padding-bottom:180px}
.studio-shell .save-bar{position:fixed;left:50%;transform:translateX(-50%);width:min(1220px,calc(100% - 32px));box-sizing:border-box;margin:0;bottom:max(12px,env(safe-area-inset-bottom));z-index:24}
.studio-shell.brand-workspace .save-bar{position:static;transform:none;width:100%;margin-top:28px}
.studio-shell.brand-workspace .studio-main{padding-bottom:32px}
.studio-shell .reward-actions{position:static}
.studio-shell .field>label,.admin-modal .field>label,.studio-shell .mobile-admin-section>label{color:rgb(237 244 245 / .5)}
.studio-shell .field>label .help-tip{opacity:1}
.back-to-top{display:flex;justify-content:center;padding:24px 0;width:100%}
.footer-bottom{flex-wrap:wrap}
.reward-image-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:16px}
.reward-image-actions label{display:flex;align-items:center;gap:8px;font-size:13px}
.reward-thumbnail{display:block;background:#fff;border:1px solid var(--line);padding:4px;border-radius:8px;width:62px;height:62px;cursor:zoom-in}
.reward-thumbnail img{width:100%;height:100%;object-fit:contain;border-radius:4px}
.reward-image-preview{display:block;max-width:100%;width:100%;max-height:65vh;object-fit:contain;background:#fff;border-radius:12px}
.reward-quick-table th:first-child{width:76px}.reward-quick-table th:nth-child(2){width:18%}.reward-quick-table th:nth-child(3){width:23%}
@media(min-width:1000px){
.studio-shell .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.studio-shell .reward-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.studio-shell .reward-edit-card{grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:16px;padding:18px}
.studio-shell .reward-edit-card .form-grid,.studio-shell .brand-identity-grid .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-shell .reward-edit-image>img{height:150px;object-fit:contain}
}
@media(min-width:1400px){.studio-shell .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.studio-shell .save-bar{width:calc(100% - 24px)}.studio-shell .studio-main{padding-bottom:220px}.studio-shell.brand-workspace .save-bar{width:100%}.studio-shell.brand-workspace .studio-main{padding-bottom:24px}}

/* Unified pinned work toolbar and content-sized desktop controls. */
.studio-shell .studio-header .demo-bar{position:static;height:auto;min-height:42px;padding:8px 24px;box-sizing:border-box;flex-wrap:wrap}
.studio-shell .studio-header .demo-tools{display:flex;flex-wrap:wrap;gap:8px}
.studio-shell .studio-header>.page{padding-top:10px;padding-bottom:10px}
.studio-shell input.has-entered-value:not([type=checkbox]):not([type=color]),.studio-shell select.has-entered-value,.studio-shell textarea.has-entered-value,.admin-modal input.has-entered-value,.admin-modal select.has-entered-value,.admin-modal textarea.has-entered-value{color:#f6d365!important;font-weight:700}
.studio-shell input::placeholder,.admin-modal input::placeholder{font-weight:400;color:rgba(255,255,255,.5)!important}
@media(min-width:1000px){
.studio-shell .theme-columns{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.studio-shell .theme-columns>section:last-child{grid-column:auto;display:block}
.studio-shell .theme-columns .palette-option{padding:12px;gap:8px}
.studio-shell .theme-columns .palette-option b{font-size:13px}
.studio-shell .brand-identity-grid .logo-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.studio-shell .logo-controls>.field{flex:0 1 auto}
.studio-shell .logo-controls label{font-size:12px}
.studio-shell .field input:not([type=checkbox]):not([type=color]):not([type=file]),.studio-shell .field select,.admin-modal .field input:not([type=checkbox]):not([type=color]):not([type=file]),.admin-modal .field select{width:var(--control-ch,20ch);max-width:100%;min-width:0;box-sizing:border-box}
.studio-shell .field textarea{width:100%;max-width:60ch;box-sizing:border-box}
.studio-shell .domain-row{justify-content:flex-start;flex-wrap:wrap}
.studio-shell .domain-row>input{flex:0 1 auto}
.studio-shell .form-grid{justify-content:start}
}
@media(max-width:640px){.studio-shell .studio-header .demo-bar{padding:8px 12px;gap:8px}.studio-shell .studio-header .demo-tools{gap:6px}.studio-shell .studio-header .demo-label{display:none}}

/* PlayExpress work identity: baby blue and cobalt, separate from casino branding. */
.studio-shell,.admin-modal{--bg:#101824;--surface:#1b293b;--panel:#1b293b;--accent:#90caff;--accent-ink:#092b50;--muted:#a9bbd0;--line:#829fc333;--green:#90caff}
body.editing-mode,.studio-shell{background:#101824}
.studio-shell .studio-header{background:#14243a;border-color:#344d70}
.studio-identity .pe-logo{color:#a6d7ff}
.work-mode-badge{background:#17395f;border-color:#477ab4;color:#b8deff}
.demo-bar .btn.studio-entry{background:#90caff;border-color:#c0e2ff;color:#092b50}
.demo-bar .btn.studio-entry:hover{background:#b1dcff}
.studio-shell .demo-bar .btn.studio-entry{background:#9b70e8;border-color:#bb98f3;color:#fff}
.studio-shell .save-bar .btn[data-action="save-section"]{background:#90caff;border-color:#c0e2ff;color:#092b50}
.studio-shell .save-bar .btn[data-action="save-section"]:hover{background:#b1dcff}
.studio-shell .studio-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px 12px 0;border-bottom:2px solid #547dac;background:#142238;border-radius:14px 14px 0 0;margin-bottom:24px}
.studio-shell .studio-tabs button{padding:13px 18px;min-height:48px;border:1px solid #466180;border-bottom:0;border-radius:10px 10px 0 0;background:#203149;color:#c3d2e5;font-size:15px;font-weight:400;letter-spacing:0;line-height:1.4;box-shadow:none}
.studio-shell .studio-tabs button.active{background:#a6d7ff;color:#0b294c;border-color:#a6d7ff;font-weight:500;outline:none}
.studio-shell .studio-tabs button:hover{background:#2a4467;color:#fff}
.studio-shell .studio-tabs button.active:hover{background:#bce2ff;color:#0b294c}
.studio-shell .studio-tabs button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.studio-shell .studio-tabs button:after{display:none}
.studio-shell .studio-heading h1{font-weight:500}
.studio-shell .field textarea,.admin-modal .field textarea{max-width:100%;line-height:1.7;font-weight:400!important}
.reference-camera{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;padding:4px;border:1px solid #729ccc;border-radius:50%;background:#1c395c;color:#b7ddff;cursor:pointer}
.reference-camera:hover,.reference-camera:focus-visible{background:#315d8b;outline:2px solid #a6d7ff}
.content-reference{border:1px solid #ffffff30;background:#10131c;border-radius:14px;padding:22px;margin:20px 0;color:#fff;overflow:hidden}
.reference-site-name{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #ffffff25;font-weight:600}
.reference-nav,.reference-footer{display:flex;gap:15px;flex-wrap:wrap;align-items:center}
.reference-focus{outline:2px solid #90caff;outline-offset:5px;border-radius:3px;background:#90caff18}
.reference-dialog{padding:14px;max-height:45vh;overflow:auto;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.reference-hero{display:grid;gap:20px}.reference-hero img{width:100%;max-height:160px;object-fit:cover;border-radius:8px}
.reference-hero h3{font-size:23px;line-height:1.3}.reference-hero p{line-height:1.6}
@media(min-width:800px){.studio-shell .form-grid.content-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;max-width:1100px}.studio-shell .content-fields .field{grid-column:auto!important}.studio-shell .content-fields textarea{width:100%;max-width:60ch;min-height:130px}.studio-shell .content-fields textarea[rows="6"]{min-height:250px}}
@media(max-width:640px){.studio-shell .studio-tabs{display:none}}
@media(min-width:800px){.studio-shell .form-grid:has(textarea){grid-template-columns:repeat(2,minmax(0,1fr));max-width:1100px;gap:24px}.studio-shell .form-grid:has(textarea)>.field{min-width:0}.studio-shell .form-grid textarea{max-width:60ch}}
.studio-shell .sub-tabs button.active{color:#a6d7ff;border-color:#90caff}
.studio-shell .role-card.active{border-color:#90caff;background:#90caff12}
.studio-shell .interactive-brand-preview{position:static}

/* Uniform lobby artwork, including PNG Class 2 covers. */
.player-shell .game-card .game-image-button{width:100%;aspect-ratio:1/1;height:auto;display:block;overflow:hidden}
.player-shell .game-card .game-image-button>img{display:block;width:100%;height:100%;object-fit:cover;transform:none}
@media(min-width:1100px){.player-shell .games-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 18px}}
.game-card-labels{min-width:0;flex:1}.game-card-labels .name{text-align:left}
.game-type-link{display:block;margin-top:5px;padding:2px 0;background:transparent;color:var(--muted);font-size:12px;text-align:left;text-decoration:underline;text-underline-offset:3px}
.game-type-link:hover{color:var(--text)}.game-type-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.category-bar .category-icon{width:auto;display:inline-flex;align-items:center;gap:7px}
.category-bar{scroll-margin-top:180px}.type-results-heading{font-size:24px;margin:22px 0}
/* Quiet blue-grey work surfaces with one blue-cyan accent. */
.studio-shell,.admin-modal{--accent:#55caff;--accent-ink:#06283d;--green:#55caff;--gold:#55caff;--line:#6e8ba333}
.studio-shell .studio-tabs button.active{background:#22445e;color:#91ddff;border-color:#55caff;box-shadow:inset 0 2px #55caff}
.studio-shell .studio-tabs button.active:hover{background:#2a506c;color:#c1edff}
.studio-shell .sub-tabs button.active{color:#75d6ff;border-color:#55caff}
.studio-identity .pe-logo{color:#91ddff}.work-mode-badge{background:#1b3044;color:#91ddff;border-color:#3a6380}
.demo-bar .btn.studio-entry{background:#55caff;border-color:#8ddcff;color:#06283d}
.studio-shell .save-bar .btn[data-action="save-section"]{background:#55caff;border-color:#8ddcff;color:#06283d}
.studio-shell .save-bar .btn[data-action="save-section"]:hover{background:#8ddcff}
.studio-shell .integration-link{background:#24394e!important;color:#a8e3ff!important;border:1px solid #52748d!important;box-shadow:none!important}
.studio-shell .save-bar{border-color:#527e9a!important;background:#0e1823!important;box-shadow:0 5px 20px #0008}
.studio-shell input.has-entered-value:not([type=checkbox]):not([type=color]),.studio-shell select.has-entered-value,.studio-shell textarea.has-entered-value,.admin-modal input.has-entered-value,.admin-modal select.has-entered-value,.admin-modal textarea.has-entered-value{color:#c6eaff!important;font-weight:500}
.studio-shell input:not([type=checkbox]):not([type=color]),.studio-shell select,.studio-shell textarea{background:#121e2b!important;border-color:#41566e!important}
.studio-shell .btn.primary{background:#55caff;color:#06283d;border-color:#8ddcff;box-shadow:none}
.studio-shell .role-card.active{background:#55caff12;border-color:#55caff}
.studio-shell .reference-camera{background:#1d3346;color:#91ddff;border-color:#527e9a}

/* Save controls belong to the anchored second Edit Mode header row. */
.studio-shell .studio-header>.page{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.header-save-actions{margin-left:auto;flex:0 1 auto;min-width:0}
.header-save-actions>.flex{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.header-save-actions .btn{min-height:40px;padding:9px 14px;font-size:13px;font-weight:500}
.header-save-actions [data-action="reload-content"]{color:#bacbdc}
.header-save-actions [data-action="preview-draft"]{background:#24394e;border:1px solid #52748d;color:#b7e5ff}
.header-save-actions [data-action="save-section"]{background:#55caff;border:1px solid #8ddcff;color:#06283d;font-weight:600}
.header-save-actions .btn:focus-visible{outline:2px solid #b9eaff;outline-offset:3px}
.studio-shell .studio-main,.studio-shell.brand-workspace .studio-main{padding-bottom:32px}
@media(max-width:640px){.studio-shell .studio-header>.page{gap:10px}.header-save-actions{width:100%;margin-left:0}.header-save-actions>.flex{justify-content:flex-start}.header-save-actions .btn{min-height:42px;padding:9px 11px;font-size:12px}.studio-shell .studio-main{padding-bottom:24px}}

/* Stable inputs and a compact brand workspace. */
.studio-shell,.admin-modal{--bg:#0d131d;--surface:#16212f;--panel:#16212f;--accent:#55caff;--green:#55caff}
body.editing-mode,.studio-shell{background:#0d131d}
.studio-shell input[type=checkbox],.admin-modal input[type=checkbox]{accent-color:#55caff}
.studio-shell .studio-tabs button.active,.studio-shell .sub-tabs button.active{background:#19354f!important;color:#d9efff!important;border-color:#55caff!important}
.studio-shell .field input:not([type=checkbox]):not([type=color]):not([type=file]),.studio-shell .field select,.admin-modal .field input:not([type=checkbox]):not([type=color]):not([type=file]),.admin-modal .field select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.brand-details{border:1px solid var(--line);border-radius:12px;margin-bottom:28px;overflow:hidden}
.brand-details>summary{padding:18px;cursor:pointer;font-size:18px;color:#d9efff}.brand-details>summary small{font-size:12px;color:var(--muted);margin-left:16px}
.identity-fields{padding:20px}.identity-name-domain{display:grid;grid-template-columns:1fr 1fr;gap:24px}.identity-fields .domain-row{flex-wrap:nowrap}.identity-fields .domain-row>input{flex:1;min-width:0}.identity-fields>.field{max-width:650px}
.theme-choice-rows section{margin:24px 0}.theme-choice-rows h3{font-size:18px;font-weight:500;margin-bottom:14px}
.theme-choice-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.theme-choice-grid .palette-option{width:100%;margin:0;min-height:64px;padding:12px;gap:8px}.theme-choice-grid .palette-option b{font-size:13px;font-weight:500}.theme-choice-grid .custom-theme-choice{grid-column:span 2;min-height:60px}
.custom-theme-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:28px;padding:22px;border:1px solid var(--line);border-radius:12px}.custom-theme-workbench .custom-colors{grid-template-columns:1fr 1fr;gap:14px}.color-pair{display:flex;gap:8px;align-items:center}.studio-shell .color-pair input[type=color]{appearance:auto;width:54px!important;height:44px!important;min-width:54px;padding:2px;border:1px solid #52748d;cursor:pointer}.color-pair input[data-color-hex]{min-width:0;width:100%!important}
.local-theme-preview{border:1px solid #ffffff30;border-radius:14px;padding:20px}.local-theme-preview small{font-size:11px;opacity:.65}.local-theme-preview header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.local-theme-preview header img{max-width:150px;height:44px;object-fit:contain}.local-theme-preview header span{font-size:11px}.local-theme-panel{padding:20px;border-radius:10px}.local-theme-panel h3{font-size:23px;color:inherit}.local-theme-panel p{line-height:1.6;font-size:14px}.local-theme-cta{display:inline-block;padding:10px 18px;border-radius:8px;margin-right:16px}.local-theme-panel strong{display:inline-block;font-size:13px}.local-theme-games{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.local-theme-games img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}
#custom-theme-live{align-self:start;position:sticky;top:140px}
@media(max-width:900px){.theme-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-name-domain,.custom-theme-workbench{grid-template-columns:1fr}#custom-theme-live{position:static;grid-row:1}.custom-theme-workbench{padding:16px}.brand-details>summary small{display:block;margin:8px 0 0}.identity-fields .domain-row{flex-wrap:wrap}}
