/* Brand palette shared with the SmartNet Player icon and native app. */
:root {
  color-scheme: dark;
  --sn-bg: #17181d;
  --sn-surface: #25282e;
  --sn-surface-soft: #202329;
  --sn-line: #41464e;
  --sn-blue: #328ef0;
  --sn-purple: #634fdc;
  --sn-orange: #f88349;
  --sn-cta-orange: #f88349;
  --sn-gradient: linear-gradient(112deg, var(--sn-blue) 0%, var(--sn-purple) 56%, var(--sn-cta-orange) 100%);
}

body.bg-slate-950 {
  background-color: var(--sn-bg) !important;
}

#app.marketing-home {
  isolation: isolate;
  color: #f4f5f7;
}

#app.marketing-home > .fixed.inset-0 > div:nth-child(1) {
  background-color: rgb(50 142 240 / 14%) !important;
}

#app.marketing-home > .fixed.inset-0 > div:nth-child(2) {
  background-color: rgb(99 79 220 / 14%) !important;
}

#app.marketing-home > .fixed.inset-0 > div:nth-child(3) {
  background-color: rgb(248 131 73 / 9%) !important;
}

#app.marketing-home > header {
  background-color: rgb(36 39 45 / 94%) !important;
  border-color: rgb(255 255 255 / 10%) !important;
}

#app.marketing-home .brand-mark {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 7px 20px rgb(0 0 0 / 28%);
}

#app.marketing-home .brand-mark img,
.footer-brand-mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
}

#app.marketing-home header a[aria-label="SmartNet ana sayfa"] > span:last-child {
  background: none !important;
  color: #f4f5f7 !important;
  -webkit-text-fill-color: #f4f5f7;
}

#app.marketing-home header a[aria-label="SmartNet ana sayfa"] > span:last-child > span {
  background: var(--sn-gradient);
  background-clip: text;
  color: transparent !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#app.marketing-home [class~="bg-slate-950"] {
  background-color: var(--sn-bg) !important;
}

#app.marketing-home [class~="bg-slate-950/80"],
#app.marketing-home [class~="bg-slate-950/90"] {
  background-color: rgb(23 24 29 / 92%) !important;
}

#app.marketing-home [class~="bg-slate-900"],
#app.marketing-home [class~="bg-slate-900/30"],
#app.marketing-home [class~="bg-slate-900/50"],
#app.marketing-home [class~="bg-slate-900/60"],
#app.marketing-home [class~="bg-slate-900/80"] {
  background-color: rgb(37 40 46 / 86%) !important;
}

#app.marketing-home [class~="bg-slate-800"] {
  background-color: #30343c !important;
}

#app.marketing-home [class~="text-blue-400"],
#app.marketing-home [class~="text-blue-300"],
#app.marketing-home [class~="text-blue-500"] {
  color: #74bcff !important;
}

#app.marketing-home [class~="text-indigo-400"],
#app.marketing-home [class~="text-purple-400"] {
  color: #a89aff !important;
}

#app.marketing-home [class~="text-amber-400"] {
  color: var(--sn-orange) !important;
}

#app.marketing-home [class~="border-blue-500/20"],
#app.marketing-home [class~="border-blue-500/30"] {
  border-color: rgb(111 202 255 / 32%) !important;
}

#app.marketing-home main > section:first-child > .inline-flex {
  border-color: rgb(133 151 180 / 34%);
  background: linear-gradient(110deg, rgb(50 142 240 / 13%), rgb(99 79 220 / 12%) 58%, rgb(248 131 73 / 8%));
  color: #a9ceff;
}

#app.marketing-home [data-i18n="heroAccentNew"] {
  background-image: linear-gradient(95deg, #61b9ff 0%, #a79aff 53%, #ff9b65 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#app.marketing-home [class~="bg-blue-600"],
#app.marketing-home [class~="bg-gradient-to-r"][class~="from-blue-600"] {
  background-color: var(--sn-purple) !important;
  background-image: var(--sn-gradient) !important;
}

#app.marketing-home [class~="hover:bg-blue-500"]:hover {
  background-image: linear-gradient(112deg, #55a5ff, #7668f0 56%, #d86b40) !important;
}

#app.marketing-home .tab-btn[aria-selected="true"] {
  border: 1px solid rgb(111 202 255 / 48%);
  background: var(--sn-gradient) !important;
  box-shadow: 0 8px 22px rgb(99 79 220 / 24%);
}

#app.marketing-home .tab-btn[aria-selected="false"] {
  border-color: #41464e !important;
  background-color: #25282e !important;
}

#app.marketing-home a:focus-visible,
#app.marketing-home button:focus-visible,
.experience :focus-visible,
.experience-mode .modal :focus-visible {
  outline: 3px solid #6fcaff;
  outline-offset: 3px;
}

body.experience-mode {
  background-color: var(--sn-bg) !important;
  color: #f4f5f7;
}

.experience {
  --ex-bg: var(--sn-bg);
  --ex-panel: #25282e;
  --ex-line: var(--sn-line);
  --ex-muted: #a9b0bc;
  --ex-blue: #74bcff;
  background: radial-gradient(ellipse at 82% 0, rgb(99 79 220 / 11%), transparent 42%),
    radial-gradient(ellipse at 0 28%, rgb(50 142 240 / 9%), transparent 38%),
    radial-gradient(ellipse at 95% 78%, rgb(248 131 73 / 5%), transparent 34%), var(--sn-bg);
}

.ex-header,
.ex-sidebar {
  background-color: #25282e;
}

.ex-brand img {
  object-fit: contain;
  border-radius: 11px;
}

