#ftueOverlay { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:transparent; color:#f8edd6; overflow:hidden; }
#ftueOverlay::backdrop { background:#07131138; }
.ftue-box { position:absolute; left:50%; transform:translateX(-50%); width:min(620px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); box-sizing:border-box; display:flex; gap:16px; padding:18px; border:1px solid #72b6ff; border-left:4px solid #91ccff; border-radius:3px; background:rgba(18,66,159,.96); box-shadow:0 8px 36px #0009; }
.ftue-guide { flex:0 0 96px; align-self:center; }
.ftue-presenter-right .ftue-guide { order:2; }
.ftue-presenter-right .ftue-copy { order:1; }
#ftueOverlay .ftue-portrait { display:block; width:96px; height:96px; min-width:96px; max-width:96px; box-sizing:border-box; margin:0; border:2px solid #a6d6ff; border-radius:4px; background-repeat:no-repeat; }
.ftue-guide-name { display:block; max-width:96px; margin-top:6px; text-align:center; font:12px/1.3 sans-serif; color:#e2edff; overflow-wrap:anywhere; }
#ftueDock { display:none; }
@media(min-width:1000px) {
  .ftue-three #ftueDock { position:fixed; z-index:35; display:none; visibility:visible; top:64px; left:50%; width:min(560px,calc(100vw - 32px)); transform:translateX(-50%); pointer-events:none; }
  .ftue-three #ftueDock.ftue-dock-visible { display:block; }
}
.ftue-reminder { display:flex; align-items:flex-start; gap:14px; padding:14px 16px; border:1px solid #7aa8d8; border-radius:8px; background:rgba(10,31,72,.92); box-shadow:0 5px 22px #0008; color:#eff6ff; pointer-events:auto; }
.ftue-reminder-guide { flex:0 0 76.8px; text-align:center; }
.ftue-reminder-guide .ftue-portrait { display:block; box-sizing:border-box; width:76.8px; height:76.8px; border:2px solid #9fd4ff; border-radius:50%; background-repeat:no-repeat; }
.ftue-reminder-guide .ftue-guide-name { display:none; }
.ftue-reminder-content { min-width:0; flex:1; }
.ftue-reminder-label { color:#f5d98b; font:700 15px/1.2 var(--font-ui,sans-serif); }
.ftue-reminder-hint { margin:3px 0 7px; color:#bcd8f5; font:11px/1.2 var(--font-ui,sans-serif); text-transform:uppercase; letter-spacing:.04em; }
.ftue-checklist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px 8px; max-height:180px; overflow:auto; }
.ftue-checklist-item { display:flex; align-items:center; gap:5px; min-width:0; padding:3px 4px; border:0; border-radius:3px; background:transparent; color:#e5effb; text-align:left; font:12px/1.3 var(--font-ui,sans-serif); cursor:pointer; }
.ftue-checklist-item:hover,.ftue-checklist-item.is-active { background:#4f78a966; color:#fff; }
.ftue-checklist-item.is-done { color:#8fa8bb; text-decoration:line-through; }
.ftue-checklist-item.is-done .ftue-checkmark { color:#9ee6ae; text-decoration:none; }
.ftue-checklist-item.is-active { outline:1px solid #9fd4ff; }
.ftue-checkmark { flex:0 0 14px; color:#f5d98b; font-weight:800; text-align:center; }
#legalActions .action-button.ftue-action-target { position:relative; z-index:1; border-color:#83d2ff; border-style:dashed; outline:2px dashed #83d2ff; outline-offset:-3px; box-shadow:0 0 0 2px #72b6ff66,0 0 14px #72b6ff44; animation:ftue-guided-action 1.15s ease-in-out infinite; }
#legalActions .action-button.ftue-action-target .action-title strong { color:#b9e2ff; }
#legalActions .action-button.ftue-action-muted { opacity:.36; filter:saturate(.35); cursor:not-allowed; pointer-events:none; }
#legalActions .action-button.ftue-action-muted * { pointer-events:none; }
@keyframes ftue-guided-action { 0%,100% { box-shadow:0 0 0 2px #72b6ff66,0 0 10px #72b6ff33; } 50% { box-shadow:0 0 0 4px #83d2ffaa,0 0 22px #72b6ff99; } }
.ftue-copy { min-width:0; min-height:0; flex:1; overflow:auto; }
#ftueOverlay .ftue-box { position:fixed; max-height:min(300px,calc(100dvh - 32px)); contain:layout; }
#ftueOverlay .ftue-copy { display:flex; flex-direction:column; overflow:hidden; }
#ftueOverlay #ftueBody { min-height:0; overflow-y:auto; }
#ftueOverlay .ftue-copy footer { flex-shrink:0; }
#ftueOverlay .ftue-box.ftue-with-examples { display:block; max-height:calc(100dvh - 32px); }
.ftue-with-examples .ftue-guide { float:left; width:72px; margin:0 16px 8px 0; }
.ftue-with-examples.ftue-presenter-right .ftue-guide { float:right; margin:0 0 8px 16px; }
#ftueOverlay .ftue-with-examples .ftue-portrait { width:72px; height:72px; min-width:72px; max-width:72px; }
.ftue-with-examples .ftue-guide-name { max-width:72px; }
#ftueOverlay .ftue-with-examples .ftue-copy { display:block; overflow:visible; }
#ftueOverlay .ftue-with-examples #ftueBody { overflow:visible; }
.ftue-with-examples .ftue-set-examples { clear:both; padding-top:8px; }
.ftue-with-examples footer { clear:both; }
.ftue-copy h2 { font:21px var(--font-title); color:#f5d98b; margin:0 0 8px; }
.ftue-copy p { font:15px/1.45 var(--font-body, sans-serif); margin:0 0 12px; }
.ftue-copy p strong { color:#fff7d6; font-weight:800; }
.ftue-rich-gold { color:#f7d477; font-weight:700; }
.ftue-rich-blue { color:#9dd8ff; font-weight:700; }
.ftue-rich-warn { color:#ffb28f; font-weight:700; }
.ftue-rich-joy { color:#b8f5bd; font-weight:700; }
.ftue-rich-muted { color:#c6d6ef; font-style:italic; }
.ftue-copy footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
.ftue-copy small { margin-right:auto; font:10px monospace; color:#c4dcff; }
.ftue-copy button { min-height:40px; font-size:13px; border-radius:3px; }
#ftueSkip { color:#fff; background:#123473; border-color:#8bb9ff; }
#ftueNext { background:#cfb16c; color:#16201b; }
.ftue-set-examples { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-top:12px; }
.ftue-set-example { display:flex; flex-direction:column; gap:5px; text-align:center; font:11px/1.3 sans-serif; }
.ftue-set-example img { width:28px; height:38px; object-fit:contain; background:#cfbd93; border:1px solid #201e1a; border-radius:3px; }
.ftue-inline-icon { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; margin-right:4px; vertical-align:middle; color:#f5d98b; font:16px/1 sans-serif; }
.ftue-inline-icon img,.ftue-inline-icon svg,.ftue-inline-icon .action-icon { width:18px; height:18px; object-fit:contain; }
.ftue-example-sigil img { width:20px; height:20px; background:#237f9a; border-radius:50%; }
#ftueBody { white-space:pre-line; }
.ftue-turn-flow { display:flex; clear:both; align-items:center; justify-content:space-between; gap:6px; padding-top:12px; white-space:normal; }
.ftue-turn-flow > span { display:flex; align-items:center; gap:4px; font:12px/1.3 sans-serif; }
.ftue-turn-flow .action-icon,.ftue-turn-optional .action-icon { flex:none; width:20px; height:20px; }
.ftue-turn-flow svg,.ftue-turn-optional svg { width:20px; height:20px; }
.ftue-turn-optional { display:flex; align-items:center; gap:6px; margin-top:8px; color:#f5d98b; font:12px/1.3 sans-serif; }
.ftue-pointers { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.ftue-pointers rect, .ftue-pointers g path { fill:none; stroke:#f5d98b; stroke-width:2; stroke-dasharray:6 4; }
@media(max-width:600px) { .ftue-box { gap:10px; padding:12px; } .ftue-guide { flex-basis:64px; } #ftueOverlay .ftue-portrait { width:64px; height:64px; min-width:64px; max-width:64px; } .ftue-copy p { font-size:14px; } .ftue-copy h2 { font-size:18px; } }
@media(max-width:999px) { #ftueDock.ftue-dock-visible { display:block; position:fixed; z-index:35; left:8px; right:8px; bottom:8px; } .ftue-reminder { position:relative; } .ftue-checklist { max-height:128px; } }
