/* Lovable for Work-inspired visual system. Inter is the open-source type substitute. */
:root {
  --paper: #ffffff;
  --sidebar: #ffffff;
  --ink: #1c1c1c;
  --muted: #686d76;
  --line: #e8eaef;
  --orange: #1c1c1c;
  --font: 'Inter', Arial, sans-serif;
  --heading: 'Inter', Arial, sans-serif;
}
body { font-optical-sizing: auto; }
button:focus-visible, a:focus-visible, input:focus-visible { outline-color: #6876e5; }
.sidebar { padding-top: 34px; }
.brand { font-weight: 750; font-size: 21px; letter-spacing: -1px; gap: 8px; }
.brand-mark { display: grid; place-items: center; width: 25px; height: 27px; font-size: 22px; color: white; border-radius: 7px; background: linear-gradient(150deg,#ff9959 8%,#f58b99 42%,#b873e2 70%,#5d75f4); }
.brand-star, .brand-period { color: var(--ink); }
.brand-caption { color: #777; letter-spacing: 1px; font-size: 7.5px; margin-bottom: 28px; }
.search-box { background: #fafbfc; border-color: #e2e5eb; border-radius: 8px; height: 40px; }
.search-box input { font-size: 10px; }
.search-box svg, .search-box kbd { color: #858585; }
.search-box kbd { border-color: #e2e5eb; }
.search-box:focus-within { border-color: #a5a5b8; box-shadow: 0 0 0 3px #6c75ed0c; }
.nav-item { color: #5e626b; font-size: 12px; font-weight: 400; border-radius: 8px; }
.nav-item.active { background: #f0f2f6; color: #1c1c1c; font-weight: 500; }
.nav-item.active svg { color: #1c1c1c; }
.nav-item:hover { background: #f6f7fa; }
.nav-dot { background: linear-gradient(140deg,#6373eb,#ee86b1,#f8a65f); width: 6px; height: 6px; }
.nav-count { background: #e7eaf0; color: #5e626b; }
.nav-label, .sidebar-fineprint { color: #888; }
.little-note { padding: 21px 15px; background: #fafbfe; border: 1px solid var(--line); border-radius: 10px; }
.little-note:before { content: ''; position: absolute; left: 15px; right: 15px; top: 0; height: 1px; background: linear-gradient(90deg,transparent,#8291f3,#c390d7,#f08481,#f5ba79,transparent); }
.little-note p { color: #777; font-size: 12px; line-height: 1.8; letter-spacing: -.2px; }
.little-note strong { color: #1c1c1c; font-weight: 600; }
.about-link { color: #656565; }
.page-header { margin-bottom: 34px; }
.page-header .eyebrow { display: none; }
.page-header h1 { margin-top: 0; font-size: 42px; font-weight: 700; line-height: 1.08; letter-spacing: -.05em; }
.page-header p { color: #686d76; font-size: 13px; margin-top: 12px; letter-spacing: -.2px; }
.title-star, .tiny-dot { display: none; }
.surprise-button { color: #fff; background: #1c1c1c; border-color: #1c1c1c; padding: 12px 16px; font-size: 12px; font-weight: 500; border-radius: 8px; box-shadow: 0 2px 3px #00000010; }
.surprise-button:hover { background: #333; border-color: #333; }
.hero, .hero.hero-aicromancer, .hero.hero-endless { height: 460px; background: radial-gradient(ellipse at 91% 105%,#dbe3fd80 0,transparent 39%),radial-gradient(ellipse at 72% 105%,#f9dddf50 0,transparent 30%),#fff; border: 1px solid #e2e5ed; border-radius: 20px; }
.hero-connections { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; pointer-events: none; z-index: -1; }
.hero-content { padding: 47px 40px 55px; width: 54%; }
.hero-kicker { font-size: 10px; color: #747474; letter-spacing: 1.1px; font-weight: 500; }
.hero-kicker:before { background: linear-gradient(130deg,#758bff,#d786c3,#f5a779); width: 6px; height: 6px; }
.hero-title, .hero-aicromancer .hero-title, .hero-endless .hero-title { color: #1c1c1c; font-size: clamp(39px,4.2vw,62px); font-weight: 700; letter-spacing: -.055em; line-height: .99; margin-top: 25px; }
.hero-aicromancer .hero-title { font-size: clamp(36px,3.55vw,52px); }
.hero-description, .hero-aicromancer .hero-description { color: #626772; font-size: 14px; font-weight: 400; line-height: 1.65; letter-spacing: -.3px; max-width: 300px; margin-top: 22px; }
.hero-app { border-color: #e5e7ee; max-width: 365px; gap: 11px; padding-top: 19px; }
.hero-app .app-name { font-size: 13px; font-weight: 600; }
.hero-app .app-tagline { color: #777; font-size: 10px; }
.hero-app .hero-action { background: #1c1c1c; color: #fff; border-radius: 8px; font-size: 11px; font-weight: 500; padding: 11px 13px; box-shadow: 0 2px 3px #00000010; }
.hero-app .hero-action:hover { background: #3b3b3b; }
.hero-art, .hero-aicromancer .hero-art { right: -75px; width: 53%; top: 105px; bottom: 0; opacity: 1; }
.screen-frame, .hero-aicromancer .screen-frame, .hero-endless .screen-frame { height: 365px; transform: none; border: 1px solid #dfe3eb; border-radius: 14px; box-shadow: 0 5px 9px #18244808,0 25px 45px #18244814; }
.window-bar { height: 28px; background: #f6f7fa; border-bottom-color: #e5e7ed; gap: 5px; }
.window-bar span { color: #858583; font-size: 8px; }
.screen-frame img { height: calc(100% - 28px); }
.hero-aicromancer .screen-frame img, .hero-endless .screen-frame img { height: 100%; }
.hero-endless .window-bar { display: none; }
.hero-endless .screen-frame img { object-position: center 60%; }
.orbit-app { position: absolute; width: 54px; height: 54px; z-index: 1; background: #fff; border: 1px solid #e7eaf1; border-radius: 14px; box-shadow: 0 2px 2px #18244806,0 10px 20px #1824480d; display: grid; place-items: center; pointer-events: none; }
.orbit-app img { width: 34px; height: 34px; object-fit: contain; }
.tile-listjot { top: 29px; right: 35%; transform: rotate(-12deg); }
.tile-aicromancer { top: 37px; right: 20%; transform: rotate(8deg); }
.tile-endless { top: 23px; right: 5%; transform: rotate(-8deg); }
.tile-endless svg { width: 31px; height: 31px; stroke: #849d80; stroke-width: 1.7; }
.hero-controls { left: 40px; bottom: 17px; }
.hero-controls>span { color: #7d8390; letter-spacing: 1px; }
.hero-dots button { background: #cfd4df; }
.hero-dots button.selected { background: #242424; }
.hero-arrows button { background: #ffffffed; border: 1px solid #dfe3eb; color: #1c1c1c; width: 30px; height: 30px; }
.hero-arrows button:hover { background: #f0f2f7; }
.fresh-section { padding-top: 38px; padding-bottom: 32px; }
.section-heading { margin-bottom: 23px; }
.section-heading h2 { font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -.045em; }
.section-heading p { color: #686d76; font-size: 12px; margin-top: 8px; }
.collection-tag { color: #898783; font-size: 8px; letter-spacing: 1.1px; }
.app-icon { border-radius: 12px; background: #f2f4f8; box-shadow: none; }
.app-name { color: #242424; font-size: 12px; font-weight: 600; letter-spacing: -.25px; }
.app-tagline { color: #686d76; font-size: 10px; }
.view-button, .pill-button { border-radius: 7px; border: 1px solid #dfe3eb; background: #fff; color: #333; padding: 7px 13px; font-size: 10px; font-weight: 500; }
.view-button:hover, .pill-button:hover { background: #f1f3f8; color: #1c1c1c; }
.play-section { padding-top: 34px; }
.text-button { color: #333; font-size: 12px; font-weight: 500; letter-spacing: -.2px; }
.feature-grid { gap: 24px; }
.feature-card { border-radius: 16px; background: #fff; border-color: #e5e8ef; }
.feature-art { height: 270px; }
.feature-art:after { background: linear-gradient(180deg,#080b1499,transparent 90%); }
.feature-overline { color: #ffffffd1; font-size: 9px; letter-spacing: 1.1px; top: 25px; }
.feature-title { font-size: 31px; font-weight: 650; line-height: 1.02; letter-spacing: -.05em; top: 52px; }
.feature-card.feature-endless .feature-title { color: #fff; }
.feature-card.feature-endless .feature-overline { color: #ffffffe0; }
.feature-card.feature-endless .feature-art:after { background: linear-gradient(180deg,#080b14b3,transparent 90%); }
.feature-bottom { padding: 18px 20px; }
.feature-caption { color: #686d76; font-size: 10px; }
.manifesto { display: flex; isolation: isolate; min-height: 240px; padding: 38px 40px; margin-top: 40px; border-radius: 16px; background: #1c1c1c url('./assets/spectrum-rays.svg') center right / cover no-repeat; color: #fff; gap: 28px; }
.manifesto:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#1c1c1c 0%,#1c1c1ce6 38%,#1c1c1c20 100%); }
.manifesto .eyebrow { color: #ffffffab; font-size: 9px; font-weight: 500; letter-spacing: 1px; }
.manifesto h2 { font-size: 32px; font-weight: 650; letter-spacing: -.045em; line-height: 1.08; margin-top: 14px; }
.manifesto p { color: #ffffffe0; font-size: 12px; letter-spacing: -.2px; }
.manifesto .secondary-button { margin-left: auto; background: #fff; border: 1px solid #fff; border-radius: 8px; color: #1c1c1c; padding: 12px 16px; font-size: 11px; }
.manifesto .secondary-button:hover { background: #f2f4f8; }
.page-footer { color: #747b87; padding-top: 32px; padding-bottom: 30px; }
.footer-brand { color: #3c414b; font-weight: 650; }
.page-footer button { color: #5e6470; }
.primary-button, .secondary-button { border-radius: 8px; padding: 12px 16px; font-size: 13px; font-weight: 500; }
.primary-button { background: #1c1c1c; }
.primary-button:hover { background: #3a3a3a; }
.secondary-button { border: 1px solid #dfe3eb; background: #fff; }
.secondary-button:hover { background: #f1f3f8; }
.result-card { border-radius: 14px; background: white; }
.detail-tag { border-radius: 5px; background: #f1f3f7; color: #626975; }
.empty-state { border-color: #dfe3eb; color: #686d76; border-radius: 14px; }
.empty-state h3 { color: #1c1c1c; font-weight: 600; letter-spacing: -.04em; }
.app-dialog, .about-dialog { background: var(--paper); border-radius: 18px; box-shadow: 0 20px 100px #00000025; }
.app-dialog::backdrop, .about-dialog::backdrop { background: #1c1c1c59; }
.dialog-close { background: #f1f3f7; color: #333; }
.detail-header h2 { font-weight: 700; letter-spacing: -.045em; }
.detail-meta, .detail-body p, .detail-features li { color: #666; }
.detail-body h3 { color: #1c1c1c; font-weight: 600; letter-spacing: -.03em; }
.detail-features li:before { color: #667366; }
.preview-note { color: #777; }
.about-spark { display: inline-block; background: linear-gradient(135deg,#627bf4,#d187d4,#f59179,#ffc486); color: transparent; background-clip: text; }
.about-dialog h2 { font-weight: 700; line-height: 1.04; letter-spacing: -.05em; }
.about-dialog>p:not(.eyebrow), .about-footnote { color: #666; }
.about-footnote { border: 1px solid #e4e7ef; background: #f7f8fc; }
.toast { border-radius: 8px; background: #1c1c1c; }

@media(min-width:1550px) {
  .hero,.hero.hero-aicromancer,.hero.hero-endless { height: 510px; }
  .hero-content { padding: 55px 50px 62px; }
  .hero-title,.hero-endless .hero-title { font-size: 72px; }
  .hero-aicromancer .hero-title { font-size: 62px; }
  .hero-description,.hero-aicromancer .hero-description { font-size: 16px; max-width: 355px; }
  .hero-art,.hero-aicromancer .hero-art { top: 108px; width: 53%; right: -75px; }
  .screen-frame,.hero-aicromancer .screen-frame,.hero-endless .screen-frame { height: 420px; }
  .hero-controls { left: 50px; }
  .hero-app { max-width: 405px; }
  .section-heading h2 { font-size: 28px; }
  .feature-art { height: 320px; }
  .feature-title { font-size: 38px; }
  .app-name { font-size: 14px; }
  .app-tagline { font-size: 11px; }
  .manifesto { min-height: 265px; }
  .manifesto h2 { font-size: 40px; }
}
@media(max-width:1150px) {
  .brand { font-size: 18px; gap: 6px; }
  .brand-mark { width: 23px; height: 25px; font-size: 20px; }
  .brand-caption { font-size: 6.4px; }
  .search-box input { font-size: 9px; }
  .hero-content { width: 58%; padding-left: 30px; padding-right: 25px; }
  .hero-title,.hero-endless .hero-title { font-size: 46px; }
  .hero-aicromancer .hero-title { font-size: 39px; }
  .hero-art,.hero-aicromancer .hero-art { right: -100px; width: 55%; }
  .hero-description,.hero-aicromancer .hero-description { font-size: 13px; max-width: 255px; }
  .hero-app { gap: 8px; }
  .hero-app .hero-action { font-size: 10px; padding: 10px 11px; }
  .hero-app .app-name { font-size: 12px; }
  .hero-controls { left: 30px; }
  .section-heading h2 { font-size: 21px; }
  .feature-title { font-size: 28px; }
  .manifesto { padding: 32px 28px; }
  .manifesto h2 { font-size: 29px; }
}
@media(max-width:900px) {
  .hero-content { width: 65%; }
  .hero-art,.hero-aicromancer .hero-art { right: -145px; width: 60%; top: 112px; }
  .hero-title,.hero-endless .hero-title { font-size: 45px; }
  .hero-aicromancer .hero-title { font-size: 37px; }
  .hero-app { max-width: 305px; }
  .hero-app .app-tagline { font-size: 9px; }
  .orbit-app { width: 43px; height: 43px; border-radius: 11px; }
  .orbit-app img { width: 28px; height: 28px; }
  .tile-listjot { right: 33%; top: 33px; }
  .tile-aicromancer { right: 18%; top: 44px; }
  .tile-endless { right: 3%; top: 31px; }
  .quick-grid .app-name { font-size: 13px; }
  .quick-grid .app-tagline { font-size: 11px; }
  .quick-grid .view-button { font-size: 11px; padding: 8px 17px; }
  .feature-art { height: 235px; }
  .feature-title { font-size: 25px; }
  .feature-bottom { padding: 14px; gap: 8px; }
  .feature-caption { font-size: 9px; }
  .manifesto { gap: 23px; }
  .manifesto .secondary-button { margin-left: 0; }
  .manifesto h2 { font-size: 30px; }
}
@media(max-width:700px) {
  .sidebar { padding-top: 18px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 26px; height: 27px; font-size: 22px; }
  .nav-item { font-size: 11px; }
  .page-header { margin-bottom: 26px; }
  .page-header h1 { font-size: 38px; }
  .page-header p { font-size: 11px; margin-top: 9px; }
  .surprise-button { padding: 10px 12px; font-size: 10px; }
  .hero,.hero.hero-aicromancer,.hero.hero-endless { height: 465px; border-radius: 16px; }
  .hero-content { width: 75%; padding: 32px 26px; }
  .hero-title,.hero-endless .hero-title { font-size: 46px; }
  .hero-aicromancer .hero-title { font-size: 39px; }
  .hero-kicker { font-size: 8px; letter-spacing: 1px; }
  .hero-description,.hero-aicromancer .hero-description { font-size: 13px; max-width: 225px; margin-top: 20px; }
  .hero-art,.hero-aicromancer .hero-art { right: -165px; width: 64%; top: 170px; }
  .screen-frame,.hero-aicromancer .screen-frame,.hero-endless .screen-frame { height: 270px; border-radius: 11px; }
  .hero-app { left: 26px; bottom: 57px; width: calc(133.333% - 52px); max-width: calc(133.333% - 52px); margin: 0; padding-top: 16px; }
  .hero-app .hero-action { padding: 11px 13px; }
  .hero-app .app-tagline { max-width: 150px; }
  .hero-controls { left: 26px; right: 23px; }
  .orbit-app { width: 39px; height: 39px; border-radius: 10px; }
  .orbit-app img { width: 25px; height: 25px; }
  .tile-listjot { top: 25px; right: 25px; }
  .tile-aicromancer { top: 85px; right: 15px; }
  .tile-endless { display: none; }
  .section-heading h2 { font-size: 23px; }
  .section-heading p { font-size: 11px; }
  .text-button { font-size: 10px; }
  .fresh-section { padding-top: 29px; padding-bottom: 24px; }
  .play-section { padding-top: 28px; }
  .feature-title { font-size: 26px; }
  .feature-overline { font-size: 8px; }
  .feature-bottom .view-button { margin-left: auto; }
  .manifesto { padding: 30px 26px; margin-top: 30px; background-position: 62% center; }
  .manifesto:before { background: linear-gradient(90deg,#1c1c1cef,#1c1c1c75); }
  .manifesto h2 { font-size: 30px; }
  .manifesto p { font-size: 12px; }
}
@media(max-width:440px) {
  .brand { font-size: 18px; gap: 6px; }
  .brand-mark { width: 23px; height: 24px; font-size: 20px; }
  .search-box { height: 35px; }
  .nav-item { font-size: 10px; }
  .page-header h1 { font-size: 36px; }
  .page-header p { font-size: 10px; }
  .surprise-button { padding: 9px 10px; font-size: 9px; }
  .hero-content { padding-left: 24px; width: 83%; padding-right: 18px; }
  .hero-title,.hero-endless .hero-title { font-size: 43px; max-width: 240px; }
  .hero-aicromancer .hero-title { font-size: 36px; }
  .hero-description,.hero-aicromancer .hero-description { font-size: 12px; max-width: 205px; }
  .hero-art,.hero-aicromancer .hero-art { right: -160px; width: 66%; top: 180px; opacity: .8; }
  .hero-app { left: 24px; width: calc(120.482% - 48px); max-width: calc(120.482% - 48px); }
  .hero-app .app-name { font-size: 12px; }
  .hero-app .app-tagline { font-size: 9px; max-width: 115px; }
  .hero-app .hero-action { padding: 10px 12px; font-size: 10px; }
  .hero-controls { left: 24px; }
  .tile-listjot { right: 19px; top: 24px; }
  .tile-aicromancer { top: 91px; right: 13px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading .text-button { font-size: 0; }
  .feature-art { height: 270px; }
  .feature-title { font-size: 32px; }
  .feature-bottom { padding: 17px 20px; }
  .feature-bottom .app-name { font-size: 13px; }
  .feature-caption { font-size: 10px; }
  .manifesto { padding: 29px 24px; }
  .manifesto h2 { font-size: 28px; }
  .manifesto .secondary-button { padding: 12px 16px; }
}

/* The collection now has four apps and three games. */
@media(min-width:901px) { .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.hero-dungeon-runner .window-bar { display: none; }
.hero-dungeon-runner .screen-frame img { height: 100%; object-position: center; }
.feature-dungeon-runner .feature-image { object-position: center; }
