/* Shared reference palette. Keep this after page, shell, and mobile styles. */
:root {
  color-scheme: dark;
  --theme-navy: #090525;
  --theme-panel: #19052f;
  --theme-purple: #9000d9;
  --theme-pink: #ef5cff;
  --theme-cyan: #00c8ff;
  --theme-text: #f9f2ff;
  --theme-muted: #cab8df;
  --theme-border: #7931ad;
  --theme-gradient: linear-gradient(110deg, #9000ff, #7044ff 45%, #00c8ff);
  --theme-surface: linear-gradient(145deg, #241044ed, #0d0829f5);
  --theme-glow: 0 0 12px #a500ff66, inset 0 0 12px #00c8ff18;
}
html { background: var(--theme-navy); scrollbar-color: var(--theme-purple) var(--theme-navy); }
body {
  isolation: isolate;
  color: var(--theme-text);
  background: radial-gradient(ellipse at 25% 15%, #64009d55, transparent 65%),
    radial-gradient(ellipse at 85% 65%, #00c8ff1c, transparent 60%), var(--theme-navy);
  background-attachment: fixed;
}
body::before { content: none; }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--background, none);
  background-size: cover;
  background-position: center;
  opacity: .45;
}
::selection { background: var(--theme-purple); color: white; }
:where(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--theme-cyan);
  outline-offset: 3px;
}
input, select, textarea { accent-color: var(--theme-purple); caret-color: var(--theme-cyan); }
body > header {
  background: var(--theme-navy);
  border-bottom-color: var(--theme-purple);
  box-shadow: 0 1px 8px #9000d966;
}
body > header .menu {
  color: var(--theme-pink);
  background: #10071e;
  border-color: var(--theme-pink);
  box-shadow: 0 0 8px #ef5cff80;
}
.ticker { background: #160326; border-bottom-color: var(--theme-purple); color: var(--theme-text); }
.logo-home-link:focus-visible, .lobby-auth button:focus-visible { outline-color: var(--theme-cyan); }
.footer {
  background: var(--theme-surface);
  border-color: var(--theme-border);
  color: var(--theme-text);
}
.footer-links, .copyright { border-color: #7931ad66; }
.footer h3 { color: var(--theme-pink); }
.footer small, .copyright { color: var(--theme-muted); }
.footer a:hover { color: var(--theme-cyan); }
.bottom {
  background: #24003d;
  border-top: 2px solid var(--theme-purple);
  box-shadow: 0 -2px 12px #9000d966;
}
.bottom button, .bottom a { color: var(--theme-text); }
.bottom .icon { filter: drop-shadow(0 0 4px var(--theme-pink)); }
.bottom .active {
  border: 1px solid var(--theme-purple);
  box-shadow: inset 0 0 16px #00c8ff55, 0 0 10px #9000ff55;
  background: linear-gradient(#15052c, #090525);
}
.badge, .bottom .badge { background: #168def; color: white; }
.layout > .center { border-color: #7931ad99; background: #25073822; }

/* Lobby, game search, transactions, and account panels. */
.panel, .account, .empty { background: var(--theme-surface); border-color: var(--theme-border); }
.panel h2, .transactions th { background: linear-gradient(#bd00ff, #6440ff 50%, #00c8ff); color: white; }
.live { background: var(--theme-purple); color: white; }
.transactions td { border-color: #7931ad66; background: #170322a6; color: var(--theme-text); }
.amount { color: var(--theme-cyan); text-shadow: 0 0 8px #00c8ff88; }
.find h3 { color: var(--theme-text); }
.find small { color: var(--theme-pink); }
.search, .find .search {
  background: #f8eaff;
  color: #27113c;
  border-color: var(--theme-purple);
  outline-color: var(--theme-cyan);
}
.search::placeholder { color: #655076; }
.mini-tabs button { background: linear-gradient(#620c91, #19052f); border-color: var(--theme-border); }
.mini-tabs button.active { background: var(--theme-gradient); color: white; }
.gold {
  background: linear-gradient(#ac1bf0, #502592 45%, #180d37);
  border-color: var(--theme-pink);
  color: white;
  text-shadow: 0 1px 3px #090525;
  box-shadow: inset 0 0 8px #00c8ff55, 0 0 8px #9000d955;
}
.providers { border-bottom-color: var(--theme-purple); scrollbar-color: var(--theme-purple) var(--theme-navy); }
.provider { background: var(--theme-panel); border-color: var(--theme-purple); box-shadow: 0 0 7px #00c8ff66; }
.provider.active { border-color: var(--theme-cyan); box-shadow: 0 0 12px #ef5cff88; }
.categories { background: linear-gradient(#31095b, #110726); box-shadow: var(--theme-glow); }
.categories button { background: #19052f; border-color: #6d138b; color: white; }
.categories .active { background: var(--theme-gradient); box-shadow: 0 0 15px #00c8ff88; color: #090525; }
.play { background: #8000b8; color: white; }
.play:hover { background: #ab17ed; }
.account { border-color: var(--theme-purple); box-shadow: var(--theme-glow); }
.balance { background: #1c103e; color: var(--theme-text); }
.balance strong { color: var(--theme-cyan); }
.tips { border-color: var(--theme-purple); }
.hero-slideshow, .hero-controls { background: #17052b; }
.hero-dots button { background: #4a1769; border-color: var(--theme-pink); }
.hero-dots button[aria-current=true] { background: var(--theme-cyan); box-shadow: 0 0 5px var(--theme-cyan); }

/* Navigation drawer, including its mobile overlay. */
.drawer.site-panel { background: linear-gradient(160deg, #0b0528, #280647 55%, #4b0878); color: white; box-shadow: 5px 0 24px #090525bb; }
.panel-head { background: #090525; border-bottom: 1px solid var(--theme-purple); }
.panel-head small { color: var(--theme-muted); }
.site-panel .panel-close { color: var(--theme-pink); }
.site-panel .panel-link { background: #9000d926; color: white; }
.panel-link svg { fill: var(--theme-pink); }
.site-panel .panel-link.hot { background: var(--theme-gradient); color: white; box-shadow: 0 0 16px #9000ff66; }
.panel-link.hot svg { fill: white; filter: drop-shadow(0 1px 3px #19052f); }
.panel-link:hover, .panel-link:focus-visible { outline-color: var(--theme-cyan); }
.panel-card { background: #9000d922; border-color: #ef5cff44; }
.site-panel .partner-row { background: #9000d933; }
.partner-row:nth-of-type(2) { background: #00c8ff22; }
.woospin, .cuntwin { color: var(--theme-pink); text-shadow: 1px 1px #090525; }
.slotmate { background: var(--theme-navy); }
.site-panel .social-link { background: var(--theme-purple); }
.social-link b { color: var(--theme-purple); background: white; }
.site-panel .social-link.facebook { background: #44208a; }
.facebook b { color: #44208a; }
.panel-footer { border-color: #ef5cff44; color: var(--theme-muted); background: #09052566; }
.panel-footer a { color: var(--theme-cyan); }
.panel-backdrop, .overlay { background: #090525c9; }

/* Login, registration, notices, dialogs, and status messages. */
.login-page { color: var(--theme-text); }
.login-page input, .modal input, .review-form input, .review-form select, .review-form textarea {
  background: #10092b;
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  outline-color: var(--theme-cyan);
}
.login-page input::placeholder, .modal input::placeholder, .review-form :is(input, textarea)::placeholder { color: var(--theme-muted); }
.login-page input:focus { outline-color: var(--theme-cyan); }
.login-submit, .register, .explore, .actions .primary, .review-form button {
  background: var(--theme-gradient);
  border-color: var(--theme-purple);
  color: white;
  text-shadow: 0 1px 2px #090525;
}
.forgot { color: var(--theme-pink); }
.notice { background: #fff; color: #222; border: 0; box-shadow: none; }
.notice button { background: #eee; color: #222; }
.notice .agree { background: #00b875; color: white; }
.modal, .dialog { background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-purple); }
.modal h2, .drawer h3 { color: var(--theme-pink); }
.drawer p { color: var(--theme-muted); }
.actions button { background: #502078; color: white; }
.toast, .chat-status, .edit-tip { background: #19052ff5; border-color: var(--theme-purple); color: var(--theme-text); }
.editing [data-image], .edit-tip { outline-color: var(--theme-cyan); }
.credit { background: linear-gradient(135deg, #ad27dd, #090525 48%, #00c8ff); color: white; filter: drop-shadow(0 0 3px #ef5cff); }
.credit:nth-child(3) { background: linear-gradient(135deg, #ef5cff, #4c1776, #00c8ff); }

/* Promotions and claim tiles. */
.promo-rule { background: var(--theme-purple); }
.promo-section {
  background: var(--theme-surface);
  border-color: var(--theme-purple);
  box-shadow: 0 0 8px #ef5cff55, inset 0 0 16px #9000ff22;
}
.promo-section h2, .promo-section.compact h2 {
  color: var(--theme-text);
  background: radial-gradient(ellipse at 30% 150%, #9000d9, transparent 75%);
  text-shadow: 1px 2px #4b0878;
  -webkit-text-stroke-color: #4b0878;
}
.promo-cards { background: linear-gradient(115deg, #280647, #110726); border-top-color: var(--theme-purple); }
.promo-cards .claim-card {
  background: radial-gradient(ellipse at bottom, #9000d955, transparent 65%), linear-gradient(145deg, #241044, #090525);
  border: 2px solid var(--theme-border);
  border-radius: 8px;
  box-shadow: inset 0 0 9px #00c8ff33;
  padding: 12px 6px 8px;
  color: white;
}
.claim-card::before { color: var(--theme-pink); }
.claim-card strong { color: var(--theme-cyan); }
.claim-word { color: var(--theme-pink); text-shadow: 0 0 6px #9000d9; }
.claim-card .claim-word.sr-only {
  position: static;
  width: auto;
  height: auto;
  margin: auto 0 0;
  padding: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: normal;
  font-size: 15px;
}
.promo-banner, .holiday { background: var(--theme-gradient); box-shadow: inset 0 0 22px #090525; }
.banner-brand, .promo-banner strong { color: var(--theme-text); text-shadow: 1px 2px #4b0878; }
.banner-heading { text-shadow: 2px 2px #4b0878; }
.banner-spark { color: #ef5cff55; }
.review-banner { border-color: var(--theme-purple); background: linear-gradient(#493161, #19052f); color: white; }

/* Live chat and its fixed mobile composer. */
.chat-page { color: var(--theme-text); }
.chat-message { background: #19052fa6; }
.chat-sender { color: var(--theme-cyan); }
.welcome {
  background: linear-gradient(115deg, #241044, #4b0878 48%, #161c53);
  border-color: var(--theme-pink);
  box-shadow: var(--theme-glow);
  color: var(--theme-text);
}
.welcome hr { border-top-color: var(--theme-pink); }
.welcome-copy { background: #090525a6; border-color: var(--theme-purple); color: var(--theme-text); }
.explore { border-color: var(--theme-pink); box-shadow: 0 0 16px #9000ff66; }
.composer { background: #10092bf2; border-top: 1px solid var(--theme-purple); }
.composer input[type=text], .composer button { color: var(--theme-text); }
.composer input::placeholder { color: var(--theme-muted); }
.composer svg { color: var(--theme-cyan); }

/* The guide follows the active navy, purple, cyan, and pink theme. */
.home-blog{color-scheme:dark;background:#0d0829;color:var(--theme-text);border-color:var(--theme-border);box-shadow:0 12px 32px #03010dbf,var(--theme-glow)}
.home-blog .blog-intro{
  background:linear-gradient(135deg,#4b0878 0%,#241044 48%,#090525 100%);
  color:var(--theme-text);border-bottom-color:var(--theme-purple)
}
.home-blog .blog-article{background:linear-gradient(150deg,#19052f,#090525);color:var(--theme-text)}
.home-blog .blog-kicker{color:var(--theme-cyan)}
.home-blog .blog-intro h1{color:#fff;text-shadow:0 0 16px #ef5cff99}
.home-blog .blog-intro p{color:#efe4fb}
.home-blog .blog-article>h2,.home-blog .responsible-play h2{color:var(--theme-cyan);text-shadow:0 0 10px #00c8ff55}
.home-blog .blog-article>h3{color:#ff8cff;border-left-color:var(--theme-cyan);text-shadow:none}
.home-blog .blog-article p,.home-blog .blog-article li{color:#f9f2ff}
.home-blog .guide-livechat{color:var(--theme-cyan);font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.home-blog .guide-livechat:hover,.home-blog .guide-livechat:focus-visible{color:var(--theme-pink);text-shadow:0 0 10px #ef5cff88}
.home-blog .promo-term-link{color:var(--theme-cyan);font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.home-blog .promo-term-link:hover,.home-blog .promo-term-link:focus-visible{color:var(--theme-pink);text-shadow:0 0 10px #ef5cff88}
.home-blog .blog-article ol{background:#10071e;border-color:var(--theme-border)}
.home-blog .blog-article li::marker{color:var(--theme-cyan)}
.home-blog .responsible-play{
  background:linear-gradient(135deg,#241044,#10071e);border-color:var(--theme-purple);
  border-left-color:var(--theme-cyan);box-shadow:inset 0 0 18px #9000d922
}

/* Player feedback remains a light reading surface. */
.player-reviews{
  color-scheme:light;background:#fff;color:#24202b;border-color:#ded5e8
}
.player-reviews .blog-kicker{color:#7300a8}
.player-reviews .reviews-heading h2,
.player-reviews .review-toolbar h3,.player-reviews .review-form h3{
  color:#24202b;text-shadow:none
}
.player-reviews .reviews-heading>span{
  background:#fff;border:1px solid #ded5e8;color:#51445f
}
.player-reviews .review-note,.player-reviews .reviews-empty{
  background:#fff;color:#5d5368;border-color:#ded5e8
}
.player-reviews .rating-summary{border-bottom-color:#e8e1ef}
.player-reviews .rating-score strong{color:#24202b;text-shadow:none}
.player-reviews .rating-score .review-stars,.player-reviews .review-stars{
  color:#8500bd;text-shadow:none
}
.player-reviews .rating-score>span:not(.review-stars),.player-reviews .rating-row,
.player-reviews .rating-score small,.player-reviews .review-toolbar>span,
.player-reviews .review-badge,.player-reviews .review-card time{
  color:#5d5368
}
.player-reviews .rating-track{background:#ece7f2;border-color:#ded5e8}
.player-reviews .rating-track span{background:var(--theme-gradient)}
.player-reviews .review-card,.player-reviews .review-list .review-card{
  background:#fff;border-color:#ded5e8;border-top-color:#9000d9;
  color:#24202b;box-shadow:0 4px 14px #2410440a
}
.player-reviews .review-card header,.player-reviews .review-card header strong,
.player-reviews .review-list .review-card p{color:#24202b}
.player-reviews .review-list .review-card .review-avatar{
  background:var(--theme-gradient);border-color:#9000d9;
  box-shadow:none;color:#fff
}
.player-reviews .review-form{
  background:#fff;color:#24202b;border-color:#ded5e8
}
.player-reviews .review-form input,.player-reviews .review-form select,
.player-reviews .review-form textarea{
  background:#fff;color:#24202b;border-color:#c9bcd8
}
.player-reviews .review-form :is(input,textarea)::placeholder{color:#6a5b77}
.player-reviews .review-toolbar a{color:#7300a8;border-color:#9000d9}
.player-reviews .review-form button{background:var(--theme-gradient);color:#fff}
.player-reviews .review-form :focus-visible{outline-color:#9000d9}

/* Simple replacement for the former community feedback section. */
.discover-more{
  margin:22px 0;padding:28px;border:1px solid var(--theme-border);border-radius:16px;
  background:linear-gradient(145deg,#19052f,#090525);color:var(--theme-text);
  box-shadow:0 12px 32px #03010d99,var(--theme-glow)
}
.discover-intro{position:static;display:block;height:auto;margin:0 0 14px;padding:22px;text-align:center;border:1px solid var(--theme-border);border-top:4px solid var(--theme-cyan);border-radius:12px;background:#10071e;box-shadow:inset 0 0 16px #9000d918;color:inherit;z-index:auto}
.discover-kicker{display:block;color:var(--theme-cyan);font-size:11px;font-weight:800;letter-spacing:2px}
.discover-intro h2{margin:7px 0 0;color:#ff8cff;font-size:28px;line-height:1.25;text-shadow:0 0 14px #ef5cff66}
.discover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.discover-card{padding:20px;border:1px solid #7931ad;border-radius:12px;background:#10071e;box-shadow:inset 0 0 16px #9000d918}
.discover-card h3{margin:0 0 10px;padding-left:11px;border-left:3px solid var(--theme-cyan);color:#ff8cff;font-size:18px;line-height:1.35}
.discover-card p{margin:0;color:#f9f2ff;font-size:14px;line-height:1.7}
@media(max-width:700px){
  .discover-more{padding:22px 16px}
  .discover-intro{padding:18px 16px}
  .discover-intro h2{font-size:24px}
  .discover-grid{grid-template-columns:1fr}
  .discover-card{padding:18px}
}

/* JBAGWIN history timeline. */
.history-page{width:min(1040px,calc(100% - 32px));margin:28px auto 50px;color:var(--theme-text)}
.history-hero{position:static;display:block;height:auto;margin:0 0 30px;padding:30px;text-align:center;border:1px solid var(--theme-border);border-top:4px solid var(--theme-cyan);border-radius:16px;background:linear-gradient(145deg,#241044,#090525);box-shadow:0 12px 32px #03010d99,var(--theme-glow);color:inherit;z-index:auto}
.history-hero>span{display:block;color:var(--theme-cyan);font-size:11px;font-weight:800;letter-spacing:2px}
.history-hero h1{margin:8px 0 10px;color:#fff;font-size:clamp(30px,5vw,46px);line-height:1.15;text-shadow:0 0 16px #ef5cff99}
.history-hero p{margin:0;color:#efe4fb;font-size:16px;line-height:1.7}
.history-timeline{position:relative;display:grid;gap:20px;padding:4px 0}
.history-timeline::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:3px;transform:translateX(-50%);border-radius:3px;background:linear-gradient(var(--theme-cyan),var(--theme-purple),var(--theme-pink));box-shadow:0 0 12px #00c8ff66}
.history-entry{position:relative;display:grid;grid-template-columns:1fr 92px 1fr;align-items:start}
.history-year{grid-column:2;position:relative;z-index:1;margin-top:18px;padding:8px 5px;text-align:center;border:2px solid var(--theme-cyan);border-radius:20px;background:#090525;color:var(--theme-cyan);font-size:16px;font-weight:900;box-shadow:0 0 14px #00c8ff66}
.history-card{grid-column:1;grid-row:1;padding:22px;border:1px solid var(--theme-border);border-radius:14px;background:linear-gradient(145deg,#19052f,#10071e);box-shadow:0 8px 24px #03010d80,inset 0 0 16px #9000d918}
.history-entry:nth-child(even) .history-card{grid-column:3}
.history-card h2{margin:0 0 10px;padding-left:12px;border-left:3px solid var(--theme-cyan);color:#ff8cff;font-size:21px;line-height:1.3}
.history-card p{margin:0 0 12px;color:#f9f2ff;font-size:15px;line-height:1.75}
.history-card p:last-child{margin-bottom:0}
@media(max-width:760px){
  .history-page{width:min(100% - 24px,680px);margin-top:20px}
  .history-hero{padding:24px 18px;margin-bottom:24px}
  .history-hero p{font-size:15px}
  .history-timeline{gap:16px;padding-left:28px}
  .history-timeline::before{left:7px;transform:none}
  .history-entry{display:block}
  .history-year{display:inline-block;margin:0 0 8px;padding:6px 13px}
  .history-card,.history-entry:nth-child(even) .history-card{padding:18px}
  .history-card h2{font-size:19px}
  .history-card p{font-size:14px}
}

/* Contextual promotion guide panels. */
.promo-guide-intro{position:static;display:block;height:auto;margin:0 0 22px;padding:28px;border:1px solid var(--theme-border);border-top:4px solid var(--theme-cyan);border-radius:16px;background:linear-gradient(145deg,#241044,#090525);box-shadow:0 12px 32px #03010d99,var(--theme-glow);color:var(--theme-text);z-index:auto}
.promo-guide-intro>span{display:block;color:var(--theme-cyan);font-size:11px;font-weight:800;letter-spacing:2px}
.promo-guide-intro>h1{margin:8px 0 14px;color:#fff;font-size:clamp(29px,5vw,43px);line-height:1.15;text-shadow:0 0 16px #ef5cff99}
.promo-guide-intro>p{margin:0 0 14px;color:#f9f2ff;font-size:15px;line-height:1.75}
.promo-copy{margin:-6px 0 22px;padding:22px;border:1px solid var(--theme-border);border-left:4px solid var(--theme-cyan);border-radius:12px;background:linear-gradient(145deg,#19052f,#10071e);box-shadow:0 8px 22px #03010d66,inset 0 0 16px #9000d918;color:var(--theme-text)}
.promo-copy-featured{margin:22px 0 0;background:#10071e}
.promo-copy h2{margin:0 0 12px;color:#ff8cff;font-size:22px;line-height:1.3;text-shadow:none}
.promo-copy h3{margin:22px 0 10px;color:var(--theme-cyan);font-size:18px;line-height:1.35}
.promo-copy p{margin:0 0 13px;color:#f9f2ff;font-size:15px;line-height:1.75}
.promo-copy p:last-child{margin-bottom:0}
.promo-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:-6px 0 22px}
.promo-copy-grid .promo-copy{margin:0}
.promo-guide-end{display:grid;gap:14px;margin-top:4px}
.promo-guide-end .promo-copy{margin:0}
@media(max-width:700px){
  .promo-guide-intro{padding:23px 17px}
  .promo-copy{padding:19px 16px}
  .promo-copy h2{font-size:20px}
  .promo-copy p{font-size:14px}
  .promo-copy-grid{grid-template-columns:1fr}
}

/* Customer support guide beneath the live chat welcome message. */
.chat-page{padding-bottom:92px}
.support-guide{margin:18px auto 0;padding:28px;width:min(100%,980px);border:1px solid var(--theme-border);border-top:4px solid var(--theme-cyan);border-radius:16px;background:linear-gradient(145deg,#19052f,#090525);box-shadow:0 12px 32px #03010d99,var(--theme-glow);color:var(--theme-text)}
.support-guide-intro{text-align:center}
.support-guide-intro>span{display:block;color:var(--theme-cyan);font-size:11px;font-weight:800;letter-spacing:2px}
.support-guide-intro h2{margin:8px 0 12px;color:#fff;font-size:clamp(28px,5vw,42px);line-height:1.15;text-shadow:0 0 16px #ef5cff99}
.support-guide-intro p,.support-guide-heading p{max-width:780px;margin:0 auto;color:#efe4fb;font-size:15px;line-height:1.75}
.support-guide-heading{margin:26px 0 16px;text-align:center}
.support-guide-heading h3{margin:0 0 9px;color:var(--theme-cyan);font-size:23px}
.support-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.support-card{padding:20px;border:1px solid var(--theme-border);border-radius:12px;background:#10071e;box-shadow:inset 0 0 16px #9000d918}
.support-card h4,.support-card h3{margin:0 0 10px;padding-left:11px;border-left:3px solid var(--theme-cyan);color:#ff8cff;font-size:18px;line-height:1.35}
.support-card p{margin:0 0 12px;color:#f9f2ff;font-size:14px;line-height:1.72}
.support-card p:last-child{margin-bottom:0}
.support-guide-footer{display:grid;gap:14px;margin-top:14px}
.support-card-wide{background:linear-gradient(145deg,#241044,#10071e)}
@media(max-width:700px){
  .chat-page{padding-bottom:84px}
  .support-guide{padding:22px 15px}
  .support-guide-grid{grid-template-columns:1fr}
  .support-card{padding:18px 16px}
  .support-guide-heading h3{font-size:21px}
}

/* Login and account-access guide beneath the Settings form. */
.account-guide{max-width:980px;margin:34px auto 0;padding:28px;border:1px solid var(--theme-border);border-top:4px solid var(--theme-cyan);border-radius:16px;background:linear-gradient(145deg,#19052f,#090525);box-shadow:0 12px 32px #03010d99,var(--theme-glow);color:var(--theme-text);text-align:left}
.account-guide-intro{text-align:center}
.account-guide-intro>span{display:block;color:var(--theme-cyan);font-size:11px;font-weight:800;letter-spacing:2px}
.account-guide-intro h2{margin:8px 0 12px;color:#fff;font-size:clamp(27px,5vw,40px);line-height:1.15;text-shadow:0 0 16px #ef5cff99}
.account-guide-intro p{max-width:780px;margin:0 auto 22px;color:#efe4fb;font-size:15px;line-height:1.75}
.account-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.account-guide-card{padding:20px;border:1px solid var(--theme-border);border-radius:12px;background:#10071e;box-shadow:inset 0 0 16px #9000d918}
.account-guide-card h3{margin:0 0 10px;padding-left:11px;border-left:3px solid var(--theme-cyan);color:#ff8cff;font-size:19px;line-height:1.35}
.account-guide-card p{margin:0 0 12px;color:#f9f2ff;font-size:14px;line-height:1.72}
.account-guide-card p:last-child{margin-bottom:0}
.account-guide-card a{color:var(--theme-cyan);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.account-guide-card a:hover,.account-guide-card a:focus-visible{color:var(--theme-pink)}
@media(max-width:700px){
  .account-guide{margin-top:28px;padding:22px 15px}
  .account-guide-grid{grid-template-columns:1fr}
  .account-guide-card{padding:18px 16px}
}

/* Images retain their original colours on desktop and mobile. */
@media (max-width: 760px) {
  .composer { background: #10092bf2; }
  .bottom { border-top-color: var(--theme-purple); }
  .drawer.site-panel { background: linear-gradient(160deg, #0b0528, #280647 55%, #4b0878); }
}

/* History and Settings account buttons match the supplied reference. */
.login-page .login-submit{
  background:linear-gradient(#35a70d,#008800);
  border-color:#29800e;
  color:#fff;
  text-shadow:none
}
.login-page .register{
  background:linear-gradient(#359ac4,#1a5c81);
  border-color:#277697;
  color:#fff;
  text-shadow:0 1px #444
}
