:root {
  color-scheme: dark;
  --sky: #78a8bd;
  --sea: #2d6074;
  --deep: #12384a;
  --mist: #f6f4ee;
  --ink: #173b49;
  --orange: #e96b43;
  --yellow: #f2c95c;
  --oat: #f4ede4;
  --glass: rgba(226, 240, 245, 0.18);
  --glass-strong: rgba(22, 63, 80, 0.78);
  --glass-border: rgba(246, 244, 238, 0.42);
  --soft-shadow: 0 28px 80px rgba(4, 28, 40, 0.32);
  font-family: "Noto Sans SC", "Microsoft YaHei UI", system-ui, sans-serif;
}

/* DoStack lives inside the Fangmu desktop window. Inner panels use solid layers,
   so the window remains the only glass surface. */
.app-window[data-window-route="dostack"] {
  width: min(1280px, calc(100vw - 48px));
  max-height: calc(100vh - 64px);
}

.app-window[data-window-route="dostack"] .window-content {
  max-height: calc(100vh - 112px);
}

.app-window[data-window-route="docs"] {
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 64px);
}

.app-window[data-window-route="docs"] .window-content {
  max-height: calc(100vh - 112px);
}

.docs-window {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: min(680px, calc(100vh - 112px));
  background: linear-gradient(145deg, rgba(19, 62, 79, 0.96), rgba(13, 47, 63, 0.97));
}

.docs-sidebar {
  padding: 30px 18px 36px;
  border-right: 1px solid rgba(246, 244, 238, 0.12);
  background: rgba(11, 43, 58, 0.58);
  overflow-y: auto;
}

.docs-sidebar-header {
  padding: 0 10px 22px;
}

.docs-sidebar-header h2,
.docs-sidebar-header p {
  margin: 0;
}

.docs-sidebar-header h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.55rem;
}

.docs-sidebar-header > p:last-child {
  margin-top: 8px;
  color: rgba(246, 244, 238, 0.58);
  font-size: 0.76rem;
  line-height: 1.6;
}

