/* Noël's family layout, with the existing Fairy artwork and typography. */
body[data-universe=fees] .families{padding:10px 20px 35px}
body[data-universe=fees] #family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 25px}
body[data-universe=fees] .families .family-tile{display:grid;grid-template-rows:auto 1fr auto;min-width:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;transition:none}
body[data-universe=fees] .families .family-card{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;padding:15px 20px;border:1px solid #d9b5ef44;border-radius:21px;background:radial-gradient(ellipse at center,#7e64813d,#27263e30);transition:transform .2s,background .2s}
body[data-universe=fees] .families .family-card img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;box-shadow:none;filter:drop-shadow(0 8px 10px #11132a66);transform:none}
body[data-universe=fees] .families .family-tile:hover .family-card{background:#64516b55;transform:translateY(-4px)}
body[data-universe=fees] .families .family-number{position:absolute;left:10px;top:9px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#f4ddf2;color:#422c4d;font:400 14px/1 var(--type);box-shadow:0 2px 7px #1117}
body[data-universe=fees] .families .family-label{display:flex;align-items:center;justify-content:center;min-height:76px;margin:16px 0 5px;padding:12px 8px;border:3px solid #f8edff;border-radius:21px 16px 22px 17px;background:radial-gradient(ellipse at 25% 0,#eac1fa55,transparent 48%),repeating-linear-gradient(112deg,#ffffff04 0 1px,transparent 1px 3px),linear-gradient(140deg,#865798,#503362 65%,#714780);box-shadow:0 -2px 5px #f3dff88f,inset 0 3px 7px #ebc2ff55,inset 0 -5px 9px #27153077,0 5px 10px #10112766;text-align:center}
body[data-universe=fees] .families .family-label h3{min-height:0;margin:0;color:#fff9ff;font:400 25px/1.12 var(--type);letter-spacing:.3px;text-shadow:0 2px 2px #321b42;text-wrap:balance;overflow-wrap:normal}
body[data-universe=fees] .families .family-tile>p{margin:8px 0 0;color:#eee0f5;font:400 12px/1.5 var(--type);text-align:center}
@media(max-width:1050px){body[data-universe=fees] .families .family-card{padding:12px}}
@media(max-width:900px){body[data-universe=fees] #family-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 body[data-universe=fees] .families{padding:10px 18px 30px}
 body[data-universe=fees] #family-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
 body[data-universe=fees] .families .family-label{min-height:70px;padding:10px 5px;border-width:2px;border-radius:18px 14px 19px 14px}
 body[data-universe=fees] .families .family-label h3{font-size:20px}
}
@media(max-width:380px){body[data-universe=fees] .families .family-label h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){body[data-universe=fees] .families .family-card{transition:none}body[data-universe=fees] .families .family-tile:hover .family-card{transform:none}}
