/* Family merge: retain original typography/theme outside these scoped panels. */
.family-home-tabs{display:flex;gap:8px;margin:18px 0 24px;padding:0 0 20px;border-bottom:1px solid #ffffff18}.family-home-tabs button{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:15px 8px;border:1px solid #ffffff28;border-radius:12px;background:#17171a;color:#aaa;font:600 15px/1.2 system-ui;cursor:pointer}.family-home-tabs [data-family-tab=sfw]{--family-accent:#31c4a7}.family-home-tabs [data-family-tab=original]{--family-accent:#e8599b}.family-home-tabs [data-family-tab=plus]{--family-accent:#e9bd5e}.family-home-tabs [aria-selected=true]{border-color:var(--family-accent);color:var(--family-accent);background:color-mix(in srgb,var(--family-accent) 14%,#111)}.family-dot{height:6px;width:6px;border-radius:50%;background:var(--family-accent)}.family-new{font-size:8px;letter-spacing:.4px;border:1px solid #ffffff38;border-radius:4px;padding:4px}.hub-shell[data-home-family=sfw]{--family-accent:#31c4a7}.hub-shell[data-home-family=plus]{--family-accent:#e9bd5e}.family-pass-strip{border-color:color-mix(in srgb,var(--family-accent) 40%,#333);background:color-mix(in srgb,var(--family-accent) 8%,#121214)}.family-pass-strip h3{color:var(--family-accent)}.family-pass-strip .bright{background:var(--family-accent);color:#101012}.family-card-new{position:absolute;right:10px;top:10px;border-radius:5px;background:#111b;color:var(--family-accent);font:700 10px/1 system-ui;padding:6px}.hub-shell[data-home-family=sfw] .category .cover,.hub-shell[data-home-family=plus] .category .cover{aspect-ratio:9/10;background:#1c2020;display:grid;place-items:center}.hub-shell .category .cover img{width:100%;height:100%;object-fit:cover}.menu-family{padding:18px 0;border-top:1px solid #ffffff20}.menu-family:first-child{border-top:0}.menu-family h3{font-size:14px;margin:0 0 12px;color:var(--menu-accent)}.menu-family[data-menu-family=sfw]{--menu-accent:#31c4a7;--menu-fill:#0f2924}.menu-family[data-menu-family=original]{--menu-accent:#e8599b;--menu-fill:#301521}.menu-family[data-menu-family=plus]{--menu-accent:#e9bd5e;--menu-fill:#2c2515}.menu-family .menu-grid button{position:relative;background:var(--menu-fill);border:1px solid color-mix(in srgb,var(--menu-accent) 25%,#333);font:500 15px/1.35 system-ui,sans-serif;min-height:62px;display:flex;align-items:center;justify-content:center;padding:15px 8px}.menu-family .menu-grid button.selected{border:2px solid var(--menu-accent);font-weight:500}.menu-family .menu-grid button>span:last-child{text-align:center}.family-transition{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:#101012e8;pointer-events:all}.family-transition .reader-spinner{display:block;width:30px;height:30px;border:3px solid #ffffff35;border-top-color:#fff;border-radius:50%;animation:family-spin .8s linear infinite}@keyframes family-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.family-transition .reader-spinner{animation-duration:2s}}@media(max-width:420px){.family-home-tabs button{font-size:13px;gap:5px;padding:15px 5px}.family-new{font-size:7px;padding:3px}.menu-family .menu-grid button{font-size:14px}}

/* Keep original 18+ colours inside either family theme. */
.menu-family[data-menu-family="original"]{--product-accent:#e8599b;--product-strong:#b72f68;--product-dark:#54213b;--product-tint:#301521;--product-ink:#260c18}

/* Equal category button geometry, including selected and pass-badge states. */
.account-menu .menu-family[data-menu-family] .menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:64px;gap:8px}
.account-menu .menu-family[data-menu-family] .menu-grid>button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:64px;min-height:64px;max-height:64px;margin:0;padding:18px 10px 8px;font-size:14px;font-weight:600;line-height:19px;text-align:center;overflow:hidden}

.menu-family-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.menu-family-heading h3{margin:0!important}.account-menu .menu-family-purchase{width:36px;height:36px;padding:7px;border:1px solid var(--menu-accent);color:var(--menu-accent);background:var(--menu-fill);border-radius:10px;display:grid;place-items:center}.menu-family-purchase[hidden]{display:none!important}.menu-family-purchase svg{width:22px;height:22px}.family-showcase-new{top:auto;bottom:8px;right:8px;color:#31c4a7}.family-pass-choices{display:grid;gap:12px}.family-pass-choices button{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 18px;border:1px solid var(--choice-color);border-radius:14px;background:color-mix(in srgb,var(--choice-color) 12%,#151517);color:var(--choice-color);font:700 16px/1.4 system-ui;text-align:left}.family-pass-choices svg{width:26px;height:26px;flex-shrink:0}.family-pass-choices [data-choose-pass=sfw]{--choice-color:#31c4a7}.family-pass-choices [data-choose-pass=original]{--choice-color:#e8599b}.family-pass-choices [data-choose-pass=plus]{--choice-color:#e9bd5e}

.family-launch-dialog .menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.family-launch-dialog .menu-grid button{width:100%;min-height:62px;font:600 14px/1.4 system-ui;text-align:center}.family-launch-dialog .dialog-body>p{color:#c6c2ca;line-height:1.6}
