*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none !important; }
:root { color-scheme:dark; }
body[data-page="search"] { min-height:100svh; margin:0; background:radial-gradient(ellipse 64rem 23rem at 50% 0%,rgb(242 181 92 / .1),transparent),#09090b; color:#f7f7f8; font-family:"Space Grotesk",system-ui,sans-serif; }
.site-header { position:fixed; z-index:50; top:8px; inset-inline:0; height:58px; pointer-events:none; }
body[data-page="search"] .header-inner { display:flex; width:60%; height:58px; align-items:center; margin:auto; padding:0 16px; gap:8px; pointer-events:auto; }
body[data-page="search"] .header-brand { margin-inline-end:auto; }
body[data-page="search"] .header-brand .logo,.header-icon { display:grid; width:38px; height:38px; place-items:center; text-decoration:none; }
.header-icon { border-radius:50%; color:rgb(255 255 255 / .75); }
.header-icon:hover,.header-icon[aria-current="page"] { background:rgb(255 255 255 / .09); color:#fff; }
body[data-page="search"] .header-brand .logo i { color:var(--cinema-amber,#f59e0b); font-size:18px; }
.title-search-main { width:min(1420px,100%); margin:0 auto; padding:94px 40px 112px; }
.title-search-back { display:inline-flex; align-items:center; gap:9px; margin-bottom:18px; color:#a5a8ae; font-size:12px; text-decoration:none; transition:color .2s ease; }
.title-search-back:hover { color:#fff; }
.title-search-intro { width:min(900px,100%); margin:0 auto 32px; text-align:center; }
.title-search-intro h1 { margin:0 0 18px; font-size:clamp(24px,2.8vw,36px); font-weight:600; line-height:1.15; letter-spacing:-.045em; }
.title-search-form { display:flex; position:relative; width:100%; min-height:76px; align-items:center; gap:15px; padding:10px 12px 10px 25px; border:1px solid rgb(255 255 255 / .18); border-radius:22px; background:linear-gradient(120deg,rgb(255 255 255 / .065),rgb(255 255 255 / .025)); box-shadow:0 12px 40px rgb(0 0 0 / .18),inset 0 1px rgb(255 255 255 / .025); transition:border-color .22s ease,box-shadow .22s ease; }
.title-search-form:focus-within { border-color:rgb(239 189 102 / .65); box-shadow:0 0 0 4px rgb(239 189 102 / .055),0 12px 40px rgb(0 0 0 / .18); }
.title-search-form > i { flex:none; color:#858b95; font-size:21px; }
.title-search-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.title-search-form input { flex:1; min-width:0; height:52px; border:0; outline:none; background:transparent; color:#fff; font:400 19px/1.4 "Space Grotesk",system-ui,sans-serif; }
.title-search-form input::placeholder { color:#737983; }
.title-search-form input::-webkit-search-cancel-button { display:none; }
.title-search-form button { display:grid; flex:none; place-items:center; padding:0; cursor:pointer; }
.title-search-clear { width:32px; height:36px; border:0; border-radius:10px; background:transparent; color:#969ca5; font-size:15px; }
.title-search-clear:hover { background:rgb(255 255 255 / .06); color:#fff; }
.title-search-submit { width:52px; height:52px; border:1px solid rgb(255 255 255 / .13); border-radius:15px; background:rgb(255 255 255 / .08); color:#efc77f; font-size:21px; transition:background .2s ease; }
.title-search-submit:hover { background:rgb(239 189 102 / .15); }
.title-search-filters { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:19px; }
.title-search-filters button { display:inline-flex; min-height:39px; align-items:center; gap:8px; padding:0 19px; border:1px solid rgb(255 255 255 / .12); border-radius:999px; background:transparent; color:#989da7; font:500 12px/1.2 "Space Grotesk",system-ui,sans-serif; cursor:pointer; transition:color .2s ease,background .2s ease,border-color .2s ease; }
.title-search-filters button:hover { color:#fff; border-color:rgb(255 255 255 / .3); }
.title-search-filters button[aria-pressed="true"] { border-color:#eee; background:#eee; color:#101216; }
.title-search-results-section { padding-top:26px; border-top:1px solid rgb(255 255 255 / .085); }
.title-search-results-heading { display:flex; min-height:25px; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.title-search-results-heading h2 { margin:0; color:#c2c5cb; font-size:13px; font-weight:500; }
.title-search-results-heading > span { color:#777e89; font-size:12px; white-space:nowrap; }
.title-search-correction { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 12px; margin:0 0 20px; color:#a7aeb8; font-size:12px; line-height:1.7; }
.title-search-correction strong { color:#e7d0a4; font-weight:500; unicode-bidi:isolate; }
.title-search-correction button { padding:0; border:0; border-bottom:1px dotted rgb(255 255 255 / .25); background:transparent; color:#8993a1; font:inherit; text-align:start; cursor:pointer; }
.title-search-correction button:hover { color:#fff; }
.title-search-correction button strong { color:inherit; }
.title-search-status { margin:0; color:#969ca7; font-size:13px; line-height:1.7; }
.title-search-status:empty { display:none; }
.title-search-results { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:start; gap:30px 20px; }
.title-search-card { position:relative; min-width:0; }
.title-search-card-link { display:block; color:#fff; text-decoration:none; }
.title-search-poster { position:relative; display:grid; aspect-ratio:2/3; overflow:hidden; place-items:center; border:1px solid rgb(255 255 255 / .11); border-radius:15px; background:linear-gradient(140deg,#242a32,#13171d); color:#707783; }
.title-search-poster > i { font-size:28px; }
.title-search-poster img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.22,.61,.36,1); }
.title-search-card-link:hover img { transform:scale(1.045); }
.title-search-poster::after { position:absolute; inset:0; content:""; pointer-events:none; background:linear-gradient(180deg,transparent 70%,rgb(0 0 0 / .3)); }
.title-search-card h3 { display:-webkit-box; margin:12px 0 6px; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; color:#f0f1f3; font-size:14px; font-weight:500; line-height:1.45; }
.title-search-meta { display:flex; flex-wrap:wrap; gap:5px 7px; color:#868d98; font-size:10px; line-height:1.6; }
.title-search-rating { margin-inline-start:auto; color:#c9b58e; }
.title-search-rating i { margin-inline-end:4px; font-size:9px; }
.title-search-save { position:absolute; z-index:2; top:9px; inset-inline-end:9px; display:grid; width:33px; height:33px; place-items:center; border:1px solid rgb(255 255 255 / .24); border-radius:50%; background:rgb(12 14 17 / .75); color:#fff; cursor:pointer; backdrop-filter:blur(12px); transition:background .2s ease; }
.title-search-save[aria-pressed="true"] { background:#efc77f; color:#16120d; }
.title-search-empty { padding:44px 20px 34px; text-align:center; }
.title-search-empty-icon { display:grid; width:68px; height:68px; place-items:center; margin:0 auto 19px; border:1px solid rgb(255 255 255 / .1); border-radius:22px; background:rgb(255 255 255 / .025); color:#7a828e; font-size:23px; }
.title-search-empty h3 { margin:0 0 10px; font-size:21px; font-weight:500; }
.title-search-empty p { color:#8e95a0; font-size:13px; line-height:1.7; }
.title-search-actions { display:flex; justify-content:center; margin-top:32px; }
.title-search-actions button { display:inline-flex; min-height:46px; align-items:center; gap:11px; padding:0 24px; border:1px solid rgb(255 255 255 / .2); border-radius:999px; background:rgb(255 255 255 / .055); color:#ddd; font:500 12px "Space Grotesk",system-ui,sans-serif; cursor:pointer; }
.title-search-actions button:disabled { cursor:wait; opacity:.55; }
.title-search-skeleton > div { aspect-ratio:2/3; border:1px solid rgb(255 255 255 / .05); border-radius:15px; background:linear-gradient(110deg,#161a21 25%,#202630 45%,#161a21 65%); background-size:240% 100%; animation:title-search-loading 1.7s ease-in-out infinite; }
.title-search-skeleton::after { display:block; width:65%; height:10px; margin-top:15px; border-radius:4px; background:#1c212a; content:""; }
.title-search-main a:focus-visible,.title-search-main button:focus-visible { outline:2px solid #efc77f; outline-offset:4px; }
body[data-page="search"] .title-search-bottom-nav > :first-child { border-color:transparent; background:transparent; color:rgb(255 255 255 / .78); }
.title-search-bottom-nav .saved-nav-link { display:flex; justify-content:center; gap:8px; font-size:12px; }
.title-search-bottom-nav .saved-nav-link i { font-size:16px; }
@keyframes title-search-loading { to { background-position:-180% 0; } }
@media (min-width:561px) {
  .title-search-form { max-width:600px; min-height:56px; margin-inline:auto; gap:12px; padding:6px 7px 6px 17px; border-radius:18px; }
  .title-search-form > i { font-size:18px; }
  .title-search-form input { height:42px; font-size:16px; }
  .title-search-submit { width:42px; height:42px; border-radius:12px; font-size:18px; }
  .title-search-clear { width:28px; height:32px; font-size:13px; }
  .title-search-filters { gap:7px; margin-top:14px; }
  .title-search-filters button { min-height:34px; gap:7px; padding-inline:16px; font-size:11px; }
}
@media (max-width:1100px) { .title-search-results { grid-template-columns:repeat(5,minmax(0,1fr)); gap:25px 16px; } }
@media (max-width:800px) { body[data-page="search"] .header-inner { width:96%; } .title-search-main { padding:88px 25px 110px; } .title-search-results { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px 14px; } }
@media (max-width:560px) {
  body[data-page="search"] .site-header { top:7px; }
  body[data-page="search"] .header-inner { width:calc(100% - 18px); height:50px; padding:0 11px; gap:5px; }
  body[data-page="search"] .header-icon { width:34px; height:34px; }
  body[data-page="search"] .header-inner > .header-icon-link { flex-basis:34px; }
  body[data-page="search"] .header-brand .logo { gap:7px; }
  body[data-page="search"] { padding-bottom:0; }
  .title-search-main { padding:77px 20px 98px; }
  .title-search-back { margin-bottom:15px; font-size:11px; }
  .title-search-intro { margin-bottom:22px; }
  .title-search-intro h1 { font-size:clamp(23px,5.8vw,29px); }
  .title-search-form { min-height:62px; gap:10px; padding:7px 8px 7px 15px; border-radius:18px; }
  .title-search-form > i { font-size:17px; }
  .title-search-form input { height:44px; font-size:16px; }
  .title-search-submit { width:42px; height:42px; border-radius:12px; font-size:18px; }
  .title-search-clear { width:23px; font-size:13px; }
  .title-search-filters { gap:7px; margin-top:15px; }
  .title-search-filters button { min-height:36px; padding:0 16px; font-size:11px; }
  .title-search-results-section { padding-top:21px; }
  .title-search-results-heading { gap:10px; margin-bottom:20px; }
  .title-search-results-heading h2 { font-size:11px; }
  .title-search-results-heading > span { font-size:10px; }
  .title-search-results { grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 14px; }
  .title-search-card h3 { margin-top:10px; font-size:13px; }
}
@media (prefers-reduced-motion:reduce) { .title-search-main * { transition:none!important; animation:none!important; } }
