html {
  background: var(--bg);
}

body {
  background: var(--bg) !important;
  background-image: none !important;
}

.ambient-mesh-engine,
.hero-ambient,
#codecs::before,
.circleLight,
.card-spotlight::before {
  display: none !important;
}

.bento-card,
.highlight-card,
.device-card,
.codec-matrix-card,
.stat-card,
.dl-card,
.faq-item,
.compare-table-wrapper {
  border: 1px solid var(--gk-line);
  border-radius: 26px;
  background: var(--card-glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--card-glass-shadow);
}

.compare-table-wrapper::before,
.compare-table-wrapper::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .card-spotlight:hover {
    transform: translateY(-3px);
    border-color: var(--gk-tile-border);
    box-shadow: var(--card-glass-hover-shadow);
  }
}

.bento-icon-wrap,
.device-icon-box,
.highlight-svg-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--gk-tile-border);
  background: var(--gk-tile-bg);
  color: var(--gk-tile-fg);
  box-shadow: none;
}

.bento-icon-wrap svg,
.device-icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

.bento-card:hover .bento-icon-wrap,
.highlight-card:hover .highlight-svg-badge {
  background: var(--gk-tile-bg);
  color: var(--gk-tile-fg);
  box-shadow: none;
  transform: none;
}

.highlight-svg-badge .highlight-custom-svg {
  width: 30px;
  height: 30px;
  border-radius: 0;
}

.highlight-custom-svg g:first-child rect {
  fill: none;
}

.highlight-custom-svg [stroke] {
  stroke: currentColor;
}

.highlight-custom-svg path {
  stroke-width: 1.4;
}

.tech-pill {
  border: 1px solid var(--gk-line);
  border-radius: 999px;
  background: var(--gk-soft);
  color: var(--text-muted);
  font-weight: 600;
}

.tech-pill.highlight {
  border-color: var(--gk-tile-border);
  background: var(--gk-tile-bg);
  color: var(--gk-tile-fg);
}

.btn-primary {
  border: 1px solid transparent;
  background: var(--gk-grad);
  color: var(--text-on-primary);
  box-shadow: 0 14px 32px -12px rgba(85, 158, 226, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.compare-table {
  min-width: 640px;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--gk-line);
  text-align: center;
  vertical-align: middle;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 38% !important;
  text-align: left;
}

.compare-table th {
  border-bottom-color: var(--gk-line);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.compare-table th[style]:not(:first-child) {
  width: auto !important;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr {
  transition: background-color 0.2s ease;
}

.compare-table tbody tr:hover {
  background: var(--gk-soft);
}

.compare-table td strong {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
}

.compare-table th.col-featured,
.compare-table td.col-featured {
  border-left: 1px solid var(--gk-tile-border);
  border-right: 1px solid var(--gk-tile-border);
  background: var(--gk-tile-bg);
  box-shadow: none;
}

.compare-table th.col-featured {
  border-top: 1px solid var(--gk-tile-border);
  padding-top: 10px;
  padding-bottom: 10px;
}

.compare-table tbody tr:last-child td.col-featured {
  border-bottom: 1px solid var(--gk-tile-border);
}

.compare-table .status-yes,
.compare-table .status-no,
.compare-table .status-partial {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0;
  line-height: 0;
  opacity: 1;
}

.compare-table .status-yes::before,
.compare-table .status-no::before,
.compare-table .status-partial::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--gk-icon) center / contain no-repeat;
  mask: var(--gk-icon) center / contain no-repeat;
}

.compare-table .status-yes {
  --gk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  color: var(--gk-ok);
}

.compare-table .status-no {
  --gk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  color: var(--gk-bad);
}

.compare-table .status-partial {
  --gk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z'/%3E%3C/svg%3E");
  color: var(--text-dim);
}

.cmp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
}

.cmp-brand-mark {
  width: 34px;
  height: auto;
  aspect-ratio: 500 / 308;
}

.cmp-brand-text {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

.cmp-brand-text em {
  margin-left: 0.2em;
  font-style: normal;
  background: var(--gk-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.compare-footnote {
  padding: 12px 20px;
  border-top: 1px solid var(--gk-line);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .compare-table th:first-child,
  .compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 200px;
    background: var(--bg2);
  }
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-height, 80px) + 20px);
  padding-bottom: clamp(28px, 6vh, 64px);
}

@media (min-width: 993px) {
  .hero h1 {
    font-size: clamp(2.1rem, min(4.4vw, 8vh), 4.4rem);
  }
}

@media (min-width: 993px) and (max-height: 820px) {
  .hero-desc {
    margin-bottom: 20px;
  }
}

.floating-actions-dock,
.announcement-bar {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-actions-dock.is-away,
.announcement-bar.is-away {
  animation: none !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

:root {
  --max-width-site: 1304px !important;
}

.highlight-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.highlight-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, 4vw, 56px);
  height: auto;
}

.highlight-card-main {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.highlight-card-main .highlight-card-header {
  margin-bottom: 0;
}

.highlight-card-wide .highlight-card-body p {
  margin-bottom: 0;
  flex-grow: 0;
}

.highlight-card-samples {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--gk-line);
  border-radius: 20px;
  background: var(--gk-soft);
}

.highlight-samples-title {
  display: block;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-card-samples .tech-pills {
  flex-flow: row wrap;
  align-items: flex-start;
  gap: 10px;
}

.highlight-svg-badge svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1100px) {
  .highlight-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .highlight-card-wide {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
}

@media (max-width: 560px) {
  .highlight-card-main {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .highlight-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.compare-table-wrapper {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}

.compare-table {
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 6px 12px;
}

.compare-table th {
  font-size: 0.68rem;
}

.compare-table td strong {
  font-size: 0.8rem;
}

.compare-table th.col-featured {
  padding-top: 8px;
  padding-bottom: 8px;
}

.compare-table .status-yes,
.compare-table .status-no,
.compare-table .status-partial {
  width: 20px;
  height: 20px;
}

.compare-footnote {
  padding: 9px 16px;
  font-size: 0.74rem;
}

.dl-card p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.floating-actions-dock {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  gap: 10px;
}

.floating-actions-dock .floating-btn {
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--gk-line) !important;
  border-radius: 999px;
  background: rgba(6, 14, 18, 0.66) !important;
  color: #f0f6fc !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%) !important;
  backdrop-filter: blur(18px) saturate(170%) !important;
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

:root[data-theme="light"] .floating-actions-dock .floating-btn {
  background: rgba(244, 249, 254, 0.72) !important;
  color: #0d1a24 !important;
  box-shadow: 0 16px 40px -18px rgba(20, 60, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.floating-actions-dock .floating-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 158, 226, 0.34) !important;
}

.floating-actions-dock .floating-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.floating-actions-dock .floating-btn-webtv svg {
  color: #10b981;
}

.floating-actions-dock .floating-btn-panel svg {
  color: #3b82f6;
}

.floating-actions-dock .floating-btn-tg svg {
  color: #2aabee;
}

.floating-actions-dock .floating-btn-top {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
}

.floating-actions-dock .floating-btn-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

@media (max-width: 1639px) {
  .floating-actions-dock .floating-btn-text {
    display: none;
  }

  .floating-actions-dock .floating-btn:not(.floating-btn-top) {
    width: 48px;
    padding: 0;
    justify-content: center;
  }
}
