@font-face{font-family:MyWorldEmoji;src:url("assets/NotoEmoji.ttf") format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:MyWorldThai;src:url("assets/Sarabun-Regular.ttf") format("truetype");font-weight:400;font-display:swap}@font-face{font-family:MyWorldThai;src:url("assets/Sarabun-Bold.ttf") format("truetype");font-weight:700 900;font-display:swap}

*{box-sizing:border-box}body{margin:0;background:#f4f6ef;color:#263d35;font:15px system-ui,sans-serif}button,input{font:inherit}button{cursor:pointer;border:0}button:focus-visible,input:focus-visible{outline:3px solid #faac60;outline-offset:3px}header{height:86px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fffef8}.logo{font-size:25px;font-weight:900;letter-spacing:-1px}.logo span{color:#709644}.tag{font-size:11px;letter-spacing:2px;color:#748674;margin-top:4px}.pill{border:1px solid #e1e6dc;border-radius:30px;padding:10px 16px;background:white;display:inline-flex;gap:10px;align-items:center}.green{background:#345b43;color:white}.hero{display:flex;justify-content:space-between;align-items:end;margin:26px 32px 20px}h1{font-size:30px;margin:6px 0;letter-spacing:-1px}p{margin:6px 0;color:#7a897d}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#799447}.layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;margin:0 32px 24px}.world{position:relative;height:590px;background:#c8e6df;border-radius:24px;overflow:hidden;box-shadow:0 12px 35px #2749320d}canvas{width:100%;height:100%;display:block;touch-action:none}.world-top{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;pointer-events:none}.white{background:#fffffff0;border-radius:14px;padding:11px 15px;font-size:12px;box-shadow:0 4px 15px #354d3410}.hint{position:absolute;bottom:98px;left:50%;transform:translateX(-50%);text-align:center;font-size:12px;white-space:nowrap;color:#405942;background:#ffffffd9;padding:8px 14px;border-radius:20px}.tools{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);background:#fffdf5;padding:9px;display:flex;gap:7px;border-radius:20px;box-shadow:0 8px 22px #294b3529}.tool{width:55px;height:56px;border-radius:12px;background:#f1f3e9;color:#61705a;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:11px;gap:4px}.tool i{width:21px;height:21px;border-radius:4px;display:block;box-shadow:inset -5px -5px #0002}.tool.active{background:#345b43;color:white}.side{display:flex;flex-direction:column;gap:16px}.card{background:#fffef9;border:1px solid #e4e9dc;border-radius:20px;padding:20px}.card h2{font-size:17px;margin:0 0 12px}.avatar{background:#f7ddce;border-radius:18px;width:62px;height:62px;display:grid;place-items:center;font-size:37px}.row{display:flex;gap:13px;align-items:center}.muted{font-size:12px;color:#899383}.small{font-size:12px;line-height:1.7}.full{width:100%;padding:12px;border-radius:12px;margin-top:12px;background:#edf1e4;color:#3f5c39;font-weight:700}.progress{height:6px;background:#ebefdf;border-radius:4px;margin:12px 0}.progress span{display:block;width:0;height:100%;background:#7b9e59;border-radius:4px;transition:width .3s}.foot{display:flex;justify-content:space-between;margin:0 34px 26px;font-size:12px;color:#889484}.pad{position:absolute;bottom:115px;left:16px;display:grid;grid-template-columns:repeat(3,34px);gap:3px}.pad button{height:34px;background:#ffffffb8;border-radius:9px;color:#345b43}.pad button:first-child{grid-column:2}.pad button:nth-child(2){grid-column:1}dialog{border:0;border-radius:24px;max-width:440px;width:calc(100% - 32px);padding:27px;color:#263d35;background:#fffef8}dialog::backdrop{background:#19382888;backdrop-filter:blur(4px)}dialog h2{margin:0 0 12px}input{width:100%;padding:12px;border:1px solid #dce4d5;border-radius:12px;margin:8px 0}.close{float:right;background:#edf1e4;border-radius:50%;width:30px;height:30px}.toast{position:absolute;top:75px;left:50%;transform:translateX(-50%);background:#345b43;color:#fff;padding:10px 18px;border-radius:12px;opacity:0;transition:opacity .2s;pointer-events:none;font-size:13px}.meter{height:8px;background:#e9edde;border-radius:9px;margin:16px 0;overflow:hidden}.meter span{display:block;background:#799c58;height:100%;width:0}.warning{background:#f7efdc;padding:12px;border-radius:12px;font-size:12px;line-height:1.7}@media(max-width:900px){.layout{grid-template-columns:1fr;margin:0 14px 20px}.side{display:grid;grid-template-columns:repeat(2,1fr)}.side .card:last-child{grid-column:1/-1}.world{height:520px}header{padding:0 16px}.hero{margin:20px 16px}.hero .pill{display:none}}@media(max-width:500px){header .tag{letter-spacing:1px}.pill{padding:8px 10px;font-size:12px}h1{font-size:26px}.world{height:470px}.side{grid-template-columns:1fr}.hint{font-size:10px;bottom:88px}.tools{gap:4px;padding:6px}.tool{width:44px}.foot{margin:0 18px 24px}.card{padding:17px}}

/* Immersive play: the world owns the whole viewport. */
body{overflow:hidden}header,.hero,.foot{display:none}.layout{display:block;margin:0}.world{height:100vh;height:100dvh;width:100vw;border-radius:0;box-shadow:none}.side{display:none;position:fixed;right:16px;top:78px;bottom:16px;width:280px;overflow:auto;z-index:5;background:#f4f6eff5;padding:12px;border-radius:20px}.side.open{display:flex}.world-top{top:max(16px,env(safe-area-inset-top));left:16px;right:16px;gap:10px;align-items:start}.world-top .white{pointer-events:auto}.screen-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:55%}.screen-actions button{background:#fffef3eF;padding:12px;border-radius:12px;color:#345b43;box-shadow:0 4px 14px #0001;font-weight:700}.pad{bottom:120px;left:20px;grid-template-columns:repeat(3,48px);gap:5px}.pad button{height:48px;font-size:23px}.tools{bottom:max(18px,env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}.hint{bottom:98px}.toast{top:90px;z-index:6}#saveLabel{display:none}@media(max-width:500px){.world{height:100vh;height:100dvh}.world-top .white{font-size:10px;padding:10px}.screen-actions{max-width:58%}.screen-actions button{font-size:12px;padding:10px}.pad{bottom:118px;left:12px;grid-template-columns:repeat(3,42px)}.pad button{height:42px}.hint{bottom:88px;max-width:95vw;white-space:normal}.side{right:8px;top:96px;bottom:100px;width:min(280px,calc(100vw - 16px))}}@media(max-height:500px){.pad{bottom:85px}.hint{display:none}.tools{bottom:10px}.tool{height:48px}.side{top:70px;bottom:75px}}

.pad button{touch-action:none;user-select:none}.white #position{display:block;color:#54724a;font-size:10px;margin:4px 0}.world-top .muted{color:#426237}.tool i{border-radius:0}.tool,.screen-actions button{border-radius:5px;border-bottom:3px solid #0002}.world-top .white{border-radius:6px}.side{border-radius:8px}canvas{image-rendering:pixelated}

.look-pad{position:absolute;right:18px;bottom:120px;display:flex;gap:7px}.look-pad button,.action{background:#fffef3df;border:1px solid #ffffff88;border-bottom:3px solid #0002;border-radius:10px;color:#345b43;padding:14px;touch-action:none;user-select:none;font-weight:700}.look-pad button{min-width:52px;font-size:20px}.look-pad #jump{font-size:13px}.crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;font-size:27px;text-shadow:0 1px 3px #000;pointer-events:none}.action{position:absolute;right:18px;bottom:195px;font-size:15px}.pad{bottom:120px;z-index:2}.hint{pointer-events:none;white-space:normal;max-width:90vw;width:max-content;text-shadow:none}.world-top{z-index:3}#nameLabels{position:absolute;inset:0;pointer-events:none}.npc-label{position:absolute;transform:translate(-50%,-100%);background:#ffffffe3;padding:5px 9px;border-radius:6px;font-size:11px;white-space:nowrap}.screen-actions{max-width:65%}#playername{background:#345b43;color:#fff}.world-top .white{max-width:35%}.world-top .white br{display:none}canvas{image-rendering:auto}@media(max-width:500px){.look-pad{right:10px;bottom:130px;gap:4px}.look-pad button{padding:10px;min-width:40px}.action{right:12px;bottom:195px;padding:11px}.pad{bottom:126px}.screen-actions{gap:4px}.screen-actions button{padding:8px}.hint{font-size:11px;bottom:84px}}@media(max-height:500px){.look-pad,.pad{bottom:85px}.action{bottom:160px}.hint{display:none}.world-top{top:8px}}
 .tools{overflow-x:auto;justify-content:flex-start;width:max-content;scrollbar-width:thin}.tool{flex-shrink:0}.recipe{background:#eef1e5;padding:12px;border-radius:10px;margin-top:10px}.recipe button{padding:9px 16px;background:#345b43;color:white;border-radius:8px;float:right}.recipe button:disabled{opacity:.4;cursor:default}.inventory{background:#f4ead6;padding:13px;border-radius:10px;font-size:13px;line-height:1.8}#crafting{background:#b78750;color:white!important}
.screen-actions,.screen-actions button{pointer-events:auto}#sail{position:absolute;bottom:240px;left:50%;transform:translateX(-50%);z-index:8;pointer-events:auto;touch-action:manipulation;background:#126cca;color:#fff;font-size:19px;font-weight:800;padding:16px 25px;border:3px solid white;border-radius:16px;box-shadow:0 4px 18px #0005}#sail[aria-pressed="true"]{background:#be4524}@media(max-height:500px){#sail{bottom:180px;padding:10px 18px;font-size:16px}} .deck-controls{position:absolute;bottom:306px;left:50%;transform:translateX(-50%);z-index:8;display:flex;align-items:center;gap:5px;background:#fffef2ed;border-radius:12px;padding:5px;white-space:nowrap;font-size:12px}.deck-controls button{padding:12px 8px;background:#173b56;color:white;border-radius:8px;touch-action:manipulation}.deck-controls span{min-width:70px;text-align:center}#rescue{position:absolute;left:12px;bottom:240px;z-index:8;background:#fff;color:#154866;border:2px solid #218acc;border-radius:12px;padding:12px 8px;font-size:12px;touch-action:manipulation}@media(max-height:500px){.deck-controls{bottom:240px}#rescue{bottom:185px}} #stretch{position:absolute;left:12px;bottom:355px;z-index:8;pointer-events:auto;touch-action:manipulation;background:#cc352a;color:#fff;border:2px solid white;border-radius:12px;padding:13px 12px;font-size:13px;font-weight:800}@media(max-height:500px){#stretch{bottom:295px;padding:9px}} .tools{width:min(1000px,calc(100vw - 24px));overflow-x:auto;overscroll-behavior-x:contain;justify-content:flex-start;touch-action:pan-x}.tool{flex:0 0 55px}#eat{position:absolute;right:12px;bottom:355px;z-index:8;background:#8f4b1b;color:#fff;padding:13px 12px;border:2px solid white;border-radius:12px;touch-action:manipulation;font-size:13px}#hunger{display:block;color:#8d451c;font-size:11px;margin-top:5px}@media(max-height:500px){#eat{bottom:295px;padding:9px}} #headseat{position:absolute;right:12px;bottom:410px;z-index:8;pointer-events:auto;touch-action:manipulation;background:#087c91;color:#fff;border:2px solid white;padding:13px 12px;border-radius:12px;font-size:13px}@media(max-height:500px){#headseat{bottom:345px;padding:9px}} select{font:inherit;max-width:100%;padding:10px;border:1px solid #dce4d5;border-radius:10px;background:#fffef8;color:#263d35;margin-top:8px}#onlineStatus{padding-top:max(3px,env(safe-area-inset-top))}.world-top{top:max(28px,calc(env(safe-area-inset-top) + 22px))}.tools{padding-bottom:max(9px,env(safe-area-inset-bottom))}

body{font-family:MyWorldThai,MyWorldEmoji,system-ui,sans-serif}#accountGate{overflow-y:auto}#accountBox{margin:32px 0}/* Inventory counts stay visible while playing; the bag opens a full breakdown. */
#blockBag{text-align:left;background:#345b43;color:#fff}#blockBag small{display:block;font-size:10px;font-weight:400;margin-top:3px}#blockBag #bagTotal{background:#fff;color:#345b43;padding:1px 6px;border-radius:5px;margin-left:4px}.tool{position:relative}.tool-count{position:absolute;right:2px;top:2px;min-width:16px;max-width:100%;font-size:10px;line-height:15px;background:#fff;color:#345b43;padding:0 3px;border-radius:4px;pointer-events:none}.bag-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.bag-item{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#edf1e4;padding:10px;border-radius:8px;font-size:13px}.bag-item b{font-variant-numeric:tabular-nums;color:#345b43}[data-tool="erase"]{background:#f3d9a8;color:#593a12}
#characterCreator[hidden],#socialPanel[hidden]{display:none}#characterCreator{position:fixed;inset:0;z-index:95;background:#173b56e8;display:grid;place-items:center;overflow-y:auto;padding:24px 14px}#characterForm{width:min(730px,100%);padding:26px;background:#fffef8;border-radius:22px;margin:auto;color:#263d35}.creator-heading,.creator-actions,.social-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.creator-heading span{font-size:10px;letter-spacing:2px;color:#6e8267}.creator-heading button,.social-heading button{background:#e8eddf;border-radius:8px;padding:5px 12px;font-size:21px}#creatorTitle{font-size:26px;margin:14px 0}.creator-steps{display:flex;gap:8px;margin:12px 0 20px}.creator-steps span{font-size:12px;padding:7px 12px;border-radius:20px;background:#edf1e4;color:#6e8267}.creator-steps .active{background:#345b43;color:#fff}.creator-content{display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:center}#characterPreview{text-align:center;background:#e5eee0;border-radius:18px;padding:12px}#characterPreview svg{display:block;width:100%;max-height:250px}#characterPreview b{display:block;overflow-wrap:anywhere}.character-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.character-option{padding:14px 8px;background:#edf1e4;border-radius:10px;color:#345b43;border:2px solid transparent}.character-option[aria-pressed=true]{border-color:#345b43;background:#d9e7ce}#creatorFields fieldset{border:0;padding:8px 0;margin:0}#creatorFields legend{font-size:13px;font-weight:700}.color-swatch{width:30px;height:30px;border-radius:50%;margin:5px;border:3px solid #fff;box-shadow:0 0 0 1px #d3ddce}.color-swatch[aria-pressed=true]{box-shadow:0 0 0 3px #345b43}#creatorFields select{display:block;width:100%}.creator-actions{margin-top:14px}.creator-actions button{padding:12px 22px;border-radius:10px}#creatorError,#chatError{font-size:12px;color:#aa3d30;min-height:16px}#characterName,#chatInput{font-size:16px}.player-label{pointer-events:auto;cursor:pointer;border:1px solid #78966a;background:#fffef4;z-index:4;color:#263d35;font-weight:700;max-width:200px;white-space:normal;overflow-wrap:anywhere}#selfLabel{pointer-events:none}.speech-bubble{display:block;font-size:11px;font-weight:400;background:#345b43;color:#fff;padding:4px 6px;margin-top:4px;border-radius:6px;max-width:180px;overflow-wrap:anywhere}#socialPanel{position:fixed;right:12px;bottom:108px;z-index:40;width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - 150px);overflow:auto;padding:14px;background:#fffef8f5;box-shadow:0 8px 30px #173b5644;border:1px solid #cbd9bf;border-radius:16px}#nearbyPlayers{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0}#nearbyPlayers b{font-size:12px}#nearbyPlayers button{font-size:12px;padding:6px 9px;background:#e5eee0;border-radius:8px;color:#345b43}.social-hint{font-size:10px}#chatMessages{height:170px;overflow-y:auto;padding:8px 0;overscroll-behavior:contain}#chatMessages p{font-size:12px;margin:6px 0;color:#263d35;overflow-wrap:anywhere}#chatMessages b{color:#345b43}#chatForm{display:flex;gap:6px;align-items:center}#chatForm button{padding:12px;border-radius:10px}#chatInput{min-width:0;margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:500px){#characterForm{padding:20px}#creatorTitle{font-size:22px}.creator-content{grid-template-columns:110px 1fr;gap:12px}.character-grid{grid-template-columns:1fr}.character-option{padding:8px;font-size:12px}#characterPreview{padding:6px}#characterPreview b{font-size:12px}.creator-steps{gap:4px}.creator-steps span{font-size:10px;padding:6px 8px}.color-swatch{width:27px;height:27px;margin:4px}.creator-actions button{padding:12px 16px}}@media(max-height:500px){#characterCreator{align-items:start}#socialPanel{bottom:72px;max-height:calc(100dvh - 90px)}#chatMessages{height:100px}}
#socialPanel{background:#fffef8}.creator-actions #creatorNext{margin-left:auto}
#pickupItem{position:absolute;left:50%;top:57%;transform:translateX(-50%);z-index:12;background:#fff4c4;color:#5b421c;border:2px solid #c99b45;border-radius:12px;box-shadow:0 5px 18px #173b5633;font-weight:700;font-size:14px;padding:12px 18px;touch-action:manipulation;max-width:90vw;white-space:nowrap}#pickupItem[hidden],#pickupCover[hidden]{display:none}#pickupCover{position:fixed;inset:0;z-index:110;display:grid;place-items:center;background:#173b5622;color:white;text-shadow:0 2px 5px #173b56;font-weight:700;backdrop-filter:blur(1px)}
.screen-actions #pickupItem{position:static;transform:none;max-width:100%;padding:10px 12px;font-size:12px;background:#fff4c4;color:#5b421c;box-shadow:none}
.creator-steps button{font:inherit;font-size:12px;padding:7px 12px;border-radius:20px;background:#edf1e4;color:#6e8267}.creator-steps button.active{background:#345b43;color:#fff}.creator-steps button:disabled{cursor:default;opacity:1}.outfit-presets{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px}.outfit-presets button{padding:10px 8px;border:1px solid #d4deca;border-left:7px solid;border-radius:8px;background:#edf1e4;color:#345b43;font-size:12px}.outfit-presets button[aria-pressed=true]{outline:2px solid #345b43;outline-offset:1px}.creator-actions{flex-wrap:wrap}.creator-actions #creatorSave{margin-left:auto}.creator-actions #creatorSave:not([hidden])+#creatorNext{margin-left:0;background:#edf1e4;color:#345b43}@media(max-width:500px){.creator-steps button{font-size:11px;padding:6px 9px}.creator-actions{gap:6px}.creator-actions button{font-size:12px;padding:10px 12px}}
#characterPreview svg:not(.face-closeup){max-height:170px}#characterPreview .face-closeup{height:130px;max-height:130px;background:#f9f5e7;border-radius:12px;margin:0 auto 10px}#characterPreview button{font-size:12px;padding:9px 10px;margin:5px 0;border-radius:8px;background:#345b43;color:#fff;width:100%}#characterPreview #clearMyFace{background:#fffef8;color:#345b43;font-size:10px}#faceEditor[hidden]{display:none}#faceEditor{position:fixed;inset:0;z-index:125;display:grid;place-items:center;padding:20px 14px;overflow:auto;background:#173b56ef}.face-editor-card{width:min(700px,100%);background:#fffef8;color:#263d35;border-radius:22px;padding:24px;margin:auto}.face-editor-heading{display:flex;height:auto;padding:0;background:none;align-items:center;justify-content:space-between}.face-editor-heading h2{font-size:23px;margin:0}.face-editor-heading button{background:#e5eee0;padding:5px 12px;border-radius:8px;font-size:22px}.face-editor-card>p{font-size:12px;line-height:1.7}.face-source-actions{display:flex;gap:8px;margin:14px 0}.face-source-actions button,#faceCapture{padding:10px 14px;background:#e5eee0;color:#345b43;border-radius:9px}.face-workspace{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.face-crop-frame{position:relative;width:min(240px,100%);aspect-ratio:1;border:3px solid #79965b;border-radius:16px;overflow:hidden;margin:auto}#faceCrop{display:block;width:100%;height:100%;touch-action:none}#faceVideo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}#faceVideo[hidden]{display:none}#faceCapture{display:block;width:100%;margin:8px 0}#faceCapture:disabled{opacity:.4;cursor:default}.face-zoom{display:block;font-size:12px}#faceZoom{padding:0;accent-color:#345b43}.face-result{text-align:center}#facePixels{width:168px;height:168px;image-rendering:pixelated;background:#e5eee0;border:6px solid #e5eee0;border-radius:8px;margin:auto}.face-result b,.face-result span{display:block;margin-top:8px}.face-result span{font-size:11px;color:#6e8267}.face-privacy{padding:10px;background:#e5eee0;border-radius:10px}#faceError{color:#a94332;min-height:18px}.face-editor-actions{display:flex;justify-content:space-between;gap:12px}.face-editor-actions button{padding:12px 20px;border-radius:9px}.face-editor-actions button:disabled{opacity:.4}@media(max-width:500px){.face-editor-card{padding:18px}.face-editor-heading h2{font-size:20px}.face-workspace{grid-template-columns:1fr 1fr;gap:12px}#facePixels{width:120px;height:120px}.face-source-actions button{font-size:12px;padding:9px}#characterPreview .face-closeup{height:92px;max-height:92px}#characterPreview svg:not(.face-closeup){max-height:135px}.face-editor-actions button{font-size:12px;padding:11px 14px}}

#joinNotice{position:fixed;z-index:90;right:16px;top:110px;width:min(330px,calc(100vw - 32px));background:#fffef8;padding:18px;border-radius:18px;box-shadow:0 8px 36px #173b5640;color:#263d35}#joinNotice[hidden],#stopMeeting[hidden]{display:none}#joinNotice p{font-weight:700;margin:0 0 12px}#joinNotice button{padding:10px 20px;margin-right:8px;border-radius:10px}#stopMeeting{position:fixed;z-index:35;bottom:155px;left:50%;transform:translateX(-50%);background:#fffef8;border:2px solid #bd624d;border-radius:20px;padding:10px 20px}

.emoji-controls{padding:8px 0;border-top:1px solid #d3ddce}.emoji-controls label{font-size:12px}.emoji-controls select{padding:8px;margin:4px 0}#emojiButtons{display:flex;flex-wrap:wrap;gap:5px}#emojiButtons button{font-size:22px;padding:5px 8px;background:#e5eee0;border-radius:9px}

.screen-actions #fullscreen{order:-1;background:#345b43;color:#fff;border:2px solid #fff8;font-size:14px;padding:10px 14px;touch-action:manipulation}html:fullscreen,html:-webkit-full-screen{width:100%;height:100%;background:#173b56}html:fullscreen .world,html:-webkit-full-screen .world{height:100vh;height:100dvh}

/* Picture-first camera controls: static SVGs stay crisp on every device. */
#characterPreview #editMyFace{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:94px;padding:10px;background:#eeb84a;color:#263d35;border:3px solid #fff5d7;box-shadow:0 3px 0 #b5862d}
#characterPreview #editMyFace svg{width:62px;height:62px;max-height:62px;flex-shrink:0}#characterPreview #editMyFace span{font-size:12px;font-weight:700}
.face-source-actions{justify-content:center;gap:16px}.face-source-actions button{width:96px;min-height:80px;display:grid;place-items:center;border:2px solid #bcccb2}.face-source-actions button svg{width:52px;height:52px}#faceCamera{background:#eeb84a;color:#263d35;border-color:#b5862d}
#faceCapture{width:76px;height:76px;margin:12px auto;border-radius:50%;border:5px solid #fff;outline:3px solid #b65a49;background:#d96550;color:#fff;display:grid;place-items:center;padding:10px;box-shadow:0 3px 8px #0002}#faceCapture svg{width:42px;height:42px}#faceCapture:disabled{outline-color:#a9b5a2;background:#bdc8b7;opacity:.6}
.face-editor-actions button{width:76px;min-height:64px;display:grid;place-items:center;padding:10px}.face-editor-actions button svg{width:40px;height:40px}#faceCancel{background:#f3ded7;color:#9b4535}#faceUse{background:#345b43;color:#fff}
.face-guide{position:absolute;inset:14% 23%;border:2px dashed #fff9;border-radius:48%;pointer-events:none;display:none}#faceVideo:not([hidden])~.face-guide{display:block}
#faceEditor button:focus-visible,#editMyFace:focus-visible{outline:4px solid #2b87ba;outline-offset:4px}
@media(max-width:500px){#characterPreview #editMyFace{min-height:86px;padding:8px 3px}#characterPreview #editMyFace svg{width:52px;height:52px;max-height:52px}.face-source-actions button{width:88px;min-height:72px}.face-editor-actions button{min-height:60px}#faceCapture{width:70px;height:70px}}
