
/* FRAME Taste Studio: responsive, theme-aware and interactive. */
.taste-studio{--taste-radius:20px;display:flex;flex-direction:column;gap:19px;padding-bottom:24px}
.taste-studio *{box-sizing:border-box}
.taste-feature{min-height:290px;position:relative;display:grid;grid-template-columns:minmax(0,58%) minmax(0,42%);gap:10px;align-items:center;overflow:hidden;border-radius:24px;border:1px solid var(--line);background:radial-gradient(ellipse at 83% 15%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 63%),linear-gradient(110deg,var(--surface),var(--surface2));padding:31px 34px}
.taste-feature:before{content:"";position:absolute;left:-10%;bottom:-110px;width:55%;height:210px;background:radial-gradient(ellipse,color-mix(in srgb,var(--accent) 11%,transparent),transparent 68%);pointer-events:none}
.taste-feature-copy{position:relative;z-index:2;min-width:0}
.taste-superlabel{font-size:10px;color:var(--accent);font-weight:900;text-transform:uppercase;letter-spacing:2px}
.taste-feature h2{font-size:clamp(28px,3.2vw,43px);letter-spacing:-1.8px;line-height:1.07;margin:14px 0 12px;max-width:530px}
.taste-feature h2 em{font-style:normal;color:var(--accent)}
.taste-feature p{color:var(--muted);font-size:13px;max-width:510px;line-height:1.65}
.taste-insights{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}
.taste-insights span{display:inline-flex;gap:4px;align-items:center;font-size:11px;padding:8px 11px;border-radius:99px;color:var(--text);background:color-mix(in srgb,var(--surface3) 80%,transparent);border:1px solid var(--line)}
.taste-insights b{color:var(--accent);font-weight:850}
.taste-feature-art{position:relative;height:225px;min-width:0;display:flex;align-items:center;justify-content:center;overflow:visible;isolation:isolate}
.taste-feature-art:before{content:"";position:absolute;inset:16px 0;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--accent) 30%,transparent),transparent 70%);filter:blur(28px)}
.taste-art{position:absolute;top:50%;left:50%;height:176px;width:117px;transform:translate(-50%,-50%) rotate(var(--rotate));transition:transform .25s ease,filter .25s ease;border:0;padding:0;border-radius:11px;background:var(--surface3);overflow:hidden;box-shadow:0 15px 28px #0008,0 0 0 1px #ffffff20;cursor:pointer;z-index:var(--z,1);filter:saturate(.85)}
.taste-art img{width:100%;height:100%;object-fit:cover;display:block}
.taste-art:hover,.taste-art:focus-visible{z-index:12;transform:translate(-50%,-57%) rotate(0) scale(1.07);filter:saturate(1)}
.taste-art-0{--rotate:-6deg;--z:6;margin-left:0}.taste-art-1{--rotate:9deg;--z:5;margin-left:123px;margin-top:10px}.taste-art-2{--rotate:-12deg;--z:4;margin-left:-129px;margin-top:4px}.taste-art-3{--rotate:12deg;--z:3;margin-left:207px;margin-top:24px}.taste-art-4{--rotate:-10deg;--z:2;margin-left:-206px;margin-top:18px}.taste-art-5{--rotate:18deg;--z:1;margin-left:270px;margin-top:34px}
.taste-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.taste-metric{min-width:0;position:relative;padding:17px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);display:flex;flex-direction:column;gap:7px}
.taste-metric-icon{position:absolute;top:13px;right:15px;color:var(--accent);opacity:.8;font-size:20px}
.taste-metric strong{font-size:clamp(23px,2.3vw,32px);font-weight:900;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.taste-metric>span:last-child{color:var(--muted);font-size:11px;line-height:1.4}
.taste-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 18px;background:var(--surface);border:1px solid var(--line);border-radius:17px}
.taste-controls>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.taste-control-label{font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.7px;color:var(--muted)}
.taste-switch{display:flex;gap:3px;padding:4px;border-radius:12px;background:var(--bg);border:1px solid var(--line)}
.taste-switch-button{background:transparent;color:var(--muted);border:0;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:750;white-space:nowrap}
.taste-switch-button[aria-pressed=true]{background:var(--accent);color:#16131c;box-shadow:0 1px 4px #0002}
.taste-switch-button:hover:not([aria-pressed=true]){background:var(--surface3);color:var(--text)}
.taste-scope-note{margin:-8px 3px 2px;color:var(--muted);font-size:12px;line-height:1.55}
.taste-scope-note b{color:var(--text)}
.taste-panels{display:grid;gap:16px;align-items:stretch}
.taste-primary-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.taste-secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.taste-runtime-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.taste-single-runtime{grid-template-columns:minmax(0,1fr)}
.taste-bottom-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.taste-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--taste-radius);min-width:0;padding:23px;box-shadow:0 10px 35px #00000008}
.taste-panel-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:19px}
.taste-panel-head h3{font-size:17px;letter-spacing:-.45px;margin:0 0 5px;font-weight:850}
.taste-panel-head p{font-size:11px;color:var(--muted);margin:0;line-height:1.65;max-width:370px}
.taste-small{display:flex;flex-direction:column;align-items:end;white-space:nowrap;color:var(--text);font-size:13px;font-weight:800}
.taste-small small{font-weight:500;font-size:10px;color:var(--muted);margin-top:3px}
.taste-chart-bars{display:flex;flex-direction:column;gap:3px}
.taste-interact{font:inherit;cursor:pointer}
.taste-interact:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.taste-bar-row{width:100%;display:grid;grid-template-columns:130px minmax(0,1fr) 24px;gap:13px;align-items:center;border:0;background:transparent;color:var(--text);text-align:left;border-radius:9px;padding:7px 6px;font-size:11px}
.taste-bar-row:hover,.taste-bar-row.is-selected{background:var(--surface3)}
.taste-bar-row.is-selected .taste-bar-label{color:var(--accent);font-weight:800}
.taste-bar-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.taste-bar-row strong{font-variant-numeric:tabular-nums;font-size:11px;text-align:right}
.taste-track{height:10px;border-radius:99px;background:color-mix(in srgb,var(--surface3) 85%,var(--line));overflow:hidden;display:block}
.taste-track>span{height:100%;display:block;border-radius:inherit;background:var(--bar-color);min-width:0;transition:width .3s}
.taste-more{display:block;margin:10px 0 0 0;font-size:11px;background:none;color:var(--accent);border:0;padding:8px 5px;font-weight:700}
.taste-footnote{font-size:10.5px;line-height:1.6;color:var(--muted);margin:16px 0 0}
.taste-empty{font-size:12px;line-height:1.6;color:var(--muted);margin:15px 0}
.taste-status-layout{display:grid;grid-template-columns:172px minmax(0,1fr);align-items:center;gap:21px;margin:24px 0}
.taste-ring{width:170px;height:170px;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 1px var(--line)}
.taste-ring>span{width:126px;height:126px;background:var(--surface);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}
.taste-ring strong{font-size:36px;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}
.taste-ring small{font-size:11px;color:var(--muted)}
.taste-status-list{display:flex;flex-direction:column;gap:3px}
.taste-status-line{display:grid;grid-template-columns:11px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:9px;background:transparent;color:var(--text);font-size:11px;text-align:left}
.taste-status-line:hover,.taste-status-line.is-selected{background:var(--surface3)}
.taste-status-line strong{font-size:11px;font-variant-numeric:tabular-nums}
.taste-dot{width:10px;height:10px;border-radius:50%}
.taste-decades{display:flex;gap:8px;align-items:stretch;justify-content:center;min-height:210px;padding:12px 0 0;max-width:100%;overflow-x:auto}
.taste-decade{min-width:46px;max-width:86px;flex:1 0 46px;height:200px;border:0;border-radius:9px;background:transparent;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:7px;color:var(--muted);padding:7px 4px}
.taste-decade:hover,.taste-decade.is-selected{background:var(--surface3);color:var(--accent)}
.taste-decade-val{font-size:11px;color:var(--text);font-weight:750}
.taste-decade-bar{width:min(100%,46px);min-height:4px;max-height:138px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 52%,var(--surface2)))}
.taste-decade small{font-size:10px;white-space:nowrap}
.taste-rating-bars{min-height:225px;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;align-items:end;padding-top:13px}
.taste-rating-column{display:flex;align-items:stretch;justify-content:end;flex-direction:column;gap:9px;height:194px;min-width:0;border:0;background:transparent;padding:0 2px 2px;border-radius:7px;color:var(--muted)}
.taste-rating-column:hover,.taste-rating-column.is-selected{background:var(--surface3)}
.taste-rating-track{width:100%;min-height:3px;max-height:160px;background:linear-gradient(0deg,color-mix(in srgb,var(--accent) 55%,var(--surface2)),var(--accent));border-radius:5px 5px 2px 2px;margin-top:auto}
.taste-rating-column small{text-align:center;font-size:10px}
.taste-runtime-columns{height:190px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px}
.taste-runtime-bin{height:188px;min-width:0;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:9px;padding:5px;border:0;background:transparent;color:var(--text);border-radius:9px}
.taste-runtime-bin:hover,.taste-runtime-bin.is-selected{background:var(--surface3)}
.taste-runtime-bin strong{font-size:13px}
.taste-runtime-column{width:min(100%,60px);min-height:3px;max-height:122px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 60%,var(--surface2)))}
.taste-runtime-bin small{color:var(--muted);font-size:10px;white-space:normal;text-align:center}
.taste-people-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.taste-person-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;width:100%;background:var(--surface2);color:var(--text);padding:12px 9px;border:1px solid var(--line);border-radius:11px}
.taste-person-row:hover,.taste-person-row.is-selected{border-color:var(--accent);background:var(--surface3)}
.taste-person-index{font-size:11px;color:var(--accent);font-weight:800}
.taste-person-title{display:flex;flex-direction:column;min-width:0;gap:5px}
.taste-person-title b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.taste-person-title small{font-size:10px;color:var(--muted)}
.taste-person-row>strong{font-size:10px;color:var(--muted);white-space:nowrap}
.taste-evidence-lines{display:flex;flex-direction:column;gap:18px;padding:4px 0 10px}
.taste-evidence-name{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:8px}
.taste-evidence-name>span{color:var(--muted)}
.taste-evidence-name b{white-space:nowrap}
.taste-evidence-track{height:7px;background:var(--surface3);border-radius:99px;overflow:hidden}
.taste-evidence-track i{display:block;height:100%;background:var(--accent);border-radius:inherit}
.taste-evidence .secondary{margin-top:20px}
.taste-explorer{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));background:linear-gradient(110deg,var(--surface),color-mix(in srgb,var(--surface2) 93%,var(--accent) 7%))}
.taste-inspect-titles{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:9px;max-height:410px;overflow:auto}
.taste-inspect-title{display:flex;gap:10px;padding:8px;align-items:center;text-align:left;background:var(--surface2);color:var(--text);border:1px solid var(--line);border-radius:10px;min-width:0}
.taste-inspect-title:hover{border-color:var(--accent)}
.taste-inspect-title img,.taste-no-poster{width:39px;height:59px;object-fit:cover;border-radius:6px;background:var(--surface3);flex:0 0 39px}
.taste-no-poster{display:grid;place-items:center;font-size:9px;color:var(--muted);text-align:center}
.taste-inspect-title>span:last-child{display:flex;flex-direction:column;gap:5px;min-width:0}
.taste-inspect-title strong{font-size:11px;line-height:1.35}
.taste-inspect-title small{font-size:10px;color:var(--muted)}
.taste-endnote{font-size:10.5px;color:var(--muted);text-align:center;line-height:1.7;padding:10px 16px 0}
@media(max-width:1190px){.taste-feature{grid-template-columns:minmax(0,60%) minmax(0,40%)}.taste-art-5,.taste-art-4{display:none}.taste-status-layout{grid-template-columns:125px minmax(0,1fr);gap:12px}.taste-ring{width:125px;height:125px}.taste-ring>span{width:94px;height:94px}.taste-ring strong{font-size:26px}.taste-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.taste-people-list{grid-template-columns:1fr}}
@media(max-width:890px){.taste-feature{grid-template-columns:minmax(0,1fr) minmax(0,190px);padding:26px}.taste-feature-art{transform:scale(.86)}.taste-art-3{display:none}.taste-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.taste-primary-grid,.taste-bottom-grid{grid-template-columns:1fr}.taste-status-layout{grid-template-columns:160px minmax(0,1fr)}.taste-ring{width:160px;height:160px}.taste-ring>span{width:118px;height:118px}.taste-people-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.taste-feature{display:flex;flex-direction:column-reverse;align-items:stretch;gap:10px;padding:16px 20px 22px}.taste-feature-copy{width:100%}.taste-feature-art{height:175px;transform:scale(.79)}.taste-feature h2{font-size:32px;margin:9px 0}.taste-feature p{font-size:12px}.taste-insights{margin-top:14px}.taste-insights span{font-size:10px;padding:6px 8px}.taste-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.taste-metric{padding:13px 14px}.taste-controls{padding:13px;gap:17px}.taste-controls>div{width:100%;justify-content:space-between}.taste-switch-button{font-size:11px;padding:8px}.taste-secondary-grid,.taste-runtime-grid{grid-template-columns:1fr}.taste-panel{padding:17px}.taste-status-layout{grid-template-columns:123px minmax(0,1fr);gap:12px}.taste-ring{width:123px;height:123px}.taste-ring>span{width:91px;height:91px}.taste-status-line{font-size:10px;padding:7px 3px;gap:6px}.taste-people-list{grid-template-columns:1fr}.taste-bar-row{grid-template-columns:100px minmax(0,1fr) 20px;gap:7px}.taste-rating-bars{gap:3px}.taste-inspect-titles{grid-template-columns:repeat(2,minmax(0,1fr))}.taste-art-5,.taste-art-4{display:block}}
@media(max-width:390px){.taste-feature h2{font-size:28px}.taste-feature-art{transform:scale(.68)}.taste-control-label{font-size:10px}.taste-switch-button{font-size:10px;padding:7px 8px}.taste-bar-row{grid-template-columns:94px minmax(0,1fr) 20px}.taste-inspect-titles{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.taste-art,.taste-track>span{transition:none}.taste-art:hover,.taste-art:focus-visible{transform:translate(-50%,-50%) rotate(var(--rotate))}}

/* Summary cards are accessible shortcuts into the corresponding profile view. */
.taste-metric{cursor:pointer;text-align:left;color:var(--text);font:inherit;transition:border-color .17s,transform .17s,background .17s}
.taste-metric:hover,.taste-metric:focus-visible{border-color:var(--accent);background:var(--surface2);transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.taste-metric{transition:none}.taste-metric:hover{transform:none}}
