/* HGSLogin.Net — portal styles */
:root,
[data-theme="dark"] {
  --bg-deep: #061018;
  --bg-panel: rgba(8, 22, 34, 0.88);
  --bg-panel-solid: #0b1a26;
  --bg-topbar: rgba(4, 14, 22, 0.85);
  --bg-footer: rgba(4, 14, 22, 0.92);
  --bg-grad-1: rgba(0, 185, 255, 0.28);
  --bg-grad-2: rgba(30, 224, 176, 0.16);
  --bg-base-1: #04101a;
  --bg-base-2: #0a1c2a;
  --bg-base-3: #051018;
  --bg-blend: soft-light;
  --line: rgba(120, 190, 230, 0.22);
  --text: #e8f2f8;
  --muted: #8aabb8;
  --accent: #00b9ff;
  --accent-2: #1ee0b0;
  --accent-hover: #7ad8ff;
  --danger: #ff5c6c;
  --ok: #2fd68a;
  --warn: #f0b429;
  --input-bg: rgba(4, 16, 26, 0.75);
  --btn-secondary-bg: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Syne", "DM Sans", sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --logo-shadow: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
  color-scheme: dark;
}

[data-theme="light"] {
  --bg-deep: #eef6fb;
  --bg-panel: rgba(255, 255, 255, 0.92);
  --bg-panel-solid: #ffffff;
  --bg-topbar: rgba(255, 255, 255, 0.9);
  --bg-footer: rgba(245, 250, 253, 0.96);
  --bg-grad-1: rgba(0, 140, 200, 0.18);
  --bg-grad-2: rgba(20, 180, 140, 0.12);
  --bg-base-1: #dceef8;
  --bg-base-2: #e8f4fa;
  --bg-base-3: #f3f9fc;
  --bg-blend: normal;
  --line: rgba(20, 80, 120, 0.18);
  --text: #0b2433;
  --muted: #4a6a7a;
  --accent: #0077b3;
  --accent-2: #0faa80;
  --accent-hover: #005f8f;
  --danger: #d63048;
  --ok: #1a9a5c;
  --warn: #c48900;
  --input-bg: rgba(255, 255, 255, 0.95);
  --btn-secondary-bg: rgba(10, 40, 60, 0.06);
  --shadow: 0 14px 36px rgba(20, 60, 90, 0.12);
  --logo-shadow: drop-shadow(0 8px 18px rgba(20, 60, 90, 0.18));
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-anchor: none;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.5;
  transition: color 0.2s ease, background-color 0.2s ease;
  overflow-anchor: none;
}

