/* Fanspot install guide · original HTML/CSS/SVG illustration, 2026-11-03.
   Existing unmodified Pretendard, SIL OFL 1.1; preserve bundled license.
   https://github.com/orioncactus/pretendard/blob/main/LICENSE
   Own geometry only: no Apple logo, SF font, external icons or OS screenshots.
   Parent-provided Fanspot preview/icon retain their asset-register restrictions.
   This is an installation-process illustration, not a real operating-system UI. */

.detail-dialog:has(.pwa-guide) {
  position: fixed;
  inset: 0;
  width: min(680px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8dfd7;
  border-radius: 22px;
  background: #fffefa;
  color: #3e2f31;
  box-shadow: 0 24px 100px #2e252b38;
}
.detail-dialog[open]:has(.pwa-guide) { display: flex; flex-direction: column; }
.detail-dialog:has(.pwa-guide) .detail-toolbar {
  position: relative;
  flex: 0 0 52px;
  height: 52px;
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid #eee6df;
  background: #fffefa;
  backdrop-filter: none;
}
.detail-dialog:has(.pwa-guide) .detail-toolbar > span {
  color: #71605b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.15px;
}
.detail-dialog:has(.pwa-guide) .detail-toolbar > button {
  min-width: 64px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  font-size: 13px;
  color: #665753;
}
.detail-dialog:has(.pwa-guide) .detail-toolbar > button:focus-visible {
  outline: 3px solid #936638;
  outline-offset: 0;
  border-radius: 6px;
}
.detail-dialog:has(.pwa-guide) .detail-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.pwa-guide {
  --pwa-ink: #3e2f31;
  --pwa-muted: #786762;
  --pwa-line: #e9e1d9;
  --pwa-accent: #965033;
  --pwa-blue: #0963d7;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  max-height: calc(100vh - 78px);
  max-height: calc(100dvh - 78px);
  overflow: hidden;
  font-family: Pretendard, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pwa-ink);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.pwa-guide, .pwa-guide * { box-sizing: border-box; }
.pwa-guide [hidden] { display: none !important; }
.pwa-guide :is(h2, h3, p, figure) { margin: 0; }
.pwa-guide button, .pwa-guide input { font: inherit; color: inherit; }
.pwa-guide button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pwa-guide :is(button, input, summary, [tabindex="0"]):focus-visible {
  outline: 3px solid #0963d7;
  outline-offset: 3px;
}
.pwa-guide :is(h2, h3)[tabindex="-1"]:focus { outline: none; }
.pwa-guide button:disabled { cursor: default; opacity: .42; }
.pwa-symbol { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
.pwa-guide-header { flex: 0 0 auto; padding: 21px 26px 17px; }
.pwa-guide-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--pwa-accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.1px;
}
.pwa-guide-eyebrow .pwa-symbol { width: 15px; height: 15px; }
.pwa-guide-header h2 { margin-top: 9px; font-size: 25px; line-height: 1.3; font-weight: 760; letter-spacing: -1px; text-wrap: balance; }
.pwa-guide-header > p { margin-top: 8px; color: var(--pwa-muted); font-size: 13px; }
.pwa-step-nav { display: grid; flex: 0 0 auto; grid-template-columns: 1fr 1.25fr 1fr; gap: 5px; margin: 0 26px 14px; padding: 4px; border: 1px solid var(--pwa-line); border-radius: 13px; background: #f6f1eb; }
.pwa-step-nav button { gap: 6px; min-height: 44px; padding: 5px 4px; border-radius: 9px; color: #786762; font-size: 12px; font-weight: 650; white-space: nowrap; }
.pwa-step-nav button > span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #d3c6bb; border-radius: 50%; font-size: 10px; line-height: 1; }
.pwa-step-nav button[aria-current="step"] { background: #fffefa; color: var(--pwa-ink); box-shadow: 0 1px 4px #4b382213; }
.pwa-step-nav button[aria-current="step"] > span { border-color: var(--pwa-ink); background: var(--pwa-ink); color: #fffefa; }
.pwa-guide-scroll { min-height: 0; flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 4px 26px 18px; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #c8b9ab transparent; scroll-padding-block: 14px; }
.pwa-ios-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 286px); align-items: center; gap: 24px; }
.pwa-step-copy { min-width: 0; }
.pwa-step-kicker { display: block; color: var(--pwa-accent); font-size: 10px; font-weight: 750; letter-spacing: 1.3px; margin-bottom: 10px; }
.pwa-step-copy h3 { font-size: 23px; font-weight: 750; line-height: 1.4; letter-spacing: -.8px; word-break: keep-all; overflow-wrap: anywhere; }
.pwa-step-copy > p { margin-top: 12px; color: var(--pwa-muted); font-size: 13px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.pwa-layout-picker { margin-top: 26px; }
.pwa-layout-picker > span { display: block; color: #786762; font-size: 11px; }
.pwa-layout-picker > div { display: flex; gap: 6px; margin-top: 9px; }
.pwa-layout-picker button { flex: 1 1 0; gap: 5px; min-height: 44px; padding: 7px; border: 1px solid #dfd5ca; border-radius: 9px; color: #786762; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pwa-layout-picker .pwa-symbol { width: 18px; height: 18px; }
.pwa-layout-picker button[aria-pressed="true"] { border-color: #967755; background: #faf0df; color: #6e4b2c; box-shadow: inset 0 0 0 1px #967755; }
.pwa-step-tip { display: flex; align-items: flex-start; gap: 9px; margin-top: 24px; padding: 13px 11px; border: 1px solid #ece2d3; border-radius: 12px; color: #806247; background: #fcf6eb; font-size: 11px; line-height: 1.8; }
.pwa-step-tip .pwa-symbol { width: 19px; height: 19px; margin-top: 1px; }
.pwa-guide-figure { min-width: 0; width: 100%; }
.pwa-guide-figure > figcaption { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; font-size: 9px; color: #7b6a61; }
.pwa-example-badge { display: inline-flex; border: 1px solid #dfd5ca; border-radius: 5px; padding: 3px 6px; color: #66554b; font-weight: 650; font-size: 10px; background: #f7f2ea; white-space: nowrap; }
.pwa-example-note { margin-top: 13px !important; text-align: center; }
.pwa-example-note strong { display: block; color: #79563c; font-size: 11px; font-weight: 700; }
.pwa-example-note > span { display: block; margin-top: 4px; color: #867469; font-size: 10px; line-height: 1.7; }
/* Deliberately contained, labelled browser illustration. No device artwork. */
.pwa-phone { position: relative; isolation: isolate; width: 100%; max-width: 286px; height: 380px; margin: 0 auto; overflow: hidden; border: 1px solid #cdd0d5; border-radius: 26px; color: #22232a; background: #f4f5f8; box-shadow: 0 10px 28px #362b2412, 0 0 0 4px #f2ede7; font-size: 13px; }
.pwa-status-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 5px 18px 2px; background: #fffefa; }
.pwa-status-bar > b { font-size: 11px; font-weight: 750; letter-spacing: .2px; }
.pwa-status-signals { display: flex; align-items: end; gap: 2px; height: 11px; }
.pwa-status-signals > i { display: block; width: 3px; height: 4px; border-radius: 1px; background: #29292e; }
.pwa-status-signals > i:nth-child(2) { height: 6px; }
.pwa-status-signals > i:nth-child(3) { height: 8px; }
.pwa-status-signals > i:nth-child(4) { height: 10px; }
.pwa-status-battery { position: relative; width: 19px; height: 10px; margin-left: 6px; border: 1px solid #4a4a50; border-radius: 3px; }
.pwa-status-battery::before { content: ''; position: absolute; inset: 1px; border-radius: 1px; background: #303037; }
.pwa-status-battery::after { content: ''; position: absolute; left: 19px; top: 2px; width: 2px; height: 4px; border-radius: 1px; background: #7a7a82; }
.pwa-site-preview { position: absolute; z-index: 0; top: 30px; right: 0; bottom: 0; left: 0; overflow: hidden; background: #fffefa; }
.pwa-site-preview > img { position: relative; z-index: 1; display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; }
.pwa-preview-fallback { position: absolute; inset: 0; padding: 19px 17px; background: #fffefa; }
.pwa-preview-fallback > strong { font-size: 22px; font-weight: 800; letter-spacing: -.9px; }
.pwa-preview-fallback > strong > span { color: #ad6741; }
.pwa-preview-fallback > p { margin-top: 28px; font-size: 20px; font-weight: 700; line-height: 1.4; max-width: 165px; }
.pwa-preview-fallback > div { height: 47px; margin-top: 15px; border: 1px solid #efe2cd; border-radius: 11px; background: #fff5df; }
.pwa-preview-fallback > div:nth-last-child(2) { width: 73%; background: #fae7dc; }
.pwa-preview-fallback > div:last-child { background: #f7f0e8; }
.pwa-browser-bottom { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 9px 10px 19px; border-top: 1px solid #dadce155; background: #f1f3f8f5; box-shadow: 0 -7px 20px #fffefa88; }
.pwa-browser-compact { display: flex; gap: 7px; align-items: center; }
.pwa-browser-back { display: grid; place-items: center; flex: 0 0 28px; }
.pwa-address { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; font-size: 10px; color: #3e4149; }
.pwa-address > .pwa-symbol { width: 12px; height: 12px; }
.pwa-address > span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pwa-browser-compact > .pwa-address { flex: 1 1 0; height: 44px; padding: 0 7px; border: 1px solid #d8dce3; border-radius: 22px; background: #fffefa; box-shadow: 0 2px 6px #292b3610; }
.pwa-browser-address { display: flex; align-items: center; justify-content: space-between; min-height: 35px; gap: 8px; padding: 5px 10px; border: 1px solid #d8dce3; border-radius: 12px; background: #fffefa; }
.pwa-browser-address > span:first-child { font-size: 11px; white-space: nowrap; }
.pwa-small-letter { font-size: 8px; }
.pwa-browser-address > .pwa-symbol { width: 15px; height: 15px; }
.pwa-browser-tools { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 48px; margin-top: 4px; padding: 0 2px; color: #0963d7; }
.pwa-browser-tools > span { display: grid; place-items: center; min-width: 30px; }
.pwa-browser-tools .pwa-muted-control { color: #a7aeb8; }
.pwa-guide .pwa-mock-target { position: relative; border: 2px solid #0963d7; background: #eef5ff; color: #0963d7; box-shadow: 0 0 0 3px #0963d719; }
.pwa-guide .pwa-safari-share { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; }
.pwa-guide .pwa-safari-more { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; }
.pwa-target-number { position: absolute; top: -8px; right: -5px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 10px; background: #0963d7; color: #fff; font-size: 9px; font-weight: 750; line-height: 1; }
.pwa-home-indicator { position: absolute; z-index: 4; bottom: 6px; left: 50%; width: 86px; height: 4px; border-radius: 5px; background: #24242c; transform: translateX(-50%); pointer-events: none; }
.pwa-safari-popover { position: absolute; z-index: 3; bottom: 85px; right: 12px; width: 222px; padding: 12px 10px 8px; border: 1px solid #d7dbe2; border-radius: 20px; background: #f8f9fc; box-shadow: 0 10px 30px #22242c33; }
.pwa-popover-heading { display: block; margin: 0 4px 12px; color: #757a86; font-size: 10px; font-weight: 600; }
.pwa-guide .pwa-menu-share { justify-content: space-between; width: 100%; min-height: 48px; padding: 9px 12px; border-radius: 11px; font-size: 14px; font-weight: 650; }
.pwa-popover-decoration { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 8px 12px 0; color: #616775; font-size: 12px; }
.pwa-popover-decoration .pwa-symbol { width: 19px; height: 19px; }
.pwa-screen-dimmer { position: absolute; inset: 30px 0 0; background: #191b2240; }
.pwa-share-sheet { position: absolute; right: 0; bottom: 0; left: 0; height: 306px; padding: 8px 12px 20px; border: 1px solid #d6d8df; border-bottom: 0; border-radius: 22px 22px 0 0; background: #f1f2f6; box-shadow: 0 -5px 30px #161b2926; }
.pwa-sheet-handle { width: 32px; height: 4px; margin: 0 auto 13px; border-radius: 4px; background: #bfc1c8; }
.pwa-share-heading { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 15px; }
.pwa-app-icon { position: relative; display: block; flex: 0 0 40px; width: 40px; height: 40px; overflow: hidden; border: 1px solid #e7dccb; border-radius: 10px; background: #fae3ad; }
.pwa-app-icon > span { position: absolute; inset: 0; display: grid; place-items: center; color: #685043; font-size: 25px; font-weight: 800; }
.pwa-app-icon > img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.pwa-share-heading > span:nth-child(2) { display: grid; gap: 3px; flex: 1; min-width: 0; }
.pwa-share-heading strong { font-size: 13px; font-weight: 700; }
.pwa-share-heading small { display: block; overflow: hidden; color: #737780; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.pwa-sheet-dismiss { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #737780; background: #e3e4eb; }
.pwa-sheet-dismiss .pwa-symbol { width: 15px; height: 15px; }
.pwa-share-options { display: flex; justify-content: space-around; gap: 8px; padding-bottom: 15px; color: #565b67; font-size: 9px; }
.pwa-share-options > span { display: grid; justify-items: center; gap: 6px; }
.pwa-share-options i { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #dddfe6; border-radius: 11px; color: #535d73; background: #fff; }
.pwa-share-options .pwa-symbol { width: 20px; height: 20px; }
.pwa-share-rows { border-radius: 12px; background: #fff; }
.pwa-guide .pwa-share-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 35px; padding: 5px 12px; border-bottom: 1px solid #ececf0; font-size: 12px; text-align: left; }
.pwa-share-row .pwa-symbol { width: 19px; height: 19px; }
.pwa-guide .pwa-add-home { min-height: 48px; margin-top: 2px; border: 2px solid #0963d7; border-radius: 10px; font-weight: 700; }
.pwa-share-edit { margin-top: 11px; padding-left: 12px; color: #0963d7; font-size: 10px; }
.pwa-add-background { position: absolute; inset: 30px 0 0; background: #888d97; }
.pwa-add-sheet { position: absolute; right: 0; bottom: 0; left: 0; height: 338px; padding: 8px 12px 20px; border: 1px solid #d6d8df; border-radius: 22px 22px 0 0; background: #f2f2f7; }
.pwa-add-sheet .pwa-sheet-handle { margin-bottom: 2px; }
.pwa-add-toolbar { display: grid; grid-template-columns: 42px minmax(0, 1fr) 48px; align-items: center; gap: 5px; min-height: 48px; }
.pwa-native-cancel { color: #0963d7; font-size: 12px; }
.pwa-add-toolbar > strong { font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; }
.pwa-guide .pwa-native-add { min-height: 44px; min-width: 44px; border-radius: 10px; font-size: 13px; font-weight: 750; }
.pwa-app-summary { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 13px 0 15px; }
.pwa-app-icon.pwa-app-icon-large { flex-basis: 58px; width: 58px; height: 58px; border-radius: 14px; }
.pwa-app-summary > strong { font-size: 12px; font-weight: 600; }
.pwa-native-fields { overflow: hidden; border: 1px solid #e7e7ed; border-radius: 11px; background: #fff; }
.pwa-native-fields > div:first-child { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 12px; border-bottom: 1px solid #ededf2; }
.pwa-native-fields strong { font-weight: 500; }
.pwa-native-url { overflow: hidden; padding: 8px 12px; color: #777b88; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.pwa-webapp-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 12px; padding: 8px 12px; border: 1px solid #e7e7ed; border-radius: 11px; background: #fff; font-size: 12px; }
.pwa-native-switch { display: flex; align-items: center; justify-content: flex-end; width: 38px; height: 24px; padding: 2px; border-radius: 16px; background: #22834c; }
.pwa-native-switch > span { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #15322333; }
.pwa-native-explanation { padding: 8px 8px 0; color: #777b88; font-size: 9px; line-height: 1.65; }
/* The only green is the explanatory OS-style on switch, never a brand accent. */
.pwa-guide-status { margin-top: 14px !important; padding: 12px 14px; border: 1px solid #ead5b9; border-radius: 11px; background: #fff4dd; color: #755334; font-size: 12px; line-height: 1.8; }
.pwa-guide-status:empty { display: none; }
.pwa-guide-help { margin-top: 18px; padding-top: 2px; border-top: 1px solid var(--pwa-line); }
.pwa-guide-help > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 2px; color: #715e54; font-size: 12px; font-weight: 650; cursor: pointer; list-style: none; }
.pwa-guide-help > summary::-webkit-details-marker { display: none; }
.pwa-guide-help > summary::before { content: '+'; display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #d5c7b8; border-radius: 50%; font-size: 14px; line-height: 1; }
.pwa-guide-help[open] > summary::before { content: '−'; }
.pwa-guide-help > p { padding: 1px 1px 12px; color: var(--pwa-muted); font-size: 12px; line-height: 1.85; }
.pwa-guide .pwa-copy-button { justify-content: flex-start; gap: 7px; min-height: 44px; padding: 8px 0; color: #875235; font-size: 12px; font-weight: 650; text-align: left; }
.pwa-copy-button .pwa-symbol { width: 17px; height: 17px; }
.pwa-url-label { display: grid; gap: 6px; margin-top: 8px; color: var(--pwa-muted); font-size: 11px; }
.pwa-guide .pwa-url-input { width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 11px; border: 1px solid #dfd3c6; border-radius: 9px; background: #fffefa; color: #5c4d43; font-size: 16px; }
.pwa-guide-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 26px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--pwa-line); background: #fffefa; }
.pwa-guide .pwa-button { min-height: 46px; gap: 9px; padding: 10px 18px; border: 1px solid #e0d5c7; border-radius: 11px; font-size: 13px; font-weight: 650; }
.pwa-button .pwa-symbol { width: 17px; height: 17px; }
.pwa-guide .pwa-button-primary { border-color: #3e2f31; background: #3e2f31; color: #fff9ec; }
.pwa-guide .pwa-button-secondary { background: #fffefa; color: #746158; }
.pwa-step-count { color: #8b7768; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.pwa-footer-note { color: var(--pwa-muted); font-size: 11px; line-height: 1.7; }
.pwa-external-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 15px; border: 1px solid #e8cfaa; border-radius: 13px; background: #fff5df; }
.pwa-external-note > .pwa-symbol { width: 20px; height: 20px; margin-top: 1px; color: #926039; }
.pwa-external-note > div { min-width: 0; }
.pwa-external-note strong { color: #714b30; font-size: 13px; }
.pwa-external-note p { margin-top: 5px; color: #7e654e; font-size: 12px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.pwa-fallback-intro { display: flex; align-items: center; gap: 14px; margin: 4px 0 24px; padding: 19px; border: 1px solid #eee0cb; border-radius: 16px; background: #fcf4e5; }
.pwa-fallback-intro > div { display: grid; gap: 3px; min-width: 0; }
.pwa-fallback-intro strong { font-size: 21px; font-weight: 750; letter-spacing: -.4px; }
.pwa-fallback-intro > div > span { color: #8a7158; font-size: 12px; }
.pwa-fallback-label { color: var(--pwa-accent); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.pwa-guide-stage > h3 { margin-top: 9px; font-size: 22px; font-weight: 750; line-height: 1.4; letter-spacing: -.6px; word-break: keep-all; overflow-wrap: anywhere; }
.pwa-fallback-description { margin-top: 9px !important; color: var(--pwa-muted); font-size: 13px; line-height: 1.85; }
.pwa-fallback-steps { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.pwa-fallback-steps > li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 17px 0; border-top: 1px solid var(--pwa-line); }
.pwa-fallback-steps > li > span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border: 1px solid #deceba; border-radius: 50%; color: #8d6542; background: #fcf3e4; font-size: 11px; font-weight: 750; }
.pwa-fallback-steps > li > div { flex: 1; min-width: 0; }
.pwa-fallback-steps strong { font-size: 13px; font-weight: 700; }
.pwa-fallback-steps p { margin-top: 5px; color: var(--pwa-muted); font-size: 12px; line-height: 1.8; }
.pwa-fallback-steps > li > .pwa-symbol { width: 19px; height: 19px; margin-top: 3px; color: #917964; }
.pwa-fallback-note { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0 !important; padding: 12px; border-radius: 10px; background: #f4f0e9; color: #826b58; font-size: 11px; line-height: 1.8; }
.pwa-fallback-note .pwa-symbol { width: 16px; height: 16px; margin-top: 1px; }
@media (hover: hover) and (pointer: fine) {
  .pwa-guide .pwa-button-primary:hover { background: #594348; }
  .pwa-guide .pwa-button-secondary:hover, .pwa-step-nav button:not([aria-current]):hover { background: #f4eee5; }
  .pwa-guide .pwa-mock-target:hover { background: #dceaff; }
  .pwa-copy-button:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pwa-guide .pwa-button { transition: transform 140ms cubic-bezier(.23, 1, .32, 1), background-color 140ms ease; }
  .pwa-guide .pwa-button:active:not(:disabled) { transform: scale(.98); }
}
@media (max-width: 620px) {
  .detail-dialog:has(.pwa-guide) { width: min(430px, calc(100vw - 16px)); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 19px; }
  .pwa-guide { max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); }
  .pwa-guide-header { padding: 17px 18px 14px; }
  .pwa-guide-header h2 { font-size: 22px; letter-spacing: -.8px; }
  .pwa-guide-header > p { font-size: 12px; margin-top: 7px; }
  .pwa-step-nav { gap: 2px; margin: 0 16px 10px; padding: 3px; border-radius: 11px; }
  .pwa-step-nav button { gap: 5px; padding: 4px 2px; font-size: 11px; }
  .pwa-step-nav button > span { width: 18px; height: 18px; font-size: 9px; }
  .pwa-guide-scroll { padding: 4px 18px 16px; }
  .pwa-ios-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pwa-step-kicker { margin-bottom: 6px; font-size: 9px; }
  .pwa-step-copy h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.55px; }
  .pwa-step-copy > p { margin-top: 6px; font-size: 12px; line-height: 1.8; }
  .pwa-layout-picker { margin-top: 12px; }
  .pwa-layout-picker > span { font-size: 10px; }
  .pwa-layout-picker > div { margin-top: 6px; }
  .pwa-layout-picker button { flex: 0 1 auto; gap: 7px; padding: 7px 13px; }
  .pwa-guide-figure { width: min(100%, 286px); margin-inline: auto !important; }
  .pwa-phone { height: 372px; }
  .pwa-guide-footer { padding: 11px 18px max(11px, env(safe-area-inset-bottom)); gap: 8px; }
  .pwa-guide .pwa-button { min-height: 46px; padding: 9px 15px; font-size: 12px; }
  .pwa-step-tip { display: none; }
  .pwa-guide-help { margin-top: 15px; }
  .pwa-external-note { padding: 12px; gap: 8px; margin-bottom: 16px; }
  .pwa-fallback-intro { padding: 15px; margin-bottom: 21px; }
  .pwa-guide-stage > h3 { font-size: 20px; }
  .pwa-fallback-steps > li { gap: 9px; }
  .pwa-fallback-steps strong { font-size: 12px; }
}
@media (max-width: 359px) {
  .pwa-guide-header { padding-inline: 14px; }
  .pwa-guide-header h2 { font-size: 20px; }
  .pwa-guide-eyebrow { font-size: 8px; letter-spacing: .8px; }
  .pwa-step-nav { margin-inline: 11px; gap: 0; }
  .pwa-step-nav button { font-size: 10px; gap: 4px; }
  .pwa-guide-scroll { padding-inline: 14px; }
  .pwa-step-copy h3 { font-size: 18px; }
  .pwa-guide-figure > figcaption { font-size: 8px; }
  .pwa-phone { border-radius: 23px; }
  .pwa-safari-popover { width: min(222px, calc(100% - 24px)); }
  .pwa-guide-footer { padding-inline: 14px; }
  .pwa-footer-note { font-size: 10px; }
  .pwa-add-toolbar { gap: 3px; grid-template-columns: 35px minmax(0, 1fr) 46px; }
  .pwa-add-toolbar > strong { font-size: 11px; }
}
@media (max-height: 650px) {
  .pwa-guide-header { padding-top: 12px; padding-bottom: 11px; }
  .pwa-guide-eyebrow { display: none; }
  .pwa-guide-header h2 { margin-top: 0; font-size: 20px; }
  .pwa-guide-header > p { margin-top: 5px; }
  .pwa-step-nav { margin-bottom: 7px; }
  .pwa-guide-footer { padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-guide *, .pwa-guide *::before, .pwa-guide *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Keep the illustrated Safari action visible on common phone heights. */
@media(max-width:600px){
 .pwa-guide-eyebrow,.pwa-step-kicker{display:none}
 .pwa-guide-header{padding-top:13px;padding-bottom:10px}
 .pwa-guide-header h2{margin-top:0}
 .pwa-ios-layout{gap:10px}
}
/* Installed iPhone/iPad windows have no Safari chrome around the safe area. */
@media(display-mode:standalone){
 body:not(.auction-page-route) .landing.spot-buddy{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
}
