.developer-page:has(.developer-workspace) {
  background: #0b0c0d;
}

.developer-page > .skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 30;
  padding: 12px 16px;
  background: #fff;
  color: #111;
}
.developer-page > .skip-link:focus { top: 12px; }

.developer-workspace {
  --type-h1-size: 38px;
  --type-h2-size: 18px;
  --type-h3-size: 20px;
  --type-body-size: 15px;
  --type-h1-letter-spacing: 0;
  --type-h2-letter-spacing: 0;
  --type-h3-letter-spacing: 0;
  --type-body-letter-spacing: 0;
  max-width: 1184px;
  margin: 0 auto;
  padding: 126px 32px 80px;
  color: #f4f4f4;
  letter-spacing: 0;
}

.workspace-heading h1 { margin: 10px 0 12px; font-size: 38px; line-height: 1.2; }
.workspace-heading > p:last-child { margin: 0; color: #aaaeb1; font-size: 17px; }
.workspace-kicker { margin: 0; font-size: 12px; color: #959ba1; line-height: 1.5; }
.workspace-sections { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 32px; border-bottom: 1px solid #33373a; }
.workspace-sections a { padding: 14px 0; color: #dbdfe1; font-size: 15px; }
.workspace-sections a:hover { color: #92e5bb; }
.workspace-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 18px; }
.workspace-section-heading h2 { margin: 0; font-size: 18px; scroll-margin-top: 100px; }
.workspace-availability { font-size: 12px; color: #92e5bb; }
.workspace-docs-label { font-size: 12px; color: #9ea4aa; }
.workspace-flasher { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 26px 28px; border: 1px solid #3d4844; border-radius: 6px; background: #151b19; }
.workspace-flasher h3 { font-size: 28px; line-height: 1.3; margin: 10px 0; }
.workspace-description { margin: 0; font-size: 15px; line-height: 1.6; color: #b5bfbb; }
.workspace-firmware { display: flex; flex-wrap: wrap; gap: 22px; margin: 24px 0 0; }
.workspace-firmware div { display: flex; gap: 8px; font-size: 12px; }
.workspace-firmware dt { color: #9aa7a0; }
.workspace-firmware dd { margin: 0; color: #dbe4df; }
.workspace-primary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 0 20px; background: #a5edc7; color: #10241a; border-radius: 4px; font-size: 15px; font-weight: 600; }
.workspace-primary:hover { background: #c3f5db; }
.workspace-launch p { margin: 12px 0 0; text-align: center; color: #a6b6ad; font-size: 12px; }
.workspace-docs { margin-top: 32px; }
.workspace-doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #33373a; }
.workspace-doc-grid article { padding: 24px 24px 8px 0; }
.workspace-doc-grid article + article { padding-left: 24px; border-left: 1px solid #33373a; }
.workspace-doc-grid h3 { margin: 12px 0; font-size: 19px; line-height: 1.4; }
.workspace-doc-grid p { min-height: 48px; margin: 0 0 12px; color: #a7afb6; font-size: 14px; line-height: 1.7; }
.workspace-doc-grid a { display: inline-flex; align-items: center; min-height: 44px; color: #a9cbe6; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.developer-workspace a:focus-visible, .developer-breadcrumb a:focus-visible { outline: 2px solid #a5edc7; outline-offset: 5px; }
.developer-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; font-size: 14px; color: #aaa; }
.developer-breadcrumb a { color: #f4f4f4; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .developer-workspace { --type-h1-size: 28px; --type-body-size: 14px; padding: 110px 20px 48px; }
  .workspace-heading { padding-right: 46px; }
  .workspace-heading h1 { font-size: 28px; }
  .workspace-heading > p:last-child { font-size: 14px; line-height: 1.6; }
  .workspace-flasher { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; }
  .workspace-flasher h3 { font-size: 24px; }
  .workspace-firmware { gap: 10px 18px; }
  .workspace-doc-grid { grid-template-columns: minmax(0, 1fr); }
  .workspace-doc-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid #33373a; }
  .workspace-doc-grid article { padding: 22px 0; }
  .workspace-doc-grid p { min-height: 0; }
}

.flash-workspace { max-width: 900px; min-height: 70vh; }
.flash-workspace .workspace-heading { padding-right: 60px; }
.flash-step { padding: 26px 0; border-bottom: 1px solid #333; }
.flash-step h2 { margin: 0 0 18px; }
.flash-port-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.flash-port-row p, .flash-submit p, .firmware-hint { color: #a9afb4; font-size: 14px; }
.firmware-modes { display: inline-flex; gap: 4px; border: 1px solid #444; padding: 4px; margin: 0; border-radius: 6px; }
.firmware-modes label { position: relative; cursor: pointer; }
.firmware-modes input { position: absolute; opacity: 0; }
.firmware-modes span { display: block; padding: 10px 18px; border-radius: 3px; font-size: 14px; }
.firmware-modes input:checked + span { background: #e6e9e7; color: #111; }
.firmware-modes input:focus-visible + span { outline: 2px solid #a5edc7; outline-offset: 2px; }
.firmware-selection { padding: 22px 0 0; }
.firmware-version { margin-left: 14px; color: #a5edc7; }
.firmware-upload { display: flex; flex-direction: column; gap: 12px; }
.firmware-upload input { max-width: 100%; }
.flash-submit { padding-top: 24px; }
.flash-submit .flash-install-button { margin-top: 0; }
.flash-submit .flash-action { background: #a5edc7; border-color: #a5edc7; min-width: 180px; }
.flash-submit .flash-action:disabled { opacity: .4; cursor: not-allowed; }
.flash-workspace [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.developer-page {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 72% 12%, rgba(102, 147, 198, 0.16), transparent 34%),
    #050505;
  background-size: 116px 116px, 116px 116px, auto, auto;
}

.developer-page main {
  overflow: hidden;
}

.developer-hero {
  position: relative;
  min-height: 88svh;
  padding: 168px clamp(22px, 6vw, 96px) 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: end;
  gap: clamp(36px, 7vw, 112px);
  isolation: isolate;
}

.developer-hero::before {
  content: "";
  position: absolute;
  right: clamp(-220px, -12vw, -80px);
  bottom: 12vh;
  z-index: -1;
  width: min(78vw, 1040px);
  aspect-ratio: 15524 / 1392;
  background: rgba(255, 255, 255, 0.055);
  -webkit-mask-image: url("orulink-logo.png");
  mask-image: url("orulink-logo.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.developer-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34vh;
  background: linear-gradient(0deg, #050505, transparent);
  pointer-events: none;
}

.developer-eyebrow,
.developer-section__index,
.developer-card__tag,
.developer-tool span,
.developer-hero__meta span {
  color: rgba(244, 244, 244, 0.58);
  font-family: var(--font-family-en, "D-DIN-PRO", sans-serif);
  font-size: var(--type-meta-size, 12px);
  font-weight: var(--type-meta-weight, 600);
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.developer-eyebrow {
  margin: 0 0 20px;
}

.developer-hero h1,
.developer-section h2 {
  margin: 0;
  color: rgba(244, 244, 244, 0.94);
  letter-spacing: 0;
}

.developer-hero h1 {
  max-width: 980px;
  font-size: clamp(54px, 8.4vw, 124px);
  line-height: 0.98;
}

.developer-lead,
.developer-section__heading p,
.developer-card p,
.developer-tool p {
  color: rgba(244, 244, 244, 0.68);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-body-size, 18px);
  font-weight: var(--type-body-weight, 400);
  letter-spacing: 0;
  line-height: 1.58;
}

.developer-lead {
  max-width: 760px;
  margin: 28px 0 0;
}

.developer-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.developer-hero__meta span {
  min-height: 34px;
  padding: 9px 12px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.developer-hero__panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.028));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.developer-hero__panel span {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-family-en, "D-DIN-PRO", sans-serif);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.developer-hero__panel span::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.developer-section {
  position: relative;
  padding: 112px clamp(22px, 6vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.94), rgba(10, 10, 10, 0.98));
}

.developer-section__heading {
  max-width: 920px;
  margin-bottom: 42px;
}

.developer-section__index {
  margin: 0 0 16px;
}

.developer-section h2 {
  max-width: 900px;
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: 1.04;
}

.developer-section__heading p {
  max-width: 720px;
  margin: 22px 0 0;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.developer-card {
  min-height: 292px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.developer-card h3,
.developer-tool h3 {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.developer-card p {
  margin: 18px 0 26px;
}

.developer-card a {
  margin-top: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  font-weight: 600;
}

.developer-card a::after {
  content: "↗";
  margin-left: 8px;
  font-family: var(--font-family-en, "D-DIN-PRO", sans-serif);
}

.developer-tool-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.developer-tool {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 86px);
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.developer-tool h3 {
  margin-top: 10px;
}

.developer-tool p {
  max-width: 720px;
  margin: 0;
}

.developer-tool--linked {
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1fr) auto;
  align-items: center;
}

.developer-tool > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  font-weight: 600;
  white-space: nowrap;
}

.flash-workspace {
  max-width: 1040px;
  padding-bottom: 100px;
}

.flash-heading {
  padding-bottom: 32px;
}

.flash-eyebrow {
  color: #9cdcb8;
  font: 600 12px/1.4 var(--font-family-en, sans-serif);
  letter-spacing: .16em;
}

.flash-heading h1 {
  margin-top: 17px;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.04em;
}

.flash-heading > p:last-child {
  max-width: 690px;
  line-height: 1.6;
}

.flash-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid #303936;
  border-radius: 8px;
  background: #303936;
}

.flash-overview span {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 15px 20px;
  color: #8caa9b;
  background: #131a17;
  font: 600 12px/1.4 var(--font-family-en, sans-serif);
}

.flash-overview strong {
  color: #ecf2ee;
  font: 600 14px/1.4 var(--font-family-zh, sans-serif);
}

.flash-flow-card {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #343d39;
  border-radius: 10px;
  background: linear-gradient(145deg, #171c19, #111513 72%);
}

.flash-flow-card__head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 25px 28px 22px;
}

.flash-step-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #4d6559;
  border-radius: 9px;
  color: #a5edc7;
  background: #1c2b23;
  font: 700 16px var(--font-family-en, sans-serif);
}

.flash-flow-card__head h2 {
  margin: 0 0 6px;
  color: #f1f5f2;
  font-size: 19px;
  line-height: 1.4;
}

.flash-flow-card__head p {
  margin: 0;
  color: #aab8b0;
  font-size: 14px;
  line-height: 1.5;
}

.flash-step-badge {
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid #47514b;
  border-radius: 100px;
  color: #9faea4;
  font-size: 12px;
  white-space: nowrap;
}

.flash-step-badge[data-tone="ready"] {
  border-color: #4b926a;
  color: #a5edc7;
  background: #1b3224;
}

.flash-flow-card__body {
  margin: 0 28px 27px 92px;
  padding-top: 22px;
  border-top: 1px solid #303a34;
}

.flash-platform-guide {
  padding: 17px 20px;
  border: 1px solid #345342;
  border-radius: 7px;
  background: #17251c;
}

.flash-platform-guide > span {
  display: block;
  margin-bottom: 7px;
  color: #a5edc7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.flash-platform-guide p {
  margin: 0;
  color: #e5eee8;
  font-size: 14px;
  line-height: 1.6;
}

.flash-platform-guide p + p {
  margin-top: 6px;
  color: #9faf9f;
  font-size: 13px;
}

.flash-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.flash-actions p,
.flash-connection-result,
.flash-connection-hint {
  margin: 0;
  color: #b2bdb5;
  font-size: 14px;
  line-height: 1.6;
}

.flash-connection-hint {
  color: #d5dfd8;
}

.flash-connection-result {
  margin-top: 15px;
}

.flash-text-action {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  color: #b4d2bf;
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.flash-flow-card .flash-secondary-action,
.flash-flow-card .flash-action {
  min-width: 164px;
  border-radius: 6px;
}

.flash-flow-card .flash-secondary-action:disabled,
.flash-flow-card .flash-action:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.flash-flow-card .flash-action:enabled:hover,
.flash-flow-card .flash-secondary-action:enabled:hover {
  filter: brightness(1.12);
}

.flash-flow-card :is(button, input):focus-visible {
  outline: 2px solid #a5edc7;
  outline-offset: 3px;
}

.flash-flow-card .firmware-selection {
  padding-top: 18px;
}

.flash-flow-card .firmware-selection strong {
  font-size: 18px;
}

.flash-flow-card .firmware-hint {
  margin: 10px 0 0;
  line-height: 1.6;
}

.flash-advanced {
  margin-top: 20px;
  color: #abbcb0;
  font-size: 13px;
}

.flash-advanced summary { width: fit-content; cursor: pointer; }
.flash-advanced label { display: block; margin-top: 12px; line-height: 1.6; cursor: pointer; }
.flash-advanced input { accent-color: #a5edc7; }

.flash-flow-card .flash-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #303a34;
}

.flash-flow-card .flash-submit p {
  margin: 0;
}

.flash-progress {
  margin-top: 21px;
}

.flash-progress__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #d7e5db;
  font-size: 13px;
}

.flash-progress progress {
  display: block;
  width: 100%;
  height: 10px;
  accent-color: #a5edc7;
}

@media (max-width: 680px) {
  .flash-workspace { padding-bottom: 72px; }
  .flash-overview { grid-template-columns: 1fr; }
  .flash-overview span { min-height: 42px; padding: 9px 14px; }
  .flash-flow-card__head { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 20px; }
  .flash-step-index { width: 36px; height: 36px; font-size: 13px; }
  .flash-step-badge { grid-column: 2; justify-self: start; margin: 0; }
  .flash-flow-card__body { margin: 0 20px 22px; }
  .flash-flow-card .flash-secondary-action,
  .flash-flow-card .flash-action { width: 100%; }
  .flash-platform-guide { padding: 15px; }
}

.flash-github-link {
  position: absolute;
  top: 104px;
  right: max(22px, env(safe-area-inset-right));
  z-index: 19;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #343a3d;
  border-radius: 8px;
  background: #141719;
  color: #c8ced2;
  transition: background 160ms ease, border-color 160ms ease;
}

.flash-github-link img {
  display: block;
  width: 26px;
  height: 26px;
  filter: invert(1);
  opacity: .8;
}

.developer-page:has(.developer-workspace) > .flash-github-link {
  right: max(22px, calc((100vw - 1120px) / 2));
}
.developer-flash-page > .flash-github-link {
  right: max(22px, calc((100vw - 836px) / 2)) !important;
}

.flash-github-link:hover {
  background: #22282b;
  border-color: #727e83;
}

.flash-github-link:hover img, .flash-github-link:focus-visible img { opacity: 1; }

.flash-github-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.flash-hero {
  min-height: 72svh;
  padding: 168px clamp(22px, 6vw, 96px) 86px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.flash-hero h1 {
  max-width: 1040px;
  margin: 0;
  color: rgba(244, 244, 244, 0.94);
  font-size: clamp(54px, 8.4vw, 124px);
  line-height: 0.98;
  letter-spacing: 0;
}

.flash-support {
  width: fit-content;
  max-width: min(720px, 100%);
  margin-top: 32px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(244, 244, 244, 0.74);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  line-height: 1.45;
}

.flash-support[data-state="ready"] {
  border-color: rgba(176, 255, 205, 0.35);
  color: rgba(210, 255, 226, 0.86);
}

.flash-support[data-state="blocked"] {
  border-color: rgba(255, 206, 112, 0.36);
  color: rgba(255, 229, 174, 0.9);
}

.flash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.flash-port-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.flash-secondary-action {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  font-weight: 700;
  cursor: pointer;
}

.flash-port-result {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 244, 244, 0.7);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  line-height: 1.45;
}

.flash-card {
  min-height: 348px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.flash-inline-link {
  min-height: 36px;
  margin-top: 18px;
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  font-weight: 700;
}

.flash-inline-link::after {
  content: "↗";
  margin-left: 7px;
  font-family: var(--font-family-en, "D-DIN-PRO", sans-serif);
}

.flash-card h3 {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.flash-card p {
  margin: 18px 0 0;
  color: rgba(244, 244, 244, 0.68);
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-body-size, 18px);
  line-height: 1.58;
}

.flash-file {
  position: relative;
  min-height: 52px;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid #fff;
  color: #050505;
  background: #fff;
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
}

.flash-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.flash-file-name,
.flash-status {
  min-height: 26px;
}

.flash-install-button {
  display: block;
  margin-top: 30px;
}

.flash-action {
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid #fff;
  border-radius: 3px;
  color: #050505;
  background: #fff;
  font: inherit;
  font-family: var(--font-family-zh, MiSans, sans-serif);
  font-size: var(--type-ui-size, 15px);
  font-weight: 700;
  cursor: pointer;
}

.flash-notes .developer-section__heading {
  margin-bottom: 20px;
}

@media (max-width: 980px) {
  .developer-hero {
    min-height: auto;
    padding-top: 136px;
    grid-template-columns: 1fr;
  }

  .developer-hero__panel {
    max-width: 560px;
  }

  .developer-grid {
    grid-template-columns: 1fr;
  }

  .flash-grid {
    grid-template-columns: 1fr;
  }

  .flash-port-panel {
    grid-template-columns: 1fr;
  }

  .developer-card {
    min-height: 0;
  }

  .developer-tool--linked {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .developer-hero,
  .developer-section,
  .flash-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .developer-hero {
    padding-top: 116px;
    padding-bottom: 68px;
  }

  .developer-hero h1 {
    font-size: clamp(44px, 15vw, 66px);
    line-height: 1.02;
  }

  .flash-hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 68px;
  }

  .flash-hero h1 {
    font-size: clamp(44px, 15vw, 66px);
    line-height: 1.02;
  }

  .developer-lead,
  .developer-section__heading p,
  .developer-card p,
  .developer-tool p,
  .flash-card p {
    font-size: 16px;
    line-height: 1.62;
  }

  .developer-hero__panel {
    padding: 14px;
  }

  .developer-hero__panel span {
    min-height: 58px;
    padding: 0 14px;
  }

  .developer-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .developer-tool {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flash-card {
    min-height: 0;
    padding: 22px;
  }

  .flash-file,
  .flash-action,
  .flash-secondary-action {
    width: 100%;
  }
}
.connection-dialog { box-sizing: border-box; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px; border: 1px solid #454b50; border-radius: 8px; background: #151819; color: #f4f4f4; }
.connection-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.connection-dialog h2 { margin: 0 0 18px; font-size: 22px; line-height: 1.4; }
.connection-dialog p { margin: 16px 0; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; color: #c4ccd1; }
.connection-dialog progress { width: 100%; height: 6px; accent-color: #a5edc7; }
.connection-dialog [hidden] { display: none !important; }
.connection-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.connection-dialog-actions button { margin: 0; min-height: 44px; white-space: normal; }
