:root {
  --hub-paper: #f5f2eb;
  --hub-white: #fffefa;
  --hub-ink: #171329;
  --hub-muted: #686273;
  --hub-line: #ddd8df;
  --hub-lime: #d5fb66;
  --hub-peach: #ff9977;
  --hub-lavender: #e7def6;
  --hub-purple: #7660b3;
  --hub-radius: 24px;
  --hub-shadow: 0 12px 38px #2115330a;
}
.hub-offline-status{max-width:1240px;margin:8px auto 0;padding:0 24px;color:#cbe49d;font-size:11px;text-align:left;line-height:1.5}
.hub-offline-status[hidden]{display:none}

body { background: var(--hub-paper); }
#app { min-width: 0; }
.hub-main,
.hub-header,
.hub-footer,
.hub-dialog,
.hub-mobile-nav,
.hub-bottom-nav,
.hub-game-toolbar,
.hub-new-game,
.hub-toast {
  color: var(--hub-ink);
  font-family: "Alexandria", Tahoma, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
.hub-main *,
.hub-dialog *,
.hub-header *,
.hub-footer * { min-width: 0; }
.hub-main [hidden],
.hub-dialog [hidden],
.hub-header [hidden],
.hub-game-toolbar [hidden],
.hub-new-game [hidden] { display: none !important; }
.hub-main svg,
.hub-header svg,
.hub-footer svg,
.hub-dialog svg,
.hub-game-toolbar svg,
.hub-mobile-nav svg,
.hub-bottom-nav svg { width: 21px; height: 21px; flex: 0 0 auto; }
.hub-main img,
.hub-header img,
.hub-footer img,
.hub-dialog img { display: block; max-width: 100%; }
.hub-main a:focus-visible,
.hub-main button:focus-visible,
.hub-main summary:focus-visible,
.hub-main input:focus-visible,
.hub-header a:focus-visible,
.hub-header button:focus-visible,
.hub-footer a:focus-visible,
.hub-footer button:focus-visible,
.hub-dialog button:focus-visible,
.hub-dialog a:focus-visible,
.hub-dialog input:focus-visible,
.hub-game-toolbar button:focus-visible,
.hub-game-toolbar a:focus-visible,
.hub-mobile-nav a:focus-visible,
.hub-bottom-nav a:focus-visible { outline: 3px solid #a54422; outline-offset: 4px; }
.hub-header a:focus-visible,
.hub-header button:focus-visible,
.hub-footer a:focus-visible,
.hub-footer button:focus-visible,
.hub-hero a:focus-visible { outline-color: var(--hub-lime); }
.hub-main { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 76px; }
.hub-main:focus { outline: none; }
.hub-main p { line-height: 1.9; }
.hub-kicker { display: block; color: var(--hub-purple); font-size: 12px; font-weight: 750; line-height: 1.65; }
.hub-button {
  min-height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
  text-align: center;
  cursor: pointer;
  transition: background-color .16s, box-shadow .16s, transform .16s;
}
.hub-button:hover { transform: translateY(-2px); }
.hub-button:active { transform: translateY(0); }
.hub-button-lime { background: var(--hub-lime); color: var(--hub-ink); box-shadow: 0 5px 0 #a5c34b; }
.hub-button-lime:hover { background: #e0ff85; box-shadow: 0 6px 0 #a5c34b; }
.hub-button-dark { background: var(--hub-ink); color: var(--hub-white); }
.hub-button-dark:hover { background: #33274c; }
.hub-button-glass { color: var(--hub-white); border-color: #ffffff40; background: #ffffff08; }
.hub-button-glass:hover { background: #ffffff12; border-color: #ffffff6b; }
.hub-button-outline { border-color: #cfc6d7; background: transparent; color: var(--hub-ink); }
.hub-button-outline:hover { background: #e9e2ee; }
.hub-button:disabled { opacity: .5; transform: none; box-shadow: none; cursor: default; }
.hub-full { width: 100%; }
.hub-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 10px;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  border: 1px solid transparent;
}
.hub-icon:hover { background: #8e7bdb16; }
.hub-text-button,
.hub-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; background: transparent; padding: 5px 0; font-size: 13px; font-weight: 750; }
.hub-text-link:hover,
.hub-text-button:hover { color: #634a9a; }
.hub-text-link svg,
.hub-text-button svg { width: 18px; height: 18px; }

/* Navigation stays calm while the play area carries the colour. */
.hub-header { background: var(--hub-ink); color: var(--hub-white); }
.hub-header-inner { width: min(1240px, calc(100% - 64px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hub-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 11px; font-size: 21px; font-weight: 800; line-height: 1.45; }
.hub-brand img { flex: 0 0 auto; }
.hub-brand small { margin-top: 1px; font-size: 10px; font-weight: 500; color: #c8bedb; }
.hub-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.hub-nav a { display: flex; align-items: center; min-height: 44px; color: #d5cedf; font-size: 13px; font-weight: 600; position: relative; white-space: nowrap; }
.hub-nav a:hover { color: var(--hub-white); }
.hub-nav a[aria-current="page"] { color: var(--hub-lime); }
.hub-nav a[aria-current="page"]::after { content: ""; position: absolute; height: 3px; width: 20px; border-radius: 3px; background: var(--hub-lime); bottom: 0; inset-inline-start: 0; }
.hub-actions { display: flex; align-items: center; gap: 4px; }
.hub-header .hub-icon { color: #ded6ed; }
.hub-header .hub-icon:hover { background: #ffffff12; color: var(--hub-lime); }
.hub-library-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; margin-inline-start: 8px; border: 1px solid #ffffff30; border-radius: 12px; color: var(--hub-white); font-size: 12px; font-weight: 650; white-space: nowrap; }
.hub-library-link:hover { background: #ffffff10; border-color: #ffffff50; }
.hub-library-link svg { width: 18px; height: 18px; }

/* The family table is an illustration, not a second interactive interface. */
.hub-hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: 10px;
  min-height: 510px;
  padding: 42px 50px 52px;
  border-radius: 28px;
  background: radial-gradient(ellipse at 21% 48%, #483062 0, #251c3a 40%, #171329 74%);
  color: var(--hub-white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hub-hero::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid #baa4e812; border-radius: 50%; inset-inline-end: 20px; top: 32px; z-index: -1; }
.hub-hero-copy { position: relative; z-index: 2; padding-block: 4px; }
.hub-hero-label { display: inline-flex; align-items: center; gap: 9px; min-height: 29px; color: #e7ddf7; font-size: 12px; font-weight: 650; }
.hub-hero-label > span { width: 7px; height: 7px; background: var(--hub-peach); border-radius: 50%; box-shadow: 0 0 0 4px #ff997712; }
.hub-hero h1 { margin: 15px 0 15px; color: var(--hub-white); font-size: 72px; font-weight: 850; letter-spacing: -2.6px; line-height: 1.23; }
.hub-hero h1 > span { color: var(--hub-lime); }
.hub-hero h1 i { display: inline-block; color: var(--hub-peach); font-size: 39px; font-style: normal; vertical-align: 20%; margin-inline-start: 13px; }
.hub-hero-copy > p { max-width: 450px; color: #d7cde6; font-size: 15px; line-height: 1.95; }
.hub-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hub-hero-facts { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 27px; color: #c6bad9; }
.hub-hero-facts > span { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; }
.hub-hero-facts svg { width: 16px; height: 16px; color: #d5c4ef; }
.hub-hero-art { position: relative; width: 100%; direction: ltr; }
.hub-hero-art > img { position: relative; z-index: 1; width: calc(100% + 58px); max-width: none; height: auto; margin-inline-start: -30px; margin-block: -30px; user-select: none; }
.hub-orbit { position: absolute; width: 91%; height: 73%; border: 1px dashed #c1a3ec32; border-radius: 50%; left: 3%; top: 11%; transform: rotate(-26deg); }
.hub-art-label { position: absolute; display: block; z-index: 2; left: 2px; bottom: 9px; border: 1px solid #ffffff30; padding: 12px 15px; border-radius: 13px; background: #f5f2eb; color: var(--hub-ink); font-size: 12px; font-weight: 750; box-shadow: 0 6px 0 #17132940; transform: rotate(-4deg); direction: rtl; }
.hub-art-label small { margin-top: 3px; padding-inline-start: 16px; color: #686273; font-size: 10px; font-weight: 500; }
.hub-art-dot { width: 7px; height: 7px; display: inline-block; margin-inline-end: 5px; border-radius: 50%; background: #7a9d2f; }
.hub-floating-label { position: absolute; z-index: 2; right: 5px; top: 13px; padding: 9px 14px; color: var(--hub-ink); background: var(--hub-peach); border-radius: 10px 10px 2px 10px; font-size: 11px; font-weight: 750; transform: rotate(7deg); direction: rtl; }
.hub-hero-index { position: absolute; color: #b5a2cc; font: 8px/1.5 "Segoe UI", sans-serif; letter-spacing: 2px; direction: ltr; left: 26px; bottom: 19px; }
.hub-ticker { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 23px; border-bottom: 1px solid var(--hub-line); }
.hub-ticker span { display: flex; align-items: center; gap: 9px; color: #62596e; font-size: 11px; font-weight: 600; }
.hub-ticker svg { width: 17px; height: 17px; color: #8d6fbc; }

/* A card's action sits at the same edge in every row. */
.hub-library { padding-top: 44px; scroll-margin-top: 24px; }
.hub-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hub-section-title h2 { margin-top: 6px; font-size: 34px; font-weight: 800; letter-spacing: -.8px; line-height: 1.45; }
.hub-section-note { color: var(--hub-muted); font-size: 11px; padding-bottom: 7px; line-height: 1.8; }
.hub-section-note > span { padding-inline: 5px; color: #a39aaa; }
.hub-filter-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 23px 0 23px; }
.hub-filters { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px; background: #eae5ed; border-radius: 13px; }
.hub-filters button { min-height: 39px; padding: 8px 15px; border-radius: 9px; color: #655b72; background: transparent; font-size: 11px; font-weight: 650; white-space: nowrap; border: 1px solid transparent; }
.hub-filters button:hover { background: #f5f2eb; }
.hub-filters button.is-active { background: var(--hub-ink); color: var(--hub-white); box-shadow: 0 2px 5px #17132916; }
.hub-filter-row > .hub-text-button { font-size: 11px; color: var(--hub-muted); white-space: nowrap; }
.hub-games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hub-game-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #ded7e2; border-radius: 20px; background: var(--hub-white); overflow: hidden; box-shadow: var(--hub-shadow); transition: box-shadow .16s, transform .16s; }
.hub-game-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px #21153312; }
.hub-card-image { position: relative; height: 220px; background: #e8def4; overflow: hidden; }
.hub-card-image.lime,
.hub-detail-art.lime { background: #d5e9a3; }
.hub-card-image.peach,
.hub-detail-art.peach { background: #efd2bc; }
.hub-card-image.lavender,
.hub-detail-art.lavender { background: #d7c9f7; }
.hub-card-image > a { display: block; width: 100%; height: 100%; }
.hub-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.hub-game-card:hover .hub-card-image img { transform: scale(1.025); }
.hub-card-badge { position: absolute; right: 15px; top: 15px; background: #f5f2ebe8; color: #675e70; border: 1px solid #ffffff70; border-radius: 7px; font-size: 10px; font-weight: 700; padding: 6px 9px; pointer-events: none; }
.hub-card-badge.is-ready { color: #273412; background: #e8ffc3; border-color: #c1e29a; }
.hub-favorite { position: absolute; left: 13px; top: 12px; display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; color: var(--hub-ink); border: 1px solid #ffffffb0; background: #fffefaeb; box-shadow: 0 3px 10px #1713290a; }
.hub-favorite svg { width: 18px; height: 18px; }
.hub-favorite:hover { background: var(--hub-white); }
.hub-favorite.is-saved { color: #a94935; background: #fff0e8; }
.hub-favorite.is-saved svg { fill: #ff99774d; }
.hub-card-copy { display: flex; flex-direction: column; flex: 1; padding: 23px 25px 0; }
.hub-card-copy .hub-kicker { font-size: 10px; color: #80689b; }
.hub-card-copy h3 { min-height: 34px; margin-top: 7px; font-size: 23px; font-weight: 800; line-height: 1.5; letter-spacing: -.4px; }
.hub-card-copy h3 a:hover { color: #664695; }
.hub-card-copy > p { margin-top: 9px; color: var(--hub-muted); font-size: 12px; line-height: 1.95; }
.hub-card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 19px; padding-bottom: 20px; color: #766b81; }
.hub-card-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.hub-card-meta svg { width: 15px; height: 15px; color: #91829f; }
.hub-card-cta { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 58px; border-top: 1px solid #e8e1eb; font-size: 13px; font-weight: 800; }
.hub-card-cta svg { width: 20px; height: 20px; transition: transform .16s; }
.hub-card-cta:hover { color: #72519f; }
.hub-card-cta:hover svg { transform: translateX(-4px); }
.hub-game-card.is-coming { box-shadow: none; background: #f9f7f2; border-color: #e2dce5; }
.hub-game-card.is-coming .hub-card-image img { filter: saturate(.5); opacity: .82; }
.hub-game-card.is-coming .hub-card-copy h3 { color: #4d445a; }
.hub-game-card.is-coming .hub-card-copy .hub-kicker { color: #82778f; }
.hub-game-card.is-coming .hub-card-cta { color: #766a83; font-weight: 650; }
.hub-filter-status { min-height: 22px; padding-top: 11px; color: var(--hub-muted); font-size: 11px; }
.hub-empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; background: #eee8f3; border: 1px dashed #c9bcd5; border-radius: 16px; color: var(--hub-muted); font-size: 13px; line-height: 1.9; }
.hub-empty h3 { margin-bottom: 8px; color: var(--hub-ink); font-size: 22px; }

/* Shared-screen play gets its own invitation, with clear steps. */
.hub-gathering { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; margin-top: 52px; padding: 45px 50px; background: var(--hub-lavender); border: 1px solid #d9cce8; border-radius: var(--hub-radius); scroll-margin-top: 24px; }
.hub-gathering-copy h2 { font-size: 41px; line-height: 1.45; font-weight: 800; letter-spacing: -1.2px; margin-top: 10px; }
.hub-gathering-copy h2 span { color: #75529c; }
.hub-gathering-copy > p { color: #655773; font-size: 13px; line-height: 2; max-width: 410px; margin-top: 16px; }
.hub-gathering-copy .hub-button { margin-top: 23px; }
.hub-steps { display: grid; gap: 14px; }
.hub-steps article { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fffefa9c; border: 1px solid #ffffffb0; border-radius: 15px; }
.hub-steps article > b { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; background: #ddd0ee; color: #715192; font-size: 14px; font-weight: 750; direction: ltr; }
.hub-steps h3 { font-size: 15px; font-weight: 750; }
.hub-steps p { margin-top: 4px; color: #776783; font-size: 11px; line-height: 1.8; }
.hub-steps article > svg { width: 22px; height: 22px; color: #a18db5; margin-inline-start: auto; }
.hub-packs-teaser { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; min-height: 324px; margin-top: 28px; padding: 36px 50px; border-radius: var(--hub-radius); background: #f7d7c7; border: 1px solid #edc8b5; overflow: hidden; }
.hub-packs-teaser .hub-kicker { color: #8d5445; }
.hub-packs-teaser h2 { font-size: 37px; font-weight: 800; letter-spacing: -.9px; margin-top: 10px; }
.hub-packs-teaser p { color: #825e56; font-size: 13px; line-height: 1.95; max-width: 440px; margin-top: 13px; }
.hub-packs-teaser .hub-text-link { color: #6e3d32; margin-top: 13px; }
.hub-pack-stack { position: relative; height: 250px; direction: ltr; }
.hub-pack-stack > div { position: absolute; top: 16px; width: 151px; height: 214px; border: 2px solid var(--hub-ink); border-radius: 15px; padding: 18px; color: var(--hub-ink); display: flex; flex-direction: column; justify-content: space-between; direction: rtl; box-shadow: 5px 7px 0 #17132917; }
.hub-pack-stack > div:nth-child(1) { left: 4%; background: #b7a3f0; transform: rotate(-14deg) translateY(14px); }
.hub-pack-stack > div:nth-child(2) { left: 28%; background: var(--hub-white); transform: rotate(-2deg); }
.hub-pack-stack > div:nth-child(3) { left: 53%; background: var(--hub-lime); transform: rotate(13deg) translateY(17px); }
.hub-pack-stack span { font-size: 11px; font-weight: 650; }
.hub-pack-stack b { font-size: 25px; font-weight: 800; line-height: 1.45; }
.hub-pack-stack i { font-size: 9px; font-weight: 650; font-style: normal; border-top: 1px solid #1713292b; padding-top: 9px; }
.hub-quick-faq { margin: 58px 0 0; }
.hub-quick-faq .hub-section-title { margin-bottom: 24px; }
.hub-quick-faq details { border-top: 1px solid var(--hub-line); }
.hub-quick-faq details:last-child { border-bottom: 1px solid var(--hub-line); }
.hub-quick-faq summary { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 15px; font-weight: 700; padding: 17px 2px; cursor: pointer; list-style: none; }
.hub-quick-faq summary::-webkit-details-marker { display: none; }
.hub-quick-faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid #d1c7db; border-radius: 50%; color: #6d548e; font-size: 20px; font-weight: 400; line-height: 1; }
.hub-quick-faq details[open] summary::after { content: "−"; background: #e8dff1; }
.hub-quick-faq details p { max-width: 870px; padding: 0 2px 22px 48px; color: var(--hub-muted); font-size: 13px; line-height: 1.95; }

/* Internal pages share the portal's rhythm and readable measure. */
.hub-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: #776786; margin-bottom: 17px; }
.hub-back:hover { color: #553b7b; }
.hub-page-intro { padding: 24px 0 31px; max-width: 850px; }
.hub-page-intro h1 { font-size: 46px; line-height: 1.4; font-weight: 850; letter-spacing: -1.3px; margin-top: 10px; }
.hub-page-intro > p { margin-top: 13px; color: var(--hub-muted); font-size: 15px; line-height: 1.95; }
.hub-local-progress { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hub-local-progress span { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 13px; border-radius: 10px; border: 1px solid #d9cfdf; background: #ece5f2; font-size: 11px; }
.hub-local-progress svg { width: 17px; height: 17px; color: #796093; }
.hub-detail-page { padding-top: 25px; }
.hub-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding-block: 15px 30px; }
.hub-detail-art { border-radius: 23px; border: 1px solid #d5cadf; overflow: hidden; }
.hub-detail-art img { width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; }
.hub-detail h1 { font-size: 40px; line-height: 1.4; font-weight: 850; letter-spacing: -1px; margin-top: 12px; }
.hub-detail-subtitle { color: #8b619a !important; font-size: 17px !important; font-weight: 650; margin-top: 9px !important; }
.hub-detail > div > p { margin-top: 14px; color: var(--hub-muted); font-size: 14px; line-height: 1.95; }
.hub-detail-facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.hub-detail-facts span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #776783; }
.hub-detail-facts svg { width: 18px; height: 18px; }
.hub-detail ul { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.hub-detail li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.7; }
.hub-detail li svg { width: 18px; height: 18px; color: #6c8950; margin-top: 2px; }
.hub-detail .hub-button { margin-inline-end: 8px; margin-bottom: 9px; font-size: 13px; }
.hub-information { padding-bottom: 72px; }
.hub-information .hub-page-intro { padding-top: 12px; }
.hub-information-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 10px 0 32px; }
.hub-information-grid > section { border: 1px solid #ded6e4; background: #fffefa; border-radius: 18px; padding: 25px; }
.hub-information-number { display: inline-block; color: #b8a7c9; font: 12px/1.5 monospace; margin-bottom: 19px; direction: ltr; }
.hub-information h2 { font-size: 20px; line-height: 1.5; font-weight: 800; margin-bottom: 13px; }
.hub-information-grid p { color: var(--hub-muted); font-size: 13px; line-height: 2; }
.hub-info-box { padding: 15px 17px; border: 1px solid #d9cce9; border-radius: 12px; background: #eee7f6; color: #665377 !important; font-size: 12px !important; line-height: 1.95; }

/* Footer and compact navigation. */
.hub-footer { background: var(--hub-ink); color: #ddd4e9; padding: 0 max(32px, calc((100vw - 1240px) / 2)); }
.hub-footer-main { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; padding: 42px 0 36px; align-items: center; }
.hub-footer-main .hub-brand { font-size: 20px; }
.hub-footer-main .hub-brand small { color: #a99abc; font-size: 10px; }
.hub-footer-main > p { color: #b5a8c7; font-size: 12px; line-height: 1.95; }
.hub-footer-main > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 3px 22px; }
.hub-footer-main > div a { display: inline-flex; align-items: center; min-height: 38px; font-size: 11px; color: #c5b8d6; }
.hub-footer-main > div a:hover { color: var(--hub-lime); }
.hub-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 75px; border-top: 1px solid #ffffff16; color: #a89ab9; font-size: 10px; }
.hub-footer-bottom button { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 7px 0; background: transparent; color: #cbbfe0; font-size: 11px; }
.hub-footer-bottom svg { width: 16px; height: 16px; }
.hub-mobile-nav,
.hub-bottom-nav { display: none; }
.hub-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80; max-width: min(520px, calc(100% - 32px)); padding: 13px 20px; border: 1px solid #ffffff25; border-radius: 13px; background: #282039; color: var(--hub-white); box-shadow: 0 8px 35px #17132933; font-size: 12px; line-height: 1.7; text-align: center; }
.hub-toast:empty { display: none; }
.hub-toast { opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.hub-toast.is-visible { opacity: 1; visibility: visible; }

/* Native dialogs retain clear focus, scrolling and close affordances. */
.hub-dialog { width: min(490px, calc(100% - 32px)); max-height: min(760px, calc(100dvh - 40px)); margin: auto; padding: 29px; border: 1px solid #d7cde1; border-radius: 23px; background: var(--hub-paper); box-shadow: 0 24px 100px #0f092447; overflow: auto; overscroll-behavior: contain; }
.hub-dialog::backdrop { background: #120d24b8; backdrop-filter: blur(5px); }
.hub-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.hub-dialog-top .hub-icon { margin: -7px; color: #7c6e89; }
.hub-dialog h2 { font-size: 27px; line-height: 1.5; font-weight: 800; letter-spacing: -.6px; }
.hub-dialog > p,
.hub-dialog form > p { color: var(--hub-muted); font-size: 12px; line-height: 1.95; margin-top: 10px; }
.hub-dialog .hub-info-box { margin-top: 18px; }
.hub-dialog > .hub-button,
.hub-dialog form > .hub-button { margin-top: 17px; }
.hub-setting { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; border-top: 1px solid var(--hub-line); font-size: 14px; font-weight: 650; }
.hub-setting:first-of-type { margin-top: 23px; }
.hub-setting small { color: var(--hub-muted); font-size: 10px; font-weight: 400; margin-top: 5px; line-height: 1.7; }
.hub-setting input { appearance: none; -webkit-appearance: none; position: relative; width: 48px; height: 28px; flex-shrink: 0; margin: 0; background: #c9c1d0; border-radius: 20px; border: 1px solid #b6abbe; cursor: pointer; direction: ltr; }
.hub-setting input::before { content: ""; position: absolute; width: 20px; height: 20px; top: 3px; left: 3px; background: #fffefa; border-radius: 50%; box-shadow: 0 2px 4px #1713291a; transition: transform .15s; }
.hub-setting input:checked { background: #473463; border-color: #473463; }
.hub-setting input:checked::before { transform: translateX(20px); background: var(--hub-lime); }
.hub-search-dialog { width: min(630px, calc(100% - 32px)); }
.hub-search-field { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 17px; border: 1px solid #d5c9df; border-radius: 13px; background: var(--hub-white); padding: 0 15px; }
.hub-search-field > svg { color: #92819e; }
.hub-search-field input { width: 100%; min-height: 54px; min-width: 0; border: 0; background: transparent; color: var(--hub-ink); font-size: 13px; padding: 11px 0; }
.hub-search-field input:focus { outline: none; }
.hub-search-field:focus-within { outline: 3px solid #a54422; outline-offset: 3px; }
.hub-search-results { display: grid; margin-top: 18px; max-height: 410px; overflow: auto; padding: 4px; }
.hub-search-results > a { display: flex; align-items: center; gap: 14px; min-height: 82px; padding: 12px 7px; border-bottom: 1px solid var(--hub-line); }
.hub-search-results > a:hover { background: #eae2f2; border-radius: 10px; }
.hub-search-results > a > img { width: 70px; height: 52px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.hub-search-results strong { font-size: 13px; font-weight: 700; line-height: 1.6; }
.hub-search-results small { font-size: 10px; color: var(--hub-muted); margin-top: 4px; }
.hub-search-results > a > svg { margin-inline-start: auto; width: 18px; height: 18px; color: #8a749e; }

/* These wrappers never alter the existing photo game's coordinate system. */
.hub-game-toolbar { width: min(1240px, calc(100% - 48px)); min-height: 66px; margin: 20px auto 0; padding: 10px 14px; border: 1px solid #d9d0e0; background: #fffefa; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-shadow: 0 4px 18px #17132906; }
.hub-game-toolbar > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hub-game-toolbar a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 650; }
.hub-game-toolbar .hub-button { min-height: 43px; padding: 8px 13px; font-size: 11px; border-radius: 10px; }
.hub-game-toolbar .hub-icon { width: 42px; height: 42px; }
.hub-game-toolbar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 13px; border: 1px solid #d7ccdf; border-radius: 10px; background: transparent; color: inherit; font-size: 11px; font-weight: 650; }
.hub-game-toolbar button:hover { background: #e9e0f1; }
.hub-game-toolbar button[aria-pressed="true"] { background: var(--hub-lime); color: var(--hub-ink); border-color: var(--hub-lime); }
.hub-new-game { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0 42px; }
body.is-game { background: var(--hub-ink); }
body.is-game .hub-game-toolbar { color: #f5f2eb; background: #2a213c; border-color: #4d3e61; }
body.is-game .hub-game-toolbar button { border-color: #ffffff29; color: #eee7f6; }
body.is-game .hub-game-toolbar button:hover { background: #493657; }
body.is-game .hub-game-toolbar button[aria-pressed="true"] { background: var(--hub-lime); color: var(--hub-ink); border-color: var(--hub-lime); }
body.is-game .hub-game-toolbar a:focus-visible,
body.is-game .hub-game-toolbar button:focus-visible { outline-color: var(--hub-lime); }
body.is-game .hub-new-game { color: var(--hub-white); background: var(--hub-ink); }
body.is-game .game-main:not(.hub-new-game) { color: var(--ink); background: var(--paper); border-radius: 18px; margin-top: 20px; margin-bottom: 30px; }
.hub-loading { min-height: 65vh; display: grid; align-content: center; justify-items: center; gap: 16px; text-align: center; padding: 55px 24px; }
.hub-loading h1 { font-size: 30px; }
.hub-loading p { color: var(--hub-muted); font-size: 14px; line-height: 1.9; }
.gathering-mode .hub-header,
.gathering-mode .hub-footer,
.gathering-mode .hub-mobile-nav,
.gathering-mode .hub-bottom-nav { display: none; }
.gathering-mode .hub-game-toolbar { width: min(1600px, calc(100% - 36px)); position: sticky; top: 10px; margin-top: 10px; z-index: 30; border-color: #b6a6ca; box-shadow: 0 6px 20px #17132919; }
.gathering-mode .hub-new-game,
.gathering-mode .hub-main { width: min(1600px, calc(100% - 36px)); }
.gathering-mode #main { max-width: 1600px; }
.gathering-mode .hub-toast { bottom: 18px; }

@media (min-width: 1600px) {
  .hub-header-inner { min-height: 94px; }
  .hub-hero { min-height: 530px; }
}
@media (max-width: 1120px) {
  .hub-header-inner { gap: 18px; }
  .hub-nav { gap: 20px; }
  .hub-library-link { padding-inline: 11px; }
  .hub-hero { padding: 38px 35px 46px; min-height: 495px; }
  .hub-hero h1 { font-size: 65px; }
  .hub-hero-copy > p { font-size: 14px; }
  .hub-hero-facts { gap: 12px; }
  .hub-hero-facts > span { font-size: 9px; }
  .hub-hero-art > img { width: calc(100% + 42px); margin-inline-start: -20px; }
  .hub-art-label { left: -3px; bottom: -3px; padding: 10px 12px; font-size: 11px; }
  .hub-art-label small { font-size: 9px; }
  .hub-hero-buttons .hub-button { padding-inline: 18px; font-size: 12px; gap: 12px; }
  .hub-card-copy { padding-inline: 20px; }
  .hub-card-copy h3 { font-size: 21px; }
  .hub-card-meta { gap: 9px; }
  .hub-card-meta span { font-size: 9px; }
  .hub-gathering { gap: 35px; padding: 37px; }
  .hub-gathering-copy h2 { font-size: 36px; }
  .hub-steps article { padding: 17px; gap: 12px; }
  .hub-packs-teaser { padding-inline: 37px; }
  .hub-pack-stack > div { width: 135px; height: 205px; padding: 16px; }
  .hub-pack-stack b { font-size: 23px; }
}
@media (max-width: 960px) {
  .hub-main,
  .hub-header-inner { width: calc(100% - 44px); }
  .hub-header-inner { min-height: 80px; }
  .hub-nav { gap: 17px; }
  .hub-nav a { font-size: 11px; }
  .hub-nav a:nth-child(3) { display: none; }
  .hub-brand { font-size: 19px; gap: 8px; }
  .hub-brand img { width: 39px; height: 39px; }
  .hub-library-link span { display: none; }
  .hub-library-link { width: 42px; height: 42px; padding: 10px; justify-content: center; margin-inline-start: 0; }
  .hub-hero { gap: 0; padding: 34px 31px 45px; min-height: 460px; }
  .hub-hero h1 { font-size: 58px; letter-spacing: -1.9px; }
  .hub-hero h1 i { font-size: 29px; margin-inline-start: 10px; }
  .hub-hero-copy > p { font-size: 12px; }
  .hub-hero-label { font-size: 10px; }
  .hub-hero-buttons { gap: 9px; margin-top: 22px; }
  .hub-hero-buttons .hub-button { min-height: 49px; font-size: 11px; padding-inline: 15px; gap: 9px; }
  .hub-hero-facts { margin-top: 22px; gap: 9px 12px; }
  .hub-hero-facts svg { width: 13px; height: 13px; }
  .hub-hero-art > img { width: calc(100% + 44px); margin-inline-start: -21px; }
  .hub-floating-label { top: -5px; right: 0; font-size: 9px; padding: 8px 10px; }
  .hub-art-label { font-size: 10px; bottom: -9px; left: 0; }
  .hub-art-label small { font-size: 8px; }
  .hub-ticker { padding-inline: 8px; gap: 16px; min-height: 72px; }
  .hub-ticker span { gap: 7px; font-size: 10px; }
  .hub-ticker span:last-child { display: none; }
  .hub-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
  .hub-card-image { height: 225px; }
  .hub-card-copy h3 { font-size: 23px; }
  .hub-card-copy > p { font-size: 12px; }
  .hub-card-meta span { font-size: 10px; }
  .hub-filter-row { flex-wrap: wrap; gap: 8px; }
  .hub-filters { flex: 1; }
  .hub-filters button { padding-inline: 12px; }
  .hub-gathering { gap: 25px; padding: 31px; }
  .hub-gathering-copy h2 { font-size: 31px; }
  .hub-gathering-copy > p { font-size: 12px; }
  .hub-steps article { padding: 14px; gap: 10px; }
  .hub-steps article > b { width: 35px; height: 35px; border-radius: 9px; font-size: 12px; }
  .hub-steps h3 { font-size: 13px; }
  .hub-steps p { font-size: 10px; }
  .hub-steps article > svg { display: none; }
  .hub-packs-teaser { padding-inline: 31px; min-height: 310px; }
  .hub-packs-teaser h2 { font-size: 31px; }
  .hub-packs-teaser p { font-size: 12px; }
  .hub-pack-stack > div { width: 112px; height: 185px; padding: 13px; top: 27px; }
  .hub-pack-stack b { font-size: 20px; }
  .hub-pack-stack > div:nth-child(1) { left: 1%; }
  .hub-pack-stack > div:nth-child(2) { left: 27%; }
  .hub-pack-stack > div:nth-child(3) { left: 53%; }
  .hub-footer { padding-inline: 22px; }
  .hub-footer-main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hub-footer-main > div { grid-column: 1 / -1; justify-content: flex-start; }
  .hub-footer-bottom { gap: 14px; font-size: 9px; }
  .hub-detail { gap: 30px; }
  .hub-detail h1 { font-size: 32px; }
  .hub-detail ul { grid-template-columns: 1fr; gap: 9px; }
  .hub-information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hub-main { width: calc(100% - 32px); padding: 17px 0 40px; }
  .hub-header-inner { width: calc(100% - 32px); min-height: 75px; gap: 10px; }
  .hub-brand { font-size: 18px; gap: 8px; }
  .hub-brand img { width: 37px; height: 37px; }
  .hub-brand small { font-size: 9px; }
  .hub-nav { display: none; }
  .hub-actions { gap: 0; }
  .hub-actions .hub-icon { width: 42px; height: 44px; padding-inline: 10px; }
  .hub-actions .hub-library-link { display: none; }
  .hub-hero { display: flex; flex-direction: column; align-items: stretch; padding: 30px 26px 38px; border-radius: 22px; min-height: 0; gap: 0; }
  .hub-hero-copy { padding: 0; }
  .hub-hero-label { font-size: 10px; }
  .hub-hero h1 { font-size: 46px; letter-spacing: -1.4px; line-height: 1.28; margin-top: 13px; margin-bottom: 13px; }
  .hub-hero h1 i { font-size: 29px; vertical-align: 12%; margin-inline-start: 13px; }
  .hub-hero-copy > p { font-size: 12px; line-height: 1.95; max-width: 390px; }
  .hub-hero-buttons { gap: 9px; margin-top: 20px; flex-wrap: nowrap; }
  .hub-hero-buttons .hub-button { min-height: 49px; padding: 12px 14px; font-size: 11px; gap: 10px; }
  .hub-hero-buttons svg { width: 18px; height: 18px; }
  .hub-hero-facts { gap: 9px 15px; margin-top: 21px; }
  .hub-hero-facts > span { font-size: 9px; }
  .hub-hero-facts svg { width: 14px; height: 14px; }
  .hub-hero-art { width: min(100%, 420px); margin: 14px auto -2px; }
  .hub-hero-art > img { width: calc(100% + 18px); margin: -6px 0 -19px -9px; }
  .hub-orbit { width: 85%; height: 78%; top: 8%; left: 8%; }
  .hub-art-label { bottom: 6px; left: -5px; padding: 10px 12px; font-size: 10px; }
  .hub-art-label small { font-size: 8px; }
  .hub-floating-label { top: 27px; right: -4px; font-size: 9px; padding: 8px 10px; }
  .hub-hero-index { font-size: 6px; letter-spacing: 1.6px; bottom: 13px; left: 23px; }
  .hub-hero::before { width: 310px; height: 310px; top: auto; bottom: 24px; inset-inline-end: -12px; }
  .hub-ticker { flex-wrap: wrap; justify-content: center; gap: 13px 22px; min-height: 84px; padding: 18px 0; }
  .hub-ticker span { font-size: 9px; gap: 6px; }
  .hub-ticker svg { width: 15px; height: 15px; }
  .hub-ticker span:last-child { display: flex; }
  .hub-library { padding-top: 30px; }
  .hub-section-title { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hub-section-title h2 { font-size: 29px; letter-spacing: -.6px; margin-top: 4px; }
  .hub-kicker { font-size: 10px; }
  .hub-section-note { font-size: 10px; padding-bottom: 0; }
  .hub-filter-row { margin: 19px 0; gap: 7px; }
  .hub-filters { gap: 4px; width: 100%; padding: 4px; }
  .hub-filters button { min-height: 40px; padding-inline: 11px; font-size: 10px; }
  .hub-filter-row > .hub-text-button { font-size: 10px; min-height: 39px; }
  .hub-games-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .hub-game-card { border-radius: 18px; }
  .hub-card-image { height: auto; aspect-ratio: 1.65; max-height: 300px; }
  .hub-card-image img { object-fit: cover; }
  .hub-card-copy { padding: 21px 23px 0; }
  .hub-card-copy h3 { margin-top: 6px; font-size: 24px; min-height: 0; }
  .hub-card-copy > p { font-size: 12px; margin-top: 8px; }
  .hub-card-meta { gap: 16px; padding-top: 17px; padding-bottom: 17px; }
  .hub-card-meta span { font-size: 10px; }
  .hub-card-cta { min-height: 56px; font-size: 12px; }
  .hub-card-badge { font-size: 9px; top: 13px; right: 13px; }
  .hub-filter-status { font-size: 10px; }
  .hub-gathering { grid-template-columns: 1fr; gap: 27px; padding: 28px 24px; margin-top: 31px; border-radius: 20px; }
  .hub-gathering-copy h2 { font-size: 33px; letter-spacing: -.7px; line-height: 1.4; }
  .hub-gathering-copy > p { font-size: 12px; margin-top: 14px; }
  .hub-gathering-copy .hub-button { margin-top: 20px; min-height: 49px; font-size: 12px; }
  .hub-steps { gap: 10px; }
  .hub-steps article { padding: 16px 14px; gap: 12px; }
  .hub-steps h3 { font-size: 13px; }
  .hub-steps p { font-size: 10px; }
  .hub-steps article > svg { display: block; width: 19px; height: 19px; }
  .hub-packs-teaser { grid-template-columns: 1fr; gap: 9px; margin-top: 20px; padding: 29px 24px 16px; border-radius: 20px; }
  .hub-packs-teaser h2 { font-size: 31px; }
  .hub-packs-teaser p { font-size: 12px; }
  .hub-packs-teaser .hub-text-link { font-size: 11px; }
  .hub-pack-stack { width: min(360px, 100%); height: 239px; margin: 0 auto; }
  .hub-pack-stack > div { width: 121px; height: 180px; top: 20px; padding: 14px; }
  .hub-pack-stack b { font-size: 21px; }
  .hub-pack-stack span { font-size: 10px; }
  .hub-pack-stack i { font-size: 8px; }
  .hub-quick-faq { margin-top: 35px; }
  .hub-quick-faq .hub-section-title { gap: 6px; margin-bottom: 15px; }
  .hub-quick-faq .hub-section-title .hub-text-link { font-size: 11px; min-height: 33px; }
  .hub-quick-faq summary { min-height: 68px; font-size: 13px; gap: 14px; }
  .hub-quick-faq details p { font-size: 12px; padding-inline-end: 26px; }
  .hub-footer { padding-inline: 23px; padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .hub-footer-main { padding: 30px 0 24px; grid-template-columns: 1fr; gap: 19px; }
  .hub-footer-main .hub-brand { font-size: 19px; }
  .hub-footer-main > p { font-size: 11px; }
  .hub-footer-main > div { gap: 0 24px; }
  .hub-footer-main > div a { font-size: 10px; }
  .hub-footer-bottom { flex-wrap: wrap; min-height: 0; padding-top: 18px; gap: 10px 20px; font-size: 9px; }
  .hub-footer-bottom > span:nth-child(2) { order: 3; width: 100%; line-height: 1.8; }
  .hub-footer-bottom button { font-size: 10px; min-height: 38px; margin-inline-start: auto; }
  .hub-mobile-nav,
  .hub-bottom-nav { position: fixed; z-index: 45; bottom: 0; left: 0; right: 0; display: flex; align-items: stretch; justify-content: space-around; min-height: 66px; padding: 6px 11px calc(6px + env(safe-area-inset-bottom, 0px)); background: #fffefaf7; border-top: 1px solid #d9cfdf; box-shadow: 0 -6px 22px #21153308; backdrop-filter: blur(12px); }
  .hub-mobile-nav a,
  .hub-mobile-nav button,
  .hub-bottom-nav a,
  .hub-bottom-nav button { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 52px; padding: 5px 4px; border-radius: 10px; color: #8b7d98; background: transparent; font-size: 9px; font-weight: 650; }
  .hub-mobile-nav svg,
  .hub-bottom-nav svg { width: 20px; height: 20px; }
  .hub-mobile-nav [aria-current="page"],
  .hub-mobile-nav .is-active,
  .hub-bottom-nav [aria-current="page"],
  .hub-bottom-nav .is-active { background: #eee6f5; color: #584172; }
  .hub-toast { bottom: calc(81px + env(safe-area-inset-bottom, 0px)); font-size: 11px; width: max-content; max-width: calc(100% - 32px); padding: 12px 17px; }
  .hub-page-intro { padding-top: 19px; padding-bottom: 23px; }
  .hub-page-intro h1 { font-size: 33px; line-height: 1.4; letter-spacing: -.7px; margin-top: 9px; }
  .hub-page-intro > p { font-size: 12px; }
  .hub-local-progress { gap: 8px; margin-top: 18px; }
  .hub-local-progress span { font-size: 10px; min-height: 40px; padding: 8px 11px; }
  .hub-back { font-size: 11px; margin-bottom: 10px; }
  .hub-detail { display: flex; flex-direction: column; align-items: stretch; gap: 27px; padding-top: 4px; }
  .hub-detail-art { border-radius: 19px; }
  .hub-detail-art img { aspect-ratio: 1.45; }
  .hub-detail h1 { font-size: 31px; line-height: 1.45; margin-top: 9px; }
  .hub-detail-subtitle { font-size: 15px !important; }
  .hub-detail > div > p { font-size: 12px; }
  .hub-detail-facts { gap: 19px; margin-top: 18px; }
  .hub-detail-facts span { font-size: 11px; }
  .hub-detail ul { grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 20px; }
  .hub-detail li { font-size: 10px; gap: 6px; }
  .hub-detail li svg { width: 15px; height: 15px; }
  .hub-detail .hub-button { font-size: 12px; min-height: 49px; padding-inline: 17px; gap: 11px; }
  .hub-information-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 5px; }
  .hub-information-grid > section { padding: 23px; border-radius: 16px; }
  .hub-information-number { margin-bottom: 12px; font-size: 10px; }
  .hub-information h2 { font-size: 20px; margin-bottom: 11px; }
  .hub-information-grid p { font-size: 12px; }
  .hub-dialog { padding: 23px; border-radius: 20px; max-height: calc(100dvh - 28px); }
  .hub-dialog h2 { font-size: 24px; }
  .hub-dialog > p,
  .hub-dialog form > p { font-size: 11px; }
  .hub-dialog .hub-button { min-height: 49px; font-size: 12px; }
  .hub-setting { font-size: 12px; gap: 16px; padding-block: 21px; }
  .hub-setting small { font-size: 9px; }
  .hub-search-dialog { padding: 21px; }
  .hub-search-field { padding-inline: 12px; }
  .hub-search-field input { min-height: 51px; font-size: 11px; }
  .hub-search-results > a { gap: 10px; padding-inline: 2px; }
  .hub-search-results strong { font-size: 11px; }
  .hub-search-results small { font-size: 9px; }
  .hub-search-results > a > img { width: 62px; height: 48px; }
  .hub-game-toolbar { width: calc(100% - 26px); min-height: 62px; margin-top: 13px; padding: 8px 10px; gap: 8px; border-radius: 13px; }
  .hub-game-toolbar > div { gap: 5px; }
  .hub-game-toolbar a { font-size: 10px; gap: 5px; }
  .hub-game-toolbar .hub-button { font-size: 10px; padding: 8px 10px; min-height: 44px; gap: 6px; }
  .hub-game-toolbar .hub-icon { width: 38px; padding-inline: 8px; }
  .hub-game-toolbar button { font-size: 10px; padding-inline: 9px; gap: 6px; }
  .hub-game-toolbar svg { width: 17px; height: 17px; }
  .hub-new-game { width: calc(100% - 26px); padding-top: 15px; padding-bottom: 85px; }
  .gathering-mode .hub-game-toolbar { width: calc(100% - 20px); top: 7px; margin-top: 7px; }
  .gathering-mode .hub-new-game,
  .gathering-mode .hub-main { width: calc(100% - 20px); }
}
@media (max-width: 370px) {
  .hub-main { width: calc(100% - 24px); }
  .hub-header-inner { width: calc(100% - 24px); }
  .hub-brand { font-size: 16px; gap: 6px; }
  .hub-brand img { width: 35px; height: 35px; }
  .hub-actions .hub-icon { width: 39px; padding-inline: 9px; }
  .hub-hero { padding-inline: 20px; }
  .hub-hero h1 { font-size: 43px; }
  .hub-hero-copy > p { font-size: 11px; }
  .hub-hero-buttons .hub-button { padding-inline: 11px; font-size: 10px; gap: 6px; }
  .hub-hero-facts { gap: 9px 11px; }
  .hub-hero-facts > span { font-size: 8px; }
  .hub-art-label { left: -7px; padding: 9px; font-size: 9px; }
  .hub-art-label small { font-size: 7px; }
  .hub-floating-label { font-size: 8px; right: -6px; }
  .hub-ticker { gap: 13px 17px; }
  .hub-ticker span { font-size: 8px; }
  .hub-section-title h2 { font-size: 27px; }
  .hub-filters button { font-size: 9px; padding-inline: 9px; }
  .hub-card-copy { padding-inline: 20px; }
  .hub-card-copy h3 { font-size: 22px; }
  .hub-gathering,
  .hub-packs-teaser { padding-inline: 20px; }
  .hub-gathering-copy h2 { font-size: 29px; }
  .hub-steps article > svg { display: none; }
  .hub-pack-stack > div { width: 102px; height: 171px; padding: 12px; }
  .hub-pack-stack b { font-size: 19px; }
  .hub-detail ul { grid-template-columns: 1fr; }
  .hub-detail .hub-button { display: flex; width: 100%; margin-inline-end: 0; }
  .hub-dialog { padding: 20px; }
  .hub-game-toolbar { flex-wrap: wrap; gap: 4px 10px; }
  .hub-game-toolbar > div { margin-inline-start: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-main *,
  .hub-main *::before,
  .hub-main *::after,
  .hub-header *,
  .hub-dialog *,
  .hub-footer * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Local Arabic type: expressive display lettering with a calm geometric reading face. */
:root{font-family:"Alexandria",Tahoma,Arial,sans-serif}
.hub-brand>span{display:block;white-space:nowrap;font-family:"Marhey",Tahoma,sans-serif;font-weight:700;letter-spacing:0}
.hub-brand small{display:block;font-family:"Alexandria",Tahoma,sans-serif;font-weight:400;letter-spacing:0}
.hub-hero h1,.hub-section-title h2,.hub-gathering-copy h2,.hub-packs-teaser h2,.hub-page-intro h1,.hub-detail h1,.aq-heading h1,.wk-heading h1{font-family:"Marhey",Tahoma,sans-serif;font-weight:650;letter-spacing:0;line-height:1.5}
.hub-hero h1{font-size:68px;position:relative;padding-block:3px;line-height:1.5}
.hub-hero h1 i{position:absolute;inset-inline-end:0;bottom:18%;margin:0;font-size:30px}
.hub-section-title h2{font-size:33px}
.hub-card-copy h3{font-weight:700;letter-spacing:0;font-size:21px;line-height:1.75}
.hub-card-copy>p{font-size:13px;font-weight:400;line-height:2}
.hub-button,.hub-filters button,.hub-card-cta{font-weight:600;letter-spacing:0}
.hub-hero-copy>p{font-size:14px;line-height:2.1}
.hub-main .hub-kicker{font-weight:500}
@media(max-width:1120px){.hub-hero h1{font-size:59px}}
@media(max-width:960px){.hub-hero h1{font-size:53px}.hub-brand{font-size:19px}.hub-card-copy h3{font-size:20px}}
@media(max-width:680px){.hub-hero h1{font-size:42px;line-height:1.5;margin-block:10px}.hub-hero h1 i{display:none}.hub-hero-copy>p{font-size:12px;line-height:2.05}.hub-section-title h2{font-size:28px}.hub-card-copy h3{font-size:22px}.hub-card-copy>p{font-size:13px}.hub-hero-buttons{gap:8px}.hub-hero-buttons .hub-button{font-size:11px;padding-inline:14px;gap:10px}.hub-brand{font-size:17px}.hub-brand small{font-size:8px}.hub-gathering-copy h2{font-size:30px}.hub-page-intro h1,.hub-detail h1{font-size:30px}}
@media(max-width:370px){.hub-hero h1{font-size:37px}.hub-brand{font-size:15px}.hub-hero-buttons .hub-button{padding-inline:11px;font-size:10px}.hub-filters button{font-size:10px}}

.hub-coming-ideas{margin-block:22px 34px;border:1px solid #ddd5e3;border-radius:18px;background:#f9f7f2;padding:18px 22px}
.hub-coming-ideas>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;min-height:36px;font-weight:650}
.hub-coming-ideas>summary small{color:var(--hub-muted);font-size:11px;font-weight:400;line-height:1.8}
.hub-coming-ideas[open]>.hub-games-grid{margin-top:22px}
.hub-library-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-block:10px 25px}
.hub-library-progress>article{min-width:0;padding:24px;border:1px solid #ded6e4;border-radius:18px;background:var(--hub-white)}
.hub-library-progress strong{display:block;margin-block:11px;font-size:18px;line-height:1.7}
.hub-library-progress p{font-size:12px;line-height:1.9;color:var(--hub-muted);margin-bottom:14px}
.hub-library-purchases{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#e9e1f7;padding:17px 24px;border:1px solid #d8c9ee;border-radius:16px;font-size:12px}
.hub-library-purchases strong{margin:0;font-size:16px}.hub-library-purchases small{display:block;color:var(--hub-muted);margin-top:5px;line-height:1.8}
.hub-policy-note{background:#f5e9d1;border:1px solid #e5d4ad;border-radius:14px;padding:15px 20px;margin-bottom:22px;font-size:12px;line-height:1.9;color:#70552a}
.hub-policy-links{display:flex;flex-wrap:wrap;align-items:center;gap:14px 23px;margin-block:24px;font-size:12px;text-decoration:underline;text-underline-offset:5px}
.hub-policy-links .hub-button{text-decoration:none}
@media(max-width:760px){.hub-library-progress{grid-template-columns:1fr}.hub-coming-ideas>summary,.hub-library-purchases{align-items:flex-start;flex-direction:column;gap:7px}.hub-library-progress>article{padding:21px}.hub-coming-ideas{padding:16px}.hub-policy-links{gap:15px}}

/* Familiar family games. Scoped presentation keeps the original library intact. */
.hub-classics{padding:68px 0 26px;scroll-margin-top:24px}.hub-classics-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:30px}.hub-classics-heading h2{font-family:Marhey,Alexandria,Tahoma,sans-serif;font-size:clamp(34px,4.8vw,62px);line-height:1.5;margin:10px 0 18px;color:#171329}.hub-classics-heading em{font-style:normal;color:#7552a0}.hub-classics-heading p{max-width:650px;line-height:2;font-size:13px;color:#686273}.hub-classics-stamp{flex:none;display:flex;align-items:center;gap:18px;padding:25px 30px;border:1px solid #c8b6de;background:#eee6f8;border-radius:50%;transform:rotate(-7deg)}.hub-classics-stamp b{font-size:72px;font-family:Marhey,Tahoma,sans-serif}.hub-classics-stamp span{font-size:11px;line-height:2}.hub-classics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.hub-classic-card{border:1px solid #ddd8df;border-radius:18px;overflow:hidden;background:#fffefa;transition:transform .2s}.hub-classic-card:hover{transform:translateY(-3px)}.hub-classic-art{display:block;position:relative;height:190px;overflow:hidden}.hub-classic-art img{width:100%;height:100%;object-fit:cover}.hub-classic-art>span{position:absolute;inset-inline-start:15px;top:13px;font:12px/1.8 Alexandria,sans-serif;background:#fffefa;border:1px solid #171329;padding:3px 10px;border-radius:30px;z-index:1}.hub-classic-copy{padding:22px}.hub-classic-copy h3{font-family:Marhey,Tahoma,sans-serif;font-size:24px;line-height:1.7;margin:0}.hub-classic-copy p{font-size:12px;color:#686273;line-height:1.9;margin:8px 0 18px}.hub-classic-copy>div{display:flex;align-items:center;justify-content:space-between}.hub-classic-copy .hub-favorite{position:static;width:40px;height:40px;border:1px solid #ddd8df;background:transparent;color:#171329}.hub-classic-copy .hub-favorite.is-saved{background:#eee6f8;color:#7552a0}.hub-classics-note{font-size:11px;line-height:2;color:#686273;margin-top:23px}@media(max-width:1000px){.hub-nav{gap:16px}.hub-nav a{font-size:11px}.hub-classics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.hub-classics{padding-top:40px}.hub-classics-heading{align-items:flex-start;gap:12px}.hub-classics-stamp{padding:12px;gap:8px}.hub-classics-stamp b{font-size:42px}.hub-classics-stamp span{font-size:9px}.hub-classics-grid{grid-template-columns:1fr;gap:18px}.hub-classic-art{height:175px}.hub-classic-copy{padding:18px}.hub-classics-heading h2{font-size:34px}.hub-classics-heading p{font-size:12px}}@media(prefers-reduced-motion:reduce){.hub-classic-card{transition:none}}

.hub-tournament-promo{display:flex;justify-content:space-between;align-items:center;gap:25px;border-radius:22px;background:#21192f;color:#fffefa;padding:30px 36px;margin:30px 0 17px}.hub-tournament-promo h3{font:38px/1.7 Marhey,Tahoma,sans-serif;margin:4px 0 9px}.hub-tournament-promo p{max-width:650px;font-size:12px;line-height:2;color:#d1c7df;margin-bottom:19px}.hub-tournament-promo svg{width:155px;flex:none}.hub-majlis-offer{display:flex;justify-content:space-between;align-items:center;gap:24px;border:1px solid #d6c5e8;border-radius:16px;background:#eee6f8;padding:24px;margin-bottom:30px}.hub-majlis-offer strong{font-size:15px}.hub-majlis-offer p{font-size:11px;line-height:1.9;margin-top:8px;color:#686273}.hub-classic-access{display:inline-block;color:#654b83;background:#eee7f6;border-radius:20px;padding:4px 10px;font-size:10px;line-height:1.8;margin-bottom:17px}.cm-root [data-cm-product][aria-current]{background:#eee6f8;border-color:#7851a7;color:#503670}@media(max-width:700px){.hub-tournament-promo{padding:23px;gap:12px}.hub-tournament-promo svg{width:83px}.hub-tournament-promo h3{font-size:29px}.hub-tournament-promo p{font-size:11px}.hub-majlis-offer{align-items:stretch;flex-direction:column;gap:14px;padding:21px}.hub-majlis-offer .hub-button{width:100%}}@media(max-width:380px){.hub-tournament-promo svg{display:none}}
:root .hub-renewal-reminders[hidden]{display:none}
.hub-renewal-reminders{max-width:1240px;margin:12px auto 0;padding:0 30px;box-sizing:border-box}
.hub-renewal-notice{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:18px;align-items:center;padding:20px 22px;border:1px solid #d8bf79;border-radius:18px;background:#fff5d8;color:#34264c;margin-bottom:12px}
.hub-renewal-notice strong{font-size:14px;line-height:1.9}.hub-renewal-notice p{font-size:12px;line-height:1.9;margin:5px 0 0}.hub-renewal-notice .hub-renewal-note{color:#6c5b39;font-size:11px}.hub-renewal-notice .hub-button{min-height:44px;font-size:12px;white-space:nowrap}.hub-renewal-dismiss{width:44px;height:44px;border:1px solid #d8bf79;border-radius:50%;background:transparent;color:#49375b;font-size:24px;cursor:pointer}.hub-renewal-dismiss:focus-visible{outline:3px solid #7851a7;outline-offset:3px}
@media(max-width:760px){.hub-renewal-reminders{padding:0 16px}.hub-renewal-notice{grid-template-columns:minmax(0,1fr) 44px;padding:16px;gap:12px}.hub-renewal-notice>div{grid-column:1}.hub-renewal-notice>.hub-button{grid-column:1/-1;grid-row:2;white-space:normal}.hub-renewal-dismiss{grid-column:2;grid-row:1;align-self:start}}

.hub-domain-note{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:18px;width:min(1240px,calc(100% - 64px));margin:18px auto 0;padding:17px 21px;border:1px solid #d4c4e1;border-radius:15px;background:#eee6f8;color:#21192f;font-family:Alexandria,Tahoma,sans-serif}.hub-domain-note strong{font-size:13px}.hub-domain-note p{font-size:11px;line-height:1.9;margin:6px 0 0;color:#685773}.hub-domain-note>div:last-child{display:flex;gap:12px;flex-wrap:wrap;flex:none}.hub-domain-note a{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;border:1px solid #c2afd4;border-radius:10px;color:#4f326b;font-size:11px;text-decoration:none}.hub-domain-note a:focus-visible{outline:3px solid #785497;outline-offset:3px}@media(max-width:760px){.hub-domain-note{width:calc(100% - 32px);flex-direction:column;align-items:stretch;padding:16px;gap:10px}.hub-domain-note>div:last-child{flex-wrap:wrap}}