.docs-search-label {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-search-label input {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 10px;
  color: var(--mist);
  background: rgba(246, 244, 238, 0.08);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.docs-search-label input::placeholder {
  color: rgba(246, 244, 238, 0.45);
}

.docs-search-label input:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.docs-project-label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-project-label select {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 10px;
  color: var(--mist);
  background: rgba(246, 244, 238, 0.08);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.docs-project-label select:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.docs-search-status {
  margin: 18px 10px 0;
  color: rgba(246, 244, 238, 0.56);
  font-size: 0.72rem;
  line-height: 1.5;
}

.docs-search-status[data-empty="true"] {
  color: var(--yellow);
}

.docs-nav-group {
  margin-top: 18px;
}

.docs-nav-group h3 {
  margin: 0 10px 7px;
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-nav-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(246, 244, 238, 0.7);
  text-align: left;
  cursor: pointer;
}

.docs-nav-item:hover,
.docs-nav-item[aria-current="true"] {
  border-color: rgba(246, 244, 238, 0.16);
  background: rgba(246, 244, 238, 0.09);
  color: var(--mist);
}

.docs-nav-item strong {
  font-size: 0.78rem;
}

.docs-nav-item small {
  overflow: hidden;
  color: rgba(246, 244, 238, 0.42);
  font-size: 0.66rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-content {
  min-width: 0;
  padding: clamp(34px, 6vw, 72px) clamp(26px, 7vw, 92px) 72px;
  overflow-y: auto;
}

.docs-content > h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.15;
}

.docs-summary {
  max-width: 680px;
  margin: 16px 0 42px;
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.96rem;
  line-height: 1.8;
}

.docs-markdown {
  max-width: 740px;
  color: rgba(246, 244, 238, 0.8);
  font-size: 0.96rem;
  line-height: 1.85;
}

.docs-markdown h1 {
  display: none;
}

.docs-markdown h2,
.docs-markdown h3 {
  margin: 38px 0 10px;
  color: var(--mist);
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.docs-markdown h2 {
  font-size: 1.45rem;
}

.docs-markdown h3 {
  font-size: 1.16rem;
}

.docs-markdown p {
  margin: 0 0 18px;
}

.docs-markdown ul,
.docs-markdown ol {
  margin: 0 0 22px;
  padding-left: 1.35rem;
}

.docs-markdown li {
  margin: 7px 0;
}

.docs-markdown blockquote {
  margin: 26px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(246, 244, 238, 0.06);
  color: var(--yellow);
}

.docs-markdown code {
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  color: #ffd88a;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.86em;
}

.docs-markdown pre {
  margin: 22px 0;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid rgba(246, 244, 238, 0.12);
  border-radius: 10px;
  background: rgba(4, 25, 35, 0.7);
}

.docs-markdown pre code {
  padding: 0;
  background: transparent;
  color: rgba(246, 244, 238, 0.78);
}

.docs-markdown img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 18px 0;
  border: 1px solid rgba(246, 244, 238, 0.16);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(4, 25, 35, 0.18);
}

.docs-markdown a {
  color: #ffd88a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dostack-site-window {
  position: relative;
  min-height: min(720px, calc(100vh - 112px));
  background: linear-gradient(145deg, rgba(19, 62, 79, 0.96), rgba(13, 47, 63, 0.97));
}

.dostack-window-nav {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(246, 244, 238, 0.13);
  background: rgba(20, 61, 78, 0.96);
}

.dostack-window-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.dostack-window-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(5, 25, 36, 0.24);
}

.dostack-window-brand > span {
  display: grid;
  gap: 2px;
}

.dostack-window-brand strong {
  font-size: 0.9rem;
}

.dostack-window-brand small {
  color: rgba(246, 244, 238, 0.52);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
}

.dostack-window-nav > [role="tablist"] {
  display: flex;
  flex: 1 1 auto;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dostack-window-nav > [role="tablist"]::-webkit-scrollbar {
  display: none;
}

.dostack-window-nav [role="tablist"] button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: rgba(246, 244, 238, 0.64);
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.dostack-window-nav [role="tablist"] button:hover,
.dostack-window-nav [role="tablist"] button[aria-selected="true"] {
  border-color: rgba(246, 244, 238, 0.2);
  background: rgba(246, 244, 238, 0.1);
  color: var(--mist);
}

.dostack-auth-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.dostack-auth-button,
.dostack-auth-logout {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 999px;
  color: rgba(246, 244, 238, 0.84);
  background: rgba(246, 244, 238, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.dostack-auth-button:hover,
.dostack-auth-button:focus-visible,
.dostack-auth-logout:hover,
.dostack-auth-logout:focus-visible {
  border-color: rgba(242, 201, 92, 0.7);
  color: var(--paper);
  background: rgba(242, 201, 92, 0.14);
}

.dostack-auth-button [data-dostack-auth-label] {
  display: inline-block;
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.dostack-auth-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: rgba(246, 244, 238, 0.5);
  vertical-align: 1px;
}

.dostack-auth-control[data-logged-in="true"] .dostack-auth-dot {
  background: #8ed6a8;
  box-shadow: 0 0 0 3px rgba(142, 214, 168, 0.12);
}

.dostack-panel {
  min-height: 610px;
  padding: clamp(34px, 5vw, 70px);
}

.dostack-panel[hidden] {
  display: none;
}

.dostack-overview {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(430px, 1.26fr);
  gap: clamp(28px, 4vw, 58px);
}

.dostack-overview .product-status-strip {
  grid-column: 1 / -1;
}

.dostack-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(246, 244, 238, 0.13);
  color: rgba(246, 244, 238, 0.65);
  font-size: 0.78rem;
  list-style: none;
}

.dostack-proof-list li::before {
  content: "·";
  margin-right: 7px;
  color: var(--orange);
}

.dostack-section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.dostack-section-heading > p {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.dostack-section-heading h2,
.dostack-discuss h2 {
  margin: 0 0 14px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.25rem, 4.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.dostack-section-heading > span,
.dostack-discuss > div > p:not(.window-eyebrow) {
  display: block;
  max-width: 760px;
  color: rgba(246, 244, 238, 0.65);
  line-height: 1.8;
}

.dostack-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dostack-pricing-grid article,
.dostack-download-grid article {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(246, 244, 238, 0.13);
  border-radius: 22px;
  background: rgba(246, 244, 238, 0.06);
}

.dostack-pricing-grid article.is-featured {
  border-color: rgba(242, 201, 92, 0.48);
  background: rgba(242, 201, 92, 0.09);
}

.dostack-pricing-grid p {
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.dostack-pricing-grid h3,
.dostack-download-grid h3 {
  margin: 10px 0 14px;
  font-size: 1.25rem;
}

.dostack-pricing-grid strong {
  display: block;
  margin: 18px 0 6px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.dostack-pricing-grid strong small,
.dostack-pricing-grid del {
  color: rgba(246, 244, 238, 0.48);
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
}

.dostack-pricing-grid ul {
  margin: 24px 0 0;
  padding-left: 18px;
  color: rgba(246, 244, 238, 0.68);
  font-size: 0.82rem;
  line-height: 1.9;
}

.dostack-pricing-grid em {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--yellow);
  font-size: 0.7rem;
  font-style: normal;
}

.dostack-purchase-action {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.dostack-purchase-action label,
.dostack-purchase-action > span {
  display: grid;
  gap: 6px;
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.76rem;
}

.dostack-purchase-action select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 12px;
  color: var(--paper);
  background: rgba(9, 42, 55, 0.8);
  font: inherit;
}

.dostack-purchase-action button {
  width: 100%;
}

.dostack-purchase-action button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.dostack-honest-note {
  margin: 18px 0 0;
  color: rgba(246, 244, 238, 0.54);
  font-size: 0.78rem;
}

.dostack-honest-note .secondary-action {
  margin-top: 10px;
}

.dostack-pricing-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(242, 201, 92, 0.34);
  border-radius: 16px;
  background: rgba(242, 201, 92, 0.07);
}

.dostack-pricing-contact p {
  margin: 0;
  color: rgba(246, 244, 238, 0.72);
}

.dostack-pricing-contact .secondary-action {
  flex: 0 0 auto;
  margin-top: 0;
}

.dostack-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dostack-download-notice {
  margin: 18px 0 12px;
  padding: 13px 16px;
  border: 1px solid rgba(233, 107, 67, 0.62);
  border-radius: 14px;
  background: rgba(233, 107, 67, 0.1);
}

.dostack-download-notice strong {
  color: #ffb294;
  font-size: 0.82rem;
}

.dostack-download-notice p {
  margin: 6px 0 0;
  color: rgba(246, 244, 238, 0.72);
  font-size: 0.8rem;
  line-height: 1.7;
}

.dostack-download-notice-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(233, 107, 67, 0.28);
}

.dostack-download-notice-actions span {
  color: rgba(246, 244, 238, 0.72);
  font-size: 0.76rem;
}

.dostack-download-notice-actions .primary-action {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.76rem;
}

.dostack-smart-control-alert {
  margin: 12px 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(242, 201, 92, 0.7);
  border-radius: 16px;
  background: rgba(242, 201, 92, 0.09);
}

.dostack-smart-control-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.dostack-smart-control-icon {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 800;
}

.dostack-smart-control-heading strong {
  color: #ffe09a;
  font-size: 0.92rem;
}

.dostack-smart-control-heading p {
  margin: 6px 0 0;
  color: rgba(246, 244, 238, 0.76);
  font-size: 0.8rem;
  line-height: 1.7;
}

.dostack-smart-control-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  align-items: start;
  gap: 16px;
  margin-top: 14px;
}

.dostack-smart-control-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dostack-smart-control-steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(246, 244, 238, 0.13);
  border-radius: 12px;
  background: rgba(23, 59, 73, 0.2);
}

.dostack-smart-control-steps li > b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(242, 201, 92, 0.2);
  color: #ffe09a;
  font-family: var(--mono);
  font-size: 0.74rem;
}

.dostack-smart-control-steps strong {
  display: block;
  color: var(--mist);
  font-size: 0.78rem;
}

.dostack-smart-control-steps span {
  display: block;
  margin-top: 4px;
  color: rgba(246, 244, 238, 0.68);
  font-size: 0.74rem;
  line-height: 1.65;
}

.dostack-smart-control-footnote {
  margin: 12px 0 0;
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.72rem;
  line-height: 1.65;
}

.dostack-smart-control-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(246, 244, 238, 0.16);
  border-radius: 12px;
  background: rgba(23, 59, 73, 0.28);
}

.dostack-smart-control-figure a {
  display: block;
}

.dostack-smart-control-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.dostack-smart-control-figure figcaption {
  margin-top: 6px;
  color: rgba(246, 244, 238, 0.58);
  font-size: 0.68rem;
  text-align: center;
}

.dostack-download-grid article > span {
  color: var(--yellow);
  font-size: 0.72rem;
}

.dostack-download-grid article > p,
.dostack-help p {
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.84rem;
  line-height: 1.75;
}

.dostack-download-grid button,
.dostack-download-grid .download-action {
  display: grid;
  place-items: center;
  min-height: 42px;
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(246, 244, 238, 0.14);
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.dostack-download-grid .download-action:hover {
  background: #ffffff;
}

.dostack-file-mark {
  margin-top: 26px;
  color: rgba(246, 244, 238, 0.18);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 3.8rem;
  font-weight: 800;
}

.dostack-release-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(246, 244, 238, 0.12);
}

.dostack-release-facts span {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: rgba(19, 55, 70, 0.96);
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.74rem;
}

.dostack-release-facts b {
  color: var(--mist);
}

.dostack-help .dostack-hash {
  color: rgba(246, 244, 238, 0.72);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.dostack-help {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(246, 244, 238, 0.13);
  border-radius: 14px;
}

.dostack-help summary {
  cursor: pointer;
  font-weight: 700;
}

.dostack-timeline {
  max-width: 900px;
}

.dostack-roadmap-list {
  display: grid;
  gap: 10px;
}

.dostack-roadmap-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(246, 244, 238, 0.13);
}

.dostack-roadmap-list article > b {
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.dostack-roadmap-list h3,
.dostack-roadmap-list p {
  margin: 0;
}

.dostack-roadmap-list p,
.dostack-roadmap-list article > span {
  color: rgba(246, 244, 238, 0.57);
  font-size: 0.78rem;
  line-height: 1.65;
}

.dostack-discuss {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
}

.dostack-discuss > div .primary-action {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-form-shell {
  max-width: 680px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(246, 244, 238, 0.16);
  border-radius: 18px;
  background: rgba(4, 25, 35, 0.28);
}

.feedback-form {
  display: grid;
  gap: 12px;
}

.feedback-form label {
  display: grid;
  gap: 6px;
  color: rgba(246, 244, 238, 0.7);
  font-size: 0.74rem;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 10px;
  background: rgba(246, 244, 238, 0.08);
  color: var(--mist);
  font: inherit;
}

.feedback-form textarea {
  min-height: 110px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: 2px solid rgba(242, 201, 92, 0.7);
  outline-offset: 2px;
}

.feedback-form .primary-action {
  justify-self: start;
  margin-top: 2px;
}

.feedback-account-note {
  margin: -2px 0 2px;
  color: rgba(246, 244, 238, 0.56);
  font-size: 0.74rem;
  line-height: 1.6;
}

.feedback-login-fields {
  display: grid;
  gap: 10px;
  margin: 2px 0 4px;
  padding: 12px;
  border: 1px solid rgba(246, 244, 238, 0.16);
  border-radius: 14px;
  background: rgba(246, 244, 238, 0.06);
}

.feedback-login-hint {
  margin: 0;
  color: rgba(246, 244, 238, 0.56);
  font-size: 0.72rem;
  line-height: 1.5;
}

.feedback-receipt {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(242, 201, 92, 0.42);
  border-radius: 14px;
  background: rgba(242, 201, 92, 0.08);
}

.feedback-receipt code {
  overflow-wrap: anywhere;
  color: var(--yellow);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
}

.feedback-receipt p {
  margin: 0;
  color: rgba(246, 244, 238, 0.68);
  font-size: 0.76rem;
  line-height: 1.55;
}

.feedback-center {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid rgba(246, 244, 238, 0.18);
  border-radius: 18px;
  background: rgba(9, 42, 54, 0.28);
}

.feedback-center-header,
.feedback-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feedback-center-header h3,
.feedback-detail-header h4 {
  margin: 2px 0 0;
  color: var(--mist);
  font-size: 1rem;
}

  .feedback-center-header .secondary-action,
  .feedback-receipt .secondary-action {
  min-height: 36px;
  padding: 0 12px;
    font-size: 0.76rem;
  }

  .feedback-board-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .feedback-board-tools input {
    min-width: 0;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(246, 244, 238, 0.18);
    border-radius: 10px;
    background: rgba(246, 244, 238, 0.06);
    color: var(--mist);
    font: inherit;
    font-size: 0.78rem;
  }

  .feedback-board-tools input::placeholder {
    color: rgba(246, 244, 238, 0.48);
  }

.feedback-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}

.feedback-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(246, 244, 238, 0.14);
  border-radius: 12px;
  background: rgba(246, 244, 238, 0.05);
  color: var(--mist);
  cursor: pointer;
  text-align: left;
}

.feedback-list-item:hover,
.feedback-list-item:focus-visible {
  border-color: rgba(242, 201, 92, 0.58);
  background: rgba(242, 201, 92, 0.1);
}

  .feedback-list-item small,
.feedback-detail-meta,
.feedback-reply-item small {
  color: rgba(246, 244, 238, 0.58);
    font-size: 0.7rem;
  }

  .feedback-list-excerpt {
    overflow: hidden;
    color: rgba(246, 244, 238, 0.72);
    font-size: 0.76rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.feedback-list-empty,
.feedback-replies-empty {
  margin: 0;
  color: rgba(246, 244, 238, 0.58);
  font-size: 0.76rem;
  line-height: 1.55;
}

.feedback-detail {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 244, 238, 0.14);
}

.feedback-detail-status {
  padding: 4px 8px;
  border: 1px solid rgba(242, 201, 92, 0.44);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 0.7rem;
}

.feedback-detail-body,
.feedback-reply-item p {
  margin: 0;
  color: rgba(246, 244, 238, 0.78);
  font-size: 0.8rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.feedback-detail-replies {
  display: grid;
  gap: 8px;
}

.feedback-reply-item {
  padding: 10px 12px;
  border-left: 2px solid var(--orange);
  background: rgba(246, 244, 238, 0.05);
}

.feedback-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--yellow);
  font-size: 0.76rem;
  line-height: 1.6;
}

