:root {
  color-scheme: dark;
  --bg: #0a0b12;
  --panel: #0f1320;
  --panel-strong: #171d2e;
  --text: #f4f6ff;
  --muted: #98a3b7;
  --accent: #7b6bff;
  --accent-strong: #9f93ff;
  --stroke: #1f2638;
  --shadow: 0 24px 60px rgba(10, 12, 18, 0.45);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f7f8fc;
  --panel: #ffffff;
  --panel-strong: #f1f4fb;
  --text: #1a1f2d;
  --muted: #4f5a6c;
  --accent: #5a49ff;
  --accent-strong: #4b3dff;
  --stroke: #d5dced;
  --shadow: 0 18px 40px rgba(35, 45, 70, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(123, 107, 255, 0.25), transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(70, 88, 255, 0.12), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: 88px;
}

:root[data-theme='light'] body {
  background: radial-gradient(circle at top, rgba(90, 73, 255, 0.14), transparent 50%), var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.hero {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--accent-strong);
}

.theme-toggle {
  border: 1px solid rgba(123, 107, 255, 0.45);
  background: rgba(17, 22, 35, 0.7);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

:root[data-theme='light'] .theme-toggle {
  background: rgba(255, 255, 255, 0.9);
  color: #2c3342;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(19, 24, 40, 0.95), rgba(14, 18, 30, 0.7));
  border: 1px solid rgba(123, 107, 255, 0.25);
  padding: 36px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

:root[data-theme='light'] .hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 255, 0.9));
  border-color: rgba(90, 73, 255, 0.18);
}

:root[data-theme='light'] .hero-card::after {
  background: radial-gradient(circle at 80% 10%, rgba(90, 73, 255, 0.2), transparent 45%);
  opacity: 0.7;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(123, 107, 255, 0.35), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero-card h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary,
.ghost,
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.primary {
  background: linear-gradient(135deg, #9b8cff, #6d5cff);
  color: #0b0c12;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(123, 107, 255, 0.35);
}

.ghost {
  border: 1px solid rgba(123, 107, 255, 0.4);
  color: var(--text);
  background: rgba(17, 22, 35, 0.6);
}

:root[data-theme='light'] .ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(90, 73, 255, 0.25);
}

.ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.section {
  margin-bottom: 16px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-header p {
  color: var(--muted);
}

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card {
  background: linear-gradient(140deg, rgba(21, 26, 40, 0.95), rgba(15, 20, 32, 0.8));
  border: 1px solid rgba(123, 107, 255, 0.18);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-hero {
  padding: 0;
  background: transparent;
}

.detail-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(21, 26, 40, 0.95), rgba(15, 20, 32, 0.8));
  border: 1px solid rgba(123, 107, 255, 0.2);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.detail-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(123, 107, 255, 0.3);
  background: rgba(12, 16, 28, 0.6);
}

.detail-copy {
  display: grid;
  gap: 8px;
}

.detail-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-buttons .accent {
  background: linear-gradient(135deg, rgba(255, 149, 78, 0.9), rgba(255, 99, 132, 0.9));
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 122, 122, 0.25);
}

.detail-buttons .accent:hover {
  filter: brightness(1.05);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.screenshot-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(123, 107, 255, 0.2);
  background: rgba(16, 20, 32, 0.65);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screenshot-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 107, 255, 0.5);
}

:root[data-theme='light'] .detail-card {
  background: #ffffff;
  border-color: rgba(90, 73, 255, 0.18);
}

:root[data-theme='light'] .detail-icon {
  background: #f7f8fc;
}

:root[data-theme='light'] .screenshot-card {
  background: #ffffff;
  border-color: rgba(90, 73, 255, 0.18);
}

:root[data-theme='light'] .card {
  background: #ffffff;
  border-color: rgba(90, 73, 255, 0.18);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--stroke);
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 107, 255, 0.55);
  box-shadow: 0 18px 40px rgba(8, 12, 22, 0.45);
}

.card.clickable {
  cursor: pointer;
}

.card.clickable .download {
  position: relative;
  z-index: 1;
}

.download {
  background: rgba(123, 107, 255, 0.15);
  border: 1px solid rgba(123, 107, 255, 0.4);
  color: var(--accent-strong);
  padding: 10px 18px;
}

