body.ac-body { margin: 0; background: #0e121c; color: #f3f5fa; }
.ac {
    --ac-bg: #0e121c; --ac-panel: #191f2d; --ac-line: #30394c;
    --ac-text: #f3f5fa; --ac-muted: #aab5c9; --ac-accent: #ffd15c;
    min-height: 100vh; background: var(--ac-bg); color: var(--ac-text);
    font: 16px/1.55 Inter, system-ui, sans-serif;
}
.ac *, .ac *::before, .ac *::after { box-sizing: border-box; }
.ac a { color: inherit; text-decoration: none; }
.ac a:focus-visible, .ac input:focus-visible, .ac select:focus-visible, .ac button:focus-visible {
    outline: 2px solid var(--ac-accent); outline-offset: 3px;
}
.ac h1, .ac h2, .ac h3 { color: inherit; font-family: inherit; margin: 0; font-weight: 800; }
.ac-header { background: #151b28; border-bottom: 1px solid var(--ac-line); }
.ac-headbar {
    margin: auto; max-width: 1550px; padding: 14px 30px;
    display: flex; gap: clamp(16px, 2.5vw, 38px); align-items: center;
}
.ac-brand { font-size: 21px; font-weight: 950; letter-spacing: -.05em; white-space: nowrap; }
.ac-brand span { color: var(--ac-accent); }
.ac-nav { display: flex; gap: 8px; flex: 1; align-items: center; overflow-x: auto; }
.ac-nav a { font-size: 12px; font-weight: 800; white-space: nowrap; color: var(--ac-muted); padding: 12px 8px; }
.ac-nav a:hover, .ac-nav .ac-active { color: var(--ac-accent); }
.ac-account { display: flex; gap: 14px; align-items: center; white-space: nowrap; font-size: 14px; }
.ac .ac-button {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px;
    border: 0; border-radius: 7px; background: var(--ac-accent); color: #18141c;
    font: inherit; font-weight: 850; cursor: pointer; white-space: nowrap;
}
.ac .ac-button:hover { background: #ffe49e; }
.ac-main { max-width: 1430px; margin: auto; padding: 22px clamp(14px, 3vw, 38px) 50px; }
.ac-hero {
    background: radial-gradient(ellipse at 75% 40%, #4b345d 0%, transparent 61%), linear-gradient(130deg,#172640,#251f3c);
    border: 1px solid #424360; border-radius: 15px; min-height: 285px; margin-bottom: 32px;
    display: grid; align-items: center; grid-template-columns: 1fr 1fr; overflow: hidden;
    padding: 26px clamp(20px, 5vw, 64px);
}
.ac-hero h1 { font-size: clamp(38px, 5.3vw, 74px); line-height: 1; letter-spacing: -.065em; }
.ac-hero p { color: #d3cce0; margin: 12px 0 18px; }
.ac-hero-art { display: flex; align-items: center; justify-content: center; min-width: 0; }
.ac-hero-art img { width: 38%; object-fit: contain; filter: drop-shadow(0 15px 23px #100b22); transform: rotate(-9deg); }
.ac-hero-art img:nth-child(2) { width: 52%; z-index: 1; margin: 0 -14%; transform: none; }
.ac-hero-art img:nth-child(3) { transform: rotate(10deg); }
.ac-toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ac-toolbar h2 { font-size: clamp(27px, 4vw, 38px); letter-spacing: -.04em; }
.ac-toolbar h2 span { display: inline-block; font-size: 13px; color: var(--ac-muted); vertical-align: middle; letter-spacing: 0; }
.ac-toolbar form { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; }
.ac-toolbar input, .ac-toolbar select {
    background: var(--ac-panel); color: var(--ac-text); border: 1px solid var(--ac-line);
    border-radius: 7px; padding: 9px 11px; font: inherit; width: auto; max-width: 100%;
}
.ac-categories { display: flex; gap: 8px; overflow-x: auto; margin: 16px 0 20px; padding-bottom: 5px; }
.ac-categories a, .ac-pagination a {
    border: 1px solid var(--ac-line); background: var(--ac-panel); color: var(--ac-muted);
    border-radius: 7px; padding: 8px 13px; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.ac-categories a[aria-current], .ac-categories a:hover, .ac-pagination a:hover { border-color: var(--ac-accent); color: var(--ac-accent); }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(158px, 100%), 1fr)); gap: 12px; }
.ac-card {
    background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 9px;
    padding: 8px 10px 12px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.ac-card:hover { border-color: var(--ac-accent); }
.ac-cover {
    width: 100%; aspect-ratio: 1.18; display: grid; place-items: center; border-radius: 8px;
    background: radial-gradient(ellipse at center, #303e58 0%, transparent 71%);
}
.ac-cover img { display: block; width: 94%; height: 100%; max-height: 100%; object-fit: contain; }
.ac-card h3 { font-size: 14px; margin: 6px 0; overflow-wrap: anywhere; }
.ac-card span { color: var(--ac-accent); font-weight: 800; margin-top: auto; }
.ac-detail { background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 12px; padding: clamp(15px, 4vw, 32px); }
.ac-detail h1 { font-size: clamp(26px, 5vw, 48px); line-height: 1.1; }
.ac-detail p { color: var(--ac-muted); margin: 12px 0; }
.ac-detail p a, .ac-detail .ac-price { color: var(--ac-accent); }
.ac-detail .ac-price { font-size: 24px; font-weight: 850; }
.ac-detail-grid { display: grid; align-items: start; grid-template-columns: minmax(180px, 2fr) 3fr; gap: 25px; }
.ac-pagination { display: flex; gap: 15px; justify-content: center; align-items: center; padding-top: 30px; }
.ac-footer { border-top: 1px solid var(--ac-line); padding: 20px 16px; text-align: center; color: var(--ac-muted); font-size: 12px; }
@media (max-width: 920px) {
    .ac-headbar { flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; padding-inline: 14px; }
    .ac-nav { order: 3; min-width: 100%; }
}
@media (max-width: 600px) {
    .ac-hero { grid-template-columns: 1fr; gap: 10px; }
    .ac-hero-art { max-width: 285px; justify-self: center; }
    .ac-toolbar input { width: 100%; }
    .ac-detail-grid { grid-template-columns: 1fr; }
    .ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ac-wallet form { margin: 1rem 0 1.5rem; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ac-wallet select { background: var(--ac-bg); color: var(--ac-text); padding: 8px; border: 1px solid var(--ac-line); border-radius: 7px; font: inherit; }
.ac-wallet li { margin: 6px 0; color: var(--ac-muted); }
.ac-wallet li a { color: var(--ac-accent); }
.ac-payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(175px, 100%), 1fr)); gap: 12px; margin: 22px 0; }
.ac-payment-card { background: var(--ac-bg); border: 1px solid var(--ac-line); border-radius: 9px; padding: 16px; }
.ac-payment-card h2 { font-size: 21px; margin-bottom: 12px; }
.ac-payment-card .ac-button { gap: 6px; }
.ac-checkout .ac-checkout-note { border-left: 3px solid var(--ac-accent); padding: 8px 12px; }
.ac-box-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ac .ac-trial-button { background: var(--ac-panel); color: var(--ac-accent); border: 1px solid var(--ac-accent); }
.ac .ac-trial-button:hover { background: var(--ac-bg); }
.ac .ac-trial-button[hidden] { display: none; }
.ac .ac-trial-button:disabled { opacity: .5; cursor: default; }
.ac .ac-trial-close { position: absolute; z-index: 3; top: 10px; right: 12px; color: #f5f0ff; background: #171331; border: 1px solid #594480; border-radius: 8px; width: 36px; height: 36px; font-size: 22px; cursor: pointer; }
.ac .ac-spin-dialog, .ac .ac-auth-dialog {
    position: fixed; inset: 0; margin: auto; padding: 0; max-width: 96vw; max-height: 93vh;
    background: #15132d; color: #f5f0ff; border: 1px solid #353253; border-radius: 16px;
}
.ac .ac-spin-dialog::backdrop, .ac .ac-auth-dialog::backdrop { background: rgb(12 9 30 / 75%); backdrop-filter: blur(5px); }
.ac .ac-spin-dialog { width: min(1080px, 94vw); }
.ac-spin-window { position: relative; height: clamp(150px, 26vw, 260px); overflow: hidden; background: radial-gradient(ellipse at center, #402865, #171431 52%); }
.ac-spin-track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; gap: 10px; }
.ac-spin-card { flex: 0 0 clamp(112px, 15vw, 166px); width: clamp(112px, 15vw, 166px); min-width: 0; text-align: center; display: grid; place-content: center; gap: 5px; min-height: 100px; padding: 8px; overflow-wrap: anywhere; color: #e7dfff; }
.ac-spin-card img, .ac-spin-slot img { width: 100%; max-width: 130px; height: 96px; object-fit: contain; margin: auto; }
.ac-spin-card img { filter: drop-shadow(0 0 12px #8d46d9); }
.ac-spin-card span { font-size: 13px; }
.ac-spin-winner { border-radius: 10px; background: #542990; box-shadow: 0 0 24px #804ab8; }
.ac-spin-pointer { position: absolute; z-index: 1; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: #bb83ff; pointer-events: none; }
.ac-spin-pointer::after { content: ''; position: absolute; left: -6px; top: 0; border: 7px solid transparent; border-top-color: #e8c8ff; }
.ac-spin-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 4vw, 38px); background: #1e2540; }
.ac-spin-box { display: flex; align-items: center; gap: 12px; }
.ac-spin-box img { width: 78px; height: 72px; object-fit: contain; }
.ac-spin-box h2 { font-size: 19px; overflow-wrap: anywhere; }
.ac-spin-box p { font-size: 12px; margin: 0; color: #bbb6d0; }
.ac-spin-actions { display: flex; align-items: center; gap: 8px; }
.ac .ac-spin-actions button:first-child, .ac .ac-spin-actions button:last-child { width: 36px; height: 36px; border: 1px solid #8a49ca; border-radius: 50%; background: transparent; color: #e3baff; font-size: 18px; cursor: pointer; }
.ac .ac-spin-actions .ac-button, .ac-auth-panel .button-primary { background: #8122db; color: white; }
.ac .ac-spin-actions button:disabled, .ac-spin-slot:disabled { opacity: .5; cursor: default; }
.ac-spin-fast { font-size: 13px; white-space: nowrap; }
.ac-spin-slots { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; padding: 14px clamp(14px, 4vw, 38px); background: #1e2540; }
.ac-spin-slots > * { width: 100%; }
.ac-spin-slot, .ac-spin-slots .ac-spin-card { border: 1px dashed #83809d; border-radius: 9px; min-height: 110px; background: #15132d; color: #d3c9e9; font-size: 22px; }
.ac-spin-slot { display: grid; place-items: center; cursor: pointer; }
.ac-spin-selected { border: 1px solid #a256fa; }
.ac-spin-slots .ac-spin-card { border: 1px solid #9d56ea; }
.ac .ac-spin-status { min-height: 23px; padding: 0 14px; margin: 10px 0; text-align: center; font-size: 14px; color: #e8ccff; }
.ac [data-ac-prizes] img { display: block; width: 110px; height: 85px; object-fit: contain; }
.ac .ac-spin-credit { display: block; font-size: 10px; color: #d3c9e9; }
.ac .ac-auth-dialog { width: min(500px,94vw); padding: 22px; }
.ac-auth-dialog > .ac-brand { text-align: center; margin: 0 0 18px; font-size: 27px; }
.ac-auth-panel { max-width: 520px; margin-inline: auto; border-radius: 13px; padding: clamp(18px,4vw,30px); background: #25234b; color: #f1ebff; }
.ac-auth-panel h1, .ac-auth-panel h2 { text-align: center; margin-bottom: 22px; }
.ac-auth-panel form { margin: 0; }
.ac-auth-panel .login-username label, .ac-auth-panel .login-password label { display: block; font-size: 14px; margin-bottom: 6px; }
.ac-auth-panel .login-username, .ac-auth-panel .login-password, .ac-auth-panel .login-remember { margin: 0 0 14px; }
.ac-auth-panel input:not([type=checkbox]):not([type=submit]) {
    width: 100%; color: white; background: #161431; border: 1px solid #625985; border-radius: 8px; padding: 11px 12px;
}
.ac-auth-panel .button-primary { width: 100%; border: 0; border-radius: 100px; padding: 11px; font-weight: 750; cursor: pointer; }
.ac-auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: 14px; font-size: 14px; }
.ac .ac-auth-links a { color: #dfb5ff; text-decoration: underline; }
@media (max-width: 620px) {
    .ac-spin-controls { flex-wrap: wrap; gap: 12px; }
    .ac-spin-box { width: 100%; }
    .ac-spin-slots { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .ac-spin-slot, .ac-spin-slots .ac-spin-card { min-height: 88px; }
    .ac-spin-card img, .ac-spin-slot img { height: 65px; }
}
.ac-prize-table { width:100%; border-collapse:collapse; margin:16px 0; font-size:14px; }
.ac-prize-table td, .ac-prize-table th { text-align:left; padding:10px 8px; border-bottom:1px solid var(--ac-line); }
.ac-prize-table strong { color:var(--ac-accent); font-size:12px; }

.ac [hidden] { display: none !important; }
.ac .ac-categories button { padding:9px 13px; border:1px solid var(--ac-line); border-radius:7px; background:var(--ac-panel); color:var(--ac-muted); font:inherit; font-size:14px; white-space:nowrap; cursor:pointer; }
.ac .ac-categories button[aria-pressed=true] { border-color:var(--ac-accent); color:var(--ac-accent); }
.ac-grouped-prizes { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr)); gap:12px; margin:12px 0 24px; }
.ac-grouped-prize { border:1px solid var(--ac-line); border-radius:9px; padding:14px; background:var(--ac-panel); }
.ac-grouped-prize img { width:100%; height:140px; object-fit:contain; }
.ac-grouped-prize h3 { font-size:15px; margin:12px 0 8px; }
.ac .ac-grouped-prize p { font-size:14px; margin:5px 0; }
.ac-grouped-prize strong { color:var(--ac-accent); }