.feedback-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dostack-discuss aside {
  padding: 16px;
  overflow: visible;
  border-radius: 28px;
  background: #f4f0e7;
  color: var(--ink);
  box-shadow: 0 20px 46px rgba(5, 30, 41, 0.16);
}

.dostack-discuss aside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 44% 56% 48% 52% / 48% 46% 54% 52%;
}

.dostack-discuss aside p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 4px 2px;
}

.dostack-discuss aside span {
  font-size: 0.72rem;
  line-height: 1.55;
}

.group-qr-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 34px);
  border-radius: inherit;
  background: rgba(8, 33, 45, 0.9);
}

.group-qr-dialog {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(760px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 24px 24px 20px;
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 24px;
  background: #f4f0e7;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(3, 22, 31, 0.3);
  text-align: center;
}

.group-qr-dialog .window-eyebrow {
  color: rgba(23, 59, 73, 0.58);
}

.group-qr-dialog h3 {
  max-width: 500px;
  margin: 2px 0 12px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", ui-serif, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.35;
}

.group-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 4px 0 12px;
}

.group-qr-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(23, 59, 73, 0.12);
  border-radius: 16px;
  background: rgba(23, 59, 73, 0.05);
}

.group-qr-card h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.84rem;
}

.group-qr-dialog .group-qr-card img {
  width: min(250px, 76vw);
  height: min(420px, 48vh);
  max-height: none;
}

.group-qr-dialog .group-qr-card:nth-child(2) img {
  object-fit: cover;
}

.group-qr-dialog img {
  display: block;
  width: min(220px, 72vw);
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: contain;
  border-radius: 12px;
}

.group-qr-dialog p:not(.window-eyebrow) {
  margin: 12px 0 3px;
  color: var(--ink);
  font-weight: 700;
}

.group-qr-dialog > span {
  max-width: 270px;
  color: rgba(23, 59, 73, 0.68);
  font-size: 0.76rem;
  line-height: 1.55;
}

.group-qr-card p {
  margin: 10px 0 0;
  color: rgba(23, 59, 73, 0.68);
  font-size: 0.72rem;
  line-height: 1.45;
}

.group-qr-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 59, 73, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.group-qr-close:hover,
.group-qr-close:focus-visible {
  background: rgba(233, 107, 67, 0.18);
}