.ex-brand span,
.ex-story h2 span {
  background: var(--sn-gradient);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.experience .ex-primary,
.experience .logo-button,
.experience .btn:not(.secondary):not(.danger):not(.ghost),
.experience-mode .modal-card button:not(.secondary):not(.ghost) {
  background: var(--sn-gradient);
  box-shadow: 0 8px 22px rgb(99 79 220 / 22%);
}

.ex-sidebar button.active {
  border-color: rgb(111 202 255 / 54%);
  background: linear-gradient(112deg, rgb(50 142 240 / 22%), rgb(99 79 220 / 22%) 58%, rgb(189 84 45 / 16%));
}

.experience .channel-row,
.experience .settings-card,
.experience .epg-program,
.experience .settings-account,
.experience .ex-plan-list > div {
  border-color: var(--sn-line);
  background-color: #25282e;
}

.experience .channel-row:hover,
.experience .channel-row.active {
  border-color: rgb(111 202 255 / 62%);
  background: linear-gradient(112deg, rgb(50 142 240 / 20%), rgb(99 79 220 / 18%) 65%, rgb(189 84 45 / 12%));
}

.experience input[type="checkbox"] {
  accent-color: var(--sn-blue);
}

@media (max-width: 600px) {
  #app.marketing-home .brand-mark {
    width: 36px;
    height: 36px;
  }
}

/* One shared brand language for marketing, account, player, and information routes. */
:root {
  --sn-text: #f4f5f7;
  --sn-muted: #a9b0bc;
  --sn-surface-raised: #2c2f35;
  --sn-input: #1c1f25;
  --sn-blue-soft: rgb(50 142 240 / 14%);
  --sn-purple-soft: rgb(99 79 220 / 14%);
  --sn-orange-soft: rgb(248 131 73 / 11%);
}

body.bg-slate-950,
body.experience-mode {
  background: var(--sn-bg) !important;
  color: var(--sn-text);
}

#app.marketing-home {
  background: var(--sn-bg);
  color: var(--sn-text);
}

#app.marketing-home [class~="bg-slate-950/95"] {
  background-color: rgb(23 24 29 / 96%) !important;
}

#app.marketing-home [class~="bg-slate-900/40"],
#app.marketing-home [class~="bg-slate-900/50"],
#app.marketing-home [class~="bg-slate-900/60"] {
  background-color: rgb(37 40 46 / 88%) !important;
}

#app.marketing-home [class~="bg-blue-500/10"],
#app.marketing-home [class~="bg-indigo-500/10"],
#app.marketing-home [class~="bg-sky-500/10"] {
  background: linear-gradient(135deg, var(--sn-blue-soft), var(--sn-purple-soft) 58%, var(--sn-orange-soft)) !important;
}

#app.marketing-home [class~="bg-amber-500/20"] {
  background-color: var(--sn-orange-soft) !important;
}

#app.marketing-home [class~="text-cyan-400"],
#app.marketing-home [class~="text-sky-400"] {
  color: #83c4ff !important;
}

#app.marketing-home [class~="text-amber-400"],
#app.marketing-home [class~="text-amber-400/90"] {
  color: #ffad79 !important;
}

#app.marketing-home [class~="border-amber-500/30"] {
  border-color: rgb(248 131 73 / 40%) !important;
}

#app.marketing-home [class~="border-indigo-500/20"],
#app.marketing-home [class~="border-sky-500/20"],
#app.marketing-home [class~="border-blue-500/50"] {
  border-color: rgb(119 152 211 / 34%) !important;
}

#app.marketing-home [class~="bg-sky-600"],
#app.marketing-home [class~="bg-blue-600"],
#app.marketing-home [class~="bg-gradient-to-r"][class~="from-blue-600"],
#app.marketing-home #platformlar a[download],
#app.marketing-home #lisanslar a[href="/activate"] {
  background: var(--sn-gradient) !important;
  box-shadow: 0 9px 24px rgb(99 79 220 / 22%);
}

#app.marketing-home [class~="hover:bg-sky-500"]:hover,
#app.marketing-home [class~="hover:bg-blue-500"]:hover,
#app.marketing-home [class~="hover:bg-emerald-500"]:hover {
  background-image: linear-gradient(112deg, #58a9ff, #8270f2 56%, #ff9a64) !important;
  background-color: transparent !important;
}

#app.marketing-home [class~="hover:border-blue-500/50"]:hover {
  border-color: rgb(120 183 255 / 65%) !important;
}

#app.marketing-home footer {
  background-color: rgb(37 40 46 / 55%);
  border-color: rgb(255 255 255 / 10%);
}

#app.marketing-home footer a:hover,
#app.marketing-home nav a:hover {
  color: #ffad79 !important;
}

#app.marketing-home .modal-card,
#app.marketing-home [role="dialog"] > div {
  border-color: var(--sn-line) !important;
  background-color: var(--sn-surface) !important;
}

#app.marketing-home input:not([type="checkbox"]),
#app.marketing-home select,
#app.marketing-home textarea {
  border-color: #484d56;
  background-color: var(--sn-input);
  color: var(--sn-text);
}

#app.marketing-home input:focus,
#app.marketing-home select:focus,
#app.marketing-home textarea:focus {
  border-color: #76baff;
  box-shadow: 0 0 0 3px rgb(50 142 240 / 16%);
}

#app.marketing-home input[type="checkbox"] {
  accent-color: var(--sn-blue);
}

#app.marketing-home a:focus-visible,
#app.marketing-home button:focus-visible,
#app.marketing-home input:focus-visible,
#app.marketing-home select:focus-visible,
#app.marketing-home textarea:focus-visible {
  outline: 3px solid #83c4ff;
  outline-offset: 3px;
}

body.experience-mode {
  color-scheme: dark;
}

.experience {
  --ex-bg: var(--sn-bg);
  --ex-panel: var(--sn-surface);
  --ex-line: var(--sn-line);
  --ex-muted: var(--sn-muted);
  --ex-blue: #83c4ff;
  min-height: 100dvh;
  color: var(--sn-text);
  background:
    radial-gradient(ellipse at 85% 0, rgb(99 79 220 / 14%), transparent 42%),
    radial-gradient(ellipse at 0 30%, rgb(50 142 240 / 10%), transparent 38%),
    radial-gradient(ellipse at 95% 80%, rgb(248 131 73 / 7%), transparent 34%),
    var(--sn-bg) !important;
}

