.fw-tour-overlay { position: fixed; inset: 0; z-index: 150; overflow: hidden; }
.fw-tour-dim { position: absolute; inset: 0; background: rgb(12 15 20 / 48%); }
.fw-tour-spotlight { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgb(12 15 20 / 48%); outline: 1px solid rgb(210 223 241 / 75%); outline-offset: 2px; pointer-events: none; transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease; }
.fw-tour-card, .fw-tour-pointer { --tour-surface: #fff; --tour-border: rgb(128 146 171 / 22%); background: var(--tour-surface); border: 1px solid var(--tour-border); }
.dark .fw-tour-card, .dark .fw-tour-pointer { --tour-surface: #272a30; --tour-border: #454950; }
.fw-tour-card { position: fixed; z-index: 151; box-sizing: border-box; display: flex; flex-direction: column; max-height: calc(100dvh - 32px); overflow: hidden; padding: 18px 20px 16px; border-radius: 16px; color: #20252d; box-shadow: 0 12px 36px rgb(0 0 0 / 18%); outline: none; font-family: var(--font-display, inherit); animation: fw-tour-enter 160ms ease-out; }
.dark .fw-tour-card { color: #f3f4f6; box-shadow: 0 12px 40px rgb(0 0 0 / 28%); }
.fw-tour-pointer { position: fixed; z-index: 152; width: 10px; height: 10px; transform: rotate(45deg); pointer-events: none; }
.fw-tour-pointer[data-below="true"] { border-right: 0; border-bottom: 0; }
.fw-tour-pointer[data-below="false"] { border-left: 0; border-top: 0; }
.fw-tour-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.fw-tour-card[data-compact="true"] { display: block; overflow-y: auto; }
.fw-tour-card[data-compact="true"] .fw-tour-body { overflow: visible; }
.fw-tour-topline, .fw-tour-actions { flex-shrink: 0; }
.fw-tour-topline { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin: -4px -4px 10px 0; }
.fw-tour-count { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: #67788e; }
.fw-tour-count > span > span { color: #8f98a5; font-weight: 400; }
.dark .fw-tour-count { color: #c3cddd; }
.dark .fw-tour-count > span > span { color: #8993a2; }
.fw-tour-skip { min-height: 28px; padding: 0 4px; border-radius: 5px; color: #747e8c; font-size: 11px; }
.dark .fw-tour-skip { color: #a7afbb; }
.fw-tour-heading h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.04em; line-height: 1.4; word-break: keep-all; }
.fw-tour-description { margin: 8px 0 0; color: #66717f; font-size: 13px; line-height: 1.7; letter-spacing: -.015em; white-space: pre-line; word-break: keep-all; }
.dark .fw-tour-description { color: #b9c0cb; }
.fw-tour-detail { margin-top: 13px; padding: 10px 11px; border-radius: 8px; background: #f3f5f8; color: #5d697b; font-size: 12px; line-height: 1.65; word-break: keep-all; }
.fw-tour-detail p { margin: 0; }
.fw-tour-detail .fw-tour-detail-label { margin-bottom: 4px; color: #4d5d72; font-size: 10px; font-weight: 600; }
.dark .fw-tour-detail { background: rgb(255 255 255 / 4%); color: #b8c3d2; }
.dark .fw-tour-detail .fw-tour-detail-label { color: #d0d8e4; }
.fw-tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.fw-tour-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.fw-tour-back { color: #768191; padding: 0 2px; }
.dark .fw-tour-back { color: #adb6c3; }
.fw-tour-next { margin-left: auto; min-width: 78px; padding: 0 13px; background: #293442; color: #fff; }
.dark .fw-tour-next { background: #edf0f5; color: #242b36; }
.fw-tour-next[data-kakao="true"], .dark .fw-tour-next[data-kakao="true"] { background: #fee500; color: #3c1e1e; }
.fw-tour-connection-note { margin: 12px 0 0; color: #778397; font-size: 11px; line-height: 1.6; }
.dark .fw-tour-connection-note { color: #aeb8c8; }
.fw-tour-start { flex-shrink: 0; align-self: center; min-height: 28px; margin-top: 8px; color: #778397; font-size: 11px; }
.dark .fw-tour-start { color: #aeb8c8; }
.fw-tour-card button { cursor: pointer; transition: opacity 120ms ease; }
.fw-tour-card button:hover { opacity: .75; }
.fw-tour-card button:focus-visible { outline: 2px solid #7e9bc0; outline-offset: 2px; }
@keyframes fw-tour-enter { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fw-tour-card, .fw-tour-spotlight, .fw-tour-card button { animation: none; transition: none; } }
@media (max-width: 360px), (max-height: 600px) { .fw-tour-card { padding: 16px; } .fw-tour-heading h2 { font-size: 17px; } .fw-tour-actions { margin-top: 14px; } }
.fw-tour-page::after { content: ""; display: block; height: var(--first-use-space, 0px); }

/* Reuse the app's Dialog behavior and light/dark design tokens. */
.fw-receiver-dialog { width:calc(100% - 32px); max-width:440px; max-height:calc(100dvh - 32px); overflow-y:auto; gap:16px; padding:28px; border:1px solid var(--border); border-radius:24px; background:var(--card); color:var(--foreground); box-shadow:0 28px 90px -30px #0008; }
.fw-receiver-eyebrow { font-size:11px; font-weight:650; letter-spacing:.12em; color:var(--muted-foreground); padding-right:20px; }
.fw-receiver-icon { display:grid; place-items:center; width:48px; height:48px; border:1px solid var(--border); border-radius:16px; background:var(--muted); }
.fw-receiver-icon svg { width:24px; height:24px; }
.fw-receiver-title { font-size:23px; font-weight:700; letter-spacing:-.035em; line-height:1.35; }
.fw-receiver-description,.fw-receiver-muted { font-size:13px; line-height:1.7; color:var(--muted-foreground); }
.fw-receiver-device { display:flex; align-items:flex-start; gap:12px; border:1px solid var(--border); border-radius:16px; padding:16px; background:var(--background); }
.fw-receiver-device>svg { width:20px; height:20px; flex-shrink:0; margin-top:2px; }
.fw-receiver-device strong { display:block; font-size:13px; line-height:1.5; }
.fw-receiver-device p { font-size:12px; line-height:1.6; margin-top:4px; color:var(--muted-foreground); }
.fw-receiver-primary,.fw-receiver-secondary { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; gap:8px; border-radius:12px; padding:11px 16px; font-size:13px; font-weight:600; line-height:1.5; cursor:pointer; transition:opacity .15s,background .15s; text-decoration:none; }
.fw-receiver-primary { color:var(--background); background:var(--foreground); border:1px solid transparent; }
.fw-receiver-kakao { color:#3c1e1e; background:#fee500; }
.fw-receiver-secondary { color:var(--foreground); background:transparent; border:1px solid var(--border); }
.fw-receiver-primary:hover,.fw-receiver-secondary:hover { opacity:.8; }
.fw-receiver-primary:disabled,.fw-receiver-secondary:disabled { cursor:wait; opacity:.45; }
.fw-receiver-dismiss { font-size:12px; line-height:1.6; padding:4px; color:var(--muted-foreground); cursor:pointer; }
.fw-receiver-warning { padding:12px; border-radius:12px; border:1px solid var(--border); font-size:13px; line-height:1.7; background:var(--muted); }
.fw-receiver-error { color:var(--destructive); font-size:13px; line-height:1.65; display:grid; gap:10px; }
.fw-receiver-connect { display:grid; gap:14px; }
.fw-receiver-code { display:flex; align-items:center; justify-content:space-between; gap:8px; border:1px solid var(--border); background:var(--muted); border-radius:12px; padding:14px; }
.fw-receiver-code code { font-size:18px; letter-spacing:.08em; font-weight:700; user-select:all; }
.fw-receiver-code button { font-size:12px; padding:6px 8px; border-radius:8px; border:1px solid var(--border); cursor:pointer; }
.fw-receiver-banner { position:fixed; bottom:max(16px,env(safe-area-inset-bottom)); left:16px; right:16px; z-index:40; margin:auto; display:flex; align-items:center; justify-content:space-between; max-width:440px; gap:12px; border:1px solid var(--border); border-radius:16px; padding:14px 16px; background:var(--card); color:var(--foreground); box-shadow:0 6px 24px #0002; font-size:13px; line-height:1.5; }
.fw-receiver-banner button { flex-shrink:0; font-weight:650; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.fw-receiver-section { margin-top:20px; padding:20px; border:1px solid var(--border); background:var(--card); border-radius:16px; display:grid; gap:12px; }
.fw-receiver-section h2 { display:flex; align-items:center; gap:8px; font-size:15px; font-weight:650; }
.fw-receiver-section h2 svg { width:16px; height:16px; }
.fw-receiver-dialog button:focus-visible,.fw-receiver-dialog a:focus-visible,.fw-receiver-banner button:focus-visible,.fw-receiver-section button:focus-visible { outline:2px solid var(--ring); outline-offset:3px; }
@media(max-width:420px) { .fw-receiver-dialog { padding:24px 20px; } .fw-receiver-title { font-size:21px; } }
@media(prefers-reduced-motion:reduce) { .fw-receiver-dialog { animation:none!important; transition:none!important; } }