@media (max-width: 900px) {
  .app-window[data-window-route="dostack"] {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .app-window[data-window-route="dostack"] .window-content {
    max-height: calc(100svh - 70px);
  }

  .app-window[data-window-route="docs"] {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .app-window[data-window-route="docs"] .window-content {
    max-height: calc(100svh - 70px);
  }

  .dostack-site-window {
    min-height: calc(100svh - 70px);
  }

  .docs-window {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 70px);
  }

  .docs-sidebar {
    padding: 20px 14px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 244, 238, 0.12);
  }

  .docs-sidebar-header {
    padding: 0 8px 12px;
  }

  .docs-sidebar-header > p:last-child {
    display: none;
  }

  .docs-nav-group {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin-top: 9px;
    overflow-x: auto;
  }

  .docs-nav-group h3 {
    display: none;
  }

  .docs-nav-item {
    flex: 0 0 154px;
  }

  .docs-content {
    padding: 30px 22px 48px;
  }

  .docs-project-label select,
  .docs-search-label input {
    min-height: 40px;
  }

  .dostack-window-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 10px 14px 8px;
  }

  .dostack-window-nav > [role="tablist"] {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .dostack-window-nav [role="tablist"] button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 36px;
    padding: 0 3px;
    font-size: 0.72rem;
  }

  .dostack-auth-control {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .dostack-auth-button,
  .dostack-auth-logout {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .dostack-auth-button [data-dostack-auth-label] {
    max-width: 92px;
  }

  .dostack-panel {
    min-height: 0;
    padding: 30px 20px 54px;
  }

  .dostack-overview,
  .dostack-discuss {
    grid-template-columns: 1fr;
  }

  .dostack-pricing-grid,
  .dostack-download-grid,
  .dostack-release-facts {
    grid-template-columns: 1fr;
  }

  .dostack-download-notice-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .dostack-smart-control-steps {
    grid-template-columns: 1fr;
  }

  .dostack-smart-control-body {
    grid-template-columns: 1fr;
  }

  .dostack-smart-control-figure {
    max-width: 360px;
  }

  .dostack-roadmap-list article {
    grid-template-columns: 40px 1fr;
  }

  .dostack-roadmap-list article > span {
    grid-column: 2;
  }

  .dostack-discuss aside {
    width: min(300px, 84vw);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .dostack-pricing-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .dostack-pricing-contact .secondary-action {
    margin-top: 0;
  }

  .group-qr-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

html {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow: hidden;
  color: var(--mist);
  background:
    radial-gradient(ellipse at 12% 10%, rgba(228, 243, 247, 0.44), transparent 31%),
    radial-gradient(ellipse at 74% 72%, rgba(109, 173, 194, 0.16), transparent 38%),
    linear-gradient(145deg, #82b2c5 0%, var(--sea) 48%, #12384a 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  inset: 0;
  opacity: 0;
  background: none;
}

body::after {
  width: min(760px, 58vw);
  height: min(980px, 112vh);
  right: -25vw;
  top: 3vh;
  border: 1px solid rgba(246, 244, 238, 0.13);
  border-radius: 50%;
  box-shadow:
    -32px 12px 0 -31px rgba(246, 244, 238, 0.08),
    -92px 34px 0 -91px rgba(246, 244, 238, 0.06);
  transform: rotate(12deg);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.cover,
.workspace {
  min-height: 100vh;
}

.cover {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 clamp(48px, 15vw, 250px);
  overflow: hidden;
  color: var(--ink);
  background-color: #dce5e4;
  background-image: url("./assets/morning-studio-background.webp");
  background-position: center;
  background-size: cover;
  transition: opacity 420ms ease, transform 560ms cubic-bezier(.2, .8, .2, 1);
}

.cover-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 42vw);
  margin-top: -1.5vh;
}

.eyebrow,
.window-eyebrow {
  margin: 0 0 2.2rem;
  color: rgba(246, 244, 238, 0.82);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
  color: rgba(23, 59, 73, 0.7);
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.cover h1 {
  max-width: 620px;
  margin: 0;
  color: #274b5d;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", ui-serif, serif;
  font-size: clamp(3.8rem, 5.25vw, 5.75rem);
  font-weight: 570;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.3);
}

.cover-intro {
  margin: clamp(22px, 3vh, 32px) 0 0;
  color: rgba(23, 59, 73, 0.82);
  font-size: clamp(0.94rem, 1.05vw, 1.08rem);
  line-height: 1.85;
}

.enter-button {
  min-height: 52px;
  margin-top: 28px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(239, 244, 243, 0.42);
  box-shadow: 0 12px 32px rgba(47, 80, 91, 0.14), inset 0 1px rgba(255, 255, 255, 0.72);
  cursor: pointer;
  color: #254758;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background-color 180ms ease;
}

.enter-button:hover {
  transform: translateY(-3px);
  background: rgba(248, 250, 248, 0.64);
}

.fangmu-companion {
  position: fixed;
  z-index: 6;
  width: min(390px, 25vw);
  height: min(520px, 64vh);
  right: 13.5vw;
  bottom: 7.5vh;
  margin: 0;
  touch-action: none;
  user-select: none;
  cursor: grab;
  transform: translate3d(var(--companion-x, 0px), var(--companion-y, 0px), 0);
  transition: width 360ms cubic-bezier(.2, .8, .2, 1), height 360ms cubic-bezier(.2, .8, .2, 1), right 360ms cubic-bezier(.2, .8, .2, 1), bottom 360ms cubic-bezier(.2, .8, .2, 1), filter 180ms ease;
}

.fangmu-companion::before {
  display: none;
}

.fangmu-companion img {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: auto;
  right: 0;
  bottom: 0;
  opacity: 0.98;
}

.fangmu-companion figcaption {
  position: absolute;
  z-index: 2;
  width: 270px;
  left: 44%;
  top: -2%;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  margin: 0;
  color: rgba(23, 59, 73, 0.74);
  font-family: "LXGW WenKai", "KaiTi", cursive;
  transform: rotate(-3deg);
}

.fangmu-companion figcaption span {
  grid-row: 1 / 3;
  color: var(--orange);
  font-size: 2.2rem;
  line-height: 1;
}

.fangmu-companion figcaption strong {
  font-size: 1rem;
  font-weight: 500;
}

.fangmu-companion figcaption small {
  margin-top: 5px;
  color: rgba(23, 59, 73, 0.48);
  font-size: 0.76rem;
}

.fangmu-companion:hover,
.fangmu-companion:focus-visible,
.fangmu-companion.is-dragging {
  filter: drop-shadow(0 20px 18px rgba(17, 54, 68, 0.2));
}

.fangmu-companion.is-dragging {
  cursor: grabbing;
}

.fangmu-companion.is-reacting img {
  animation: companion-nod 360ms cubic-bezier(.2, .8, .2, 1);
}

.companion-reaction {
  position: absolute;
  z-index: 3;
  min-width: 116px;
  max-width: 190px;
  right: 64%;
  bottom: 58%;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px 16px 4px 16px;
  background: rgba(244, 248, 246, 0.76);
  box-shadow: 0 12px 30px rgba(35, 75, 90, 0.14);
  color: #274b5d;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(.96);
  transition: opacity 160ms ease, transform 180ms ease;
}

.companion-reaction.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-view="desktop"] .fangmu-companion {
  width: min(190px, 13vw);
  height: min(250px, 31vh);
  right: 7vw;
  bottom: 92px;
}

body[data-view="desktop"] .fangmu-companion figcaption {
  display: none;
}

body[data-view="desktop"] .companion-reaction {
  right: 72%;
  bottom: 62%;
}

@keyframes companion-nod {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-8px) rotate(-1.5deg); }
}

