/* DUEL TSSR v14.8.3 — true family theme layout. CSS selectors apply ONLY to six family themes. */
body[data-family-theme] .heritage-dashboard-v1483{max-width:1600px}
body[data-family-theme] header{background:var(--design-header)}
body[data-family-theme] #nav{background:var(--design-nav)}
body[data-family-theme] #nav .nav-button:not(.current){color:#e1e9df!important;opacity:1!important}
body[data-family-theme] #nav .nav-button:not(.current) svg{color:#c1d5c5!important}
body[data-family-theme] #nav .nav-button.current{background:var(--design-soft)!important;color:var(--ink)!important;border-radius:9px}
body[data-family-theme] #nav .nav-button.current svg{color:var(--accent-dark)!important}
body[data-family-theme] #nav .module-selector{color:#e4efe7!important}
body[data-family-theme] .g148-hero{min-height:292px;padding:28px 36px;background-color:var(--design-hero)!important;background-image:linear-gradient(90deg,var(--family-scrim) 0%,var(--family-scrim) 34%,transparent 76%),var(--family-banner)!important;background-repeat:no-repeat!important;background-size:cover,auto 120%!important;background-position:center,right center!important;border-color:var(--line)!important}
body[data-family-theme] .g148-hero-content{max-width:min(58%,620px)}
body[data-family-theme] .g148-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.8rem,4vw,4.1rem);letter-spacing:-.035em;line-height:1.06;color:var(--ink)!important}
body[data-family-theme] .g148-hero h1 em{-webkit-text-fill-color:var(--accent-dark)!important;color:var(--accent-dark)!important}
body[data-family-theme] .g148-hero-slogan{font-size:.85rem;letter-spacing:.08em;color:var(--accent-dark)!important}
body[data-family-theme] .g148-hero-sub{color:var(--ink)!important;font-size:.87rem;line-height:1.65}
body[data-family-theme] .g148-hero-eyebrow{color:var(--accent-dark)!important}
body[data-family-theme] .g148-hero-badges span{border-color:var(--line)!important;color:var(--ink)!important;background:var(--card)!important;font-size:.68rem}
body[data-family-theme] .g148-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:10px!important}
body[data-family-theme] .g148-shortcut{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:start;gap:7px;min-height:137px;padding:17px!important;border:1px solid var(--line);background:var(--card)!important;box-shadow:0 4px 14px #172b2220!important;border-radius:14px}
body[data-family-theme] .g148-shortcut:nth-child(odd){background:var(--design-surface)!important}
body[data-family-theme] .g148-shortcut-icon{grid-row:1;grid-column:1;justify-self:start;border-radius:10px;width:40px;height:40px;background:var(--design-soft);color:var(--family-button)}
body[data-family-theme] .g148-shortcut-label{grid-column:1/3;grid-row:2;gap:5px}
body[data-family-theme] .g148-shortcut-label strong{font-size:.98rem;color:var(--ink)!important}
body[data-family-theme] .g148-shortcut-label small{font-size:.76rem;line-height:1.5;color:var(--muted)!important}
body[data-family-theme] .g148-chevron{grid-row:1;grid-column:2;align-self:start;color:var(--accent-dark)!important}
body[data-family-theme] .g148-extra-modes{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 16px!important;background:transparent!important;border:0!important;padding:0!important;position:static!important;min-height:0!important;box-shadow:none!important}
body[data-family-theme] .g148-extra-modes button{border:1px solid var(--line);background:var(--card);border-radius:99px;padding:7px 12px;color:var(--ink);font-weight:650;font-size:.74rem;display:inline-flex;align-items:center;gap:7px;cursor:pointer}
body[data-family-theme] .g148-extra-modes button svg{width:14px;height:14px;color:var(--accent-dark)}
body[data-family-theme] .g148-extra-modes button:hover{background:var(--design-soft)}
body[data-family-theme] .g148-panel{border-radius:14px!important;background:var(--card)!important;box-shadow:0 4px 16px #102a1c0c!important;border-color:var(--line)!important}
body[data-family-theme] .g148-panel-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:1.15rem!important;color:var(--ink)!important}
body[data-family-theme] .g148-room-grid{gap:12px}
body[data-family-theme] .g148-room{background:var(--card)!important;border-color:var(--line)!important;box-shadow:0 2px 10px #142c1720;overflow:hidden;border-radius:12px}
body[data-family-theme] .g148-room-art{background:linear-gradient(0deg,#071b1724,#0000),var(--family-banner)!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:center 47%!important;aspect-ratio:2.8/1;border-color:var(--line)!important}
body[data-family-theme] .g148-room:nth-child(3n+2) .g148-room-art{background-position:30% 70%!important}
body[data-family-theme] .g148-room:nth-child(3n+3) .g148-room-art{background-position:90% 54%!important}
body[data-family-theme] .g148-room-info{padding:12px}
body[data-family-theme] .g148-room-info h3{font-family:Georgia,'Times New Roman',serif;font-size:.93rem!important;color:var(--ink)!important;min-height:0}
body[data-family-theme] .g148-room-foot button{background:var(--family-button)!important;border-color:var(--family-button)!important;color:white!important;border-radius:7px;box-shadow:none!important}
body[data-family-theme] .g148-room-count{background:#15261cce!important;color:#fff!important;border:1px solid #455849!important}
body[data-family-theme] .g148-room-members .g148-members-empty{color:var(--muted)!important}
body[data-family-theme] .g148-leader-list li{padding-top:10px;padding-bottom:10px}
body[data-family-theme] .g148-leader-points{font-weight:800;color:var(--accent-dark)!important}
body[data-family-theme] .g148-leader-name strong{font-size:.8rem;color:var(--ink)!important}
body[data-family-theme] .g148-leader-list li.g148-its-me{border-radius:8px;background:var(--design-soft)!important}
body[data-family-theme] .g148-history-row>strong{color:var(--accent-dark)!important}
body[data-family-theme] .g148-filters button.selected{background:var(--family-button)!important;color:#fff!important}
body[data-family-theme] .g148-count{background:var(--family-button)!important;color:#fff!important}
body[data-family-theme] .g148-player-kpi strong{color:var(--accent-dark)!important}
body[data-family-theme] .g148-hero::after{content:none!important}
/* Individual art-direction: backgrounds, type and spacing align with the approved six concepts. */
body[data-design-theme="foret"]{--family-scrim:#f9f6ec}
body[data-design-theme="naturel"]{--family-scrim:#faf7ee}
body[data-design-theme="terracotta"]{--family-scrim:#f8ece1}
body[data-design-theme="academique"]{--family-scrim:#f6f5ee}
body[data-design-theme="cuivre"]{--family-scrim:#102030}
body[data-design-theme="prestige"]{--family-scrim:#171925}
body[data-design-theme="cuivre"] .g148-hero h1,body[data-design-theme="prestige"] .g148-hero h1{color:#fff4e5!important}
body[data-design-theme="cuivre"] .g148-hero-sub,body[data-design-theme="prestige"] .g148-hero-sub{color:#f5e5d1!important}
body[data-design-theme="cuivre"] .g148-hero-badges span,body[data-design-theme="prestige"] .g148-hero-badges span{background:#243349!important;color:white!important}
body[data-family-theme] .g148-room-no-match[hidden],body[data-family-theme] .g148-room[hidden]{display:none!important}
@media(min-width:1560px){body[data-family-theme] .g148-room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){body[data-family-theme] .g148-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-family-theme] .g148-hero{min-height:240px}}
@media(max-width:620px){body[data-family-theme] .g148-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-family-theme] .g148-shortcut{min-height:118px;padding:12px!important}body[data-family-theme] .g148-shortcut-label small{display:block!important}body[data-family-theme] .g148-hero{min-height:240px;padding:20px!important;background-size:cover,auto 100%!important;background-position:center,right center!important}body[data-family-theme] .g148-hero-content{max-width:95%}body[data-family-theme] .g148-hero h1{font-size:2.4rem}body[data-family-theme] .g148-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--family-scrim) 0%,var(--family-scrim) 35%,transparent 100%);pointer-events:none;z-index:0}body[data-family-theme] .g148-hero-content{z-index:2}body[data-family-theme] .g148-extra-modes{gap:4px}}
@media(max-width:430px){body[data-family-theme] .g148-hero-sub{font-size:.77rem}body[data-family-theme] .g148-shortcut-label strong{font-size:.85rem}body[data-family-theme] .g148-extra-modes button{padding:6px 9px}}
