@font-face {
  font-family: Alexandria;
  src: url('./fonts/Alexandria.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #1C2651;
  --paper: #E1D3BC;
  --paper-light: #F0E6D2;
  --red: #E9233D;
  --red-deep: #B01430;
  --blue: #179FD8;
  --blue-deep: #0E6C9E;
  --ink: var(--navy);
  --muted: #49516D;
  --line: #C8BCA8;
  --font: Alexandria, Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 450 14px/1.9 var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; border: 0; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 22px; height: 22px; flex: none; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 750; letter-spacing: -.055em; }
h2 { font-size: clamp(28px, 3.2vw, 43px); line-height: 1.65; }
.header-inner, .hero, .how, .section-inner, .install-panel, .footer-inner { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; right: 15px; transform: translateY(-160%); z-index: 99; background: white; color: var(--navy); padding: 10px 18px; border-radius: 10px; }
.skip:focus { transform: none; }
.site-header { background: var(--navy); color: var(--paper-light); }
.header-inner { height: 96px; display: flex; align-items: center; gap: 44px; border-bottom: 1px solid #E1D3BC33; }
.wordmark { display: flex; align-items: center; gap: 12px; flex: none; }
.wordmark img { border-radius: 14px; }
.wordmark b { font-size: 28px; line-height: 1.15; font-weight: 750; letter-spacing: -.04em; }
.wordmark span { display: block; font-size: 8px; letter-spacing: .28em; margin-top: 7px; font-weight: 500; color: var(--paper); }
.header-owner { flex: none; margin: 0; font-size: 11px; line-height: 1.5; color: var(--paper); white-space: nowrap; }
.header-owner bdi { font-weight: 650; }
.site-header nav { display: flex; gap: 32px; margin-inline: auto; font-size: 12px; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-header :focus-visible, .hero-shell :focus-visible, .site-footer :focus-visible { outline-color: var(--paper-light); }
.button { min-height: 55px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 24px; border: 2px solid transparent; border-radius: 14px; font-size: 12px; font-weight: 600; line-height: 1.6; transition: transform .2s, box-shadow .2s, background .2s; }
.button small { display: block; font-size: 9px; font-weight: 450; margin-top: 3px; }
.button-primary { color: var(--navy); background: var(--paper-light); border-color: var(--paper-light); box-shadow: 0 5px 0 #101936; }
.button-primary svg { width: 26px; height: 26px; }
.button-primary:hover { background: white; transform: translateY(-3px); box-shadow: 0 8px 0 #101936; }
.button-outline { border-color: #E1D3BC88; color: var(--paper-light); background: transparent; }
.button-outline:hover { background: #E1D3BC16; transform: translateY(-2px); }
.button-quiet { background: var(--blue); color: var(--navy); border-color: var(--blue); min-height: 44px; padding: 10px 17px; font-size: 11px; box-shadow: 0 3px 0 #0D183C; }
.button-quiet svg { width: 18px; height: 18px; }
.hero-shell { background: var(--navy); color: var(--paper-light); overflow: clip; }
.hero { min-height: 660px; display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 35px; padding-block: 45px 68px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .01em; color: var(--red-deep); display: flex; gap: 10px; align-items: center; }
.hero .eyebrow { color: var(--paper); }
.eyebrow i { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px #179FD826; }
.hero h1 { font-size: clamp(52px, 5.5vw, 82px); line-height: 1.5; margin-block: 20px 24px; }
.hero h1 em { display: inline-block; font-style: normal; color: var(--paper-light); background: var(--red); padding: 0 .12em .07em; border-radius: 15px 7px 17px 7px; line-height: 1.25; transform: rotate(-3deg); box-shadow: 6px 6px 0 #101936; }
.hero-copy > p { font-size: 15px; color: var(--paper); line-height: 2.1; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { display: flex; gap: 16px; align-items: center; margin-top: 31px; font-size: 10px; color: var(--paper); }
.hero-note b { font-size: 18px; font-weight: 650; padding: 7px 13px; border: 1px solid #179FD8AA; border-radius: 10px; color: var(--paper-light); background: #179FD81A; }
.hero-art { position: relative; min-height: 500px; direction: ltr; }
.hero-table { position: absolute; width: 87%; aspect-ratio: 1; left: 6.5%; top: 4%; border-radius: 50%; background: var(--blue); border: 1px solid #54C0EE; box-shadow: inset 0 0 0 18px #179FD8, inset 0 0 0 20px #1C265133, 0 16px 0 #0D183C; }
.hero-table::after { content: ''; position: absolute; inset: 37px; border: 2px dashed #1C26514D; border-radius: 50%; }
.table-mark { position: absolute; z-index: 4; right: 3%; top: 3%; font-family: Georgia, serif; font-size: 82px; line-height: 1; color: var(--red); transform: rotate(12deg); text-shadow: 3px 3px 0 var(--paper-light); }
.fan { position: absolute; width: 53%; aspect-ratio: 1; object-fit: cover; border-radius: 23px; border: 5px solid var(--paper-light); box-shadow: 0 15px 0 #10193655, 0 24px 38px #10193666; transition: transform .45s; }
.fan-one { top: 17%; left: 0; transform: rotate(-15deg); z-index: 1; }
.fan-two { top: 1%; left: 34%; transform: rotate(12deg); z-index: 2; }
.fan-three { top: 39%; left: 28%; transform: rotate(-4deg); z-index: 3; }
.hero-art:hover .fan-one { transform: translateY(-6px) rotate(-19deg); }
.hero-art:hover .fan-two { transform: translateY(-7px) rotate(8deg); }
.hero-art:hover .fan-three { transform: translateY(4px) rotate(-7deg); }
.hero-stamp { position: absolute; right: 0; bottom: 4%; z-index: 4; font-size: 11px; line-height: 1.9; background: var(--paper-light); color: var(--navy); border: 3px solid var(--navy); border-radius: 14px; box-shadow: 4px 5px 0 var(--red); padding: 14px 18px; transform: rotate(7deg); direction: rtl; }
.hero-stamp b { font-weight: 750; }
.party-line { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 66px); padding: 15px 24px 19px; background: var(--red); color: var(--paper-light); font-size: clamp(19px, 2vw, 25px); font-weight: 750; line-height: 1.5; }
.party-line i { font: normal 24px/1 Georgia, serif; color: var(--navy); }
.party-line b { font-weight: 800; }
.how { padding-block: 65px; display: grid; grid-template-columns: .85fr 2fr; gap: 45px; align-items: center; }
.how h2 { font-size: 28px; margin-top: 11px; }
.how ol { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.how li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--red-deep); color: white; font-size: 13px; font-weight: 650; margin-bottom: 16px; box-shadow: 3px 4px 0 #1C26511A; }
.how li:nth-child(2) > span { background: var(--blue); color: var(--navy); transform: rotate(5deg); }
.how li:nth-child(3) > span { background: var(--navy); transform: rotate(-5deg); }
.how li > b { font-size: 14px; font-weight: 700; }
.how li > p { color: var(--muted); font-size: 11px; margin-top: 8px; line-height: 2; }
.library { padding-block: 70px 80px; background: var(--paper-light); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 11px; }
.section-heading > p { font-size: 11px; color: var(--muted); line-height: 2.1; }
.library-tools { display: flex; align-items: center; gap: 22px; justify-content: space-between; padding: 15px; border: 1px solid #1C265133; border-radius: 17px; background: var(--paper); }
.game-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.game-filters button { background: transparent; color: var(--navy); padding: 10px 14px; border: 1px solid transparent; border-radius: 11px; font-size: 10px; font-weight: 600; min-height: 43px; }
.game-filters button:hover { background: #F0E6D2; }
.game-filters button[aria-pressed=true] { background: var(--navy); color: var(--paper-light); border-color: var(--navy); box-shadow: 0 3px 0 #1C265126; }
.game-search { display: flex; align-items: center; gap: 10px; font-size: 9px; color: var(--muted); }
.game-search input { width: 176px; min-height: 44px; border: 1px solid #1C26514D; border-radius: 11px; background: var(--paper-light); color: var(--navy); padding: 10px 13px; font-size: 11px; }
.game-search input::placeholder { color: var(--muted); opacity: 1; }
.result-count { font-size: 11px; color: var(--muted); margin-block: 22px; }
.game-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.game-card { min-width: 0; --card-accent: var(--red-deep); }
.game-card[data-category=board] { --card-accent: var(--blue-deep); }
.game-card[data-category=cards] { --card-accent: var(--red-deep); }
.game-card[data-category=party] { --card-accent: var(--navy); }
.game-card[data-category=knowledge] { --card-accent: var(--blue-deep); }
.game-card[hidden] { display: none; }
.game-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 9px; background: white; text-align: start; border: 1px solid #1C265126; border-bottom: 5px solid var(--card-accent); border-radius: 22px; box-shadow: 0 7px 0 #1C26510A; transition: transform .25s, box-shadow .25s; }
.game-open:hover { transform: translateY(-6px); box-shadow: 0 13px 0 #1C26510A; }
.game-art { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 14px; background: var(--paper); aspect-ratio: 1; }
.game-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.game-open:hover .game-art > img { transform: scale(1.045); }
.game-category { position: absolute; top: 11px; inset-inline-start: 11px; padding: 5px 10px; color: var(--navy); background: var(--paper-light); border: 1px solid #1C265126; border-radius: 8px; font-size: 8px; font-weight: 650; box-shadow: 0 3px 6px #1C265126; }
.game-copy { display: grid; padding: 17px 9px 9px; gap: 5px; flex: 1; width: 100%; grid-template-rows: auto auto 1fr auto; }
.game-copy > b { font-size: 14px; font-weight: 700; color: var(--navy); }
.game-copy > small { font-size: 9px; font-weight: 500; color: var(--card-accent); text-align: start; letter-spacing: .01em; }
.game-copy > span:not(.game-more) { font-size: 11px; color: var(--muted); line-height: 1.95; margin-top: 5px; }
.game-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--card-accent); border-top: 1px solid #1C26511A; padding-top: 13px; margin-top: 13px; font-size: 9px; font-weight: 650; }
.game-more svg { width: 17px; height: 17px; }
.no-results { text-align: center; padding: 45px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; color: var(--muted); }
.install-panel { display: grid; grid-template-columns: 1fr .55fr; gap: 60px; align-items: center; padding: 55px 60px; background: var(--blue); color: var(--navy); border: 2px solid var(--navy); border-radius: 32px; box-shadow: 8px 9px 0 var(--navy); margin-block: 65px 78px; position: relative; overflow: hidden; }
.install-panel .eyebrow { color: var(--navy); }
.install-panel h2 { margin-block: 15px; font-size: 46px; line-height: 1.5; }
.install-panel p { font-size: 13px; max-width: 530px; }
.install-panel .button-primary { background: var(--navy); color: white; border-color: var(--navy); box-shadow: 0 4px 0 var(--blue-deep); }
.install-panel .button-primary:hover { transform: translateY(-2px); background: #101936; }
.install-panel .button-outline { color: var(--navy); border-color: var(--navy); }
.install-panel .button-outline:hover { background: #F0E6D233; }
.install-panel > img { width: 220px; justify-self: center; border-radius: 52px; transform: rotate(-9deg); box-shadow: 9px 10px 0 var(--navy); border: 7px solid var(--paper-light); }
.install-panel small { font-size: 9px; display: block; margin-top: 20px; max-width: 510px; }
.install-panel .button small { margin: 3px 0 0; color: inherit; }
.site-footer { background: var(--navy); color: var(--paper-light); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 35px 40px; }
.site-footer .wordmark b { font-size: 23px; }
.site-footer p { font-size: 10px; color: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-inline-start: auto; font-size: 9px; color: var(--paper); }
.game-dialog { padding: 0; max-width: 800px; width: calc(100% - 36px); max-height: 90dvh; overflow: auto; background: var(--paper-light); color: var(--navy); border: 3px solid var(--navy); border-radius: 25px; box-shadow: 9px 10px 0 #10193680; }
.game-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.game-dialog::backdrop { background: #1C2651D9; backdrop-filter: blur(5px); }
.dialog-art { width: 100%; height: 100%; object-fit: cover; }
.dialog-copy { padding: 43px 30px; }
.dialog-copy h2 { font-size: 28px; margin-top: 17px; }
.dialog-en { font-size: 10px; color: var(--red-deep); }
.dialog-description { font-size: 13px; color: var(--muted); margin-top: 20px; }
.dialog-note { font-size: 11px; color: var(--muted); margin-block: 25px 13px; }
.dialog-copy .button-primary { background: var(--red-deep); color: white; border-color: var(--red-deep); box-shadow: 0 4px 0 #1C265126; }
.dialog-close { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--navy); color: white; border: 2px solid var(--paper-light); border-radius: 50%; width: 38px; height: 38px; font-size: 24px; line-height: 1; z-index: 2; }
.hoosa-install-dialog { background: var(--paper-light); color: var(--navy); border: 3px solid var(--navy); box-shadow: 8px 9px 0 #10193655; }
.hoosa-install-dialog p, .hoosa-install-dialog li, .hoosa-install-dialog .install-hint { color: var(--muted); }
.hoosa-install-dialog .install-action { background: var(--red-deep); color: white; }
@media (min-width:1450px) {
  .hero { min-height: 700px; }
  .hero-art { min-height: 520px; }
}
@media (max-width:1100px) {
  .header-inner, .hero, .how, .section-inner, .install-panel, .footer-inner { width: calc(100% - 56px); }
  .hero { gap: 20px; min-height: 610px; }
  .hero h1 { font-size: 59px; }
  .hero-art { min-height: 420px; }
  .table-mark { font-size: 65px; }
  .hero-stamp { font-size: 9px; padding: 12px 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 17px; font-size: 11px; }
  .library-tools { align-items: center; gap: 15px; }
  .game-filters button { padding-inline: 9px; }
  .game-search { display: grid; gap: 4px; }
  .game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .how { grid-template-columns: 1fr 2.4fr; gap: 30px; }
  .how ol { gap: 20px; }
  .install-panel { gap: 30px; padding: 40px; }
  .site-footer nav { width: 100%; }
}
@media (max-width:760px) {
  .header-inner, .hero, .how, .section-inner, .install-panel, .footer-inner { width: calc(100% - 36px); }
  .header-inner { height: auto; min-height: 96px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; padding-block: 14px; }
  .header-owner { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; font-size: 10px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 18px; margin: 0; font-size: 10px; }
  .site-header nav a:last-child { display: none; }
  .wordmark img { width: 37px; height: 37px; border-radius: 11px; }
  .wordmark { gap: 9px; }
  .wordmark b { font-size: 24px; }
  .wordmark span { font-size: 6px; }
  .header-install { font-size: 0; padding: 10px; min-height: 42px; }
  .header-install span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 37px 38px; }
  .hero-copy { max-width: 530px; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: 58px; margin-block: 18px 23px; }
  .hero-copy > p { font-size: 13px; }
  .hero-note { margin-top: 25px; }
  .hero-note b { font-size: 16px; }
  .hero-art { min-height: 390px; width: min(440px,100%); justify-self: center; margin-top: 10px; }
  .hero-table { width: 86%; left: 7%; top: 4%; box-shadow: inset 0 0 0 12px #179FD8, inset 0 0 0 14px #1C265133, 0 11px 0 #0D183C; }
  .hero-table::after { inset: 25px; }
  .fan { border-radius: 20px; border-width: 4px; }
  .fan-one { left: 1%; top: 15%; width: 52%; }
  .fan-two { left: 39%; top: 3%; width: 52%; }
  .fan-three { left: 27%; top: 38%; width: 52%; }
  .table-mark { right: 0; top: 0; font-size: 56px; }
  .hero-stamp { right: 0; bottom: 6%; font-size: 9px; }
  .party-line { gap: 17px; font-size: 15px; padding-block: 15px; background: var(--blue); color: var(--navy); }
  .party-line i { font-size: 16px; }
  .how { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .how h2 { font-size: 27px; }
  .how h2 br { display: none; }
  .how ol { gap: 18px; }
  .how li > span { width: 35px; height: 35px; font-size: 11px; border-radius: 10px; margin-bottom: 13px; }
  .how li > b { font-size: 11px; }
  .how li > p { font-size: 9px; }
  .library { padding-block: 45px 50px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading > p { margin-top: 14px; }
  .section-heading > p br { display: none; }
  .library-tools { display: grid; gap: 16px; padding: 12px; }
  .game-search { display: flex; width: 100%; gap: 13px; }
  .game-search input { flex: 1; width: 100%; min-width: 0; }
  .game-filters { gap: 4px; }
  .game-filters button { font-size: 9px; padding-inline: 10px; min-height: 42px; }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 14px; }
  .game-open { padding: 6px; border-radius: 17px; }
  .game-art { border-radius: 11px; }
  .game-category { top: 7px; inset-inline-start: 7px; font-size: 7px; padding: 4px 6px; }
  .game-copy { padding: 13px 5px 6px; gap: 5px; }
  .game-copy > b { font-size: 12px; }
  .game-copy > small { font-size: 8px; }
  .game-copy > span:not(.game-more) { font-size: 10px; }
  .game-more { font-size: 8px; margin-top: 10px; padding-top: 10px; }
  .game-more svg { width: 15px; }
  .install-panel { grid-template-columns: 1fr; padding: 29px 24px; gap: 30px; margin-block: 40px 50px; box-shadow: 5px 6px 0 var(--navy); border-radius: 25px; }
  .install-panel h2 { font-size: 36px; }
  .install-panel > img { width: 115px; border-radius: 27px; border-width: 4px; justify-self: end; position: absolute; left: -26px; top: 25px; opacity: .18; z-index: 0; pointer-events: none; }
  .install-panel > div { z-index: 1; }
  .install-panel p { font-size: 11px; }
  .install-panel small { font-size: 8px; }
  .footer-inner { gap: 18px; }
  .site-footer nav { gap: 16px; font-size: 9px; }
  .game-dialog[open] { grid-template-columns: 1fr; }
  .dialog-art { max-height: 35dvh; width: 100%; object-fit: contain; background: var(--navy); }
  .dialog-copy { padding: 25px; }
  .dialog-copy h2 { margin-top: 10px; }
  .dialog-description { margin-top: 10px; }
  .dialog-note { margin-block: 15px 10px; }
}
@media (max-width:390px) {
  .hero h1 { font-size: 48px; }
  .hero-art { min-height: 330px; }
  .hero-actions .button { padding-inline: 12px; font-size: 10px; }
  .hero-stamp { bottom: 4%; font-size: 8px; padding: 10px 12px; }
  .hero-note { font-size: 9px; gap: 12px; }
  .hero-note b { font-size: 14px; }
  .party-line { gap: 13px; font-size: 12px; }
  .party-line i { font-size: 13px; }
  .how ol { grid-template-columns: 1fr; gap: 22px; }
  .how li { display: grid; grid-template-columns: 35px 1fr; column-gap: 14px; }
  .how li > span { grid-row: span 2; margin: 0; }
  .how li > p { margin-top: 2px; font-size: 10px; }
  .how li > b { font-size: 13px; }
  .game-grid { gap: 20px 12px; }
  .game-copy > b { font-size: 11px; }
  .game-copy > small { font-size: 7px; }
  .game-copy > span:not(.game-more) { font-size: 9px; }
  .game-category { font-size: 6px; padding: 4px 5px; }
  .site-header nav { gap: 13px; font-size: 9px; }
  .section-heading h2 { font-size: 26px; }
}
@media (max-width:360px) {
  .game-grid { grid-template-columns: 1fr; }
  .game-copy > b { font-size: 15px; }
  .game-copy > small { font-size: 9px; }
  .game-copy > span:not(.game-more) { font-size: 11px; }
  .game-category { font-size: 8px; padding: 5px 9px; }
  .game-more { font-size: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (display-mode:standalone) { [data-install] { display: none !important; } }
