/* Registre des Veilleurs. This sheet is scoped to the entry screen. */
#welcome{display:flex;position:fixed;inset:0;z-index:100;overflow:auto;align-items:flex-start;justify-content:center;padding:clamp(12px,3vh,38px) 18px;background:linear-gradient(112deg,#09191ee8,#122b30de),url('assets/brumes-interface/combat-report/iles-brumeuses.webp') center/cover fixed;color:#e7e2cf;box-sizing:border-box}
#welcome *{box-sizing:border-box}
#welcome .entry-book{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr;gap:0;width:min(1120px,100%);margin:auto;min-width:0;padding:clamp(17px,2.4vw,32px);background:linear-gradient(116deg,#263d3e 0%,#192e33 47%,#182b30);border:1px solid #50635a;box-shadow:0 18px 70px #050e16b8,inset 0 0 40px #0c2228b5}
#welcome .entry-book::before{content:"";position:absolute;inset:2px;pointer-events:none;z-index:2;border:12px solid transparent;border-image:url('assets/brumes-interface/combat-report/cadre.svg') 22 / 14px stretch}
#welcome h1,#welcome h2,#welcome h3,#welcome p,#welcome fieldset,#welcome legend{margin:0}
#welcome h1,#welcome h2,#welcome strong.entry-title{font-family:BrumesAsul,Georgia,serif}
#welcome button{cursor:pointer;font-family:inherit}
#welcome button:focus-visible,#welcome select:focus-visible,#welcome input:focus-visible{outline:2px solid #f5d794;outline-offset:3px}
#welcome .entry-mast,#welcome .entry-heading,#welcome .entry-section-head,#welcome .entry-foot,#welcome .entry-brand,#welcome .entry-buttons,#welcome .entry-steps,#welcome .entry-turn{display:flex;align-items:center}
#welcome .entry-mast{justify-content:space-between;gap:9px;padding-bottom:13px;border-bottom:1px solid #9b9d795c}
#welcome .entry-brand{gap:9px;color:#ead6a2;white-space:nowrap}
#welcome .entry-brand img{width:28px;height:34px}
#welcome .entry-brand strong{font:700 21px BrumesAsul,Georgia,serif;letter-spacing:.015em}
#welcome #serverAuth{display:flex;gap:3px;margin:0 auto 0 16px;padding:3px;border:1px solid #87978455;background:#10272b;border-radius:5px}
#welcome #serverAuth button,#welcome #welcomeAudioButton,#welcome #creatorBack{margin:0;border:0;padding:6px 12px;background:transparent;color:#c3cebd;font-size:13px;box-shadow:none}
#welcome #serverAuth button.active{color:#fff0c1;background:#344c49;border-radius:3px;box-shadow:inset 0 -2px #bd9e65}
#welcome #welcomeAudioButton{margin-left:auto;font-size:12px;color:#beccb9}
#welcome .entry-heading{justify-content:space-between;gap:10px;padding:18px 0 16px}
#welcome .entry-kicker,#welcome .entry-specimen-name>span{color:#d2be8d;text-transform:uppercase;font:700 10px/1.35 'Segoe UI',sans-serif;letter-spacing:.15em}
#welcome h1{font-size:clamp(24px,3vw,35px);line-height:1.08;margin:4px 0;color:#f0e7ce}
#welcome .entry-steps{gap:10px;color:#aebeb4;font-size:12px}
#welcome .entry-steps span{display:inline-flex;align-items:center;gap:6px}#welcome .entry-steps b{display:grid;place-items:center;width:23px;height:23px;border:1px solid #90a08e77;border-radius:50%;font:13px Georgia,serif}.entry-steps i{width:24px;height:1px;background:#899a8180}
#welcome[data-step=hero] #entryStepOne,#welcome[data-step=identity] #entryStepTwo{color:#f8dda0}#welcome[data-step=hero] #entryStepOne b,#welcome[data-step=identity] #entryStepTwo b{border-color:#d6bb82;background:#504932}
#welcome #characterFields{min-width:0}
#welcome .entry-workshop{display:grid;grid-template-columns:minmax(185px,.88fr) minmax(250px,1.37fr) minmax(196px,.93fr);border:1px solid #73857490}
#welcome .entry-roster,#welcome .entry-editor{min-width:0;padding:16px;background:#1a3034}
#welcome .entry-section-head{justify-content:space-between;gap:6px;margin-bottom:12px}
#welcome .entry-section-head h2,#welcome .entry-credentials h2{color:#ede1be;font-size:20px;line-height:1.15}
#welcome .entry-section-head>span{color:#adbdac;font-size:11px}
#welcome .entry-class-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
#welcome .entry-class{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;height:50px;border:1px solid #78918048;border-radius:3px;background:linear-gradient(#30494b,#22383c);box-shadow:none;padding:2px 0;color:#e3e3d6}
#welcome .entry-class img{width:32px;height:31px;object-fit:cover;object-position:top}
#welcome .entry-class span{font-size:10px;line-height:11px;white-space:nowrap}
#welcome .entry-class[aria-pressed=true]{background:linear-gradient(#56645a,#384a43);border-color:#e1c185;box-shadow:inset 0 -2px #d9ba78;color:#ffebbd}
#welcome .entry-class:hover,#welcome .entry-sex button:hover{border-color:#b8bc96}
#welcome .entry-class-select{display:none}
#welcome .entry-sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
#welcome .entry-specimen{min-width:0;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;color:#f5e9c9;border-inline:1px solid #82958185;background:#254546}
#welcome .entry-landscape{position:absolute;inset:0 0 50px;z-index:-1;background:linear-gradient(180deg,#13292cc7,#23424714 35%,#192e3380 80%,#20373a),url('assets/brumes-interface/combat-report/iles-brumeuses.webp') 54% 55%/cover}
#welcome .entry-specimen-name{text-align:center;padding:13px 8px 0;text-shadow:0 2px 4px #13272b}
#welcome .entry-specimen-name>span{color:#f6dea0}#welcome .entry-specimen-name h2{font-size:clamp(25px,3vw,36px);line-height:1.16;color:#ffefcd}
#welcome .entry-plinth{position:relative;flex:1;min-height:170px;display:grid;place-items:end center;background:url('assets/brumes-interface/creator-dais.svg') center bottom 2px/min(82%,285px) auto no-repeat}
#welcome #skinPreview{display:block;width:auto;height:clamp(161px,25vh,224px);max-width:100%;aspect-ratio:280/270;margin-bottom:23px}
#welcome .entry-turn{justify-content:center;gap:8px;margin:2px 0 7px;color:#e6e6d3;font-size:11px;text-shadow:0 1px 2px #18282e}
#welcome .entry-turn button,#welcome .entry-hair button{width:30px;height:28px;padding:0;border:1px solid #91a19180;border-radius:3px;background:#20393bd9;color:#f4d79f;font:22px/20px Georgia,serif}
#welcome #creatorDirection{min-width:93px;text-align:center}
#welcome .entry-class-note{padding:11px 16px 14px;border-top:1px solid #abac8566;background:linear-gradient(120deg,#ddcfaa,#eee2c6 53%,#decfae);color:#342f27}
#welcome .entry-class-note strong{font:700 17px BrumesAsul,Georgia,serif;color:#493c2b}#welcome .entry-class-note p{font:13px/1.38 'Segoe UI',sans-serif;margin-top:4px;color:#413c32}
#welcome .entry-editor{background:linear-gradient(145deg,#294142,#1a3035)}
#welcome .entry-editor fieldset{min-width:0;padding:0;border:0;margin:0 0 13px}#welcome .entry-editor fieldset:last-child{margin-bottom:0}
#welcome label,#welcome legend{display:block;font-size:13px;font-weight:600;color:#e5ddc6;text-transform:none;letter-spacing:0}#welcome .entry-editor legend{padding:0;margin:0 0 6px}
#welcome .entry-sex{display:flex;gap:4px}
#welcome .entry-sex button,#welcome #creatorDyeReset{padding:6px 8px;border:1px solid #7087788a;border-radius:3px;background:#192f33;color:#cbd5cc;box-shadow:none;font-size:12px}
#welcome .entry-sex button{flex:1}#welcome .entry-sex button[aria-pressed=true]{color:#f7e4b1;background:#3a504b;border-color:#c9b47b}
#welcome .entry-hair{display:grid;gap:4px;grid-template-columns:30px 1fr 30px}
#welcome select,#welcome input:not([type=color]){width:100%;min-width:0;max-width:100%;margin:0;padding:7px 9px;background:#13292f;border:1px solid #73877b;border-radius:4px;color:#f3eddb;font:14px 'Segoe UI',sans-serif;box-shadow:inset 0 1px 4px #0a191d56}
#welcome .entry-hair select{padding:3px 5px;height:28px;font-size:12px}
#welcome .entry-pigments>div,#welcome .entry-dye-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#welcome .entry-pigments label,#welcome .entry-dye-tools label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:400}
#welcome input[type=color]{height:27px;width:34px;padding:2px;border:1px solid #8e9e8b;border-radius:4px;background:#1a3034;cursor:pointer;margin:0}
#welcome .entry-fabric{border-top:1px solid #74857480!important;padding-top:4px!important}#welcome .entry-fabric legend{padding-right:7px}
#welcome .entry-swatches{display:flex;gap:6px;flex-wrap:wrap;margin:3px 0 10px}
#welcome .entry-dye{background:var(--dye);border:1px solid #ddd8bc80;border-radius:50%;width:24px;height:24px;padding:0;box-shadow:inset 0 -3px 4px #10242a55}
#welcome .entry-dye[aria-pressed=true]{outline:2px solid #efd89d;outline-offset:2px}
#welcome .entry-dye-tools{justify-content:space-between}#welcome #creatorDyeReset{padding:4px 6px;font-size:11px}
#welcome #creatorDyeLabel,#welcome #tribeCodeHint{font-size:11px;color:#bec9ba;display:block;margin-top:5px}
#welcome .entry-foot{justify-content:space-between;gap:12px;border-top:1px solid #91a18a55;margin-top:15px;padding-top:12px}
#welcome #welcomeMode{font:12px/1.4 'Segoe UI',sans-serif;color:#bdc8bd}#welcome #welcomeError{color:#ffbda0;font-size:13px}
#welcome .entry-buttons{gap:10px}#welcome .entry-primary{border:1px solid #f0d69a;border-radius:4px;padding:9px 19px;background:linear-gradient(#e9d39f,#c6aa71);color:#292d24;box-shadow:inset 0 0 0 2px #796b4540,0 3px 7px #0b1c204d;font:700 15px BrumesAsul,Georgia,serif}#welcome .entry-primary span{margin-left:12px}#welcome .entry-primary:disabled{opacity:.55}
#welcome .entry-login-scene,#welcome .entry-credentials,#welcome .entry-identity,#welcome #creatorBack,#welcome #startGame{display:none}
#welcome[data-step=identity] .entry-workshop,#welcome[data-step=identity] #creatorNext,#welcome[data-auth=login] .entry-steps,#welcome[data-auth=login] #creatorNext,#welcome[data-auth=character] #serverAuth{display:none}
#welcome[data-step=identity] .entry-identity,#welcome[data-step=identity] #startGame,#welcome[data-step=identity] #creatorBack,#welcome[data-auth=login] #startGame,#welcome[data-auth=login] .entry-credentials,#welcome[data-auth=register][data-step=identity] .entry-credentials{display:block}
#welcome[data-step=identity] .entry-book,#welcome[data-auth=login] .entry-book{max-width:820px;grid-template-columns:1fr 1fr;column-gap:22px}
#welcome[data-step=identity] :is(.entry-mast,.entry-foot,.entry-heading),#welcome[data-auth=login] :is(.entry-mast,.entry-foot,.entry-heading){grid-column:1/-1}
#welcome[data-auth=local][data-step=identity] #characterFields,#welcome[data-auth=character][data-step=identity] #characterFields{grid-column:1/-1}
#welcome .entry-identity,#welcome .entry-credentials{padding:18px;background:#142c30;border:1px solid #72857870;border-radius:3px}
#welcome .entry-identity label,#welcome .entry-credentials label{margin:12px 0 5px}#welcome .entry-identity label small{font-size:10px;color:#adbcac;margin-left:4px}
#welcome .entry-summary{display:flex;gap:13px;align-items:center;padding-bottom:8px;border-bottom:1px solid #72857855}#welcome .entry-summary img{width:53px;height:60px;object-fit:contain}#welcome .entry-summary h2{color:#f0dfb4;font-size:21px}#welcome #skinSelectedLabel{font-size:12px;color:#c3cec1}
#welcome[data-auth=login] .entry-login-scene{display:flex;align-items:end;padding:18px;min-height:226px;border:1px solid #9b9e795e;background:linear-gradient(0deg,#193234 0%,transparent 53%),url('assets/brumes-interface/combat-report/apres-orage.webp') 50% 50%/cover}
#welcome .entry-login-scene span{color:#f1e3bd;font:17px BrumesAsul,Georgia,serif}
@media(max-width:860px){#welcome .entry-workshop{grid-template-columns:minmax(150px,.8fr) minmax(210px,1.12fr) minmax(180px,1fr)}#welcome .entry-roster,#welcome .entry-editor{padding:11px}#welcome .entry-class span{font-size:9px}}
@media(max-width:690px){
 #welcome{padding:7px 5px}#welcome .entry-book{padding:14px}#welcome .entry-brand strong{font-size:16px}#welcome .entry-brand img{width:19px;height:25px}#welcome #serverAuth{margin-left:auto}#welcome #serverAuth button,#welcome #welcomeAudioButton{font-size:11px;padding:5px 6px}#welcome .entry-mast{flex-wrap:wrap}#welcome .entry-heading{padding:13px 0}#welcome .entry-steps{gap:5px}.entry-steps i{display:none}#welcome .entry-steps span{font-size:0}#welcome .entry-steps b{font-size:11px;width:20px;height:20px}
 #welcome .entry-workshop{grid-template-columns:1fr}#welcome .entry-roster{display:flex;gap:10px;align-items:center;padding:9px 12px}#welcome .entry-class-grid{display:none}#welcome .entry-roster .entry-section-head{margin:0}#welcome .entry-roster .entry-section-head span{display:none}#welcome .entry-class-select{display:block;position:static;clip-path:none;width:auto;flex:1;height:32px;padding:4px 6px}
 #welcome .entry-specimen{border:0;border-block:1px solid #82958185}#welcome .entry-specimen-name{padding-top:8px}#welcome .entry-specimen-name h2{font-size:25px}#welcome .entry-plinth{min-height:118px;background-size:165px auto}#welcome #skinPreview{height:143px;margin-bottom:11px}#welcome .entry-turn{margin:0 0 4px}#welcome .entry-turn button{height:23px}#welcome .entry-class-note{padding:8px 12px}#welcome .entry-class-note p{font-size:12px}
 #welcome .entry-editor{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:12px}#welcome .entry-editor .entry-section-head{grid-column:1/-1;margin:0}#welcome .entry-editor fieldset{margin:0}#welcome .entry-fabric{grid-column:1/-1}#welcome .entry-pigments{grid-column:1/-1}#welcome .entry-pigments>div{gap:20px}#welcome .entry-swatches{display:inline-flex;margin:0 0 7px}
 #welcome[data-step=identity] .entry-book,#welcome[data-auth=login] .entry-book{grid-template-columns:1fr;gap:10px}#welcome[data-auth=login] .entry-login-scene{min-height:100px}#welcome .entry-foot{flex-wrap:wrap;padding-top:10px;margin-top:10px}#welcome .entry-buttons{margin-left:auto}#welcome .entry-primary{font-size:14px}
}
