:root {
    --color-yellow: #f6c518;
    --color-text: #151515;
    --color-muted: #555;
    --font-sans: "Trebuchet MS", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --space-page: clamp(20px, 5vw, 58px);
    --product-gap: clamp(18px, 2.2vw, 28px);
    --max-width: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; letter-spacing: 0; }
html { background: #fff; color-scheme: light; overflow-x: hidden; }
body { min-height: 100vh; overflow-x: hidden; background: #fff; color: var(--color-text); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #a97800; outline-offset: 6px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 20; padding: 12px 16px; background: var(--color-yellow); color: #111; font-weight: 700; }
.skip-link:focus { top: 14px; }
.home-shell { width: min(var(--max-width), calc(100% - var(--space-page) * 2)); margin: 0 auto; padding: 24px 0 64px; }
.account-bar { min-height: 48px; margin-bottom: 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-brand { font-size: 13px; font-weight: 900; padding: 8px 0; border-bottom: 3px solid var(--color-yellow); white-space: nowrap; }
.account-brand span { margin-right: 6px; font-size: 18px; }
.account-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; min-width: 0; }
.account-actions span { max-width: 260px; overflow-wrap: anywhere; color: var(--color-muted); font-size: 13px; }
.account-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border: 2px solid #222; border-radius: 4px 7px 3px 5px; background: #fff; font-size: 12px; font-weight: 900; text-align: center; }
.account-actions a:hover { background: var(--color-yellow); }
.account-logout-form { margin: 0; }
.account-logout-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border: 2px solid #222; border-radius: 4px 7px 3px 5px; background: #fff; color: #111; font: inherit; font-size: 12px; font-weight: 900; text-align: center; cursor: pointer; }
.account-logout-button:hover { background: var(--color-yellow); }
.home-header { max-width: 820px; margin: 0 auto; text-align: center; }
.home-header h1 { line-height: 1; }
.home-logo { width: min(720px, 100%); height: auto; margin: 0 auto; }
.home-header p { max-width: 630px; margin: 0 auto; font-size: 18px; color: #444; }
.product-showcase { margin-top: 48px; padding-top: 20px; }
.product-showcase + .product-showcase { margin-top: 42px; border-top: 1px solid #ddd; }
.section-heading { text-align: center; padding-bottom: 24px; }
.section-heading h2 { display: inline-block; color: #222; font-size: 13px; font-weight: 900; padding-bottom: 7px; border-bottom: 3px solid var(--color-yellow); }
.product-carousel { position: relative; width: min(1180px, 100%); margin: 0 auto; }
.product-carousel::before,
.product-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 24px; pointer-events: none; z-index: 2; }
.product-carousel::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.product-carousel::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.products-viewport { width: 100%; overflow: hidden; touch-action: pan-y; overscroll-behavior-x: contain; padding: 6px 2px 8px; }
.product-grid { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: var(--product-gap); will-change: transform; user-select: none; cursor: grab; }
.product-grid.dragging { cursor: grabbing; }
.product-showcase-owned .product-grid { flex-wrap: wrap; justify-content: center; }
.product-poster { flex: 0 0 calc((100% - var(--product-gap) * 4) / 4.5); max-width: none; min-width: 0; }
.product-link { display: block; }
.poster-art { position: relative; display: block; aspect-ratio: 2 / 3; background: #fff; border: 3px solid #111; border-radius: 7px 4px 8px 5px; padding: 7px; }
.poster-art::after { content: ''; position: absolute; inset: -6px 1px 1px -6px; z-index: 4; border: 1px solid #111; border-radius: 5px 8px 3px 7px; transform: rotate(-.7deg); pointer-events: none; }
.product-poster:nth-child(2n) .poster-art::after { inset: -3px -5px -4px 2px; transform: rotate(.8deg); }
.poster-art img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 2px; }
.poster-art img.is-missing { opacity: 0; }
.poster-art-fallback { position: absolute; inset: 7px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 22px; color: #111; background: #fff; }
.poster-art-fallback span { font-size: 30px; font-weight: 900; line-height: 1.1; overflow-wrap: anywhere; }
.poster-art-fallback small { font-size: 12px; border-top: 3px solid var(--color-yellow); padding-top: 12px; }
.status-pill { display: none; position: absolute; z-index: 3; top: 16px; left: 16px; background: #fff; border: 1px solid #222; padding: 4px 7px; font-size: 9px; font-weight: 900; }
.has-access .status-pill, .is-soon .status-pill { display: block; }
.product-carousel .status-pill { display: block; }
.has-access .status-pill { background: var(--color-yellow); }
.product-carousel .product-poster:not(.is-soon) .status-pill { background: var(--color-yellow); }
.poster-copy { display: block; padding: 18px 2px 0; }
.poster-copy strong { display: block; font-size: 16px; }
.poster-description { display: block; margin-top: 10px; font-size: 15px; color: #444; }
.product-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-top: 14px; padding: 10px 16px; border: 2px solid #111; border-radius: 4px 7px 3px 6px; background: var(--color-yellow); color: #111; font-size: 12px; font-weight: 900; }
.product-link:hover .product-cta, .product-link:focus-visible .product-cta { box-shadow: 3px 3px 0 #111; }
.product-coming-soon { display: inline-block; margin-top: 14px; padding: 10px 0; font-size: 12px; font-weight: 900; color: #666; }
.product-carousel .product-poster { display: flex; flex-direction: column; }
.product-carousel .product-link { display: flex; flex-direction: column; flex: 1; }
.product-carousel .poster-art { flex-shrink: 0; }
.product-carousel .poster-copy { display: flex; flex-direction: column; flex: 1; }
.product-carousel .poster-description { flex: 1; }
.product-carousel .product-cta,
.product-carousel .product-coming-soon { align-self: flex-start; min-height: 44px; }
.product-carousel.is-static .product-grid { justify-content: center; cursor: auto; }
.products-nav[hidden] { display: none; }
.is-soon:not(.has-access) .poster-art { opacity: .58; }
.product-link:hover .poster-art::after { border-color: #b58300; }
.products-nav { position: absolute; top: 36%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 2px solid #111; border-radius: 4px 7px 3px 6px; background: var(--color-yellow); color: #111; box-shadow: 4px 4px 0 #111; font-size: 28px; font-weight: 900; line-height: 1; cursor: pointer; }
.products-nav:hover { background: #fff; }
.products-nav:active { box-shadow: 2px 2px 0 #111; transform: translate(2px, calc(-50% + 2px)); }
.products-nav.prev { left: -18px; }
.products-nav.next { right: -18px; }
@media (max-width: 1100px) {
    .product-poster { flex-basis: calc((100% - var(--product-gap) * 3) / 3.5); }
}
@media (max-width: 760px) {
    .product-poster { flex-basis: calc((100% - var(--product-gap)) / 2); }
    .products-nav { width: 38px; height: 38px; font-size: 24px; }
    .products-nav.prev { left: -10px; }
    .products-nav.next { right: -10px; }
}
@media (max-width: 580px) {
    .home-shell { width: calc(100% - 36px); padding-top: 16px; }
    .account-bar { align-items: center; gap: 12px; margin-bottom: 30px; }
    .account-brand { font-size: 11px; white-space: normal; }
    .account-actions a { max-width: 150px; font-size: 10px; padding: 10px; }
    .account-actions span { max-width: 160px; font-size: 12px; }
    .home-header p { font-size: 16px; margin-top: 2px; }
    .product-showcase { margin-top: 30px; padding-top: 12px; }
    .product-carousel { width: calc(100% + 18px); margin-left: -2px; }
    .product-poster { flex-basis: 44%; }
    .product-grid { gap: 14px; }
    .product-carousel .poster-art { padding: 4px; border-width: 2px; }
    .product-carousel .poster-copy { padding-top: 12px; }
    .product-carousel .poster-copy strong { font-size: 13px; overflow-wrap: anywhere; }
    .product-carousel .poster-description { font-size: 12px; margin-top: 6px; }
    .product-carousel .status-pill { top: 9px; left: 9px; padding: 3px 4px; font-size: 8px; }
    .product-carousel .product-cta { padding: 8px 10px; gap: 6px; font-size: 11px; }
    .products-nav { top: 34%; }
    .products-nav.prev { left: 0; }
    .products-nav.next { right: 0; }
}
