/* PeekGames storefront colors, adapted from the original interface. */
:root {
  --cg-green: #d78cff;
  --cg-green-dark: #b875f3;
  --cg-green-soft: #352044;
  --cg-ink: #fcf8ff;
  --cg-text: #e8dff1;
  --cg-muted: #c9bbd7;
  --cg-line: #48305d;
  --cg-card-line: #523765;
  --cg-bg: #100d1d;
  --cg-surface: #241b34;
  --cg-card-shadow: 0 4px 18px rgba(8, 4, 18, .2);
  --cg-card-shadow-hover: 0 12px 30px rgba(8, 4, 18, .34);
  --tag-card-left-rgb: 93, 34, 132;
  --tag-card-bg: #5d2284;
  --tag-card-default-end: #a84faf;
}

html:has(body.cg-body) {
  background: radial-gradient(ellipse at 50% 0, #31174e 0, #171022 48rem, #100d1d 100%) fixed !important;
}
body.cg-body { color: var(--cg-text); }
body.cg-body .cg-decor { display: none; }
body.cg-body :is(a, button, input, select, textarea):focus-visible { outline-color: #e1b8ff; }

#header.cg-header .cg-header__inner,
body.cg-body .cg-footer,
body.cg-body .cg-drawer,
body.cg-body .cg-account__menu,
body.cg-body .cg-search__results,
body.cg-body .clover-search-results:not([hidden]),
body.cg-body .clover-language nav,
body.cg-body .clover-mobile-menu {
  background: #21162f;
  border-color: #624178;
  box-shadow: 0 12px 30px rgba(8, 4, 18, .28);
}
#header.cg-header .cg-header__inner { background: linear-gradient(110deg, #430666, #271535 55%, #21132c); }
body.cg-body .cg-logo--header .cg-logo__a,
body.cg-body .cg-logo--footer .cg-logo__a { color: #fff; }
body.cg-body .cg-logo--header .cg-logo__b,
body.cg-body .cg-logo--footer .cg-logo__b { color: #f3adff; }
body.cg-body .cg-logo--header img,
body.cg-body .cg-logo--footer img { filter: hue-rotate(125deg) saturate(.9); }
body.cg-body .cg-nav__link,
body.cg-body .cg-nav__link i { color: #f4eafd !important; }
body.cg-body .cg-nav__link:is(:hover, .is-active),
body.cg-body .cg-nav__link:is(:hover, .is-active) i { color: #f3adff !important; }
body.cg-body .cg-search input[type=search],
body.cg-body .clover-auth input:not([type=checkbox]),
body.cg-body :is(#report-modal, #clover-report) :is(input, textarea, select) {
  background: #180f25 !important;
  border-color: #624178 !important;
  color: #fcf8ff !important;
}
body.cg-body .cg-search input[type=search]::placeholder { color: #b9a9c9; }
body.cg-body .cg-search__icon { color: #d1b7e1; }
body.cg-body .cg-search__results a,
body.cg-body .clover-search-results a,
body.cg-body .clover-mobile-menu a { color: #fcf8ff !important; }
body.cg-body .cg-search__results a:hover,
body.cg-body .clover-search-results a:hover,
body.cg-body .clover-mobile-menu a:hover { background: #39234c !important; }
body.cg-body .clover-language,
body.cg-body .clover-language summary {
  background: #2c1b3e;
  border-color: #624178;
  color: #fcf8ff;
}
body.cg-body .clover-language nav button:hover,
body.cg-body .clover-language nav button[aria-pressed="true"] { background: #39234c; }
body.cg-body .cg-random { background: linear-gradient(120deg, #e1b8ff, #f1a3dd); color: #2c1039 !important; box-shadow: 0 6px 18px #08041255; }

body.cg-body :is(.cg-page-title, .cg-section__title, .cg-browse__head h2, .clover-list-heading h1, .cg-sheet__title, .cg-subhead, .clover-game-details h2, .clover-more-games h2) { color: #fcf8ff; }
body.cg-body :is(.cg-page-desc, .cg-browse__head p, .clover-breadcrumb) { color: #d2c1df; }
body.cg-body .clover-count { background: #39234c; color: #e6d3f3; }

body.cg-body :is(.clover-category, .clover-editorial, .clover-player-card, .clover-game-preview, .cg-about, .cg-catcard, .clover-faq-card, .cg-doc, .cg-support, .cg-faq, .clover-auth, #clover-report),
body.cg-body [class*="bg-[#1a1b28]"],
body.cg-body #report-menu,
body.cg-body #report-modal {
  background: #1e182c !important;
  border: 1px solid #513768 !important;
  color: #e8dff1 !important;
}
body.cg-body :is(.clover-editorial, .cg-about, .clover-game-details) :is(h1, h2, h3, h4),
body.cg-body :is(.clover-faq-card h2, .clover-editorial summary, .clover-category strong, .cg-catcard, .cg-cattile__text strong) { color: #fcf8ff !important; }
body.cg-body :is(.clover-editorial, .cg-about, .clover-game-details, .clover-faq-card) :is(p, li, dd, small) { color: #e0d3ec; }
body.cg-body :is(.clover-editorial a, .cg-doc a, .clover-game-details a, .cg-about a, .clover-discovery-links a, .cg-link) { color: #e1b8ff !important; }
body.cg-body .clover-category-icon,
body.cg-body .clover-related-browse i,
body.cg-body .clover-browse-icon { background: #442355; color: #e1b8ff; }
body.cg-body .clover-arrow { color: #cbb8dd; }
body.cg-body :is(.cg-cattile, .clover-browse-card, .clover-related-browse a, .clover-pills a, .cg-catchip) {
  background: #291c3a !important;
  border-color: #624178 !important;
  color: #f5edfc !important;
}
body.cg-body :is(.clover-browse-card, .clover-related-browse a, .cg-cattile):hover { background: #3a2450 !important; }
body.cg-body :is(.clover-browse-copy small, .cg-cattile__text small) { color: #c9bbd7; }
body.cg-body .clover-support-hero { background: #291938; border-color: #624178; }
body.cg-body .clover-support-hero h1 { color: #fcf8ff; }
body.cg-body .clover-support-hero p { color: #d4c4df; }

body.cg-body :is(.clover-play, .clover-button, .play-now-button, .clover-toolbar .clover-fullscreen, .clover-auth input[type=submit]) {
  background: linear-gradient(120deg, #b875f3, #e6a5e7) !important;
  color: #29143a !important;
  box-shadow: 0 8px 24px rgba(154, 75, 201, .24);
}
body.cg-body :is(.clover-play, .clover-button, .play-now-button, .clover-toolbar .clover-fullscreen) * { color: #29143a !important; fill: #29143a !important; }
body.cg-body .clover-player,
body.cg-body .clover-player-bg:has(.clover-stage-still.is-ready) { background-color: #100d1d; }
body.cg-body .clover-player-bg { background-image: linear-gradient(#160e23dd, #100d1de8), var(--game-cover); }
body.cg-body .clover-toolbar button { color: #e0d3ec; }
body.cg-body .clover-game-details .clover-details-intro { border-color: #513768; }
body.cg-body .clover-game-details .clover-details-crumb { color: #c9bbd7; }
body.cg-body .clover-game-details .clover-details-crumb a,
body.cg-body .clover-game-details .clover-details-section-head a { color: #e1b8ff; }
body.cg-body .clover-game-details .clover-details-facts { background: #513768; }
body.cg-body .clover-game-details .clover-detail-fact { background: #271d37; }
body.cg-body .clover-game-details .clover-detail-fact dt { color: #fcf8ff; }
body.cg-body .clover-game-details .clover-detail-fact dt i { background: #442355; color: #e1b8ff; }
body.cg-body .clover-game-details .clover-detail-tags a,
body.cg-body .clover-game-details .clover-detail-categories a { background: #352044; border-color: #624178; color: #e1b8ff; }
body.cg-body .clover-game-details .clover-detail-categories a span { color: #d2c1df; }
body.cg-body .clover-info-table :is(th, td) { border-color: #513768; }
body.cg-body .clover-info-table th { color: #c9bbd7; }
body.cg-body .clover-editorial details { border-color: #513768; }
body.cg-body .clover-faq-card > span { background: #442355; color: #e1b8ff; }

body.cg-body .cg-footer { border-top-color: #624178; }
body.cg-body :is(.cg-footer__head, .cg-footer__link, .cg-footer__copy, .cg-footer__link > i:first-child) { color: #e0d3ec; }
body.cg-body .cg-footer__link:hover { color: #e1b8ff !important; }