/* Fixed backdrop — does not scroll with page content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--bg-grad-1), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, var(--bg-grad-2), transparent 50%),
    linear-gradient(180deg, var(--bg-base-1) 0%, var(--bg-base-2) 45%, var(--bg-base-3) 100%),
    url("https://hgslogin.net/hgslogo/bg2.jpg") center / cover no-repeat;
  background-blend-mode: normal, normal, normal, var(--bg-blend);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-topbar);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.brand-name {
  font-size: 1.05rem;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.topnav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.topnav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 185, 255, 0.15);
  border: 1px solid rgba(0, 185, 255, 0.35);
  color: var(--accent) !important;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--btn-secondary-bg);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.theme-toggle .theme-icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle .theme-label-light {
  display: none;
}

[data-theme="light"] .theme-toggle .theme-label-dark {
  display: none;
}

[data-theme="light"] .theme-toggle .theme-label-light {
  display: inline;
}

.main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3.5rem;
  flex: 1 0 auto;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}

.flash-stack {
  position: fixed;
  top: 4.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 1.5rem));
  z-index: 50;
  display: grid;
  gap: 0.5rem;
  pointer-events: none;
}

.flash-stack .alert {
  margin: 0;
  pointer-events: auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.flash-stack .alert.is-hiding {
  opacity: 0;
  transform: translateY(-10px);
}

.alert-error {
  background: rgba(255, 92, 108, 0.16);
  border-color: rgba(255, 92, 108, 0.4);
  color: #ffb3bb;
}

.alert-success {
  background: rgba(47, 214, 138, 0.16);
  border-color: rgba(47, 214, 138, 0.4);
  color: #9aefc4;
}

[data-theme="light"] .alert-error {
  background: rgba(214, 48, 72, 0.12);
  border-color: rgba(214, 48, 72, 0.35);
  color: #9a1f35;
}

[data-theme="light"] .alert-success {
  background: rgba(26, 154, 92, 0.12);
  border-color: rgba(26, 154, 92, 0.35);
  color: #0f6b3f;
}

.user-updates {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 92, 108, 0.35);
  background: rgba(255, 92, 108, 0.08);
}

.user-updates-title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.user-updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.user-update {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.75rem 0.85rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.user-update strong {
  display: block;
  margin-bottom: 0.15rem;
}

.user-update .muted {
  display: block;
  font-size: 0.88rem;
}

.user-update-preview {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--text);
}

.user-update-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.admin-notice-body {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font);
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--text);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  border: 1px solid var(--line);
}

[data-theme="light"] .admin-notice-body {
  background: rgba(10, 40, 60, 0.05);
}

.feedback-card.has-update {
  box-shadow: inset 3px 0 0 rgba(255, 92, 108, 0.85);
}

.feedback-card.has-update .badge-pending {
  margin-left: 0.35rem;
  vertical-align: middle;
}

.hero-auth {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
  min-height: calc(100vh - 180px);
}

.auth-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.auth-or {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 5rem;
}

.temp-site-go {
  margin: 0;
}

.temp-site-go h2 {
  margin-top: 0;
}

.temp-site-form {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.temp-site-form input[type="text"] {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.temp-site-form .btn {
  flex-shrink: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem 0.5rem;
}

/* Logo centered over the text column; text stays left-aligned where it is */
.logo-hero {
  width: min(max(34ch, 300px), 100%);
  margin-bottom: 1.5rem;
  filter: var(--logo-shadow);
  display: flex;
  justify-content: center;
}

.logo-hero #logo-box {
  width: 300px !important;
  height: 357px !important;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.logo-hero #logo-box img {
  width: 300px !important;
  height: 357px !important;
  max-width: 100%;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
  font-size: 1.05rem;
  text-align: left;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  backdrop-filter: blur(10px);
}

.panel h2 {
  font-family: var(--display);
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.panel .lede {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.form-stack {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 185, 255, 0.35);
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.15rem;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0088cc);
  color: #041018;
  box-shadow: 0 8px 24px rgba(0, 185, 255, 0.25);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-danger {
  background: rgba(255, 92, 108, 0.18);
  color: #ffb3bb;
  border: 1px solid rgba(255, 92, 108, 0.35);
}

.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
}

.form-footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-head h1 {
  font-family: var(--display);
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.grid-apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 140px;
}

.app-card h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.app-card-meta {
  flex: 1;
}

.app-card-desc {
  margin: 0 0 0.35rem;
  color: var(--muted);
  line-height: 1.45;
}

.app-card-price {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.app-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-pending {
  background: rgba(240, 180, 41, 0.18);
  color: #ffd675;
}

.badge-approved {
  background: rgba(47, 214, 138, 0.15);
  color: #7aefb5;
}

.badge-disabled {
  background: rgba(255, 92, 108, 0.15);
  color: #ffb3bb;
}

.badge-allowed {
  background: rgba(0, 185, 255, 0.15);
  color: #7ad8ff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.data th,
table.data td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(120, 190, 230, 0.12);
  vertical-align: middle;
}

table.data th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.data tr:last-child td {
  border-bottom: none;
}

table.data textarea {
  width: 100%;
  min-width: 220px;
  resize: vertical;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.admin-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--muted);
}

.admin-nav a.active,
.admin-nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(0, 185, 255, 0.1);
}

@keyframes admin-attention-shift {
  0%, 100% {
    background-color: rgba(255, 92, 108, 0.08);
    border-color: rgba(255, 92, 108, 0.22);
  }
  50% {
    background-color: rgba(255, 92, 108, 0.22);
    border-color: rgba(255, 92, 108, 0.45);
  }
}

