.brand-grid .house-logo-card{background:#faf7f1!important;color:#292722!important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;min-width:0;height:100%;padding:16px 14px 22px!important;border:1px solid #e0d6c5!important;box-sizing:border-box}.brand-grid .house-logo-card:hover{background:#f2ebdf!important}.house-logo-media{display:block;width:min(100%,140px);margin-inline:auto;aspect-ratio:1/1;background:var(--house-logo-bg,#f5f0e7);overflow:hidden;flex-shrink:0}.house-logo-media .house-logo-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important;mix-blend-mode:normal!important;padding:0!important}.house-logo-card>strong{font-size:clamp(.82rem,1.1vw,.96rem)!important;min-height:2.8em;display:flex;align-items:center;justify-content:center;line-height:1.4;margin-top:12px;color:#292722!important}.house-logo-card>span:not(.house-logo-media){color:#63584a!important;margin:2px 0 10px}.house-logo-card>em{color:#786951!important;font-size:.78rem;font-style:normal;margin-top:auto}.house-brand-art{width:112px!important;height:112px!important;max-width:30vw;flex:0 0 112px!important;aspect-ratio:1!important;padding:0!important;background:transparent!important;border:1px solid #e0d6c5}.house-logo-hero{width:100%;height:100%;margin:0}.house-directory{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}.house-empty{padding:32px;border:1px solid #e0d6c5;background:#faf7f1;margin:24px 0 50px}.house-empty p{line-height:1.9}@media(max-width:900px){.house-directory{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:600px){.house-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important}.house-brand-art{width:130px!important;height:130px!important;flex-basis:130px!important}.brand-grid .house-logo-card{padding:10px 8px 16px!important}}
/* Keep home house cards in the active randomly selected page palette. */
body.home-theme #home-house-grid .house-logo-card{background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
body.home-theme #home-house-grid .house-logo-card:hover{background:var(--soft)!important;border-color:var(--accent)!important}
body.home-theme #home-house-grid .house-logo-card>strong{color:var(--ink)!important}
body.home-theme #home-house-grid .house-logo-card>span:not(.house-logo-media),body.home-theme #home-house-grid .house-logo-card>em{color:var(--muted)!important}

/* Compact, content-sized scent and note components. */
html body[data-perfume-id] .detail-main{align-content:start!important;grid-auto-rows:max-content!important}
html body[data-perfume-id] #scent#scent{display:block!important;align-self:start!important;height:auto!important;min-height:0!important;padding:22px!important;break-inside:avoid}
html body[data-perfume-id] #scent#scent .section-heading{margin:0 0 12px!important}
html body[data-perfume-id] #scent#scent p{display:block!important;min-height:0!important;height:auto!important;margin:0!important;line-height:2.1!important}
html body[data-perfume-id] #scent#scent .sample-source-note{margin-top:12px!important;font-size:11px!important}
html body[data-perfume-id] #notes#notes .pyramid{align-items:start!important;grid-auto-rows:max-content!important;gap:12px!important;margin-top:16px!important}
html body[data-perfume-id] #notes#notes .note-level{display:block!important;min-height:0!important;height:auto!important;padding:14px!important;align-self:start!important;overflow:hidden!important;text-align:center!important}
html body[data-perfume-id] #notes#notes .note-level .generated-note-link{display:block!important;width:100%!important;max-width:100%!important;height:96px!important;aspect-ratio:auto!important;margin:0 0 10px!important;float:none!important;overflow:hidden!important;border-radius:10px!important}
html body[data-perfume-id] #notes#notes .note-level img.generated-note-image{width:100%!important;height:96px!important;max-height:96px!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover!important;float:none!important;margin:0!important}
html body[data-perfume-id] #notes#notes .level-id{display:block!important;font-size:10px!important;line-height:1.4!important;margin:4px 0!important}
html body[data-perfume-id] #notes#notes .note-level h3{font-size:15px!important;line-height:1.8!important;margin:4px 0 10px!important}
html body[data-perfume-id] #notes#notes .note-list{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important}
html body[data-perfume-id] #notes#notes .key-notes .note-level{text-align:right!important}
html body[data-perfume-id] #notes#notes .key-notes .note-level .generated-note-link{width:190px!important;max-width:28%!important;float:left!important;margin:0 18px 5px 0!important}
html body[data-perfume-id] #notes#notes .key-notes .note-list{justify-content:flex-start!important}
html body[data-perfume-id] #performance .performance-grid{align-items:start!important;gap:12px!important}
html body[data-perfume-id] #performance .performance-grid>div{height:auto!important;min-height:0!important;padding:16px!important}
html body[data-perfume-id] #performance strong{overflow-wrap:anywhere;line-height:1.85!important}
html body[data-perfume-id] #distributions#distributions .scalar-score{text-align:center;margin:22px 0 18px;display:flex;align-items:baseline;justify-content:center;gap:8px}
html body[data-perfume-id] #distributions#distributions .scalar-score strong{font-size:42px;line-height:1.2;color:var(--ink)}
html body[data-perfume-id] #distributions#distributions .scalar-score span{font-size:13px}
html body[data-perfume-id] #distributions#distributions .scalar-track{height:13px;border-radius:99px;overflow:hidden;background:var(--soft);margin:0 10px}
html body[data-perfume-id] #distributions#distributions .scalar-track i{display:block;height:100%;background:var(--accent);border-radius:99px}
html body[data-perfume-id] #distributions#distributions p.scalar-caption{height:auto!important;white-space:normal!important;margin:18px 0!important;font-size:11px!important;line-height:1.8!important}
html body[data-perfume-id] #distributions#distributions .qualitative-value{font-size:25px;text-align:center;font-weight:700;line-height:1.7;margin:24px 0 16px;color:var(--ink)}
html body[data-perfume-id] #distributions#distributions p.qualitative-copy{height:auto!important;white-space:normal!important;font-size:12px!important;line-height:1.9!important;margin:10px 0!important;text-align:center}
@media(max-width:720px){
html body[data-perfume-id] #scent#scent{padding:20px!important}
html body[data-perfume-id] #notes#notes .pyramid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
html body[data-perfume-id] #notes#notes .note-level{padding:13px!important;text-align:right!important}
html body[data-perfume-id] #notes#notes .note-level .generated-note-link,html body[data-perfume-id] #notes#notes .key-notes .note-level .generated-note-link{width:100%!important;max-width:100%!important;height:90px!important;float:none!important;margin:0 0 10px!important}
html body[data-perfume-id] #notes#notes .note-level img.generated-note-image{height:90px!important;max-height:90px!important}
html body[data-perfume-id] #notes#notes .note-list{justify-content:flex-start!important}
html body[data-perfume-id] #performance .performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* Uniform note chips, including notes without taxonomy links. */
html body[data-perfume-id] #notes#notes .pyramid{align-items:stretch!important}
html body[data-perfume-id] #notes#notes .pyramid>.note-level{align-self:stretch!important}
html body[data-perfume-id] #notes#notes .note-list{align-items:center!important}
html body[data-perfume-id] #notes#notes .note-list>a,html body[data-perfume-id] #notes#notes .note-list>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.8!important;min-height:36px!important;height:auto!important;padding:6px 11px!important;margin:0!important;border:1px solid #d3c0b6!important;border-radius:22px!important;background:rgba(255,255,255,.65)!important;color:inherit!important;max-width:100%!important;overflow-wrap:anywhere!important}

.card-image img[src*='/missing-20261025/']{object-fit:contain!important;transform:none!important;filter:none!important;mix-blend-mode:normal!important}.card-image:has(img[src*='/missing-20261025/']){background:#fff!important}
/* Compact card typography; full names stay in title. */
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-body{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:0!important;min-width:0!important;padding:11px 12px!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-brand,html body #main .card-grid.card-grid .perfume-card.perfume-card h3,html body #main .card-grid.card-grid .perfume-card.perfume-card .card-en{display:block!important;box-sizing:border-box!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;letter-spacing:normal!important;word-spacing:normal!important;-webkit-line-clamp:unset!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-brand{height:16px!important;min-height:16px!important;max-height:16px!important;line-height:16px!important;margin:0 0 3px!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card h3{height:23px!important;min-height:23px!important;max-height:23px!important;line-height:23px!important;margin:0!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-en{height:20px!important;min-height:20px!important;max-height:20px!important;line-height:20px!important;margin:2px 0 0!important}
html body #main .card-grid.card-grid .perfume-card.perfume-card .card-notes{height:34px!important;min-height:34px!important;max-height:34px!important;font-size:11px!important;line-height:17px!important;margin:6px 0 0!important;padding-top:5px!important;box-sizing:content-box!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
@media(max-width:520px){html body #main .card-grid.card-grid .perfume-card.perfume-card .card-body{padding:10px!important}}
