/* Music Save: original shell, glow and motion rules from exact/home.full.css. */
@property --ring-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
.search-shell{position:relative;isolation:isolate;border-radius:40px}.search-halo{position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:.3;transition:opacity .6s ease}.search-halo:before{content:'';position:absolute;inset:-3px -5px;border-radius:999px;background:linear-gradient(100deg,#5138ff12,#5138ffb0 38%,#5138ff80 68%,#5138ff15);filter:blur(17px);will-change:opacity,transform;animation:brand-breathe 5.5s ease-in-out infinite}
.search-outline{position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;filter:drop-shadow(0 0 3px #5138ff90);opacity:.85;transition:opacity .6s ease}.search-outline:before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;background:conic-gradient(from var(--ring-angle),#5138ff16 0deg,#a89bffc9 65deg,#5138ffb0 100deg,#5138ff16 150deg,#5138ff16 230deg,#8067ffc9 295deg,#5138ff16 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;animation:ring-turn 8s linear infinite}
.search-shell:focus-within .search-halo{opacity:0}.search-shell:focus-within .search-outline{opacity:.4}
@keyframes brand-breathe{0%,100%{opacity:.36;transform:translateY(3px) scale(.98,.9)}50%{opacity:.85;transform:translateY(5px) scale(1.025,1.12)}}
@keyframes ring-turn{to{--ring-angle:360deg}}
@media(prefers-reduced-motion:reduce){.search-halo:before{animation:none;opacity:.5;transform:none;will-change:auto}.search-outline:before{animation:none}}
@property --shell-accent{syntax:'<color>';inherits:true;initial-value:#5138FF}
.search-area{height:134px}.search-shell{--shell-accent:#5138FF;--shell-ink:#fff;background:#111526;border:1px solid #ffffff12;transition:height .6s cubic-bezier(.2,.8,.2,1),border-radius .6s cubic-bezier(.2,.8,.2,1),--shell-accent .6s ease;overflow:visible}.search-shell.expanded{border-radius:24px}
.search-outline:before{background:conic-gradient(from var(--ring-angle),transparent 0deg,color-mix(in srgb,var(--shell-accent) 80%,white) 65deg,var(--shell-accent) 100deg,transparent 150deg,transparent 230deg,var(--shell-accent) 295deg,transparent 360deg)}.search-halo:before{background:linear-gradient(100deg,transparent,color-mix(in srgb,var(--shell-accent) 70%,transparent) 38%,color-mix(in srgb,var(--shell-accent) 50%,transparent) 68%,transparent)}
@property --status-fill{syntax:'<percentage>';inherits:false;initial-value:0%}
.search-shell{--shell-motion:.6s cubic-bezier(.2,.8,.2,1);--status-fill:0%;background:color-mix(in srgb,var(--shell-accent) var(--status-fill),#111526);transition:height var(--shell-motion),border-radius var(--shell-motion),--shell-accent .6s ease,--status-fill .6s ease,border-color .6s ease}
.search-outline{filter:drop-shadow(0 0 3px color-mix(in srgb,var(--shell-accent) 56%,transparent))}
.feedback-window{position:absolute;inset:var(--search-controls-height,60px) 0 0;overflow:hidden;border-radius:0 0 23px 23px;opacity:0;transition:opacity .3s ease .06s}.search-shell.expanded .feedback-window{opacity:1}
/* Artwork material from the Save search shell. The same surface surrounds the entire dialog. */
.search-artwork{position:absolute;inset:0;border-radius:inherit;overflow:hidden;z-index:-1;opacity:0;pointer-events:none;transition:opacity .6s ease}
.search-artwork img{width:100%;height:100%;object-fit:cover;filter:blur(30px) saturate(1.3);transform:scale(1.25)}
.search-artwork:after{content:'';position:absolute;inset:0;background:linear-gradient(145deg,#090c1690,#090c16dd)}
.search-shell.has-artwork .search-artwork{opacity:1}
.search-shell.has-artwork .search-halo{opacity:.45}
.search-shell.has-artwork .search-outline{opacity:.9}

/* Save search_widget and home.full.css. The primary control keeps both labels mounted. */
@property --control-tint { syntax: '<color>'; inherits: true; initial-value: #5138ff; }
@property --control-fill { syntax: '<number>'; inherits: true; initial-value: 1; }
.search-form input::-webkit-search-cancel-button { appearance: none; -webkit-appearance: none; }
.search-form input::-ms-clear { display: none; }
.search-symbol { display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: #a8b0c9; }
.search-form .find {
  --control-tint: #5138ff;
  --control-fill: 1;
  --glass-tint: var(--control-tint);
  --glass-fill: var(--control-fill);
  flex: none;
  width: 104px;
  height: 44px;
  padding: 0;
  font-size: 12px;
  transition: width .6s cubic-bezier(.2,.8,.2,1), border-radius .6s ease,
    --control-tint .6s ease, --control-fill .6s ease, border-color .6s ease, box-shadow .6s ease;
}
.search-form .find > .icon {
  position: absolute; top: calc(50% - 9.5px); left: 16px;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.find .find-label {
  position: absolute; left: 43px;
  transition: opacity .4s ease, transform .6s ease;
}
.find .button-label {
  position: absolute; display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(6px); white-space: nowrap;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.search-form .find.clear-action {
  --control-tint: white; --control-fill: .1; width: 124px;
  border-color: color-mix(in srgb, var(--glass-tint) 15%, transparent);
}
.find.clear-action > .icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.find.clear-action .find-label { opacity: 0; transform: translateY(-6px); }
.find.clear-action .button-label { opacity: 1; transform: none; }
.feedback {
  padding: 0 9px 9px; max-height: min(360px, 43dvh); overflow: auto;
  overscroll-behavior: contain;
}
.feedback, #search-dialog { scrollbar-width: none; }
.feedback::-webkit-scrollbar, #search-dialog::-webkit-scrollbar { display: none; }
.search-result, .result-info { display: flex; align-items: center; gap: 12px; }
.search-result { padding-top: 12px; }
.result-info { flex: 1; min-width: 0; border-radius: 5px; }
.result-info > span { min-width: 0; }
.result-cover { width: 58px; height: 58px; object-fit: cover; flex: none; border-radius: 10px; background: #ffffff07; }
.result-title, .result-meta { display: block; line-height: 1.25; }
.result-title { font-size: 16px; font-weight: 650; }
.result-meta { margin-top: 3px; font-size: 11px; color: #a6adc4; }
.feedback .result-read { padding-inline: 13px; }
.search-offer { margin: 13px 0 0; text-align: center; color: #aeb5c9; opacity: .62; transition: opacity .2s ease; }
.search-offer:focus-within { opacity: .9; }
@media (hover: hover) and (pointer: fine) { .search-offer:hover { opacity: .9; } }
.search-offer-label { margin: 0 0 6px; font-size: 12px; line-height: 1.4; }
.search-tab {
  display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 11px;
  border: 1px solid #ffffff1d; border-radius: 999px; background: #ffffff07; color: #c8cede;
  font-size: 11px; line-height: 1.5; white-space: nowrap; transition: background .2s, border-color .2s;
}
.search-tab:hover { background: #ffffff12; border-color: #ffffff35; }
.search-notice { text-align: center; color: #f3bac3; overflow-wrap: anywhere; padding-top: 12px; font-size: 13px; }
.search-history-label { margin: 8px 9px 5px; color: #9098ae; font-size: 11px; }
.history-query, .history-clear { border: 0; background: transparent; font-family: inherit; }
.history-query { display: block; width: 100%; padding: 9px; border-radius: 12px; text-align: left; color: #d1d5e2; font-size: 13px; }
.history-query:is(:hover,:focus-visible) { background: #ffffff09; }
.history-clear { display: block; margin: 5px auto 0; padding: 5px 10px; color: #858da4; font-size: 11px; }
@media (max-width: 600px) {
  .search-form .find:not(.clear-action) { width: 44px; }
  .search-form .find > .icon { left: calc(50% - 9.5px); }
  .find .find-label { display: none; }
  .result-cover { width: 48px; height: 48px; }
  .result-title { font-size: 14px; }
  .search-result, .result-info { gap: 10px; }
  .search-tab { min-height: 30px; }
  .feedback .result-read { width: 44px; padding: 0; }
  .result-read span { display: none; }
}
@media (max-width: 360px) {
  .result-cover { width: 42px; height: 42px; }
  .result-title { font-size: 13px; }
}
