@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --ink: #f2f5ff;
  --muted: #b7bfd3;
  --line: rgba(222, 232, 255, 0.2);
  --card: rgba(17, 24, 44, 0.56);
  --card-strong: rgba(11, 17, 33, 0.78);
  --orange: #ffb45a;
  --blue: #b6ddff;
  --orange-soft: rgba(255, 136, 46, 0.3);
  --blue-soft: rgba(122, 190, 255, 0.28);
  --theme-gradient: linear-gradient(105deg, #ffd58d 6%, #ff9d43 38%, #d6eeff 68%, #8fc9ff 100%);
  --theme-gradient-soft: linear-gradient(110deg, rgba(255, 172, 81, 0.22), rgba(156, 211, 255, 0.24));
  --surface-gradient: linear-gradient(140deg, rgba(255, 165, 75, 0.12), rgba(126, 193, 255, 0.12));
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #6f89b6 rgba(10, 16, 31, 0.75);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(8, 12, 22, 0.85);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6b87b4, #415678);
  border-radius: 999px;
  border: 2px solid rgba(8, 12, 22, 0.85);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8aa9dc, #59729b);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 158, 66, 0.14), transparent 35%),
    radial-gradient(circle at 84% 74%, rgba(129, 194, 255, 0.14), transparent 36%),
    #040812;
  overflow-x: hidden;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

input#search:-webkit-autofill,
input#search:-webkit-autofill:hover,
input#search:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(8, 12, 22, 0.92) inset;
  -webkit-text-fill-color: var(--ink);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.sun,
.moon {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(1px);
  will-change: transform;
}

.sun {
  top: 4%;
  left: 4%;
  background:
    radial-gradient(circle at 32% 28%, #fff7df 0 11%, transparent 11.5%),
    radial-gradient(circle at 64% 42%, rgba(255, 167, 72, 0.78) 0 17%, transparent 17.5%),
    radial-gradient(circle at 42% 58%, rgba(255, 106, 27, 0.4) 0 20%, transparent 20.5%),
    radial-gradient(circle at 50% 50%, #ffd284 0 26%, #ffb457 26% 52%, #ff882d 52% 76%, #d95e17 76% 100%);
  box-shadow:
    0 0 34px 12px rgba(255, 151, 49, 0.72),
    0 0 185px rgba(255, 143, 47, 0.62),
    inset -22px -16px 45px rgba(151, 45, 0, 0.35),
    inset 16px 14px 30px rgba(255, 255, 255, 0.25);
  animation: sunFloat 18s ease-in-out infinite;
}

.moon {
  bottom: 4%;
  right: 6%;
  background:
    radial-gradient(circle at 33% 30%, #ffffff 0 12%, transparent 12.5%),
    radial-gradient(circle at 64% 64%, rgba(143, 189, 238, 0.55) 0 14%, transparent 14.5%),
    radial-gradient(circle at 34% 70%, rgba(130, 169, 218, 0.4) 0 10%, transparent 10.5%),
    radial-gradient(circle at 50% 50%, #edf7ff 0 30%, #d3e9ff 30% 58%, #9fc7ef 58% 100%);
  box-shadow:
    0 0 30px 10px rgba(169, 218, 255, 0.62),
    0 0 185px rgba(143, 197, 255, 0.56),
    inset -20px -18px 40px rgba(64, 116, 174, 0.35),
    inset 16px 12px 30px rgba(255, 255, 255, 0.34);
  animation: moonFloat 21s ease-in-out infinite;
}

.sun::before,
.moon::before,
.sun::after,
.moon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.sun::before {
  inset: -20px;
  background:
    repeating-conic-gradient(
      from 12deg,
      rgba(255, 193, 102, 0.24) 0deg 6deg,
      transparent 6deg 14deg
    );
  mask: radial-gradient(circle, transparent 58%, #000 58.5%);
}

.sun::after {
  inset: 24px;
  background:
    radial-gradient(circle at 24% 36%, rgba(255, 255, 255, 0.45) 0 6%, transparent 6.5%),
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.3) 0 4%, transparent 4.5%),
    radial-gradient(circle at 56% 76%, rgba(255, 77, 0, 0.25) 0 8%, transparent 8.5%);
}

.moon::before {
  inset: 20px;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.42) 0 7%, transparent 7.5%),
    radial-gradient(circle at 66% 24%, rgba(112, 160, 214, 0.42) 0 9%, transparent 9.5%),
    radial-gradient(circle at 44% 66%, rgba(108, 149, 204, 0.33) 0 10%, transparent 10.5%),
    radial-gradient(circle at 71% 70%, rgba(101, 137, 193, 0.35) 0 7%, transparent 7.5%);
}

.moon::after {
  inset: -12px;
  border: 2px dashed rgba(206, 234, 255, 0.36);
  opacity: 0.5;
}

.rift {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(11vw, 140px);
  height: min(66vh, 560px);
  transform: translate(-50%, -50%);
  border-radius: 10px;
  clip-path: polygon(
    48% 0%,
    60% 6%,
    54% 14%,
    63% 24%,
    52% 34%,
    60% 44%,
    50% 54%,
    58% 66%,
    47% 78%,
    55% 90%,
    49% 100%,
    40% 92%,
    44% 80%,
    36% 68%,
    46% 56%,
    38% 44%,
    47% 32%,
    39% 20%,
    49% 8%,
    42% 2%
  );
  background:
    linear-gradient(
      90deg,
      rgba(255, 154, 66, 0.92) 0 22%,
      rgba(234, 245, 255, 0.94) 34% 43%,
      rgba(8, 12, 24, 0.98) 47% 53%,
      rgba(210, 235, 255, 0.94) 57% 66%,
      rgba(132, 188, 255, 0.88) 78% 100%
    );
  box-shadow:
    0 0 14px rgba(255, 176, 92, 0.9),
    0 0 22px rgba(159, 210, 255, 0.75),
    0 0 58px rgba(116, 176, 245, 0.36),
    0 0 54px rgba(255, 165, 82, 0.34);
  opacity: 0.96;
  animation: riftWarp 5.6s ease-in-out infinite, riftShiver 0.17s steps(2) infinite;
  pointer-events: none;
}

.rift::before,
.rift::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rift::before {
  inset: -55% -220%;
  background:
    radial-gradient(circle at 36% 50%, rgba(9, 15, 29, 0.95) 0 22%, rgba(18, 28, 52, 0.72) 28%, transparent 62%),
    repeating-radial-gradient(circle at 36% 50%, rgba(155, 211, 255, 0.25) 0 1.8%, transparent 1.8% 5.2%),
    conic-gradient(
      from 16deg at 36% 50%,
      rgba(255, 154, 67, 0.32) 0 20%,
      rgba(114, 181, 255, 0.28) 20% 46%,
      rgba(8, 13, 25, 0.36) 46% 70%,
      rgba(255, 162, 79, 0.26) 70% 100%
    );
  filter: blur(0.6px);
  opacity: 0.76;
  animation: riftSiphon 11s linear infinite;
}

.rift::after {
  inset: -20% -240%;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(182, 224, 255, 0.35) 18px 22px, transparent 22px 42px),
    linear-gradient(90deg, transparent 0 33%, rgba(255, 177, 102, 0.35) 42%, rgba(160, 215, 255, 0.34) 48%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.46;
  animation: riftStream 2.6s linear infinite;
}

.rift-crack {
  display: none;
}

.rift-fracture {
  display: none;
}

.rift-glow {
  pointer-events: none;
}

.starfield {
  position: absolute;
  inset: 0;
}

.star {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(241, 247, 255, 0.85);
  box-shadow: 0 0 8px rgba(210, 227, 255, 0.3);
  animation: drift var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.star:hover {
  transform: scale(2.4);
  background: #fff9d6;
  box-shadow: 0 0 16px rgba(255, 233, 145, 0.98);
}

body.stars-paused .star {
  animation-play-state: paused;
}

body.no-glow .sun,
body.no-glow .moon,
body.no-glow .rift,
body.no-glow .star:hover {
  box-shadow: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes sunFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(16px, 10px);
  }
}

@keyframes moonFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-14px, -10px);
  }
}