:root[data-theme='light'] .download {
  background: rgba(90, 73, 255, 0.08);
  border-color: rgba(90, 73, 255, 0.3);
  color: #4036c9;
}

.download:hover {
  border-color: rgba(123, 107, 255, 0.8);
  color: var(--text);
}

.info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 6px;
}

:root[data-theme='light'] .info-card {
  background: #ffffff;
}

.info-card span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-card strong {
  font-size: 16px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.faq-item p {
  color: var(--muted);
}

.form {
  max-width: 420px;
  margin: 0 auto 16px;
  display: grid;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  padding: 24px;
  border-radius: 20px;
}

.login-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: min(480px, 100%);
  display: grid;
  gap: 16px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-shell.collapsed {
  grid-template-columns: 78px 1fr;
}

.admin-shell.collapsed .sidebar-nav span,
.admin-shell.collapsed .sidebar-brand .brand {
  display: none;
}

.admin-shell.collapsed .sidebar-nav a {
  justify-content: center;
}

.admin-sidebar {
  background: var(--panel);
  border-right: 1px solid var(--stroke);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar-nav {
  display: grid;
  gap: 16px;
}

.sidebar-section {
  display: grid;
  gap: 8px;
}

.sidebar-section p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 8px 8px 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
}

:root[data-theme='light'] .sidebar-section p {
  color: #7b8597;
}

.sidebar-toggle {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
  background: rgba(123, 107, 255, 0.15);
  color: var(--text);
}

.admin-main {
  padding: 32px 36px 48px;
}

.admin-top {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-top h1 {
  font-size: 26px;
  margin-bottom: 8px;
}

.admin-top p {
  color: var(--muted);
}

.admin-top .theme-toggle {
  flex-shrink: 0;
}

.admin-content {
  display: grid;
  gap: 20px;
}

.admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    border-right: none;
    border-bottom: 1px solid var(--stroke);
  }
}

.admin-page .hero {
  margin-bottom: 32px;
}

.stack {
  display: grid;
  gap: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(12, 16, 28, 0.75);
  color: var(--text);
}

:root[data-theme='light'] .form-grid input,
:root[data-theme='light'] .form-grid textarea,
:root[data-theme='light'] .form-grid select {
  background: #ffffff;
}

:root[data-theme='light'] .hero-card,
:root[data-theme='light'] .card,
:root[data-theme='light'] .info-card,
:root[data-theme='light'] .faq-item,
:root[data-theme='light'] .rich-text,
:root[data-theme='light'] .collapse,
:root[data-theme='light'] .table-row,
:root[data-theme='light'] .admin-sidebar,
:root[data-theme='light'] .admin-top {
  box-shadow: var(--shadow);
}

.form-grid .full {
  grid-column: 1 / -1;
}

.sub-grid {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(123, 107, 255, 0.2);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.notice {
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(123, 107, 255, 0.4);
  background: rgba(123, 107, 255, 0.15);
}

.notice.success {
  color: var(--accent-strong);
}

.notice.floating-notice {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-bottom: 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 16px 24px;
  font-weight: 500;
}

.notice.inline-notice {
  display: inline-block;
  margin-bottom: 0;
  margin-left: 12px;
  padding: 8px 12px;
  font-size: 13px;
}

.admin-card {
  margin-top: 16px;
  flex-direction: column;
  align-items: stretch;
}

.collapse {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--panel);
  padding: 10px 14px;
}

.collapse + .collapse {
  margin-top: 14px;
}

.collapse summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}

.collapse summary::-webkit-details-marker {
  display: none;
}

.collapse .collapse-tip {
  font-size: 12px;
  color: var(--muted);
}

.collapse[open] {
  box-shadow: var(--shadow);
}

.table-row.full-row {
  grid-template-columns: 160px 1fr 160px;
}

@media (max-width: 720px) {
  .table-row.full-row {
    grid-template-columns: 1fr;
  }
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  gap: 12px;
}

