:root{--navy:#101b2a;--navy-deep:#0a111c;--navy-alt:#17273b;--navy-soft:#1c2b3e;--border:#334051;--gold:#c9a666;--gold-bright:#e7ca8d;--gold-dark:#8d724c;--ivory:#f0e9d9;--muted:#b7b7b6;--low:#8d99a9;--serif:'Cormorant Garamond',Georgia,serif;--sans:'Nunito Sans',system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--navy-deep);color:var(--ivory);font:15px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}::selection{background:#b79658;color:#111c2a}:focus-visible{outline:3px solid var(--gold-bright);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-shell{min-height:100vh;overflow:hidden;background:radial-gradient(ellipse 70% 32% at 50% 8%,rgba(53,78,94,.25),transparent 72%),var(--navy-deep)}.site-header{height:92px;padding:0 max(32px,calc((100vw - 1220px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(202,170,105,.24);gap:24px;background:#0c1420}.brand{display:flex;align-items:center;gap:14px;text-decoration:none}.brand-seal{width:46px;height:51px;display:grid;place-items:center;border:1px solid var(--gold);color:var(--gold-bright);font:600 29px var(--serif);clip-path:polygon(50% 0,93% 17%,93% 70%,50% 100%,7% 70%,7% 17%);background:rgba(195,153,80,.07)}.brand-lockup{display:flex;flex-direction:column;gap:2px}.brand-lockup strong{font-size:12px;letter-spacing:.17em;white-space:nowrap}.brand-lockup strong span{font-size:9px;color:var(--gold)}.brand-lockup small{font-size:9px;letter-spacing:.25em;color:var(--low)}.header-actions{display:flex;align-items:center;gap:22px}.text-link{text-decoration:none;color:#d0c6b5;font-size:12px}.text-link:hover{color:var(--gold-bright)}.preview-chip{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);border:1px solid #725d41;border-radius:100px;padding:7px 12px}
.hero{position:relative;isolation:isolate;max-width:1320px;margin:auto;text-align:center;padding:104px 24px 93px;overflow:hidden}.hero::before{content:"";position:absolute;left:50%;top:4%;transform:translateX(-50%);width:500px;height:500px;border:1px solid rgba(198,158,97,.13);border-radius:50%;z-index:-1;box-shadow:0 0 0 54px rgba(198,158,97,.017),0 0 0 128px rgba(198,158,97,.008)}.hero-engraving{position:absolute;border:1px solid rgba(193,153,92,.11);width:270px;height:270px;top:130px;transform:rotate(45deg);z-index:-1}.hero-engraving-left{left:-230px}.hero-engraving-right{right:-230px}.eyebrow,.section-kicker{font-size:11px;letter-spacing:.25em;font-weight:800;color:var(--gold);margin:0}.eyebrow{display:flex;gap:18px;justify-content:center;align-items:center}.line{width:37px;height:1px;background:var(--gold-dark)}h1,h2,h3,p{margin-top:0}.hero h1{font:500 clamp(54px,7.2vw,102px)/.95 var(--serif);letter-spacing:-.035em;margin:24px auto 20px;max-width:850px}.hero h1 em{color:var(--gold-bright);font-weight:400}.hero-copy{max-width:610px;margin:0 auto;font-size:15px;line-height:1.9;color:#c5c5c2}.hero-stats{display:flex;align-items:center;justify-content:center;gap:38px;margin:47px auto 0}.hero-stats>span:not(.stat-separator){display:flex;flex-direction:column;gap:2px}.hero-stats strong{font:500 32px/1 var(--serif);color:var(--gold-bright)}.hero-stats small{font-size:10px;letter-spacing:.06em;color:var(--low)}.stat-separator{height:29px;border-left:1px solid #46505c}
.workspace{max-width:1160px;margin:auto;padding:45px 24px 85px;border-top:1px solid rgba(201,166,102,.25)}.workspace-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:23px}.workspace h2,.source-section h2{font:500 46px/1.05 var(--serif);margin:9px 0 0}.view-tabs{display:flex;gap:4px;padding:4px;background:#172437;border:1px solid #344054;border-radius:9px}.view-tab{border:0;background:transparent;border-radius:6px;padding:9px 17px;color:#aeb7bf;font-size:12px;font-weight:800}.view-tab.selected{background:#31435c;color:#f6ead4}.view-tab span{font-size:10px;color:var(--gold-bright);margin-left:3px}
.generator-panel{border:1px solid #4a4b46;background:linear-gradient(120deg,rgba(45,57,66,.35),rgba(25,40,59,.88));padding:30px;border-radius:4px;box-shadow:0 21px 55px rgba(0,0,0,.16)}.controls-top{display:grid;grid-template-columns:1fr 1.55fr;gap:20px}.control-field{display:flex;flex-direction:column;gap:9px}.control-field>span:first-child,.quantity-group legend{color:var(--gold-bright);font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:800}.control-field select,.search-wrap{background:#0f1b2a;border:1px solid #485363;color:#efebe2;border-radius:3px;min-height:51px;width:100%;outline-offset:2px}.control-field select{padding:0 14px;color:#e4dfd6;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='10' viewBox='0 0 15 10'%3E%3Cpath d='m2 2 5.5 5.5L13 2' stroke='%23d6b16e' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center;padding-right:40px}.control-field select option{background:#101b2a}.search-wrap{display:flex;align-items:center;gap:10px;padding:0 15px}.search-wrap svg{width:18px;height:18px;stroke:var(--gold);stroke-width:1.6;fill:none;flex:none}.search-wrap input{border:0;background:transparent;outline:0;color:var(--ivory);width:100%;min-width:0;font-size:13px}.search-wrap:focus-within{outline:2px solid var(--gold-bright);outline-offset:2px}.search-wrap input::placeholder{color:#78879c}.controls-bottom{display:flex;align-items:end;gap:24px;margin-top:24px}.quantity-group{border:0;padding:0;margin:0}.quantity-group legend{margin-bottom:9px}.quantity-options{display:flex;gap:7px}.quantity-options label{position:relative}.quantity-options input{position:absolute;opacity:0;inset:0}.quantity-options span{display:grid;place-items:center;min-width:49px;height:49px;border:1px solid #4b5666;color:#b8bdc2;font-weight:800;font-size:13px;border-radius:3px;cursor:pointer}.quantity-options input:checked+span{background:#524734;color:#ffe4a9;border-color:var(--gold)}.quantity-options input:focus-visible+span{outline:3px solid var(--gold-bright);outline-offset:3px}.toggle-filter{display:flex;align-items:center;gap:11px;cursor:pointer;font-size:12px;color:#d6d2cd;margin-bottom:14px}.toggle-filter input{position:absolute;opacity:0}.fake-checkbox{width:18px;height:18px;border:1px solid #87919b;border-radius:3px;display:grid;place-items:center;flex:none}.toggle-filter input:checked+.fake-checkbox{background:var(--gold);border-color:var(--gold)}.toggle-filter input:checked+.fake-checkbox::after{content:"✓";font-size:13px;color:#0e1b2a;font-weight:900}.toggle-filter input:focus-visible+.fake-checkbox{outline:3px solid var(--gold-bright);outline-offset:3px}.generate-button{margin-left:auto;min-height:51px;padding:0 22px;border:1px solid #d3b781;background:linear-gradient(125deg,#e9cf97,#be9559);color:#192334;font-size:13px;font-weight:900;letter-spacing:.03em;display:flex;gap:18px;align-items:center;justify-content:center;transition:filter .15s ease}.generate-button:hover{filter:brightness(1.1)}.button-ornament{font-size:21px;font-weight:400}
.results-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:65px 0 25px}.results-header h2{font-size:36px;margin:8px 0 5px}.subtle{color:#95a2b1;font-size:12px;margin:0}.subtle-action{border:1px solid #59606a;background:transparent;color:var(--gold-bright);padding:9px 15px;border-radius:3px;font-size:12px}.subtle-action:hover{background:#2a3748}.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:182px}.result-card{display:flex;flex-direction:column;min-height:194px;padding:22px 22px 17px;background:linear-gradient(145deg,#203046,#172639);border:1px solid #455064;position:relative;border-radius:3px}.result-card::before{content:"";position:absolute;left:0;top:0;width:55px;height:2px;background:var(--gold-dark)}.result-card-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.result-card h3{font:500 34px/1.1 var(--serif);color:#f4e7ce;margin:9px 0 10px;overflow-wrap:anywhere}.name-type{font-size:10px;color:var(--gold);text-transform:uppercase;font-weight:800;letter-spacing:.16em}.name-meaning{font-size:13px;line-height:1.6;color:#d2d6da;margin:3px 0 19px;flex:1;overflow-wrap:anywhere}.name-meaning strong{color:#96a3b3;font-size:10px;display:block;letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px}.result-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #394656;padding-top:13px}.result-actions span{font-size:10px;color:#909fae}.card-actions{display:flex;gap:8px}.icon-button{width:32px;height:32px;display:grid;place-items:center;background:transparent;color:#bbc2cc;border:1px solid #4a5766;border-radius:3px;font-size:16px;line-height:1}.icon-button:hover,.icon-button.active{color:var(--gold-bright);border-color:var(--gold-dark)}.icon-button.active{background:#453c2d}.message-card{grid-column:1/-1;border:1px dashed #586274;padding:54px 20px;text-align:center;color:#d0c8b8;background:#132035}.message-card h3{font:500 32px var(--serif);margin:0 0 6px}.message-card p{font-size:13px;color:var(--low);margin:0}.editorial-note{display:flex;align-items:start;gap:12px;font-size:11px;line-height:1.75;color:#8e9baa;margin:24px 0 0;max-width:930px}.notice-mark{display:grid;place-items:center;flex:none;border:1px solid #738091;border-radius:50%;width:18px;height:18px;font-family:Georgia,serif;font-style:italic}
.source-section{background:#131f2f;padding:75px max(24px,calc((100vw - 800px)/2)) 84px;border-top:1px solid #404658;border-bottom:1px solid #404658;text-align:center}.source-heading{margin-bottom:25px}.flourish{font-size:30px;color:var(--gold)}.source-section h2{font-size:45px}.source-section p{font-size:13px;color:#b8bec7;line-height:1.95;margin-bottom:14px}.source-links{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin-top:27px}.source-links a{font-size:12px;color:var(--gold-bright);text-decoration:none;border-bottom:1px solid #9b8057;padding-bottom:5px}.source-links a:hover{color:#fff1c5}.site-footer{max-width:1240px;margin:auto;padding:28px 28px 36px;display:flex;justify-content:space-between;gap:12px;color:#737e8e;font-size:9px;letter-spacing:.12em}.site-footer span:first-child{color:var(--gold-dark)}
@media(max-width:820px){.hero{padding:92px 20px 71px}.controls-bottom{flex-wrap:wrap}.toggle-filter{flex:1}.generate-button{flex-basis:100%}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{flex-direction:column;text-align:center;gap:9px}}
@media(max-width:600px){.site-header{height:auto;padding:17px 19px;gap:10px}.brand-seal{width:35px;height:39px;font-size:22px}.brand-lockup strong{font-size:9px;letter-spacing:.08em}.brand-lockup strong span{font-size:8px}.brand-lockup small{font-size:7px;letter-spacing:.12em}.header-actions .text-link{display:none}.preview-chip{font-size:8px;padding:5px 8px}.hero{padding:74px 18px 58px}.hero h1{font-size:61px;max-width:390px}.hero-copy{font-size:13px;line-height:1.85}.hero-stats{gap:14px;margin-top:39px}.hero-stats strong{font-size:24px}.hero-stats small{font-size:8px}.stat-separator{height:26px}.workspace{padding:33px 17px 65px}.workspace-heading{align-items:start;flex-direction:column;gap:16px}.workspace h2{font-size:38px}.generator-panel{padding:19px}.controls-top{grid-template-columns:1fr;gap:17px}.controls-bottom{gap:20px}.toggle-filter{flex-basis:100%;margin:0}.generate-button{margin-left:0}.results-header{margin-top:51px;align-items:start}.results-header h2{font-size:30px}.subtle-action{font-size:10px;white-space:nowrap}.result-grid{grid-template-columns:1fr}.result-card{min-height:180px}.source-section{padding:57px 19px}.source-section h2{font-size:38px}.site-footer{padding:27px 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.alternate-meaning{display:block;margin-top:10px;padding-top:9px;border-top:1px solid rgba(201,166,102,.17);font-size:11px;font-style:italic;color:#afbac5}

.free-resource{margin:17px auto 0;color:var(--gold-bright);font-size:12px;letter-spacing:.035em;font-weight:700}
.future-sources{max-width:760px;margin:31px auto 0;border-top:1px solid #475063;padding:19px 10px 0;text-align:left}
.future-sources summary{cursor:pointer;color:var(--gold-bright);font-size:13px;font-weight:700}
.future-sources summary:focus-visible{outline:3px solid var(--gold-bright);outline-offset:3px}
.future-sources p{margin:12px 0 0;font-size:12px}
.future-sources a{color:var(--gold-bright);text-decoration:underline;text-underline-offset:2px}


/* Multi-game generator: layout & text-first Legacy interface */
[hidden]{display:none!important}
.game-switch{display:grid;grid-template-columns:1fr 1fr;gap:13px;max-width:1160px;margin:32px auto 0;padding:0 24px}
.game-button{display:flex;align-items:center;gap:17px;text-align:left;border:1px solid #475567;border-radius:5px;background:#101e2d;color:var(--ivory);padding:17px 22px}
.game-button strong{font-size:13px;letter-spacing:.08em;display:block}.game-button small{font-size:11px;color:#9daeb9;display:block;margin-top:4px}
.game-button .game-icon{font-size:33px;color:var(--gold-bright);line-height:1;width:38px;text-align:center}
.game-button:hover,.game-button.active{border-color:var(--gold)}
.game-button.active{background:linear-gradient(110deg,#24354a,#142435)}
body.mode-legacy{--gold:#61c5b4;--gold-bright:#9aeee0;--gold-dark:#4c9e95;--navy-deep:#091516;--navy-alt:#152929;--ivory:#e9e2cc}
body.mode-legacy .site-shell{background:radial-gradient(circle at 70% 15%,rgba(46,122,115,.21),transparent 43%),#091416}
body.mode-legacy .site-header{background:#0a1314;border-bottom-color:#35605b}
body.mode-legacy .brand-seal{clip-path:none;border-radius:0;background:transparent}
body.mode-legacy .game-button.active{background:linear-gradient(105deg,#15322f,#0d1d20);border-color:#67baa9}
body.mode-legacy .hero h1 em{color:#a5ebe0}
body.mode-legacy .generator-panel{background:linear-gradient(125deg,#102424,#142c2b);border-color:#32605c}
body.mode-legacy .result-card{background:linear-gradient(145deg,#132c2c,#0d2020);border-color:#315450}

/* Legacy result states share the same teal/near-black palette as the
   generator controls. The generic empty card otherwise stays navy blue. */
body.mode-legacy .message-card{
  background:linear-gradient(145deg,#102424,#0c1e1e);
  border:1px dashed #38635d;
  color:#e9e2cc;
}
body.mode-legacy .message-card h3{color:#f0e9d9}
body.mode-legacy .message-card p{color:#a9c7c0}
body.mode-legacy .saved-empty{
  background:#0e2221;
  border-color:#38635d;
  color:#b3d4cb;
}
body.mode-legacy .results-header .subtle{color:#a9c7c0}
body.mode-legacy .results-header .subtle-action{
  color:#9aeee0;
  background:#102423;
  border-color:#3d6963;
}
body.mode-legacy .results-header .subtle-action:hover,
body.mode-legacy .results-header .subtle-action:focus-visible{
  background:#1b3b37;
  border-color:#67baa9;
}
body.mode-legacy .result-actions{border-top-color:#355751}
body.mode-legacy .result-actions>span{color:#a5c5bd}
body.mode-legacy .editorial-note{color:#a6c3bc}
body.mode-legacy .notice-mark{border-color:#4c8279}

body.mode-legacy .source-section{background:#102020;border-color:#315550}
body.mode-legacy .generate-button{background:linear-gradient(120deg,#7ee1ce,#3b9c91);border-color:#9aeee0;color:#071c1a}
body.mode-legacy .control-field select{background-color:#102323}
body.mode-legacy .text-control{background:#102323}
body.mode-legacy .search-wrap{background:#102323}
body.mode-legacy .view-tabs{background:#152b2b}
body.mode-legacy .view-tab.selected{background:#245b55}
body.mode-legacy .hero::before{border-color:rgba(85,186,165,.18)}
body.mode-legacy .eyebrow .line{background:#599d90}
.legacy-workspace{padding-top:25px}
.legacy-notice{font-size:11px;color:var(--gold-bright);max-width:260px;text-align:right;margin:0}
.tool-tabs{display:flex;gap:10px;align-items:center;margin-bottom:18px;padding-bottom:1px;border-bottom:1px solid #3c5d59}
.tool-tab{background:transparent;color:#a7bbb5;border:1px solid transparent;border-bottom:2px solid transparent;font-size:13px;font-weight:800;padding:12px 19px}
.tool-tab:hover{color:var(--ivory)}.tool-tab.active{color:var(--gold-bright);border-bottom-color:var(--gold)}
.legacy-tool .generator-panel{padding:24px}.legacy-tool .results-header{margin-top:35px}
.legacy-tool .result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.legacy-tool .result-card{min-height:180px}
.legacy-tool .name-type{color:var(--gold-bright)}.legacy-tool .result-card h3{font-size:31px}
.legacy-tool .result-actions{align-items:center}
.text-control{min-height:51px;width:100%;background:#101b2a;border:1px solid #485363;border-radius:3px;padding:0 14px;color:var(--ivory);outline-offset:3px}
.field-help{font-size:10px;color:#aebebb;line-height:1.6}
.result-tools{display:flex;align-items:center;gap:9px}
.legacy-secondary{font-size:14px;color:var(--gold-bright);margin:-1px 0 12px}
.anchor-question{font-size:12px;color:#bfc7bf;line-height:1.65;margin:0 0 12px}
.anchor-context{display:inline-block;color:var(--gold-bright);text-underline-offset:4px;font-size:12px;text-decoration:underline}
.status-pill{display:inline-block;border:1px solid #4d7972;border-radius:2px;color:#add3ca;padding:2px 7px;font-size:9px;letter-spacing:.07em;text-transform:uppercase}
.saved-empty{padding:35px;text-align:center;border:1px dashed #527770;color:#bcd1c9;grid-column:1/-1}
@media(max-width:700px){.game-switch{padding:0 17px;margin-top:18px;gap:8px}.game-button{padding:13px 9px;gap:6px}.game-button .game-icon{width:25px;font-size:25px}.game-button strong{font-size:9px;letter-spacing:0}.game-button small{font-size:9px;line-height:1.2}.legacy-workspace{padding-top:22px}.legacy-notice{text-align:left}.legacy-tool .result-grid{grid-template-columns:1fr}.result-tools{flex-wrap:wrap;justify-content:flex-end}.tool-tab{flex:1}}

.generator-tools{max-width:1160px;margin:30px auto 0;padding:0 24px}
.generator-tools .tool-tabs{margin-bottom:0}
.opposition-workspace{padding-top:28px}
.opposition-workspace .controls-top{grid-template-columns:1fr 1fr 1.2fr}
.opposition-mission{max-width:285px;font-size:12px;color:#abb6bb;text-align:right;line-height:1.7;margin:0}
.opposition-workspace .result-card .opposition-hook{margin-top:8px;font-size:13px;line-height:1.7;color:#ddd4c3;flex:1}
.opposition-workspace .opposition-role{color:var(--gold-bright);font-size:13px;margin:1px 0 6px}
.opposition-workspace .opposition-detail{font-size:11px;color:#a9b7bf;line-height:1.55;margin:0 0 8px}
.opposition-workspace .result-card{min-height:245px}
@media(max-width:840px){.opposition-workspace .controls-top{grid-template-columns:1fr 1fr}.opposition-workspace .controls-top .control-field:last-child{grid-column:1/-1}}
@media(max-width:600px){.generator-tools{padding:0 17px;margin-top:20px}.generator-tools .tool-tabs{display:flex;flex-wrap:wrap;gap:2px}.generator-tools .tool-tab{flex:auto;min-width:32%;font-size:11px;padding:10px 7px}.opposition-workspace .controls-top{grid-template-columns:1fr}.opposition-workspace .controls-top .control-field:last-child{grid-column:auto}.opposition-mission{text-align:left}.opposition-workspace .result-card{min-height:190px}}

/* Reference-linked headwords: evidence is per biblical referent, not per spelling. */
.scripture-evidence{border-top:1px solid rgba(192,174,128,.28);margin:11px 0 4px;padding-top:10px;display:flex;flex-direction:column;gap:6px}
.evidence-heading{font-size:11px;letter-spacing:.025em;font-weight:750;color:var(--gold-bright);margin:0}
.evidence-referent{font-size:12px;line-height:1.55;color:var(--ivory);overflow-wrap:anywhere}
.evidence-link{color:var(--gold-bright);text-decoration:underline;text-underline-offset:3px}
.evidence-link:hover{filter:brightness(1.18)}
.evidence-link:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}


/* Choice-first homepage: the generator is an action, not a product name or dashboard. */
.start-screen{max-width:1220px;margin:0 auto;padding:0 26px 73px}
.start-intro{text-align:center;max-width:820px;margin:0 auto;padding:78px 0 56px}
.start-intro h1{font:500 clamp(48px,6.3vw,87px)/1.04 var(--serif);letter-spacing:-.028em;margin:22px 0}
.start-intro h1 em{color:var(--gold-bright);font-weight:400}
.start-intro>p:last-child{max-width:650px;margin:0 auto;color:#bdc7d2;font-size:15px;line-height:1.85}
.choice-section{margin:0 0 48px}
.choice-group-heading{display:flex;align-items:center;gap:15px;margin:0 0 20px;border-bottom:1px solid rgba(202,177,128,.27);padding:0 0 17px}
.choice-group-heading h2{font:500 clamp(23px,3vw,31px)/1.2 var(--serif);margin:6px 0 0;color:#ebe4d5}
.choice-game-mark{width:50px;height:50px;flex:none;display:grid;place-items:center;border:1px solid rgba(220,181,111,.38);border-radius:11px;color:var(--gold-bright);font-size:31px;background:#18283a}
.tool-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tool-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:232px;padding:24px 25px 22px;text-align:left;cursor:pointer;background:linear-gradient(150deg,#1e334a,#132233 75%);border:1px solid #42566e;border-radius:12px;color:var(--ivory);box-shadow:0 8px 28px rgba(0,0,0,.16);transition:transform .16s ease,border-color .16s ease,background .16s ease}
.tool-choice:hover{transform:translateY(-3px);border-color:var(--gold-bright);background:linear-gradient(155deg,#293e55,#19293c)}
.tool-choice:focus-visible,.back-to-tools:focus-visible,.source-trigger:focus-visible,.footer-navigation a:focus-visible,.footer-navigation button:focus-visible,.dialog-close:focus-visible{outline:3px solid var(--gold-bright);outline-offset:4px}
.choice-icon{font-size:26px;line-height:1;color:var(--gold-bright);margin-bottom:19px}
.choice-overline{font-size:10px;color:var(--gold);font-weight:800;letter-spacing:.2em}
.tool-choice strong{font:500 29px/1.15 var(--serif);margin:8px 0 11px;color:#f5e9d5}
.choice-description{font-size:12px;line-height:1.65;color:#b8c5d0;flex:1}
.choice-action{font-size:12px;font-weight:800;color:var(--gold-bright);margin-top:21px;letter-spacing:.02em}
.legacy-choices .choice-game-mark{color:#8de5d6;border-color:#36766e;background:#102b2a}
.legacy-choices .choice-group-heading{border-bottom-color:rgba(93,189,169,.3)}
.legacy-choices .choice-section,.legacy-choices .choice-overline,.legacy-choices .choice-icon,.legacy-choices .choice-action{color:#9de9dd}
.legacy-choices .tool-choice{background:linear-gradient(145deg,#163230,#102423);border-color:#32635c}
.legacy-choices .tool-choice:hover{border-color:#9de9dd;background:linear-gradient(145deg,#204742,#15342f)}
.start-assurance{text-align:center;color:#98a9b6;font-size:12px;letter-spacing:.025em;margin:25px 0 0}
.workspace-return{max-width:1160px;margin:31px auto 0;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.workspace-return>span{font-size:10px;letter-spacing:.17em;font-weight:700;color:#94a5b6}
.back-to-tools{padding:11px 16px;border:1px solid #526271;background:#1c2b3d;color:var(--gold-bright);border-radius:7px;font-weight:800;font-size:12px}
.back-to-tools:hover{border-color:var(--gold-bright)}
#tool-workspace .game-switch{margin-top:20px}
#tool-workspace .generator-tools{margin-top:24px}

/* Sources are accessible from the header/footer, not a giant page-ending block. */
.source-trigger{padding:8px 0;background:transparent;border:0;cursor:pointer}
.sources-dialog{width:min(860px,calc(100% - 28px));max-width:860px;max-height:min(88dvh,950px);overflow:auto;margin:auto;padding:0;border:1px solid #77826e;border-radius:14px;background:#142237;color:var(--ivory);box-shadow:0 28px 100px rgba(0,0,0,.72)}
.sources-dialog::backdrop{background:rgba(3,10,18,.78);backdrop-filter:blur(5px)}
.dialog-top{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:15px 24px;background:#192b3e;border-bottom:1px solid #465b68}
.dialog-close{display:grid;place-items:center;flex:0 0 37px;
  box-sizing:border-box;width:37px;height:37px;padding:0;
  background:#2c3a49;border:1px solid #60717e;border-radius:7px;
  color:#f1dfb8;line-height:1;cursor:pointer}
.dialog-close svg{display:block;width:18px;height:18px;flex:none;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sources-dialog .source-section{padding:39px 45px 45px;max-width:none;border:0;background:transparent}
.sources-dialog .source-section p{text-align:left}
.sources-dialog .source-section h2{text-align:center}
.sources-dialog .source-section .source-links{text-align:center}
.sources-dialog .future-sources{max-width:none}
body.mode-legacy .sources-dialog{background:#102322;border-color:#427d75}
body.mode-legacy .dialog-top{background:#16322f;border-bottom-color:#427d75}
body.mode-legacy .dialog-close{background:#234541;border-color:#427d75}

/* Semantically organized, durable studio footer. */
.site-footer{max-width:none;padding:0;display:block;text-align:left;color:#9facb7;background:#0b1623;border-top:1px solid #374756;letter-spacing:normal}
.footer-main{max-width:1160px;margin:auto;padding:45px 26px 37px;display:flex;gap:24px;justify-content:space-between;align-items:start}
.footer-identity strong{font:600 19px var(--serif);letter-spacing:.07em;color:var(--gold-bright)}
.footer-identity p{color:#96a5b4;margin:11px 0 0;font-size:12px;line-height:1.6}
.footer-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:14px 24px}
.footer-navigation a,.footer-navigation button{background:none;border:0;padding:8px 0;color:#d2d9dc;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer;text-decoration:none}
.footer-navigation a:hover,.footer-navigation button:hover{color:var(--gold-bright)}
.footer-bottom{max-width:1160px;margin:auto;padding:18px 26px 24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;border-top:1px solid #2b3947;color:#8795a5;font-size:10px;letter-spacing:.03em}
body.mode-legacy .site-footer{background:#091716;border-top-color:#2e554e}
body.mode-legacy .footer-bottom{border-top-color:#274841}
@media(max-width:800px){.tool-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.start-intro{padding:62px 0 43px}.footer-main{flex-wrap:wrap}.footer-navigation{justify-content:flex-start}}
@media(max-width:600px){
 .start-screen{padding:0 17px 50px}.start-intro{padding:43px 0 38px}.start-intro h1{font-size:clamp(42px,11vw,61px);margin:17px 0}.start-intro>p:last-child{font-size:13px}
 .choice-group-heading{gap:10px}.choice-game-mark{height:41px;width:41px;font-size:24px}.choice-group-heading h2{font-size:24px}
 .tool-choices{grid-template-columns:1fr;gap:11px}.tool-choice{min-height:0;padding:19px 20px 17px}.choice-icon{margin-bottom:12px}.tool-choice strong{font-size:27px}.choice-description{font-size:12px}.choice-action{margin-top:12px}.choice-section{margin-bottom:37px}
 .workspace-return{padding:0 17px;margin-top:21px}.workspace-return>span{font-size:9px;letter-spacing:.08em}
 .header-actions .source-trigger{display:inline-block}
 .sources-dialog{width:calc(100% - 20px);max-height:92dvh}.sources-dialog .source-section{padding:24px 19px 30px}.dialog-top{padding:12px 15px}
 .footer-main{padding:32px 20px 25px;gap:23px}.footer-navigation{gap:8px 20px}.footer-bottom{padding:15px 20px 24px;flex-direction:column}
}

/* Two Warriors choices fill their row; three Legacy choices share a three-column row. */
@media(min-width:801px){.choice-section:not(.legacy-choices) .tool-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep choices above the fold; no promotional splash hero. */
.start-screen{padding-top:0}
.start-intro.compact-intro{padding:20px 0 20px;max-width:none;text-align:left}
.start-intro.compact-intro h1{font:500 clamp(29px,3.5vw,43px)/1.15 var(--serif);margin:0 0 7px;letter-spacing:-.015em}
.start-intro.compact-intro>p:last-child{max-width:none;margin:0;color:#9eb0bd;font-size:12px;line-height:1.55}
.choice-section{margin-bottom:32px}
@media(max-width:600px){.start-intro.compact-intro{padding:16px 0 18px}.start-intro.compact-intro h1{font-size:31px}}

/* Individual source proofs are disclosed on demand rather than hidden or truncated. */
details.evidence-expanded{padding:10px 12px;margin:10px 0;border:1px solid rgba(163,183,199,.2);border-radius:8px}
details.evidence-expanded summary{cursor:pointer;display:list-item;list-style:revert;list-style-position:inside;user-select:none}
details.evidence-expanded[open] summary{margin-bottom:10px}
details.evidence-expanded .evidence-referent{padding:6px 0;overflow-wrap:anywhere}
details.evidence-expanded summary:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}

/* Shared studio identity and game-line marks sourced from the studio asset registry. */
.brand-image{object-fit:contain;clip-path:none;border:0;background:transparent;flex-shrink:0}
.game-brand-mark{display:block;width:56px;height:64px;object-fit:contain;flex-shrink:0}
.game-wordmark{display:block;width:auto;max-width:min(320px,75vw);height:48px;object-fit:contain;object-position:left center;margin:0 0 9px}
.legacy-choices .game-wordmark{height:45px}
.game-button-mark{display:block;width:38px;height:38px;object-fit:contain;flex-shrink:0}
.footer-studio-mark{display:block;width:36px;height:42px;object-fit:contain;float:left;margin-right:14px}
@media(max-width:600px){.game-brand-mark{width:42px;height:48px}.game-wordmark{max-width:210px;height:38px}.legacy-choices .game-wordmark{height:36px}}

/* Focused game context, external account entry, and minimal credits footer. */
.brand-seal.brand-image{border-radius:0;clip-path:none;background:transparent}
.account-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:8px 13px;border:1px solid rgba(201,166,102,.55);border-radius:9px;color:var(--ivory);text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;transition:border-color .2s,background .2s}
.account-link:hover,.account-link:focus-visible{border-color:var(--gold-bright);background:rgba(201,166,102,.08);color:#fff}
.account-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.active-game-identity{max-width:1160px;margin:14px auto 0;padding:0 24px}
.active-game-brand{display:flex;align-items:center;gap:12px;min-height:64px}
.active-game-mark{width:40px;height:40px;object-fit:contain}
.active-game-wordmark{display:block;width:auto;max-width:225px;height:50px;object-fit:contain;object-position:left center}
#game-legacy .active-game-wordmark{max-width:168px;height:43px}
.site-footer{max-width:none;margin:0;padding:0;display:block;min-height:0;text-align:left;letter-spacing:normal}
.footer-studio-logo{display:block;width:210px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
.site-footer .footer-main{align-items:center}
.site-footer .footer-identity p{margin-top:7px}
.site-footer .footer-navigation{margin-left:auto}
.footer-credits{padding:8px 14px;border:0;background:transparent;color:#d6c6a8;font-size:13px;text-decoration:underline;text-decoration-color:rgba(201,166,102,.5);text-underline-offset:4px}
.footer-credits:hover,.footer-credits:focus-visible{color:var(--gold-bright)}
@media(max-width:700px){
  .active-game-identity{padding:0 17px}
  .active-game-brand{min-height:56px}
  .active-game-mark{width:34px;height:34px}
  .active-game-wordmark{max-width:180px;height:43px}
  .header-actions{gap:10px}
  .account-link{min-height:39px;padding:7px 9px;font-size:11px}
}
@media(max-width:460px){
  .account-link{gap:5px;padding:7px 8px}
  .account-link svg{width:16px;height:16px}
  .header-actions .preview-chip{display:none}
}

@media(max-width:600px){.site-footer .footer-main{align-items:flex-start}.site-footer .footer-navigation{margin-left:0}.footer-studio-logo{width:185px}}

/* Game identities sit in the right column; headings own the left column. */
.choice-group-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px}
.choice-section-title{min-width:0}
.choice-section-title h2{margin:0}
.choice-brand-art{display:flex;justify-content:flex-end;align-items:center;gap:16px}
.choice-brand-art .game-wordmark{margin:0;max-width:205px;height:59px;object-position:right center}
.choice-brand-art .game-brand-mark{width:49px;height:57px}
.legacy-choices .choice-brand-art .game-wordmark{max-width:145px;height:53px}
.workspace-return{display:flex;justify-content:space-between;align-items:center;gap:18px}
.workspace-return .active-game-identity{flex:0 1 290px;margin:0;padding:0}
.workspace-return .active-game-brand{justify-content:flex-end;min-height:55px}
.workspace-return .active-game-wordmark{object-position:right center}
.site-footer .footer-navigation{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:flex-end;align-items:center}
.site-footer .footer-navigation a,.site-footer .footer-navigation button{display:inline-block;color:#c8d3db;font-size:12px;padding:8px 0;font-weight:600}
.site-footer .footer-navigation a:hover,.site-footer .footer-navigation button:hover{color:var(--gold-bright)}
@media(max-width:650px){
  .choice-group-heading{column-gap:10px}
  .choice-brand-art{gap:6px}
  .choice-brand-art .game-brand-mark{width:32px;height:40px}
  .choice-brand-art .game-wordmark{max-width:100px;height:43px}
  .legacy-choices .choice-brand-art .game-wordmark{max-width:82px;height:37px}
  .choice-section-title h2{font-size:clamp(19px,4vw,25px)}
  .workspace-return .active-game-identity{flex-basis:175px}
  .workspace-return .active-game-wordmark{max-width:120px;height:43px}
  .workspace-return .active-game-mark{width:28px;height:30px}
  .site-footer .footer-navigation{margin:0;justify-content:flex-start}
}

/* Optional cross-product account identity stays compact and keyboard accessible. */
.account-link{max-width:200px}
.account-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-sign-out{min-height:38px;border:1px solid rgba(201,166,102,.22);border-radius:8px;background:transparent;color:#d1ddde;padding:7px 11px;font-size:12px;cursor:pointer}
.account-sign-out:hover,.account-sign-out:focus-visible{color:white;border-color:var(--gold)}
@media(max-width:600px){.account-link{max-width:130px}.account-sign-out{padding:6px 8px;font-size:11px}}


/* Game selector: emblem at far left, story heading, wordmark at far right. */
.choice-group-heading{grid-template-columns:auto minmax(0,1fr) auto;gap:16px}
.choice-group-heading>.game-brand-mark{display:block;flex:none;width:52px;height:58px;object-fit:contain}
.choice-brand-art{justify-content:flex-end;min-width:0}
.choice-brand-art .game-wordmark{margin:0;max-width:210px;height:60px;object-fit:contain;object-position:right center}
.legacy-choices .choice-brand-art .game-wordmark{max-width:155px;height:55px}
.choice-section-title h2{margin:0}

/* On tool pages: selected emblem | generator tabs | selected wordmark. */
.generator-toolbar{max-width:1160px;margin:25px auto 0;padding:0 24px;display:grid;
  grid-template-columns:52px minmax(0,1fr) 218px;align-items:center;column-gap:17px;
  min-height:72px;border-bottom:1px solid rgba(180,154,110,.28)}
.generator-toolbar .tool-context-marks{width:52px;min-width:0;display:flex;align-items:center;justify-content:flex-start}
.generator-toolbar .tool-context-mark{display:block;width:46px;height:52px;object-fit:contain}
.generator-toolbar .generator-tools{min-width:0;max-width:none;margin:0;padding:0}
.generator-toolbar .tool-tabs{gap:4px;margin:0;padding:0;border:0;flex-wrap:wrap;align-items:center}
.generator-toolbar .tool-tab{flex:0 1 auto;padding:12px 13px;white-space:nowrap}
.generator-toolbar .active-game-identity{min-width:0;width:100%;max-width:none;flex:none;margin:0;padding:0}
.generator-toolbar .active-game-brand{justify-content:flex-end;min-height:52px}
.generator-toolbar .active-game-wordmark{display:block;width:auto;height:54px;max-width:200px;object-fit:contain;object-position:right center}
.generator-toolbar #game-legacy .active-game-wordmark{height:49px;max-width:160px}

/* Like the studio website footer: identity plus categorized vertical link stacks. */
.site-footer .footer-main{display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,1.35fr);
  gap:42px;align-items:start}
.site-footer .footer-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:32px;row-gap:18px;align-items:start;justify-content:stretch;width:100%;margin:0}
.footer-link-group{min-width:0}
.footer-link-group h2{margin:4px 0 13px;padding:0 0 12px;border-bottom:1px solid rgba(201,166,102,.28);
  color:var(--gold-bright);font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.footer-link-group ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.footer-link-group li{margin:0;padding:0;line-height:1.4}
.site-footer .footer-link-group a,.site-footer .footer-link-group button{
  font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;color:#c8d3db;
  border:0;border-radius:0;background:transparent;padding:0;text-decoration:none;cursor:pointer;text-align:left}
.site-footer .footer-link-group a:hover,.site-footer .footer-link-group button:hover,
.site-footer .footer-link-group a:focus-visible,.site-footer .footer-link-group button:focus-visible{
  color:var(--gold-bright);text-decoration:underline;text-underline-offset:4px}
.site-footer .footer-bottom{margin-top:0}
@media(max-width:800px){
  .site-footer .footer-main{grid-template-columns:1fr;gap:24px}
  .site-footer .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr));max-width:550px}
  .generator-toolbar{grid-template-columns:44px minmax(0,1fr) 150px;column-gap:12px}
  .generator-toolbar .tool-context-marks{width:44px}
  .generator-toolbar .tool-context-mark{width:38px;height:45px}
  .generator-toolbar .active-game-wordmark{max-width:145px;height:48px}
  .generator-toolbar #game-legacy .active-game-wordmark{max-width:116px;height:44px}
  .generator-toolbar .tool-tab{font-size:11px;padding:11px 9px}
}
@media(max-width:520px){
  .choice-group-heading{gap:9px}
  .choice-group-heading>.game-brand-mark{width:36px;height:42px}
  .choice-brand-art .game-wordmark{max-width:108px;height:46px}
  .legacy-choices .choice-brand-art .game-wordmark{max-width:90px;height:41px}
  .choice-section-title h2{font-size:clamp(17px,4.7vw,24px)}
  .generator-toolbar{padding:0 17px;grid-template-columns:44px minmax(0,1fr);
    grid-template-areas:"mark wordmark" "tabs tabs";column-gap:12px;row-gap:0;min-height:0}
  .generator-toolbar .tool-context-marks{grid-area:mark;padding:8px 0}
  .generator-toolbar .active-game-identity{grid-area:wordmark}
  .generator-toolbar .generator-tools{grid-area:tabs}
  .generator-toolbar .tool-tabs{flex-wrap:wrap}
  .generator-toolbar .tool-tab{flex:1 1 auto}
  .site-footer .footer-navigation{gap:24px}
}
@media(max-width:345px){.site-footer .footer-navigation{grid-template-columns:1fr}}


/* Accessible signed-in account menu. The account image is never required. */
.account-shell{position:relative;display:flex;align-items:center;z-index:60}
.account-shell [hidden]{display:none!important}
.account-trigger{cursor:pointer;max-width:270px}
.account-trigger svg.account-chevron{height:15px;width:15px;flex-shrink:0;stroke-width:2}
.account-avatar{display:block;width:28px;height:28px;flex:0 0 28px;border-radius:50%;object-fit:cover;border:1px solid rgba(201,166,102,.5)}
.account-menu{position:absolute;right:0;top:calc(100% + 9px);width:min(285px,calc(100vw - 22px));padding:8px;border:1px solid rgba(201,166,102,.45);border-radius:12px;background:#172638;color:#f5eee0;box-shadow:0 12px 38px rgba(0,0,0,.55);z-index:70}
.account-menu-identity{display:flex;flex-direction:column;gap:3px;min-width:0;padding:10px 11px 12px;border-bottom:1px solid rgba(201,166,102,.24);margin-bottom:5px}
.account-menu-identity strong{font-size:13px;overflow-wrap:anywhere}
.account-menu-identity span{font-size:11px;color:#b6c6d5;overflow-wrap:anywhere}
.account-menu a,.account-menu button{width:100%;display:block;text-align:left;box-sizing:border-box;background:transparent;color:inherit;border:0;border-radius:7px;padding:11px 12px;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer;text-decoration:none}
.account-menu a:hover,.account-menu button:hover,.account-menu a:focus-visible,.account-menu button:focus-visible{background:rgba(201,166,102,.13);color:#fff;outline:2px solid transparent}
.account-menu button{color:#f3c8b7}
@media(max-width:600px){.account-trigger{max-width:180px}.account-avatar{width:24px;height:24px;flex-basis:24px}.account-menu{right:0}}

/* The profile menu reports the actual state of account-backed favorites. */
.account-sync-message{margin:8px 6px 7px;padding:8px 10px;border-top:1px solid rgba(201,166,102,.24);color:#c8d3db;font-size:11px;line-height:1.5;max-width:290px;overflow-wrap:break-word}
.account-menu #account-sync-now{border:1px solid rgba(201,166,102,.4);color:var(--gold-bright);font-weight:750;margin-bottom:4px}
.account-menu #account-sync-now:disabled{opacity:.55;cursor:wait}

.account-connect-error{position:absolute;right:0;top:calc(100% + 10px);z-index:90;width:min(340px,calc(100vw - 24px));padding:12px 14px;border:1px solid #d49b72;border-radius:8px;background:#35251f;color:#fff2e1;font-size:12px;line-height:1.45;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.account-shell .account-connect-error[hidden]{display:none!important}

/* A successfully loaded profile portrait owns the identity slot.
   The anonymous glyph is strictly a fallback, never an extra icon. */
#account-trigger .account-avatar:not([hidden]) ~ #account-fallback-icon{display:none!important}

/* Concise, optional context cautions for single-verse Anchor selections. */
.anchor-review-note{margin:10px 0 14px;padding:10px 13px;border-left:2px solid rgba(201,166,102,.45);background:rgba(201,166,102,.055);border-radius:0 7px 7px 0;color:#b8c8d5}
.anchor-review-note summary{cursor:pointer;font-size:11px;font-weight:800;letter-spacing:.055em;color:var(--gold-bright)}
.anchor-review-note p{font-size:12px;line-height:1.55;margin:9px 0 2px}

/* Studio-footer parity: link/hover behavior follows the website; only its
   accent and glow change with the selected generator theme. */
body .site-footer{
  --footer-accent:#7dd3fc;
  --footer-underline:#38bdf8;
  --footer-soft:#9fb7cf;
  --footer-divider:rgba(148,163,184,.20);
  position:relative;isolation:isolate;overflow:visible;
  /* Inherit the active tools page canvas instead of drawing a separate band. */
  background:transparent;
  border-top:1px solid rgba(148,163,184,.32);color:#e2e8f0;
}
body.mode-warriors .site-footer{
  --footer-accent:#f7c95f;
  --footer-underline:#f7c95f;
  --footer-soft:#d0b987;
  --footer-divider:rgba(217,169,88,.26);
  border-top-color:rgba(217,169,88,.36);
}
body.mode-legacy .site-footer{
  --footer-accent:#f87171;
  --footer-underline:#b91c1c;
  --footer-soft:#b8b0b6;
  --footer-divider:rgba(185,28,28,.3);
  /* This overrides the older Legacy-specific opaque footer background. */
  background:transparent;
  border-top-color:rgba(185,28,28,.45);
}
body .site-footer .footer-main{
  max-width:1240px;padding:48px 38px 44px;margin:0 auto;
  display:grid;grid-template-columns:minmax(225px,1fr) minmax(0,2fr);
  /* Align both link columns with the base of the logo/tagline block. */
  align-items:end;gap:36px;
}
body .site-footer .footer-identity{min-width:0}
body .site-footer .footer-logo-link{
  display:block;width:fit-content;max-width:100%;border-radius:6px;
  transition:filter .2s ease;
}
body .site-footer .footer-logo-link:hover{filter:brightness(1.12)}
body .site-footer .footer-studio-logo{
  display:block;width:255px;max-width:100%;height:128px;object-fit:contain;object-position:left center;
}
body .site-footer .footer-identity .footer-motto{
  margin:16px 0 0;font:400 24px/1.3 var(--serif);color:#fff;
}
body .site-footer .footer-identity .footer-motto-accent{
  margin:4px 0 0;font:italic 400 21px/1.3 var(--serif);color:var(--footer-accent);
}
body .site-footer .footer-navigation{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:36px;width:100%;max-width:none;margin:0;padding:10px 0 0;
}
body .site-footer .footer-link-group{min-width:0}
body .site-footer .footer-link-group h2{
  margin:0;padding:0 0 15px;color:var(--footer-accent);
  font:800 12px/1.4 var(--sans);letter-spacing:.22em;text-transform:uppercase;
  border-bottom:1px solid var(--footer-divider);
}
body .site-footer .footer-link-group ul{
  list-style:none;margin:18px 0 0;padding:0;
  display:flex;flex-direction:column;gap:12px;align-items:flex-start;
}
body .site-footer .footer-link-group li{margin:0;padding:0}
body .site-footer .footer-link-group .footer-animated-link{
  display:inline-block;position:relative;border-radius:3px;
  padding:0;color:#e2e8f0;font:500 15px/1.45 var(--sans);text-decoration:none;
  transition:color .18s ease;
}
body .site-footer .footer-animated-link:hover,
body .site-footer .footer-animated-link:focus-visible{color:#fff}
body .site-footer .footer-animated-link>span{position:relative;color:inherit!important}
body .site-footer .footer-animated-link>span::after{
  content:"";position:absolute;bottom:-4px;left:0;width:0;height:1px;
  background:var(--footer-underline);transition:width .2s ease;
}
body .site-footer .footer-animated-link:hover>span::after,
body .site-footer .footer-animated-link:focus-visible>span::after{width:100%}
body .site-footer .footer-bottom{
  max-width:1240px;margin:0 auto;padding:22px 38px 38px;
  border-top:1px solid var(--footer-divider);
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(190px,.72fr);
  column-gap:22px;row-gap:24px;align-items:center;justify-content:space-between;
  letter-spacing:normal;
}
body .site-footer .footer-legal{min-width:0;display:flex;flex-direction:column;gap:8px}
body .site-footer .footer-copyright{
  margin:0;color:var(--footer-soft);font:400 12px/1.5 var(--sans);
}
body .site-footer .footer-copyright span{color:inherit!important}
body .site-footer .footer-legal-links{
  display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;
  color:var(--footer-soft);
}
body .site-footer .footer-legal-links>a,
body .site-footer .footer-legal-links>button{
  padding:0;border:0;background:transparent;color:inherit;
  font:600 11px/1.5 var(--sans);text-decoration:none;text-underline-offset:3px;
  cursor:pointer;transition:color .18s ease;
}
body .site-footer .footer-legal-links>a:hover,
body .site-footer .footer-legal-links>button:hover,
body .site-footer .footer-legal-links>a:focus-visible,
body .site-footer .footer-legal-links>button:focus-visible{
  color:#fff;text-decoration:underline;text-decoration-color:var(--footer-underline);
}
body .site-footer .footer-socials{
  display:flex;align-items:center;gap:12px;justify-content:center;
}
body .site-footer .footer-social-item{position:relative;display:flex;align-items:center;justify-content:center}
body .site-footer .footer-social-link{
  position:relative;display:flex;width:48px;height:48px;
  align-items:center;justify-content:center;color:#cbd5e1;
  border-radius:8px;outline-offset:2px;
  transition:transform .2s ease,color .2s ease,filter .2s ease;
}
body .site-footer .footer-social-link>svg{
  display:block;width:24px;height:24px;fill:currentColor;flex:none;
  transition:opacity .2s ease;
}
body .site-footer .footer-social-link:hover,
body .site-footer .footer-social-link:focus-visible{transform:scale(1.15)}
body .site-footer .footer-social-discord .footer-social-link:hover,
body .site-footer .footer-social-discord .footer-social-link:focus-visible{
  color:#5865f2;filter:drop-shadow(0 0 9px rgba(88,101,242,.4))
}
body .site-footer .footer-social-linktree .footer-social-link:hover,
body .site-footer .footer-social-linktree .footer-social-link:focus-visible{
  color:#43e660;filter:drop-shadow(0 0 10px rgba(67,230,96,.35))
}
body .site-footer .footer-social-kofi .footer-social-link:hover,
body .site-footer .footer-social-kofi .footer-social-link:focus-visible{color:#ff5e5b}
body .site-footer .footer-social-kofi-brand{
  position:absolute;inset:11px;width:26px;height:26px;object-fit:contain;
  opacity:0;pointer-events:none;transition:opacity .2s ease;
}
body .site-footer .footer-social-kofi .footer-social-link:hover svg,
body .site-footer .footer-social-kofi .footer-social-link:focus-visible svg{opacity:0}
body .site-footer .footer-social-kofi .footer-social-link:hover .footer-social-kofi-brand,
body .site-footer .footer-social-kofi .footer-social-link:focus-visible .footer-social-kofi-brand{opacity:1}
body .site-footer .footer-social-tip{
  position:absolute;bottom:calc(100% + 9px);z-index:12;width:225px;
  padding:12px 34px 12px 14px;background:#fff;color:#0f172a;
  border:1px solid #e2e8f0;border-radius:12px;
  box-shadow:0 14px 35px rgba(0,0,0,.3);line-height:1.4;
  animation:footer-tip-enter .2s cubic-bezier(.2,.9,.25,1) both;
}
body .site-footer .footer-social-discord .footer-social-tip{left:0;transform-origin:20px 100%}
body .site-footer .footer-social-linktree .footer-social-tip{
  left:50%;
  transform:translateX(-50%);
  transform-origin:50% 100%;
}
body .site-footer .footer-social-kofi .footer-social-tip{right:0;transform-origin:calc(100% - 24px) 100%}
body .site-footer .footer-social-tip::after{
  content:"";position:absolute;bottom:-7px;left:17px;width:12px;height:12px;
  background:white;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;rotate:45deg;
}
body .site-footer .footer-social-linktree .footer-social-tip::after{left:calc(50% - 6px)}
body .site-footer .footer-social-kofi .footer-social-tip::after{left:auto;right:17px}
body .site-footer .footer-social-tip strong{display:block;font:700 14px/1.3 var(--sans);color:#0f172a}
body .site-footer .footer-social-tip p{font:400 12px/1.55 var(--sans);color:#475569;margin:5px 0 0}
body .site-footer .footer-social-dismiss{
  position:absolute;right:5px;top:4px;display:flex;align-items:center;justify-content:center;
  width:26px;height:26px;box-sizing:border-box;padding:0;
  background:transparent;border:0;border-radius:6px;color:#64748b;
  line-height:1;cursor:pointer;
}
body .site-footer .footer-social-dismiss:hover{background:#f1f5f9;color:#0f172a}
body .site-footer .footer-social-dismiss svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body .site-footer .footer-signature{
  margin:0;text-align:right;white-space:nowrap;
  font:700 11px/1.4 var(--sans);letter-spacing:.17em;text-transform:uppercase;
  color:var(--footer-accent);
}
/* Scale and opacity animate independently of transform positioning. The prior
   translate keyframes overrode Linktree's horizontal centering. */
@keyframes footer-tip-enter{
  from{opacity:0;scale:.8}
  to{opacity:1;scale:1}
}
@media(max-width:900px){
  body .site-footer .footer-main{padding:40px 28px 35px;gap:25px}
  body .site-footer .footer-navigation{gap:20px}
  body .site-footer .footer-bottom{
    padding:22px 28px 32px;grid-template-columns:minmax(0,1fr) auto;
  }
  body .site-footer .footer-signature{grid-column:1/-1;text-align:center}
}
@media(max-width:700px){
  body .site-footer .footer-main{
    grid-template-columns:1fr;justify-items:center;text-align:center;gap:30px;
  }
  body .site-footer .footer-logo-link{margin:0 auto}
  body .site-footer .footer-studio-logo{object-position:center;width:235px}
  body .site-footer .footer-navigation{max-width:500px;padding:0;gap:22px;text-align:left}
  body .site-footer .footer-bottom{display:flex;flex-direction:column;gap:20px}
  body .site-footer .footer-copyright{text-align:center}
  body .site-footer .footer-legal-links{justify-content:center}
  body .site-footer .footer-socials{order:2}
  body .site-footer .footer-signature{order:3}
}
@media(max-width:400px){
  body .site-footer .footer-main{padding:35px 18px 28px}
  body .site-footer .footer-navigation{gap:15px}
  body .site-footer .footer-link-group .footer-animated-link{font-size:13px}
  body .site-footer .footer-link-group h2{font-size:10px}
  body .site-footer .footer-bottom{padding:20px 18px 30px}
}
@media(prefers-reduced-motion:reduce){
  body .site-footer .footer-social-link,
  body .site-footer .footer-animated-link>span::after{transition:none}
  body .site-footer .footer-social-tip{animation:none}
}

/* Keep the bubble pointer path connected, and make keyboard focus explicit. */
body .site-footer .footer-social-item::before{
  content:"";position:absolute;left:0;right:0;bottom:100%;height:14px;
  pointer-events:auto;
}
body .site-footer .footer-social-link:focus-visible,
body .site-footer .footer-logo-link:focus-visible,
body .site-footer .footer-animated-link:focus-visible,
body .site-footer .footer-legal-links a:focus-visible,
body .site-footer .footer-legal-links button:focus-visible{
  outline:2px solid var(--footer-accent);outline-offset:4px;
}

/* Restored generator navigation: six tools/legal links, not the studio sitemap. */
body .site-footer .footer-link-group button.footer-animated-link{
  padding:0;margin:0;border:0;background:transparent;text-align:left;
  font:500 15px/1.45 var(--sans);color:#e2e8f0;
  text-decoration:none;letter-spacing:normal;
}
body .site-footer .footer-link-group button.footer-animated-link:hover,
body .site-footer .footer-link-group button.footer-animated-link:focus-visible{
  color:#fff;
}
body .site-footer .footer-legal{
  display:block;
}
body .site-footer .footer-social-tip[hidden],
body .site-footer .footer-social-dismiss[hidden]{
  display:none!important;
}
/* Ko-fi SVG is the monochrome resting icon. The locally embedded studio
   brand artwork appears on hover/focus; it never shows a missing-image box. */
body .site-footer .footer-social-kofi-brand{
  inset:11px 11px auto auto;
  display:block;
  border:0;
  background:transparent;
}
@media(max-width:400px){
  body .site-footer .footer-link-group button.footer-animated-link{
    font-size:13px;
  }
}

/* Consolidated saved collection; uses the existing five favorites stores. */
.favorites-shortcut{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:38px;padding:7px 12px;border:1px solid rgba(125,211,252,.38);
  border-radius:9px;background:rgba(125,211,252,.07);color:#ccecf9;
  font:700 11px/1.3 var(--sans);cursor:pointer;white-space:nowrap;
  transition:color .18s ease,border-color .18s ease,background .18s ease;
}
.favorites-shortcut svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
.favorites-shortcut:hover,.favorites-shortcut:focus-visible{
  color:#fff;border-color:#7dd3fc;background:rgba(125,211,252,.13)
}
.favorites-shortcut-count{display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;
  border-radius:999px;background:#214a66;color:#e2f7ff;font-size:10px}
.favorites-shortcut-count[hidden]{display:none}
.account-menu #account-favorites-link{display:flex;justify-content:space-between;gap:16px;align-items:center;font-weight:750}
.account-menu #account-favorites-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;
  border:1px solid rgba(201,166,102,.35);border-radius:50px;font-size:10px}
body.mode-warriors .favorites-shortcut{border-color:rgba(247,201,95,.45);color:#f7d58b;background:rgba(247,201,95,.08)}
body.mode-warriors .favorites-shortcut:hover{border-color:#f7c95f;color:#fff}
body.mode-legacy .favorites-shortcut{border-color:rgba(248,113,113,.4);color:#f3b3b3;background:rgba(248,113,113,.07)}
body.mode-legacy .favorites-shortcut:hover{border-color:#f87171;color:#fff}
.favorites-dialog{
  --fav-accent:#7dd3fc;--fav-border:#405b75;--fav-surface:#121f30;--fav-card:#17283b;
  width:min(1040px,calc(100vw - 28px));max-width:1040px;
  max-height:min(89dvh,860px);margin:auto;padding:0;
  border:1px solid var(--fav-border);border-radius:13px;
  background:#101b2a;color:#e4edf3;box-shadow:0 18px 70px rgba(0,0,0,.55);
  overflow:hidden;
}
body.mode-warriors .favorites-dialog{
  --fav-accent:#f7c95f;--fav-border:#67543c;--fav-surface:#172135;--fav-card:#1b2a40;
}
body.mode-legacy .favorites-dialog{
  --fav-accent:#f87171;--fav-border:#37615d;--fav-surface:#0b2020;--fav-card:#112b29;
  background:#091718;
}
.favorites-dialog::backdrop{background:rgba(2,8,14,.82);backdrop-filter:blur(3px)}
.favorites-dialog[open]{display:flex;flex-direction:column}
.favorites-top{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;
  padding:25px 28px 19px;border-bottom:1px solid var(--fav-border);
  background:var(--fav-surface)}
.favorites-top .section-kicker{margin:0 0 6px;color:var(--fav-accent);font-size:10px}
.favorites-top h2{font:500 clamp(28px,3.5vw,39px)/1.2 var(--serif);margin:0;color:#f5e9d5}
.favorites-top p:not(.section-kicker){font:400 12px/1.55 var(--sans);color:#b5c3ce;margin:7px 0 0}
.favorites-close{flex:none}
.favorites-body{min-height:0;overflow-y:auto;padding:24px 28px 34px}
.favorites-intro{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap}
.favorites-intro p{margin:0;font-size:12px;color:#d5dfe8}
.favorites-intro .favorites-storage-note{font-size:11px;color:#9eafbd;max-width:500px}
.favorites-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:22px 0 24px}
.favorites-filter{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;
  border:1px solid var(--fav-border);border-radius:5px;background:transparent;
  color:#b8c6d0;font:750 11px/1.4 var(--sans);cursor:pointer}
.favorites-filter span{min-width:16px;text-align:center;color:var(--fav-accent)}
.favorites-filter:hover,.favorites-filter:focus-visible{border-color:var(--fav-accent);color:#fff}
.favorites-filter.active{color:#fff;border-color:var(--fav-accent);background:var(--fav-card)}
.favorites-library-sections{display:flex;flex-direction:column;gap:27px}
.favorites-section{min-width:0;border-top:1px solid var(--fav-border);padding-top:16px}
.favorites-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.favorites-game-label{display:block;color:var(--fav-accent);font-size:10px;text-transform:uppercase;
  letter-spacing:.12em;font-weight:800;margin-bottom:5px}
.favorites-section-heading h3{font:500 24px/1.3 var(--serif);color:#f4e8d5;margin:0}
.favorites-open-tool{background:transparent;color:var(--fav-accent);border:1px solid var(--fav-border);
  border-radius:5px;font:700 11px/1.4 var(--sans);padding:9px 12px;cursor:pointer;text-align:center}
.favorites-open-tool:hover,.favorites-open-tool:focus-visible{border-color:var(--fav-accent);color:#fff}
.favorites-item-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.favorites-item{min-width:0;display:flex;justify-content:space-between;align-items:start;gap:12px;
  padding:15px;border:1px solid var(--fav-border);background:var(--fav-card);border-radius:7px}
.favorites-item-body{min-width:0;flex:1}
.favorites-item h4{font:500 21px/1.2 var(--serif);color:#f4e8d5;margin:0 0 7px;overflow-wrap:anywhere}
.favorites-item p{font:400 12px/1.55 var(--sans);color:#b4c5ce;margin:0 0 7px;overflow-wrap:anywhere}
.favorites-item .favorites-item-secondary{color:#a4bbb2}
.favorites-context-link{font-size:11px;color:var(--fav-accent);text-underline-offset:3px}
.favorites-item-actions{display:flex;flex-direction:column;gap:6px;flex:none}
.favorites-item-actions button{font:700 11px/1.3 var(--sans);padding:7px 9px;border-radius:4px;
  cursor:pointer;background:transparent;color:#f0eee5;border:1px solid var(--fav-border)}
.favorites-item-copy:hover,.favorites-item-copy:focus-visible{border-color:var(--fav-accent);color:var(--fav-accent)}
.favorites-item-remove:hover,.favorites-item-remove:focus-visible{border-color:#e58b91;color:#ffafae}
.favorites-item-actions button:disabled{opacity:.4;cursor:not-allowed}
.favorites-empty,.favorites-empty-group{padding:34px 20px;color:#b7c9d3;text-align:center;
  border:1px dashed var(--fav-border);background:var(--fav-surface);border-radius:7px}
.favorites-empty h3{font:500 25px var(--serif);margin:0 0 8px;color:#f4e8d5}
.favorites-empty p{margin:0;font-size:12px;line-height:1.7}
@media(max-width:720px){
  .favorites-shortcut{padding:7px 9px}
  .favorites-shortcut>span:not(.favorites-shortcut-count){display:none}
  .favorites-body{padding:20px 16px 26px}
  .favorites-top{padding:20px 17px 15px}
  .favorites-item-list{grid-template-columns:1fr}
  .favorites-filter{font-size:10px;padding:8px 10px}
}
@media(max-width:420px){
  .favorites-section-head{align-items:flex-start;flex-direction:column}
  .favorites-intro{gap:8px}
  .favorites-dialog{max-height:94dvh}
}

.favorites-shortcut[hidden]{display:none!important}

/* The legal reference is a single inline link, not another legal footer row. */
body .site-footer .footer-brand-link{
  color:var(--footer-accent);text-decoration:none;text-underline-offset:3px;
  border-bottom:1px solid transparent;transition:border-color .2s ease,color .2s ease;
}
body .site-footer .footer-brand-link:hover,
body .site-footer .footer-brand-link:focus-visible{
  color:#fff;border-bottom-color:var(--footer-underline);
}
body .site-footer .footer-copyright-separator{padding:0 5px;color:var(--footer-soft)}
/* Name → Callsign workflow. Keep action to the left of the existing Copy icon. */
body.mode-legacy .alias-route-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:32px;padding:6px 10px;margin-right:4px;
  color:#75ded0;background:rgba(76,186,169,.1);
  border:1px solid #36746e;border-radius:5px;
  font:750 11px/1.25 var(--sans);white-space:nowrap;cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
body.mode-legacy .alias-route-button:hover,
body.mode-legacy .alias-route-button:focus-visible{
  color:#f6fff9;background:#1b4b43;border-color:#79e9d5;
}
body.mode-legacy .alias-seed-field{max-width:260px;margin-inline-start:auto}
body.mode-legacy .alias-privacy{margin:8px 0 0;color:#9cbfb9}
body.mode-legacy .legacy-tool .result-actions .card-actions{display:flex;align-items:center;gap:6px}
@media(max-width:600px){
 body.mode-legacy .alias-seed-field{max-width:none;margin-inline-start:0;width:100%}
 body.mode-legacy .alias-route-button{font-size:10px;padding:6px 8px}
}

/* Optional paired callsigns are available only for Legacy person-name types. */
body.mode-legacy #legacy-callsign-option{
  display:inline-flex;align-items:center;gap:10px;flex:1;
  min-width:210px;margin:0;color:#bde3da;line-height:1.4;
}
body.mode-legacy #legacy-callsign-option[hidden]{display:none!important}
body.mode-legacy #legacy-callsign-option .fake-checkbox{border-color:#4d817a}
body.mode-legacy #legacy-callsign-option input:checked+.fake-checkbox{background:#479e8d;border-color:#7bd8c8}
body.mode-legacy #legacy-callsign-option input:checked+.fake-checkbox::after{color:#092421}
body.mode-legacy .paired-callsign{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 17px;padding:12px 13px;
  border:1px solid #376760;border-left:3px solid #63b8a8;
  background:rgba(20,73,67,.32);border-radius:5px;
}
body.mode-legacy .paired-callsign-text{display:flex;flex-direction:column;gap:3px;min-width:0}
body.mode-legacy .paired-callsign-label{
  color:#8ab7ac;font:800 9px/1.4 var(--sans);letter-spacing:.14em;
}
body.mode-legacy .paired-callsign-text strong{
  color:#d0f3e9;font:600 19px/1.35 var(--serif);overflow-wrap:anywhere;
}
body.mode-legacy .paired-callsign-save{flex:none}
@media(max-width:600px){
  body.mode-legacy #legacy-callsign-option{flex-basis:100%;min-width:0}
}

/* Instructions live in a separate, directly linked guide. Tool UI stays spare. */
.header-guide-link{
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  min-height:35px;padding:5px 10px;border-bottom:1px solid transparent;
  font:700 11px/1.3 var(--sans);letter-spacing:.04em;
  text-decoration:none;color:#afd4ed;transition:color .18s,border-color .18s;
}
.header-guide-link:hover,.header-guide-link:focus-visible{
  color:#fff;border-bottom-color:#7dd3fc;
}
body.mode-warriors .header-guide-link{color:#f1cf86}
body.mode-warriors .header-guide-link:hover,body.mode-warriors .header-guide-link:focus-visible{border-bottom-color:#f7c95f}
body.mode-legacy .header-guide-link{color:#9fd6cb}
body.mode-legacy .header-guide-link:hover,body.mode-legacy .header-guide-link:focus-visible{border-bottom-color:#f87171}
.guide-page .site-shell{min-height:100vh;background:radial-gradient(ellipse at 50% 0,rgba(49,102,143,.22),transparent 62%),#101b2a}
.guide-main{width:min(980px,calc(100% - 40px));margin:0 auto;padding:55px 0 85px}
.guide-main>h1{font:500 clamp(39px,6vw,61px)/1.14 var(--serif);color:#f4e6cf;margin:9px 0 19px}
.guide-intro{font:400 15px/1.85 var(--sans);color:#c5d4dc;max-width:830px}
.guide-index{display:flex;flex-wrap:wrap;gap:9px;margin:30px 0 46px}
.guide-index a{padding:9px 12px;font:700 12px var(--sans);text-decoration:none;
 border:1px solid #466179;color:#cde0eb;border-radius:5px;background:rgba(26,47,69,.75)}
.guide-index a:hover,.guide-index a:focus-visible{color:#fff;border-color:#7dd3fc}
.guide-group{padding:22px 0 12px;border-top:1px solid #395068}
.guide-group>h2{font:500 33px/1.3 var(--serif);color:#f4e6cf;margin:7px 0 6px}
.guide-section{scroll-margin-top:30px;padding:18px 0 25px}
.guide-section+.guide-section{border-top:1px solid rgba(99,133,149,.2)}
.guide-eyebrow{font:800 10px/1.5 var(--sans);letter-spacing:.17em;color:#8ed5e9;margin:0 0 6px}
.guide-section h3{font:500 24px/1.3 var(--serif);color:#f4e6cf;margin:6px 0 14px}
.guide-section p:not(.guide-eyebrow),.guide-notice p{
  font:400 14px/1.8 var(--sans);color:#c5d4dc;max-width:880px;margin:10px 0}
.guide-main a:not(.guide-index a),.guide-footer a{color:#9bddec;text-underline-offset:3px}
.guide-section:target{border-left:3px solid #7dd3fc;padding-left:17px;margin-left:-20px;
 background:linear-gradient(90deg,rgba(36,91,117,.14),transparent 65%)}
.guide-notice{border:1px solid #506378;border-radius:8px;background:rgba(17,35,54,.65);padding:23px 25px;margin-top:25px}
.guide-notice h2{font:500 23px var(--serif);color:#f4e6cf;margin:0 0 9px}
.guide-return{text-align:center;margin:45px 0 0}
.guide-footer{padding:28px 20px 36px;text-align:center;font:400 11px/1.7 var(--sans);
 border-top:1px solid #395068;color:#9fb1c0}
@media(max-width:600px){
 .guide-main{padding:35px 0 65px}
 .guide-main>h1{font-size:39px}
 .guide-index{margin:22px 0 34px}
 .guide-index a{font-size:11px}
 .header-guide-link{font-size:10px;padding:4px 6px}
}


/* Give the Forge product name visual priority in the studio lockup. */
.site-header .brand-lockup strong{font-size:19px;letter-spacing:.085em;line-height:1.05}
.site-header .brand-lockup small{font-size:9px;letter-spacing:.13em}
@media(max-width:600px){.site-header .brand-lockup strong{font-size:16px;letter-spacing:.06em}.site-header .brand-lockup small{font-size:8px}}


/* Forge identity v1: supplied flat IF cube/flame artwork, blue and orange.
 * The game workspaces keep their distinct Warriors and Legacy thematic colors. */
:root{--forge-blue:#105477;--forge-blue-deep:#0b324d;--forge-orange:#d85a19;--forge-amber:#f49b30;--forge-paper:#fcfcfb;--forge-line:#d9e2e8}
.site-header,body.mode-warriors .site-header,body.mode-legacy .site-header{
  position:relative;z-index:30;background:var(--forge-paper);color:var(--forge-blue-deep);
  border-bottom:3px solid var(--forge-orange);box-shadow:0 7px 24px rgba(0,0,0,.12)}
.site-header .brand{color:var(--forge-blue);gap:11px}
.site-header .brand-image,.guide-site-header .brand-image{
  clip-path:none;border:0;border-radius:0;background:transparent;
  width:50px;height:63px;object-fit:contain;filter:none}
.site-header .brand-lockup strong{font:800 clamp(17px,2vw,22px)/1.05 Georgia,serif;letter-spacing:.085em;color:var(--forge-blue)}
.site-header .brand-lockup small{font-size:9px;letter-spacing:.17em;font-weight:800;color:var(--forge-orange)}
.site-header .header-guide-link,body.mode-warriors .header-guide-link,body.mode-legacy .header-guide-link{
  color:var(--forge-blue-deep);border-bottom-color:transparent}
.site-header .header-guide-link:hover,.site-header .header-guide-link:focus-visible,
body.mode-warriors .header-guide-link:hover,body.mode-legacy .header-guide-link:hover{
  color:var(--forge-orange);border-bottom-color:var(--forge-orange)}
.site-header .favorites-shortcut,body.mode-warriors .site-header .favorites-shortcut,
body.mode-legacy .site-header .favorites-shortcut{
  color:var(--forge-blue);background:#f4f8fa;border-color:#aebdc8}
.site-header .favorites-shortcut:hover,.site-header .favorites-shortcut:focus-visible{
  color:var(--forge-blue-deep);border-color:var(--forge-orange);background:#fff}
.site-header .account-link{
  color:var(--forge-blue-deep);border-color:#c7d5df;background:#f6f9fb}
.site-header .account-link:hover,.site-header .account-link:focus-visible{
  color:var(--forge-blue);border-color:var(--forge-orange);background:#fff}
.site-header .preview-chip{color:var(--forge-orange);border-color:#e8a783}
.site-header .account-menu{color:#edf4f7}
.site-header :focus-visible{outline-color:var(--forge-orange)}
/* Homepage is a bright Forge canvas, while functional game screens stay dark. */
#start-screen{max-width:none;margin:0;background:linear-gradient(180deg,#ffffff,#f3f7f9 70%,#eaf1f5);color:var(--forge-blue-deep);
  padding:0 max(26px,calc((100vw - 1220px)/2)) 76px}
#start-screen .start-intro{padding:63px 0 44px}
#start-screen .start-intro.compact-intro h1{
  font:800 clamp(36px,5vw,63px)/1.12 Georgia,serif;letter-spacing:-.035em;color:var(--forge-blue);margin:13px 0}
#start-screen .start-intro>p:last-child{color:#456174;line-height:1.65}
#start-screen .forge-intro-kicker{font-weight:900;letter-spacing:.18em;color:var(--forge-orange)}
#start-screen .choice-group-heading{border-color:#cbd9e2}
#start-screen .choice-section-title h2{color:var(--forge-blue-deep);font-weight:700}
#start-screen .tool-choice:not(.legacy-choices .tool-choice){
  border-color:#376485;background:linear-gradient(145deg,#185677,#103c58);box-shadow:0 9px 24px rgba(16,56,81,.15)}
#start-screen .tool-choice:hover{border-color:var(--forge-orange)}
#start-screen .choice-action,#start-screen .choice-icon,#start-screen .choice-overline{color:#ffac6c}
#start-screen .legacy-choices .tool-choice{background:linear-gradient(145deg,#173e3d,#102c2b);border-color:#3b6964}
#start-screen .legacy-choices .tool-choice:hover{border-color:var(--forge-orange)}
#start-screen .legacy-choices .choice-action,#start-screen .legacy-choices .choice-icon{color:#9de9dd}
/* Match the supplied two-color, stacked Integrity / Forge master lockup. */
.site-header .brand-lockup .forge-brand-title{display:flex;flex-direction:column;gap:0;align-items:flex-start;white-space:nowrap}
.site-header .forge-title-integrity{font:800 21px/1 Georgia,serif;letter-spacing:.09em;color:var(--forge-blue)}
.site-header .forge-title-forge{font:900 15px/1.2 var(--sans);letter-spacing:.29em;color:var(--forge-orange);padding-top:3px}
.site-header .brand-lockup small{font-size:8px;letter-spacing:.08em;color:#4d6c7d;font-weight:750;padding-top:3px}
@media(max-width:600px){
 .site-header .forge-title-integrity{font-size:18px}
 .site-header .forge-title-forge{font-size:13px}
 .site-header .brand-lockup small{font-size:7px}
}


/* Integrity Forge design system v2: independent system nav and persistent, themed masthead.
   These selectors supersede the original two-column mega menu; no obsolete menu CSS remains. */
.site-shell{overflow:clip}
.site-header,body.mode-warriors .site-header,body.mode-legacy .site-header{
 --header-bg:#fcfcfb;--header-ink:#173e56;--header-accent:#d85a19;
 position:sticky;top:0;z-index:100;isolation:isolate;
 display:flex;align-items:center;gap:clamp(10px,2vw,24px);
 height:auto;min-height:74px;padding:9px clamp(14px,2.8vw,44px);
 background:var(--header-bg);color:var(--header-ink);
 border-bottom:1px solid #d7e2e8;box-shadow:0 5px 20px rgba(5,25,39,.12)}
.site-header .brand{flex:0 0 auto;min-width:0}
.site-header .brand-image{height:50px;width:46px}
.site-header .header-actions{display:flex;flex:1;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;min-width:0}
.site-header .forge-system-nav{display:flex;align-items:center;gap:4px;flex:none;position:static;margin-right:auto;margin-left:clamp(8px,3vw,42px)}
.forge-system-menu{position:relative}
.forge-system-menu>summary{display:flex;align-items:center;gap:7px;min-height:42px;
 padding:9px 12px;color:var(--header-ink);font-size:13px;font-weight:800;
 border-radius:9px;list-style:none;white-space:nowrap;cursor:pointer;
 transition:background .16s ease,color .16s ease}
.forge-system-menu>summary::-webkit-details-marker{display:none}
.forge-system-menu>summary:hover,.forge-system-menu[open]>summary{background:rgba(108,133,152,.14);color:var(--header-accent)}
.forge-nav-chevron{font-size:16px;line-height:1;transition:transform .16s ease}
.forge-system-menu[open] .forge-nav-chevron{transform:rotate(180deg)}
.forge-system-panel{position:absolute;top:100%;left:0;width:min(340px,calc(100vw - 30px));
 padding:17px 18px;max-height:min(75dvh,650px);overflow-y:auto;
 background:#fff;color:#153d53;border:1px solid #d5e1e9;border-radius:12px;
 box-shadow:0 20px 55px rgba(8,27,42,.26);z-index:140}
.forge-system-menu:last-child .forge-system-panel{left:auto;right:0}
.forge-system-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:#ae4b1c;margin:0 0 12px}
.forge-system-catalogue{display:flex;flex-direction:column;gap:14px}
.forge-menu-group{display:flex;flex-direction:column;gap:5px}
.forge-menu-group h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;
 padding:0 0 7px;margin:0 0 3px;color:#1b5677;border-bottom:1px solid #dbe7ed}
.forge-menu-tool{display:flex;flex-direction:column;gap:2px;padding:9px 11px;
 border:1px solid transparent;border-radius:8px;color:#153e52;text-decoration:none;transition:background .16s ease}
.forge-menu-tool:hover,.forge-menu-tool:focus-visible,.forge-menu-tool[aria-current="page"]{background:#ecf4f8;border-color:#d7e4eb}
.forge-menu-tool[aria-current="page"]{box-shadow:inset 3px 0 #d85a19}
.forge-menu-tool-name{font-size:13px;font-weight:800}
.forge-menu-tool-description{font-size:11px;color:#5d788a;line-height:1.45}
.forge-system-home{display:block;padding:12px 9px 0;margin-top:15px;
 border-top:1px solid #dbe5eb;color:#ad461a;text-decoration:none;font-size:12px;font-weight:800}
.site-header .header-guide-link{color:var(--header-ink);border-bottom:0;padding:9px;font-size:12px;white-space:nowrap}
.site-header .header-guide-link:hover,.site-header .header-guide-link:focus-visible{color:var(--header-accent);border-color:transparent}
.site-header .favorites-shortcut,.site-header .account-link,
.site-header .forge-icon-action,.site-header .forge-profile-menu>summary{
 display:grid;place-items:center;width:42px;height:42px;min-width:42px;min-height:42px;
 padding:0;border:1px solid transparent;border-radius:50%;
 background:transparent;color:var(--header-ink);cursor:pointer;box-sizing:border-box}
.site-header .favorites-shortcut:hover,.site-header .account-link:hover,
.site-header .forge-icon-action:hover,.site-header .forge-profile-menu>summary:hover{background:rgba(111,141,163,.14);
 border-color:rgba(111,141,163,.16);color:var(--header-accent)}
.site-header .favorites-shortcut{position:relative}
.site-header .favorites-shortcut>span:not(.favorites-shortcut-count){display:none}
.site-header .favorites-shortcut-count{position:absolute;top:-3px;right:-3px}
.site-header .account-shell{position:relative;z-index:150}
.site-header .account-link span#account-display-name,.site-header .account-link>span.sr-only{
 position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
 clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header .account-trigger svg.account-chevron{display:none}
.site-header .account-avatar{width:34px;height:34px;flex:none;border-radius:50%;border:1px solid #aac2d0}
.site-header .account-menu{top:calc(100% + 10px);right:0;z-index:160}
.site-header .preview-chip{display:none!important}
.ui-close{display:grid;place-items:center;box-sizing:border-box;
 width:38px;height:38px;min-width:38px;min-height:38px;padding:0;line-height:0}
.ui-close svg{width:18px;height:18px;display:block;flex:none}
.forge-system-menu>summary:focus-visible,.forge-system-panel a:focus-visible,
.site-header .account-link:focus-visible,.site-header .favorites-shortcut:focus-visible{
 outline:3px solid var(--header-accent);outline-offset:3px}
body.mode-warriors .site-header{--header-bg:#0b1e34;--header-ink:#f4f0e4;--header-accent:#f2c57a;
 border-bottom-color:#36506e}
body.mode-legacy .site-header{--header-bg:#0b1b20;--header-ink:#e0f1ec;--header-accent:#97e4d4;
 border-bottom-color:#335d59}
body.mode-warriors .site-header .forge-title-integrity,body.mode-legacy .site-header .forge-title-integrity{color:#f0f5f8}
body.mode-warriors .site-header .forge-title-forge,body.mode-legacy .site-header .forge-title-forge{color:#f4a972}
body.mode-warriors .site-header .brand-image,body.mode-legacy .site-header .brand-image{background:white;border-radius:9px;padding:4px}
body.mode-warriors .site-header .brand-lockup small,body.mode-legacy .site-header .brand-lockup small{color:#bbcbd8}
body.mode-warriors .site-header .favorites-shortcut,body.mode-legacy .site-header .favorites-shortcut,
body.mode-warriors .site-header .account-link,body.mode-legacy .site-header .account-link{
 color:var(--header-ink);border-color:transparent;background:transparent}
body.mode-warriors .forge-system-panel{background:#142a42;color:#edf4f8;border-color:#37556d}
body.mode-legacy .forge-system-panel{background:#14292a;color:#eaf5f0;border-color:#3b6662}
body.mode-warriors .forge-menu-group h3,body.mode-legacy .forge-menu-group h3{color:#f1cc90;border-color:#4c6570}
body.mode-warriors .forge-menu-tool,body.mode-legacy .forge-menu-tool{color:#f1f7f8}
body.mode-warriors .forge-menu-tool-description,body.mode-legacy .forge-menu-tool-description{color:#bad0cf}
body.mode-warriors .forge-menu-tool:hover,body.mode-legacy .forge-menu-tool:hover,
body.mode-warriors .forge-menu-tool[aria-current="page"],body.mode-legacy .forge-menu-tool[aria-current="page"]{
 background:rgba(160,211,208,.12);border-color:rgba(160,211,208,.23)}
body.mode-warriors .forge-system-home{border-color:#435e74;color:#f4cb89}
body.mode-legacy .forge-system-home{border-color:#38625d;color:#9ee0d1}
@media(max-width:1080px){
 .site-header,body.mode-warriors .site-header,body.mode-legacy .site-header{flex-wrap:wrap}
 .site-header .header-actions{flex-wrap:wrap}
 .site-header .forge-system-nav{order:2;flex:1 1 100%;justify-content:center;margin:0;
 border-top:1px solid rgba(125,155,172,.18);padding-top:4px}
}
@media(max-width:600px){
 .site-header,body.mode-warriors .site-header,body.mode-legacy .site-header{padding:7px 12px;gap:2px}
 .site-header .brand-image{height:40px;width:38px}
 .site-header .forge-title-integrity{font-size:17px}
 .site-header .forge-title-forge{font-size:12px}
 .site-header .header-actions{gap:2px}
 .site-header .forge-system-nav{justify-content:space-between;gap:1px}
 .forge-system-menu>summary{font-size:11px;padding:8px 6px;gap:3px}
 .forge-system-panel{position:fixed;left:10px!important;right:10px!important;
 top:var(--forge-panel-top,116px);width:auto;max-height:calc(100dvh - var(--forge-panel-top,116px) - 8px)}
 .site-header .header-guide-link{font-size:11px;padding:5px}
 .site-header .favorites-shortcut,.site-header .account-link{width:37px;height:37px;min-width:37px;min-height:37px}
}

/* The account panel follows the active system theme. Only the portrait stays in the bar. */
.site-header .account-menu{background:#fff;color:#163f55;border:1px solid #d2e0e8;
 box-shadow:0 20px 46px rgba(7,35,54,.22);padding:9px}
.site-header .account-menu-identity{border-bottom:1px solid #dce5eb;padding:11px 12px;margin-bottom:6px}
.site-header .account-menu-identity strong{color:#164764;font-size:13px}
.site-header .account-menu-identity span{color:#547287;font-size:11px}
.site-header .account-menu a,.site-header .account-menu button{color:#19445b;font-size:12px;border-radius:8px}
.site-header .account-menu a:hover,.site-header .account-menu button:hover,
.site-header .account-menu a:focus-visible,.site-header .account-menu button:focus-visible{
 background:#eaf3f8;color:#0e3850;outline-color:transparent}
.site-header .account-menu #account-sign-out{color:#ab451c}
.site-header .account-menu #account-sync-now{border-color:#cbdfe9;color:#166083}
.site-header .account-menu #account-sync-message{color:#577485}
body.mode-warriors .site-header .account-menu{background:#172d46;border-color:#40617b;color:#edf4f8}
body.mode-legacy .site-header .account-menu{background:#172f31;border-color:#3f6966;color:#eef6f1}
body.mode-warriors .site-header .account-menu-identity,body.mode-legacy .site-header .account-menu-identity{border-color:#496772}
body.mode-warriors .site-header .account-menu-identity strong,body.mode-legacy .site-header .account-menu-identity strong,
body.mode-warriors .site-header .account-menu a,body.mode-legacy .site-header .account-menu a,
body.mode-warriors .site-header .account-menu button,body.mode-legacy .site-header .account-menu button{color:#e9f4f5}
body.mode-warriors .site-header .account-menu a:hover,body.mode-legacy .site-header .account-menu a:hover,
body.mode-warriors .site-header .account-menu button:hover,body.mode-legacy .site-header .account-menu button:hover{background:rgba(160,214,220,.13)}
body.mode-warriors .site-header .account-menu-identity span,body.mode-legacy .site-header .account-menu-identity span,
body.mode-warriors .site-header .account-menu #account-sync-message,body.mode-legacy .site-header .account-menu #account-sync-message{color:#b1c9d1}
body.mode-warriors .site-header .account-menu #account-sign-out,body.mode-legacy .site-header .account-menu #account-sign-out{color:#f6bb9c}

/* Discoverable biblical names entry point stays visually consistent with Forge. */
#start-screen .forge-seo-discovery{margin:2px 0 30px;text-align:left}
#start-screen .forge-seo-discovery a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;
 border:1px solid #bdd2de;border-radius:8px;background:#fff;color:#155577;text-decoration:none;
 font-size:13px;font-weight:800;box-shadow:0 5px 18px rgba(8,48,76,.06)}
#start-screen .forge-seo-discovery a:hover,#start-screen .forge-seo-discovery a:focus-visible{
 border-color:#d85a19;color:#a94115;outline-offset:3px}

/* Four search identities: a stable, fully crawlable route directory on Forge home. */
.forge-section-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;max-width:1150px;margin:8px auto 32px;padding:0 4px}
.forge-section-directory a{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
 gap:5px;text-decoration:none;background:#fff;color:#154765;border:1px solid #cedfe7;
 border-radius:12px;padding:15px 18px;box-shadow:0 6px 21px rgba(8,45,65,.07)}
.forge-section-directory a:hover,.forge-section-directory a:focus-visible{border-color:#d85a19;outline-offset:3px}
.forge-section-directory strong{font-size:14px;font-weight:850}
.forge-section-directory span{font-size:12px;color:#577384;line-height:1.5}
.forge-seo-discovery{display:flex;flex-wrap:wrap;gap:11px}
.forge-seo-discovery a{margin:0}
@media(max-width:760px){.forge-section-directory{grid-template-columns:1fr;padding:0 10px;margin:6px auto 24px}}

/* Engine is a permanent public category; only its Architect subsection is local. */
.forge-system-panel .forge-engine-dev-slot:empty{display:none}
.forge-engine-development{margin-top:14px;padding-top:13px;border-top:1px solid #d7e4ea}
.forge-engine-development h3{font:800 20px/1.3 Georgia,serif;margin:4px 0;color:#105477}
.forge-engine-development p:not(.forge-system-kicker){font-size:12px;line-height:1.5;color:#527080}
.forge-engine-development small{display:block;margin-top:9px;color:#617b89;font-size:11px}

/* The polished home generator cards are semantic links, not duplicate strips. */
#start-screen a.tool-choice{text-decoration:none;color:var(--ivory)}
#start-screen a.tool-choice:hover,#start-screen a.tool-choice:focus-visible{text-decoration:none}


/* Ko-fi: same website-owned monochrome mask, with a 24px brand image on
   hover/focus. Both icons occupy precisely the same footer hit target. */
body .site-footer .footer-social-kofi-mono{
  display:block;flex:none;width:24px;height:24px;
  background-color:currentColor;
  -webkit-mask:url('/icons/kofi-monochrome.svg') center / contain no-repeat;
  mask:url('/icons/kofi-monochrome.svg') center / contain no-repeat;
  opacity:1;transition:opacity .2s ease;pointer-events:none;
}
body .site-footer .footer-social-kofi-brand{
  inset:12px;width:24px;height:24px;
}
body .site-footer .footer-social-kofi .footer-social-link:hover .footer-social-kofi-mono,
body .site-footer .footer-social-kofi .footer-social-link:focus-visible .footer-social-kofi-mono{
  opacity:0;
}
@media(prefers-reduced-motion:reduce){
  body .site-footer .footer-social-kofi-mono{transition:none}
}