@keyframes riftWarp {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1) skewX(-1deg);
    opacity: 0.96;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.03) skewX(1.8deg);
    opacity: 1;
  }
}

@keyframes riftShiver {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: 1.5px;
  }
}

@keyframes riftSiphon {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.05) rotate(180deg);
    opacity: 0.88;
  }
}

@keyframes riftStream {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(16px);
    opacity: 0.6;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 6vw 10px;
  backdrop-filter: blur(12px);
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.94), rgba(5, 10, 20, 0.5)),
    var(--surface-gradient);
  border-bottom: 1px solid rgba(177, 198, 238, 0.14);
}

.topbar-page {
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 250, 230, 0.9) 0 10%, transparent 10.5%),
    radial-gradient(circle at 66% 64%, rgba(141, 188, 237, 0.42) 0 20%, transparent 20.5%),
    conic-gradient(from 120deg, #ffbc62 0 49%, #bcdcff 49% 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 2px;
  width: 33px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, #ffe4b6 0 14%, transparent 14.5%),
    radial-gradient(circle at 50% 82%, #d5ebff 0 14%, transparent 14.5%),
    linear-gradient(180deg, #bcdcff 0 50%, #ffbc62 50% 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    12px 4px 0 rgba(255, 255, 255, 0.7),
    -4px 14px 0 rgba(255, 255, 255, 0.72),
    10px 18px 0 rgba(255, 255, 255, 0.56);
}

.brand-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  letter-spacing: 1px;
  background: var(--theme-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: transform 0.16s ease;
}

.brand-title:hover {
  transform: scale(1.04);
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-wrap input {
  width: min(420px, 56vw);
  min-width: 220px;
  background: linear-gradient(130deg, rgba(16, 25, 43, 0.95), rgba(12, 19, 33, 0.9));
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  padding: 10px 12px;
}

.tabs-toggle,
.primary-btn,
.player-btn,
.action-link {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(10, 16, 31, 0.92), rgba(10, 16, 31, 0.92)),
    var(--theme-gradient-soft);
  color: var(--ink);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease;
}

.tabs-toggle {
  padding: 10px 13px;
}

.tabs-toggle:hover,
.primary-btn:hover,
.player-btn:hover,
.action-link:hover {
  transform: scale(1.04);
  border-color: rgba(255, 205, 133, 0.8);
  background:
    linear-gradient(145deg, rgba(17, 28, 49, 0.96), rgba(12, 20, 36, 0.95)),
    var(--theme-gradient-soft);
}

.dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: min(420px, 94vw);
  background:
    linear-gradient(150deg, rgba(10, 17, 32, 0.96), rgba(7, 13, 25, 0.95)),
    var(--surface-gradient);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 25;
}

#search-dropdown {
  left: 0;
  right: auto;
}

