.community-shade{position:fixed;inset:0;background:#0009;z-index:220;display:grid;place-items:center;padding:16px;font:16px Arial,sans-serif;color:#171717}.community-panel{background:#f5f0e6;border:2px solid #222;box-shadow:7px 7px #1118;padding:22px;width:min(390px,100%);max-height:85vh;overflow:auto}.community-panel h2{font:normal 27px Arial;margin:0 0 18px}.community-panel label{display:block;margin:12px 0}.community-panel input:not([type=color]){display:block;width:100%;box-sizing:border-box;font:18px Arial;padding:10px;border:1px solid #888;margin-top:5px}.community-panel button,.community-panel select{font:16px Arial;padding:9px 13px;margin:5px 6px 5px 0;background:#fff;border:1px solid #777;cursor:pointer}.community-panel button:focus-visible,.community-panel input:focus-visible,.community-panel select:focus-visible{outline:3px solid #497fa6;outline-offset:2px}.community-panel .community-status{min-height:1.3em;font-size:14px}.community-panel input[type=color]{width:64px;height:38px;vertical-align:middle;margin-left:12px}.community-panel .community-close{float:right;margin:0 0 8px 12px}
.community-shade,.community-panel{box-sizing:border-box}
.community-panel{width:min(360px,100%);padding:20px;border:1px solid #777;box-shadow:none}
.community-panel h2{font-size:25px;margin-bottom:14px}
.community-setting{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #d8d1c5}
.community-setting select,.community-setting input[type=color]{margin:0}
.community-panel .community-primary{display:block;width:100%;margin:14px 0 0;background:#263c39;color:#fff;border-color:#263c39;min-height:42px}
.community-panel .community-account-link{display:block;margin:8px auto 0;border:0;background:none;text-decoration:underline;font-size:14px}
.community-note{font-size:14px;line-height:1.45;color:#555}
.community-modes{display:flex;gap:16px;margin-bottom:14px;border-bottom:1px solid #c9c1b4}
.community-modes button{margin:0;padding:8px 0;border:0;border-bottom:2px solid transparent;background:none;font-size:14px}
.community-modes button[aria-pressed=true]{border-bottom-color:#263c39}
.community-panel.community-look{width:min(380px,100%);max-height:none;overflow:visible}
.community-look .community-preview{position:static;inset:auto;display:block;width:112px;height:112px;margin:0 auto 12px;image-rendering:pixelated;touch-action:auto}
.community-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.community-panel .community-choices button{margin:0;min-height:58px;padding:6px;font-size:17px;line-height:1.15}
.community-panel .community-choices button[aria-pressed=true]{background:#263c39;color:#fff;border-color:#263c39}
.community-swatches{display:flex;justify-content:space-between;gap:10px;margin:14px 0 2px}
.community-panel .community-swatches button{width:56px;height:56px;margin:0;padding:0;border-radius:50%;border:3px solid #f5f0e6;box-shadow:0 0 0 1px #777}
.community-panel .community-swatches button[aria-pressed=true]{box-shadow:0 0 0 3px #222}
.community-look .community-primary{min-height:54px;font-size:18px}
.community-look .community-status:empty{display:none}
@media (max-height:500px){
  .community-panel.community-look{width:min(560px,100%);display:grid;grid-template-columns:120px 1fr;column-gap:20px;align-items:center;padding:16px 20px}
  .community-look>*{grid-column:2}
  .community-look h2,.community-look .community-close{grid-row:1;margin:0 0 10px}
  .community-look .community-close{justify-self:end}
  .community-look .community-preview{grid-column:1;grid-row:1/span 5;width:120px;height:120px;margin:0}
  .community-panel .community-choices button{min-height:50px}
  .community-panel .community-swatches button{width:48px;height:48px}
  .community-swatches{margin:10px 0 0}
  .community-look .community-primary{min-height:48px;margin-top:10px}
}
/* sideways phones: the keyboard leaves only the top strip, so the sign-in sits at the top with its fields side by side */
@media (max-height:500px) and (orientation:landscape){
  .community-shade{place-items:start center;padding:8px 16px}
  .community-panel:not(.community-look){width:min(640px,100%);max-height:calc(100% - 8px);padding:10px 16px 12px}
  .community-panel:not(.community-look) h2{font-size:19px;margin:0 0 6px}
  .community-panel:not(.community-look) .community-modes{margin-bottom:8px}
  .community-panel:not(.community-look) form{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;align-items:end}
  .community-panel:not(.community-look) form label{margin:0}
  .community-panel:not(.community-look) form>p,.community-panel:not(.community-look) form .community-primary{grid-column:1/-1}
  .community-panel:not(.community-look) form .community-primary{margin-top:6px;min-height:38px}
  .community-panel:not(.community-look) form:focus-within .community-note{display:none}
}
