html,
body {
    margin: 0;
    padding: 0;
    background-color: #101614;
    color: #eef4f1;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    min-height: 100vh;
}

body {
    padding: 0 16px 90px 16px;
    box-sizing: border-box;
    max-width: 520px;
    margin: 0 auto;
}

#commsInfoDiv {
    text-align: center;
    color: #cbd7d2;
    font-size: 13px;
    padding: 12px 0 6px 0;
}

.commsPill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd7d2;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1;
    vertical-align: middle;
}

.statusDot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #86d6d1;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(134, 214, 209, 0.6);
}

#commsClientCounts {
    color: #94a29d;
    text-decoration: none;
    margin-left: 8px;
    vertical-align: middle;
}

.backToAppsButton {
    display: inline-block;
    margin-left: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd7d2;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1;
    vertical-align: middle;
    text-decoration: none;
}

.photoHeader {
    text-align: center;
    padding: 14px 0 12px 0;
    border-bottom: 1px solid #24312d;
}

.photoHeaderTitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #86d6d1;
    text-transform: uppercase;
}

.photoHeaderSub {
    font-size: 12px;
    color: #94a29d;
    letter-spacing: 2px;
    margin-top: 4px;
}

.photoPreviewWrap {
    margin: 14px 0 12px 0;
    background-color: #050505;
    border: 1px solid #26342f;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
}

.photoPreview {
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    position: relative;
    background-color: #050505;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.photoPreviewPlaceholder {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -10px;
    text-align: center;
    color: #71807b;
    font-size: 13px;
    font-style: italic;
}

.photoInfo {
    padding: 4px 4px 12px 4px;
}

.photoTitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 8px;
}

.photoAttribution {
    font-size: 13px;
    line-height: 1.4;
    color: #cbd7d2;
    margin-bottom: 12px;
}

.photoAttribution a {
    color: #86d6d1;
    text-decoration: none;
    border-bottom: 1px solid rgba(134, 214, 209, 0.45);
}

.photoDescription {
    font-size: 14px;
    line-height: 1.55;
    color: #d9e1de;
    margin-bottom: 12px;
}

.photoFacts {
    border-top: 1px solid #24312d;
    border-bottom: 1px solid #24312d;
}

.photoFact {
    padding: 10px 0;
    border-top: 1px solid #1a2421;
    overflow: hidden;
}

.photoFact:first-child {
    border-top: none;
}

.photoFactLabel {
    float: left;
    width: 28%;
    color: #94a29d;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.photoFactValue {
    display: block;
    margin-left: 32%;
    color: #eef4f1;
    font-size: 14px;
    line-height: 1.35;
}

.photoControls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
    margin: 14px 0 8px 0;
}

.photoControlsRow {
    text-align: center;
    margin-bottom: 6px;
}

.photoBtn,
.photoLinkBtn {
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 12px;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-transition: background-color 100ms, transform 100ms;
    transition: background-color 100ms, transform 100ms;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.photoBtn {
    border: none;
    color: #fff;
}

.photoBtn:active,
.photoLinkBtn:active {
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.photoBtnPrimary {
    background-color: #23766f;
    color: #fff;
    width: 36%;
}

.photoBtnSecondary {
    background-color: #202d29;
    color: #d9e1de;
    border: 1px solid #334540;
    width: 30%;
}

.photoLinkBtn {
    display: block;
    background-color: transparent;
    color: #86d6d1;
    border: 1px solid #334540;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 400;
    width: 100%;
    text-decoration: none;
    box-shadow: none;
}

#status {
    text-align: center;
    color: #ff8686;
    font-size: 12px;
    min-height: 16px;
    margin-top: 6px;
}

@media (max-width: 360px) {
    body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .photoBtn {
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .backToAppsButton {
        margin-left: 0;
        margin-top: 8px;
    }
}