.workspace {
  position: fixed;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  color: var(--ink);
  background-color: #dce5e4;
  background-image:
    linear-gradient(90deg, rgba(246, 244, 238, 0.04), rgba(45, 96, 116, 0.03)),
    url("./assets/travel-wallpaper.webp");
  background-position: center center;
  background-size: cover;
  transition: opacity 420ms ease;
}

body[data-view="desktop"] .cover {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
}

body[data-view="desktop"] .workspace {
  visibility: visible;
  opacity: 1;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 16px;
  right: 16px;
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(246, 244, 238, 0.86);
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.topbar > * {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: #184050;
  box-shadow: 0 8px 20px rgba(6, 32, 43, 0.12), inset 0 1px rgba(255, 255, 255, 0.14);
  pointer-events: auto;
}

.brand-button {
  justify-self: start;
  padding: 0 14px;
  cursor: pointer;
  color: inherit;
  font-weight: 700;
}

.topbar time {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.desktop {
  position: relative;
  min-height: 100vh;
  padding: 96px clamp(28px, 6vw, 96px) 116px;
  overflow: hidden;
}

.desktop::before,
.desktop::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.desktop::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(45, 96, 116, 0.02));
}

.desktop::after {
  display: none;
}

.product-shelf {
  position: relative;
  z-index: 1;
  width: max-content;
  display: grid;
  grid-template-columns: repeat(2, 118px);
  align-items: flex-start;
  gap: 22px 18px;
}

.product-entry {
  position: relative;
  width: 118px;
  min-height: 0;
}

.product-entry::before {
  display: none;
}

.product-entry::after {
  display: none;
}

.app-tile {
  width: 118px;
  padding: 10px 8px 12px;
  border: 0;
  border-radius: 23px;
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease;
}

.app-tile:hover {
  background: rgba(246, 244, 238, 0.42);
  transform: translateY(-4px) scale(1.012);
}