.drag-hint {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drag-handle {
  cursor: grab;
  color: var(--accent-strong);
  font-size: 18px;
}

.dragging {
  opacity: 0.6;
}

.category-list,
.item-list {
  display: grid;
  gap: 16px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.checkbox-line input {
  accent-color: var(--accent-strong);
}

.image-manager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 12px;
  background: rgba(12, 16, 28, 0.45);
  border-radius: 14px;
  border: 1px dashed rgba(123, 107, 255, 0.2);
}

.button-config {
  display: grid;
  gap: 10px;
}

.button-config-row {
  display: grid;
  grid-template-columns: 1fr 1fr 120px;
  gap: 8px;
}

@media (max-width: 720px) {
  .button-config-row {
    grid-template-columns: 1fr;
  }
}

.image-thumb {
  background: var(--panel);
  border-radius: 12px;
  padding: 8px;
  display: grid;
  gap: 8px;
  position: relative;
}

.image-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.icon-preview {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--stroke);
}

.icon-preview-container {
  margin-bottom: 12px;
  text-align: center;
}

.icon-preview-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--stroke);
  display: block;
  margin: 0 auto 8px;
}

.icon-preview-empty {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px dashed var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 auto 8px;
  background: rgba(123, 107, 255, 0.05);
}

.icon-preview-container p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.image-thumb .drag-handle {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 2px 6px;
}

:root[data-theme='light'] .image-manager {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(90, 73, 255, 0.18);
}

.card.clickable {
  cursor: pointer;
}

.card.clickable:hover {
  transform: translateY(-4px) scale(1.01);
}

.hidden {
  display: none;
}

.editor {
  background: #ffffff;
  border-radius: 12px;
  min-height: 160px;
}

.editor .ql-toolbar {
  border-radius: 12px 12px 0 0;
  border: 1px solid #ddd;
}

.editor .ql-container {
  border-radius: 0 0 12px 12px;
  border: 1px solid #ddd;
  border-top: none;
  font-size: 14px;
}

.editor .ql-editor {
  min-height: 120px;
  padding: 12px;
}

.rich-text {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  color: var(--text);
}

:root[data-theme='light'] .rich-text {
  background: #ffffff;
}

.rich-text img {
  max-width: 100%;
  border-radius: 12px;
}

.carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--panel);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  min-width: 100%;
  scroll-snap-align: center;
}

.carousel-slide img {
  width: 100%;
  display: block;
  height: 320px;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
}

.carousel-dot.active {
  background: var(--accent-strong);
}

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  background: rgba(12, 16, 28, 0.98);
  border-top: 1px solid var(--stroke);
  padding: 10px 16px;
  justify-content: space-around;
  z-index: 10;
  backdrop-filter: blur(12px);
}

:root[data-theme='light'] .mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  border-top-color: rgba(90, 73, 255, 0.12);
}

:root[data-theme='light'] .admin-sidebar {
  background: #ffffff;
  border-right-color: rgba(90, 73, 255, 0.12);
}

:root[data-theme='light'] .admin-top {
  background: #ffffff;
  border-bottom: 1px solid rgba(90, 73, 255, 0.08);
}

:root[data-theme='light'] .sidebar-nav a.active,
:root[data-theme='light'] .sidebar-nav a:hover {
  background: rgba(90, 73, 255, 0.12);
  color: #2b2f3a;
}

.mobile-nav a {
  color: var(--muted);
  font-size: 12px;
  display: grid;
  gap: 4px;
  place-items: center;
}

.mobile-nav i {
  font-size: 16px;
}

.mobile-nav a:hover {
  color: var(--accent-strong);
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.button-config {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  background: var(--panel-strong);
  border-radius: 12px;
  border: 1px solid var(--stroke);
}

.button-config-row {
  display: grid;
  grid-template-columns: 30px 1fr 1fr 120px;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: var(--panel);
  border-radius: 8px;
  border: 1px solid var(--stroke);
  cursor: move;
  transition: all 0.2s ease;
}

.button-config-row:hover {
  border-color: var(--accent);
  background: rgba(123, 107, 255, 0.08);
}

.button-config-row.dragging {
  opacity: 0.5;
  background: rgba(123, 107, 255, 0.15);
}

.drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  cursor: grab;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
}

.button-config-row input,
.button-config-row select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  color: var(--text);
  font-size: 13px;
}

.button-config-row input:focus,
.button-config-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(123, 107, 255, 0.2);
}

input[type="color"] {
  width: 50px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  cursor: pointer;
  padding: 2px;
}

