/* Airport Palms page refinements */
.ap-article-content { color: inherit; font: inherit; line-height: 1.75; }
.ap-article-content > p:first-of-type { color: inherit; font: inherit; }
.ap-article-content img, .ap-article-content figure { display: block; float: none !important; max-width: 100%; height: auto; margin: 1.25rem auto; }
.ap-article-content table { width: 100%; border-collapse: collapse; overflow-x: auto; display: block; }
.ap-article-content th, .ap-article-content td { padding: .65rem; vertical-align: top; }
.space-news-11-item-img img, .space-archive-loop-item-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.space-posts-shortcode-11 .space-news-11-item.small .space-news-11-item-image { height: auto; padding-bottom: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.space-posts-shortcode-11 .space-news-11-item.small .space-news-11-item-image img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.ap-payout-history { margin: 2rem 0; padding: 1.25rem; border: 1px solid #dce4ec; border-radius: 12px; background: #f8fafc; }
.ap-payout-history h2 { margin-top: 0; color: #0f2b48; }
.ap-payout-history-note { color: #526173; font-size: .95rem; line-height: 1.6; }
.ap-payout-table-wrap { overflow-x: auto; margin: 1rem 0; }
.ap-payout-table { width: 100%; min-width: 430px; border-collapse: collapse; background: #fff; }
.ap-payout-table th, .ap-payout-table td { padding: .75rem .85rem; border-bottom: 1px solid #e2e8f0; text-align: left; white-space: nowrap; }
.ap-payout-table th { color: #0f2b48; background: #edf3f8; font-weight: 700; }
.ap-payout-table tbody tr:nth-child(even) { background: #f8fafc; }
.ap-payout-source, .ap-payout-empty { color: #64748b; font-size: .875rem; line-height: 1.6; }
.ap-payout-source a { color: #1769aa; }
.ap-article-content ul, .ap-article-content ol { padding-inline-start: 1.5rem; }

#contact-confirmation[hidden] { display: none; }
.space-companies-archive-item-button a { white-space: normal; }

/* Stack sidebar game previews above each card's title and details. */
.space-organizations-4-archive-item-top {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  text-align: center;
}
.space-organizations-4-archive-item-logo {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
}
.space-organizations-4-archive-item-logo a {
  display: block;
  width: 100%;
}
.space-organizations-4-archive-item-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.space-organizations-4-archive-item-title {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
}
.space-organizations-4-archive-item-desc {
  text-align: center;
}

/* Editorial styling for game guides and long-form article copy. */
.ap-article-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0 2.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.82;
  background: #fff;
  border: 1px solid #e6edf3;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 43, 72, .055);
}
.ap-article-content > header {
  margin: 0 0 2rem;
  padding: 1.1rem 1.35rem .2rem;
  background: #f4f8fb;
  border-left: 0;
  border-radius: 0 10px 10px 0;
}
.ap-article-content p {
  margin: 0 0 1.15rem;
  padding: 0 !important;
  color: #3d4b5d;
  font-size: 1em;
  line-height: 1.82;
}
.ap-article-content h2,
.ap-article-content h3,
.ap-article-content h4 {
  color: #102d49;
  font-weight: 750;
  letter-spacing: -.018em;
}
.ap-article-content h2 {
  margin: 2.5rem 0 1rem;
  padding: 0 0 .65rem;
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
  line-height: 1.28;
  border-bottom: 1px solid #e7edf3;
  box-shadow: 0 1px 0 #fff;
}
.ap-article-content h3 {
  margin: 1.8rem 0 .75rem;
  padding-left: .75rem;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.4;
  border-left: 0;
}
.ap-article-content h4 {
  margin: 1.5rem 0 .6rem;
  font-size: 1.1rem;
  line-height: 1.4;
}
.ap-article-content a {
  color: #1769a0;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ap-article-content a:hover { color: #a76812; }
.ap-article-content strong { color: #173b5a; }
.ap-article-content ul,
.ap-article-content ol {
  margin: .5rem 0 1.5rem;
  padding-inline-start: 1.5rem;
}
.ap-article-content li {
  margin: .35rem 0;
  padding: 0 0 0 .15rem;
  line-height: 1.75;
}
.ap-article-content li::marker { color: #cf8b1d; font-weight: 700; }
.ap-article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  color: #42566b;
  background: #f7f9fb;
  border-left: 3px solid #d99a2b;
  border-radius: 0 10px 10px 0;
}
.ap-article-content figure { margin: 1.75rem auto; }
.ap-article-content figcaption,
.ap-article-content caption {
  padding: .7rem;
  color: #65758a;
  font-size: .9rem;
  line-height: 1.5;
  text-align: left;
}
.ap-article-content table {
  margin: 1.5rem 0 2rem;
  border: 1px solid #e3eaf1;
  border-radius: 10px;
  background: #fff;
}
.ap-article-content table.ap-illustrative-payout {
  display: table;
  box-sizing: border-box;
  width: 100%;
  min-width: 100%;
  table-layout: fixed;
}
.ap-article-content th,
.ap-article-content td {
  padding: .8rem .9rem;
  border-bottom: 1px solid #e7edf3;
  line-height: 1.55;
  text-align: left;
}
.ap-article-content th {
  color: #102d49;
  background: #f0f5f9;
  font-weight: 700;
}
.ap-article-content tr:last-child th,
.ap-article-content tr:last-child td { border-bottom: 0; }
.ap-article-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #e5ebf1;
}
@media (max-width: 640px) {
  .ap-article-content {
    margin: 1rem 0 2rem;
    padding: 1.1rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  .ap-article-content > header { padding: .9rem 1rem .1rem; }
  .ap-article-content h2 { margin-top: 2rem; }
  .ap-article-content th,
  .ap-article-content td { padding: .65rem; }
}

/* Keep internal page titles and introductions in the article flow. */
.space-title-box { background: transparent !important; padding: 24px 0 12px !important; }
.space-title-box h1 { font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.15; }
.space-title-box .space-page-content-excerpt p { color: #3d4650 !important; font: inherit !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.75 !important; }

/* Keep the six quick game facts aligned in a single desktop row. */
.space-game-specs-box {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: center;
  gap: 12px !important;
}
.space-game-specs-box > div { min-width: 0; }
.space-game-specs-box > div > strong { display: block; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .space-game-specs-box { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .space-game-specs-box { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

.ap-game-bonus-box {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 1.5rem 0 2rem;
  padding: 1.2rem 1.35rem;
  color: #334155;
  background: linear-gradient(120deg, #fffaf0, #f8fbfd 70%);
  border: 1px solid #e8edf2;
  border-left: 4px solid #d99a2b;
  border-radius: 12px;
}
.ap-game-bonus-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #123450;
  border-radius: 12px;
  font-size: 18px;
}
.ap-game-bonus-kicker {
  margin: 0 0 .2rem !important;
  padding: 0 !important;
  color: #a66d11 !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}
.ap-game-bonus-box h2 {
  margin: 0 0 .55rem;
  color: #102d49;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.35;
}
.ap-game-bonus-box p {
  margin: 0 0 .55rem;
  padding: 0 !important;
  color: #405166;
  font-size: .96rem;
  line-height: 1.65;
}
.ap-game-bonus-box p:last-child { margin-bottom: 0; }
.ap-game-bonus-box strong { color: #173b5a; }
.ap-game-bonus-box a {
  color: #1769a0 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ap-game-bonus-box a:hover { color: #a76812 !important; }
.ap-game-bonus-note { color: #65758a !important; font-size: .88rem !important; }
@media (max-width: 560px) {
  .ap-game-bonus-box { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 1rem; }
  .ap-game-bonus-icon { width: 36px; height: 36px; font-size: 16px; }
}

/* Static previews replace local game demos that no longer exist. */
.ap-demo-preview { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #0b1320; }
.ap-demo-preview img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.ap-demo-preview-square { max-width: 520px; aspect-ratio: 1 / 1; margin: 0 auto 1.5rem; }
.ap-spaceman-preview {
  aspect-ratio: auto;
  margin: 18px 0 24px;
  border: 1px solid #26374a;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, #1c2c43, #080f1b 78%);
  box-shadow: 0 12px 28px rgba(8, 15, 27, .16);
}
.ap-spaceman-preview img { height: auto; max-height: 500px; }
.ap-spaceman-preview figcaption {
  padding: 10px 14px;
  color: #aab8c7;
  background: #0b1320;
  border-top: 1px solid #26374a;
  font-size: .8rem;
  line-height: 1.45;
  text-align: center;
}

/* Helpful, static guide modules used across individual game pages. */
.ap-guide-toc,
.ap-round-visual,
.ap-example-calc,
.ap-game-comparison {
  box-sizing: border-box;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid #e1e9f0;
  border-radius: 14px;
  background: #fff;
}
.ap-guide-toc {
  padding: .9rem clamp(.9rem, 2vw, 1.2rem);
  border-color: #dce7ef;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7fafc 0%, #f3f8fc 100%);
}
.ap-guide-toc h2,
.ap-round-visual h2,
.ap-example-calc h2,
.ap-game-comparison h2 {
  margin: 0 0 .8rem;
  color: #102d49;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
}
.ap-guide-toc h2 {
  margin-bottom: .6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}
.ap-guide-toc ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: .3rem .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc-item;
}
.ap-guide-toc li {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  align-items: start;
  column-gap: .5rem;
  margin: 0;
  padding: .12rem 0;
  font-size: .88rem;
  line-height: 1.38;
  counter-increment: toc-item;
}
.ap-guide-toc li::before {
  content: counter(toc-item, decimal-leading-zero);
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: .02rem;
  place-items: center;
  color: #946719;
  background: #fff;
  border: 1px solid #eadbbd;
  border-radius: 6px;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
}
.ap-guide-toc a,
.ap-game-comparison a { color: #1769a0; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ap-guide-toc a {
  color: #345a76;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  text-underline-offset: 2px;
}
.ap-guide-toc a:hover { color: #1769a0; text-decoration: underline; }
.ap-guide-toc a:focus-visible { outline: 2px solid #1769a0; outline-offset: 2px; border-radius: 2px; }
.ap-round-visual { overflow: hidden; background: linear-gradient(145deg, #f3f8fc, #fffaf0); }
.ap-round-visual-head { max-width: 70ch; }
.ap-round-visual-head p,
.ap-example-calc > p,
.ap-game-comparison > p {
  margin: 0 0 .8rem;
  color: #526173;
  font-size: .94rem;
  line-height: 1.65;
}
.ap-round-visual-label {
  display: inline-block;
  margin-bottom: .35rem;
  color: #9b6814;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ap-round-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
  list-style: none;
  counter-reset: none;
}
.ap-round-steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .28rem;
  min-width: 0;
  margin: 0;
  padding: 1rem !important;
  background: rgba(255,255,255,.88);
  border: 1px solid #e4ebf1;
  border-radius: 11px;
  line-height: 1.5;
}
.ap-round-step-no { color: #bd8120; font-size: .74rem; font-weight: 800; letter-spacing: .08em; }
.ap-round-steps strong { color: #173b5a; }
.ap-round-steps li > span:last-child { color: #5b6878; font-size: .9rem; }
.ap-example-calc { background: #f8fafc; }
.ap-calc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0;
}
.ap-calc-grid > div {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .8rem;
  background: #fff;
  border: 1px solid #e4ebf1;
  border-radius: 9px;
}
.ap-calc-grid span { color: #64748b; font-size: .75rem; line-height: 1.4; }
.ap-calc-grid strong { color: #123450; font-size: 1.05rem; }
.ap-comparison-scroll { overflow-x: auto; }
.ap-game-comparison table { width: 100%; min-width: 540px; border-collapse: collapse; }
.ap-game-comparison th,
.ap-game-comparison td { padding: .7rem .8rem; border-bottom: 1px solid #e5ebf1; text-align: left; vertical-align: top; }
.ap-game-comparison th { color: #102d49; background: #f0f5f9; font-size: .88rem; }
.ap-game-comparison tbody tr:last-child th,
.ap-game-comparison tbody tr:last-child td { border-bottom: 0; }
.ap-game-comparison .ap-comparison-note { margin: .75rem 0 0; font-size: .82rem; }
@media (max-width: 640px) {
  .ap-round-steps { grid-template-columns: 1fr; gap: .55rem; }
  .ap-round-steps li { display: grid; grid-template-columns: 2rem minmax(0,1fr); column-gap: .4rem; }
  .ap-round-step-no { grid-row: span 2; }
  .ap-calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ap-player-context {
  margin: 2rem 0;
  padding: 1.25rem;
  background: #f7fafc;
  border: 1px solid #e1e9f0;
  border-radius: 14px;
}
.ap-player-context > h2 {
  margin: 0 0 .55rem;
  color: #102d49;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.35;
}
.ap-player-context > p {
  margin: 0 0 1rem;
  color: #526173;
  font-size: .94rem;
  line-height: 1.65;
}
.ap-player-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.ap-player-context-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid #e4ebf1;
  border-radius: 11px;
}
.ap-player-context-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  background: #edf5fa;
  border-radius: 12px;
}
.ap-player-context-icon img {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 !important;
}
.ap-player-context-copy { min-width: 0; }
.ap-player-context-copy h3 {
  margin: 0 0 .3rem;
  padding: 0;
  color: #173b5a;
  font-size: 1rem;
  line-height: 1.35;
}
.ap-player-context-copy p {
  margin: 0;
  padding: 0;
  color: #526173;
  font-size: .88rem;
  line-height: 1.6;
}
.ap-player-context-grid a { color: #1769a0; text-underline-offset: 2px; }
@media (max-width: 700px) {
  .ap-player-context-grid { grid-template-columns: 1fr; }
  .space-slotslaunch-single-page .space-content-section.box-75,
  .space-slotslaunch-single-page .space-sidebar-section.box-25 {
    float: none;
    width: 100%;
  }
}

.ap-metacrash-preview { background: #f7a51d; }
.ap-preview-attribution {
  margin: -.65rem 0 1.4rem;
  color: #65758a;
  font-size: .78rem;
  line-height: 1.45;
  text-align: right;
}
.ap-preview-attribution a { color: #1769a0; text-underline-offset: 2px; }

.ap-game-source-screenshot {
  margin: 1.25rem 0 1.5rem;
  overflow: hidden;
  background: #0d1b2a;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
}
.ap-game-source-screenshot img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.ap-game-source-screenshot figcaption {
  padding: .65rem .85rem;
  background: #f7fafc;
  color: #64748b;
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
}
.ap-game-source-screenshot a { color: #1769a0; text-underline-offset: 2px; }

/* Center game names in both homepage game-card sections */
#top .slotsl-grid .slotsl-meta {
  text-align: center;
}
#top .slotsl-grid .slotsl-meta p.slotsl-title {
  display: flex;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 2.6rem !important;
  padding: 0 !important;
  line-height: 1.25 !important;
  text-align: center !important;
}
#top .slotsl-grid .slotsl-meta p.slotsl-title a {
  display: block;
  width: 100%;
  line-height: 1.25 !important;
  text-align: center !important;
}
#top .slotsl-grid .slotsl-meta a.slotsl-provider {
  right: 0;
  left: 0;
  width: 100%;
  text-align: center;
}
#top .space-companies-archive-items .space-companies-archive-item-title {
  text-align: center !important;
}
#top .space-companies-archive-items .space-companies-archive-item-title a {
  display: block;
  width: 100%;
  text-align: center !important;
}

/* Keep the single review action full width on game cards */
.space-companies-archive-items .space-companies-archive-item-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.space-companies-archive-items .space-companies-archive-item-buttons > div {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
.space-companies-archive-items .space-companies-archive-item-buttons a {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding-right: 4px;
  padding-left: 4px;
  white-space: nowrap;
  text-align: center !important;
}

/* Category game cards */
#top .space-organization-archive .space-companies-archive-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100% !important;
  margin: 28px 0 0;
}
#top .space-organization-archive .space-companies-archive-item {
  display: block;
  width: auto !important;
  min-width: 0;
  float: none;
}
#top .space-organization-archive .space-companies-archive-item-ins {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
}
#top .space-organization-archive .space-companies-archive-item-big-img {
  position: relative;
  margin: 0;
  overflow: hidden;
}
#top .space-organization-archive .space-companies-archive-item-big-img > a {
  display: block;
}
#top .space-organization-archive .space-companies-archive-item-big-img img {
  display: block;
  width: 100% !important;
  height: 180px !important;
  object-fit: cover;
  border-radius: 5px 5px 0 0 !important;
}
#top .space-organization-archive .space-companies-archive-item-rating {
  position: static;
  margin: 0 0 15px !important;
  padding: 0 !important;
  background: transparent;
  border-radius: 0;
  line-height: 1.25;
  box-shadow: none;
  text-align: center;
}
#top .space-organization-archive .space-companies-archive-item-rating .star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
#top .space-organization-archive .space-companies-archive-item-rating .star-rating .star {
  color: #ff2453 !important;
  font-size: 13px !important;
  padding: 0;
}
#top .space-organization-archive .space-companies-archive-item-title-box {
  flex: 1;
  padding: 18px 14px 12px !important;
}
#top .space-organization-archive .space-companies-archive-item-title {
  margin: 0 0 8px !important;
  line-height: 1.3;
}
#top .space-organization-archive .space-companies-archive-item-title a {
  font-size: 20px;
  line-height: 1.3;
}
#top .space-organization-archive .space-companies-archive-item-short-desc {
  display: block;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
#top .space-organization-archive .space-companies-archive-item-buttons {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  margin: 30px 0 0;
  padding: 0 18px !important;
}
@media (max-width: 1000px) {
  #top .space-organization-archive .space-companies-archive-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  #top .space-organization-archive .space-companies-archive-items {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Transparent flying aircraft logo on the header. */
.ap-site-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 152px;
  height: 74px;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1 !important;
  text-decoration: none;
}
.space-header-logo.box-25 { width: 16% !important; }
.space-header-menu.box-75 { width: 84% !important; }
.space-header-logo-ins {
  display: flex;
  align-items: center;
  height: 80px;
  margin: 0;
}
.space-header-logo-ins::after {
  display: none !important;
  content: none !important;
}
.ap-site-logo img {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(12, 28, 45, .4)) !important;
}
.space-mobile-menu-header .ap-site-logo {
  margin: 0 auto;
}
@media (max-width: 767px) {
  .space-header-logo-ins { height: 60px; }
  .space-header-logo.box-25 { width: 118px !important; }
  .space-header-menu.box-75 { width: calc(100% - 118px) !important; }
  .ap-site-logo { width: 110px; height: 56px; }
}

/* Shared game-card format used by the home catalogue, categories, wins and sidebars. */
.ap-game-card { box-sizing: border-box; min-width: 0; }
.ap-game-card .space-companies-archive-item-ins {
  display: flex;
  height: 100%;
  flex-direction: column;
  margin: 0 15px 30px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(109, 141, 173, .25);
  transition: box-shadow .2s ease, transform .2s ease;
}
.ap-game-card:hover .space-companies-archive-item-ins {
  box-shadow: 0 15px 40px rgba(109, 141, 173, .4);
}
.ap-game-card .space-companies-archive-item-big-img { margin: 0; overflow: hidden; }
.ap-game-card .space-companies-archive-item-big-img > a { display: block; }
.ap-game-card .space-companies-archive-item-big-img img {
  display: block;
  width: 100% !important;
  height: 180px !important;
  object-fit: cover;
  border-radius: 5px 5px 0 0 !important;
  transition: transform .3s ease;
}
.ap-game-card:hover .space-companies-archive-item-big-img img { transform: scale(1.025); }
.ap-game-card .space-companies-archive-item-wrap.big {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  padding: 30px !important;
  text-align: center;
}
.ap-game-card .space-companies-archive-item-title { margin: 0 0 10px !important; text-align: center; }
.ap-game-card .space-companies-archive-item-title a {
  display: block;
  width: 100%;
  color: #151515;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.ap-game-card .space-companies-archive-item-title a:hover { color: #b2bec3; }
.ap-game-card .space-companies-archive-item-rating {
  position: static;
  margin: 0 0 15px !important;
  padding: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.ap-game-card .space-companies-archive-item-short-desc {
  display: block !important;
  margin: 8px 0 !important;
  color: #64748b;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-align: center;
}
.ap-game-card .space-companies-archive-item-short-desc strong { font-weight: 700; }
.ap-game-card .space-companies-archive-item-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  margin: 30px 0 0;
}
.ap-game-card .space-companies-archive-item-buttons > div {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
.ap-game-card .space-companies-archive-item-buttons a {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding-right: 4px;
  padding-left: 4px;
  text-align: center !important;
  white-space: nowrap;
}
.ap-game-card .space-organizations-archive-item-button-notice {
  margin: 5px 0 0 !important;
  text-align: center;
}

.ap-sidebar-game-card-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  margin: 16px 0 0 !important;
}
.ap-sidebar-game-card-grid > .ap-game-card { display: block; width: auto !important; float: none; }
.ap-sidebar-game-card-grid .ap-game-card .space-companies-archive-item-ins { margin: 0; }
.ap-sidebar-game-card-grid .ap-game-card .space-companies-archive-item-wrap.big { padding: 20px 16px !important; }
.ap-sidebar-game-card-grid .ap-game-card .space-companies-archive-item-buttons { margin-top: 18px; }

@media (max-width: 580px) {
  .ap-home-games-grid { justify-content: center; }
  .ap-home-games-grid > .ap-game-card { width: 300px !important; max-width: 100%; }
}
@media (max-width: 360px) {
  .ap-home-games-grid > .ap-game-card { width: calc(100vw - 50px) !important; }
  .ap-home-games-grid .ap-game-card .space-companies-archive-item-wrap.big,
  .ap-home-wins-track .ap-game-card .space-companies-archive-item-wrap.big { padding: 24px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ap-game-card .space-companies-archive-item-ins,
  .ap-game-card .space-companies-archive-item-big-img img { transition: none; }
}

/* Responsive navigation toggle shown exactly when the desktop menu collapses. */
.space-header-menu ul.ap-responsive-main-menu {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ap-mobile-menu-toggle {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 9px;
  overflow: visible;
  border: 1px solid #d99a2b;
  border-radius: 11px;
  background: #0f2b48;
  box-shadow: 0 4px 12px rgba(15, 43, 72, .16);
  cursor: pointer;
  line-height: 1;
  z-index: 40;
}
.ap-mobile-menu-toggle > span {
  display: block;
  width: 20px;
  height: 2px;
  flex: 0 0 2px;
  border-radius: 999px;
  background: #f4b53f;
  transition: transform .18s ease, opacity .18s ease;
}
.ap-mobile-menu-toggle:hover { background: #173d60; }
.ap-mobile-menu-toggle:focus-visible {
  outline: 3px solid rgba(23, 108, 138, .45);
  outline-offset: 3px;
}
@media (max-width: 1199px) {
  .space-mobile-menu-icon.ap-mobile-menu-toggle { display: flex !important; }
  .space-header-menu ul.ap-responsive-main-menu { display: none !important; }
  .space-header-menu > .ap-mobile-menu-toggle {
    position: absolute;
    top: 13px;
    right: 15px;
  }
}
@media (min-width: 1200px) {
  .space-mobile-menu-icon.ap-mobile-menu-toggle { display: none !important; }
}

/* Refined typography for the long-form copy on individual game pages only. */
body.single-slotsl .space-page-content article {
  color: #39485a;
  font-size: clamp(1rem, calc(.96rem + .16vw), 1.08rem);
  line-height: 1.78;
}
body.single-slotsl .space-page-content article p {
  max-width: 85ch;
  margin: 0 0 1.15rem;
  padding: 0 !important;
  color: #3d4b5c;
  line-height: 1.78;
}
body.single-slotsl .space-page-content article > p:first-of-type {
  color: #293d52;
  font-size: 1.06em;
  line-height: 1.8;
}
body.single-slotsl .space-page-content article h2 {
  position: relative;
  margin: 2.2rem 0 .9rem !important;
  padding: 0 0 .62rem !important;
  color: #173650;
  font-size: clamp(1.38rem, calc(1.2rem + .65vw), 1.72rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.018em;
  border-bottom: 1px solid #e0e7ed;
}
body.single-slotsl .space-page-content article h2::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 2.8rem;
  height: 3px;
  border-radius: 3px;
  background: #d99a2b;
  content: "";
}
body.single-slotsl .space-page-content article h2:first-child { margin-top: 0 !important; }
body.single-slotsl .space-page-content article h3,
body.single-slotsl .space-page-content article h4 {
  color: #24435d;
  font-weight: 700;
  line-height: 1.4;
}
body.single-slotsl .space-page-content article h3 {
  margin: 1.55rem 0 .65rem !important;
  padding-left: .7rem;
  font-size: clamp(1.1rem, calc(1.02rem + .25vw), 1.28rem);
  border-left: 3px solid #e3ad4d;
}
body.single-slotsl .space-page-content article h4 {
  margin: 1.25rem 0 .55rem !important;
  font-size: 1.05rem;
}
body.single-slotsl .space-page-content article a {
  color: #17658e;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.single-slotsl .space-page-content article a:hover { color: #a76812; }
body.single-slotsl .space-page-content article strong { color: #243f58; }
body.single-slotsl .space-page-content article ul,
body.single-slotsl .space-page-content article ol {
  max-width: 74ch;
  margin: .35rem 0 1.35rem;
  padding-left: 1.55rem;
}
body.single-slotsl .space-page-content article li {
  margin: .2rem 0;
  padding: .2rem 0 .2rem .12rem;
  line-height: 1.7;
}
body.single-slotsl .space-page-content article li::marker {
  color: #c88920;
  font-weight: 700;
}
body.single-slotsl .space-page-content article blockquote {
  max-width: 74ch;
  margin: 1.4rem 0;
  padding: .95rem 1.15rem;
  color: #40566a;
  background: #f5f8fa;
  border-left: 3px solid #d99a2b;
  border-radius: 0 9px 9px 0;
}
body.single-slotsl .space-page-content article figure { margin: 1.5rem 0; }
body.single-slotsl .space-page-content article figcaption {
  margin-top: .45rem;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.5;
}
body.single-slotsl .space-page-content article table {
  width: 100%;
  margin: 1.2rem 0 1.75rem;
  border: 1px solid #dfe7ee;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  background: #fff;
  font-size: .94em;
  line-height: 1.55;
}
body.single-slotsl .space-page-content article table th,
body.single-slotsl .space-page-content article table td {
  padding: .7rem .85rem;
  border-bottom: 1px solid #e6edf2;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
body.single-slotsl .space-page-content article table th {
  color: #173650;
  background: #f1f6f9;
  font-weight: 700;
}
body.single-slotsl .space-page-content article table tbody tr:nth-child(even) td,
body.single-slotsl .space-page-content article table tbody tr:nth-child(even) th {
  background: #fafcfd;
}
body.single-slotsl .space-page-content article table tr:last-child th,
body.single-slotsl .space-page-content article table tr:last-child td { border-bottom: 0; }
body.single-slotsl .space-page-content article hr {
  margin: 1.8rem 0;
  border: 0;
  border-top: 1px solid #e2e8ee;
}
@media (max-width: 640px) {
  body.single-slotsl .space-page-content article h2 { margin-top: 1.8rem !important; }
  body.single-slotsl .space-page-content article table th,
  body.single-slotsl .space-page-content article table td { padding: .6rem .65rem; }
}

/* Full-width, readable New Zealand privacy notice. */
.ap-privacy-policy-page .space-content-section.no-sidebar {
  box-sizing: border-box;
  float: none;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
.ap-privacy-policy-page .space-sidebar-section { display: none !important; }
.ap-privacy-policy-page .space-page-content.page-template {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 2rem;
}
.ap-privacy-policy {
  box-sizing: border-box;
  width: 100%;
  color: #3b4b5d;
  font-size: clamp(1rem, calc(.97rem + .12vw), 1.06rem);
  line-height: 1.76;
}
.ap-privacy-policy p {
  max-width: 100ch;
  margin: 0 0 1rem;
  padding: 0 !important;
  color: #3d4b5b;
}
.ap-privacy-policy .ap-privacy-policy-lead {
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 1rem 1.2rem !important;
  color: #24425d;
  background: #f2f7fa;
  border: 1px solid #dfe9ef;
  border-left: 4px solid #d99a2b;
  border-radius: 0 10px 10px 0;
}
.ap-privacy-policy .ap-privacy-policy-summary {
  margin: 0 0 1.5rem;
  padding: 1.2rem 1.35rem .35rem;
  background: #f8fafc;
  border: 1px solid #e2e9ef;
  border-radius: 12px;
}
.ap-privacy-policy .ap-privacy-policy-summary h2 {
  margin: 0 0 .6rem !important;
  color: #173650;
  font-size: 1.18rem;
  line-height: 1.35;
}
.ap-privacy-policy .ap-privacy-policy-summary ul {
  margin: 0 0 .7rem;
  padding-left: 1.3rem;
}
.ap-privacy-policy .ap-privacy-policy-summary li {
  margin: .25rem 0;
  padding: 0 0 0 .1rem;
}
.ap-privacy-policy .ap-privacy-policy-summary li::marker { color: #c88920; }
.ap-privacy-policy .ap-privacy-policy-toc {
  margin: 0 0 1.6rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid #e3eaf0;
  border-radius: 11px;
}
.ap-privacy-policy .ap-privacy-policy-toc > strong {
  display: block;
  margin-bottom: .6rem;
  color: #173650;
}
.ap-privacy-policy .ap-privacy-policy-toc ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem 1.2rem;
  margin: 0;
  padding-left: 1.35rem;
}
.ap-privacy-policy .ap-privacy-policy-toc li {
  margin: 0;
  padding: .1rem 0 .1rem .1rem;
  font-size: .94rem;
  line-height: 1.5;
}
.ap-privacy-policy .ap-privacy-policy-toc li::marker { color: #c88920; font-weight: 700; }
.ap-privacy-policy .ap-privacy-policy-toc a {
  color: #285d7e;
  text-decoration: none;
}
.ap-privacy-policy .ap-privacy-policy-toc a:hover { text-decoration: underline; }
.ap-privacy-policy section { margin: 0 0 1.7rem; }
.ap-privacy-policy section h2 {
  position: relative;
  margin: 1.9rem 0 .8rem !important;
  padding: 0 0 .55rem !important;
  color: #173650;
  font-size: clamp(1.3rem, calc(1.16rem + .42vw), 1.55rem);
  font-weight: 700;
  line-height: 1.32;
  border-bottom: 1px solid #e1e8ee;
}
.ap-privacy-policy section h2::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 3px;
  background: #d99a2b;
  content: "";
}
.ap-privacy-policy a {
  color: #17658e;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.ap-privacy-policy a:hover { color: #a76812; }
.ap-privacy-policy strong { color: #253f57; }
.ap-privacy-policy :target { scroll-margin-top: 6rem; }
@media (max-width: 760px) {
  .ap-privacy-policy .ap-privacy-policy-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ap-privacy-policy .ap-privacy-policy-lead { padding: .85rem .95rem !important; }
  .ap-privacy-policy .ap-privacy-policy-summary,
  .ap-privacy-policy .ap-privacy-policy-toc { padding: .95rem; }
  .ap-privacy-policy .ap-privacy-policy-toc ol { grid-template-columns: 1fr; }
  .ap-privacy-policy section { margin-bottom: 1.35rem; }
}
/* Desktop dropdown navigation: inline chevrons and crisp, divided menus. */
@media (min-width: 1200px) {
  .space-header-menu ul.main-menu > li.menu-item-has-children > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children > a::after {
    content: "\f078";
    position: static;
    display: inline-block;
    flex: 0 0 auto;
    margin: 0;
    font-family: "Font Awesome 5 Free" !important;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(1px);
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children > a > i {
    display: none !important;
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children > ul.sub-menu {
    top: 80px;
    left: 0;
    width: 252px;
    padding: 5px 0;
    overflow: hidden;
    border: 1px solid #dbe4ec;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 43, 72, .16);
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children:hover > ul.sub-menu,
  .space-header-menu ul.main-menu > li.menu-item-has-children:focus-within > ul.sub-menu {
    top: 80px;
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children > ul.sub-menu > li {
    float: none;
    width: 100%;
    padding: 0;
    border-top: 1px solid #e7edf2;
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children > ul.sub-menu > li:first-child {
    border-top: 0;
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children > ul.sub-menu > li > a {
    display: block;
    padding: 11px 16px;
    border: 0;
    color: #30465b;
    font-size: 14px;
    line-height: 1.35;
    transition: background-color .16s ease, color .16s ease, padding-left .16s ease;
  }
  .space-header-menu ul.main-menu > li.menu-item-has-children > ul.sub-menu > li > a:hover,
  .space-header-menu ul.main-menu > li.menu-item-has-children > ul.sub-menu > li > a:focus-visible {
    padding-left: 20px;
    background: #f3f7fa;
    color: #b77919;
  }
}


/* Shared sticky footer fallback for static pages missing inline theme styles. */
html, body { min-height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
.space-box { display: flex; flex: 1 0 auto; flex-direction: column; min-height: 100vh; }
.space-site-content { flex: 1 0 auto; }
.space-footer { margin-top: auto; }
