/* Shared interface palette; world materials and character colors stay independent. */
:root{--ui-gold:#ffcc3d;--ui-red:#d93642;--ui-cream:#fff2d4;--ui-dark:#1d0d13;--ui-border:#844039;color-scheme:dark}
#game button:focus-visible,#game input:focus-visible,#game select:focus-visible,#game summary:focus-visible{outline:3px solid var(--ui-gold);outline-offset:3px}
#game .start,#mpPublic,#mpStart,#saveProfile,#finishControls{background:var(--ui-gold)!important;color:#351219!important;border-color:#ffe698}
#game .start:hover,#mpPublic:hover,#mpStart:hover,#saveProfile:hover{background:#ffe17a!important}
.gameTitleSuffix,.scarlet,.onlineCaption,#mpCode,#heroColorTitle,#heroColorName{color:var(--ui-gold)}
.titleBar{background:#ad2330;color:#fff1c6}.bigTitle{text-shadow:4px 3px 0 #6a1f2b}
.screen{background:linear-gradient(90deg,#180810f5 0%,#180810dc 35%,#18081055 65%,transparent 100%)}
.mode.active,.characterChoice[aria-pressed=true],.mpModeCards button[aria-pressed=true]{background:var(--ui-gold);border-color:#ffe88a;color:#351219}
.mode.active small,.mode.active strong,.characterChoice[aria-pressed=true] small,.characterChoice[aria-pressed=true] b,.mpModeCards button[aria-pressed=true] small{color:#57222a}
#multiplayerBtn,#mpPrivate,#mpJoinForm>button,#profileMenuBtn{background:#a92332;color:#fff0c9;border-color:#ee6f58}
#profileMenuBtn:hover,#mpPrivate:hover{background:#c3313e}
#mpScreen{background:radial-gradient(ellipse at top left,#431722,#180c11 70%)}
#mpStatus{background:#371821;border-left-color:var(--ui-gold);color:#ffe2a5}
.mpSetup,#mpBrowser,#mpLobby{background:#251217ee;border-color:#784039}
#mpCode,.mpVisionBadge,#profileDialog small,.achievement strong,.heroColorHeading strong{color:var(--ui-gold)}
.mpCheck input,.mpDifficulty input,.upgradeFields input{accent-color:var(--ui-gold)}
#profileDialog{background:#251218;color:#fff0d2;border-color:#b34b3e}#profileDialog p{color:#d9b7a8}
.achievement{background:#351920;border-color:#754036}.achievement.unlocked{border-color:var(--ui-gold)}
#profileDialog button,#profileDialog select{background:#491c28;border-color:#ac6051;color:#fff0cf}
#controlEditor{background:#35141ff5;border-color:var(--ui-gold);color:#ffebc2}
#hunterAbility{background:#a52233eb;color:#fff0cb;border-color:#ffcb3d}
.touchButton{background:linear-gradient(145deg,#781f2def,#361019ef)!important;border-color:#ef8a60!important;color:#fff0c9}
.touchButton.touchPressed,.touchButton[aria-pressed=true]{background:#ffcc3d!important;border-color:#ffe99c!important;color:#34131b}
.stick{background:radial-gradient(#a4353e70,#3a141d90)!important;border-color:#ffd05d99!important}.stickKnob{background:#ffce48bb!important;border-color:#ffedac!important}
#paperPanel{background:#241119f5;border-color:#b15443}#paperPanel h2,#paperHead>span{color:#ffe4a4}#paperHead>span{background:#431522e8;border-color:#b35846}
#paperAnswer{border-left-color:var(--ui-gold)}
.heroColorPanel{background:#251119e8;border-color:#a3443a}.heroColorSwatch[aria-pressed=true]{background:#55202b;outline:1px solid var(--ui-gold)}
.characterChoice[aria-pressed=true] .seisPerk{color:#6b1425}
.editingControls #touchUI .touchButton,.editingControls #stick,.editingControls #hunterAbility{outline-color:var(--ui-gold)}
@media(max-width:720px){.screen{background:linear-gradient(90deg,#180810ef,#180810a0)}}