.admin-nav a.needs-attention {
  color: var(--danger);
  animation: admin-attention-shift 5.5s ease-in-out infinite;
}

.admin-nav a.needs-attention.active {
  color: var(--danger);
  animation: admin-attention-shift 5.5s ease-in-out infinite;
}

.needs-attention-stat {
  animation: admin-attention-shift 5.5s ease-in-out infinite;
}

.stat-sub {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.stats-subhead {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 0.95rem;
}

.overview-section {
  margin-bottom: 2rem;
}

.overview-section-title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.overview-section-lede {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.overview-empty {
  margin: 0 0 0.75rem;
}

.overview-section .stats {
  margin-bottom: 0;
}

.overview-section .two-col {
  margin-top: 0.15rem;
}

.feedback-row-needs-reply td:first-child {
  box-shadow: inset 3px 0 0 rgba(255, 92, 108, 0.85);
}

.feedback-list {
  display: grid;
  gap: 0.85rem;
}

.feedback-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.feedback-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feedback-thread {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.feedback-bubble {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.feedback-bubble.is-admin {
  border-color: rgba(0, 185, 255, 0.28);
  background: rgba(0, 185, 255, 0.08);
}

.feedback-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  margin-top: 0.2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-footer);
}

.footer-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem 2rem;
}

.footer-logo {
  max-width: 420px;
  width: min(420px, 42%);
  height: auto;
  flex-shrink: 0;
}

.footer-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  text-align: left;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-start;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-rights {
  margin: 0;
  text-align: left;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: min(420px, 100%);
  }
}

.muted {
  color: var(--muted);
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

.check-inline input {
  width: auto;
}

.email-alerts {
  margin: -0.35rem 0 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.email-alerts input {
  accent-color: var(--accent);
}

.offers-section {
  margin: 3.5rem 0 2rem;
}

.offers-section h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 0.35rem;
  text-align: center;
}

.offers-lede {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--muted);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.offer-card {
  padding: 1rem 1.1rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-card-clickable {
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.offer-card-clickable:hover,
.offer-card-clickable:focus-visible {
  border-color: rgba(0, 185, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.offer-shot-hint {
  margin: 0.55rem 0 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

body.shot-lightbox-open {
  overflow: hidden;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.shot-lightbox[hidden] {
  display: none;
}

.shot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.shot-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.shot-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.shot-lightbox-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  padding-right: 0.5rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot-lightbox-x {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.shot-lightbox-x:hover,
.shot-lightbox-x:focus-visible {
  background: rgba(220, 60, 60, 0.9);
  border-color: rgba(255, 120, 120, 0.35);
  color: #fff;
  outline: none;
}

.shot-lightbox-body {
  padding: 0.75rem;
  overflow: auto;
  text-align: center;
}

.shot-lightbox-body img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  height: auto;
  border-radius: 6px;
  vertical-align: middle;
}

.offer-card h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.offer-card p {
  margin: 0;
}

.offer-card-desc {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.offer-price {
  color: var(--muted);
  font-size: 0.88rem;
}

.offer-ver {
  display: inline-block;
  margin: 0;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 185, 255, 0.12);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.offer-price {
  margin: 0.55rem 0 0 !important;
  font-weight: 700;
  color: var(--text) !important;
  font-size: 0.95rem !important;
}

.price-input-label {
  display: inline-block;
  margin: 0;
}

.price-input-label input {
  width: 7rem;
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.feature-section {
  margin: 2.5rem 0 2rem;
}

.feature-section h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 0.35rem;
  text-align: center;
}

.feature-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-panel > p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.45rem 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.feature-cta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.logo-library-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.logo-library-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(120, 190, 230, 0.12);
}

.logo-library-list li:last-child {
  border-bottom: none;
}

.logo-lib-name {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.logo-lib-name:hover,
.logo-lib-name:focus-visible {
  color: var(--text);
  outline: none;
}

.user-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0;
}

.user-info-grid > div {
  min-width: 0;
}

.user-info-grid dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.user-info-grid dd {
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
  word-break: break-word;
}

@media (max-width: 860px) {
  .hero-auth,
  .two-col {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
