.rainbow-shortcut-open{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;border:1px solid var(--line,#e1e4da);border-radius:10px;background:var(--soft,#edf0e7);color:var(--green,#455f4b);font:inherit;font-size:13px;line-height:1.6;cursor:pointer}
.mobile-start-links .rainbow-shortcut-open{padding:0;border:0;border-radius:0;background:transparent;text-decoration:underline;text-underline-offset:4px}
.site-footer-nav .rainbow-shortcut-open{justify-content:flex-start;width:fit-content;padding:0;border:0;background:transparent;text-align:left;font-size:12px}
.rainbow-shortcut-open[hidden]{display:none!important}
.rainbow-shortcut{box-sizing:border-box;width:min(500px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:24px;border:1px solid var(--line,#e1e4da);border-radius:22px;background:var(--paper,#fbfaf6);color:var(--ink,#303e35);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #172a2433;font:14px/1.8 var(--sans,sans-serif);text-align:left}
.rainbow-shortcut::backdrop{background:#1a292466;backdrop-filter:blur(3px)}
.rainbow-shortcut header{position:sticky;top:-24px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-24px -24px 12px;padding:16px 24px 10px;background:var(--paper,#fbfaf6)}
.rainbow-shortcut header small{font-size:11px;color:var(--muted,#737b71)}
.rainbow-shortcut h2{margin:4px 0 0;font-size:23px;line-height:1.5}
.rainbow-shortcut header button{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--soft,#edf0e7);color:var(--green,#455f4b);font:26px/1 sans-serif}
.rainbow-shortcut p{margin:12px 0;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.rainbow-shortcut-preview{display:flex;align-items:center;gap:14px;margin:16px 0;padding:14px;border:1px solid var(--line,#e1e4da);border-radius:14px;background:var(--soft,#edf0e7)}
.rainbow-shortcut-preview img{flex:none;width:64px;height:64px;border-radius:12px}
.rainbow-shortcut-preview strong{display:block;font-size:16px;overflow-wrap:anywhere}
.rainbow-shortcut-preview p{margin:4px 0 0;font-size:12px}
.rainbow-shortcut-copy{display:flex;gap:8px;margin:14px 0}
.rainbow-shortcut-copy input{box-sizing:border-box;min-width:0;flex:1;width:0;margin:0;padding:8px 10px;border:1px solid var(--line,#e1e4da);border-radius:10px;background:#fff;color:var(--ink,#303e35);font:16px/1.7 sans-serif}
.rainbow-shortcut-copy button{flex:none;min-height:44px;padding:8px 12px;border:1px solid var(--green,#455f4b);border-radius:10px;background:var(--green,#455f4b);color:#fff;font-size:12px}
.rainbow-shortcut-status:empty{display:none}
.rainbow-shortcut .space-shortcut-steps details{border-top:1px solid var(--line,#e1e4da)}
.rainbow-shortcut .space-shortcut-steps details:last-child{border-bottom:1px solid var(--line,#e1e4da)}
.rainbow-shortcut .space-shortcut-steps summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:14px;font-weight:600}
.rainbow-shortcut .space-shortcut-steps ol{margin:0 0 14px;padding-left:22px;font-size:13px;line-height:1.8}
.rainbow-shortcut .space-shortcut-steps li{padding:3px 0}
.rainbow-shortcut .space-shortcut-steps a{color:var(--green,#455f4b);text-decoration:underline;text-underline-offset:3px}
.rainbow-shortcut .space-shortcut-browser-note,.rainbow-shortcut .rainbow-shortcut-note{color:var(--muted,#737b71);font-size:12px}
.rainbow-shortcut :focus-visible,.rainbow-shortcut-open:focus-visible{outline:3px solid #bc8350;outline-offset:3px}
body:has(.rainbow-shortcut[open]){overflow:hidden}
@media(max-width:600px){.rainbow-shortcut{width:calc(100% - 16px);max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));inset:auto 0 max(8px,env(safe-area-inset-bottom));margin:0 auto;padding:16px;border-radius:20px}.rainbow-shortcut header{top:-16px;margin:-16px -16px 10px;padding:12px 16px 10px}.rainbow-shortcut h2{font-size:21px}.rainbow-shortcut-preview{padding:12px;gap:10px}}
@media print{.rainbow-shortcut-open,.rainbow-shortcut{display:none!important}}

/* Keep the guide immediately after login, before registration. */
.site-header .rainbow-header-shortcut { flex:none; gap:7px; white-space:nowrap; }
.site-header .rainbow-header-shortcut svg { flex:none; width:16px; height:16px; }
@media(max-width:1440px) {
  .site-header .rainbow-header-shortcut { width:44px; height:44px; padding:0; justify-content:center; }
  .site-header .rainbow-header-shortcut [data-shortcut-label] { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
