
:root { --ink: #43342c; --accent: #EF6415; --paper: #fffaf0; --edge: #d9bd90; --meadow: #cfe7b2;
  
  --page: 12px; --card: 16px; --section: 20px; --label: 10px; --gap: 12px; }
* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; background: var(--meadow); overscroll-behavior: none; }
body, .trayRow, .heroGrid, .scenes, .palette, .options, .wall, .stickers, .tool, .presetRow .chips { overscroll-behavior: none; }
body {
  position: relative; min-height: 100vh;
  font-family: "XYHei", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 900; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 330px; z-index: -1;
  background-image: var(--sky); background-size: cover; background-position: center 42%; }
body::after { content: ""; position: absolute; left: 0; right: 0; top: 190px; height: 140px; z-index: -1;
  background: linear-gradient(rgba(207, 231, 178, 0), #cfe7b2); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }


.top { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: var(--gap) var(--page); }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: 52px; height: 54px; margin-right: 6px; filter: drop-shadow(0 4px 4px rgba(60, 40, 20, .3)); }
.brand h1 { display: inline-block; padding: 3px 10px 4px; font-size: 19px; font-weight: 900; white-space: nowrap; background: var(--paper);
  border-radius: 8px; box-shadow: 0 3px 0 var(--edge), 0 6px 10px rgba(60, 40, 20, .22); transform: rotate(-1.6deg); }
.brand .by { display: table; margin: 5px 0 0 8px; padding: 1px 8px; font-size: 11px; color: #fff; background: var(--accent);
  border-radius: 5px; box-shadow: 0 2px 0 #a93a08; transform: rotate(1.4deg); }
.nav { display: none; flex: 0 0 auto; margin-left: 8px; }
body.has-plaza .nav { display: flex; }
.nav button { min-height: 40px; padding: 0 13px; font-size: 15px; background: var(--paper); border-radius: 12px;
  box-shadow: 0 4px 0 var(--edge), 0 6px 10px rgba(60, 40, 20, .2); }
.nav button + button { margin-left: 7px; }
.nav button.on { color: #fff; background: var(--accent); box-shadow: 0 2px 0 #a93a08, 0 4px 8px rgba(60, 40, 20, .25); transform: translateY(2px); }

.layout { max-width: 1240px; margin: 0 auto; }
.stage { padding: 0 var(--page); }
#board { display: block; width: 100%; height: auto; border: 4px solid var(--paper); border-radius: 18px;
  box-shadow: 0 6px 0 var(--edge), 0 14px 24px rgba(60, 40, 20, .28);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y; cursor: pointer; }


.panel, .picker, .share { background-color: var(--paper); background-image: var(--grain); }
.panel { margin: var(--section) var(--page) 0; padding: var(--card); border-radius: 20px;
  box-shadow: 0 6px 0 var(--edge), 0 14px 22px rgba(60, 40, 20, .2); }
body[data-mode="make"] .solve-only, body[data-mode="solve"] .make-only { display: none; }
body[data-mode="plaza"] .layout { display: none; }
.plaza { display: none; }
body[data-mode="plaza"] .plaza { display: block; }
body:not(.voting) .vote-only { display: none !important; }
body:not(.has-plaza) .plaza-only { display: none; }

.btn { min-height: 44px; padding: 0 14px; font-size: 14px; background: #fff; border-radius: 14px;
  box-shadow: 0 4px 0 var(--edge), 0 6px 10px rgba(60, 40, 20, .16), inset 0 0 0 2px rgba(217, 189, 144, .45); }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge), 0 2px 4px rgba(60, 40, 20, .16); }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.btn.primary { color: #fff; background: var(--accent); box-shadow: 0 4px 0 #a93a08, 0 8px 12px rgba(120, 50, 10, .28), inset 0 0 0 2px #ffb27a; }
.btn.sun { background: #ffd23f; box-shadow: 0 4px 0 #c28f10, 0 8px 12px rgba(120, 90, 10, .24), inset 0 0 0 2px #ffe89a; }
.btn.big { display: block; width: 100%; min-height: 52px; font-size: 17px; letter-spacing: 1px; }
.link { min-height: 40px; padding: 0 6px; font-size: 15px; color: var(--accent); }
.link.quiet { min-height: 34px; font-size: 12px; color: var(--ink); opacity: .55; text-decoration: underline; }


.tag { display: table; margin: 0 0 var(--label); padding: 2px 14px 3px; font-size: 13px; background: #ffd95e;
  box-shadow: 0 2px 3px rgba(60, 40, 20, .2); transform: rotate(-2deg); }



.scenes { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: -3px -16px 12px; padding: 3px 16px 8px; }
.scene { flex: 0 0 82px; margin-right: 9px; padding: 4px 4px 5px; background: #fff; border-radius: 11px;
  box-shadow: 0 3px 0 var(--edge), 0 5px 8px rgba(60, 40, 20, .18); }
.scene .pic { display: block; position: relative; height: 52px; overflow: hidden; border-radius: 7px; background: var(--meadow); }
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.scene .plus { position: absolute; left: 0; right: 0; top: 0; bottom: 0; font-size: 34px; line-height: 50px; color: #fff;
  text-shadow: 0 2px 4px rgba(60, 40, 20, .6); }
.scene .name { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.scene.on { background: var(--accent); color: #fff; box-shadow: 0 3px 0 #a93a08, 0 8px 12px rgba(60, 40, 20, .28); transform: translateY(-2px) rotate(-1.5deg); }


body:not([data-step]) .custom-only, body[data-step=""] .custom-only { display: none; }
body:not([data-step="layout"]) .layout-only { display: none; }
body[data-step="layout"] .people-only { display: none; }
body[data-step="layout"] #board { touch-action: none; cursor: move; }
.segment { display: flex; margin-bottom: var(--section); padding: 4px; background: rgba(120, 85, 40, .14); border-radius: 14px; }
.segment button { flex: 1; min-height: 38px; font-size: 15px; border-radius: 11px; opacity: .65; }
.segment button.on { background: #fff; opacity: 1; box-shadow: 0 3px 0 var(--edge); }
.tip { margin-bottom: var(--label); font-size: 12px; line-height: 1.6; opacity: .65; }
.palette { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--label); padding: 2px 2px 8px; }
.module { flex: 0 0 76px; margin-right: 8px; padding: 6px 4px 5px; text-align: center; background: #fff; border-radius: 12px;
  box-shadow: 0 3px 0 var(--edge), 0 5px 7px rgba(60, 40, 20, .14); }
.module canvas { display: block; width: 64px; height: 52px; margin: 0 auto 3px; }
.module span { display: block; font-size: 11px; line-height: 1.3; white-space: nowrap; }
.modbar { display: flex; align-items: center; min-height: 40px; margin-bottom: var(--gap); }
.modbar strong { flex: 1; min-width: 0; font-size: 13px; }
.modbar .btn { margin-left: 8px; }
.chips { display: flex; flex-wrap: wrap; }
.chip { min-height: 34px; margin: 0 8px 9px 0; padding: 0 13px; font-size: 13px; background: #fff; border-radius: 99px;
  box-shadow: 0 3px 0 var(--edge); }


.publish { position: -webkit-sticky; position: sticky; bottom: 0; z-index: 5; margin: var(--section) -16px -16px; padding: var(--gap) var(--card) var(--card);
  background: var(--paper); border-top: 2px dashed rgba(217, 189, 144, .75); border-radius: 0 0 20px 20px; }
.publish p { margin-bottom: var(--label); font-size: 12px; line-height: 1.5; text-align: center; opacity: .66; }
.publish p:empty { display: none; }
.publishRow { display: flex; }
.publishRow .btn { flex: 1; }
.publishRow .btn + .btn { flex: 0 0 38%; margin-left: var(--gap); }



.solveHead { display: flex; align-items: center; min-height: 32px; margin-bottom: 8px; }
#backPlaza { flex: 0 0 auto; min-height: 30px; margin-right: 8px; padding: 0 12px; font-size: 13px; background: #fff;
  border-radius: 99px; box-shadow: 0 3px 0 var(--edge), 0 5px 8px rgba(60, 40, 20, .14); }
.count { flex: 1 0 auto; padding-left: 8px; font-size: 12px; text-align: right; opacity: .62; }
.solveHead .link.quiet { flex: 0 0 auto; min-height: 30px; margin-left: 8px; padding: 0 2px; }
.question { margin-bottom: 6px; font-size: 15px; line-height: 1.6; opacity: .72; }
.verdictRow { display: flex; align-items: baseline; min-height: 30px; }
#verdict { flex: 0 0 auto; font-size: 22px; line-height: 1.35; color: var(--accent); }
#nearby { flex: 1; min-width: 0; margin-left: 10px; overflow: hidden; font-size: 12px; line-height: 1.6; white-space: nowrap; text-overflow: ellipsis; opacity: .75; }
#friend { font-size: 13px; line-height: 1.6; }
#friend:empty { display: none; }
.options { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 4px -4px 0; padding: 4px 4px 7px; }
.opt { position: relative; flex: 1 0 44px; max-width: 68px; height: 50px; margin-right: 8px; overflow: hidden; background: #ffd23f; border-radius: 11px;
  box-shadow: inset 0 0 0 3px var(--paper), 0 4px 0 var(--edge), 0 6px 9px rgba(60, 40, 20, .2); }
.opt:last-child { margin-right: 0; }

.options.many .opt { flex: 1 1 0%; min-width: 28px; margin-right: 5px; border-radius: 9px; }
.options.many .opt:last-child { margin-right: 0; }
.options.many .opt strong { font-size: 18px; }
.options.many .opt small { font-size: 9px; }
.opt strong { position: relative; display: block; font-size: 21px; font-weight: 900; line-height: 1.15; }
.opt small { position: relative; display: block; font-size: 11px; line-height: 1.2; }

.options.tallied .opt { background: #fff4c4; }
.opt i { position: absolute; left: 0; right: 0; bottom: 0; background: #ffd23f; }
.options .opt.mine { box-shadow: inset 0 0 0 3px var(--accent), 0 4px 0 var(--edge), 0 6px 9px rgba(60, 40, 20, .2); }
.options .opt.on { color: #fff; background: var(--accent); box-shadow: inset 0 0 0 3px var(--paper), 0 4px 0 #a93a08, 0 6px 9px rgba(60, 40, 20, .24); transform: translateY(-2px) rotate(-3deg); }
.opt.on i { background: rgba(120, 40, 0, .34); }
.solveActions { display: flex; margin: 10px -8px 0 0; }
.solveActions .btn.big { flex: 1; min-width: 0; min-height: 46px; margin-right: 8px; padding: 0 6px; font-size: 15px; letter-spacing: 0; }
#reasons { justify-content: flex-end; }
#reasons:not(:empty) { margin-bottom: 4px; }


.plaza { max-width: 1100px; margin: 0 auto; padding: 0 var(--page); }

.sort { display: flex; margin-bottom: var(--card); padding: 4px; background: var(--paper); border-radius: 14px; box-shadow: 0 4px 0 var(--edge), 0 8px 14px rgba(60, 40, 20, .18); }
.sort button { flex: 1; min-height: 36px; font-size: 15px; border-radius: 11px; opacity: .62; }
.sort button.on { color: #fff; background: var(--ink); opacity: 1; box-shadow: 0 3px 0 #1f1712; }
.demo { margin-bottom: var(--gap); padding: 8px var(--gap); font-size: 12px; line-height: 1.6; background: #fff3bf; border-radius: 10px;
  box-shadow: 0 3px 0 #dcc56a; }
.cards { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.cardWrap { width: 50%; padding: 0 6px var(--card); }
.card { position: relative; display: block; width: 100%; padding: 6px 6px 8px; text-align: left; background: var(--paper); border-radius: 14px;
  box-shadow: 0 5px 0 var(--edge), 0 10px 16px rgba(60, 40, 20, .24); }
.cardWrap:nth-child(odd) .card { transform: rotate(-.8deg); }
.cardWrap:nth-child(even) .card { transform: rotate(.8deg); }
.card canvas { display: block; width: 100%; height: auto; border-radius: 9px; background: var(--meadow); }
.card .meta { display: flex; align-items: center; justify-content: space-between; min-height: 22px; margin-top: 7px; font-size: 11px; white-space: nowrap; }
.card .cardBy { display: flex; min-width: 0; margin: 0; }
.card .num { flex: 0 0 auto; margin-left: 6px; opacity: .66; }

.card > em { position: absolute; right: -3px; top: -8px; padding: 3px 10px; font-style: normal; font-size: 11px; line-height: 16px; color: #fff; background: var(--accent);
  border: 2px solid var(--paper); border-radius: 99px; box-shadow: 0 2px 5px rgba(60, 40, 20, .3); }
.card > em.private { background: var(--ink); }
.btn.more { max-width: 320px; margin: 0 auto; }


.picker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; flex-direction: column; height: 56vh;
  padding: var(--label) var(--page) 0; border-radius: 20px 20px 0 0; box-shadow: 0 -4px 0 var(--edge), 0 -12px 30px rgba(50, 30, 8, .32);
  transform: translateY(110%); visibility: hidden; transition: transform .22s ease, visibility .22s; }
body.picking[data-mode="make"] .picker { transform: translateY(0); visibility: visible; }
body.picking[data-mode="make"] { padding-bottom: 56vh; }
#scrim { display: none; }
.pickerHead { display: flex; align-items: center; justify-content: space-between; }
.pickerHead strong { font-size: 15px; }
.pickerOps { display: flex; margin: 6px 0 var(--gap); }
.pickerOps .btn { flex: 1; }
.pickerOps .btn + .btn { margin-left: var(--gap); }
.tabs { display: flex; margin-bottom: var(--label); }
.tab { flex: 1; min-height: 34px; margin-right: 6px; font-size: 13px; background: rgba(120, 85, 40, .1); border-radius: 10px; }
.tab:last-child { margin-right: 0; }
.tab.on { color: #fff; background: var(--ink); box-shadow: 0 3px 0 #1f1712; }
.heroGrid { flex: 1; display: flex; flex-wrap: wrap; align-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 0 24px; }
.hero { width: 20%; padding: 3px 2px 7px; text-align: center; }
.face { position: relative; display: block; width: 58px; height: 58px; margin: 0 auto 5px; background: #e8f1f4; border: 3px solid #fff; border-radius: 15px;
  box-shadow: 0 3px 0 var(--edge), 0 5px 7px rgba(60, 40, 20, .2); }
.face img { display: block; width: 52px; height: 52px; border-radius: 12px; }
.badge { display: none; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: 0 6px; font-size: 10px; line-height: 15px;
  white-space: nowrap; color: #fff; background: var(--ink); border-radius: 99px; }
.hero.seated .face img { opacity: .42; }
.hero.seated .badge { display: block; }
.hero.here .face { border-color: var(--accent); }
.hero.here .face img { opacity: 1; }
.hero.here .badge { background: var(--accent); }
.hname { display: block; font-size: 12px; line-height: 1.3; }


#askScrim { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 30; background: rgba(40, 28, 14, .62); }
.ask { display: none; position: fixed; z-index: 31; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92%; max-width: 380px;
  padding: var(--card); text-align: center; background-color: var(--paper); background-image: var(--grain); border-radius: 20px;
  box-shadow: 0 6px 0 var(--edge), 0 18px 40px rgba(20, 10, 0, .4); }
.ask h2 { margin-bottom: var(--card); font-size: 19px; }
.btn.choice { margin-bottom: var(--gap); padding: var(--label) var(--gap); }
.btn.choice small { display: block; margin-top: 3px; font-size: 12px; letter-spacing: 0; opacity: .66; }
body.asking { overflow: hidden; }
body.asking #askScrim, body.asking .ask:not(.group):not(.login):not(.jump):not(.pickStyle) { display: block; }

#styleScrim { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 32; background: rgba(40, 28, 14, .62); }
.ask.pickStyle { z-index: 33; }
body.styling #styleScrim, body.styling .ask.pickStyle { display: block; }
.ask.pickStyle .link { display: block; margin: 8px auto 0; color: var(--ink); opacity: .62; }
#loginScrim { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 32; background: rgba(40, 28, 14, .62); }
.ask.login { z-index: 33; }
body.logging #loginScrim, body.logging .ask.login { display: block; }
.loginText { margin-bottom: var(--card); font-size: 13px; line-height: 1.7; text-align: left; opacity: .78; }
.ask.login .link { display: block; margin: 8px auto 0; color: var(--ink); opacity: .62; }


#jumpScrim { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 30; background: rgba(40, 28, 14, .62); }
.ask.jump { max-height: 94%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ask.jump .loginText { margin-bottom: 12px; text-align: center; }
#jumpOpen { display: none; margin-bottom: 14px; line-height: 52px; color: #fff; text-decoration: none; }
.ask.jump.has-scheme #jumpOpen { display: block; }

.ask.jump.has-scheme .qrBox { display: none; }
.ask.jump.has-scheme.show-code .qrBox { display: block; }
.ask.jump .qrBox { width: 216px; min-height: 216px; }
.ask.jump .qrBox img { width: 200px; height: 200px; }
.ask.jump .link { display: block; margin: 4px auto 0; color: var(--ink); opacity: .62; }
body.jumping { overflow: hidden; }
body.jumping #jumpScrim, body.jumping .ask.jump { display: block; }

.btn.big.jumpOnly { display: none; }
body.can-jump .btn.big.jumpOnly { display: block; margin-top: 10px; }


.replies { display: flex; align-items: stretch; height: 70px; margin-top: 4px; }
.stickAdd { display: flex; flex: 0 0 50px; flex-direction: column; align-items: center; justify-content: center; margin: 4px 6px 4px 0; font-size: 11px;
  background: rgba(120, 85, 40, .08); border: 2px dashed var(--edge); border-radius: 12px; }
.stickAdd i { font-style: normal; font-size: 22px; line-height: 24px; color: var(--accent); }
.wall, .stickers { display: flex; flex: 1; min-width: 0; align-items: center; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 5px 6px 4px 4px; }
.wall .empty { font-size: 13px; white-space: nowrap; opacity: .58; }
.stickers { display: none; background: rgba(120, 85, 40, .11); border-radius: 14px; }
.replies.picking-sticker .wall { display: none; }
.replies.picking-sticker .stickers { display: flex; }
.sticker { position: relative; flex: 0 0 56px; height: 57px; margin-right: 9px; padding: 3px 1px 2px; text-align: center; background: #fff; border-radius: 12px;
  box-shadow: 0 3px 0 var(--edge), 0 5px 7px rgba(60, 40, 20, .16); }
.sticker img { display: block; width: 38px; height: 38px; margin: 0 auto; object-fit: contain; }
.sticker span { display: block; overflow: hidden; font-size: 10px; line-height: 1.3; white-space: nowrap; }
.sticker b { position: absolute; right: -5px; top: -5px; min-width: 20px; padding: 0 4px; font-size: 11px; line-height: 17px; color: #fff; background: var(--ink); border: 2px solid var(--paper); border-radius: 99px; }
.sticker.on { background: #fff1d6; box-shadow: inset 0 0 0 3px var(--accent), 0 3px 0 #a93a08, 0 5px 7px rgba(60, 40, 20, .18); }
.sticker.on b { background: var(--accent); }


.person { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
.person img { flex: 0 0 auto; width: 22px; height: 22px; margin-right: 6px; object-fit: cover; background: #fff; border: 2px solid var(--paper); border-radius: 50%;
  box-shadow: 0 1px 4px rgba(60, 40, 20, .35); }
.person .who { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.person .after { flex: 0 0 auto; margin-left: 4px; opacity: .6; }
.byline { margin-bottom: 6px; font-size: 13px; }
.cardBy { display: flex; margin-top: 4px; font-size: 11px; opacity: .78; }
.cardBy .person img { width: 18px; height: 18px; margin-right: 5px; }
.me { display: inline-flex; align-items: center; max-width: 100%; min-height: 34px; margin-bottom: var(--gap); padding: 0 12px; font-size: 12px; background: var(--paper); border-radius: 99px;
  box-shadow: 0 3px 0 var(--edge), 0 5px 8px rgba(60, 40, 20, .18); }
.me > span:first-child { flex: 0 0 auto; margin-right: 8px; opacity: .6; }

.card .faces { position: absolute; right: 10px; bottom: 38px; display: flex; padding: 1px 5px 1px 9px; background: rgba(255, 250, 240, .94); border-radius: 99px;
  box-shadow: 0 2px 5px rgba(60, 40, 20, .25); }
.card .faces img { width: 22px; height: 22px; margin-left: -5px; object-fit: contain; }


.groupWrap { display: none; text-align: center; margin-top: var(--section); }
body.has-group .groupWrap { display: block; }
.groupEntry { min-height: 44px; padding: 0 22px; font-size: 14px; color: #fff; background: #2fae5e; border-radius: 99px;
  box-shadow: 0 4px 0 #1d7a41, 0 7px 12px rgba(30, 90, 50, .25), inset 0 0 0 2px #8fdcae; }
#groupScrim { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 30; background: rgba(40, 28, 14, .62); }
.ask.group { display: none; }
body.grouping { overflow: hidden; }
body.grouping #groupScrim, body.grouping .ask.group { display: block; }
.qrBox { position: relative; width: 232px; min-height: 232px; margin: 0 auto 10px; padding: 8px; background: #fff; border-radius: 16px;
  box-shadow: 0 4px 0 var(--edge); }
.qrBox img { display: block; width: 216px; height: 216px; object-fit: contain; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.qrBox p { position: absolute; left: 12px; right: 12px; top: 45%; font-size: 13px; line-height: 1.6; opacity: .66; }
.qrHint { margin-bottom: 12px; font-size: 13px; opacity: .72; }
.ask.group .link { display: block; margin: 6px auto 0; }

.legal { max-width: 640px; margin: 0 auto; padding: var(--section) var(--card) 28px; font-size: 11px; line-height: 1.7; text-align: center; opacity: .6; }


#shareScrim { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 30; background: rgba(40, 28, 14, .66); }
.share { display: none; position: fixed; z-index: 31; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 94%; max-width: 460px; height: 94%; flex-direction: column; padding: 8px 14px 10px; border-radius: 20px;
  box-shadow: 0 6px 0 var(--edge), 0 18px 40px rgba(20, 10, 0, .4); }
body.sharing { overflow: hidden; }
body.sharing #shareScrim { display: block; }
body.sharing .share { display: flex; }
.shareHead { display: flex; align-items: center; justify-content: space-between; }
.shareHead h2 { font-size: 18px; }
.shareBody { flex: 1; min-height: 0; position: relative; margin: 4px 0; }
.shareBody img { position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto; max-width: 100%; max-height: 100%; border-radius: 10px;
  -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
#shareHint { margin: 4px 0 9px; font-size: 13px; text-align: center; opacity: .72; }
.shareActions { display: flex; flex-wrap: wrap; margin-right: -10px; }
.shareActions .btn { flex: 1 0 40%; margin: 0 10px 8px 0; }

#toast { position: fixed; left: 50%; bottom: 40px; z-index: 40; max-width: 86%; padding: 10px 18px; font-size: 14px; color: #fff;
  background: rgba(67, 52, 44, .95); border-radius: 99px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }


.dots { display: flex; justify-content: center; }
.dots i { width: 13px; height: 13px; margin: 0 4px; background: var(--accent); border: 2px solid var(--paper); border-radius: 4px;
  box-shadow: 0 2px 0 #a93a08; animation: hop .9s ease-in-out infinite; }
.dots i:nth-child(2) { background: #ffd23f; box-shadow: 0 2px 0 #c28f10; animation-delay: .15s; }
.dots i:nth-child(3) { background: #7ccf6a; box-shadow: 0 2px 0 #3f8f32; animation-delay: .3s; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-9px) rotate(14deg); } }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

#boot { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: var(--card); background: var(--meadow); }
body[data-ready] #boot { display: none; }
.bootCard, .veilCard { padding: 18px 22px 16px; text-align: center; background-color: var(--paper); border-radius: 18px;
  box-shadow: 0 5px 0 var(--edge), 0 12px 22px rgba(60, 40, 20, .24); }
.bootCard { width: 100%; max-width: 290px; }
.bootCard p, .veilCard p { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.bootBar { height: 10px; margin-top: 12px; overflow: hidden; background: rgba(120, 85, 40, .15); border-radius: 99px; }
.bootBar i { display: block; width: 4%; height: 10px; background: var(--accent); border-radius: 99px; transition: width .25s ease; }

.bootCard .bootSlow { visibility: hidden; font-size: 12px; opacity: .66; animation: appear .1s linear 12s forwards; }
@keyframes appear { to { visibility: visible; } }


.stage { position: relative; }
.boardWrap { position: relative; }
.veil { display: none; position: absolute; left: 0; right: 0; top: 0; bottom: 0; align-items: center; justify-content: center;
  background: #dcecc6; border: 4px solid var(--paper); border-radius: 18px; }
.veil.cover, .veil.pill { display: flex; }
.veil.pill { top: auto; bottom: 14px; height: auto; background: none; border: 0; pointer-events: none; }
.veil.pill .veilCard { padding: 10px 18px; }
.veil.pill .veilCard p { margin-top: 6px; font-size: 12px; }
.veil .btn { display: none; margin-top: 12px; pointer-events: auto; }
.veil.failed .btn { display: inline-block; }
.veil.failed .dots { display: none; }
.veil.failed .veilCard p { margin-top: 0; }

#busy { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 35; align-items: center; justify-content: center; background: rgba(40, 28, 14, .28); }
#busy.show { display: flex; }
#busy .veilCard { min-width: 168px; }


img.wait { background: rgba(120, 85, 40, .13); border-radius: 12px; animation: breathe 1.2s ease-in-out infinite; }


.card.ghost { cursor: default; }
.card.ghost .shot { display: block; height: 0; padding-top: 112%; background: rgba(120, 85, 40, .11); border-radius: 9px; animation: breathe 1.2s ease-in-out infinite; }
.card.ghost .line { display: block; width: 56%; height: 12px; margin: 13px 0 5px 4px; background: rgba(120, 85, 40, .13); border-radius: 99px; animation: breathe 1.2s ease-in-out infinite; }
.cardWrap.drawing .card::after { content: "图片加载中…"; position: absolute; left: 6px; right: 6px; top: 40%; font-size: 12px; text-align: center; opacity: .6; }


.blank { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 300px; margin: 0 6px var(--card);
  padding: 24px 18px; text-align: center; background: rgba(255, 250, 240, .72); border: 2px dashed var(--edge); border-radius: 18px; }
.blank img { width: 96px; height: 100px; object-fit: contain; }
.blank p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.blank .btn { margin-top: 14px; }


.tray { position: relative; }
#trayRoles.tabs { display: flex; margin-bottom: 3px; }
#trayRoles .tab { min-height: 30px; }
.trayRow { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 5px 8px 4px; touch-action: pan-x; }
.trayHero { flex: 0 0 62px; padding: 0 2px 2px; text-align: center; touch-action: pan-x; cursor: grab;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.trayHero .face { width: 50px; height: 50px; margin-bottom: 4px; border-radius: 13px; }
.trayHero .face img { width: 44px; height: 44px; border-radius: 10px; pointer-events: none; }
.trayHero .hname { font-size: 11px; white-space: nowrap; overflow: hidden; }
.trayHero.seated .face img { opacity: .36; }
.trayHero .face { position: relative; }
body.dup .trayHero.seated .face img { opacity: 1; }
.trayHero b { display: none; position: absolute; right: -6px; top: -6px; min-width: 18px; padding: 0 4px; font-size: 11px; line-height: 16px; color: #fff; background: var(--accent);
  border: 2px solid var(--paper); border-radius: 99px; }
body.dup .trayHero.seated b { display: block; }
.trayOut { display: none; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 8; align-items: center; justify-content: center; font-size: 16px; color: var(--accent);
  background: rgba(255, 250, 240, .96); border: 3px dashed var(--accent); border-radius: 18px; }
body.lifting-seat .trayOut { display: flex; }
body.lift-out .trayOut { color: #fff; background: var(--accent); border-color: #fff; }
body.lifting { cursor: grabbing; -webkit-user-select: none; user-select: none; }
body.lifting #board { cursor: grabbing; }
.hero { cursor: grab; -webkit-user-select: none; user-select: none; }
.hero .face img { pointer-events: none; }

#ghost { display: none; position: fixed; left: 0; top: 0; z-index: 34; width: 92px; height: 104px; pointer-events: none;
  transform: translate(-50%, -60%) scale(.72); transition: transform .15s cubic-bezier(.3, 1.7, .5, 1); }
#ghost.show { display: block; }
#ghost.up { transform: translate(-50%, -60%) scale(1.08) rotate(-5deg); }
#ghost.touch.up { transform: translate(-50%, -96%) scale(1.12) rotate(-5deg); }
#ghost.land { transform: translate(-50%, -60%) scale(.82); opacity: .35; transition: left .16s ease-in, top .16s ease-in, transform .16s ease-in, opacity .16s ease-in; }
#ghost img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 9px rgba(40, 24, 8, .4)); }
#ghost img.wait { background: none; }
#ghost b { display: block; width: 78px; height: 68px; margin: 20px auto 0; font-size: 40px; line-height: 60px; text-align: center; background: #ffd23f;
  border: 5px solid var(--paper); border-radius: 15px; box-shadow: 0 12px 16px rgba(40, 24, 8, .36); }
#pop { display: none; position: absolute; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 5px solid var(--accent); border-radius: 50%; pointer-events: none; }
#pop.go { display: block; opacity: 0; animation: pop .5s ease-out; }
@keyframes pop { 0% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.25); } }


#tour { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 33; overflow: hidden; touch-action: none; }
body.touring #tour { display: block; }
#tourSpot { position: fixed; border: 3px solid #ffd23f; border-radius: 18px; box-shadow: 0 0 0 2000px rgba(40, 28, 14, .6);
  transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; }
#tourHand { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 2; pointer-events: none; }
#tourHand svg { position: absolute; left: -14px; top: -3px; filter: drop-shadow(0 6px 5px rgba(30, 18, 4, .45)); }
#tourFace { position: absolute; left: -34px; top: -62px; width: 54px; height: 54px; background: #fff; border: 3px solid #fff; border-radius: 14px;
  box-shadow: 0 6px 10px rgba(30, 18, 4, .4); }
#tourCard { position: fixed; z-index: 1; width: 300px; max-width: 94%; padding: 12px var(--card) var(--gap); background-color: var(--paper); background-image: var(--grain);
  border-radius: 18px; box-shadow: 0 5px 0 var(--edge), 0 16px 30px rgba(20, 10, 0, .4); }
#tourCount { font-size: 12px; opacity: .55; }
#tourCard h2 { margin: 2px 0 4px; font-size: 17px; color: var(--accent); }
#tourText { font-size: 14px; line-height: 1.65; }
.tourBtns { display: flex; align-items: center; justify-content: space-between; margin-top: var(--label); }
.tourBtns .link { font-size: 14px; color: var(--ink); opacity: .6; }
.tourBtns .btn { min-width: 108px; }
.tagRow { display: flex; align-items: center; justify-content: space-between; }
.wideOnly { display: none !important; }


#dock { position: relative; }
.tool + .tool { margin-top: var(--section); }
.toolRow { display: flex; align-items: center; }
.toolTabs { flex: 1; display: flex; padding: 4px; background: rgba(120, 85, 40, .14); border-radius: 14px; }
.toolTabs button { flex: 1; min-height: 36px; font-size: 15px; border-radius: 11px; opacity: .62; }
.toolTabs button.on { color: #fff; background: var(--ink); opacity: 1; box-shadow: 0 3px 0 #1f1712; }
.toolHint { font-size: 12px; line-height: 1.5; opacity: .68; }
.toolFoot { display: flex; align-items: center; }
.toolFoot .link { flex: 0 0 auto; min-height: 30px; margin-right: 14px; padding: 0 2px; font-size: 13px; }
.toolFoot .fine { flex: 1; min-width: 0; text-align: right; }
.groupEntry.mini { display: none; min-height: 30px; color: #1f8a49; background: none; box-shadow: none; }
body.has-group .groupEntry.mini { display: inline-block; }
.fine { font-size: 11px; line-height: 1.5; opacity: .5; }
.heroOps { display: flex; align-items: center; margin-top: 6px; padding-top: 9px; border-top: 2px dashed rgba(217, 189, 144, .6); }
.heroOps .grow { flex: 1; }
.heroOps .btn { flex: 0 0 auto; margin-left: 8px; min-height: 34px; padding: 0 10px; }
.switch { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 34px; font-size: 13px; }
.switch i { position: relative; flex: 0 0 auto; width: 34px; height: 20px; margin-right: 7px; background: rgba(120, 85, 40, .28); border-radius: 99px; transition: background .18s; }
.switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(60, 40, 20, .4); transition: left .18s; }
.switch[aria-pressed="true"] i { background: var(--accent); }
.switch[aria-pressed="true"] i::after { left: 16px; }
#titleText { font-size: 18px; line-height: 1.5; text-align: center; padding: 10px var(--gap); background: #fff; border-radius: 12px; box-shadow: 0 3px 0 var(--edge); }
.titleOps { display: flex; margin-top: var(--gap); }
.titleOps .btn { flex: 1; }
.titleOps .btn + .btn { margin-left: var(--gap); }
.presetRow { display: flex; align-items: center; }
.presetRow > span { flex: 0 0 auto; margin-right: 8px; font-size: 12px; opacity: .68; }
.presetRow .chips { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 2px 2px 6px; }
.presetRow .chip { flex: 0 0 auto; margin: 0 8px 0 0; min-height: 32px; white-space: nowrap; }
.chip.arm { color: #fff; background: var(--accent); box-shadow: 0 3px 0 #a93a08; }
.pickerOps { align-items: center; }
.pickerOps .switch { margin-left: var(--gap); }


@media (max-width: 899px) {
  .narrowOnly { display: block; }
  .toolFoot.narrowOnly { display: flex; }
  
  .top { padding: 8px var(--page); }
  .brand img { width: 40px; height: 42px; }
  .brand h1 { font-size: 17px; }
  .nav button { min-height: 36px; }
  .plaza { padding-top: 4px; padding-bottom: 8px; }
  body.fixed { position: fixed; left: 0; top: 0; right: 0; bottom: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  body.fixed .top { flex: 0 0 auto; width: 100%; }
  body.fixed .layout { flex: 1 1 0%; min-height: 0; width: 100%; display: flex; flex-direction: column; }
  body.fixed .stage { flex: 1 1 0%; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
  body.fixed #board { touch-action: none; }
  body.fixed .solveFine { margin-top: 8px; text-align: center; }
  body.fixed .boardWrap { margin: 0 auto; }
  body.fixed .side { flex: 0 0 auto; }
  body.fixed .groupWrap, body.fixed .legal, body.fixed .plaza { display: none; }
  body.fixed .panel { margin: 8px 0 0; border-radius: 20px 20px 0 0; }
  body.fixed #toast { bottom: auto; top: 64px; }

  
  body.fixed #dock { padding: 8px var(--page) 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  body.fixed .tool { display: none; height: 168px; margin: 0; padding-top: 8px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  body.fixed.sheet[data-tool="scene"] .tool[data-tool="scene"], body.fixed.sheet[data-tool="layout"] .tool[data-tool="layout"],
  body.fixed.sheet[data-tool="hero"] .tool[data-tool="hero"], body.fixed.sheet[data-tool="title"] .tool[data-tool="title"] { display: block; animation: rise .2s ease-out; }
  body.fixed #sheetClose { display: none; flex: 0 0 auto; min-height: 36px; margin-left: 8px; padding: 0 8px; }
  body.fixed.sheet #sheetClose { display: block; }
  body.fixed .publish { position: static; margin: 10px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
  body.fixed .publish p { margin-bottom: 7px; }
  body.fixed .publish .btn.big { min-height: 46px; margin-top: 0; }
  body.fixed.sheet .publish { display: none; }
  body.fixed .scenes { margin: 0 -12px; padding: 3px 12px 8px; }
  body.fixed .tool[data-tool="scene"] .toolHint { margin-top: 2px; }
  body.fixed .palette { margin: 4px 0 0; padding: 2px 2px 6px; }
  body.fixed .module { flex-basis: 66px; padding: 3px; }
  body.fixed .module canvas { width: 52px; height: 42px; }
  body.fixed .tool[data-tool="layout"] .toolHint { display: none; }
  body.fixed .modbar { min-height: 34px; margin: 0 0 4px; }
  body.fixed .modbar .btn { min-height: 32px; }
  body.fixed .trayRow { margin: 0 -12px; padding-top: 4px; padding-left: 12px; padding-bottom: 2px; }
  body.fixed .heroOps { margin-top: 3px; padding-top: 6px; }
  body.fixed #scrim, body.fixed .picker { display: none; }
  body.fixed.picking #dock { display: none; }
  body.fixed.picking .picker { display: flex; position: static; height: 46vh; margin-top: 8px; transform: none; visibility: visible; transition: none; animation: rise .2s ease-out; }
  body.fixed.picking { padding-bottom: 0; }

  
  body.fixed #answer { padding: 10px var(--page) 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  body.fixed .byline { min-width: 0; margin: 0; font-size: 12px; }
  body.fixed .question { display: none; }
  body.fixed.voting .solveFine { display: none; }   
}
@keyframes rise { from { transform: translateY(22px); opacity: .2; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 899px) and (max-height: 700px) {
  .top { padding-top: 5px; padding-bottom: 5px; }
  .brand img { width: 32px; height: 34px; }
  .brand .by { display: none; }
  body.fixed .tool { height: 138px; }
  body.fixed .scene .pic { height: 40px; }
  body.fixed .fine, body.fixed .toolHint { display: none; }
  body.fixed .module { flex-basis: 60px; padding-bottom: 2px; }
  body.fixed .module canvas { width: 42px; height: 30px; margin-bottom: 1px; }
  body.fixed .modbar { min-height: 30px; margin-bottom: 1px; }
  body.fixed .modbar .btn { min-height: 28px; }
  body.fixed .presetRow .chip { min-height: 28px; }
  body.fixed .tool[data-tool="layout"] { padding-top: 4px; }
  body.fixed .publish p { display: none; }
  body.fixed .solveFine { display: none; }
  body.fixed .tool[data-tool="hero"] { padding-top: 4px; }
  body.fixed #trayRoles .tab { min-height: 24px; }
  body.fixed .trayRow { padding-top: 2px; padding-bottom: 0; }
  body.fixed .trayHero .face { width: 40px; height: 40px; margin-bottom: 3px; border-radius: 11px; }
  body.fixed .trayHero .face img { width: 34px; height: 34px; border-radius: 8px; }
  body.fixed .trayHero .hname { font-size: 10px; }
  body.fixed .heroOps { margin-top: 2px; padding-top: 4px; }
  body.fixed .heroOps .btn, body.fixed .heroOps .switch { min-height: 29px; }
  body.fixed.picking .picker { height: 50vh; }
  body.fixed #answer { padding-top: 7px; }
  body.fixed .solveHead { margin-bottom: 3px; }
  body.fixed .verdictRow { min-height: 24px; }
  body.fixed #verdict { font-size: 18px; }
  body.fixed .options { margin-top: 1px; }
  body.fixed .opt { height: 42px; }
  body.fixed .opt strong { font-size: 17px; }
  body.fixed .opt small { font-size: 10px; }
  body.fixed .replies { height: 60px; margin-top: 0; }
  body.fixed .sticker { flex-basis: 50px; height: 49px; }
  body.fixed .sticker img { width: 32px; height: 32px; }
  body.fixed .sticker span { font-size: 9px; }
  body.fixed .solveActions { margin-top: 5px; }
  body.fixed .solveActions .btn.big { min-height: 40px; }
}

@media (max-width: 899px) and (max-height: 520px) and (orientation: landscape) {
  .top { padding-top: 4px; padding-bottom: 4px; }
  .brand img { width: 28px; height: 30px; }
  .brand .by { display: none; }
  .nav button { min-height: 30px; }
  body.fixed .layout { flex-direction: row; }
  body.fixed .stage { flex: 1 1 0%; min-width: 0; }
  body.fixed .side { flex: 0 0 56%; width: 56%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
  body.fixed .panel { min-width: 0; max-height: 100%; margin: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 18px 0 0 0; }
  body.fixed .tool { height: auto; max-height: calc(100vh - 108px); }
  body.fixed.picking .picker { height: 100%; margin: 0; }
  body.fixed .solveFine, body.fixed .fine { display: none; }
  
  body.sharing .share { display: grid; grid-template-columns: 1fr 220px; grid-template-rows: auto 1fr auto auto 1fr; grid-column-gap: 14px; width: 94%; max-width: 640px; height: 94%; }
  .shareHead { grid-column: 1 / 3; grid-row: 1; }
  .shareBody { grid-column: 1; grid-row: 2 / 6; }
  #shareHint { grid-column: 2; grid-row: 3; }
  .shareActions { grid-column: 2; grid-row: 4; }
  .shareActions .btn { flex-basis: 100%; }
}

@media (max-width: 359px) {
  .brand img { display: none; }
  .hero { width: 25%; }
}
@media (min-width: 640px) { .cardWrap { width: 33.33%; } }


@media (min-width: 900px) {
  .top { padding: 12px 24px 14px; }
  .nav button { padding: 0 22px; }
  .layout { display: flex; align-items: flex-start; justify-content: center; padding: 0 24px; }
  .tray, .toolTabs, .narrowOnly, #trayRoles.tabs { display: none !important; }
  .toolRow { display: none; }
  .wideOnly { display: block !important; }
  .tagRow.wideOnly, .segment.wideOnly { display: flex !important; }
  .tag.wideOnly { display: table !important; }
  body:not([data-step]) .segment.wideOnly, body[data-step=""] .segment.wideOnly { display: none !important; }
  .tagRow .link { min-height: 30px; margin-bottom: var(--label); font-size: 13px; }
  .heroOps { border-top: 0; padding-top: 0; }
  .presetRow .chips { flex-wrap: wrap; overflow: visible; }
  .presetRow .chip { margin-bottom: 6px; }
  body.lifting-seat .picker { box-shadow: 0 0 0 3px var(--accent), 0 14px 22px rgba(60, 40, 20, .2); }
  
  .side { display: flex; flex-direction: column; }
  .side > .panel { flex: 0 0 auto; }
  body[data-mode="make"] .side > .picker { order: -1; flex: 0 0 auto; height: 380px; margin-bottom: 18px; }
  .stage { flex: 0 0 auto; width: calc((100vh - 104px) * .74); max-width: 640px; min-width: 340px; padding: 0; }
  .side { flex: 1; max-width: 520px; max-height: calc(100vh - 82px); overflow-y: auto; margin-left: 10px; padding: 0 16px 16px; }
  .panel { margin: 0 0 18px; }
  .scenes { flex-wrap: wrap; overflow: visible; margin: -3px -9px 9px 0; padding: 3px 0 0; }
  .scene { flex-basis: 82px; margin-bottom: 11px; }
  .palette { flex-wrap: wrap; overflow: visible; }
  .module { margin-bottom: 9px; }
  .publish { position: static; margin: var(--section) 0 0; padding: var(--gap) 0 0; background: none; }
  .picker { position: static; height: 520px; transform: none; visibility: visible; transition: none; border-radius: 20px;
    box-shadow: 0 6px 0 var(--edge), 0 14px 22px rgba(60, 40, 20, .2); }
  body.picking[data-mode="make"] { padding-bottom: 0; }
  .pickerHead .link { display: none; }
  .hero { width: 16.66%; }
  .cardWrap { width: 25%; }
  .sort { width: 360px; }
  .replies { height: auto; }
  .wall, .stickers { flex-wrap: wrap; overflow: visible; }
  .sticker { margin-bottom: 9px; }
  .stickAdd { align-self: flex-start; height: 57px; }
  
  body.sharing .share { display: grid; grid-template-columns: 1fr 240px; grid-template-rows: auto 1fr auto auto 1fr; grid-column-gap: 18px;
    width: 780px; max-width: 94%; height: 92%; max-height: 860px; padding: 12px 20px 18px; }
  .shareHead { grid-column: 1 / 3; grid-row: 1; }
  .shareBody { grid-column: 1; grid-row: 2 / 6; }
  #shareHint { grid-column: 2; grid-row: 3; }
  .shareActions { grid-column: 2; grid-row: 4; }
  .shareActions .btn { flex-basis: 100%; }
}

@media (min-width: 1200px) {
  .layout { max-width: 1420px; }
  body[data-mode="make"] .side { flex-direction: row; align-items: flex-start; max-width: 800px; overflow: visible; }
  body[data-mode="make"] .side > .panel { flex: 1 1 0%; min-width: 0; max-height: calc(100vh - 100px); overflow-y: auto; }
  body[data-mode="make"] .side > .picker { order: -1; flex: 0 0 340px; height: calc(100vh - 100px); margin: 0 18px 0 0; }
  body[data-mode="make"][data-step="layout"] .side > .picker { display: none; }
}
