/* =====================================================================
   WoW Forever: what static/forever/welcome.js adds after load (welcome session, 2026-11-27).
   Loaded at the end of every Forever page by forever_web/welcome.py. Tokens come from forever.css (body.fv);
   every value has a fallback, because the profession pages load their own stylesheet only.
   What templates/forever.html paints before first paint (welcome strip, since-last-visit bar, next steps)
   is styled at the end of forever.css instead, so it never restyles after first paint.
   ===================================================================== */
/* phones: search button once the house bar has scrolled away (bottom left; the feedback button sits bottom right) */
.fv-sfab{position:fixed;left:max(14px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));z-index:60;
  display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid var(--fv-line-3,rgba(214,177,120,.44));
  background:linear-gradient(180deg,#2a211a,#17120e);color:var(--fv-gold,#f3c95f);box-shadow:0 10px 26px -10px rgba(0,0,0,.9);
  cursor:pointer;opacity:0;transform:translateY(14px) scale(.9);pointer-events:none;transition:opacity .2s,transform .25s cubic-bezier(.2,.7,.2,1)}
.fv-sfab.on{opacity:1;transform:none;pointer-events:auto}
@media (min-width:761px){.fv-sfab{display:none}}
html[data-fv-codex="open"] .fv-sfab{display:none}

