/* ARCVEL — CAT IDENTITY (v1)
   Makes the Arcvel Knight read as a CAT on the website AND in the game UI.
   Same palette/shapes as drawCatHead/drawCatTail in hero-classes.js (the canvas version):
   fur #d6e0ee, tabby stripes #5b7fb0, pink ears, amber slit-pupil eyes, nose + "w" mouth, whiskers, gold collar bell, long ringed tail.
   Loaded LAST by index.html and game.html. Overrides the old rabbit-like boxy ears. */

/* ---------- armor illustrations (website cards + in-game Armory / reveal) ---------- */
.arm-art .arm-helmet{background:#d6e0ee!important;position:relative}
.arm-art .arm-ear-l,.arm-art .arm-ear-r{position:absolute!important;top:-11px!important;width:10px!important;height:12px!important;border:0!important;background:#d6e0ee!important;transform:none!important}
.arm-art .arm-ear-l{left:-1px!important;right:auto!important;clip-path:polygon(0 100%,12% 0,100% 100%)}
.arm-art .arm-ear-r{right:-1px!important;left:auto!important;clip-path:polygon(0 100%,88% 0,100% 100%)}
.arm-art .arm-ear-l:after,.arm-art .arm-ear-r:after{content:"";position:absolute;left:3px;right:2px;top:5px;bottom:0;background:#f9a8d4}
.arm-art .arm-ear-l:after{clip-path:polygon(0 100%,25% 0,100% 100%)}
.arm-art .arm-ear-r:after{left:2px;right:3px;clip-path:polygon(0 100%,75% 0,100% 100%)}
.arm-art .arm-eye-l,.arm-art .arm-eye-r{position:absolute!important;top:3px!important;width:5px!important;height:5px!important;background:#fbbf24!important;z-index:2}
.arm-art .arm-eye-l{left:2px!important;right:auto!important}
.arm-art .arm-eye-r{right:2px!important;left:auto!important}
.arm-art .arm-eye-l:after,.arm-art .arm-eye-r:after{content:"";position:absolute;left:50%;margin-left:-1px;top:0;width:2px;height:100%;background:#0b1220}
.arm-art .arm-helmet:before{content:"";position:absolute;left:0;top:0;width:20px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' shape-rendering='crispEdges'%3E%3Crect x='9' y='0' width='2' height='3' fill='%235b7fb0'/%3E%3Crect x='5' y='0.5' width='1.6' height='2.4' fill='%235b7fb0'/%3E%3Crect x='13.4' y='0.5' width='1.6' height='2.4' fill='%235b7fb0'/%3E%3Crect x='0' y='7' width='2.4' height='0.8' fill='%235b7fb0'/%3E%3Crect x='0' y='9' width='2.4' height='0.8' fill='%235b7fb0'/%3E%3Crect x='17.6' y='7' width='2.4' height='0.8' fill='%235b7fb0'/%3E%3Crect x='17.6' y='9' width='2.4' height='0.8' fill='%235b7fb0'/%3E%3Crect x='6' y='8.6' width='8' height='5.4' fill='%23f8fafc'/%3E%3Cpolygon points='8.6,8.6 11.4,8.6 10,10.3' fill='%23f472b6'/%3E%3Cpath d='M10 10.3v1.2M8.1 12h1.9M10 12h1.9' stroke='%23475569' stroke-width='0.6' fill='none'/%3E%3C/svg%3E") center/100% 100% no-repeat;z-index:1;pointer-events:none}
.arm-art .arm-helmet:after{content:"";position:absolute;left:50%;margin-left:-20px;top:6px;width:40px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cg stroke='%23f1f5f9' stroke-width='0.8' stroke-linecap='round' fill='none'%3E%3Cpath d='M14 5L0 2M14 6.2L0 6.4M14 7.4L1 10.6M26 5L40 2M26 6.2L40 6.4M26 7.4L39 10.6'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;z-index:3;pointer-events:none}
/* collar + gold bell */
.arm-art .arm-chest:before{content:"";position:absolute;left:50%;margin-left:-3px;top:-4px;width:6px;height:6px;background:#fbbf24;border:1px solid #b45309;border-radius:50%;z-index:4}
.arm-art .arm-chest:after{content:"";position:absolute;left:1px;right:1px;top:-3px;height:3px;background:#1d4ed8;z-index:3}
/* Armor artwork is universal equipment, not a hero preview: never attach a character tail. */
.arm-art .arm-leg-r::after{content:none!important;display:none!important;background:none!important;animation:none!important}

/* ---------- little cat face logo (game header + start menu) ---------- */
.gameFoxLogo .ear-l,.gameFoxLogo .ear-r{border:0!important;background:#d6e0ee!important;top:-1px!important;width:10px!important;height:13px!important}
.gameFoxLogo .ear-l{left:4px!important;clip-path:polygon(0 100%,12% 0,100% 100%)}
.gameFoxLogo .ear-r{right:4px!important;clip-path:polygon(0 100%,88% 0,100% 100%)}
.gameFoxLogo .ear-l:after,.gameFoxLogo .ear-r:after{background:#f9a8d4!important;inset:5px 2px 0 3px!important}
.gameFoxLogo .face{background:#d6e0ee!important;border-color:#5b7fb0!important;overflow:visible}
.gameFoxLogo .face:before{content:"";position:absolute;left:-25%;width:150%;top:30%;height:45%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cg stroke='%23f1f5f9' stroke-width='0.8' stroke-linecap='round' fill='none'%3E%3Cpath d='M14 5L0 2M14 6.2L0 6.4M14 7.4L1 10.6M26 5L40 2M26 6.2L40 6.4M26 7.4L39 10.6'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;pointer-events:none}
.gameFoxLogo .eye-l,.gameFoxLogo .eye-r{background:#fbbf24!important;width:4px!important;height:4px!important;top:3px!important}
.gameFoxLogo .eye-l:after,.gameFoxLogo .eye-r:after{content:"";position:absolute;left:50%;margin-left:-.6px;width:1.2px;top:0;bottom:0;background:#0b1220}
.gameFoxLogo .nose{background:#f472b6!important;left:50%!important;margin-left:-2px;top:8px!important;width:4px!important;height:3px!important;clip-path:polygon(0 0,100% 0,50% 100%)}
.gameFoxLogo.largeLogo .eye-l,.gameFoxLogo.largeLogo .eye-r{width:6px!important;height:6px!important;top:5px!important}
.gameFoxLogo.largeLogo .ear-l,.gameFoxLogo.largeLogo .ear-r{width:15px!important;height:19px!important;top:-3px!important}
.gameFoxLogo.largeLogo .ear-l{left:5px!important}.gameFoxLogo.largeLogo .ear-r{right:5px!important}
.gameFoxLogo.largeLogo .nose{top:13px!important;width:6px!important;height:4px!important;margin-left:-3px}

/* Mythic antlers sit outside the cat ears (same offset as in-game canvas) */
.arm-art .fx-antler-l{left:calc(50% - 27px)!important}
.arm-art .fx-antler-r{right:calc(50% - 27px)!important}

/* Knight's buckler (same look as drawCatShield in hero-classes.js) */
.arm-art .arm-pauldron-l:after{content:"";position:absolute;left:-9px;top:-1px;width:10px;height:15px;z-index:5;pointer-events:none;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M0 0H12V9L6 18L0 9Z' fill='%23bfdbfe'/%3E%3Cpath d='M1.4 1.4H10.6V8.6L6 15.6L1.4 8.6Z' fill='%232563eb'/%3E%3Crect x='1.4' y='1.4' width='9.2' height='2.4' fill='%233b82f6'/%3E%3Cpath d='M5.2 4.4h1.6v7H5.2zM2.8 6.2h6.4v1.6H2.8z' fill='%23fde68a'/%3E%3C/svg%3E") center/100% 100% no-repeat}


/* ARCVEL V31 — exact Arcvel Knight logo: crop from the same hero sprite used in gameplay. */
.gameHeroLogo{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;filter:drop-shadow(0 0 8px #4aa8ff88);image-rendering:pixelated}
.gameHeroLogo img{display:block;width:48px;height:48px;object-fit:contain;image-rendering:pixelated}
.gameHeroLogo.largeLogo{width:96px;height:72px;flex-basis:96px;filter:drop-shadow(0 0 16px #ffc94d88)}
.gameHeroLogo.largeLogo img{width:92px;height:92px}
.gameFoxLogo{display:none!important}

/* Keep the desktop controls on one clean row; settings stays directly beside Heroes. */
@media (min-width:701px){
  #gameShell>header{display:grid;grid-template-columns:minmax(260px,auto) minmax(0,1fr);column-gap:18px;align-items:center}
  .headerBrand{min-width:0;display:flex;align-items:center;gap:10px}
  .topActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:nowrap}
  .topActions button{white-space:nowrap;padding:8px 10px;font-size:13px}
  .volumeControl{display:flex;align-items:center;gap:6px;padding:5px 8px;white-space:nowrap;font-size:12px}
  .volumeControl input{width:76px}
  #settingsBtn{margin-left:0}
}

/* The project name is always ARCVEL; preserve the pixel type treatment. */
.headerBrand strong,.arcvelBrandName{font-family:'Jersey 10','Courier New',monospace;font-size:22px;font-weight:700;letter-spacing:3px;line-height:1;text-transform:uppercase;display:block}
.headerBrand small{font-family:'Jersey 10','Courier New',monospace;font-size:12px;letter-spacing:2px;line-height:1.1;display:block}

/* ARCVEL BRAND LEGIBILITY: Press Start 2P keeps the pixel look while giving the C a clearly open shape at laptop header size. */
.startMenu h1{font-family:'Jersey 10','Courier New',monospace!important;letter-spacing:2px}
.logo > span:last-child{font-family:'Jersey 10','Courier New',monospace!important}


/* ARCVEL FIX — remove the decorative buckler badge from armor-only artwork.
   This shared armor art is used by the website catalog, in-game inventory,
   and Soul Gacha reveal. Hero/gameplay shield mechanics are untouched. */
.arm-art .arm-pauldron-l::after{
  content:none!important;
  display:none!important;
  background:none!important;
}

/* FONT: DotGothic16 is a single-weight pixel font; stop the browser from smearing it with fake bold/italic so numbers and letters stay crisp. */
*{font-synthesis:none}
