button[data-game-share]{display:inline-flex;align-items:center;justify-content:center;gap:.45em;min-width:44px;min-height:44px;color:inherit;cursor:pointer}
[data-game-share] svg{width:20px;height:20px;flex:none}.deskfoot [data-game-share],.battle-share{padding:0;border-radius:13px;border:1px solid #a4ab926b;background:#23352e;color:#f5ebd4}
#z-share{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);height:fit-content;padding:0;overflow:hidden;border:1px solid #cdceb7;border-radius:22px;box-shadow:0 18px 74px #07130e66;background:#fbf8ee;color:#22342b;font:500 15px/1.45 'DM Sans',var(--z-han-ui,system-ui),sans-serif;text-align:left}
#z-share:not([open]){display:none}#z-share::backdrop{background:#081610bd}#z-share *,#z-share ::before{box-sizing:border-box}#z-share section{display:flex;flex-direction:column;max-height:calc(100dvh - 26px)}
#z-share header,#z-share footer{position:static;display:flex;flex:none;align-items:center;justify-content:space-between;background:transparent;height:auto;width:auto;border:0;margin:0;padding:12px 18px}
#z-share h2{margin:0;color:#22342b;font:700 22px/1.22 inherit;font-family:inherit;font-size:22px;font-weight:700}
#z-share button,#z-share a{touch-action:manipulation;cursor:pointer;font-family:inherit;letter-spacing:normal}
#z-share .zs-close{font-size:27px;background:transparent;color:#415347;border:0;min-width:44px;min-height:44px;line-height:1;padding:0}
#z-share .zs-body{padding:0 18px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#z-share figure{display:flex;align-items:center;gap:16px;padding:12px 16px;margin:0 0 14px;background:#20372d;color:#fff1cb;border:1px solid #3d5344;border-radius:14px}
#z-share .zs-preview{display:block;width:auto;height:clamp(75px,21dvh,158px);max-width:48%;object-fit:contain;border-radius:6px}
#z-share figcaption{font-size:17px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
#z-share label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}
#z-share textarea{display:block;width:100%;min-height:64px;padding:9px 11px;border:1px solid #b8bdaf;border-radius:9px;resize:vertical;background:#fffdf8;color:#23342c;font:inherit;font-size:16px;line-height:1.4}
#z-share .zs-copy{background:transparent;border:0;color:#355f4b;padding:0;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:3px}
#z-share .zs-targets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#z-share .zs-targets button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#26382d;background:#fffdf7;border:1px solid #c1c6b6;border-radius:12px;padding:8px 3px;font:600 13px/1.2 inherit;font-size:13px;font-weight:650;min-height:63px}
#z-share .zs-targets b{display:grid;place-items:center;width:23px;height:23px;line-height:1;border-radius:6px;background:#172323;color:white;font:700 18px/1 system-ui}
#z-share [data-target=facebook] b{background:#1767df;font:bold 24px/1 Arial}#z-share [data-target=instagram] b{background:linear-gradient(35deg,#ec9e34,#be3372 60%,#6335a4)}
#z-share [data-target=instagram] i{width:15px;height:15px;border:1.6px solid white;border-radius:5px;position:relative}
#z-share [data-target=instagram] i::before{content:'';position:absolute;inset:3px;border:1.3px solid white;border-radius:50%}
#z-share .zs-targets button:hover{background:#eaf0e5}#z-share .zs-targets button:disabled{opacity:.55;cursor:wait}
#z-share .zs-status{font-size:13px;line-height:1.5;min-height:1.5em;color:#4a594d;margin:10px 0 0}
#z-share .zs-open{display:inline-flex;align-items:center;min-height:44px;color:#27573f}
#z-share .zs-qr{text-align:center}#z-share .zs-qr canvas{width:158px;height:158px;max-width:100%;image-rendering:pixelated}
#z-share .zs-back{width:100%;min-height:46px;border:0;border-radius:12px;background:#234333;color:#fff7de;font-size:16px;font-weight:700}
#z-share [hidden]{display:none!important}
#sheet>.sheet-share{margin:0 0 8px 14px;background:transparent;border:0;color:inherit}
@media(max-height:640px){#z-share header,#z-share footer{padding-block:5px}#z-share figure{padding-block:6px;margin-bottom:7px}}

#z-share[data-received="true"] figure{flex-direction:column;gap:6px}
#z-share[data-received="true"] .zs-preview{height:clamp(150px,39dvh,360px);max-width:100%}
#z-share[data-received="true"] figcaption{font-size:13px}

#z-share .zs-image{min-height:44px;padding:0 8px;color:#2f553c;background:transparent;border:0;text-decoration:underline}
#z-share footer{gap:10px}
#z-share .zs-save,#z-share .zs-back{flex:1 1 0;min-width:0}
#z-share .zs-save{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:8px 10px;border-radius:12px;background:#234333;color:#fff7de;font-size:16px;font-weight:700;text-decoration:none}
#z-share .zs-save:not([hidden])+.zs-back{background:#f3f0e5;border:1px solid #c2c8b8;color:#2f4b3d}
#z-share .zs-save:focus-visible,#z-share .zs-back:focus-visible{outline:3px solid #a05e1e;outline-offset:2px}
#z-share .zs-preview{-webkit-touch-callout:default;user-select:auto}
@media(min-height:680px){#z-share:not([data-received="true"]) .zs-preview{height:clamp(158px,27dvh,222px);max-width:54%}}

.z-next-game{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;min-height:58px;margin:8px 0;padding:6px 12px 6px 6px;border:1px solid #839780;border-radius:12px;background:#1f3b32;color:#fff4d4;text-align:start;text-decoration:none;touch-action:manipulation}
.z-next-game img{display:block;flex:none;width:60px;height:48px;object-fit:cover;border-radius:7px}
.z-next-game span{display:grid;min-width:0;flex:1;gap:2px}
.z-next-game small{color:#c7d8c9;font:600 12px/1.3 system-ui,sans-serif}
.z-next-game strong{color:#fff3d9;font:700 17px/1.24 system-ui,sans-serif;overflow-wrap:anywhere}
.z-next-game b{color:#ebcb87;font:600 21px/1 system-ui}
.z-next-game:hover{background:#2b483d}.z-next-game:focus-visible{outline:3px solid #bc813e;outline-offset:2px}
html[lang^=zh] .z-next-game[data-locale=en],html:not([lang^=zh]) .z-next-game[data-locale=zh]{display:none}