/* other Forever pages: "Keep going" above the footer */
.fv-keep{max-width:var(--fv-max,1720px);margin:40px auto 0;padding:0 var(--fv-gut,28px);box-sizing:border-box;display:grid;gap:14px}
.fv-keep-h h2{margin:0;font:700 19px/1.2 var(--fv-f-ui,'Philosopher',system-ui,sans-serif);color:var(--fv-gold,#f3c95f)}
.fv-keep-h p{margin:5px 0 0;font:400 13.5px/1.5 var(--fv-f-body,'Outfit',system-ui,sans-serif);color:var(--fv-ink-3,#978a73)}
.fv-keep-f{display:flex;gap:8px;max-width:640px}
.fv-keep-f input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:9px;border:1px solid var(--fv-line-2,rgba(214,177,120,.24));
  background:var(--fv-inset,#0d0b09);color:var(--fv-ink,#f3e9d7);font:400 14.5px var(--fv-f-body,'Outfit',system-ui,sans-serif)}
.fv-keep-f input:focus{outline:none;border-color:var(--fv-gold,#f3c95f)}
.fv-keep-f button{flex:none;height:44px;padding:0 18px;border-radius:9px;border:1px solid rgba(243,201,95,.5);cursor:pointer;
  background:linear-gradient(180deg,#30261c,#1f1812);color:var(--fv-gold-2,#ffdf8e);font:700 14px var(--fv-f-ui,'Philosopher',system-ui,sans-serif)}
.fv-keep-f button:hover{border-color:var(--fv-gold,#f3c95f)}
.fv-keep-r{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.fv-keep-r::-webkit-scrollbar{display:none}
.fv-keep-r>span{flex:none;margin-right:3px;font:600 10.5px/1 var(--fv-f-body,'Outfit',system-ui,sans-serif);letter-spacing:.09em;text-transform:uppercase;color:var(--fv-ink-4,#6e6354)}
.fv-keep-i{flex:none;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px 0 6px;border:1px solid var(--fv-line,rgba(214,177,120,.12));
  border-radius:999px;background:var(--fv-inset,#0d0b09);text-decoration:none}
.fv-keep-i:hover{border-color:var(--fv-line-3,rgba(214,177,120,.44))}
.fv-keep-i img{width:18px;height:18px;border-radius:4px}
.fv-keep-i span{font:700 13px/1 var(--fv-f-ui,'Philosopher',system-ui,sans-serif);color:var(--qc,#f1eadc)}
.fv-keep-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.fv-keep-c{position:relative;display:grid;gap:4px;padding:13px 36px 13px 15px;border-radius:10px;border:1px solid var(--fv-line,rgba(214,177,120,.12));
  background:linear-gradient(180deg,var(--fv-panel-2,#1b1612),var(--fv-panel,#14100d));text-decoration:none;transition:border-color .2s,transform .2s}
.fv-keep-c:hover{border-color:var(--fv-line-3,rgba(214,177,120,.44));transform:translateY(-1px)}
.fv-keep-c b{font:700 15px/1.2 var(--fv-f-ui,'Philosopher',system-ui,sans-serif);color:var(--fv-ink,#f3e9d7)}
.fv-keep-c span{font:400 12.5px/1.4 var(--fv-f-body,'Outfit',system-ui,sans-serif);color:var(--fv-ink-3,#978a73)}
.fv-keep-c svg{position:absolute;right:13px;top:50%;margin-top:-7px;color:var(--fv-bronze,#c9a36b)}
@media (max-width:760px){.fv-keep{padding:0 16px;margin-top:30px}.fv-keep-g{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.fv-sfab,.fv-keep-c,.fv-next-t{transition:none}}

/* item pages: "Share / Embed" in #fvEmbedSlot (a popover, nothing moves) */
.fv-embed-slot{position:relative}
.fv-share-b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:74px;height:100%;min-height:58px;padding:6px 12px;
  border-radius:var(--fv-r,10px);border:1px solid var(--fv-line,rgba(214,177,120,.12));background:linear-gradient(180deg,var(--fv-panel-2,#1b1612),var(--fv-panel,#14100d));
  color:var(--fv-ink-2,#cdbfa7);font:600 12px/1 var(--fv-f-body,'Outfit',system-ui,sans-serif);cursor:pointer;transition:border-color .2s,color .2s}
.fv-share-b:hover,.fv-share-b[aria-expanded="true"]{border-color:var(--fv-line-3,rgba(214,177,120,.44));color:var(--fv-gold,#f3c95f)}
.fv-share-p{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(380px,calc(100vw - 32px));padding:14px 14px 12px;border-radius:12px;
  border:1px solid var(--fv-line-3,rgba(214,177,120,.44));background:linear-gradient(180deg,#221b15,#14100d);box-shadow:0 22px 48px -18px #000}
.fv-share-p[hidden]{display:none}
.fv-share-h{margin:0 0 7px;font:700 13.5px/1.2 var(--fv-f-ui,'Philosopher',system-ui,sans-serif);color:var(--fv-gold,#f3c95f)}
.fv-share-h~.fv-share-h{margin-top:13px}
.fv-share-n{margin:-2px 0 7px;font:400 12px/1.4 var(--fv-f-body,'Outfit',system-ui,sans-serif);color:var(--fv-ink-3,#978a73)}
.fv-share-row{display:flex;align-items:stretch;gap:6px}
.fv-share-row>span{align-self:center;font:600 11px/1 var(--fv-f-body,'Outfit',system-ui,sans-serif);letter-spacing:.08em;text-transform:uppercase;color:var(--fv-ink-4,#6e6354)}
.fv-share-row input,.fv-share-row textarea{flex:1;min-width:0;padding:7px 9px;border-radius:7px;border:1px solid var(--fv-line-2,rgba(214,177,120,.24));background:var(--fv-inset,#0d0b09);
  color:var(--fv-ink-2,#cdbfa7);font:400 12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;resize:none}
.fv-share-row button{flex:none;padding:0 11px;border-radius:7px;border:1px solid rgba(243,201,95,.45);background:rgba(243,201,95,.08);color:var(--fv-gold-2,#ffdf8e);
  font:600 12px var(--fv-f-body,'Outfit',system-ui,sans-serif);cursor:pointer}
.fv-share-more{display:inline-flex;align-items:center;gap:6px;margin-top:11px;font:600 12px/1 var(--fv-f-body,'Outfit',system-ui,sans-serif);color:var(--fv-bronze,#c9a36b);text-decoration:none}
.fv-share-more:hover{color:var(--fv-gold,#f3c95f)}
@media (max-width:760px){.fv-share-b{min-width:58px;padding:6px 8px}.fv-share-b span{font-size:11px}}