.is-hidden {
  display: none;
}

.dropdown-head {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
  transition: transform 0.16s ease;
}

.dropdown-head:hover {
  transform: scale(1.03);
}

.pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-option {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(130deg, rgba(180, 205, 255, 0.1), rgba(255, 163, 88, 0.08));
  color: var(--ink);
  padding: 7px 11px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.tab-option:hover,
.tab-option.is-active {
  transform: scale(1.04);
  background: linear-gradient(130deg, rgba(255, 168, 84, 0.36), rgba(143, 196, 255, 0.24));
}

.search-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(186, 206, 240, 0.12), rgba(255, 177, 109, 0.08));
  border-radius: 10px;
  padding: 7px;
  margin-bottom: 7px;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.search-item:last-child {
  margin-bottom: 0;
}

.search-item:hover {
  transform: scale(1.02);
  background: linear-gradient(140deg, rgba(255, 163, 88, 0.28), rgba(143, 196, 255, 0.17));
}

.search-thumb {
  width: 56px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 194, 111, 0.35), rgba(143, 197, 255, 0.34));
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.search-meta {
  display: grid;
  gap: 1px;
}

.search-title {
  font-size: 14px;
  font-weight: 700;
}

.search-kind {
  color: var(--muted);
  font-size: 12px;
}

.container {
  padding: 22px 6vw 70px;
  display: grid;
  gap: 22px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  border: 1px solid rgba(211, 226, 255, 0.17);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(8, 12, 22, 0.64), rgba(8, 12, 22, 0.64)),
    var(--surface-gradient);
  box-shadow: var(--shadow);
  padding: 22px;
}

.typing-line {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  letter-spacing: 1px;
  margin: 0 0 8px;
  transition: transform 0.16s ease;
}

