@import url("/assets/brand/paper-flame-brand.css?v=paper-flame-20261019");
:root{
  --flameseek-shell-bg:#f7f3ec;
  --flameseek-shell-paper:#fbf8f2;
  --flameseek-shell-ink:#121713;
  --flameseek-shell-muted:#6f706b;
  --flameseek-shell-line:#ded8cf;
  --flameseek-shell-accent:#b5522f;
  --flameseek-shell-accent-dark:#8f3e25;
  --flameseek-shell-terracotta:#b86c4e;
  --flameseek-shell-wine:#8d3249;
  --flameseek-shell-green:#244f42;
  --flameseek-shell-blue:#285a70;
  --flameseek-shell-shadow:0 8px 28px rgba(20,20,15,.06);
  --flameseek-shell-radius:18px;
  --flameseek-shell-max:1520px;
}
body.flameseek-v12-framed{
  background:
    radial-gradient(circle at 6% 0%,rgba(181,82,47,.035),transparent 26%),
    radial-gradient(circle at 94% 28%,rgba(36,79,66,.035),transparent 24%),
    var(--flameseek-shell-bg)!important;
  color:var(--flameseek-shell-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body>header.fs-header.flameseek-legacy-header:not(.flameseek-legacy-header--functional),
body>header.search-header.flameseek-legacy-header{display:none!important}
body>header.fs-header.flameseek-legacy-header--functional{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  max-width:var(--flameseek-shell-max);
  min-height:0!important;
  margin:0 auto!important;
  padding:28px 24px 0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body>header.fs-header.flameseek-legacy-header--functional .fs-top,
body>header.fs-header.flameseek-legacy-header--functional .fs-scopes{display:none!important}
body>header.fs-header.flameseek-legacy-header--functional .fs-search-area{
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
.global-header.flameseek-global-shell{
  position:sticky;top:0;z-index:1000;
  color:var(--flameseek-shell-ink);
  background:rgba(247,243,236,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--flameseek-shell-line);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.global-header.flameseek-global-shell *{box-sizing:border-box}
.global-header .header-inner{
  max-width:var(--flameseek-shell-max);
  min-height:78px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(160px,190px) minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:0 20px;
}
.global-header .brand{
  border:0;background:transparent;padding:0;
  color:var(--flameseek-shell-ink);text-decoration:none;
  font-size:30px;font-weight:800;letter-spacing:-1.2px;line-height:1;
}
.global-header .brand span{color:var(--flameseek-shell-accent)}
.global-header .topnav{
  display:flex;align-items:center;justify-content:center;gap:3px;
  overflow:visible;flex-wrap:nowrap;
}
.global-header .nav-btn{
  position:relative;
  border:0;background:transparent;color:#292c28;
  padding:10px 10px;border-radius:999px;font-size:13px;font-weight:650;
  text-decoration:none;white-space:nowrap;
}
.global-header .nav-btn.active{
  background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.05),0 5px 18px rgba(0,0,0,.06);
}
.global-header .nav-btn.active:after{
  content:"";position:absolute;left:50%;bottom:4px;width:14px;height:1.5px;
  border-radius:2px;background:var(--flameseek-shell-accent);
  transform:translateX(-50%);opacity:.55;
}
.global-header .right-actions{display:flex;gap:10px;align-items:center}
.global-header .flamep-link{
  border:1px solid var(--flameseek-shell-accent);background:transparent;color:var(--flameseek-shell-accent-dark);
  border-radius:999px;padding:10px 14px;font:800 13px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  text-decoration:none;white-space:nowrap;
}
.global-header .flamep-link:hover{background:rgba(181,82,47,.08)}
.global-header .lang{
  border:1px solid var(--flameseek-shell-line);background:#fff;color:var(--flameseek-shell-ink);
  border-radius:999px;padding:10px 12px;font:700 13px/1 Inter,ui-sans-serif,system-ui,sans-serif;
}
.global-header .world-btn{
  border:1px solid var(--flameseek-shell-line);background:#fff;color:var(--flameseek-shell-ink);
  border-radius:999px;padding:8px 13px 8px 9px;
  display:flex;align-items:center;gap:10px;font:750 14px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  box-shadow:0 4px 14px rgba(0,0,0,.035);
}
.global-header .world-mark{
  width:34px;height:34px;border-radius:50%;position:relative;flex:0 0 auto;
  background:rgba(181,82,47,.12);overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(181,82,47,.08);
}
.global-header .world-mark:before{
  content:"";position:absolute;width:15px;height:15px;border-radius:50%;
  border:2px solid var(--flameseek-shell-terracotta);left:9px;top:5px;
}
.global-header .world-mark:after{
  content:"";position:absolute;width:20px;height:2px;background:var(--flameseek-shell-terracotta);
  transform:rotate(-54deg);left:7px;top:18px;border-radius:2px;
}
.global-header .world-btn.logged-in .world-mark{background:rgba(36,79,66,.1)}
.global-header .world-btn.logged-in .world-mark:before{border-color:var(--flameseek-shell-green)}
.global-header .world-btn.logged-in .world-mark:after{background:var(--flameseek-shell-green)}
.global-header .world-copy{display:flex;flex-direction:column;line-height:1.05;text-align:left}
.global-header .world-copy strong{font-size:13px}
.global-header .world-copy small{font-size:10px;color:var(--flameseek-shell-muted);font-weight:650;margin-top:3px}
.global-header button,.global-header a{cursor:pointer}
.global-header button:focus-visible,.global-header a:focus-visible,
.flameseek-world-dialog button:focus-visible,.flameseek-world-dialog a:focus-visible{
  outline:3px solid var(--flameseek-shell-blue);outline-offset:3px;
}
.flameseek-v12-intro{
  max-width:var(--flameseek-shell-max);
  margin:0 auto;
  padding:58px 24px 0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.flameseek-v12-intro *{box-sizing:border-box}
.flameseek-v12-intro .hero{
  display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end;position:relative;
  max-width:none;width:auto;margin:0;padding:0;text-align:left;
}
.flameseek-v12-intro .hero-copy{position:relative;z-index:2}
.flameseek-v12-intro .eyebrow{
  font-size:12px;font-weight:800;letter-spacing:.18em;color:#6f6860;text-transform:uppercase;
}
.flameseek-v12-intro h1{
  color:var(--flameseek-shell-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:58px;line-height:.98;letter-spacing:-2.2px;margin:10px 0 18px;
}
.flameseek-v12-intro .hero-copy>p{
  font-size:20px;line-height:1.45;max-width:720px;margin:0;color:#2d302d;
}
.flameseek-v12-intro .hero-art-wrap{
  position:relative;min-height:210px;display:flex;align-items:center;justify-content:flex-end;overflow:hidden;
}
.flameseek-v12-intro .hero-art{width:350px;height:236px;opacity:.17;transform:translate(24px,8px)}
.flameseek-v12-intro .hero-art .line{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.flameseek-v12-intro .hero-art .thin{stroke-width:1.2}
.flameseek-v12-intro .hero-art .fill{fill:currentColor;stroke:none}
.flameseek-v12-intro .hero-art .ghost{opacity:.38}
.flameseek-v12-intro .hero-art.web{color:var(--flameseek-shell-blue)}
.flameseek-v12-intro .hero-art.curated{color:var(--flameseek-shell-terracotta)}
.flameseek-v12-intro .hero-art.worlds{color:var(--flameseek-shell-wine)}
.flameseek-v12-intro .hero-art.news{color:#111}
.flameseek-v12-intro .hero-art.local{color:var(--flameseek-shell-green)}
.flameseek-v12-intro .scope-card{
  position:absolute;right:0;bottom:-16px;width:min(390px,92%);
  background:rgba(255,255,255,.82);backdrop-filter:blur(10px);
  border:1px solid var(--flameseek-shell-line);border-radius:var(--flameseek-shell-radius);
  padding:18px 19px 17px;box-shadow:var(--flameseek-shell-shadow);z-index:3;
}
.flameseek-v12-intro .scope-card strong{display:block;font-size:13px;margin-bottom:7px}
.flameseek-v12-intro .scope-card p{font-size:14px;color:var(--flameseek-shell-muted);margin:0;line-height:1.45}
body.flameseek-v12-framed[data-flameseek-section="web"] .search-mode-switch,
body.flameseek-v12-framed[data-flameseek-section="curated"] .search-mode-switch,
body.flameseek-v12-framed[data-flameseek-section="web"] .search-intro,
body.flameseek-v12-framed[data-flameseek-section="curated"] .search-intro{display:none!important}
body.flameseek-v12-framed[data-flameseek-section="web"] #space-search,
body.flameseek-v12-framed[data-flameseek-section="curated"] #space-search{
  margin-top:40px;
}
.flameseek-world-dialog{
  width:min(520px,calc(100% - 40px));padding:28px;
  color:var(--flameseek-shell-ink);background:var(--flameseek-shell-paper);
  border:1px solid var(--flameseek-shell-line);border-radius:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.2);
  position:relative;overflow:hidden;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.flameseek-world-dialog:after{
  content:"";position:absolute;width:160px;height:160px;
  border:1.5px solid rgba(181,82,47,.12);border-radius:50%;right:-56px;bottom:-56px;
}
.flameseek-world-dialog::backdrop{background:rgba(20,18,15,.36)}
.flameseek-world-dialog .modal-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;position:relative;z-index:2}
.flameseek-world-dialog .eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:#6f6860;text-transform:uppercase}
.flameseek-world-dialog h2{font:32px/1 Georgia,"Times New Roman",serif;margin:0}
.flameseek-world-dialog .close{border:1px solid var(--flameseek-shell-line);background:#fff;width:36px;height:36px;border-radius:50%;font-size:18px}
.flameseek-world-dialog p{color:#565b56;line-height:1.55;position:relative;z-index:2}
.flameseek-world-dialog .modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;position:relative;z-index:2}
.flameseek-world-dialog .primary,.flameseek-world-dialog .secondary{
  border-radius:12px;padding:12px 16px;font-weight:800;text-decoration:none;
}
.flameseek-world-dialog .primary{border:0;background:var(--flameseek-shell-accent);color:#fff}
.flameseek-world-dialog .secondary{border:1px solid var(--flameseek-shell-line);background:#fff;color:var(--flameseek-shell-ink)}
@media(max-width:1320px){
  .global-header .header-inner{
    min-height:70px;grid-template-columns:1fr auto;
    grid-template-areas:"brand actions" "nav nav";gap:10px;padding:12px 16px 10px;
  }
  .global-header .brand{grid-area:brand;font-size:25px}
  .global-header .topnav{grid-area:nav;justify-content:center;width:100%;padding-bottom:2px;flex-wrap:wrap}
  .global-header .right-actions{grid-area:actions}
}
@media(max-width:900px){
  .global-header .topnav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .global-header .nav-btn{text-align:center;white-space:normal}
  .global-header .world-copy small{display:none}
  .global-header .lang{display:none}
  .flameseek-v12-intro{padding:38px 16px 0}
  .flameseek-v12-intro .hero{grid-template-columns:1fr;gap:0}
  .flameseek-v12-intro h1{font-size:43px}
  .flameseek-v12-intro .hero-art-wrap{min-height:145px;margin-top:14px}
  .flameseek-v12-intro .hero-art{width:255px;height:172px;opacity:.14}
  .flameseek-v12-intro .scope-card{bottom:0;left:0;right:auto;width:100%}
}
@media(max-width:520px){
  .global-header .topnav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .global-header .flamep-link{padding:9px 11px}
  .global-header .world-btn{padding:6px 9px 6px 7px}
  .global-header .world-mark{width:30px;height:30px;transform:scale(.88)}
  .global-header .nav-btn{padding:9px 12px}
  body>header.fs-header.flameseek-legacy-header--functional{padding:22px 16px 0!important}
}
@media(prefers-reduced-motion:reduce){
  .global-header *,.flameseek-world-dialog *{scroll-behavior:auto!important}
}

/* Keep the FlameP return action reachable on touch screens. */
.global-header .flamep-link{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
