:root { --card-width: clamp(220px, 18vw, 280px); color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #060812; color: #eef2ff; overflow-y: scroll; scrollbar-gutter: stable; }
.shell { width: 100%; margin: 0; padding: 28px 0 48px; }
.content { width: 100%; padding: 0 clamp(18px, 3vw, 40px); }
.topbar { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 28px; }
.brand-wrap { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.menu-button { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; padding: 0; border: 0; background: transparent; color: #eef2ff; font-family: inherit; font-size: 28px; font-weight: 400; line-height: 1; cursor: pointer; transform: translateY(.16em); }
.menu-button:hover { color: #dbeafe; }
.menu-button:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 4px; border-radius: 6px; }
.brand { font-weight: 900; letter-spacing: -.05em; font-size: 28px; }
.pill { display: none; }
.top-search { display:flex; justify-content:center; }
.top-search .controls { margin-top: 0; width: min(720px, 100%); }
.topbar, .top-search, .top-search .controls, .search-wrap, .search-wrap input, .search-clear { position: relative; z-index: 60; }
.account-menu { position: relative; z-index: 65; }
.account-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.07); color: #eef2ff; cursor: pointer; overflow: hidden; flex-shrink: 0; }
.account-button:hover { border-color: rgba(219,234,254,.34); background: rgba(255,255,255,.12); }
.account-avatar { width: 100%; height: 100%; display: grid; place-items: center; border-radius: inherit; background: linear-gradient(135deg, #2563eb, #22c55e); color: #fff; font-weight: 900; object-fit: cover; aspect-ratio: 1/1; }
.account-dropdown { position: absolute; right: 0; top: calc(100% + 10px); display: none; width: 210px; padding: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(10,14,26,.97); box-shadow: 0 18px 60px rgba(0,0,0,.36); }
.account-menu.is-open .account-dropdown { display: grid; gap: 4px; }
.account-dropdown button { min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: #eef2ff; text-align: left; padding: 0 10px; cursor: pointer; font-weight: 800; }
.account-dropdown button:hover { background: rgba(255,255,255,.08); }
.search-wrap { position: relative; flex: 1 1 320px; }
.search-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: none; }
.search-wrap.has-value .search-clear { display: grid; place-items: center; }
.search-wrap input { width: 100%; padding-right: 42px; }
.search-overlay { position: fixed; inset: 0; z-index: 50; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.search-overlay.is-open { opacity: 1; pointer-events: auto; }
.search-overlay-backdrop { position: absolute; inset: 92px 0 0 0; background: rgba(6,8,18,.72); backdrop-filter: blur(10px); }
.search-overlay-panel { position: absolute; left: clamp(18px, 3vw, 40px); right: clamp(18px, 3vw, 40px); top: 92px; bottom: clamp(18px, 3vw, 40px); overflow: auto; border-radius: 24px; background: rgba(10,14,26,.86); border: 1px solid rgba(255,255,255,.08); box-shadow: none; padding: 20px; }
.search-overlay-header { display:flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.search-overlay-title { font-size: 16px; color: #cbd5e1; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, var(--card-width)); gap: 14px; justify-content: start; }
.search-empty { color: #cbd5e1; padding: 20px 0; }
.hero { --featured-height: clamp(470px, 44vw, 620px); position: relative; min-height: 62vh; display: block; padding: 84px 0 64px; }
.hero-copy { position: absolute; left: 0; bottom: 86px; z-index: 6; display: flex; flex-direction: column; justify-content: flex-end; width: min(760px, calc(100% - 40px)); height: min(420px, calc(var(--featured-height) - 120px)); min-height: 0; pointer-events: none; }
.hero-copy a,
.hero-copy button { pointer-events: auto; }
h1 { margin: 0; font-size: clamp(46px, 8vw, 96px); line-height: .92; max-width: 10ch; }
.lead { max-width: 720px; color: #cbd5e1; font-size: 18px; line-height: 1.6; margin: 18px 0 0; }
.hero-copy h1,
.hero-copy .lead { transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease; }
.hero-copy.is-out h1,
.hero-copy.is-out .lead { opacity: 0; transform: translateY(-16px); filter: blur(2px); }
.hero-copy.is-in h1,
.hero-copy.is-in .lead { opacity: 1; transform: translateY(0); filter: blur(0); }
.featured-stage { position: relative; display: block; overflow: hidden; height: var(--featured-height); min-height: 0; text-decoration: none; color: inherit; background: transparent; }
.featured-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(6,8,18,1) 0%,
    rgba(6,8,18,.92) 8%,
    rgba(6,8,18,.66) 18%,
    rgba(6,8,18,.22) 34%,
    rgba(6,8,18,0) 62%,
    rgba(6,8,18,.38) 88%,
    rgba(6,8,18,.92) 100%);
  opacity: .98;
  z-index: 2;
}
.featured-stage::after { content: none; }
.featured-stage-track { display: flex; align-items: stretch; gap: 18px; height: 100%; padding: 0 7%; transition: transform 720ms cubic-bezier(.22,.8,.22,1); will-change: transform; }
.featured-stage-slide { position: relative; flex: 0 0 86%; overflow: hidden; border-radius: 24px; background: center/cover no-repeat; filter: saturate(.98) contrast(.96); box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.featured-stage-slide > img,
.thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: .92; display: block; }
.featured-stage .badge { display: inline-flex; width: fit-content; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.featured-stage h2 { display: none; }
.featured-desc-scroll { max-width: 72ch; width: 100%; flex: 0 0 auto; height: clamp(150px, 16vh, 210px); min-height: 0; overflow: hidden; position: relative; margin-bottom: 12px; align-self: stretch; }
.featured-title-wrap { flex: 0 0 auto; margin-top: 12px; }
.featured-type-wrap { flex: 0 0 auto; }
.featured-type-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-top: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(6,8,18,.78), rgba(6,8,18,.58) 72%, rgba(6,8,18,0));
  box-shadow: 0 14px 36px rgba(0,0,0,.34);
  backdrop-filter: blur(8px);
}
.featured-type-action > .slide-wrap {
  display: inline-flex;
  align-items: center;
  height: 34px;
}
.featured-categories-wrap {
  min-width: 0;
  flex: 0 1 auto;
  height: 34px;
}
.featured-categories {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.featured-categories-list {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.featured-category-chip {
  flex: 0 0 auto;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.featured-categories-toggle {
  display: none;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(219,234,254,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.featured-categories.has-overflow .featured-categories-toggle { display: inline-flex; align-items: center; justify-content: center; }
.featured-categories.is-expanded { align-items: flex-start; }
.featured-categories.is-expanded .featured-categories-list {
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
}
.featured-categories.is-expanded .featured-categories-toggle { transform: rotate(45deg); }
.featured-type-inline {
  display: inline-flex;
  align-items: center;
  margin: 0;
  line-height: 1;
}
.featured-stage p { margin: 0; color: #dbeafe; font-size: 16px; line-height: 1.55; transition: opacity 700ms ease, transform 700ms ease; max-width: 58ch; }
.featured-desc-scroll.is-scrollable { mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%); }
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(6,8,18,.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.play-button:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); border-color: rgba(219,234,254,.22); color: #f8fafc; box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 28px rgba(6,8,18,.26); }
.play-button:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 3px; }
.featured-info-button { font-size: 20px; font-weight: 400; cursor: pointer; }
.featured-timeline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 5;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.featured-progress {
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.featured-progress-fill {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(219,234,254,.72), rgba(255,255,255,.92));
}
.featured-timeline.is-running .featured-progress-fill {
  animation: featuredProgress var(--featured-duration, 15000ms) linear forwards;
}
.featured-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.featured-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(219,234,254,.45);
  border-radius: 999px;
  background: rgba(219,234,254,.12);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.featured-dot:hover { transform: scale(1.18); border-color: rgba(248,250,252,.8); }
.featured-dot.is-active { background: #eef2ff; border-color: #eef2ff; }
.featured-dot:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 4px; }
@keyframes featuredProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-copy .slide-wrap { overflow: hidden; }
.featured-type-action,
.hero-copy .slide-title,
.hero-copy .slide-desc { display: block; transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease; }
.featured-type-action { display: flex; }
.hero-copy.is-out .featured-type-action,
.hero-copy.is-out .slide-title,
.hero-copy.is-out .slide-desc { opacity: 0; filter: blur(2px); transform: translateY(-16px); }
.hero-copy.is-in .featured-type-action,
.hero-copy.is-in .slide-title,
.hero-copy.is-in .slide-desc { opacity: 1; filter: blur(0); transform: translateY(0); }
.controls { display:flex; gap:12px; flex-wrap: wrap; margin-top: 20px; }
input { flex: 1 1 320px; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(15,23,42,.7); color: #fff; }
.btn { min-height: 48px; padding: 0 18px; border: 0; border-radius: 14px; background: #ef4444; color: white; font-weight: 700; cursor: pointer; transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.btn:hover { background: #f87171; box-shadow: 0 10px 28px rgba(239,68,68,.24); transform: translateY(-1px); }
.section { margin-top: 28px; }
.section h2 { margin: 0 0 14px; font-size: 20px; }
.section-title-button { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 14px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.section-title-button::after { content: "›"; color: #93c5fd; font-size: 1.15em; opacity: .72; transition: transform 180ms ease, opacity 180ms ease; }
.section-title-button:hover::after { opacity: 1; transform: translateX(.12rem); }
.section-title-button:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 4px; border-radius: 6px; }
.slider { position: relative; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-width); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; justify-content: start; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.category-row { grid-auto-columns: clamp(190px, 17vw, 260px); }
.slider::before,
.slider::after { content: ""; position: absolute; top: 0; bottom: 8px; width: clamp(42px, 6vw, 86px); z-index: 4; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.slider::before { left: 0; background: linear-gradient(90deg, rgba(6,8,18,.96), rgba(6,8,18,0)); }
.slider::after { right: 0; background: linear-gradient(270deg, rgba(6,8,18,.96), rgba(6,8,18,0)); }
.slider.can-scroll-left::before,
.slider.can-scroll-right::after { opacity: 1; }
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(6,8,18,.72);
  color: #eef2ff;
  font-size: 1.6rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.slider-arrow:hover { background: rgba(15,23,42,.9); border-color: rgba(219,234,254,.32); }
.slider-arrow:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 3px; }
.slider-arrow-left { left: .25rem; }
.slider-arrow-right { right: .25rem; }
.slider.can-scroll-left .slider-arrow-left,
.slider.can-scroll-right .slider-arrow-right { display: grid; }
.card { scroll-snap-align: start; position: relative; min-height: 240px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); text-decoration: none; color: inherit; transition: border-color 220ms ease, box-shadow 220ms ease; }
.card::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(6,8,18,.36); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.card:hover,
.card:focus-within { border-color: rgba(255,255,255,.28); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 30px rgba(255,255,255,.16); }
.card:hover::after,
.card:focus-within::after { opacity: 1; }
.card-actions { position: absolute; left: 50%; top: 50%; z-index: 3; display: flex; gap: .75rem; opacity: 0; transform: translate(-50%, -48%); transition: opacity 180ms ease, transform 180ms ease; }
.card:hover .card-actions,
.card:focus-within .card-actions { opacity: 1; transform: translate(-50%, -50%); }
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(6,8,18,.76);
  color: #eef2ff;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.card-info { font-size: 2rem; font-weight: 400; }
.card-action:hover { background: rgba(15,23,42,.9); border-color: rgba(219,234,254,.32); }
.card-action.is-active { background: #eef2ff; color: #060812; }
.card-action:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 3px; }
.category-tile {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.category-tile:hover { border-color: rgba(219,234,254,.24); background: rgba(255,255,255,.08); }
.category-tile:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 3px; }
.category-tile h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.1; }
.category-tile p { margin: 0; color: #cbd5e1; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-count { display: inline-flex; margin-top: 16px; color: #93c5fd; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.thumb { position:absolute; inset:0; background: linear-gradient(135deg, rgba(59,130,246,.65), rgba(168,85,247,.45)); }
.thumb::after { content: attr(data-label); position: absolute; inset: auto 18px 18px; font-size: 56px; opacity: .95; }
.meta { position:absolute; inset:auto 0 0; padding: 62px 18px 18px; background: linear-gradient(180deg, rgba(6,8,18,0) 0%, rgba(6,8,18,.64) 42%, rgba(6,8,18,.95) 100%); }
.meta h3 { margin: 0 0 6px; font-size: 20px; text-shadow: 0 2px 14px rgba(0,0,0,.72); }
.meta p { margin: 0; color: #dbeafe; font-size: 14px; line-height: 1.45; text-shadow: 0 2px 12px rgba(0,0,0,.72); }
.empty { padding: 18px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.16); color: #cbd5e1; }
.category-overlay { position: fixed; inset: 0; z-index: 70; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.category-overlay.is-open { opacity: 1; pointer-events: auto; }
.category-overlay-backdrop { position: absolute; inset: 0; background: rgba(6,8,18,.72); backdrop-filter: blur(10px); }
.category-overlay-panel { position: absolute; left: clamp(18px, 3vw, 40px); right: clamp(18px, 3vw, 40px); top: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 40px); overflow: auto; border-radius: 24px; background: rgba(10,14,26,.92); border: 1px solid rgba(255,255,255,.08); padding: clamp(20px, 3vw, 34px); }
.category-overlay-header { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; margin-bottom: 22px; }
.category-breadcrumb { display: none; align-items: center; gap: .45rem; margin-bottom: 12px; color: #93c5fd; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.category-breadcrumb.is-visible { display: flex; }
.category-breadcrumb button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.category-breadcrumb button:hover { color: #dbeafe; }
.category-breadcrumb-current { color: #cbd5e1; }
.category-overlay-title { margin: 0 0 10px; font-size: clamp(32px, 5vw, 64px); line-height: .95; }
.section-title-row { display: flex; align-items: center; gap: 12px; }
.section-edit-button { display: none; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.08); color: #eef2ff; font-size: 17px; cursor: pointer; }
.section-edit-button.is-visible { display: grid; }
.section-edit-button:hover { border-color: rgba(219,234,254,.28); background: rgba(255,255,255,.14); }
.category-overlay-description { max-width: 72ch; margin: 0; color: #cbd5e1; font-size: 16px; line-height: 1.6; }
.category-overlay-close { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.category-overlay-close:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 3px; }
.category-overlay-results { display: grid; grid-template-columns: repeat(auto-fill, var(--card-width)); gap: 14px; justify-content: start; }
.section-overlay-results { display: grid; grid-template-columns: repeat(auto-fill, var(--card-width)); gap: 14px; justify-content: start; }
.section-overlay-results .category-tile { min-height: 150px; }
.item-overlay { position: fixed; inset: 0; z-index: 80; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.item-overlay.is-open { opacity: 1; pointer-events: auto; }
.item-overlay-backdrop { position: absolute; inset: 0; background: rgba(6,8,18,.78); backdrop-filter: blur(10px); }
.item-overlay-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(920px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow: auto; border-radius: 24px; background: rgba(10,14,26,.94); border: 1px solid rgba(255,255,255,.08); }
.item-overlay-banner { position: relative; min-height: clamp(220px, 32vw, 360px); background: center/cover no-repeat; }
.item-overlay-banner::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, rgba(10,14,26,0), rgba(10,14,26,.98)); }
.item-overlay-close { position: absolute; right: 16px; top: 16px; z-index: 2; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(6,8,18,.72); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.item-overlay-body { padding: 0 clamp(20px, 3vw, 34px) clamp(22px, 3vw, 34px); margin-top: -58px; position: relative; z-index: 1; }
.item-overlay-title { margin: 0 0 12px; font-size: clamp(34px, 5vw, 64px); line-height: .95; }
.item-overlay-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.item-overlay-type,
.item-overlay-category { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.06); color: #dbeafe; font-size: 12px; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .06em; }
.item-overlay-description { max-width: 78ch; margin: 0 0 24px; color: #dbeafe; font-size: 16px; line-height: 1.65; }
.item-overlay-cta { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px; background: #eef2ff; color: #060812; font-weight: 900; text-decoration: none; }
.item-overlay-cta:hover { background: #dbeafe; }
.item-overlay-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: -8px; margin-bottom: 22px; }
.item-secondary-action { min-height: 42px; padding: 0 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.07); color: #eef2ff; font-weight: 800; cursor: pointer; }
.item-secondary-action:hover { border-color: rgba(219,234,254,.28); background: rgba(255,255,255,.12); }
.item-secondary-action.is-active { background: #eef2ff; color: #060812; }
.item-overlay-actions .item-secondary-action { display: inline-grid; place-items: center; width: 42px; height: 42px; min-height: 42px; padding: 0; font-size: 19px; line-height: 1; }
#auth-overlay, #profile-overlay, #list-edit-overlay { z-index: 100; }
#auth-overlay .category-overlay-panel { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(390px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow: auto; border-radius: 18px; padding: 22px; background: rgba(10,14,26,.97); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
#auth-overlay .category-overlay-header { align-items: center; margin-bottom: 18px; }
#auth-overlay .category-overlay-title { margin: 0; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
#auth-overlay .category-overlay-close { width: 34px; height: 34px; font-size: 22px; }
#profile-overlay .category-overlay-panel { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow: auto; border-radius: 18px; padding: 22px; background: rgba(10,14,26,.97); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
#profile-overlay .category-overlay-header { align-items: center; margin-bottom: 18px; }
#profile-overlay .category-overlay-title { margin: 0; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
#profile-overlay .category-overlay-close { width: 34px; height: 34px; font-size: 22px; }
.profile-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.profile-avatar-preview { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; display: grid; place-items: center; background: linear-gradient(135deg, #2563eb, #22c55e); color: #fff; font-weight: 900; overflow: hidden; flex-shrink: 0; }
.profile-avatar-upload { position: relative; display: inline-block; }
.profile-avatar-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.profile-avatar-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.07); color: #eef2ff; font-size: 14px; font-weight: 700; cursor: pointer; pointer-events: none; }
.profile-avatar-upload:hover .profile-avatar-btn { border-color: rgba(219,234,254,.28); background: rgba(255,255,255,.12); }
.profile-field { position: relative; display: block; }
.profile-field input { padding-right: 48px; }
.profile-field input:disabled { opacity: .72; cursor: default; }
.profile-field-edit { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.07); color: #eef2ff; cursor: pointer; }
.profile-field-edit:hover { border-color: rgba(219,234,254,.3); background: rgba(255,255,255,.13); }
.profile-field-edit.is-active { border-color: #eef2ff; background: #eef2ff; color: #060812; }
.profile-error { min-height: 20px; color: #fecaca; font-size: 14px; }
.form-row { display: grid; gap: 14px; max-width: 460px; }
.form-group { display: grid; gap: 6px; }
.form-label { font-size: 13px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.form-row input { width: 100%; flex: auto; }
#auth-overlay .form-row input { min-height: 44px; border-radius: 12px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
#auth-overlay .form-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; }
#auth-overlay .btn { min-height: 44px; border-radius: 999px; }
#auth-overlay .item-secondary-action { transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
#list-edit-overlay .category-overlay-panel { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(620px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow: auto; border-radius: 18px; padding: 22px; background: rgba(10,14,26,.97); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
#list-edit-overlay .category-overlay-header { align-items: center; margin-bottom: 18px; }
#list-edit-overlay .category-overlay-title { margin: 0; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
#list-edit-overlay .category-overlay-close { width: 34px; height: 34px; font-size: 22px; }
.auth-error { min-height: 20px; color: #fecaca; font-size: 14px; }
.toast { position: fixed; left: 50%; top: 18px; z-index: 130; transform: translate(-50%, -16px); opacity: 0; pointer-events: none; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(10,14,26,.96); color: #eef2ff; font-size: 14px; font-weight: 800; box-shadow: 0 18px 60px rgba(0,0,0,.36); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.account-status { color: #94a3b8; font-size: 14px; margin-bottom: 16px; }
.list-manager { display: grid; gap: 14px; }
.section-overlay-results > .list-manager { grid-column: 1 / -1; width: 100%; }
.list-edit-manager { display: grid; gap: 14px; }
.list-create { display: flex; gap: 10px; flex-wrap: wrap; }
.list-create input { flex: 1 1 240px; }
#list-edit-overlay .list-create { flex-wrap: nowrap; }
#list-edit-overlay .list-create input,
#list-edit-overlay .list-search input { min-height: 42px; }
#list-edit-create-button { min-height: 42px; border-radius: 999px; background: #22c55e; color: #052e16; font-weight: 900; white-space: nowrap; }
#list-edit-create-button:hover { background: #4ade80; box-shadow: 0 10px 28px rgba(34,197,94,.22); }
.list-search input { width: 100%; min-height: 44px; }
.list-card { border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.04); overflow: hidden; }
.list-card summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; min-height: 56px; padding: 0 16px; cursor: pointer; list-style: none; }
.list-card summary::-webkit-details-marker { display: none; }
.list-card summary::after { content: "›"; color: #93c5fd; font-size: 22px; transition: transform 180ms ease; }
.list-card[open] summary::after { transform: rotate(90deg); }
.list-card h3 { margin: 0; font-size: 18px; }
.list-card-title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.list-card-count { color: #94a3b8; font-size: 13px; font-weight: 800; }
.list-card-body { padding: 0 16px 16px; }
.list-edit-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; padding: 0 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.04); }
.list-edit-row-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.list-delete-button { justify-self: end; min-height: 34px; border: 1px solid rgba(248,113,113,.3); border-radius: 999px; background: rgba(248,113,113,.1); color: #fecaca; font-weight: 800; cursor: pointer; padding: 0 12px; }
.list-delete-button:hover { background: rgba(248,113,113,.18); }
.list-edit-items { display: grid; gap: 8px; margin: -4px 0 4px; padding: 0 14px 14px; }
.list-edit-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.045); color: #dbeafe; }
.list-item-remove { min-height: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.06); color: #eef2ff; font-weight: 800; cursor: pointer; padding: 0 10px; }
.list-item-remove:hover { border-color: rgba(248,113,113,.3); background: rgba(248,113,113,.12); color: #fecaca; }
.list-picker { display: none; position: fixed; inset: 0; z-index: 95; background: rgba(6,8,18,.68); backdrop-filter: blur(8px); }
.list-picker.is-open { display: grid; place-items: center; }
.list-picker-panel { width: min(420px, calc(100vw - 36px)); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(10,14,26,.96); padding: 20px; }
.list-picker-options { display: grid; gap: 8px; margin-top: 14px; }
.list-picker-options button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.06); color: #eef2ff; text-align: left; padding: 0 12px; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.list-picker-options button:hover { border-color: rgba(74,222,128,.32); background: rgba(74,222,128,.1); transform: translateY(-1px); }
.list-picker-options button.is-active { border-color: rgba(74,222,128,.42); background: rgba(74,222,128,.16); color: #f0fdf4; }
.list-picker-options button.is-active:hover { border-color: rgba(248,113,113,.36); background: rgba(248,113,113,.14); color: #fecaca; }
.list-picker-action { margin-left: auto; color: #bbf7d0; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.list-picker-options button.is-active:hover .list-picker-action { color: #fecaca; }
.confirm-dialog { display: none; position: fixed; inset: 0; z-index: 110; background: rgba(6,8,18,.72); backdrop-filter: blur(8px); place-items: center; padding: 18px; }
.confirm-dialog.is-open { display: grid; }
.confirm-panel { width: min(420px, 100%); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(10,14,26,.97); padding: 22px; box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.confirm-title { margin: 0 0 10px; font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.confirm-message { margin: 0; color: #cbd5e1; line-height: 1.55; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.confirm-cancel,
.confirm-submit { min-height: 42px; border-radius: 999px; padding: 0 16px; font-weight: 800; cursor: pointer; }
.confirm-cancel { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); color: #eef2ff; }
.confirm-submit { border: 1px solid rgba(74,222,128,.36); background: rgba(74,222,128,.18); color: #bbf7d0; }
.confirm-submit:hover { background: rgba(74,222,128,.28); border-color: rgba(74,222,128,.48); }
.confirm-submit.is-destructive { border: 1px solid rgba(248,113,113,.36); background: rgba(248,113,113,.18); color: #fecaca; }
.confirm-submit.is-destructive:hover { background: rgba(248,113,113,.28); border-color: rgba(248,113,113,.48); }
.nav-drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.nav-drawer.is-open { pointer-events: auto; }
.nav-backdrop { position: absolute; inset: 0; background: rgba(6,8,18,.62); opacity: 0; transition: opacity 220ms ease; backdrop-filter: blur(6px); }
.nav-drawer.is-open .nav-backdrop { opacity: 1; }
.nav-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(360px, 86vw); padding: 28px; background: rgba(10,14,26,.96); border-right: 1px solid rgba(255,255,255,.08); transform: translateX(-100%); transition: transform 240ms ease; box-shadow: 24px 0 70px rgba(0,0,0,.36); }
.nav-drawer.is-open .nav-panel { transform: translateX(0); }
.nav-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.nav-title { font-weight: 900; letter-spacing: -.05em; font-size: 26px; }
.nav-close { width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.nav-links { display: grid; gap: 8px; }
.nav-separator { height: 1px; margin: 10px 0; background: rgba(255,255,255,.12); }
.nav-link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 2px; border: 0; background: transparent; color: #e2e8f0; font: inherit; font-size: 18px; font-weight: 750; text-align: left; cursor: pointer; }
.nav-link::after { content: "›"; color: #93c5fd; opacity: .72; }
.nav-link:hover { color: #fff; }
.nav-link:focus-visible,
.nav-close:focus-visible { outline: 2px solid rgba(219,234,254,.95); outline-offset: 3px; border-radius: 8px; }