#typing-text {
  background: var(--theme-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.typing-line:hover {
  transform: scale(1.02);
}

.typing-cursor {
  margin-left: 2px;
  color: #ffddb0;
  animation: blink 0.9s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-sub {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-btn {
  padding: 10px 14px;
}

.random-preview {
  min-width: 190px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(11, 18, 34, 0.9), rgba(11, 18, 34, 0.9)),
    var(--theme-gradient-soft);
  background-size: cover;
  background-position: center;
  color: var(--ink);
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-right {
  display: grid;
  gap: 10px;
}

.stat {
  border: 1px solid rgba(207, 223, 255, 0.18);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(10, 17, 34, 0.84), rgba(10, 17, 34, 0.84)),
    var(--theme-gradient-soft);
  padding: 12px 14px;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  transition: transform 0.16s ease;
}

.stat-value:hover {
  transform: scale(1.05);
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.section-head h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  letter-spacing: 1px;
  margin: 0;
  background: var(--theme-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.16s ease;
}

.section-head h2:hover {
  transform: scale(1.04);
}

.section-note {
  color: var(--muted);
  font-size: 13px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid rgba(207, 223, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(17, 24, 44, 0.82), rgba(17, 24, 44, 0.82)),
    var(--surface-gradient);
  padding: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 188, 115, 0.52);
}

.card-cover {
  height: 115px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-soft), var(--blue-soft));
  background-size: cover;
  background-position: center;
}

.card-title {
  margin: 9px 0 7px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.16s ease;
}

.card-title:hover {
  transform: scale(1.03);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid rgba(194, 214, 252, 0.25);
  border-radius: 999px;
  padding: 4px 7px;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.utility-panel {
  border: 1px solid rgba(207, 223, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(7, 13, 26, 0.84), rgba(7, 13, 26, 0.84)),
    var(--surface-gradient);
  padding: 11px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.panel-head h3 {
  margin: 0;
  font-size: 18px;
  transition: transform 0.16s ease;
}

.panel-head h3:hover {
  transform: scale(1.03);
}

.cards-apps {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.request-copy {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.request-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-link {
  text-decoration: none;
  padding: 10px 12px;
  text-align: center;
}

.action-btn {
  width: 100%;
  font-size: 14px;
  font-family: inherit;
}

.settings-list {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.settings-list label {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  background: linear-gradient(140deg, rgba(167, 194, 242, 0.1), rgba(255, 172, 84, 0.08));
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.16s ease;
}

.settings-list label:hover {
  transform: scale(1.02);
}

.icon-nine {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dbe9ff;
  box-shadow: 0 7px 0 #dbe9ff, 0 14px 0 #dbe9ff, 7px 0 0 #dbe9ff, 7px 7px 0 #dbe9ff, 7px 14px 0 #dbe9ff, 14px 0 0 #dbe9ff,
    14px 7px 0 #dbe9ff, 14px 14px 0 #dbe9ff;
  margin-right: 6px;
}

.icon-paper {
  position: relative;
  width: 19px;
  height: 24px;
  border: 2px solid #dbe8ff;
  border-radius: 3px;
  background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(196, 214, 250, 0.45) 5px 6px);
}

.icon-paper::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 12px;
  width: 14px;
  height: 3px;
  border-radius: 3px;
  transform: rotate(-36deg);
  background: linear-gradient(90deg, #f4b76f 0 78%, #4f5e79 78% 100%);
}

.icon-cog {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid #dbe8ff;
  position: relative;
}

.icon-cog::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(220, 233, 255, 0.72);
}

.player {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(2, 7, 18, 0.98);
  display: grid;
  grid-template-rows: auto 1fr;
}

.player.is-hidden {
  display: none;
}

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(202, 220, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(7, 13, 25, 0.95), rgba(7, 13, 25, 0.95)),
    var(--surface-gradient);
}

.player-title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-btn {
  padding: 8px 10px;
}

.player-link {
  text-decoration: none;
}

.player-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-link {
  border: 1px solid rgba(207, 223, 255, 0.18);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(7, 13, 26, 0.84), rgba(7, 13, 26, 0.84)),
    var(--surface-gradient);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.quick-link p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 191, 122, 0.54);
}

.mini-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  border: 1px solid rgba(207, 223, 255, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  background: linear-gradient(140deg, rgba(167, 194, 242, 0.1), rgba(255, 172, 84, 0.08));
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.mini-nav a:hover,
.mini-nav a.is-active {
  color: var(--ink);
  transform: scale(1.03);
  border-color: rgba(255, 199, 128, 0.58);
}

.page-panel {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.short-panel {
  padding: 12px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .search-wrap input {
    width: min(340px, 62vw);
  }
}

@media (max-width: 740px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-page {
    gap: 10px;
  }

  .mini-nav {
    flex-wrap: wrap;
  }

  .search-wrap {
    width: 100%;
  }

  .search-wrap input {
    width: 100%;
    min-width: 0;
  }

  .player-bar {
    flex-wrap: wrap;
  }

  .typing-line {
    font-size: 38px;
  }
}
