#stickerMatch{box-sizing:border-box;width:min(96vw,470px);max-height:98dvh;overflow:auto;padding:10px;background:#f5ecd4;color:#274435;border:2px solid #b49b69;border-radius:17px}#stickerMatch::backdrop{background:#132b21d9}#stickerMatch header,#stickerMatch footer{display:flex;align-items:center;justify-content:space-between;gap:8px}#stickerMatch h2{font: bold 22px Georgia;margin:0}#stickerMatch button{background:#365a40;color:#fff1d1;border:1px solid #947e58;border-radius:8px;padding:6px}#stickerMatch .sm-board{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin:6px auto;width:min(100%,max(190px,calc(95dvh - 120px)))}#stickerMatch [hidden]{display:none!important}#stickerMatch [data-cell]{display:grid;place-items:center;aspect-ratio:1;min-width:0;min-height:0;padding:2px;touch-action:none}#stickerMatch [data-cell] img{width:100%;height:100%;object-fit:contain;pointer-events:none}#stickerMatch [aria-pressed=true],#stickerMatch .hint{outline:3px solid #fff;box-shadow:inset 0 0 0 3px #274835;z-index:1}#stickerMatch .matched{opacity:.4;transform:scale(.82)}#stickerMatch output,.sm-stats{font:600 13px system-ui}#stickerMatch .sm-stats{margin-top:4px}@media(max-height:320px) and (min-aspect-ratio:1){#stickerMatch:has(.sm-board:not([hidden])){display:grid;grid-template-columns:1fr auto;align-items:start;gap:3px}#stickerMatch .sm-board{grid-column:2;grid-row:1/5;width:min(54vw,90dvh);margin:0}#stickerMatch footer{flex-wrap:wrap}#stickerMatch header{flex-wrap:wrap}}

#stickerMatch{background:linear-gradient(125deg,#fff8e9,#f1dfb9);border:3px solid #997349;box-shadow:inset 0 0 0 2px #fff7db,0 12px 42px #11251999}
#stickerMatch header{position:static;inset:auto;height:auto;min-height:0;margin:0;padding:5px 9px;display:flex;flex-flow:row nowrap;justify-content:flex-start;background:#294b3b;border-radius:9px;color:#fff3d7}
#stickerMatch header .sm-emblem{width:43px;height:32px;object-fit:contain}
#stickerMatch header h2{position:static;display:block;color:#fff3d7;font:700 clamp(16px,4vw,23px) Georgia;margin:0 auto 0 2px}
#stickerMatch .sm-stats{padding:4px 5px;color:#4e5237;font-weight:700}
#stickerMatch .sm-board{box-sizing:border-box;padding:5px;background:linear-gradient(135deg,#776348,#473e30);border:2px solid #947649;border-radius:12px;gap:3px}
#stickerMatch .sm-board [data-cell]{border:1px solid #7c705540;border-radius:20%;background-image:linear-gradient(140deg,#fffc,#ffffff08 55%,#77582c25);box-shadow:inset 0 1px 2px #fff9,inset 0 -2px 1px #51442d24}
#stickerMatch [data-cell] img{filter:drop-shadow(0 1px 1px #fff9)}
#stickerMatch footer{padding:3px 2px;color:#374b39}
@media(max-height:320px) and (min-aspect-ratio:1){#stickerMatch header .sm-emblem{display:none}#stickerMatch header{flex-wrap:wrap;padding:3px}}
.tools #bond{position:static;display:inline-flex;align-items:center;align-self:center;white-space:nowrap;padding:4px 7px;border-radius:20px;font-size:11px}
#stickerMatch{border:4px double #a77c38;border-radius:18px;background:#fff0cc url(adventure/match-ground.jpg) center bottom/100% auto no-repeat;padding:7px 8px clamp(18px,4vw,32px);box-shadow:inset 0 0 0 2px #fff8e2,inset 0 0 14px #dcaf66}
#stickerMatch header{position:relative;display:block;box-sizing:border-box;width:100%;height:auto;min-height:0;aspect-ratio:1018/126;padding:0;border:0;border-radius:8px;background:transparent url(adventure/match-header.jpg) center/100% 100% no-repeat}
#stickerMatch header .sm-emblem{display:none}
#stickerMatch header h2{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
#stickerMatch header button[data-exit]{position:absolute;inset:3% 1% 3% auto;width:15%;min-height:0;color:transparent;background:transparent;border:none;margin:0}
#stickerMatch .sm-stats,#stickerMatch output{color:#234126;font:700 clamp(13px,3vw,17px)/1.18 Georgia,serif}
#stickerMatch .sm-stats{padding:6px 4px}
#stickerMatch .sm-board{gap:1px;background:#ebcc91;border:3px double #a87531;border-radius:10px;padding:3px}
#stickerMatch .sm-board [data-cell]{padding:0;border:0;border-radius:12%;overflow:hidden;background:#f5dfa9;box-shadow:none}
#stickerMatch [data-cell] img{width:100%;height:100%;object-fit:fill;filter:none}
#stickerMatch .sm-board :is(.hint,[aria-pressed=true]){outline:3px solid #49703e;outline-offset:-3px}
#stickerMatch footer button{background:linear-gradient(#395932,#183e24);border:3px double #deb164;border-radius:9px;color:#fff1cf;font:bold 16px Georgia,serif}
@media(max-height:320px) and (min-aspect-ratio:1){#stickerMatch header{min-height:32px}#stickerMatch header button[data-exit]{min-width:28px}#stickerMatch{padding-bottom:10px}}
#stickerMatch .sm-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:3px}
#stickerMatch .sm-board button[data-cell]{display:block;box-sizing:border-box;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;aspect-ratio:1;margin:0!important;padding:0!important;justify-self:stretch;align-self:stretch;border-radius:13%;overflow:hidden;background:#f8e9cb!important;border:1px solid #cba46e;box-shadow:0 1px 1px #88653d,inset 0 0 0 1px #fff7dd}
#stickerMatch .sm-board button[data-cell] img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;border-radius:inherit;filter:none!important}

body:not(.cover-screen-active) header .tools{display:grid;grid-template-columns:repeat(3,auto);align-items:center;justify-items:end}body:not(.cover-screen-active) header .tools #bond{grid-column:1/-1;justify-self:end}