input[type="color"]:hover {
  border-color: var(--accent);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(123, 107, 255, 0.1);
  color: var(--accent);
  font-weight: 500;
  transition: all 0.2s ease;
}

.back-button:hover {
  background: rgba(123, 107, 255, 0.2);
  transform: translateX(-4px);
}

.back-button i {
  font-size: 16px;
}

.detail-intro-card,
.detail-intro-card .section-header,
.detail-carousel-card .section-header {
  margin-bottom: 20px;
}

.detail-carousel-card {
  border: none;
  border-radius: 18px;
  padding: 0;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.detail-carousel-card .card-title {
  padding: 16px 24px;
  margin: 0;
}

.carousel {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--panel);
  height: var(--carousel-height, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 5;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-arrow-left {
  left: 12px;
}

.carousel-arrow-right {
  right: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  cursor: grab;
  width: 100%;
  height: 100%;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dots .dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

:root[data-theme='light'] .carousel-dots .dot {
  background: rgba(0, 0, 0, 0.3);
}

:root[data-theme='light'] .carousel-dots .dot:hover {
  background: rgba(0, 0, 0, 0.5);
}

:root[data-theme='light'] .carousel-dots .dot.active {
  background: rgba(0, 0, 0, 0.8);
}

.detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.detail-icon {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
}

.detail-info h2 {
  font-size: 24px;
  margin: 0 0 8px 0;
}

.detail-summary {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.detail-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.detail-buttons a {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  font-size: 16px;
  min-width: 140px;
}

.detail-buttons .primary {
  background: var(--accent);
  color: white;
}

.detail-buttons .primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(123, 107, 255, 0.3);
}

.detail-buttons .ghost {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: rgba(123, 107, 255, 0.1);
}

.detail-buttons .ghost:hover {
  border-color: var(--accent);
  background: rgba(123, 107, 255, 0.2);
}

.detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
}

.detail-icon {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
}

.detail-info-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  background: var(--panel);
  display: flex;
  justify-content: center;
}

.detail-header h2 {
  font-size: 24px;
  margin: 0 0 8px 0;
}

.detail-summary {
  color: var(--muted);
  margin: 0 0 16px 0;
  font-size: 14px;
}

.detail-intro-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  background: var(--panel);
}

.detail-intro-card .ql-container {
  border: none;
  font-size: 14px;
}

.detail-intro-card .ql-editor {
  padding: 0;
  min-height: auto;
}

.detail-intro-card .rich-text {
  line-height: 1.8;
}

.detail-intro-card .rich-text ul,
.detail-intro-card .rich-text ol {
  margin: 0;
  padding-left: 24px;
}

.detail-intro-card .rich-text li {
  margin-bottom: 12px;
  color: var(--text);
}

.detail-intro-card .rich-text li::marker {
  color: var(--accent);
}

.card-title {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px;
}

.app-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.app-icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 107, 255, 0.1);
  border-radius: 12px;
  font-size: 32px;
  color: var(--accent);
}

.app-card h3 {
  margin: 0;
  font-size: 16px;
}

.app-summary {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.app-card .download {
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s ease;
}

.app-card .download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(123, 107, 255, 0.3);
}

.delete-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
}

.delete-form button {
  width: 100%;
}

.ghost.danger {
  border-color: #ff4757;
  color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
}

.ghost.danger:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: #ff4757;
}

.table-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--stroke);
}

.table-row.table-head {
  background: var(--panel-strong);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid var(--stroke);
}

.table-row:last-child {
  border-bottom: none;
}

.table-row.full-row {
  grid-template-columns: 1fr;
}

.table-row.full-row > span:first-child {
  grid-column: 1;
}

.table-row.full-row > div {
  grid-column: 1;
}

.table-row input,
.table-row select,
.table-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.table-row input:focus,
.table-row select:focus,
.table-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(123, 107, 255, 0.2);
}

