*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;color:#203e38;background:#f9faf7;font:17px/1.5 Arial,sans-serif}
button,a,input{font:inherit}
button{border:1px solid #aebdb2;border-radius:24px;padding:9px 17px;background:#fff;color:#173c33;cursor:pointer;min-height:44px}
button:disabled{opacity:.55;cursor:default}
button:hover{background:#eaf2e6}
button:focus,a:focus,input:focus{outline:4px solid #d38a36;outline-offset:2px}
.shell{max-width:1180px;margin:auto;padding:0 28px}
header{background:#fff;border-bottom:1px solid #d9e0d9}
.bar,.sectionhead,.vbar{display:flex;align-items:center;justify-content:space-between}
.bar{min-height:76px}
nav button,.actions button,.vcontrols button{margin:3px}
.brand{font-size:22px;font-weight:bold;color:#203e38;text-decoration:none}
.brand i{background:#23483c;padding:2px 8px;color:#fcf7e8;border-radius:8px;font-style:normal}
.intro{position:relative;overflow:hidden;margin:32px 0 25px;background:#e3ecd9;border-radius:24px;padding:42px 5%;min-height:218px}
.intro>div:last-child{position:relative;max-width:72%}
h1{font-size:48px;line-height:1.12;letter-spacing:-2px;margin:0}
h2{font-size:25px;letter-spacing:-.6px;margin:0}
.intro p{margin:12px 0 18px}
.primary{background:#23483c;color:white;border-color:#23483c}
.primary:hover{background:#315b4c}
.sheets{position:absolute;left:8%;top:25%;width:125px;height:106px;transform:rotate(-7deg)}
.sheets i,.sheets b{position:absolute;width:100%;height:100%;border:7px solid #fff;border-bottom-width:18px;border-radius:3px;background:#b4c1ab;box-shadow:0 5px 14px #9fad9f}
.sheets i{transform:rotate(17deg) translate(11px,-5px);background:#d4b393}
.sheets b{background:radial-gradient(circle at 72% 26%,#f9de9d 0%,#f9de9d 9%,transparent 10%),linear-gradient(153deg,transparent 54%,#688c75 55%,#688c75 70%,#456452 71%),#bad5c2}
.sectionhead{border-bottom:1px solid #c6d2c7;padding-bottom:12px}
#status{color:#40574d}
.grid{display:flex;flex-wrap:wrap;margin:0 -6px}
.tile{display:block;position:relative;text-align:right;width:calc(25% - 12px);padding:0;margin:6px;overflow:hidden;border:1px solid #c9d4cb;border-radius:12px;background:#fff}
.pic{display:block;position:relative;background:#dce6dd;height:0;padding-top:76%;overflow:hidden}
.pic img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.tile strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:9px 12px;font-size:15px}
#more{display:block;margin:18px auto}
#pair{background:#fff;border:1px solid #bdccbf;padding:24px;border-radius:20px;margin:16px 0}
#code{font: bold 32px monospace;display:block;letter-spacing:5px;margin:10px 0}
input{max-width:155px;padding:8px}
progress{width:100%}
.viewer{position:fixed;z-index:5;inset:0;left:0;top:0;right:0;bottom:0;background:#101815;color:white;display:flex;flex-direction:column;padding:14px}
.vbar strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 12px}
.vcontrols{text-align:center}
.viewer button{background:#253b32;color:#fff}
.viewer button:hover{background:#365043}
#stage{position:relative;flex:1;min-height:0;text-align:center;margin:10px}
#stage img{height:100%;width:100%;object-fit:contain}
#viewerStatus{position:absolute;bottom:0;width:100%;background:#14251e;color:white}
#viewerStatus:empty{display:none}
body.tv .tile{width:calc(25% - 12px)}
body.tv button:focus{outline:6px solid #efab4d}
body.tv .intro{min-height:0;padding:20px 4%}
body.tv .sheets{display:none}
body.tv .intro h1{font-size:34px}
@media(max-width:750px){.tile{width:calc(33.33% - 12px)}
.shell{padding:0 16px}
.sheets{left:6%;width:90px;height:76px}
h1{font-size:36px}
}
@media(max-width:540px){.tile{width:calc(50% - 12px)}
.bar{min-height:65px}
.brand{font-size:18px}
.brand i{display:none}
nav button{font-size:14px;padding:7px 10px}
.intro{margin:18px 0;padding:24px 18px}
.sheets{width:63px;height:52px;left:22px;top:26px}
.intro>div:last-child{max-width:100%}
.intro p{max-width:76%}
.vcontrols button{font-size:14px;padding:7px 10px}
.actions button{margin-right:0}
}

