/* Google Play inspired catalogue. Netskope assets and brand palette stay local.
   This stylesheet is loaded only by the marketplace, not the review console. */
:root { --bg: #fff; --surface-2: #f4f6f8; --text-3: #687182; --gutter: 40px; --max: 1440px; --header-h: 80px; --radius: 16px; }
body { font-size: 14px; }
.header { background: var(--surface); backdrop-filter: none; border-color: color-mix(in srgb, var(--border) 55%, transparent); }
.header-in { max-width: none; padding: 0 32px; gap: 30px; flex-wrap: nowrap; }
.brand { gap: 12px; font-size: 19px; }
.brand-logo { height: 25px; max-width: 124px; }
.brand-name { font-weight: 500; }
.brand-sep { height: 24px; }
/* One tab per type; with many types the row scrolls instead of pushing the header. */
.store-nav { display: flex; align-self: stretch; gap: 24px; flex-shrink: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.store-nav::-webkit-scrollbar { display: none; }
.store-tab { flex-shrink: 0; }
.store-tab { display: flex; align-items: center; position: relative; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.store-tab:hover { text-decoration: none; color: var(--accent); }
.store-tab[aria-current='page'] { color: var(--accent); }
.store-tab[aria-current='page']::after { content: ''; height: 4px; border-radius: 4px 4px 0 0; background: var(--netskope-blue); position: absolute; bottom: 0; inset-inline: 0; }
.header-search { min-width: 145px; flex: 1 1 260px; max-width: 330px; margin-left: auto; }
.search { border-color: transparent; height: 40px; border-radius: 999px; gap: 12px; padding-inline: 15px; }
.search input { min-width: 0; font-size: 12px; }
.search kbd { padding: 2px 4px; }
.search-symbol { display: block; flex: none; width: 14px; height: 14px; border: 1.6px solid var(--text-2); border-radius: 50%; position: relative; margin-right: 3px; }
.search-symbol::after { content: ''; position: absolute; width: 6px; height: 1.6px; background: var(--text-2); transform: rotate(45deg); right: -5px; bottom: -2px; }
.header-nav { gap: 5px; margin-left: 0; flex-shrink: 0; }
.header-nav .select { max-width: 86px; background: transparent; border: 0; font-size: 12px; }
.header-nav .btn { border-radius: 999px; font-size: 12px; }
.header-nav .nav-publish { border: 1px solid var(--border); color: var(--text); }
.header-nav .btn-icon { font-size: 20px; width: 30px; }
.header-nav a[href='#/about'] { display: none; }
.btn { border-radius: 999px; }
.btn-primary { color: var(--accent-text); }
.category-pill { display: inline-flex; gap: 8px; align-items: center; flex-shrink: 0; font-size: 12px; font-weight: 500; border: 1px solid var(--border); color: var(--text-2); border-radius: 999px; padding: 7px 16px; }
.category-pill > span:first-child { font-size: 16px; line-height: 1; }
.category-pill:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.category-pill.active { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.store-intro { padding-block: 40px 28px; }
.store-intro-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); gap: 40px; align-items: stretch; border: 1px solid var(--border); border-radius: 28px; padding: 44px; background: var(--surface); }
.store-intro-main { min-width: 0; }
.store-intro-pick { display: flex; flex-direction: column; gap: 12px; justify-content: flex-start; background: var(--accent-soft); border-radius: 22px; padding: 32px; }
.store-intro-pick .store-eyebrow { margin: 0; }
.store-intro-main .store-eyebrow { text-transform: none; }
.store-intro-pick h2 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.store-intro-pick p { color: var(--text-2); font-size: 14px; margin: 0; }
.store-intro-pick .btn { margin: auto -24px -24px auto; }
.home-search .btn, .store-intro-pick .btn { min-width: 104px; min-height: 38px; padding-inline: 18px; justify-content: center; font-size: 13px; }
.home-search { display: flex; gap: 8px; align-items: center; margin-top: 28px; padding: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; }
.home-search-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; padding: 10px 14px; }
.home-search-input:focus { outline: 0; }
.home-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.store-eyebrow { text-transform: uppercase; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .16em; margin-bottom: 9px; }
.store-intro h1 { font-size: clamp(30px, 4vw, 56px); line-height: 1.05; font-weight: 600; letter-spacing: -.045em; }
.store-subtitle { color: var(--text-2); font-size: 16px; line-height: 1.6; margin: 18px 0 0; max-width: 56ch; }

.demo-note p { font-size: 11px; color: var(--text-3); }
.footer { margin-top: 24px; padding-block: 25px 32px; font-size: 11px; }
.footer-in > span:first-child { color: var(--text); font-weight: 600; }
.browse { gap: 32px; grid-template-columns: 210px minmax(0, 1fr); padding-block: 32px 40px; }
.browse > div { min-width: 0; }
.browse .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 24px; }
.filters-col .panel { border: 0; padding: 0 20px 0 0; background: transparent; }
.filter-group h4 { font-size: 10px; color: var(--text-2); }
.filter-row { font-size: 12px; padding-block: 7px; }
.filter-row .n { font-size: 10px; }
.tag-toggle { font-size: 10px; background: transparent; }
.results-bar { margin-bottom: 26px; }
.results-bar .count { font-size: 16px; font-weight: 500; color: var(--text); }
.results-bar .select { font-size: 12px; border-radius: 999px; }
.detail { padding-block: 40px 48px; }
.detail-head { gap: 28px; }
.detail-head .icon-tile { width: 120px; height: 120px; border-radius: 26px; font-size: 58px; background: var(--accent-soft); }
.detail-head h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; }
.detail-actions .btn { min-width: 140px; height: 42px; }
.detail-cols { gap: 50px; }
.detail-cols .panel, .detail-grid .panel { box-shadow: none; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 50px; align-items: start; }
.detail-grid > * { grid-column: 1; min-width: 0; }
.detail-grid > :first-child { grid-column: 1 / -1; }
.detail-grid > :last-child { grid-column: 2; grid-row: 2; }
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-grid > :last-child { grid-column: 1; grid-row: auto; }
}
.modal { border-radius: 22px; }

