/* EQ Square: compact collections, shared theme tokens, accessible card links. */
html body.aeqdb-theme .hero{padding-block:28px;margin-bottom:24px;}
html body.aeqdb-theme .hero h1{font-size:clamp(28px,3vw,42px);margin:8px 0 12px;}
html body.aeqdb-theme :is(#message,#region-note,#preference-note):empty{display:none;}
html body.aeqdb-theme #earphone-filter{border-bottom:0;padding-bottom:12px;margin-bottom:0;}
html body.aeqdb-theme .hall-personal-filters{border-top:1px solid var(--line);padding-top:16px;}
html body.aeqdb-theme .hall-personal-filters:has(>#preference-note:only-child:empty){display:none;}
html body.aeqdb-theme .auto-eq-panel{padding:0;border:0;background:transparent;margin:28px 0 36px;}
html body.aeqdb-theme .auto-eq-heading{align-items:center;gap:18px;}
html body.aeqdb-theme .auto-eq-heading>div{flex:1 1 320px;}
html body.aeqdb-theme .auto-eq-heading h2{font-size:clamp(22px,2.2vw,28px);line-height:1.25;margin:6px 0 8px;}
html body.aeqdb-theme .auto-eq-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.6;}
html body.aeqdb-theme .auto-eq-heading label{min-width:0;max-width:100%;font-size:12px;color:var(--muted);}
html body.aeqdb-theme .auto-eq-heading select{display:block;margin-top:6px;max-width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);}
html body.aeqdb-theme #auto-eq-status{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 18px;}
html body.aeqdb-theme :is(#auto-eq-results,#results){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;}
html body.aeqdb-theme :is(#auto-eq-results .auto-card,#results .preset){display:flex;flex-direction:column;position:relative;isolation:isolate;min-width:0;margin:0;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:none;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background-color .18s ease;}
html body.aeqdb-theme .auto-card .auto-card-meta{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;}
html body.aeqdb-theme :is(.auto-card,#results .preset) h3{font-size:22px;line-height:1.25;margin:0 0 12px;color:var(--ink);}
html body.aeqdb-theme .auto-card .auto-card-description{font-size:14px;line-height:1.65;margin:0 0 24px;color:var(--muted);max-width:38ch;}
html body.aeqdb-theme .auto-card .auto-card-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line);}
html body.aeqdb-theme .auto-card .auto-rating{font-size:12px;margin:0;color:var(--muted)!important;}
html body.aeqdb-theme .auto-card .auto-rating[data-rated=true]{color:var(--ink)!important;}
html body.aeqdb-theme .auto-card .auto-card-open{display:inline-flex;align-items:center;min-height:40px;padding:0;margin:0;background:transparent;color:var(--cyan);border:0;border-radius:0;font-size:13px;font-weight:600;box-shadow:none;text-decoration:none;}
html body.aeqdb-theme .auto-card .auto-card-open::after{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit;}
html body.aeqdb-theme .auto-card .auto-card-open:focus-visible{outline:none;}
html body.aeqdb-theme .auto-card .auto-card-open:focus-visible::after{outline:2px solid var(--cyan);outline-offset:3px;}
html body.aeqdb-theme .auto-eq-panel>p:last-child{font-size:13px;margin:18px 0 0;}
html body.aeqdb-theme .auto-eq-panel>p:last-child a{color:var(--cyan);}
html body.aeqdb-theme #results .preset>p{font-size:13px;line-height:1.6;margin:0 0 10px;color:var(--muted);}
html body.aeqdb-theme #results .preset details{margin:8px 0 18px;font-size:13px;}
html body.aeqdb-theme #results .preset details :is(p,pre){white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;}
html body.aeqdb-theme #results .preset>footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:auto;padding:16px 0 0;border-top:1px solid var(--line);background:transparent;}
html body.aeqdb-theme .hall-head{margin-top:24px;}
@media(hover:hover){html body.aeqdb-theme :is(#auto-eq-results .auto-card,#results .preset):hover{transform:translateY(-3px);border-color:var(--cyan);background:var(--panel-2);}}
@media(max-width:680px){html body.aeqdb-theme .auto-eq-heading>div{flex-basis:100%;}html body.aeqdb-theme .auto-eq-heading label{display:block;margin-top:12px;}html body.aeqdb-theme :is(#auto-eq-results,#results){grid-template-columns:minmax(0,1fr);}html body.aeqdb-theme :is(#auto-eq-results .auto-card,#results .preset){padding:20px;}html body.aeqdb-theme .hero{padding-block:20px;}}
@media(prefers-reduced-motion:reduce){html body.aeqdb-theme :is(#auto-eq-results .auto-card,#results .preset){transition:none;}html body.aeqdb-theme :is(#auto-eq-results .auto-card,#results .preset):hover{transform:none;}}
