:root {
  --bg: #0c1222;
  --bg-2: #121a31;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --text: #152033;
  --muted: #667085;
  --line: rgba(20, 32, 51, .1);
  --primary: #1769ff;
  --primary-2: #0a3ea9;
  --gold: #f7b733;
  --green: #19a974;
  --danger: #db3659;
  --shadow: 0 24px 80px rgba(6, 18, 45, .16);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(23,105,255,.32), transparent 30rem),
    radial-gradient(circle at top right, rgba(247,183,51,.22), transparent 28rem),
    linear-gradient(180deg, #0b1020 0, #111a30 320px, #f5f7fb 321px, #f5f7fb 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  padding: .15rem .35rem;
  border-radius: .45rem;
  background: rgba(23,105,255,.08);
  color: var(--primary-2);
}

.site-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 22px 0;
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .22));
}
.brand-copy {
  display: block;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #dbe6ff);
  color: var(--primary-2);
  font-weight: 900;
  letter-spacing: -.08em;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .25);
}
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: rgba(255,255,255,.66); font-size: .78rem; }
.topnav { display: flex; align-items: center; gap: .35rem; }
.topnav a {
  color: rgba(255,255,255,.82);
  padding: .7rem .9rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.topnav a:hover { background: rgba(255,255,255,.12); color: #fff; }

.hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  margin: 24px 0 30px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05)),
    linear-gradient(135deg, rgba(23,105,255,.92), rgba(8,16,38,.94));
  color: #fff;
  box-shadow: var(--shadow);
}
.hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: -45% auto auto 46%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,183,51,.34), transparent 62%);
  pointer-events: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.45fr .8fr;
  align-items: center;
  gap: 2rem;
}
.hero-text,
.detail-copy { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .76rem;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.8rem); max-width: 820px; }
h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { margin: .6rem 0 .55rem; font-size: 1.25rem; }
.lead {
  margin: 1.1rem 0 0;
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.78);
}
.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  padding: .78rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(23,105,255,.25);
}
.button.primary.is-download { background: linear-gradient(135deg, var(--green), #087a53); box-shadow: 0 14px 30px rgba(25,169,116,.24); }
.button.primary.is-commercial { background: linear-gradient(135deg, var(--gold), #d98700); color: #1a1303; box-shadow: 0 14px 30px rgba(247,183,51,.28); }
.button.ghost {
  color: inherit;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
}
.button.small { min-height: 38px; padding: .55rem .85rem; font-size: .9rem; }
.button.full { width: 100%; margin-top: 1.2rem; }

.hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .85rem;
}
.hero-card > div {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.hero-card span { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; }
.hero-card small { color: rgba(255,255,255,.72); }

.hero-compact {
  min-height: auto;
  padding: clamp(18px, 2.2vw, 28px);
  margin-bottom: 18px;
}
.hero-compact h1 {
  max-width: 640px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}
.hero-compact .lead {
  max-width: 610px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.hero-slider-only {
  display: block;
  border: 0;
  box-shadow: 0 22px 64px rgba(6, 18, 45, .12);
}
.hero-slider-only::before {
  opacity: .62;
}
.hero-empty-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-slider {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(118px, 170px) minmax(0, 560px);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
  justify-content: center;
  width: 100%;
  min-width: 0;
}
.hero-slider-thumbs {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
  min-width: 0;
}
.hero-thumb {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: .72;
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
}
.hero-thumb:hover,
.hero-thumb.is-active {
  opacity: 1;
  transform: translateX(3px);
  filter: saturate(1.08) contrast(1.03);
}
.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}
.hero-slider-stage {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  aspect-ratio: 4 / 3;
  justify-self: center;
  min-height: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(.988);
  transition: opacity .35s ease, transform .35s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.hero-slide-caption {
  display: none;
}
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}
.quick-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 18, 45, .07);
}
.quick-stats span {
  font-size: 1.8rem;
  font-weight: 950;
  line-height: 1;
  color: var(--primary-2);
}
.quick-stats small {
  color: var(--muted);
  font-weight: 850;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 480px);
  gap: 1.25rem;
  align-items: end;
  margin: 34px 0 16px;
}
.toolbar .eyebrow { color: var(--primary); }
.search-box input {
  width: 100%;
  min-height: 56px;
  padding: 0 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 38px rgba(6, 18, 45, .08);
  font: inherit;
  outline: none;
}
.search-box input:focus { border-color: rgba(23,105,255,.55); box-shadow: 0 0 0 4px rgba(23,105,255,.12); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 16px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: .6rem .85rem;
  cursor: pointer;
  font-weight: 750;
}
.chip.is-active { color: #fff; background: var(--primary); border-color: var(--primary); }
.result-line { margin: 0 0 18px; color: var(--muted); font-weight: 700; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 46px;
}
.plugin-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(6, 18, 45, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.plugin-card:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(6, 18, 45, .14); }
.plugin-card[hidden] { display: none; }
.card-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.plugin-card:hover .card-image img { transform: scale(1.045); }
.status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: .42rem .62rem;
  border-radius: 999px;
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.status-pill.is-download { background: var(--green); }
.status-pill.is-commercial { background: var(--gold); color: #1d1400; }
.card-body { padding: 1.15rem; }
.card-topline,
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 800;
}
.card-body h3 a:hover { color: var(--primary); }
.card-body p { margin: 0 0 1rem; color: var(--muted); }
.card-actions { margin-top: 1rem; justify-content: space-between; }
.card-actions .ghost { color: var(--primary-2); background: rgba(23,105,255,.08); }

.detail-hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 510px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}
.back-link {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: rgba(255,255,255,.74);
  font-weight: 800;
}
.detail-media {
  position: relative;
  z-index: 1;
}
.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.version-panel {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  color: var(--text);
  box-shadow: 0 20px 44px rgba(0,0,0,.22);
}
.version-panel span { display: block; color: var(--muted); font-size: .78rem; font-weight: 800; }
.version-panel strong { display: block; font-size: 1.45rem; line-height: 1; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}
.panel {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 46px rgba(6, 18, 45, .07);
  margin-bottom: 22px;
}
.panel h2 { color: #101828; }
.panel p { color: var(--muted); margin-bottom: 0; }
.sticky-panel { position: sticky; top: 18px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feature-card {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.feature-card p { margin: 0; color: var(--text); font-weight: 750; }
.tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(25,169,116,.14);
  color: var(--green);
  font-weight: 900;
}
.meta-list { margin: 0; }
.meta-list div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.meta-list dt { color: var(--muted); font-weight: 800; }
.meta-list dd { margin: 0; font-weight: 850; text-align: right; }
.timeline { display: grid; gap: 16px; }
.timeline-item {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid rgba(23,105,255,.18);
}
.timeline-item strong { display: inline-block; font-size: 1.05rem; }
.timeline-item span { margin-left: .5rem; color: var(--muted); font-size: .9rem; }
.timeline-item ul { margin: .5rem 0 0; color: var(--muted); }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.screenshot-grid figure { margin: 0; }
.screenshot-grid img { border-radius: 18px; border: 1px solid var(--line); }
.screenshot-grid figcaption { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.related-section { margin-bottom: 50px; }
.section-heading .eyebrow { color: var(--primary); }
.related-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.empty-state {
  margin: 48px auto;
  max-width: 760px;
  padding: 42px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}
.empty-state p { color: var(--muted); }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: .92rem;
}
.footer a { color: var(--primary-2); font-weight: 800; }

@media (max-width: 980px) {
  .hero,
  .detail-hero,
  .toolbar,
  .content-grid { grid-template-columns: 1fr; }
  .cards,
  .related-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { grid-template-columns: repeat(3, 1fr); }
  .hero-slider { max-width: 820px; margin: 0 auto; }
  .quick-stats { grid-template-columns: repeat(3, 1fr); }
  .sticky-panel { position: static; }
}

@media (max-width: 680px) {
  .site-shell { width: min(100% - 24px, var(--max)); }
  .topbar { align-items: flex-start; }
  .topnav { display: none; }
  .hero,
  .detail-hero { padding: 26px; min-height: auto; }
  h1 { font-size: 2.25rem; }
  .hero-card,
  .cards,
  .related-cards,
  .feature-grid,
  .screenshot-grid,
  .quick-stats { grid-template-columns: 1fr; }
  .hero-slider { grid-template-columns: 1fr; }
  .hero-slider-stage { order: 1; width: 100%; }
  .hero-slider-thumbs { order: 2; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .hero-thumb { aspect-ratio: 4 / 3; }
  .hero-thumb:hover,
  .hero-thumb.is-active { transform: translateY(-2px); }
  .card-actions { justify-content: stretch; }
  .card-actions .button { flex: 1; }
  .footer { flex-direction: column; }
  .meta-list div { grid-template-columns: 1fr; gap: .2rem; }
  .meta-list dd { text-align: left; }
}

/* v1.0.4 - Hero slider με στοιχεία πρόσθετου */
.hero-showcase {
  display: block;
  min-height: auto;
  padding: clamp(24px, 3vw, 38px);
  margin-bottom: 18px;
  border: 0;
  box-shadow: 0 22px 64px rgba(6, 18, 45, .12);
}
.hero-showcase::before { opacity: .62; }
.hero-showcase .hero-slider {
  grid-template-columns: minmax(86px, 112px) minmax(0, 500px) minmax(300px, 1fr);
  justify-content: stretch;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.hero-showcase .hero-slider-thumbs {
  align-self: center;
  grid-template-rows: none;
  align-content: center;
}
.hero-showcase .hero-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}
.hero-showcase .hero-thumb.is-active {
  box-shadow: 0 0 0 2px rgba(255,255,255,.52), 0 18px 38px rgba(0,0,0,.2);
}
.hero-showcase .hero-thumb img { border-radius: 18px; }
.hero-showcase .hero-slider-stage {
  width: 100%;
  max-width: 500px;
  justify-self: stretch;
  border-radius: 26px;
  box-shadow: 0 22px 54px rgba(0,0,0,.18);
}
.hero-showcase .hero-slide img { border-radius: 26px; }
.hero-slider-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: #fff;
}
.hero-info-panel {
  display: none;
  min-height: 330px;
  height: 100%;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(5,12,30,.34), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.hero-info-panel.is-active {
  display: flex;
  flex-direction: column;
  animation: heroInfoIn .28s ease both;
}
@keyframes heroInfoIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-info-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 900;
}
.hero-kind {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .72rem;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 950;
}
.hero-kind.is-download { background: linear-gradient(135deg, var(--green), #087a53); }
.hero-kind.is-commercial { background: linear-gradient(135deg, var(--gold), #d98700); color: #1a1303; }
.hero-info-panel .eyebrow {
  margin-bottom: .55rem;
  color: var(--gold);
  font-size: .72rem;
}
.hero-info-panel h1 {
  max-width: none;
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
}
.hero-description {
  margin: .9rem 0 1.1rem;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 1.1rem;
}
.hero-meta div {
  padding: .75rem;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-meta dt {
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  font-weight: 850;
}
.hero-meta dd {
  margin: .15rem 0 0;
  color: #fff;
  font-size: .9rem;
  font-weight: 950;
}
.hero-info-actions {
  margin-top: auto;
}
.hero-info-actions .ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

@media (max-width: 1100px) {
  .hero-showcase .hero-slider {
    grid-template-columns: minmax(78px, 100px) minmax(0, 440px) minmax(260px, 1fr);
    gap: 18px;
  }
  .hero-showcase .hero-slider-stage { max-width: 440px; }
  .hero-info-panel { min-height: 300px; }
  .hero-meta { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .hero-showcase .hero-slider {
    grid-template-columns: minmax(92px, 120px) minmax(0, 1fr);
    max-width: 820px;
    margin: 0 auto;
  }
  .hero-showcase .hero-slider-stage { max-width: none; }
  .hero-slider-info { grid-column: 1 / -1; }
  .hero-info-panel { min-height: auto; }
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .hero-showcase { padding: 18px; }
  .hero-showcase .hero-slider { grid-template-columns: 1fr; }
  .hero-showcase .hero-slider-stage { order: 1; }
  .hero-showcase .hero-slider-thumbs {
    order: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .hero-slider-info { order: 3; }
  .hero-info-panel h1 { font-size: 1.75rem; }
  .hero-meta { grid-template-columns: 1fr; }
}

/* v1.0.6 - Σελίδα πρόσθετου με info.txt και picXX.jpg */
.info-text {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.78;
}
.info-text strong { color: #101828; }
.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-soft);
  box-shadow: 0 14px 34px rgba(6, 18, 45, .08);
}
.trademark-notice {
  margin: -18px 0 44px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(20, 32, 51, .1);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
  box-shadow: 0 12px 32px rgba(6, 18, 45, .05);
}

@media (max-width: 680px) {
  .trademark-notice { margin-top: -10px; }
}

/* v1.0.8 - Admin χωρίς SQL και download gate */
.notice {
  margin: 1rem 0;
  padding: .95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 51, .1);
  background: #fff;
  color: var(--text);
  font-weight: 750;
}
.notice.success {
  border-color: rgba(25,169,116,.25);
  background: rgba(25,169,116,.09);
  color: #075f43;
}
.notice.error {
  border-color: rgba(219,54,89,.25);
  background: rgba(219,54,89,.09);
  color: #9b1834;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.download-gate-shell { min-height: 100vh; }
.download-gate { padding: 26px 0 70px; }
.download-gate-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(26px, 5vw, 58px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05)),
    linear-gradient(135deg, rgba(23,105,255,.92), rgba(8,16,38,.94));
  color: #fff;
  box-shadow: var(--shadow);
}
.download-gate-card h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.download-gate-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.download-confirm-form { margin-top: 1.4rem; }
.download-confirm-form .button:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
}
.download-note {
  margin: 1rem 0 0;
  color: rgba(255,255,255,.72);
  font-size: .92rem;
}
.admin-body {
  background: #f4f7fb;
  color: var(--text);
}
.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(23,105,255,.28), transparent 18rem),
    linear-gradient(180deg, #0b1020, #101a33);
  color: #fff;
  overflow: auto;
}
.admin-brand { color: #fff; margin-bottom: 26px; }
.admin-brand .brand-logo {
  height: 46px;
  max-width: 190px;
}
.login-brand-logo {
  height: 64px;
  max-width: min(100%, 250px);
  margin-bottom: 12px;
}
.admin-menu { display: grid; gap: 8px; }
.admin-menu a {
  padding: .88rem 1rem;
  border-radius: 16px;
  color: rgba(255,255,255,.74);
  font-weight: 850;
  border: 1px solid transparent;
}
.admin-menu a:hover,
.admin-menu a.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.16);
}
.admin-side-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.admin-side-actions .ghost { color: #fff; }
.admin-main {
  padding: clamp(22px, 4vw, 46px);
  min-width: 0;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}
.admin-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: #101828; }
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.admin-stat,
.admin-panel,
.admin-login-card {
  border: 1px solid rgba(20,32,51,.1);
  background: rgba(255,255,255,.86);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(6, 18, 45, .08);
}
.admin-stat { padding: 20px; }
.admin-stat span {
  display: block;
  font-size: 2.2rem;
  font-weight: 950;
  color: var(--primary-2);
  line-height: 1;
}
.admin-stat small {
  display: block;
  margin-top: .45rem;
  color: var(--muted);
  font-weight: 850;
}
.admin-panel { padding: 22px; margin-bottom: 20px; }
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}
.admin-panel h2 { color: #101828; margin-bottom: .25rem; }
.admin-panel p { color: var(--muted); margin: .35rem 0 0; }
.admin-table-wrap {
  width: 100%;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(20,32,51,.08);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: #fff;
}
.admin-table th,
.admin-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(20,32,51,.08);
  vertical-align: middle;
}
.admin-table th {
  color: #344054;
  background: #f8fafc;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.admin-table td small { color: var(--muted); }
.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(23,105,255,.32), transparent 28rem),
    linear-gradient(135deg, #0b1020, #111a30);
}
.admin-login-card {
  width: min(100%, 460px);
  padding: 32px;
}
.admin-login-card h1 { color: #101828; font-size: 2.2rem; }
.admin-form { display: grid; gap: 16px; }
.admin-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 850;
}
.admin-form label small {
  color: var(--muted);
  font-weight: 700;
}
.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(20,32,51,.14);
  border-radius: 14px;
  padding: .85rem .95rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}
.admin-form textarea { resize: vertical; }
.admin-form input:focus,
.admin-form textarea:focus {
  border-color: rgba(23,105,255,.55);
  box-shadow: 0 0 0 4px rgba(23,105,255,.1);
}
.compact-form { margin-top: 18px; }
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.editor-panel code {
  word-break: break-all;
}

@media (max-width: 980px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: relative;
    height: auto;
  }
  .admin-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-gate-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .admin-main { padding: 18px; }
  .admin-header,
  .admin-panel-head { display: grid; }
  .admin-menu { grid-template-columns: 1fr; }
  .admin-stats-grid,
  .form-grid.two,
  .form-grid.three { grid-template-columns: 1fr; }
  .download-gate-card { padding: 22px; border-radius: 24px; }
}

@media (max-width: 700px) {
  .brand-logo {
    height: 44px;
    max-width: 180px;
  }
  .brand small {
    display: none;
  }
}