.product-icon {
  position: relative;
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 1px solid rgba(246, 244, 238, 0.28);
  border-radius: 23px;
  box-shadow:
    0 14px 28px rgba(40, 25, 112, 0.22),
    0 3px 9px rgba(6, 31, 43, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.28);
  transform: rotate(-2deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dostack-icon {
  background: #6556ea;
}

.product-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.app-tile:hover .product-icon {
  box-shadow:
    0 22px 44px rgba(40, 25, 112, 0.28),
    0 4px 12px rgba(6, 31, 43, 0.2);
  transform: rotate(0deg) scale(1.025);
}

.product-entry-gridroom {
  width: 118px;
}

.product-entry-gridroom::before {
  width: 108%;
  left: -4%;
  background:
    radial-gradient(ellipse at 32% 36%, rgba(224, 246, 231, 0.13), transparent 56%),
    linear-gradient(125deg, rgba(114, 179, 132, 0.07), rgba(18, 63, 81, 0.02));
}

.product-entry-gridroom::after {
  display: none;
}

.gridroom-icon {
  overflow: hidden;
  border-color: rgba(233, 250, 237, 0.34);
  background: #17633f;
  box-shadow:
    0 20px 38px rgba(16, 79, 48, 0.22),
    0 3px 9px rgba(6, 31, 43, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.28);
}

.app-name,
.app-description {
  display: block;
}

.app-name {
  color: rgba(23, 59, 73, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 1px rgba(255, 255, 255, 0.48);
}

.app-description {
  margin-top: 4px;
  color: rgba(23, 59, 73, 0.52);
  font-size: 0.68rem;
}

body[data-contrast="light"] .app-name,
body[data-contrast="light"] .app-description,
body[data-contrast="light"] .desktop-whisper,
body[data-contrast="light"] .site-footer {
  color: rgba(246, 244, 238, 0.9);
  text-shadow: 0 1px 3px rgba(4, 28, 40, 0.72);
}

body[data-contrast="light"] .app-description {
  color: rgba(246, 244, 238, 0.72);
}

body[data-contrast="dark"] .app-name,
body[data-contrast="dark"] .app-description,
body[data-contrast="dark"] .desktop-whisper,
body[data-contrast="dark"] .site-footer {
  color: rgba(23, 59, 73, 0.88);
  text-shadow: 0 1px 2px rgba(246, 244, 238, 0.72);
}

body[data-contrast="dark"] .app-description {
  color: rgba(23, 59, 73, 0.58);
}

.desktop-whisper {
  position: absolute;
  right: 8vw;
  bottom: 17vh;
  margin: 0;
  color: rgba(23, 59, 73, 0.4);
  font-family: "LXGW WenKai", "KaiTi", cursive;
  font-size: clamp(0.92rem, 1.05vw, 1.15rem);
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
}

.desktop-whisper::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(233, 107, 67, 0.07);
  content: "";
}

.site-footer {
  position: fixed;
  z-index: 9;
  left: 50%;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  width: min(720px, calc(100vw - 32px));
  padding: 4px 8px;
  color: var(--ink);
  font-size: 0.62rem;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(246, 244, 238, 0.76);
  transform: translateX(-50%);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-view="desktop"] .site-footer {
  bottom: 10px;
}

.dock {
  position: fixed;
  z-index: 10;
  left: 46%;
  bottom: 50px;
  display: flex;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 25px;
  background: #f4f0e7;
  box-shadow:
    0 22px 54px rgba(38, 80, 94, 0.16),
    0 3px 10px rgba(38, 80, 94, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
}

.dock button {
  min-width: 68px;
  display: grid;
  grid-template-rows: 26px 1em;
  place-items: center;
  gap: 4px;
  padding: 6px 7px 5px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  cursor: pointer;
  color: rgba(23, 59, 73, 0.78);
  font-size: 0.66rem;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease;
}

.dock button:hover {
  background: rgba(255, 255, 255, 0.46);
  transform: translateY(-4px) scale(1.02);
}

.dock svg {
  display: block;
  width: 26px;
  height: 26px;
  padding: 4px;
  fill: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.dock span {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.wallpaper-panel {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: 98px;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(23, 59, 73, 0.22);
  border-radius: 22px;
  background: #f4f0e7;
  box-shadow: 0 22px 54px rgba(20, 53, 66, 0.24), 0 3px 10px rgba(20, 53, 66, 0.12);
  color: var(--ink);
  transform: translateX(-50%);
}

.wallpaper-panel[hidden] {
  display: none;
}

.wallpaper-panel-heading,
.wallpaper-url-form,
.wallpaper-presets {
  display: flex;
  align-items: center;
}

.wallpaper-panel-heading {
  justify-content: space-between;
  gap: 12px;
}

.wallpaper-panel-kicker {
  margin: 0 0 4px;
  color: rgba(23, 59, 73, 0.52);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.wallpaper-panel h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.2rem;
}

.wallpaper-panel-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 59, 73, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.wallpaper-presets {
  gap: 8px;
  margin-top: 16px;
}

.wallpaper-presets button,
.wallpaper-url-form > button,
.wallpaper-reset {
  min-height: 34px;
  border: 1px solid rgba(23, 59, 73, 0.22);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
}

.wallpaper-presets button {
  flex: 1;
}

.wallpaper-presets button:hover,
.wallpaper-url-form > button:hover,
.wallpaper-reset:hover,
.wallpaper-panel-close:hover {
  background: rgba(23, 59, 73, 0.1);
}

.wallpaper-field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: rgba(23, 59, 73, 0.68);
  font-size: 0.72rem;
}

.wallpaper-field input {
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
  padding: 7px 9px;
  border: 1px solid rgba(23, 59, 73, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
}

.wallpaper-url-form {
  align-items: end;
  gap: 8px;
}

.wallpaper-url-form .wallpaper-field {
  flex: 1;
}

.wallpaper-url-form > button {
  flex: 0 0 auto;
  padding: 0 10px;
  margin-bottom: 0;
}

.wallpaper-contrast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: rgba(23, 59, 73, 0.68);
  font-size: 0.72rem;
}

.wallpaper-contrast > div {
  display: flex;
  gap: 6px;
}

.wallpaper-contrast button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(23, 59, 73, 0.2);
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
}

.wallpaper-contrast button[aria-pressed="true"] {
  border-color: rgba(23, 59, 73, 0.44);
  background: rgba(23, 59, 73, 0.1);
  font-weight: 700;
}

.wallpaper-contrast button:hover {
  background: rgba(23, 59, 73, 0.08);
}

.wallpaper-panel-note {
  margin: 12px 0 0;
  color: rgba(23, 59, 73, 0.56);
  font-size: 0.7rem;
  line-height: 1.5;
}

.wallpaper-panel-note.is-error {
  color: #a14e36;
}

.wallpaper-reset {
  width: 100%;
  margin-top: 12px;
}

.app-window {
  width: min(1160px, calc(100vw - 80px));
  max-height: calc(100vh - 110px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  background: rgba(18, 58, 74, 0.97);
  box-shadow: var(--soft-shadow), inset 0 1px rgba(255, 255, 255, 0.13);
  color: var(--mist);
}

.app-window[open] {
  animation: window-in 320ms cubic-bezier(.2, .8, .2, 1);
}

.app-window::backdrop {
  background: rgba(8, 33, 45, 0.18);
}

@keyframes window-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.window-titlebar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 22px;
  border-bottom: 1px solid rgba(246, 244, 238, 0.14);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls button {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: rgba(246, 244, 238, 0.7);
}

.window-controls button:hover {
  background: rgba(246, 244, 238, 0.11);
}

.window-content {
  max-height: calc(100vh - 158px);
  overflow: auto;
}

.product-window {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(24px, 4vw, 58px);
  padding: clamp(30px, 5vw, 70px);
}

.product-copy h2,
.simple-window h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", ui-serif, serif;
  font-size: clamp(2.2rem, 3.8vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.product-copy > p:not(.window-eyebrow),
.simple-window > p:not(.window-eyebrow) {
  color: rgba(246, 244, 238, 0.72);
  font-size: 1rem;
  line-height: 1.9;
}

.window-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.lab-item button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}

.primary-action {
  border: 1px solid var(--mist);
  background: var(--mist);
  color: var(--ink);
}

.secondary-action,
.lab-item button {
  border: 1px solid rgba(246, 244, 238, 0.28);
  background: transparent;
  color: var(--mist);
}

.product-details {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 244, 238, 0.15);
  color: rgba(246, 244, 238, 0.64);
  font-size: 0.9rem;
  line-height: 1.75;
}

.product-gallery {
  min-width: 0;
}

.gallery-viewport {
  min-height: 390px;
}

.product-visual {
  position: relative;
  min-height: 390px;
  margin: 0;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(246, 244, 238, 0.18);
  border-radius: 24px;
  background: #1d3152;
  box-shadow: 0 22px 48px rgba(4, 22, 33, 0.24);
}

.product-visual[hidden] {
  display: none;
}

.product-visual.is-active {
  animation: gallery-enter 240ms ease both;
}

.product-visual picture,
.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-visual img {
  min-height: 390px;
  object-fit: contain;
}

.product-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 999px;
  background: rgba(12, 34, 48, 0.72);
  color: rgba(246, 244, 238, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.gallery-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
}

.gallery-tabs button {
  min-width: 64px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 244, 238, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 244, 238, 0.6);
  cursor: pointer;
  font-size: 0.74rem;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.gallery-tabs button[aria-selected="true"] {
  border-color: rgba(246, 244, 238, 0.4);
  background: rgba(246, 244, 238, 0.11);
  color: var(--mist);
}

@keyframes gallery-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.gridroom-progress {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(225, 247, 232, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(rgba(236, 250, 240, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 250, 240, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, rgba(38, 119, 77, 0.48), rgba(20, 62, 72, 0.74));
  background-size: 36px 36px, 36px 36px, auto;
}

.gridroom-progress-mark {
  margin-bottom: auto;
  color: rgba(242, 251, 244, 0.22);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
}

.gridroom-progress h3 {
  max-width: 480px;
  margin: 10px 0 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.gridroom-progress > p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(246, 244, 238, 0.64);
  line-height: 1.75;
}

.product-status-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(23, 59, 73, 0.62);
  border-radius: 6px;
  background: rgba(23, 59, 73, 0.48);
  color: var(--ink);
}

.product-status-strip span {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
  background: var(--oat);
  font-size: 0.8rem;
}

.product-status-strip b {
  margin-bottom: 5px;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.simple-window {
  max-width: 900px;
  min-height: 480px;
  padding: clamp(34px, 6vw, 82px);
}

.about-window {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(240px, 0.5fr);
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  padding: clamp(34px, 5vw, 64px);
}

.about-window h2 {
  max-width: 680px;
  font-size: clamp(2.8rem, 3.7vw, 3.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-title-mobile {
  display: none;
}

.about-copy > p:not(.window-eyebrow) {
  max-width: 620px;
  font-size: 1.03rem;
  line-height: 1.8;
}

.about-window blockquote {
  max-width: 560px;
  margin-top: 32px;
  padding: 20px 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.about-portrait {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 48% 52% 46% 54% / 44% 48% 52% 56%;
  background: #f4f0e7;
  box-shadow: 0 24px 60px rgba(5, 30, 41, 0.22);
  transform: rotate(2deg);
}

body:has(#appWindow[data-window-route="about"][open]) .fangmu-companion {
  visibility: hidden;
  pointer-events: none;
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.about-portrait figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(246, 244, 238, 0.9);
  color: var(--ink);
  font-family: "LXGW WenKai", "KaiTi", cursive;
  font-size: 0.76rem;
}

.about-principles {
  margin-top: 34px;
  border-top: 1px solid rgba(246, 244, 238, 0.14);
}

.about-principles section {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(246, 244, 238, 0.1);
}

.about-principles span,
.note-meta {
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.about-principles h3,
.about-principles p {
  margin: 0;
}

.about-principles h3 {
  font-size: 0.98rem;
}

.about-principles p {
  margin-top: 6px;
  color: rgba(246, 244, 238, 0.6);
  font-size: 0.85rem;
  line-height: 1.65;
}

.note-window {
  max-width: 920px;
  margin: 0 auto;
}

.note-meta {
  margin: 18px 0 36px;
}

.note-body {
  max-width: 760px;
  color: rgba(246, 244, 238, 0.76);
  font-size: 1rem;
  line-height: 1.95;
}

.note-body h3 {
  margin: 36px 0 8px;
  color: var(--mist);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.35rem;
}

.note-body p {
  margin: 0 0 18px;
}

.note-body blockquote {
  margin: 38px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 3px solid var(--orange);
  color: var(--yellow);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.15rem;
}

.simple-window h2 {
  max-width: 800px;
}

.simple-window blockquote {
  max-width: 660px;
  margin: 48px 0 0;
  padding: 28px 0;
  border-top: 1px solid rgba(246, 244, 238, 0.18);
  border-bottom: 1px solid rgba(246, 244, 238, 0.18);
  color: var(--yellow);
  font-family: "Noto Serif SC", ui-serif, serif;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.lab-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(246, 244, 238, 0.14);
}

.lab-item > span {
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.lab-item h3,
.lab-item p {
  margin: 0;
}

.lab-item p {
  margin-top: 6px;
  color: rgba(246, 244, 238, 0.58);
  line-height: 1.6;
}

.lab-item em {
  color: var(--orange);
  font-style: normal;
  font-size: 0.78rem;
}

.empty-note,
.honest-placeholder {
  margin-top: 42px;
  padding: 26px;
  border: 1px dashed rgba(246, 244, 238, 0.22);
  border-radius: 14px;
  background: rgba(246, 244, 238, 0.055);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-method {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(246, 244, 238, 0.14);
  color: rgba(246, 244, 238, 0.72);
  text-decoration: none;
}

.contact-method span {
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.contact-method strong {
  color: var(--mist);
  font-weight: 500;
}

.empty-note p {
  font-family: "Noto Serif SC", ui-serif, serif;
  font-size: 1.35rem;
}

.empty-note small,
.honest-placeholder {
  color: rgba(246, 244, 238, 0.5);
}

.timeline {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(246, 244, 238, 0.14);
}

.timeline time {
  color: var(--yellow);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.78rem;
}

.timeline p {
  margin: 6px 0 0;
  color: rgba(246, 244, 238, 0.58);
  line-height: 1.7;
}

noscript {
  position: fixed;
  z-index: 50;
  left: 20px;
  bottom: 20px;
  padding: 12px 16px;
  background: var(--oat);
  color: var(--ink);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .enter-button,
  .dock {
    background: rgba(242, 245, 241, 0.94);
  }

  .app-window {
    background: rgba(22, 63, 80, 0.98);
  }

  .topbar > * {
    background: rgba(31, 72, 88, 0.92);
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  body[data-view="desktop"] {
    overflow: hidden;
  }

  .cover {
    min-height: 100svh;
    align-items: flex-start;
    padding: 74px 24px 260px;
    background-position: 46% center;
  }

  .cover-copy {
    width: 100%;
    margin-top: 0;
  }

  .fangmu-companion {
    width: 220px;
    height: 270px;
    min-height: 0;
    right: 4px;
    bottom: 22px;
  }

  .fangmu-companion::before {
    width: 190px;
    height: 160px;
    right: -12px;
    bottom: -10px;
  }

  .fangmu-companion img {
    width: 220px;
    right: 0;
    bottom: 0;
  }

  .fangmu-companion figcaption {
    width: 180px;
    left: -128px;
    top: 56px;
  }

  body[data-view="desktop"] .fangmu-companion {
    width: 132px;
    height: 174px;
    right: 14px;
    bottom: 112px;
  }

  .companion-reaction {
    min-width: 104px;
    right: 52%;
    bottom: 64%;
    font-size: 0.72rem;
  }

  .cover h1 {
    font-size: clamp(3rem, 13vw, 3.55rem);
    line-height: 1.1;
  }

  .cover-intro {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .cover-intro br {
    display: none;
  }

  .creating-status {
    display: none;
  }

  .topbar {
    top: 10px;
    grid-template-columns: 1fr auto;
    left: 10px;
    right: 10px;
    padding: 0;
  }

  .desktop {
    min-height: 100svh;
    padding: 84px 18px 116px;
  }

  .product-entry {
    display: block;
    width: auto;
    min-height: 0;
    padding: 0;
  }

  .product-shelf {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-entry-gridroom {
    width: auto;
  }

  .product-entry::before,
  .product-entry::after {
    display: none;
  }

  .app-tile {
    width: 100%;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 26px;
    background: rgba(246, 244, 238, 0.48);
    box-shadow: 0 14px 34px rgba(30, 71, 85, 0.1);
    text-align: left;
  }

  .product-icon {
    width: 72px;
    height: 72px;
    grid-row: 1 / 3;
    margin: 0;
    border-radius: 24px;
  }

  .gridroom-progress {
    min-height: 300px;
  }

  .app-name {
    align-self: end;
    font-size: 1.18rem;
  }

  .app-description {
    align-self: start;
    font-size: 0.82rem;
  }

  .desktop-whisper {
    right: 22px;
    bottom: 150px;
    font-size: 1rem;
  }

  .dock {
    left: 10px;
    right: 10px;
    bottom: 46px;
    justify-content: space-around;
    gap: 0;
    padding: 7px 4px;
    border-radius: 27px;
    transform: none;
  }

  .wallpaper-panel {
    right: 10px;
    left: 10px;
    bottom: 92px;
    width: auto;
    transform: none;
  }

  .dock button {
    min-width: 0;
    flex: 1;
    padding: 8px 2px 5px;
    font-size: 0.63rem;
  }

  .dock svg {
    width: 21px;
    height: 21px;
  }

  .site-footer {
    bottom: 12px;
    width: calc(100vw - 20px);
    padding: 4px 6px;
    font-size: 0.58rem;
  }

  body[data-view="desktop"] .site-footer {
    bottom: 10px;
  }

  .app-window {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    border-radius: 24px;
  }

  .window-content {
    max-height: calc(100svh - 70px);
  }

  .product-window {
    grid-template-columns: 1fr;
    padding: 28px 22px 24px;
  }

  .product-copy h2,
  .simple-window h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
    line-height: 1.12;
  }

  .dostack-overview .product-copy h2 {
    font-size: clamp(2rem, 8.5vw, 3.2rem);
  }

  .dostack-overview .product-copy > p:not(.window-eyebrow) {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .dostack-download-notice {
    padding: 12px 14px;
  }

  .product-visual,
  .product-visual img {
    min-height: 240px;
  }

  .gallery-viewport {
    min-height: 240px;
  }

  .gallery-tabs {
    justify-content: flex-start;
  }

  .product-status-strip {
    grid-template-columns: 1fr;
  }

  .product-status-strip span {
    min-height: 58px;
  }

  .about-window {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 22px 44px;
  }

  .about-window h2 {
    font-size: clamp(2.05rem, 9vw, 2.8rem);
    line-height: 1.12;
  }

  .about-title-desktop {
    display: none;
  }

  .about-title-mobile {
    display: inline;
  }

  .about-window blockquote {
    margin-top: 28px;
    font-size: 1.35rem;
  }

  .about-portrait {
    width: min(260px, 82vw);
  }

  .simple-window {
    min-height: 0;
    padding: 34px 22px 50px;
  }

  .lab-item,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .lab-item > span {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Feedback forum: compact public board with login-gated publishing. */
.dostack-discuss {
  display: block;
  min-height: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.dostack-discuss > div { width: 100%; }

.feedback-forum-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(232, 239, 238, 0.16);
}

.feedback-forum-header h2 {
  margin: 0.35rem 0 0.55rem;
  max-width: 42rem;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.feedback-forum-header > div:first-child > p:last-child {
  max-width: 44rem;
  margin: 0;
  color: rgba(234, 242, 239, 0.72);
}

.feedback-forum-auth {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.feedback-forum-auth > span {
  color: rgba(234, 242, 239, 0.7);
  font-size: 0.78rem;
  white-space: nowrap;
}

.feedback-forum-toolbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.feedback-forum-categories {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  flex: 1 1 31rem;
}

.feedback-filter {
  border: 1px solid rgba(231, 239, 237, 0.18);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  color: rgba(239, 245, 242, 0.72);
  background: rgba(14, 47, 61, 0.42);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.feedback-filter:hover,
.feedback-filter.is-active {
  color: #10323f;
  background: #eef3ee;
  border-color: #eef3ee;
}

.feedback-forum-toolbar .feedback-board-tools {
  display: flex;
  gap: 0.35rem;
  flex: 1 1 18rem;
  min-width: 15rem;
}

.feedback-forum-toolbar .feedback-board-tools input {
  min-width: 0;
  flex: 1;
}

.feedback-forum-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.25fr);
  gap: 1rem;
  align-items: start;
}

.feedback-forum-list-panel,
.feedback-detail,
.feedback-login-shell,
.feedback-compose-shell {
  border: 1px solid rgba(231, 239, 237, 0.18);
  border-radius: 1rem;
  background: rgba(13, 45, 58, 0.42);
}

.feedback-forum-list-panel {
  min-height: 24rem;
  padding: 0.85rem;
}

.feedback-list-meta {
  padding: 0.2rem 0.2rem 0.7rem;
  color: rgba(236, 244, 240, 0.62);
  font-size: 0.78rem;
}

.feedback-list {
  display: grid;
  gap: 0.45rem;
}

.feedback-list-item {
  display: grid;
  gap: 0.28rem;
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.78rem;
  color: inherit;
  text-align: left;
  background: rgba(235, 243, 239, 0.035);
  cursor: pointer;
}

.feedback-list-item:hover,
.feedback-list-item:focus-visible {
  border-color: rgba(242, 243, 228, 0.36);
  background: rgba(235, 243, 239, 0.1);
}

.feedback-list-item strong { color: #f0f4ec; font-size: 0.92rem; }
.feedback-list-item small { color: rgba(234, 242, 239, 0.55); font-size: 0.7rem; }
.feedback-list-excerpt { overflow: hidden; color: rgba(234, 242, 239, 0.7); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.feedback-list-empty { margin: 1.3rem 0.2rem; color: rgba(234, 242, 239, 0.58); }

.feedback-detail {
  min-height: 24rem;
  padding: 1.15rem 1.25rem;
}

.feedback-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(231, 239, 237, 0.14);
}

.feedback-detail-header h3 { margin: 0.35rem 0 0; color: #f0f4ec; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.3; }
.feedback-detail-status { flex-shrink: 0; padding: 0.35rem 0.55rem; border: 1px solid rgba(243, 187, 79, 0.48); border-radius: 999px; color: #f3c66d; font-size: 0.72rem; }
.feedback-detail-body { margin: 1rem 0; color: rgba(239, 245, 242, 0.83); line-height: 1.75; white-space: pre-wrap; }
.feedback-detail-replies { display: grid; gap: 0.55rem; }
.feedback-reply-item { padding: 0.72rem 0.8rem; border-left: 2px solid rgba(232, 164, 79, 0.55); border-radius: 0 0.55rem 0.55rem 0; background: rgba(232, 243, 239, 0.06); }
.feedback-reply-item.is-admin { border-left-color: #f0b761; }
.feedback-reply-item small { color: rgba(234, 242, 239, 0.58); font-size: 0.72rem; }
.feedback-reply-item p { margin: 0.35rem 0 0; color: rgba(239, 245, 242, 0.82); line-height: 1.6; white-space: pre-wrap; }

.feedback-reply-shell { display: grid; gap: 0.55rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(231, 239, 237, 0.14); }
.feedback-reply-shell textarea { width: 100%; resize: vertical; }
.feedback-detail-hint { margin: 0.75rem 0 0; color: rgba(234, 242, 239, 0.58); font-size: 0.78rem; }
.feedback-login-shell, .feedback-compose-shell { max-width: 38rem; margin-top: 1rem; padding: 1rem; }
.feedback-form h3 { margin: 0 0 0.9rem; color: #f0f4ec; font-size: 1rem; }
.feedback-form input, .feedback-form select, .feedback-form textarea, .feedback-reply-shell textarea { box-sizing: border-box; border-color: rgba(231, 239, 237, 0.22); background: rgba(232, 243, 239, 0.08); }
.feedback-form .secondary-action { margin-left: 0.45rem; }
.dostack-discuss aside { display: none; }

@media (max-width: 860px) {
  .feedback-forum-header { flex-direction: column; }
  .feedback-forum-layout { grid-template-columns: 1fr; }
  .feedback-detail { min-height: 0; }
}

/* Desktop window shell: one stable frame for every section, with drag/resize affordances. */
.app-window {
  position: fixed;
  box-sizing: border-box;
  width: min(1160px, calc(100vw - 24px));
  height: min(760px, calc(100vh - 110px));
  min-width: 520px;
  min-height: 440px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: 0;
}

.window-titlebar { cursor: grab; user-select: none; }
.window-titlebar:active { cursor: grabbing; }

.window-content {
  height: calc(100% - 49px);
  max-height: none;
  overflow: auto;
}

.window-resize-handle {
  position: absolute;
  z-index: 8;
  right: 5px;
  bottom: 5px;
  width: 22px;
  height: 22px;
  border-radius: 0 0 19px 0;
  cursor: nwse-resize;
  touch-action: none;
}

.window-resize-handle::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(240, 244, 236, 0.52);
  border-bottom: 2px solid rgba(240, 244, 236, 0.52);
  content: "";
}

@media (max-width: 900px) {
  .app-window {
    width: calc(100vw - 20px);
    height: calc(100svh - 20px);
    min-width: 0;
    min-height: 360px;
    max-width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .window-titlebar { cursor: default; }
  .window-resize-handle { display: none; }
}
