/* Wemade Apps pages. Uses the site variables. */
.apps-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; color: var(--color-muted); font-size: .72rem; }
.apps-breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #aaa9a4; }
.apps-hero, .game-hero { padding: clamp(2.5rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--color-line); }
.apps-hero h1, .game-hero h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.apps-hero h1 em, .game-hero h1 em { font-style: normal; background: linear-gradient(transparent 79%, rgba(248,189,28,.72) 79%); }
.game-hero h1 em { font-size: .55em; letter-spacing: -.02em; }
.apps-lede { max-width: 40rem; margin: 1.6rem 0 0; color: #4f4f4c; font-size: 1.05rem; line-height: 1.7; }
.apps-list, .game-features, .game-shots, .game-help { padding: clamp(3rem, 6vw, 5rem) 0; }
.game-features, .game-help { background: var(--color-surface); }
.apps-page h2 { margin: 1rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.app-card { display: grid; grid-template-columns: 9rem 1fr; gap: 1.75rem; align-items: start; padding: 1.75rem; border: 1px solid var(--color-line); background: #fff; }
.app-card img { width: 100%; height: auto; border-radius: 22%; }
.app-card h2 { margin: .25rem 0 0; }
.app-card .button { margin-top: .75rem; }
.app-tag { margin: 0; color: var(--color-muted); font-size: .66rem; font-weight: 600; letter-spacing: .12em; }
.apps-note { margin: 1.5rem 0 0; color: var(--color-muted); font-size: .88rem; }
.game-hero-layout { display: grid; grid-template-columns: 1fr minmax(0, 18rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.game-icon { width: 100%; height: auto; border-radius: 22%; box-shadow: 0 30px 60px rgba(8,8,8,.18); }
.store-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.store-button { display: grid; min-width: 11rem; padding: .7rem 1.25rem; color: #fff; background: #080808; font-weight: 700; line-height: 1.25; cursor: default; }
.store-button small { color: var(--color-brand); font-size: .6rem; letter-spacing: .14em; }
.store-note { margin: .75rem 0 0; color: var(--color-muted); font-size: .8rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.feature-grid li { padding: 1.5rem 0; border-top: 1px solid #cfcec8; }
.feature-grid span { color: var(--color-muted); font-size: .65rem; font-weight: 600; }
.feature-grid h3 { margin: .4rem 0; font-size: 1.15rem; }
.feature-grid p { margin: 0; color: #555550; font-size: .9rem; }
/* The game is landscape only, so the frames are 19.5:9. */
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.shot-grid figure { margin: 0; }
.shot-frame { aspect-ratio: 19.5 / 9; padding: .5rem; border-radius: 1.5rem; background: #080808; }
.shot-frame img, .shot-empty { width: 100%; height: 100%; border-radius: 1.05rem; object-fit: cover; }
.shot-empty { display: grid; place-items: center; text-align: center; color: #8d8d88; background: #1b1b19; font-size: .8rem; }
.shot-grid figcaption { margin-top: .6rem; font-size: .82rem; font-weight: 600; }
.doc-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.doc-links a { display: inline-flex; min-height: 2.75rem; align-items: center; padding: 0 1.1rem; border: 1px solid #b9b8b2; font-size: .86rem; font-weight: 600; }
.doc-links a:hover { border-color: var(--color-brand); background: var(--color-brand); }
.legal { padding: 2rem 0 5rem; }
.legal-inner { max-width: 52rem; }
.legal h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.apps-page .legal h2 { margin: 2.5rem 0 .75rem; font-size: 1.35rem; letter-spacing: -.02em; }
.legal h3 { margin: 1.5rem 0 .25rem; font-size: 1rem; }
.legal p, .legal li { color: #333330; font-size: .95rem; overflow-wrap: anywhere; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { color: var(--color-muted) !important; font-size: .82rem !important; }
.draft-note { padding: .75rem 1rem; border-left: 4px solid var(--color-brand); background: #fff3cd; }
.delete-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 1.5rem 0; }
.legal .delete-cta a { text-decoration: none; }
.delete-cta span { color: var(--color-muted); font-size: .85rem; }
.support-mail { font-size: 1.4rem !important; font-weight: 700; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.legal-table th, .legal-table td { padding: .7rem .75rem; border: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--color-surface); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .game-hero-layout { grid-template-columns: 1fr; }
  .game-icon { order: -1; width: 8rem; }
  .app-card { grid-template-columns: 1fr; }
  .app-card img { width: 7rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table tr { margin-bottom: .9rem; border: 1px solid var(--color-line); background: #fff; }
  .legal-table td { border: 0; padding: .45rem .75rem; }
  .legal-table td::before { content: attr(data-label); display: block; color: var(--color-muted); font-size: .65rem; font-weight: 600; text-transform: uppercase; }
}
