/* Compact character studio. Full-body profile stays visible in every tab. */
#game .cj-lobby{max-width:920px;padding-top:18px}#game .cj-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}#game .cj-heading .section-label{font-size:9px}#game .cj-heading h2{font:800 clamp(38px,5vw,54px)/1 'Barlow Condensed',Impact,sans-serif;margin:6px 0;color:#fff;letter-spacing:-.02em}#game .cj-heading h2 em{color:#bcffd6;font-style:normal}#game .cj-best{text-align:center;border:1px solid #d3ffb859;border-radius:16px;padding:9px 16px;background:#b5fbac18}#game .cj-best span{font-size:8px;display:block;letter-spacing:.1em;color:#e9ffd8}#game .cj-best strong{display:block;font-size:27px;line-height:1.1;color:#e9ffcb}
#game .cj-setup{--world-art:url('/crossy-assets/waterford.webp');position:relative;isolation:isolate;display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;border:1px solid #d5f6ff50;border-radius:27px;overflow:hidden;box-shadow:0 20px 65px #071a3333,inset 0 1px 0 #ffffff38;background:linear-gradient(125deg,#285c7370,#2a3055cf)}#game .cj-setup:before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#11394fa8,#20214dec),var(--world-art) center/cover;z-index:-1;opacity:.9}#game .cj-progress{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#ecfff90d;border-bottom:1px solid #d4fff51c}#game .cj-progress>div:first-child{display:flex;align-items:center;gap:7px}#game .cj-progress span{font-size:9px;letter-spacing:.04em}#game .cj-progress strong{font-size:20px;color:#fff}#game .cj-progress-track{flex:1;max-width:500px}#game .cj-progress-track>div{height:5px;border-radius:99px;background:#071d3955;overflow:hidden}#game #cj-xp-fill{display:block;height:100%;background:linear-gradient(90deg,#79e5d2,#d1f49b);border-radius:99px}#game .cj-progress-track small{font-size:8px;color:#d0e6ed;display:block;margin-top:3px}#game #cj-collection-count{color:#dbffeb;white-space:nowrap;font-size:9px}
#game .cj-profile{min-width:0;padding:16px;text-align:center;background:radial-gradient(ellipse at 50% 25%,color-mix(in srgb,var(--character-color) 24%,transparent),transparent 68%);border-right:1px solid #ffffff20}#game .cj-profile-art{height:174px;position:relative;margin:0 0 7px;display:grid;place-items:center}#game .cj-profile-art:before{content:'';position:absolute;width:90px;height:18px;left:calc(50% - 45px);bottom:1px;border-radius:50%;background:var(--character-color);opacity:.3;filter:blur(6px)}#game .cj-profile-art img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 10px 12px #0004)}#game .cj-preview-gear{position:absolute;right:9px;bottom:5px;font-size:22px;padding:5px;border:1px solid #fff6;background:#ffffff24;backdrop-filter:blur(10px);border-radius:12px}#game .cj-profile-copy{display:flex;flex-direction:column;align-items:center}#game .cj-profile-copy>small:first-child{font-size:10px;color:var(--character-color);letter-spacing:.04em}#game .cj-profile-copy h4{font-size:25px;line-height:1.1;margin:4px 0 7px;color:#fff}#game .cj-profile-copy p{font-size:11px;line-height:1.45;color:#e3eef5;margin:0;max-width:280px;min-height:47px}#game #cj-profile-ref{font-size:9px;color:var(--character-color);margin-top:6px}#game #cj-profile-stat{font-size:9px;color:#c0dae5;margin:6px 0}#game #cj-equip{width:100%;font-size:10px;min-height:36px;padding:9px;border-radius:11px;background:linear-gradient(130deg,color-mix(in srgb,var(--character-color) 27%,transparent),#ffffff10);border-color:#ffffff40}#game #cj-equip:disabled{opacity:.7;cursor:default}
#game .cj-config{min-width:0;padding:14px}#game .cj-tabs{display:flex;padding:4px;gap:3px;background:#071f374d;border:1px solid #ffffff22;border-radius:14px;margin-bottom:10px}#game .cj-tabs button{flex:1;min-height:42px;min-width:0;border:1px solid transparent;border-radius:10px;color:#dbe6ef;background:transparent;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap;padding:7px}#game .cj-tabs button[aria-selected=true]{background:linear-gradient(135deg,#c0ffe13d,#b7c2ff36);box-shadow:0 2px 9px #09182e33,inset 0 1px 0 #fff5;border-color:#d9fff343;color:#fff}#game .cj-choice-panel{min-height:290px}#game .cj-setup [hidden]{display:none!important}#game .cj-choice-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#dfecf0;margin:9px 2px}#game .cj-choice-heading small{font-size:8px;color:#b4d1de}#game .cj-characters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-height:278px;overflow:auto;align-content:start;padding:3px;scrollbar-width:thin;scrollbar-color:#a1dfd688 transparent;overscroll-behavior:contain}#game .cj-character{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px 2px 7px;background:linear-gradient(145deg,color-mix(in srgb,var(--character-color) 17%,transparent),#ffffff06);border:1px solid #ffffff25;border-radius:12px;color:#fff;min-width:0;cursor:pointer}#game .cj-character img{height:54px;width:100%;object-fit:contain}#game .cj-character strong{font-size:10px;line-height:1.3;font-weight:700;white-space:nowrap}#game .cj-character small{font-size:8px;line-height:1.4;margin-top:2px;color:#d3e5ee}#game .cj-character.locked img{filter:saturate(.65);opacity:.7}#game .cj-character.inspecting{border-color:var(--character-color);box-shadow:inset 0 1px 0 #ffffff50;background:linear-gradient(145deg,color-mix(in srgb,var(--character-color) 35%,transparent),#ffffff12)}#game .cj-character.inspecting small{color:#fff}
#game .cj-maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:3px}#game .cj-map{position:relative;overflow:hidden;border-radius:14px;padding:0;background:#173a4c;border:2px solid #ffffff30;text-align:left;cursor:pointer;height:108px;min-width:0}#game .cj-map img{width:100%;height:100%;object-fit:cover;display:block}#game .cj-map>span{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:end;padding:10px;background:linear-gradient(0deg,#112239ee,transparent 80%);color:#fff}#game .cj-map small{font-size:7px;letter-spacing:.04em;margin-bottom:4px;color:#e5f9ea}#game .cj-map strong{font-size:12px;line-height:1.1}#game .cj-map.selected{border-color:#b6f4d4;box-shadow:0 0 0 2px #a5ebd322}#game .cj-map.selected:after{content:'✓';position:absolute;top:6px;right:6px;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#e2ffdc;color:#234f4d;font-size:10px;font-weight:900}#game .cj-map-caption{margin:8px 3px 0;color:#d5e5ee;font-size:10px;line-height:1.5}#game .cj-map-caption strong{display:none}#game .cj-map-caption p{margin:0}
#game .cj-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:3px}#game .cj-item{display:flex;align-items:center;gap:8px;padding:12px 8px;min-height:65px;border-radius:13px;border:1px solid #ffffff35;background:linear-gradient(145deg,#b6d9ff1a,#d5b6ff15);color:#fff;cursor:pointer;text-align:left}#game .cj-item>span:first-child{font-size:25px}#game .cj-item strong{display:block;font-size:11px}#game .cj-item small{display:block;font-size:8px;margin-top:4px;color:#d4e7ef}#game .cj-item.selected{background:linear-gradient(145deg,#b5d5ff45,#d5b8ff35);border-color:#cadbffb3}#game .cj-item:disabled{opacity:.5;cursor:default}#game #cj-item-desc{font-size:10px;line-height:1.5;color:#d8eaf3;margin:12px 3px;min-height:30px}#game .cj-trails{display:flex;align-items:center;gap:4px;border-top:1px solid #ffffff20;padding-top:8px}#game .cj-trails>span{font-size:10px;margin-right:auto;color:#e1eff5}#game .cj-trails button{width:44px;height:44px;border:7px solid transparent;border-radius:50%;background:var(--trail);background-clip:padding-box;box-shadow:inset 0 0 0 5px #12334777;cursor:pointer}#game .cj-trails button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 5px #12334755}
#game .cj-launch{grid-column:1/-1;padding:12px 16px 10px;border-top:1px solid #d3fff52b;background:linear-gradient(110deg,#c6ffbb16,#9dd5fc12);display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;align-items:center}#game .cj-loadout{display:flex;flex-wrap:wrap;gap:4px 8px;color:#d7edf2;font-size:10px;min-width:0}#game .cj-loadout strong{width:100%;font-size:13px;color:#fff}#game #cj-selected-map:before{content:'· ';color:#baffdb}#game #cj-play{font-size:12px;min-height:48px;padding:13px 15px;justify-content:center;border-radius:15px;white-space:normal}#game #cj-play:disabled{opacity:.65;cursor:default}#game .cj-lobby .arcade-mission{grid-column:1/-1;text-align:center;margin:0!important;padding:0!important;border:0!important;background:none!important;font-size:9px!important;color:#d3e8bb;line-height:1.4;box-shadow:none}#game .cj-how{margin:12px 0;color:#d0e2eb;font-size:11px}#game .cj-how summary{cursor:pointer;padding:10px 0;min-height:44px}#game .cj-how p{font-size:11px;line-height:1.7;max-width:720px}#game .cj-save-note{font-size:11px;color:#f5dba3}#game .cj-setup button:focus-visible{outline:3px solid #f9e794;outline-offset:2px}
#game .cj-difficulty{position:absolute;top:calc(max(12px,env(safe-area-inset-top)) + 64px);left:50%;transform:translateX(-50%);text-align:center;background:#173d54a8;border:1px solid #ffffff70;border-radius:13px;padding:7px 13px;color:#fff;backdrop-filter:blur(12px);min-width:102px;pointer-events:none}#game .cj-difficulty span{font-size:10px;font-weight:800}#game .cj-difficulty>div{height:3px;background:#ffffff3b;border-radius:9px;margin-top:5px;overflow:hidden}#game #cj-difficulty-fill{display:block;height:100%;background:linear-gradient(90deg,#b2ffba,#ffe680,#ff938d);width:5%}
@media(max-width:700px){#game .cj-lobby{padding-top:12px}#game .cj-heading h2{font-size:40px}#game .cj-heading .section-label{font-size:8px}#game .cj-setup{grid-template-columns:1fr;border-radius:22px}#game .cj-progress{padding:10px 12px;gap:10px}#game .cj-profile{display:flex;gap:12px;padding:12px;border-right:0;border-bottom:1px solid #ffffff20;text-align:left;min-height:168px}#game .cj-profile-art{width:34%;height:158px;flex-shrink:0;margin:0}#game .cj-preview-gear{right:0;bottom:0;font-size:17px;padding:4px;border-radius:10px}#game .cj-profile-copy{flex:1;align-items:start;min-width:0}#game .cj-profile-copy h4{font-size:23px;margin:3px 0 6px}#game .cj-profile-copy p{font-size:10px;line-height:1.4;min-height:0}#game .cj-profile-copy>small:first-child{font-size:9px}#game #cj-profile-ref{font-size:8px;margin-top:5px}#game #cj-profile-stat{font-size:8px;margin:5px 0}#game #cj-equip{min-height:34px;font-size:9px;padding:7px}#game .cj-config{padding:10px 10px 8px}#game .cj-tabs{margin-bottom:7px}#game .cj-tabs button{font-size:10px;min-height:42px}#game .cj-choice-panel{min-height:208px}#game .cj-choice-heading{margin:7px 3px;font-size:9px}#game .cj-characters{grid-template-columns:repeat(4,minmax(0,1fr));max-height:184px;gap:5px}#game .cj-character{padding:3px 2px 5px}#game .cj-character img{height:53px}#game .cj-character strong{font-size:10px}#game .cj-character small{font-size:8px}#game .cj-map{height:80px}#game .cj-map>span{padding:8px}#game .cj-map small{font-size:6px;margin-bottom:3px}#game .cj-map strong{font-size:11px}#game .cj-map-caption{font-size:9px;margin-top:7px}#game .cj-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}#game .cj-item{flex-direction:column;padding:8px 2px;gap:5px;text-align:center;min-height:70px}#game .cj-item strong{font-size:10px}#game .cj-item small{display:none}#game #cj-item-desc{margin:10px 3px;font-size:10px;min-height:42px}#game .cj-trails{padding-top:5px}#game .cj-launch{padding:10px 12px;gap:7px 9px}#game #cj-play{font-size:10px;padding:12px 8px}#game .cj-loadout{font-size:9px;gap:3px 6px}#game .cj-loadout strong{font-size:12px}#game .cj-lobby .arcade-mission{font-size:8px!important}#game .cj-hud strong{font-size:31px}#game .cj-game-top{left:9px;right:9px;gap:5px}#game .cj-game-top button{font-size:9px;padding:8px 10px}#game #cj-hud-map{font-size:10px}#game .cj-game-bottom{left:10px;right:10px}#game .cj-direction-pad button{width:43px;height:43px}#game #cj-use-item{padding:12px;min-height:61px;font-size:11px}#game .cj-ability{min-width:85px}}
body.cj-playing{overscroll-behavior:none}body.cj-playing .bottom-nav{display:none!important}#game .cj-stage{position:fixed;inset:0;width:100%;height:100dvh;z-index:1200;touch-action:none;background:#b9e5ec;overflow:hidden;color:#fff}#game #cj-canvas{width:100%;height:100%;display:block;outline:none;touch-action:none}#game .cj-game-top{position:absolute;top:max(12px,env(safe-area-inset-top));left:12px;right:12px;display:flex;align-items:center;gap:7px}#game .cj-game-top button{border:1px solid #fff8;background:#193a526e;border-radius:99px;min-height:42px;padding:8px 13px;color:#fff;font-size:10px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}#game #cj-hud-map{flex:1;text-align:center;font-size:11px;font-weight:800;text-shadow:0 1px 6px #21485388}#game .cj-hud{position:absolute;top:calc(max(12px,env(safe-area-inset-top)) + 52px);left:16px;right:16px;display:flex;justify-content:space-between;pointer-events:none;color:#17384e}#game .cj-hud>div{padding:10px 17px;background:#effff45e;border:1px solid #fff8;border-radius:18px;min-width:75px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 5px 20px #264f6320;text-align:center}#game .cj-hud span{font-size:8px;letter-spacing:.12em;display:block}#game .cj-hud strong{font-size:36px;line-height:1.1;display:block;font-weight:800}#game .cj-game-bottom{position:absolute;bottom:calc(34px + env(safe-area-inset-bottom));left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:650px;margin:auto}#game .cj-direction-pad{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #ffffff80;border-radius:24px;background:#edfff32e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}#game .cj-direction-pad>div{display:grid;gap:6px}#game .cj-direction-pad button{display:grid;place-items:center;width:48px;height:44px;border-radius:14px;border:1px solid #ffffffa6;background:linear-gradient(145deg,#f4fffbd9,#d2e9e47a);color:#214b5b;font-size:24px;box-shadow:inset 0 1px 0 #fff,0 3px 10px #244b601a;touch-action:none}#game .cj-direction-pad button:active{transform:scale(.94);background:#fff}#game .cj-ability{text-align:center;min-width:90px}#game #cj-use-item{border:1px solid #fff9;border-radius:22px;min-height:62px;padding:13px 18px;background:linear-gradient(145deg,#d3fce2dd,#e8e7b598);box-shadow:inset 0 1px 0 #fff,0 7px 18px #214c4e26;color:#24515b;font-size:13px;font-weight:800;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}#game #cj-use-item:disabled{opacity:.55}#game .cj-ability>span{display:block;font-size:8px;color:#f5ffff;margin-top:7px;text-shadow:0 1px 4px #194257}#game .cj-hint{position:absolute;bottom:calc(8px + env(safe-area-inset-bottom));left:12px;right:12px;text-align:center;font-size:9px;color:#f3ffff;text-shadow:0 1px 5px #1c4259;margin:0;pointer-events:none}#game .cj-toast{position:absolute;top:29%;left:50%;transform:translateX(-50%);padding:12px 20px;max-width:calc(100% - 40px);width:max-content;border:1px solid #fff7;border-radius:99px;background:#23475ad9;color:#fff;font-size:12px;font-weight:700;opacity:0;pointer-events:none;text-align:center}#game .cj-toast.show{animation:cj-toast 2.4s both}#game .cj-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#15344f40;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);padding:20px}#game .cj-dialog{width:min(390px,100%);max-height:85dvh;overflow:auto;padding:30px 25px;text-align:center;border-radius:29px;border:1px solid #fff8;background:linear-gradient(140deg,#163952ee,#225366e8);box-shadow:0 24px 90px #102d4f55}#game .cj-dialog>span{font-size:9px;letter-spacing:.15em;color:#baf1dc}#game .cj-dialog h3{font:800 43px/1.05 'Barlow Condensed',Impact,sans-serif;color:#fff;margin:16px 0}#game #cj-final-score{display:block;font-size:76px;line-height:1.1;color:#dcf8b6;font-weight:800}#game .cj-dialog>small{font-size:8px;letter-spacing:.14em;color:#c5dbdf}#game .cj-dialog p{font-size:12px;color:#d2e5eb;line-height:1.6}#game #cj-unlocked{color:#e8f9ae}#game .cj-dialog .button{width:100%;margin-top:9px;justify-content:center;font-size:11px}#game .cj-stage [hidden]{display:none!important}
@keyframes cj-toast{0%{opacity:0;translate:0 10px}12%,78%{opacity:1;translate:0 0}100%{opacity:0;translate:0 -7px}}
@media(max-height:500px){#game .cj-game-top{top:8px}#game .cj-hud{top:58px;left:10px;right:10px}#game .cj-hud>div{padding:5px 10px}#game .cj-hud strong{font-size:24px}#game .cj-game-bottom{max-width:none;bottom:25px}#game .cj-direction-pad button{height:34px;width:40px}#game .cj-dialog{padding:18px}#game .cj-dialog h3{font-size:30px;margin:10px 0}#game #cj-final-score{font-size:40px}}
@media(prefers-reduced-motion:reduce){#game .cj-character img,#game .cj-map img{transition:none}#game .cj-toast.show{animation-duration:2s}}

/* Waterford Lakes is the featured starting world. */

/* A private, device-saved custom skin, built with the same art used in a run. */
#game .cj-customize{display:flex;align-items:center;gap:11px;width:100%;min-height:64px;margin:0 0 9px;padding:10px 13px;border:1px solid #b6f4d485;border-radius:15px;text-align:left;color:#f0fff8;background:linear-gradient(115deg,#6bbd9d33,#9f8edd26);cursor:pointer}
#game .cj-customize-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#c6ffe923;color:#c6ffe9;font-size:25px;flex-shrink:0}
#game .cj-customize strong{display:block;font-size:13px;line-height:1.5}#game .cj-customize small{display:block;font-size:10px;color:#d1e7e8;margin-top:2px}#game .cj-customize-arrow{margin-left:auto;font-size:23px;color:#c6ffe9}
#game .cj-character strong{max-width:100%;overflow:hidden;text-overflow:ellipsis}#game .cj-profile-copy h4,#game #cj-selected-name{overflow-wrap:anywhere}
#game .cj-skin-editor{box-sizing:border-box;width:min(760px,calc(100% - 24px));max-width:760px;max-height:min(860px,calc(100dvh - 24px));padding:0;margin:auto;border:1px solid #c7fff170;border-radius:27px;color:#f2fbff;background:linear-gradient(135deg,#173e51,#242e4c);box-shadow:0 24px 100px #03112199;font-family:inherit;overflow:hidden;color-scheme:dark}
#game .cj-skin-editor::backdrop{background:#041723b8;backdrop-filter:blur(7px)}
#game .cj-skin-editor[open]{display:flex;flex-direction:column}#game .cj-skin-editor:not([open]){display:none}
#game #cj-skin-form{display:flex;flex-direction:column;max-height:inherit;min-height:0;width:100%;margin:0}
#game .cj-skin-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 24px 16px;border-bottom:1px solid #e4fff11c;flex-shrink:0}
#game .cj-skin-header span{font-size:9px;font-weight:800;letter-spacing:.12em;color:#b6efd6}#game .cj-skin-header h3{font:800 40px/1.08 'Barlow Condensed',Impact,sans-serif;margin:5px 0 0;color:#fff;text-transform:none;letter-spacing:0}
#game #cj-skin-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #e7fff33b;background:#ffffff0a;border-radius:50%;font:400 27px/1 system-ui;color:#eefcf7;cursor:pointer;flex-shrink:0}
#game .cj-skin-body{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:22px;padding:20px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}
#game .cj-skin-preview-card{position:sticky;top:0;min-width:0;padding:10px 12px 15px;text-align:center;border:1px solid #c7fff12b;border-radius:21px;background:radial-gradient(ellipse at 50% 30%,#82cfbc35,transparent 70%),linear-gradient(145deg,#234f60,#293954)}
#game #cj-skin-preview{display:block;width:100%;height:220px;object-fit:contain;filter:drop-shadow(0 12px 8px #03172755)}
#game .cj-skin-preview-tag{font-size:8px;letter-spacing:.12em;color:#b9e9d5;font-weight:800}#game #cj-skin-preview-name{display:block;font-size:20px;line-height:1.25;margin:5px 0 10px;overflow-wrap:anywhere}
#game .cj-skin-turn{display:flex;justify-content:center;align-items:center;gap:4px}#game .cj-skin-turn button{width:44px;height:44px;border:1px solid #b9e9d54a;border-radius:13px;background:#ffffff0a;color:#eafff6;font-size:23px;cursor:pointer}#game #cj-skin-facing{width:47px;font-size:10px;color:#d9eee7}
#game .cj-skin-randomize{min-height:44px;border:0;border-radius:12px;padding:8px 12px;margin-top:7px;background:transparent;color:#bff3d7;font-size:11px;font-weight:700;cursor:pointer}
#game .cj-skin-controls{min-width:0}#game .cj-skin-label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#e4f6f3;min-width:0;margin:0}
#game .cj-skin-label input,#game .cj-skin-label select{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #c5eee738;border-radius:11px;background:#102e405e;color:#fff;font-family:inherit;font-size:16px;line-height:1.2;font-weight:400;min-width:0}
#game .cj-skin-label select{cursor:pointer;padding-right:22px}#game .cj-skin-label option{color:#f5fffa;background:#19384c}
#game .cj-skin-editor fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}#game .cj-skin-editor legend{font-size:11px;font-weight:700;margin:0 0 8px;padding:0;color:#e4f6f3}
#game .cj-skin-tones{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
#game .cj-skin-tones button{box-sizing:border-box;width:100%;height:44px;padding:0;border:4px solid #203e51;border-radius:13px;background:var(--swatch);box-shadow:0 0 0 1px #dafff128;cursor:pointer;position:relative}
#game .cj-skin-tones button[aria-pressed=true]{box-shadow:0 0 0 2px #c4ffe5}#game .cj-skin-tones button[aria-pressed=true]:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:17px;font-weight:900;text-shadow:0 1px 3px #000}
#game .cj-skin-styles{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;margin-top:20px}#game .cj-skin-styles>.cj-skin-label:last-child{grid-column:1/-1}
#game .cj-skin-color-field>p{font-size:10px;color:#c5dfe6;margin:0 0 10px}#game .cj-skin-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#game .cj-skin-colors label{display:flex;flex-direction:column;gap:5px;align-items:stretch;padding:8px;border:1px solid #c5eee726;border-radius:13px;background:#ffffff06;font-size:10px;color:#e3f4ef;min-width:0}
#game .cj-skin-colors input[type=color]{box-sizing:border-box;width:100%;min-width:0;height:44px;padding:2px;border:0;border-radius:9px;background:transparent;cursor:pointer}#game .cj-skin-colors input::-webkit-color-swatch-wrapper{padding:0}#game .cj-skin-colors input::-webkit-color-swatch{border:1px solid #ffffff60;border-radius:8px}#game .cj-skin-colors input::-moz-color-swatch{border:1px solid #ffffff60;border-radius:8px}
#game .cj-skin-footer{padding:13px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid #e4fff124;background:#142e42;flex-shrink:0}#game #cj-skin-note{color:#bcd6df;font-size:10px;margin:0 0 10px;line-height:1.4}#game #cj-skin-status{font-size:11px;color:#ffe3a9;margin:0 0 10px;line-height:1.45}#game #cj-skin-status:empty{display:none}
#game .cj-skin-footer>div{display:flex;gap:9px}#game .cj-skin-footer button{min-height:47px;border:1px solid #c7fff13d;border-radius:13px;padding:12px 20px;font-family:inherit;font-weight:800;font-size:11px;cursor:pointer}#game #cj-skin-cancel{color:#e3f4ef;background:transparent}#game #cj-skin-save{flex:1;background:linear-gradient(120deg,#b7f2ce,#d7f0af);color:#183e41;border-color:#d9ffd8;box-shadow:0 4px 14px #071f3033}
#game .cj-skin-editor :focus-visible{outline:3px solid #ffe29b;outline-offset:3px}
@media(max-width:600px){#game .cj-skin-editor{border-radius:22px;max-height:calc(100dvh - 20px);width:calc(100% - 20px)}#game .cj-skin-header{padding:15px 17px 12px}#game .cj-skin-header h3{font-size:33px}#game .cj-skin-header span{font-size:8px}#game .cj-skin-body{grid-template-columns:1fr;gap:18px;padding:14px 17px 20px}#game .cj-skin-preview-card{display:grid;grid-template-columns:116px minmax(0,1fr);gap:9px;align-items:center;padding:6px 10px;z-index:1;box-shadow:0 7px 13px #10273933}#game #cj-skin-preview{height:149px;width:116px}#game #cj-skin-preview-name{font-size:17px;margin:5px 0}#game .cj-skin-randomize{margin-top:0;padding:4px 7px;font-size:10px}#game .cj-skin-turn button{width:40px;height:40px}#game .cj-skin-footer{padding:11px 17px max(13px,env(safe-area-inset-bottom))}#game .cj-skin-body:has(input:focus,select:focus) .cj-skin-preview-card{position:relative}}
@media(max-width:360px){#game .cj-skin-body{padding-left:12px;padding-right:12px}#game .cj-skin-preview-card{grid-template-columns:96px minmax(0,1fr)}#game #cj-skin-preview{width:96px;height:136px}#game .cj-skin-tones{gap:4px}#game .cj-skin-colors{gap:6px}}
@media(max-height:500px){#game .cj-skin-header{padding-top:9px;padding-bottom:9px}#game .cj-skin-header h3{font-size:28px}#game .cj-skin-body{padding-top:12px;padding-bottom:12px}#game .cj-skin-preview-card{position:relative}#game #cj-skin-preview{height:160px}#game .cj-skin-footer{padding-top:8px;padding-bottom:8px}}
#game .cj-map.featured{grid-column:1/-1;height:142px}#game .cj-map.featured strong{font-size:17px}#game .cj-map.featured small{font-size:9px;color:#fff0bd}#game .cj-map.featured>span{background:linear-gradient(0deg,#112239f5,transparent 95%)}
@media(max-width:700px){#game .cj-map.featured{height:104px}#game .cj-map.featured strong{font-size:15px}#game .cj-map.featured small{font-size:8px}}