.experience .ex-header,
.experience .ex-sidebar {
  background-color: #22252b;
  border-color: var(--sn-line);
}

.experience h1,
.experience h2,
.experience h3 {
  color: var(--sn-text);
}

.experience .ex-card,
.experience .ex-plan-list > div,
.experience .settings-card,
.experience .epg-program,
.experience .settings-account,
.experience .ex-metrics article,
.experience-mode .modal-card,
.experience-mode .smartnet-parental-card {
  border-color: var(--sn-line);
  background: linear-gradient(145deg, #292c32, #22252b 70%);
}

.experience .ex-header nav a,
.experience .ex-sidebar button,
.experience .ex-secondary,
.experience .smart-secondary,
.experience .btn.secondary {
  color: #d5d9e0;
}

.experience .ex-header nav a[aria-current="page"],
.experience .ex-sidebar button.active,
.experience .ex-kicker,
.experience .ex-plan-list span,
.experience .ex-native-device strong,
.experience .settings-grid > button > span {
  color: #83c4ff;
}

.experience .ex-story h2 span,
.experience .ex-brand span {
  background: var(--sn-gradient);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.experience .ex-primary,
.experience .logo-button,
.experience .btn:not(.secondary):not(.danger):not(.ghost),
.experience-mode .modal-card button:not(.secondary):not(.ghost),
.experience-mode .modal button:not(.secondary):not(.ghost) {
  border-color: transparent;
  background: var(--sn-gradient);
  box-shadow: 0 9px 24px rgb(99 79 220 / 24%);
}

.experience .ex-secondary,
.experience .smart-secondary,
.experience .btn.secondary,
.experience .btn.ghost {
  border-color: #4a4f58;
  background: #30333a;
}

.experience .ex-large-mark {
  background: var(--sn-gradient);
  box-shadow: 0 10px 36px rgb(99 79 220 / 25%);
}

.experience .ex-tags span,
.experience .ex-badge {
  border-color: rgb(119 152 211 / 38%);
  background: linear-gradient(110deg, rgb(50 142 240 / 13%), rgb(99 79 220 / 13%) 60%, rgb(248 131 73 / 9%));
  color: #b9d6ff;
}

.experience input:not([type="checkbox"]),
.experience select,
.experience textarea,
.experience-mode .modal input,
.experience-mode .modal select {
  border-color: #484d56;
  background-color: var(--sn-input);
  color: var(--sn-text);
}

.experience input::placeholder,
.experience textarea::placeholder {
  color: #8d96a4;
}

.experience input:focus,
.experience select:focus,
.experience textarea:focus {
  border-color: #76baff;
  box-shadow: 0 0 0 3px rgb(50 142 240 / 16%);
}

.experience .ex-notice,
.experience .notice:not(.error):not(.success),
.experience-mode .modal-card .notice:not(.error) {
  border-color: rgb(119 152 211 / 35%);
  background: linear-gradient(110deg, rgb(50 142 240 / 12%), rgb(99 79 220 / 10%) 60%, rgb(248 131 73 / 7%));
  color: #d5d9e0;
}

.experience .error,
.experience-mode .modal-card .notice.error {
  border-color: #74404a;
  background: #382328;
}

.experience .success {
  border-color: #3f695c;
  background: #22362f;
}

.experience .channel-row,
.experience .settings-grid > button {
  border-color: var(--sn-line);
  background-color: #292c32;
}

.experience .ex-native-device,
.experience .direct-login-form {
  border-color: var(--sn-line);
}

.experience .channel-row:hover,
.experience .channel-row.active,
.experience .settings-grid > button:hover {
  border-color: rgb(119 183 255 / 64%);
  background: linear-gradient(112deg, rgb(50 142 240 / 20%), rgb(99 79 220 / 19%) 58%, rgb(248 131 73 / 12%));
}

.experience .logo-sm {
  background: transparent;
  color: #83c4ff;
}

.experience .settings-counts span {
  background: linear-gradient(110deg, rgb(50 142 240 / 14%), rgb(99 79 220 / 13%) 60%, rgb(248 131 73 / 8%));
}

.experience .ex-empty-video {
  background: radial-gradient(circle at 50% 45%, #303044, #202329 58%, #17181d);
}

.experience .ex-video-stage {
  background-color: #17181d;
}

.experience .ex-empty-video span {
  border-color: rgb(119 152 211 / 42%);
  background: linear-gradient(135deg, rgb(50 142 240 / 22%), rgb(99 79 220 / 24%) 60%, rgb(248 131 73 / 15%));
  color: #a9ccff;
}

.experience .ex-footer {
  border-color: var(--sn-line);
}

.experience-mode .modal,
.experience-mode .smartnet-parental-modal {
  background-color: rgb(17 18 22 / 88%);
}

.experience .ex-footer a:hover,
.experience .ex-text-link:hover {
  color: #ffad79;
}

.experience .status {
  background: #29453b;
  color: #b3ebd1;
}

.experience .status.passive,
.experience .btn.danger {
  border-color: #74404a;
  background: #382328;
  color: #ffc1c8;
}

.experience :focus-visible,
.experience-mode .modal :focus-visible {
  outline-color: #83c4ff;
}

::selection {
  background: rgb(99 79 220 / 55%);
  color: white;
}

/* Reuse the supplied layered-play mark on the alternate shared-route headers. */
.launch-brand-mark,
.signature-brand-mark {
  background: transparent url("/smartnet-player-logo.png") center / contain no-repeat !important;
  box-shadow: none !important;
}

.launch-brand-mark::before,
.signature-brand-mark::before,
.launch-brand-mark > span,
.signature-brand-mark > span {
  display: none !important;
  content: none !important;
}

/* ---------- Landing app interface demo (Windows-style) ---------- */

.demo-app {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 84% -14%, rgba(61, 124, 245, .2), transparent 62%),
    radial-gradient(640px 380px at 2% 112%, rgba(248, 131, 73, .1), transparent 64%),
    #0b0e14;
  color: #eef3fa;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  text-align: left;
  letter-spacing: 0;
}

.demo-app *,
.demo-app *::before,
.demo-app *::after {
  box-sizing: border-box;
}

.demo-rail {
  flex: 0 0 176px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 12px 12px;
  border-right: 1px solid rgba(148, 163, 184, .12);
  background: linear-gradient(180deg, rgba(24, 28, 38, .94), rgba(13, 16, 23, .96));
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
}

.demo-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 8px;
}

.demo-brand b {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
}

.demo-brand i {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.3px;
  background: linear-gradient(100deg, #6fcaff, #9b8bff 55%, #f88349);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.demo-rail-nav {
  display: grid;
  gap: 4px;
}

.demo-rail-nav span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 9px;
  color: #aab6c8;
  font-size: 10.5px;
  font-weight: 650;
  white-space: nowrap;
}

.demo-rail-nav em {
  flex: 0 0 auto;
  width: 14px;
  color: #7f8b9c;
  font-style: normal;
  font-size: 10.5px;
  text-align: center;
}

.demo-rail-nav span.active {
  background: linear-gradient(135deg, #4aa8ff, #7b63f6 62%, #f88349);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(50, 142, 240, .25);
}

.demo-rail-nav span.active em {
  color: #fff;
}

.demo-rail-foot {
  margin-top: auto;
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
}

.demo-rail-foot b {
  display: block;
  font-size: 10px;
  font-weight: 750;
  color: #e8eef7;
}

.demo-rail-foot small {
  display: block;
  margin-top: 2px;
  font-size: 8.5px;
  color: #8b96a6;
}

.demo-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.demo-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.demo-head {
  display: grid;
  gap: 3px;
}

.demo-head span {
  color: #6fcaff;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.demo-head b {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.4px;
  line-height: 1;
}

.demo-search {
  flex: 1 1 auto;
  max-width: 270px;
  min-height: 30px;
  margin-left: auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 9px;
  background: #0e1219;
  color: #7f8b9c;
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
}

.demo-search em {
  font-style: normal;
  color: #6fcaff;
}

.demo-clock {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.demo-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 16px 14px;
}

.demo-view {
  display: none;
  height: 100%;
  min-height: 0;
}

.demo-view.is-active {
  display: grid;
}

/* Live TV */

.demo-view[data-demo-view="live"].is-active {
  grid-template-columns: minmax(0, 1fr) 31%;
  gap: 12px;
}

.demo-player {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 13px;
  overflow: hidden;
  background:
    radial-gradient(420px 260px at 50% 36%, rgba(61, 143, 235, .34), transparent 72%),
    linear-gradient(150deg, #101b2d, #0a0d13 70%);
}

.demo-player::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 10, .88));
}

