/* Homepage only. Shared tools and their working layouts keep workbench.css. */
body[data-page="home"] {
  --accent: #6650cc;
  --accent-dark: #513bb1;
  --ink: #1d1b24;
  --muted: #66636f;
  --line: #e2dfd9;
  --bg: #f9f8f5;
  --soft: #eeebf8;
  background: var(--bg);
  color: var(--ink);
}

body[data-page="home"] .app-sidebar { display: none; }
body[data-page="home"] .app-shell { margin-left: 0; }
body[data-page="home"] .app-header {
  display: block;
  height: auto;
  padding: 0;
  border-color: #e9e6df;
  background: #f9f8f5f2;
  backdrop-filter: blur(16px);
}
body[data-page="home"] .app-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 40px;
}
body[data-page="home"] .button {
  min-height: 48px;
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 650;
  box-shadow: none;
}
body[data-page="home"] .button.primary { box-shadow: none; }
body[data-page="home"] .button.primary:hover { transform: none; }
body[data-page="home"] :is(a, button):focus-visible {
  outline: 3px solid #8c77e6;
  outline-offset: 4px;
}

.home7-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  min-height: 84px;
  padding: 0 40px;
  margin: 0 auto;
}
.home7-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}
.home7-brand .brand-mark {
  width: 34px;
  height: 37px;
  border-radius: 10px;
  background: #6650cc;
  box-shadow: none;
}
.home7-brand-name {
  display: block;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: -.035em;
}
.home7-brand-name small {
  display: block;
  margin-top: 4px;
  color: #716b7c;
  font-size: 10px;
  font-weight: 450;
  letter-spacing: .13em;
}
.home7-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 20px;
}
.home7-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #57515f;
  font-size: 14px;
  white-space: nowrap;
}
.home7-nav a:hover { color: var(--accent); }
.home7-header-actions { display: flex; align-items: center; gap: 12px; }
.home7-start-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #dcd6e7;
  border-radius: 9px;
  color: #3d3355;
  background: #f3effb;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.home7-start-link:hover { border-color: #9f8dd9; background: #ebe4f9; }
