/* The playtest has a separate entry treatment; ordinary accounts retain theirs. */
.pixel-playtest .entry-dialog{width:min(1060px,96vw);max-width:1060px;max-height:94dvh;overflow:auto;border:1px solid #647274;border-radius:12px;background:#111b24;box-shadow:0 24px 100px #000b}
.pixel-playtest .entry-dialog[open]{display:grid;grid-template-columns:340px minmax(0,1fr)}
.pixel-playtest .entry-content{padding:32px;background:linear-gradient(140deg,#17252e,#121c25);min-width:0}
.pixel-playtest .entry-content h2{font-size:27px;letter-spacing:-.7px;margin:9px 0 18px;color:#f2e4cc}
.pixel-playtest .eyebrow{color:#d1a66e;font-size:10px;letter-spacing:1.7px}
.pixel-playtest .pixel-stage{position:sticky;top:0;align-self:start;min-height:640px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 22px;background:radial-gradient(ellipse at 50% 44%,#344851 0%,#1c2b35 43%,#111a23 74%);overflow:hidden;border-right:1px solid #54626750}
.pixel-stage .entry-orbit{position:absolute;width:255px;height:105px;top:345px;border:1px solid #a7b9bd40;border-radius:50%;box-shadow:0 12px 0 -11px #c79d6040;transform:none}
.pixel-stage .preview-heading{font-size:10px;letter-spacing:2px;color:#abbcbd;position:relative;margin:0 0 18px}
.pixel-stage .preview-name{font-size:24px;color:#f0dfc1;z-index:1;margin-bottom:14px}
.pixel-playtest #character-preview{position:relative;width:192px;height:256px;image-rendering:pixelated;object-fit:contain;filter:none;z-index:1;transform:none}
.pixel-stage small{display:none}
.pixel-stage .preview-detail{font-size:12px;color:#bfccc8;z-index:1;text-align:center;margin:12px 0 24px}
.pixel-stage .preview-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;z-index:1}
.preview-directions{display:flex;justify-content:center;gap:7px;width:100%;margin-bottom:7px}
.pixel-stage button,.creator-presets button{padding:8px 12px;font:12px system-ui;background:#1b2e3b;border:1px solid #536874;color:#d6e1dd;border-radius:5px;cursor:pointer}
.pixel-stage button[aria-pressed=true]{background:#466b6c;border-color:#b7d0c5;color:#fff}
.pixel-stage .creator-presets{display:flex;gap:7px;justify-content:center;margin-top:25px;flex-wrap:wrap}
.pixel-creator .creator-name{display:grid;gap:6px;margin:14px 0 18px}
.pixel-creator .creator-name label{font-size:13px;color:#d5ded9}
.pixel-creator #profile-name{background:#0d1720;color:#f1e8d8;border:1px solid #657b82;border-radius:5px;min-height:43px;padding:9px 12px}
.pixel-creator .creator-options{display:grid;grid-template-columns:1fr 1fr;gap:13px 19px}
.pixel-creator .appearance-field{margin:0;padding:0;border:0;min-width:0}
.pixel-creator .appearance-field legend{font-size:12px;color:#d7e3df;margin-bottom:8px;display:block;width:100%}
.pixel-creator .appearance-field legend span{font-size:10px;float:none;display:block;color:#9eb0b5;margin-top:3px}
.pixel-creator .color-options{gap:6px;display:flex;flex-wrap:wrap}
.pixel-creator .color-choice{width:28px;height:28px;border-radius:50%;border:2px solid transparent;background:var(--swatch);padding:0;cursor:pointer;position:relative}
.pixel-creator .color-choice[aria-pressed=true]{border-color:#f4e0b5;box-shadow:0 0 0 2px #0b1821}
.pixel-creator .color-choice span{color:white;text-shadow:0 1px 3px #000;display:none;font-size:13px}
.pixel-creator .color-choice[aria-pressed=true] span{display:block}
.pixel-creator .shape-options{display:flex;flex-wrap:wrap;gap:5px}
.pixel-creator .shape-choice{background:#202f3b;color:#bdcccf;font-size:11px;padding:7px 9px;border:1px solid #425765;border-radius:4px;cursor:pointer}
.pixel-creator .shape-choice[aria-pressed=true]{background:#384c51;color:#fff0d8;border-color:#b69b70}
.pixel-creator .creator-footer{display:flex;gap:9px;align-items:center;margin:25px 0 14px}
.pixel-creator .creator-footer .primary{flex:1;background:#c3a473;color:#101c25;border:1px solid #edcf99;border-radius:5px;padding:13px;font-weight:700}
.pixel-creator .creator-random{padding:12px 10px;border:1px solid #52616b;background:transparent;color:#cbdad7;border-radius:5px;font-size:12px}
.pixel-playtest .entry-content>.entry-note{font-size:11px;line-height:1.6;color:#9cadae}
.pixel-playtest #character-panel>p{font-size:13px;line-height:1.5;color:#bac9c9}
.pixel-playtest button:focus-visible,.pixel-playtest input:focus-visible{outline:2px solid #89dded;outline-offset:3px}
@media(max-width:760px){.pixel-playtest .entry-dialog[open]{grid-template-columns:1fr}.pixel-playtest .pixel-stage{position:relative;min-height:0;padding:20px;border-right:0;border-bottom:1px solid #536874}.pixel-playtest #character-preview{width:120px;height:160px}.pixel-stage .preview-heading{margin-bottom:5px}.pixel-stage .preview-name{font-size:20px;margin-bottom:0}.pixel-stage .preview-detail{margin:4px 0 10px}.pixel-stage .creator-presets{margin-top:12px}.pixel-stage .entry-orbit{top:192px;width:180px;height:45px}.pixel-playtest .entry-content{padding:22px}.pixel-playtest .entry-content h2{font-size:23px}}

.pixel-playtest .entry-art .preview-heading{top:auto;left:auto;right:auto;bottom:auto;position:relative}
.pixel-playtest .entry-art .preview-detail{position:relative;left:auto;bottom:auto;right:auto}
.pixel-playtest .pixel-creator{display:block}
@media(min-width:761px) and (max-height:820px){.pixel-playtest .entry-content{padding:22px 28px}.pixel-playtest .entry-content h2{font-size:24px;margin:6px 0 10px}.pixel-playtest .pixel-stage{min-height:600px}.pixel-creator .creator-options{gap:9px 16px}.pixel-creator .creator-name{margin:10px 0 13px}.pixel-creator .appearance-field legend{margin-bottom:5px}.pixel-creator .creator-footer{margin:16px 0 10px}.pixel-playtest .entry-note{margin:8px 0}}

.playtest-places{position:fixed;z-index:50;right:14px;top:255px;width:214px;box-sizing:border-box;padding:10px;border:1px solid #60727b;background:#111e29ee;border-radius:6px;font:12px system-ui;color:#cfdbda}.playtest-places[hidden]{display:none}.playtest-places summary{cursor:pointer;color:#e5c798}.playtest-places p{line-height:1.5}.playtest-places select{max-width:100%;width:100%;font:12px system-ui;padding:7px;background:#20313e;color:#eee;border:1px solid #526974}.playtest-places button{margin-top:8px;width:100%;padding:7px;background:#b89b6b;color:#14222c;border:0;border-radius:3px}@media(max-width:760px){.playtest-places{right:8px;top:215px;width:170px}}
.pixel-playtest #profile-form .creator-name label{margin:0;line-height:18px}
.pixel-playtest #profile-form .creator-footer .primary{margin-top:0}
.pixel-playtest .entry-content h2{font-family:system-ui;font-weight:650}
.pixel-preview-figure{position:relative;width:192px;height:256px;flex:none}
.pixel-stage .pixel-preview-figure .entry-orbit{width:230px;height:70px;left:50%;top:auto;bottom:-15px;transform:translateX(-50%);animation:none}
.pixel-creator .appearance-field legend{line-height:1.3}
.pixel-creator .appearance-field legend span{line-height:1.3;margin-left:0}
@media(max-width:760px){.pixel-preview-figure{width:120px;height:160px}.pixel-stage .pixel-preview-figure .entry-orbit{width:165px;height:45px;bottom:-10px}}

.preview-layers{border:1px solid #536874;border-radius:6px;margin:20px 0 0;padding:10px;display:flex;gap:8px 12px;flex-wrap:wrap;max-width:295px;font-size:11px}.preview-layers legend{color:#d4c096;font-size:11px;padding:0 4px}.preview-layers label{display:flex;align-items:center;gap:4px}.preview-layers input{accent-color:#9bdbcb}.preview-layers p{font-size:10px;line-height:1.4;color:#a9b9bf;margin:0}.preview-layers button{width:100%}
@media(min-width:761px) and (max-height:820px){.pixel-playtest .pixel-stage{position:relative;padding:18px 20px;min-height:0}.pixel-playtest #character-preview,.pixel-preview-figure{width:156px;height:208px}.pixel-stage .preview-heading{margin-bottom:8px}.pixel-stage .preview-name{margin-bottom:5px;font-size:21px}.pixel-stage .preview-detail{margin:8px 0 14px}.pixel-stage .creator-presets{margin-top:12px}.preview-layers{margin-top:12px;padding:8px}.pixel-stage button{padding:6px 10px}}