.demo-live {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(248, 131, 73, .35);
  border-radius: 7px;
  background: rgba(9, 12, 18, .72);
  color: #ffb083;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .8px;
}

.demo-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f88349;
  box-shadow: 0 0 8px #f88349;
}

.demo-play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3d9af5, #7b63f6 60%, #f88349);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 14px 30px rgba(50, 142, 240, .32);
}

.demo-now {
  position: absolute;
  z-index: 2;
  inset: auto 12px 11px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.demo-now b {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.demo-now small {
  display: block;
  margin-top: 2px;
  color: #aab6c8;
  font-size: 8.5px;
}

.demo-now em {
  font-style: normal;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.demo-list {
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 13px;
  background: rgba(17, 21, 29, .82);
  overflow: hidden;
}

.demo-list-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.demo-list-head b {
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
}

.demo-list-head span {
  color: #8b96a6;
  font-size: 8.5px;
}

.demo-rows {
  flex: 1 1 auto;
  min-height: 0;
  padding: 6px;
  display: grid;
  align-content: start;
  gap: 3px;
  overflow: hidden;
}

.demo-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.demo-channel.active {
  border-color: rgba(111, 202, 255, .32);
  background: linear-gradient(90deg, rgba(61, 154, 245, .22), rgba(123, 99, 246, .1));
}

.demo-channel > i {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a4f83, #15243b);
  color: #dfe7f2;
  font-style: normal;
  font-size: 8px;
  font-weight: 800;
}

.demo-channel:nth-child(2) > i { background: linear-gradient(135deg, #6d3a2a, #2a150e); }
.demo-channel:nth-child(3) > i { background: linear-gradient(135deg, #4f2f66, #1f1229); }
.demo-channel:nth-child(4) > i { background: linear-gradient(135deg, #1f5a4f, #0c211e); }
.demo-channel:nth-child(5) > i { background: linear-gradient(135deg, #6a5320, #241c0b); }
.demo-channel:nth-child(6) > i { background: linear-gradient(135deg, #5c2431, #200b10); }

.demo-channel b {
  display: block;
  color: #eef3fa;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-channel small {
  display: block;
  margin-top: 1px;
  color: #8b96a6;
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Film archive */

.demo-view[data-demo-view="vod"].is-active,
.demo-view[data-demo-view="series"].is-active {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.demo-view-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.demo-view-head b {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.demo-view-head span {
  color: #8b96a6;
  font-size: 8.5px;
}

.demo-posters {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.demo-poster {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  overflow: hidden;
}

.demo-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(4, 6, 10, .86));
}

.demo-poster > span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
}

.demo-poster.p1 { background: linear-gradient(150deg, #2d5da6, #101a2c); }
.demo-poster.p2 { background: linear-gradient(150deg, #5c3175, #1a1024); }
.demo-poster.p3 { background: linear-gradient(150deg, #7a4030, #241109); }
.demo-poster.p4 { background: linear-gradient(150deg, #23605a, #0c1c1b); }
.demo-poster.p5 { background: linear-gradient(150deg, #6a4a24, #1e1408); }
.demo-poster.p6 { background: linear-gradient(150deg, #2d4d7a, #0e1624); }
.demo-poster.p7 { background: linear-gradient(150deg, #4d3363, #150e1d); }
.demo-poster.p8 { background: linear-gradient(150deg, #6c2735, #1f0a10); }
.demo-poster.p9 { background: linear-gradient(150deg, #264a68, #0b1520); }
.demo-poster.p10 { background: linear-gradient(150deg, #3c435a, #11141b); }

/* Series */

.demo-shows {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.demo-show {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  overflow: hidden;
}

.demo-show::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 6, 10, .88));
}

.demo-show-badge {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 9px;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(9, 12, 18, .68);
  color: #dbe6f4;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .4px;
}

.demo-show-name {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
}

.demo-progress {
  position: relative;
  z-index: 1;
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}

.demo-progress i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #6fcaff, #f88349);
}

.demo-show.s1 { background: linear-gradient(150deg, #24507f, #0d1724); }
.demo-show.s2 { background: linear-gradient(150deg, #4c2c63, #150e1d); }
.demo-show.s3 { background: linear-gradient(150deg, #205a50, #0b1c1a); }
.demo-show.s4 { background: linear-gradient(150deg, #653c25, #1d1109); }
.demo-show.s5 { background: linear-gradient(150deg, #3c2f68, #120f22); }
.demo-show.s6 { background: linear-gradient(150deg, #1f4a62, #0a1620); }

/* EPG */

.demo-epg {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.demo-epg-head {
  display: grid;
  grid-template-columns: 92px repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding-bottom: 2px;
  color: #7f8b9c;
  font-size: 8px;
  font-weight: 700;
}

.demo-epg-head span:not(:first-child) {
  padding-left: 6px;
  border-left: 1px solid rgba(148, 163, 184, .1);
}

.demo-epg-row {
  min-height: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 5px;
  align-items: stretch;
}

.demo-epg-row > b {
  display: flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  color: #e8eef7;
  font-size: 9px;
  font-weight: 750;
}

.demo-epg-track {
  min-width: 0;
  display: flex;
  gap: 4px;
}

.demo-epg-track > span {
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  color: #e8eef7;
  font-size: 8.5px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-epg-track .e1 { flex: 1.1; background: rgba(50, 142, 240, .22); border: 1px solid rgba(111, 202, 255, .2); }
.demo-epg-track .e2 { flex: 1.3; background: rgba(123, 99, 246, .18); border: 1px solid rgba(155, 139, 255, .2); }
.demo-epg-track .e3 { flex: 1.5; background: rgba(248, 131, 73, .17); border: 1px solid rgba(248, 131, 73, .22); }
.demo-epg-track .e4 { flex: 1.2; background: rgba(87, 216, 168, .14); border: 1px solid rgba(87, 216, 168, .2); }
.demo-epg-track .e5 { flex: 1.4; background: rgba(148, 163, 184, .13); border: 1px solid rgba(148, 163, 184, .16); }
.demo-epg-track .e6 { flex: 1.6; background: rgba(240, 196, 88, .15); border: 1px solid rgba(240, 196, 88, .2); }

/* Multi screen */

.demo-multi {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.demo-multi-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  overflow: hidden;
}

.demo-multi-tile.active {
  border-color: rgba(111, 202, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(111, 202, 255, .25);
}

.demo-multi-tile b {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.demo-multi-tile em {
  position: relative;
  z-index: 1;
  color: #aab6c8;
  font-size: 8px;
  font-style: normal;
}

.demo-multi-tile.m1 { background: radial-gradient(240px 150px at 50% 30%, rgba(61, 143, 235, .4), transparent 70%), linear-gradient(150deg, #13243d, #090d14); }
.demo-multi-tile.m2 { background: radial-gradient(240px 150px at 50% 30%, rgba(87, 216, 168, .28), transparent 70%), linear-gradient(150deg, #10282a, #090d14); }
.demo-multi-tile.m3 { background: radial-gradient(240px 150px at 50% 30%, rgba(123, 99, 246, .3), transparent 70%), linear-gradient(150deg, #1d1836, #090d14); }
.demo-multi-tile.m4 { background: radial-gradient(240px 150px at 50% 30%, rgba(248, 131, 73, .26), transparent 70%), linear-gradient(150deg, #32200f, #090d14); }

@media (max-width: 900px) {
  .demo-rail {
    flex-basis: 132px;
    padding: 10px 8px;
  }

  .demo-rail-nav span {
    min-height: 26px;
    padding: 0 7px;
    font-size: 9px;
  }

  .demo-brand b,
  .demo-brand i {
    font-size: 11px;
  }

  .demo-search {
    display: none;
  }

  .demo-posters {
    gap: 6px;
  }
}

@media (max-width: 680px) {
  #tab-content-area {
    aspect-ratio: auto !important;
    height: min(300px, 76vw);
  }

  .demo-rail {
    display: none;
  }

  .demo-top {
    padding: 8px 10px;
    gap: 8px;
  }

  .demo-head span {
    font-size: 6.5px;
  }

  .demo-head b {
    font-size: 13px;
  }

  .demo-clock {
    padding: 5px 8px;
    font-size: 10px;
  }

  .demo-body {
    padding: 8px 10px 10px;
  }

  .demo-view[data-demo-view="live"].is-active {
    grid-template-columns: minmax(0, 1fr) 42%;
    gap: 8px;
  }

  .demo-play {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .demo-now {
    inset: auto 9px 8px;
  }

  .demo-now b {
    font-size: 10px;
  }

  .demo-now small {
    display: none;
  }

  .demo-posters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .demo-poster:nth-child(n + 10) {
    display: none;
  }

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

  .demo-epg-head,
  .demo-epg-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .demo-epg-track > span:nth-child(n + 3) {
    display: none;
  }

  .demo-epg-track > span {
    flex: 1 1 0;
  }
}

/* Library view (mirrors the desktop app) */

.demo-brand span {
  display: block;
  line-height: 1.2;
}

.demo-brand small {
  display: block;
  margin-top: 2px;
  color: #7f8b9c;
  font-size: 6.2px;
  font-weight: 800;
  letter-spacing: .5px;
  white-space: nowrap;
}

.demo-rail-label {
  margin: 4px 0 0;
  padding: 0 10px;
  color: #6d7787;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.demo-rail-nav span > b {
  margin-left: auto;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  color: #9aa6b8;
  font-size: 7.5px;
  font-weight: 750;
  text-align: center;
}

.demo-rail-nav span.active > b {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.demo-rail-foot p {
  margin: 6px 0 0;
  color: #6d7787;
  font-size: 6.5px;
  line-height: 1.5;
}

.demo-crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d7e0ec;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.1px;
  white-space: nowrap;
}

.demo-crumb i {
  color: #5c6678;
  font-style: normal;
}

.demo-plan {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4aa8ff, #7b63f6 62%, #f88349);
  color: #fff;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .3px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(50, 142, 240, .3);
}

.demo-loaded {
  color: #8b96a6;
  font-size: 7.5px;
  white-space: nowrap;
}

.demo-lib {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-lib-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.demo-lib-head > div:first-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.demo-eyebrow {
  color: #8fc4ff;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  white-space: nowrap;
}

.demo-lib-head b {
  color: #fff;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.5px;
  line-height: 1.1;
}

.demo-lib-head small {
  color: #8b96a6;
  font-size: 8px;
}

.demo-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
}

.demo-lib .demo-search {
  width: 148px;
  padding: 6px 9px;
  font-size: 7.5px;
  white-space: nowrap;
  overflow: hidden;
}

.demo-add {
  padding: 6px 9px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4aa8ff, #7b63f6 62%, #f88349);
  color: #fff;
  font-size: 7.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(50, 142, 240, .28);
}

.demo-chips {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.demo-chips span {
  padding: 4px 8px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 7px;
  color: #aab6c8;
  font-size: 7px;
  font-weight: 650;
  white-space: nowrap;
}

.demo-chips span.active {
  border-color: rgba(111, 202, 255, .5);
  background: rgba(50, 142, 240, .16);
  color: #d3e9ff;
  font-weight: 750;
}

.demo-chips i {
  margin-left: auto;
  padding-left: 4px;
  color: #6d7787;
  font-size: 9px;
  font-style: normal;
}

.demo-cards {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.demo-card {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 9px;
  background: rgba(255, 255, 255, .022);
}

.demo-card > i {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  font-style: normal;
  background: linear-gradient(135deg, #3d6df0, #1c2740);
}

.demo-card .c2 { background: linear-gradient(135deg, #7b4df0, #241a40); }
.demo-card .c3 { background: linear-gradient(135deg, #d0573c, #3a1710); }
.demo-card .c4 { background: linear-gradient(135deg, #2b7f74, #0d2622); }
.demo-card .c5 { background: linear-gradient(135deg, #b9822f, #33240c); }
.demo-card .c6 { background: linear-gradient(135deg, #3f8ad0, #12283d); }
.demo-card .c7 { background: linear-gradient(135deg, #c2417c, #38101f); }
.demo-card .c8 { background: linear-gradient(135deg, #5b6f9c, #1a2030); }
.demo-card .c9 { background: linear-gradient(135deg, #9a5a2f, #2e1a0c); }

.demo-card > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.demo-card b {
  color: #eef3fa;
  font-size: 7.5px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-card small {
  color: #8b96a6;
  font-size: 6.5px;
}

.demo-card em {
  margin-left: auto;
  flex: 0 0 auto;
  color: #6d7787;
  font-size: 9px;
  font-style: normal;
}

/* ---------- Landing device showcase (monitor / laptop / tablet / phone) ---------- */

.demo-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px) clamp(14px, 3vw, 40px) 0;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 30px;
  background:
    radial-gradient(760px 460px at 14% -6%, rgba(123, 99, 246, .32), transparent 64%),
    radial-gradient(640px 400px at 94% 2%, rgba(50, 142, 240, .26), transparent 62%),
    radial-gradient(520px 320px at 52% 112%, rgba(248, 131, 73, .14), transparent 70%),
    linear-gradient(180deg, #15142a, #0d111a 56%, #0b0e14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 34px 80px rgba(0, 0, 0, .42);
}

.demo-showcase::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 14, .5));
}

.showcase-stage {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 980 / 600;
}

.showcase-stage::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: -1%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(50% 60% at 50% 50%, rgba(0, 0, 0, .6), transparent 72%);
  filter: blur(12px);
}

.device {
  position: absolute;
  z-index: 1;
  margin: 0;
  min-width: 0;
}

.device-shell {
  position: relative;
  background: linear-gradient(180deg, #2a313d, #151922);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 4px 16px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.device-screen {
  position: absolute;
  overflow: hidden;
  border-radius: 9px;
  background: #0b0e14;
}

/* Neutralise the legacy showcase pseudo-elements from reference.css */

.device-screen::before,
.device-screen::after {
  content: none;
}

/* Monitor — hero, centre back */

.device-desktop {
  left: 50%;
  top: 1%;
  width: 68%;
  transform: translateX(-50%);
}

.device-shell-desktop {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 10px 10px 16px;
  border: 1px solid #3c4353;
  border-radius: 18px;
  background: linear-gradient(180deg, #2e3542, #14181f);
}

.device-shell-desktop .device-screen {
  inset: 10px 10px 16px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.device-shell-desktop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 54px;
  height: 4px;
  border-radius: 4px;
  background: #0b0e14;
  transform: translateX(-50%);
}

.device-stand {
  position: relative;
  width: 100%;
  height: 30px;
  margin-top: -2px;
}

.device-stand::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2c333f, #171b23);
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
}

.device-stand::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 220px;
  max-width: 46%;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 7px;
  background: linear-gradient(180deg, #2c333f, #171b23);
}

/* Laptop — front right */

.device-laptop {
  right: 0;
  bottom: 4%;
  width: 42%;
  z-index: 2;
}

.device-shell-laptop {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 7px 7px 10px;
  border: 1px solid #3c4353;
  border-radius: 11px 11px 4px 4px;
}

.device-shell-laptop .device-screen {
  inset: 7px 7px 10px;
  border-radius: 4px;
}

.laptop-base {
  position: relative;
  width: 112%;
  height: 11px;
  margin-left: -6%;
  border-radius: 2px 2px 12px 12px;
  background: linear-gradient(180deg, #3b4350, #171b23 62%, #0d1016);
  box-shadow: 0 22px 34px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.laptop-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 54px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  transform: translateX(-50%);
  background: #0a0d12;
}

.demo-app-laptop .demo-rail {
  display: none;
}

.demo-app-laptop .demo-top {
  gap: 10px;
  padding: 8px 11px;
}

.demo-app-laptop .demo-head span {
  font-size: 7.5px;
  letter-spacing: .7px;
}

.demo-app-laptop .demo-head b {
  font-size: 13px;
}

.demo-app-laptop .demo-search {
  padding: 6px 9px;
  font-size: 9.5px;
}

.demo-app-laptop .demo-clock {
  padding: 3px 8px;
  font-size: 10px;
}

.demo-app-laptop .demo-body {
  padding: 8px 10px 10px;
}

.demo-app-laptop .demo-view[data-demo-view="live"].is-active {
  grid-template-columns: minmax(0, 1fr);
}

.demo-app-laptop .demo-live {
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  font-size: 8px;
}

.demo-app-laptop .demo-play {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.demo-app-laptop .demo-now {
  inset: auto 8px 8px;
  padding: 7px 9px;
}

.demo-app-laptop .demo-now b {
  font-size: 11px;
}

.demo-app-laptop .demo-now small {
  font-size: 8px;
}

/* Tablet — front left */

.device-tablet {
  left: 4%;
  bottom: 18%;
  width: 30%;
  z-index: 3;
}

.device-shell-tablet {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 7px;
  border: 1px solid #3c4353;
  border-radius: 22px;
}

.device-shell-tablet .device-screen {
  inset: 7px;
  border-radius: 15px;
}

/* Phone — small, extreme front left */

.device-phone {
  left: .5%;
  bottom: 0;
  width: 13.5%;
  z-index: 4;
}

.device-shell-phone {
  width: 100%;
  aspect-ratio: 9 / 19;
  padding: 5px;
  border: 1px solid #3c4353;
  border-radius: 28px;
}

.device-shell-phone .device-screen {
  inset: 5px;
  border-radius: 22px;
  z-index: 1;
}

.device-notch {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 34%;
  height: 11px;
  border-radius: 8px;
  background: #05070a;
  transform: translateX(-50%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06);
}

/* Legend under the stage */

.showcase-legend {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin: 0;
  padding: clamp(10px, 1.6vw, 18px) 0 clamp(16px, 2.2vw, 24px);
  list-style: none;
}

.showcase-legend li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #8b96a6;
  font-size: 11px;
}

.showcase-legend li::before {
  content: "";
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4aa8ff, #6fcaff);
}

.showcase-legend .lg-tablet::before {
  background: linear-gradient(135deg, #7b63f6, #9b8bff);
}

.showcase-legend .lg-phone::before {
  background: linear-gradient(135deg, #f88349, #ffb27a);
}

.showcase-legend b {
  color: #eef3fa;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: -.1px;
}

/* Mini tablet app */

.mini-tablet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(320px 180px at 80% -10%, rgba(61, 124, 245, .22), transparent 64%),
    #0b0e14;
  color: #eef3fa;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
  text-align: left;
}

.mini-tablet *,
.mini-tablet *::before,
.mini-tablet *::after {
  box-sizing: border-box;
}

.mt-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.mt-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
}

.mt-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mt-title b {
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.mt-title > span {
  color: #6fcaff;
  font-size: 5.5px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.mt-clock {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-size: 7.5px;
  font-weight: 800;
}

.mt-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 10px 11px;
}

.mt-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: linear-gradient(160deg, #1b4f8a, #0d2036 70%);
}

.mt-card:nth-child(2) { background: linear-gradient(160deg, #6d3a2a, #20130c 72%); }
.mt-card:nth-child(3) { background: linear-gradient(160deg, #4f2f66, #1b1026 72%); }
.mt-card:nth-child(4) { background: linear-gradient(160deg, #1f5a4f, #0c211e 72%); }
.mt-card:nth-child(5) { background: linear-gradient(160deg, #6a5320, #241c0b 72%); }
.mt-card:nth-child(6) { background: linear-gradient(160deg, #36547a, #101c2c 72%); }

.mt-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 10, .82));
}

.mt-card > span {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: 5px;
  max-width: calc(100% - 12px);
  overflow: hidden;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mt-card.active {
  outline: 1px solid rgba(111, 202, 255, .6);
  box-shadow: 0 0 0 3px rgba(61, 154, 245, .14);
}

.mt-nav {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 5px 2px 7px;
  border-top: 1px solid rgba(148, 163, 184, .12);
  background: rgba(13, 16, 23, .96);
}

.mt-nav span {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #8b96a6;
  font-size: 5.5px;
  font-weight: 650;
}

.mt-nav i {
  font-style: normal;
  font-size: 9px;
}

.mt-nav span.active {
  color: #8fc4ff;
}

/* Mini phone app */

.mini-phone {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(220px 160px at 82% -8%, rgba(61, 124, 245, .24), transparent 64%),
    #0b0e14;
  color: #eef3fa;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
  text-align: left;
}

.mini-phone *,
.mini-phone *::before,
.mini-phone *::after {
  box-sizing: border-box;
}

.mp-status {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 2px;
  color: #9aa6b8;
  font-size: 7px;
  font-weight: 700;
}

.mp-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 8px;
}

.mp-logo {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: contain;
}

.mp-brand b {
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.mp-brand i {
  color: #8f9bb0;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -.2px;
  background: linear-gradient(100deg, #6fcaff, #9b8bff 55%, #f88349);
  -webkit-background-clip: text;
  background-clip: text;
}

.mp-hero {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(180px 120px at 50% 34%, rgba(61, 143, 235, .38), transparent 72%),
    linear-gradient(150deg, #101b2d, #0a0d13 72%);
}

.mp-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 10, .86));
}

.mp-canli {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  padding: 3px 5px;
  border: 1px solid rgba(248, 131, 73, .35);
  border-radius: 5px;
  background: rgba(9, 12, 18, .72);
  color: #ffb083;
  font-size: 5.5px;
  font-weight: 900;
  letter-spacing: .8px;
}

.mp-play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3d9af5, #7b63f6 60%, #f88349);
  color: #fff;
  font-size: 10px;
  box-shadow: 0 8px 18px rgba(50, 142, 240, .32);
}

.mp-now {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  bottom: 6px;
}

.mp-now b {
  display: block;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
}

.mp-now small {
  display: block;
  margin-top: 1px;
  color: #aab6c8;
  font-size: 5.5px;
}

.mp-sec {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 5px;
}

.mp-sec b {
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.mp-sec span {
  color: #8b96a6;
  font-size: 5.5px;
}

.mp-rows {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 0 8px;
  overflow: hidden;
}

.mp-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border: 1px solid rgba(148, 163, 184, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.mp-row.active {
  border-color: rgba(111, 202, 255, .34);
  background: linear-gradient(90deg, rgba(61, 154, 245, .2), rgba(123, 99, 246, .1));
}

.mp-row > i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2a4f83, #15243b);
  color: #dfe7f2;
  font-style: normal;
  font-size: 6px;
  font-weight: 800;
}

.mp-row:nth-child(2) > i { background: linear-gradient(135deg, #6d3a2a, #2a150e); }
.mp-row:nth-child(3) > i { background: linear-gradient(135deg, #4f2f66, #1f1229); }

.mp-row b {
  display: block;
  color: #eef3fa;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-row small {
  display: block;
  margin-top: 1px;
  color: #8b96a6;
  font-size: 5.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-tabs {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 5px 4px 9px;
  border-top: 1px solid rgba(148, 163, 184, .12);
  background: rgba(13, 16, 23, .96);
}

.mp-tabs span {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #8b96a6;
  font-size: 5px;
  font-weight: 650;
}

.mp-tabs i {
  font-style: normal;
  font-size: 8.5px;
}

.mp-tabs span.active {
  color: #8fc4ff;
}

@media (max-width: 860px) {
  .demo-showcase {
    padding-bottom: 0;
  }

  .showcase-stage {
    aspect-ratio: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
    padding: 6px 0 2px;
  }

  .showcase-stage::before {
    display: none;
  }

  .device {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .device-desktop {
    order: 1;
    width: 100%;
  }

  .device-laptop {
    display: none;
  }

  .device-tablet {
    order: 2;
    width: 320px;
  }

  .device-phone {
    order: 3;
    width: 150px;
  }
}

@media (max-width: 560px) {
  .demo-showcase {
    padding: 18px 12px 0;
    border-radius: 22px;
  }

  .showcase-stage {
    gap: 22px;
  }

  .device-tablet {
    width: 240px;
  }

  .device-phone {
    width: 136px;
  }

  .showcase-legend {
    gap: 4px 16px;
    padding-bottom: 14px;
  }

  .showcase-legend li {
    font-size: 10px;
  }

  .showcase-legend b {
    font-size: 10.5px;
  }
}

/* Small screens: keep the monitor mock readable */

.mp-brand {
  white-space: nowrap;
}

@media (max-width: 680px) {
  .device-desktop .demo-rail {
    display: none;
  }

  .device-desktop .demo-top {
    gap: 8px;
    padding: 6px 9px;
  }

  .device-desktop .demo-crumb {
    gap: 4px;
    font-size: 6px;
    letter-spacing: .8px;
  }

  .device-desktop .demo-plan {
    padding: 3px 7px;
    font-size: 6px;
  }

  .device-desktop .demo-loaded {
    font-size: 6px;
  }

  .device-desktop .demo-body {
    gap: 5px;
    padding: 6px 8px 8px;
  }

  .device-desktop .demo-lib {
    gap: 5px;
  }

  .device-desktop .demo-eyebrow {
    font-size: 5.5px;
    letter-spacing: .8px;
  }

  .device-desktop .demo-lib-head b {
    font-size: 14px;
  }

  .device-desktop .demo-lib-head small {
    font-size: 6.5px;
  }

  .device-desktop .demo-tools {
    gap: 5px;
  }

  .device-desktop .demo-lib .demo-search {
    display: none;
  }

  .device-desktop .demo-add {
    padding: 4px 7px;
    font-size: 6.5px;
  }

  .device-desktop .demo-chips span:nth-child(n + 4) {
    display: none;
  }

  .device-desktop .demo-chips span {
    padding: 2px 5px;
    font-size: 6px;
  }

  .device-desktop .demo-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .device-desktop .demo-card:nth-child(n + 5) {
    display: none;
  }

  .device-desktop .demo-card {
    gap: 5px;
    padding: 3px 5px;
    min-height: 0;
    overflow: hidden;
  }

  .device-desktop .demo-card > i {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }

  .device-desktop .demo-card em {
    display: none;
  }

  .device-desktop .demo-card b {
    font-size: 6.5px;
  }

  .device-desktop .demo-card small {
    font-size: 5.5px;
  }

  .device-desktop .demo-card em {
    font-size: 8px;
  }
}