.home7-start-link .icon { width: 18px; height: 18px; }
.home7-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  padding: 8px;
  border-radius: 9px;
  background: transparent;
  color: #655e70;
  font-size: 14px;
}
.home7-help:hover { background: #ece8f0; }
.home7-help .icon { width: 19px; height: 19px; }

.home7-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5.1vw, 72px);
  padding: 48px 0 60px;
}
.home7-hero-copy { min-width: 0; padding: 12px 0; }
.home7-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #65567e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
}
.home7-eyebrow .icon { width: 17px; height: 17px; }
.home7-hero h1 {
  font-size: clamp(42px, 4.7vw, 65px);
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 780;
}
.home7-hero h1 em { color: #6650cc; font-style: normal; }
.home7-lead {
  max-width: 31em;
  margin-top: 26px;
  color: #67616d;
  font-size: 17px;
  line-height: 1.9;
}
.home7-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
body[data-page="home"] .home7-actions .button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-width: 0; min-height: 94px; padding: 14px 12px; white-space: normal; text-align: left; }
.home7-action-title { display: flex; align-items: center; gap: 6px; font-size: 15px; line-height: 1.45; }
.home7-action-title .icon { width: 18px; height: 18px; flex-shrink: 0; }
.home7-action-detail { color: #716779; font-size: 12px; line-height: 1.6; font-weight: 450; }
.home7-actions .button.primary .home7-action-detail { color: #eee8ff; }
.home7-actions .button:not(.primary) { border-color: #d9d4df; background: transparent; }
.home7-actions .button:not(.primary):hover { background: #efebf5; border-color: #bfb2d9; }
.home7-flow { display: flex; flex-wrap: wrap; gap: 13px 22px; padding: 0; margin: 31px 0 0; list-style: none; }
.home7-flow li { display: flex; align-items: center; gap: 8px; color: #706977; font-size: 13px; }
.home7-flow b { color: #998cae; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }

.home7-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, .55fr);
  grid-template-rows: auto auto auto 1fr;
  align-items: start;
  gap: 20px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #30283e;
  border-radius: 22px;
  background: linear-gradient(145deg, #211a2e, #15111c 75%);
  color: #f9f6fd;
}
.home7-showcase-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #c9bed9;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .03em;
}
.home7-showcase-top span:last-child { color: #9f90b2; white-space: nowrap; }
.home7-player-frame {
  grid-column: 1;
  grid-row: 2 / 5;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #5d506e;
  border-radius: 12px;
  background: #08060a;
}
.home7-player-frame video { display: block; width: 100%; height: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #08060a; }
.home7-player-info { grid-column: 2; min-width: 0; padding-top: 8px; }
.home7-player-info strong { display: block; color: #f5effd; font-size: 19px; line-height: 1.55; font-weight: 650; }
.home7-player-info > span { display: block; margin-top: 10px; color: #baaccd; font-size: 12px; line-height: 1.85; }
.home7-scene-switch { grid-column: 2; display: grid; gap: 8px; min-width: 0; }
.home7-scene-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #493b59;
  border-radius: 8px;
  color: #d5c9e3;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}
.home7-scene-switch button:hover { background: #2d223d; border-color: #8b72ad; }
.home7-scene-switch button[aria-pressed="true"] { background: #e9defb; border-color: #e9defb; color: #332346; font-weight: 650; }
.home7-player-status { grid-column: 2; align-self: end; min-height: 2.9em; color: #b3a5c5; font-size: 11px; line-height: 1.8; }
.home7-player-note { grid-column: 1 / -1; margin: 0; padding-top: 11px; border-top: 1px solid #3d304c; color: #b9adc8; font-size: 11px; line-height: 1.7; }
.home7-player-error {
  grid-column: 1 / -1;
  padding: 13px 14px;
  border: 1px solid #8b6572;
  border-radius: 8px;
  background: #32202b;
  color: #f5dce5;
  font-size: 13px;
  line-height: 1.75;
}
.home7-player-error a { color: #fff0f7; text-decoration: underline; text-underline-offset: 3px; }

.home7-capabilities { padding: 10px 0 66px; scroll-margin-top: 104px; }
.home7-section-heading { max-width: 730px; margin-bottom: 28px; }
.home7-section-heading .eyebrow { display: block; margin-bottom: 11px; color: #80738f; font-size: 12px; letter-spacing: .1em; }
.home7-section-heading h2 { color: #24202b; font-size: clamp(28px, 3.15vw, 38px); line-height: 1.35; letter-spacing: -.04em; }
.home7-section-heading p { margin-top: 12px; color: #736c79; font-size: 16px; line-height: 1.9; }
.home7-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home7-capability-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 302px;
  padding: 26px;
  border: 1px solid #ddd8e0;
  border-radius: 14px;
  background: #fdfcfa;
  transition: border-color .18s, transform .18s;
}
.home7-capability-card:hover { border-color: #a18bc9; transform: translateY(-3px); }
.home7-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #8c8197; font-size: 11px; line-height: 1.6; }
.home7-card-top > :first-child { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.home7-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 23px 0 15px; border-radius: 10px; color: #655083; background: #eee8f5; }
.home7-feature-icon .icon { width: 22px; height: 22px; }
.home7-capability-card h3 { font-size: 24px; line-height: 1.4; font-weight: 680; letter-spacing: -.035em; }
.home7-capability-card > p { flex: 1; margin-top: 12px; color: #716977; font-size: 15px; line-height: 1.9; }
.home7-card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 25px; color: #614878; font-size: 14px; font-weight: 600; }
.home7-card-link .icon { width: 17px; height: 17px; }

.home7-local {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5.1vw, 70px);
  padding: 58px 0;
  border-top: 1px solid #e3dedc;
  border-bottom: 1px solid #e3dedc;
}
.home7-local-copy { min-width: 0; }
.home7-local-copy > .eyebrow { display: block; margin-bottom: 16px; color: #756480; font-size: 12px; letter-spacing: .09em; }
.home7-local-copy h2 { font-size: clamp(27px, 3.15vw, 39px); line-height: 1.4; letter-spacing: -.04em; }
.home7-local-copy > p { max-width: 31em; margin-top: 18px; color: #706774; font-size: 16px; line-height: 1.9; }
.home7-local-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 25px 0 28px; padding: 0; list-style: none; }
.home7-local-points li { display: inline-flex; align-items: center; gap: 7px; color: #62556e; font-size: 14px; }
.home7-local-points .icon { width: 16px; height: 16px; color: #8c70a3; }
.home7-local-visual { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid #ddd5d2; background: #ece6df; }
.home7-local-visual img { width: 100%; height: auto; max-height: 360px; aspect-ratio: 4 / 3; object-fit: cover; }
.home7-local-visual figcaption { margin: 0; padding: 12px 15px; color: #6e615e; background: #f2ede7; font-size: 11px; line-height: 1.7; }

body[data-page="home"] .home7-templates { margin-top: 66px; }
body[data-page="home"] .home7-templates .section-heading { gap: 20px; align-items: flex-end; margin-bottom: 24px; }
body[data-page="home"] .home7-templates .section-heading h2 { font-size: 30px; line-height: 1.4; letter-spacing: -.04em; }
body[data-page="home"] .home7-templates .section-heading p { max-width: 42em; margin-top: 9px; color: #756c7b; font-size: 15px; line-height: 1.8; }
body[data-page="home"] .home7-templates .text-button { display: inline-flex; align-items: center; min-height: 44px; color: #665078; font-size: 14px; }
body[data-page="home"] .home7-templates .template-filters { flex-wrap: wrap; gap: 6px; }
body[data-page="home"] .home7-templates .template-filters .chip { min-height: 44px; padding: 9px 14px; border-radius: 8px; color: #736879; font-size: 14px; }
body[data-page="home"] .home7-templates .template-filters .chip[aria-pressed="true"] { color: #514163; background: #e9e2f1; }
body[data-page="home"] .home7-templates .template-toolbar { margin-bottom: 22px; }
body[data-page="home"] .home7-templates .template-grid { gap: 18px; }
body[data-page="home"] .home7-templates .template-art { border-radius: 9px; box-shadow: none; }
body[data-page="home"] .home7-templates .template-copy h3 { font-size: 15px; }
body[data-page="home"] .home7-templates .template-copy p { color: #786e7e; font-size: 12px; }
body[data-page="home"] .home7-templates .template-use { display: inline-flex; align-items: center; min-height: 44px; padding: 6px; color: #735883; font-size: 13px; }
body[data-page="home"] .home7-partners {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  margin: 62px 0 0;
  padding: 34px 38px;
  border: 1px solid #2b2337;
  border-radius: 15px;
  background: #211b2b;
  color: #f6f0fb;
}
body[data-page="home"] .home7-partners h2 { font-size: 25px; line-height: 1.45; letter-spacing: -.025em; }
body[data-page="home"] .home7-partners .eyebrow { display: block; margin-bottom: 11px; color: #b9a0cd; font-size: 12px; }
body[data-page="home"] .home7-partners p { max-width: 43em; margin-top: 10px; color: #c3b4d0; font-size: 15px; line-height: 1.85; }
body[data-page="home"] .home7-partners > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
body[data-page="home"] .home7-partners .button { color: #33263e; border-color: #f4edf9; background: #f4edf9; font-size: 14px; }
body[data-page="home"] .home7-partners .button:hover { border-color: #fff; background: #fff; }
body[data-page="home"] .home7-partners .button.soft { color: #ebdff4; border-color: #786486; background: transparent; }
body[data-page="home"] .home7-partners .button.soft:hover { border-color: #c2a8d5; background: #33243e; }
body[data-page="home"] .home7-recent { margin-top: 48px; }
body[data-page="home"] .home7-recent .section-heading h2 { color: #4b4054; font-size: 20px; }
body[data-page="home"] .home7-recent .text-button { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
body[data-page="home"] .home7-recent .recent-empty { border-color: #d9d0df; color: #786b81; background: transparent; }
body[data-page="home"] .home7-recent .recent-empty a { display: inline-flex; align-items: center; min-height: 44px; }
body[data-page="home"] .site-footer { flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid #e4dedf; color: #796d80; font-size: 12px; }
body[data-page="home"] .site-footer a,
body[data-page="home"] .site-footer button { display: inline-flex; align-items: center; min-height: 44px; }
body[data-page="home"] .help-technical { margin-top: 10px; }
body[data-page="home"] .help-technical summary { cursor: pointer; color: #51465e; }
body[data-page="home"] .help-technical p { margin-top: 8px; }

@media (max-width: 1120px) {
  .home7-header-inner { gap: 18px; }
  .home7-nav { gap: 20px; margin-right: 0; }
  .home7-hero { gap: 34px; padding-top: 48px; }
  .home7-hero h1 { font-size: 48px; }
  .home7-showcase { grid-template-columns: minmax(0, 1fr) 112px; gap: 15px; padding: 18px; }
  .home7-player-info strong { font-size: 17px; }
  .home7-scene-switch button { padding: 10px; }
  .home7-capability-card { padding: 23px; }
  body[data-page="home"] .home7-partners { align-items: flex-start; flex-direction: column; gap: 23px; }
}

@media (max-width: 980px) {
  .home7-nav { display: none; }
  body[data-page="home"] .app-sidebar { display: flex; width: 240px; padding: 25px 20px; transform: translateX(-100%); transition: transform .22s; }
  body[data-page="home"] .app-sidebar.open { transform: translateX(0); }
  body[data-page="home"] .drawer-backdrop.open { display: block; position: fixed; inset: 0; background: #201a364a; z-index: 35; }
  .home7-header-inner .mobile-menu { display: inline-flex; min-width: 36px; min-height: 44px; }
  .home7-header-actions { margin-left: auto; }
  .home7-hero { gap: 26px; }
  .home7-hero h1 { font-size: 43px; }
  .home7-lead { font-size: 16px; }
  .home7-actions { gap: 9px; }
  body[data-page="home"] .home7-actions .button { padding-inline: 10px; }
  .home7-action-title { font-size: 14px; }
  .home7-showcase { grid-template-columns: minmax(0, 1fr) 100px; gap: 13px; padding: 16px; }
  .home7-player-info strong { font-size: 16px; }
  .home7-scene-switch button { font-size: 11px; padding-inline: 8px; }
  .home7-capability-grid { gap: 12px; }
  .home7-capability-card { padding: 21px; }
  .home7-capability-card h3 { font-size: 22px; }
  body[data-page="home"] .home7-templates .template-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 18px; }
}

@media (max-width: 860px) {
  body[data-page="home"] .app-content { padding-right: 32px; padding-left: 32px; }
  .home7-header-inner { padding-right: 32px; padding-left: 32px; }
  .home7-hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 46px; padding-bottom: 56px; }
  .home7-hero-copy { max-width: 660px; padding: 0; }
  .home7-hero h1 { font-size: 54px; }
  .home7-lead { max-width: 34em; }
  .home7-showcase { grid-template-columns: minmax(0, 1fr) 145px; gap: 22px; width: 100%; max-width: 500px; padding: 24px; margin: 0 auto; }
  .home7-player-info strong { font-size: 20px; }
  .home7-scene-switch button { min-height: 46px; font-size: 13px; padding-inline: 12px; }
  .home7-local { gap: 30px; }
  .home7-local-copy h2 { font-size: 29px; }
  .home7-local-visual img { aspect-ratio: 4 / 5; }
  .home7-capability-card { padding: 20px; }
}

@media (max-width: 760px) {
  body[data-page="home"] .app-sidebar { display: flex; }
  body[data-page="home"] .app-content { padding: 0 24px max(94px, calc(76px + env(safe-area-inset-bottom))); }
  body[data-page="home"] .mobile-nav { border-color: #e3dce8; background: #fbf9f5f5; box-shadow: none; }
  body[data-page="home"] .mobile-nav a { min-height: 44px; color: #76697d; font-size: 11px; }
  body[data-page="home"] .mobile-nav a.active { color: #5e4196; }
  .home7-header-inner { min-height: 68px; gap: 12px; padding: 0 20px; }
  .home7-header-inner .mobile-menu { width: 36px; min-width: 36px; height: 44px; margin: 0 0 0 -6px; }
  .home7-brand { gap: 8px; }
  .home7-brand .brand-mark { width: 28px; height: 31px; border-radius: 8px; }
  .home7-brand .brand-mark .icon { width: 20px; height: 20px; }
  .home7-brand-name { font-size: 20px; }
  .home7-brand-name small { font-size: 9px; margin-top: 3px; }
  .home7-header-actions { gap: 0; }
  .home7-help { display: none; }
  .home7-start-link { min-height: 44px; padding: 9px 11px; font-size: 13px; gap: 5px; }
  .home7-start-link .icon { width: 16px; height: 16px; }
  .home7-hero { padding-top: 38px; }
  .home7-eyebrow { margin-bottom: 18px; font-size: 12px; }
  .home7-hero h1 { font-size: 48px; }
  .home7-lead { margin-top: 21px; font-size: 16px; line-height: 1.85; }
  .home7-actions { margin-top: 24px; gap: 10px; }
  .home7-flow { margin-top: 25px; gap: 12px 20px; }
  .home7-capabilities { padding-bottom: 44px; scroll-margin-top: 88px; }
  .home7-section-heading { margin-bottom: 22px; }
  .home7-section-heading h2 { font-size: 29px; line-height: 1.45; }
  .home7-section-heading p { font-size: 15px; }
  .home7-capability-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .home7-capability-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 0 15px; min-height: 0; padding: 23px; }
  .home7-card-top { grid-column: 1 / -1; margin-bottom: 19px; font-size: 11px; }
  .home7-feature-icon { grid-column: 1; grid-row: 2 / 4; width: 40px; height: 40px; margin: 0; }
  .home7-capability-card h3 { grid-column: 2; font-size: 24px; }
  .home7-capability-card > p { grid-column: 2; margin-top: 9px; font-size: 15px; }
  .home7-card-link { grid-column: 2; margin-top: 17px; font-size: 14px; }
  .home7-local { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 40px 0; }
  .home7-local-copy h2 { font-size: 31px; max-width: 16em; }
  .home7-local-copy > p { margin-top: 16px; font-size: 15px; }
  .home7-local-points { margin: 22px 0 24px; gap: 11px 19px; }
  .home7-local-visual img { max-height: 360px; aspect-ratio: 4 / 3; }
  body[data-page="home"] .home7-templates { margin-top: 42px; }
  body[data-page="home"] .home7-templates .section-heading { gap: 12px; align-items: flex-start; margin-bottom: 18px; }
  body[data-page="home"] .home7-templates .section-heading h2 { font-size: 26px; }
  body[data-page="home"] .home7-templates .section-heading p { font-size: 14px; }
  body[data-page="home"] .home7-templates .text-button { font-size: 13px; }
  body[data-page="home"] .home7-templates .template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 15px; }
  body[data-page="home"] .home7-templates .template-filters { gap: 4px; }
  body[data-page="home"] .home7-templates .template-filters .chip { min-height: 44px; padding: 8px 11px; font-size: 13px; }
  body[data-page="home"] .home7-partners { margin-top: 44px; padding: 28px 25px; gap: 22px; }
  body[data-page="home"] .home7-partners h2 { font-size: 25px; }
  body[data-page="home"] .home7-partners p { font-size: 15px; }
  body[data-page="home"] .home7-partners > div:last-child { width: 100%; }
  body[data-page="home"] .home7-partners .button { min-height: 48px; flex: 1; padding: 11px 13px; }
  body[data-page="home"] .home7-recent { margin-top: 35px; }
  body[data-page="home"] .home7-recent .recent-empty { padding: 18px 14px; gap: 8px; }
  body[data-page="home"] .site-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 34px; padding-top: 18px; font-size: 11px; }
}

@media (max-width: 560px) {
  body[data-page="home"] .app-content { padding-right: 20px; padding-left: 20px; }
  .home7-header-inner { gap: 8px; padding-right: 16px; padding-left: 16px; }
  .home7-brand-name { font-size: 19px; }
  .home7-brand-name small { letter-spacing: .03em; }
  .home7-brand .brand-mark { width: 26px; height: 29px; }
  .home7-hero h1 { font-size: clamp(35px, 9.45vw, 45px); letter-spacing: -.05em; }
  .home7-hero { gap: 28px; padding-bottom: 43px; }
  .home7-lead { max-width: 29em; }
  .home7-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .home7-actions .button { min-height: 86px; padding: 12px 14px; }
  body[data-page="home"] .home7-actions .button.primary { grid-column: 1 / -1; min-height: 70px; flex-direction: row; justify-content: space-between; align-items: center; }
  .home7-action-title { font-size: 15px; }
  .home7-flow { gap: 12px 16px; }
  .home7-flow li { gap: 6px; font-size: 12px; }
  .home7-showcase { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-width: 410px; padding: 18px; border-radius: 18px; }
  .home7-showcase-top { font-size: 11px; margin-bottom: 17px; }
  .home7-player-frame { display: block; width: 100%; max-width: 255px; margin: 0 auto; border-radius: 11px; }
  .home7-player-info { padding: 18px 0 0; }
  .home7-player-info strong { font-size: 19px; }
  .home7-player-info > span { margin-top: 4px; font-size: 12px; line-height: 1.75; }
  .home7-scene-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 17px; }
  .home7-scene-switch button { min-height: 44px; justify-content: center; padding: 9px 6px; font-size: 12px; text-align: center; }
  .home7-player-status { align-self: stretch; min-height: 0; margin-top: 13px; font-size: 11px; }
  .home7-player-note { margin-top: 13px; }
  .home7-player-error { margin-top: 14px; }
  .home7-section-heading h2 { font-size: 28px; }
  .home7-capability-card { padding: 22px 20px; gap: 0 13px; }
  .home7-local-copy h2 { font-size: 29px; }
}

@media (max-width: 360px) {
  body[data-page="home"] .app-content { padding-right: 16px; padding-left: 16px; }
  .home7-header-inner { gap: 6px; padding-right: 12px; padding-left: 12px; }
  .home7-header-inner .mobile-menu { width: 32px; min-width: 32px; }
  .home7-brand { gap: 6px; }
  .home7-brand-name { font-size: 17px; }
  .home7-brand .brand-mark { width: 24px; height: 27px; }
  .home7-start-link { padding-right: 8px; padding-left: 8px; font-size: 12px; }
  .home7-start-link .icon { display: none; }
  .home7-hero h1 { font-size: 35px; }
  .home7-flow { gap: 10px 12px; }
  .home7-actions { gap: 8px; }
  body[data-page="home"] .home7-actions .button { padding-right: 10px; padding-left: 10px; }
  .home7-action-detail { font-size: 11px; }
  .home7-showcase { padding: 15px; }
  .home7-scene-switch { gap: 5px; }
  .home7-scene-switch button { padding-right: 3px; padding-left: 3px; font-size: 11px; }
  .home7-capability-card { padding: 21px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .app-sidebar,
  body[data-page="home"] .home7-capability-card,
  body[data-page="home"] .button,
  body[data-page="home"] .template-art img { transition: none; }
  body[data-page="home"] .home7-capability-card:hover { transform: none; }
}