.table-row input[type="color"] {
  width: 50px;
  height: 40px;
  padding: 2px;
  cursor: pointer;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.checkbox-line input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-line span {
  font-size: 14px;
}

.button-config-row {
  display: grid;
  grid-template-columns: 30px 1fr 1fr 120px;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: var(--panel);
  border-radius: 8px;
  border: 1px solid var(--stroke);
  cursor: move;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .button-config-row {
    grid-template-columns: 30px 1fr;
  }
  
  .button-config-row input:nth-child(3),
  .button-config-row select {
    grid-column: 2;
  }
  
  .table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .table-row > span:first-child {
    font-weight: 600;
    color: var(--muted);
    font-size: 12px;
  }
}

.login-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 40px;
  border-radius: 32px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.login-header h1 {
  font-size: 24px;
  margin: 0;
}

.login-card .form {
  width: 100%;
}

.login-card .form label {
  margin-bottom: 16px;
}

.login-card .form input {
  width: 100%;
}

.login-card .primary {
  width: 100%;
}

.login-helper {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .login-card {
    max-width: 100%;
    aspect-ratio: auto;
  }
}

.detail-info-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  background: var(--panel);
}

.detail-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.detail-icon {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.detail-info {
  flex: 1;
}

.detail-info h2 {
  font-size: 28px;
  margin: 8px 0 12px 0;
}

.detail-info .eyebrow {
  margin-bottom: 4px;
}

.detail-info .lead {
  margin-bottom: 16px;
  color: var(--muted);
}

.detail-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-buttons a {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .detail-icon {
    width: 100px;
    height: 100px;
  }
  
  .detail-info h2 {
    font-size: 24px;
  }
}

.detail-intro-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  background: var(--panel);
}

.intro-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.intro-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.intro-icon i {
  font-size: 14px;
}

.intro-title {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
}

.detail-intro-card .rich-text {
  line-height: 1.8;
}

.detail-intro-card .rich-text ul,
.detail-intro-card .rich-text ol {
  margin: 0;
  padding-left: 24px;
}

.detail-intro-card .rich-text li {
  margin-bottom: 12px;
  color: var(--text);
}

.detail-intro-card .rich-text li::marker {
  color: var(--accent);
}

.detail-carousel-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  background: var(--panel);
}

.detail-carousel-card h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
}

.detail-carousel-card h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-width: var(--carousel-width, 100%);
  max-height: var(--carousel-height, 500px);
  object-fit: contain;
  display: block;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.category-card {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  overflow: hidden;
}