@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --bg: #050f2e; --surface-2: #10245c; --text-3: #93a9c7; } }
:root[data-theme='dark'] { --bg: #050f2e; --surface-2: #10245c; --text-3: #93a9c7; }
@media (max-width: 1280px) {
  .header-in { gap: 23px; padding-inline: 24px; }
  .store-nav { gap: 20px; }
  .header-search { max-width: 260px; }
  .header-nav .nav-publish { display: inline-flex; width: 30px; padding: 0; }

  }
@media (max-width: 1080px) {
  :root { --gutter: 30px; }
  .header-in { flex-wrap: wrap; gap: 0 24px; padding-block: 15px 0; }
  .store-nav { order: 4; width: 100%; height: 49px; gap: 30px; }
  .header-search { max-width: 310px; }
  .filters-col { top: 132px; max-height: calc(100vh - 145px); }
}
@media (max-width: 860px) {
  .header-search { order: initial; flex-basis: 200px; max-width: 270px; }
  .header-nav { flex-wrap: nowrap; }
  .brand-logo { height: 22px; }
  .brand { font-size: 17px; gap: 10px; }
  .browse { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .store-intro-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; }
  .filters-col .panel { padding: 20px; border: 1px solid var(--border); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .header-in { padding-inline: 20px; gap: 12px 10px; }
  .header-nav { margin-left: auto; gap: 2px; }
  .header-nav .select { width: 68px; padding-inline: 3px; font-size: 10px; }
  .header-nav .btn { font-size: 10px; padding-inline: 8px; }
  .header-nav .btn-icon { width: 25px; font-size: 18px; padding: 0; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .store-nav { height: 40px; gap: 26px; overflow-x: auto; scrollbar-width: none; }
  .store-tab { font-size: 12px; }
  .category-pill { font-size: 11px; padding: 6px 13px; }
  .store-intro { padding-block: 24px; }
  .store-intro-card { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; border-radius: 22px; }
  .store-intro h1 { font-size: 32px; }
  .store-subtitle { font-size: 14px; }
  .store-intro-pick { padding: 22px; }
  .browse .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .detail { padding-block: 28px 40px; }
  .detail-head { gap: 18px; }
  .detail-head .icon-tile { width: 80px; height: 80px; font-size: 40px; border-radius: 18px; }
  .detail-head h1 { font-size: 27px; }
  .detail-head .tagline { font-size: 13px; }
  .detail-actions .btn { flex: 1 1 auto; min-width: 120px; }
}
/* Native carousels and compact product identities. */
.carousel { position: relative; min-width: 0; }
.carousel-track { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: 5px; }
.carousel-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel-track.is-gliding { scroll-snap-type: none; }
.carousel-arrow { position: absolute; top: 42%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: 0 3px 12px #081a5919; display: grid; place-items: center; font-size: 32px; line-height: 1; cursor: pointer; z-index: 5; transition: background .15s; }
.carousel-arrow:hover { background: var(--surface-2); }
.carousel-arrow[hidden] { display: none; }
.carousel-prev { left: -23px; }
.carousel-next { right: -23px; }
.spotlight-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.spotlight-head .spotlight-section-title { margin-bottom: 0; }
.carousel-pause { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; }
.carousel-pause:hover { background: var(--surface-2); }
.carousel-pause::before, .carousel-pause::after { content: ''; width: 3px; height: 12px; border-radius: 1px; background: currentColor; }
.carousel-pause.is-paused::before { width: 0; height: 0; border-radius: 0; background: none; border-left: 10px solid currentColor; border-block: 6px solid transparent; margin-left: 3px; }
.carousel-pause.is-paused::after { display: none; }
.carousel-pause[hidden] { display: none; }
.spotlight-section { padding-block: 0 32px; }
.spotlight-section-title { font-size: 22px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 22px; }
.spotlight-track { position: relative; display: flex; gap: 22px; }
.spotlight { flex: 0 0 calc((100% - 44px) / 3); min-width: 300px; position: relative; overflow: hidden; border-radius: 10px; scroll-snap-align: start; display: flex; flex-direction: column; height: 310px; color: #fff; box-shadow: 0 1px 3px #081a5926; }
.spotlight-navy { background: #081a59; }
.spotlight-cyan { background: #d9faff; color: #081a59; }
.spotlight-green { background: #e9f8e2; color: #081a59; }
.spotlight-story { display: flex; flex-direction: column; color: inherit; flex: 1; position: relative; min-height: 0; }
.spotlight-story:hover { text-decoration: none; }
.spotlight-badge { position: absolute; left: 0; top: 0; z-index: 2; background: #081a591f; padding: 5px 10px; border-radius: 0 0 7px 0; font-size: 12px; font-weight: 400; }
.spotlight-navy .spotlight-badge { background: #0003; }
.spotlight-visual { position: relative; flex: 1; min-height: 120px; overflow: hidden; background: radial-gradient(ellipse at 70% 15%, #00a9ce3d, transparent 70%); }
.spotlight-navy .spotlight-visual { background: radial-gradient(ellipse at 70% 0, #00a9ce88, transparent 75%); }
.scene-illustration { display: block; width: 100%; height: 100%; object-fit: contain; }
.spotlight-copy { padding: 10px 20px 12px; position: relative; }
.spotlight-copy h2 { font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 5px; }
.spotlight-copy p { font-size: 13px; line-height: 1.5; margin: 0; opacity: .85; }
.spotlight-product { display: flex; gap: 12px; align-items: center; padding: 0 20px 16px; }
.spotlight-product-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; }
.spotlight-product-link:hover { text-decoration: none; }
.spotlight-product-copy { display: flex; flex-direction: column; min-width: 0; font-size: var(--text-small); gap: 4px; }
.spotlight-product-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotlight-product-copy .product-name { font-size: 12px; }
.spotlight-product .btn { min-width: 75px; padding-inline: 12px; border: 0; background: #081a5914; color: inherit; font-size: var(--text-small); border-radius: 8px; }
.spotlight-navy .spotlight-product .btn { background: #ffffff24; color: #fff; }
.spotlight-product .btn:hover { background: #081a5926; }
.spotlight-navy .spotlight-product .btn:hover { background: #ffffff3b; }
.product-logo { flex: none; width: 64px; height: 64px; border: 0; border-radius: 16px; overflow: hidden; background: transparent; }
.product-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.logo-generic { background: #081a59; color: #d9faff; font-size: 21px; font-weight: 500; letter-spacing: -.04em; }
.spotlight-product .product-logo { width: 40px; height: 40px; border-radius: 10px; }
.store-section { padding-block: 0 34px; }
.section-head { align-items: center; margin-bottom: 23px; }
.section-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.section-head p { font-size: 12px; margin-top: 6px; color: var(--text-3); }
.section-more { display: inline-flex; align-items: center; gap: 15px; font-size: 12px; color: var(--accent); padding: 8px 0 8px 14px; }
.section-more span { font-size: 21px; }
.store-shelf { position: relative; display: flex; gap: 18px; }
.store-card { flex: 0 0 280px; min-width: 0; border: 1px solid var(--border); border-radius: 14px; box-shadow: none; padding: 17px; gap: 9px; background: var(--surface); scroll-snap-align: start; transition: border-color .15s; }
.store-card:hover { transform: none; border-color: var(--accent-border); }
.store-card .card-top { display: flex; align-items: center; gap: 13px; }
.card-cover { display: block; flex: none; border-radius: 16px; }
.card-cover:hover { text-decoration: none; }
.card-copy { min-width: 0; flex: 1; }
.store-card h3 { font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-card h3 a { color: var(--text); }
.store-card .byline { font-size: var(--text-small); color: var(--text-3); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-card .tagline { margin: 3px 0 0; font-size: 12px; line-height: 1.6; color: var(--text-2); min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-labels { gap: 5px; min-height: 18px; }
.card-labels .chip { min-height: 22px; height: auto; font-size: var(--text-small); padding: 0 6px; background: transparent; }
.card-labels .chip-demo { border: 0; padding: 0; }
.card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }
.card-engagement { gap: 10px; font-size: var(--text-small); flex-wrap: wrap; }
.card-engagement .stars-glyphs { font-size: 0; letter-spacing: 0; }
.card-engagement .stars-glyphs::after { content: '★'; font-size: var(--text-small); }
.card-engagement .stars { gap: 3px; }
.card-engagement .stars-value { order: -1; font-size: var(--text-small); font-weight: 400; }
.card-engagement .stars-count { font-size: var(--text-small); }
.card-engagement .dl { font-size: var(--text-small); }
.store-card .card-details { margin-left: auto; flex: none; font-size: var(--text-small); height: 34px; padding-inline: 13px; background: var(--surface-2); border-color: transparent; color: var(--accent); }
.store-card .card-details:hover { background: var(--accent-soft); }
.browse .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.browse .store-card { flex-basis: auto; }
.detail-head .product-logo { width: 80px; height: 80px; border-radius: 20px; background: transparent; }
.related-product { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.related-product .product-logo { width: 30px; height: 30px; border-radius: 8px; }
@media (max-width: 1080px) {
  .spotlight { flex-basis: calc((100% - 22px) / 2.2); min-width: 300px; }
  .spotlight-copy h2 { font-size: 19px; }
}
@media (max-width: 640px) {
  .spotlight-section { padding-block: 0 30px; }
  .spotlight-section-title { font-size: 19px; }
  .spotlight-head { margin-bottom: 19px; }
  .spotlight-track { gap: 16px; }
  .spotlight { flex-basis: 88%; min-width: 0; height: 320px; }
  .spotlight-copy { padding: 10px 18px 14px; }
  .spotlight-copy h2 { font-size: 19px; }
  .spotlight-copy p { font-size: 12px; }
  .spotlight-product { gap: 8px; padding: 0 18px 18px; }
  .spotlight-product-copy .product-name { font-size: 13px; }
  .spotlight-product-copy { font-size: var(--text-small); }
  .spotlight-product .btn { font-size: var(--text-small); min-width: 0; padding-inline: 10px; }
  .spotlight-product .product-logo { width: 34px; height: 34px; border-radius: 9px; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 25px; }
  .carousel-prev { left: -13px; }.carousel-next { right: -13px; }
  .section-head { gap: 12px; flex-wrap: nowrap; margin-bottom: 19px; }
  .section-head h2 { font-size: 19px; }.section-head p { font-size: 11px; }
  .section-more { font-size: 0; padding: 8px; flex-shrink: 0; }.section-more span { font-size: 23px; }
  .store-card { flex-basis: 265px; padding: 15px; }
  .store-shelf { gap: 15px; }
  .browse .grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .detail-head .product-logo { width: 64px; height: 64px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }

/* Icon-only controls: native language picker stays keyboard accessible. */
.header-nav .header-control { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 36px; height: 36px; padding: 0; flex: none; border: 0; border-radius: 50%; color: var(--text-2); background: transparent; }
.header-nav .header-control:hover, .language-control:focus-within { background: var(--surface-2); color: var(--accent); }
.header-nav .header-control:focus-visible, .language-control:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.control-icon { width: 19px; height: 19px; display: block; background: currentColor; mask: var(--control-mask) center / contain no-repeat; }
.control-publish { --control-mask: url("/assets/ui-icons/publish.svg"); }
.control-language { --control-mask: url("/assets/ui-icons/language.svg"); }
.control-sun { --control-mask: url("/assets/ui-icons/sun.svg"); }
.control-moon { --control-mask: url("/assets/ui-icons/moon.svg"); }
.control-theme { --control-mask: url("/assets/ui-icons/theme.svg"); }
.control-user { --control-mask: url("/assets/ui-icons/user.svg"); }
.header-nav .language-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
@media (max-width: 640px) { .header-nav .header-control { width: 32px; height: 32px; } }

/* Detail text blocks wrap and grow to show their complete content. */
.detail .prose { overflow-wrap: anywhere; }
.detail .prose pre { white-space: pre-wrap; overflow-wrap: anywhere; height: auto; max-height: none; overflow: visible; }
.detail .prose pre code { white-space: inherit; }

/* Copy control aligns with the prompt heading, above the text block. */
.prompt-block { margin-bottom: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); }
.prompt-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 8px; }
.detail .prose .prompt-toolbar > :is(h2, h3, h4, h5, h6) { margin: 0; }
.prompt-toolbar .prompt-copy { margin-left: auto; flex: none; height: 28px; min-width: 66px; font-size: 11px; padding-inline: 12px; background: var(--surface); color: var(--accent); }
.detail .prose .prompt-block pre { margin: 0; border: 0; background: transparent; }
/* A prompt in its own panel, blurred until it is revealed. */
.prompt-panel { margin-top: 26px; }
.prompt-panel .prompt-toolbar h3 { margin: 0; font-size: 17px; }
.prompt-panel pre { margin: 0; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.prompt-hidden { position: relative; overflow: hidden; }
.prompt-hidden pre { filter: blur(5px); user-select: none; pointer-events: none; max-height: 220px; overflow: hidden; }
.prompt-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 16px; text-align: center; background: color-mix(in srgb, var(--surface-2) 40%, transparent); }
.prompt-cover .hint { margin: 0; }

/* ------------------------------------------------------------ spotlight visuals */

/* Composed from the entry's icon when it has no screenshot or drawn scene. */
.spotlight-generated { isolation: isolate; }
.deco { position: absolute; display: block; pointer-events: none; z-index: 0; }
.deco-ring { width: 260px; height: 260px; border-radius: 50%; border: 34px solid #00a9ce2e; }
.deco-blob { width: 170px; height: 170px; border-radius: 42px; background: #aff19859; transform: rotate(var(--turn, 20deg)); }
.deco-dot { width: 14px; height: 14px; border-radius: 50%; background: #00a9ce; }
.deco-dot-sm { width: 9px; height: 9px; background: #aff198; }
.spotlight-navy .deco-ring { border-color: #00a9ce40; }
.spotlight-navy .deco-blob { background: #aff19826; }
.spotlight-green .deco-ring { border-color: #00809524; }
.spotlight-green .deco-blob { background: #00a9ce24; }
.spotlight-green .deco-dot { background: #008095; }
.hero-icon { position: absolute; top: 50%; z-index: 1; transform: translate(-50%, -46%) rotate(var(--tilt, -4deg)); filter: drop-shadow(0 18px 28px #081a5940); }
.hero-icon .product-logo { width: 132px; height: 132px; border-radius: 32px; }
.hero-icon .logo-generic span, .hero-icon .icon-tile > span { font-size: 44px; }
.hero-icon .logo-emoji span { font-size: 64px; }

/* The first screenshot, framed like a window. */
.spotlight-shot { display: grid; place-items: end center; padding: 22px 26px 0; }
.shot-frame {
  width: min(88%, 380px); border-radius: 12px 12px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 16px 40px #081a5940; transform: rotate(var(--tilt, -2deg)); transform-origin: bottom center;
}
.shot-bar { display: flex; gap: 5px; padding: 7px 9px; background: #eef1f5; }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c5ccd6; }
.shot-frame img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: top; }
@media (max-width: 640px) {
  .hero-icon .product-logo { width: 108px; height: 108px; border-radius: 26px; }
  .shot-frame img { height: 150px; }
}

/* Leaderboard: the home block and #/leaderboard */
.lb-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lb-panel { background: var(--surface-2); border-radius: 18px; padding: 18px 20px 8px; min-width: 0; }
.lb-panel h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 4px; }
.lb-list { list-style: none; margin: 0; padding: 0; }
.lb-row { display: grid; grid-template-columns: 20px 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.lb-row:first-child { border-top: 0; }
.lb-rank { font-size: 14px; font-weight: 700; color: var(--text-3); text-align: center; font-variant-numeric: tabular-nums; }
.lb-top .lb-rank { color: var(--accent); }
.lb-avatar { width: 36px; height: 36px; font-size: 13px; box-shadow: none; }
.lb-row .icon-tile.lb-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
.lb-main { display: grid; gap: 2px; min-width: 0; }
/* The Example chip drops below the name when both do not fit. */
.lb-title { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.lb-title .chip { flex: none; }
.lb-name { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.lb-name:hover { color: var(--accent); text-decoration: none; }
.lb-sub { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-value { display: grid; justify-items: end; line-height: 1.2; }
.lb-value b { font-size: 15px; font-variant-numeric: tabular-nums; }
.lb-value span { font-size: 11.5px; color: var(--text-2); }
.lb-empty { margin: 0; padding: 14px 0 18px; color: var(--text-2); font-size: 13px; }
.leaderboard-page { display: grid; gap: 20px; padding-block: 28px 44px; }
.lb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lb-head h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.04em; }
.lb-periods { display: flex; gap: 8px; flex-wrap: wrap; }
.lb-rule { margin: 0; }
@media (max-width: 760px) {
  .lb-cols { grid-template-columns: minmax(0, 1fr); }
  .lb-panel { padding-inline: 16px; }
}