.category-card summary {
  padding: 16px;
  background: var(--panel-strong);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.category-card summary:hover {
  background: rgba(123, 107, 255, 0.1);
}

.category-card[open] summary {
  background: var(--panel);
  border-bottom: 1px solid var(--stroke);
}

.category-card .drag-handle {
  cursor: grab;
  color: var(--muted);
}

.category-card .drag-handle:active {
  cursor: grabbing;
}

.category-card .table {
  padding: 16px;
}

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

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.app-card {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  overflow: hidden;
}

.app-card summary {
  padding: 16px;
  background: var(--panel-strong);
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-card summary:hover {
  background: rgba(123, 107, 255, 0.1);
}

.app-card[open] summary {
  background: var(--panel);
  border-bottom: 1px solid var(--stroke);
}

.app-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.app-card-header h3 {
  margin: 0;
  font-size: 16px;
}

.app-group {
  font-size: 12px;
  color: var(--muted);
  background: rgba(123, 107, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.app-card .table {
  padding: 16px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .app-card {
    padding: 16px;
    gap: 10px;
  }
  
  .app-icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .app-card h3 {
    font-size: 14px;
  }
  
  .app-summary {
    font-size: 12px;
  }
  
  .app-card .download {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .detail-icon {
    width: 80px;
    height: 80px;
  }
  
  .detail-header h2 {
    font-size: 20px;
  }
  
  .detail-summary {
    font-size: 13px;
  }
  
  .detail-buttons {
    gap: 10px;
  }
  
  .detail-buttons a {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .app-card {
    padding: 12px;
    gap: 8px;
  }
  
  .app-icon-wrapper {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .app-card h3 {
    font-size: 13px;
  }
  
  .app-summary {
    font-size: 11px;
  }
  
  .app-card .download {
    padding: 6px 10px;
    font-size: 12px;
  }
}

.form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  color: var(--text);
}

.existing-images-section {
  display: grid;
  gap: 16px;
}

.image-size-editor {
  padding: 12px;
  background: rgba(123, 107, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--stroke);
}

.image-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: default;
  border: 2px solid var(--stroke);
  transition: all 0.2s ease;
}

.image-thumb:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(123, 107, 255, 0.2);
}

.image-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.image-thumb-number {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: rgba(123, 107, 255, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.image-thumb-actions {
  position: absolute;
  bottom: 4px;
  right: 4px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.image-thumb:hover .image-thumb-actions {
  opacity: 1;
}

.image-thumb-actions button {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.image-thumb-actions .move-up-image,
.image-thumb-actions .move-down-image {
  background: rgba(123, 107, 255, 0.8);
  color: white;
}

.image-thumb-actions .move-up-image:hover,
.image-thumb-actions .move-down-image:hover {
  background: rgba(123, 107, 255, 1);
}

.image-thumb-actions .delete-image {
  background: rgba(255, 71, 87, 0.8);
  color: white;
}

.image-thumb-actions .delete-image:hover {
  background: rgba(255, 71, 87, 1);
}

.form-error {
  color: #ff8f8f;
}

.helper {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.notice {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  margin-bottom: 16px;
}

.notice.success {
  border-color: rgba(86, 216, 163, 0.6);
  color: #93f2c5;
}

.stack {
  display: grid;
  gap: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.form-grid input,
.form-grid textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  color: var(--text);
  resize: vertical;
}

.form-grid textarea {
  min-height: 90px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.sub-grid {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed var(--stroke);
  background: rgba(26, 33, 48, 0.6);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.table {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  align-items: center;
}

:root[data-theme='light'] .table-row {
  background: #ffffff;
}

.table-row input,
.table-row select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(12, 16, 28, 0.75);
  color: var(--text);
}

:root[data-theme='light'] .table-row input,
:root[data-theme='light'] .table-row select {
  background: #ffffff;
}

.table-head {
  background: var(--panel-strong);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer {
  border-top: 1px solid var(--stroke);
  padding-top: 24px;
  text-align: center;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer a:hover {
  color: var(--accent-strong);
}

.ql-toolbar.ql-snow,
.ql-container.ql-snow {
  border: none;
}

.ql-toolbar.ql-snow {
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
  .table-row input {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
  }

  body {
    padding-bottom: 100px;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 24px;
  }

  .card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download {
    width: 100%;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .carousel-slide img {
    height: 220px;
  }
}
. i n t r o - c o n t e n t   { 
     m a r g i n - t o p :   1 6 p x ; 
     l i n e - h e i g h t :   1 . 8 ; 
 } 
 
 . i n t r o - c o n t e n t   u l , 
 . i n t r o - c o n t e n t   o l   { 
     m a r g i n :   0 ; 
     p a d d i n g - l e f t :   2 4 p x ; 
 } 
 
 . i n t r o - c o n t e n t   l i   { 
     m a r g i n - b o t t o m :   1 2 p x ; 
     c o l o r :   v a r ( - - t e x t ) ; 
 } 
 
 . i n t r o - c o n t e n t   l i : : m a r k e r   { 
     c o l o r :   v a r ( - - a c c e n t ) ; 
 } 
 
 . i n t r o - c o n t e n t   p   { 
     m a r g i n :   0   0   1 2 p x   0 ; 
     c o l o r :   v a r ( - - t e x t ) ; 
 } 
 
 . i n t r o - c o n t e n t   . q l - c o n t a i n e r   { 
     b o r d e r :   n o n e ; 
     f o n t - s i z e :   1 4 p x ; 
 } 
 
 . i n t r o - c o n t e n t   . q l - e d i t o r   { 
     p a d d i n g :   0 ; 
     m i n - h e i g h t :   a u t o ; 
 } 
 
 
 . s e c t i o n   { 
     m a r g i n - b o t t o m :   1 6 p x ; 
 } 
 
 . h e r o   { 
     p a d d i n g :   1 6 p x   2 0 p x ; 
     m a r g i n - b o t t o m :   1 6 p x ; 
 } 
 
 . b a c k - b u t t o n   { 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     g a p :   8 p x ; 
     p a d d i n g :   8 p x   1 2 p x ; 
     b o r d e r - r a d i u s :   8 p x ; 
     b a c k g r o u n d :   r g b a ( 1 2 3 ,   1 0 7 ,   2 5 5 ,   0 . 1 ) ; 
     c o l o r :   v a r ( - - a c c e n t ) ; 
     t e x t - d e c o r a t i o n :   n o n e ; 
     f o n t - s i z e :   1 4 p x ; 
     t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
 } 
 
 . b a c k - b u t t o n : h o v e r   { 
     b a c k g r o u n d :   r g b a ( 1 2 3 ,   1 0 7 ,   2 5 5 ,   0 . 2 ) ; 
 } 
 
 
 . i c o n - p r e v i e w   { 
     m a r g i n - b o t t o m :   1 2 p x ; 
     t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . i c o n - p r e v i e w   i m g   { 
     w i d t h :   8 0 p x ; 
     h e i g h t :   8 0 p x ; 
     b o r d e r - r a d i u s :   8 p x ; 
     o b j e c t - f i t :   c o v e r ; 
     m a r g i n - b o t t o m :   8 p x ; 
 } 
 
 . i c o n - p r e v i e w   p   { 
     m a r g i n :   0 ; 
     f o n t - s i z e :   1 2 p x ; 
     c o l o r :   v a r ( - - m u t e d ) ; 
 } 
 
 . i m a g e - m a n a g e r   { 
     d i s p l a y :   g r i d ; 
     g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( a u t o - f i l l ,   m i n m a x ( 1 0 0 p x ,   1 f r ) ) ; 
     g a p :   1 2 p x ; 
 } 
 
 . i m a g e - t h u m b   { 
     p o s i t i o n :   r e l a t i v e ; 
     b o r d e r - r a d i u s :   8 p x ; 
     o v e r f l o w :   h i d d e n ; 
     c u r s o r :   m o v e ; 
     b o r d e r :   2 p x   s o l i d   v a r ( - - s t r o k e ) ; 
     t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
 } 
 
 . i m a g e - t h u m b : h o v e r   { 
     b o r d e r - c o l o r :   v a r ( - - a c c e n t ) ; 
     b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 1 2 3 ,   1 0 7 ,   2 5 5 ,   0 . 2 ) ; 
 } 
 
 . i m a g e - t h u m b   i m g   { 
     w i d t h :   1 0 0 % ; 
     h e i g h t :   1 0 0 p x ; 
     o b j e c t - f i t :   c o v e r ; 
     d i s p l a y :   b l o c k ; 
 } 
 
 . i m a g e - t h u m b   . d e l e t e - i m a g e   { 
     p o s i t i o n :   a b s o l u t e ; 
     t o p :   4 p x ; 
     r i g h t :   4 p x ; 
     w i d t h :   2 4 p x ; 
     h e i g h t :   2 4 p x ; 
     p a d d i n g :   0 ; 
     b o r d e r - r a d i u s :   5 0 % ; 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   7 1 ,   8 7 ,   0 . 9 ) ; 
     c o l o r :   w h i t e ; 
     b o r d e r :   n o n e ; 
     c u r s o r :   p o i n t e r ; 
     f o n t - s i z e :   1 2 p x ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     o p a c i t y :   0 ; 
     t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
 } 
 
 . i m a g e - t h u m b : h o v e r   . d e l e t e - i m a g e   { 
     o p a c i t y :   1 ; 
 } 
 
 . i m a g e - t h u m b   . d e l e t e - i m a g e : h o v e r   { 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   7 1 ,   8 7 ,   1 ) ; 
 } 
 
 
 / *   OS?^(u?N?~?Vh  * / 
 . i n t r o - i c o n   { 
     w i d t h :   2 4 p x   ! i m p o r t a n t ; 
     h e i g h t :   2 4 p x   ! i m p o r t a n t ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     b a c k g r o u n d :   v a r ( - - a c c e n t ) ; 
     c o l o r :   w h i t e ; 
     b o r d e r - r a d i u s :   5 0 % ; 
     f o n t - w e i g h t :   6 0 0 ; 
     f o n t - s i z e :   1 4 p x ; 
     f l e x - s h r i n k :   0 ; 
 } 
 
 . i n t r o - i c o n   i   { 
     f o n t - s i z e :   1 4 p x ; 
 } 
 
 / *   OSN}?	c??  * / 
 . d e t a i l - b u t t o n s   a   { 
     p a d d i n g :   1 2 p x   2 4 p x   ! i m p o r t a n t ; 
     f o n t - s i z e :   1 6 p x   ! i m p o r t a n t ; 
     m i n - w i d t h :   1 2 0 p x ; 
 } 
 
 . d e t a i l - b u t t o n s   . p r i m a r y   { 
     b a c k g r o u n d :   v a r ( - - a c c e n t ) ; 
     c o l o r :   w h i t e ; 
 } 
 
 . d e t a i l - b u t t o n s   . p r i m a r y : h o v e r   { 
     t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
     b o x - s h a d o w :   0   8 p x   1 6 p x   r g b a ( 1 2 3 ,   1 0 7 ,   2 5 5 ,   0 . 3 ) ; 
 } 
 
 
 
 / *   ?Rn??d7h_  * / 
 . s c r e e n s h o t s - c o n t a i n e r   { 
     w i d t h :   1 0 0 % ; 
 } 
 
 . a u t o - c a r o u s e l   { 
     p o s i t i o n :   r e l a t i v e ; 
     b o r d e r - r a d i u s :   0 ; 
     o v e r f l o w :   h i d d e n ; 
     b a c k g r o u n d :   v a r ( - - p a n e l ) ; 
     h e i g h t :   5 0 0 p x ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
 } 
 
 . a u t o - c a r o u s e l - t r a c k   { 
     d i s p l a y :   f l e x ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ; 
     c u r s o r :   g r a b ; 
     w i d t h :   1 0 0 % ; 
     h e i g h t :   1 0 0 % ; 
 } 
 
 . a u t o - c a r o u s e l - t r a c k : a c t i v e   { 
     c u r s o r :   g r a b b i n g ; 
 } 
 
 . a u t o - c a r o u s e l - s l i d e   { 
     m i n - w i d t h :   1 0 0 % ; 
     f l e x - s h r i n k :   0 ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     h e i g h t :   1 0 0 % ; 
     p a d d i n g :   0 ; 
 } 
 
 . a u t o - c a r o u s e l - s l i d e   i m g   { 
     w i d t h :   1 0 0 % ; 
     h e i g h t :   1 0 0 % ; 
     o b j e c t - f i t :   c o n t a i n ; 
     d i s p l a y :   b l o c k ; 
 } 
 
 . a u t o - c a r o u s e l - a r r o w   { 
     p o s i t i o n :   a b s o l u t e ; 
     t o p :   5 0 % ; 
     t r a n s f o r m :   t r a n s l a t e Y ( - 5 0 % ) ; 
     w i d t h :   4 0 p x ; 
     h e i g h t :   4 0 p x ; 
     b o r d e r :   n o n e ; 
     b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 5 ) ; 
     c o l o r :   w h i t e ; 
     f o n t - s i z e :   2 4 p x ; 
     c u r s o r :   p o i n t e r ; 
     z - i n d e x :   5 ; 
     b o r d e r - r a d i u s :   4 p x ; 
     t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
 } 
 
 . a u t o - c a r o u s e l - a r r o w : h o v e r   { 
     b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 8 ) ; 
 } 
 
 . a u t o - c a r o u s e l - a r r o w - l e f t   { 
     l e f t :   1 2 p x ; 
 } 
 
 . a u t o - c a r o u s e l - a r r o w - r i g h t   { 
     r i g h t :   1 2 p x ; 
 } 
 
 . a u t o - c a r o u s e l - d o t s   { 
     p o s i t i o n :   a b s o l u t e ; 
     l e f t :   5 0 % ; 
     b o t t o m :   1 6 p x ; 
     t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ; 
     d i s p l a y :   f l e x ; 
     g a p :   8 p x ; 
     z - i n d e x :   4 ; 
 } 
 
 . a u t o - c a r o u s e l - d o t   { 
     w i d t h :   8 p x ; 
     h e i g h t :   8 p x ; 
     b o r d e r - r a d i u s :   5 0 % ; 
     b o r d e r :   n o n e ; 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 5 ) ; 
     c u r s o r :   p o i n t e r ; 
     t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
     p a d d i n g :   0 ; 
 } 
 
 . a u t o - c a r o u s e l - d o t . a c t i v e   { 
     b a c k g r o u n d :   w h i t e ; 
     w i d t h :   2 4 p x ; 
     b o r d e r - r a d i u s :   4 p x ; 
 } 
 
 . a u t o - c a r o u s e l - d o t : h o v e r   { 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 8 ) ; 
 } 
 
 