html {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: Helvetica, Arial, sans-serif;
    background-color: #cbd2d8;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVR4nGP4//9/A8P///8ZACPpBnu+jlmKAAAAAElFTkSuQmCC);
    background-repeat: repeat;
}

.navbar {
    position: relative;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffb347), color-stop(0.5, #ff920a), color-stop(0.51, #f08300), to(#e67e00));
    border-bottom: 1px solid #c96500;
    height: 44px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.back-button {
    position: absolute;
    left: 30px;
    top: 7px;
    display: inline-block;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
}

.back-button-body {
    position: relative;
    display: inline-block;
    height: 29px;
    line-height: 29px;
    padding: 0 12px 0 6px;
    background: #f6910c;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcd7a), to(#f6910c));
    border: 1px solid #c96500;
    border-left: none;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.back-button-pointer-wrap {
    position: absolute;
    left: -16px;
    top: 0;
    width: 16px;
    height: 31px;
    overflow: hidden;
}

.back-button-pointer {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 21px;
    height: 21px;
    background: #f6910c;
    background-image: -webkit-gradient(linear, left top, right bottom, from(#ffcd7a), to(#f6910c));
    border: 1px solid #c96500;
    -webkit-transform: rotate(45deg);
    -webkit-border-radius: 2px;
}

.navbar h1 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    line-height: 44px;
    margin: 0;
    padding: 0 15px 0 150px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content {
    padding: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.panel {
    background: white;
    border: 1px solid #abafb5;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.row {
    padding: 14px 20px;
    border-bottom: 1px solid #abafb5;
    overflow: hidden;
}

.row:last-child {
    border-bottom: none;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    float: left;
    margin-right: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.info {
    overflow: hidden;
}

.info h2 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #000;
}

.info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.button {
    display: block;
    text-align: center;
    padding: 12px;
    margin: 15px;
    background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#d8d8d8));
    border: 1px solid #999;
    border-radius: 8px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    box-shadow: inset 0 1px 0 #fff;
}

.button:active {
    background: #ccc;
}

.package-link {
    display: block;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.package-link .row:active {
    background-color: #d9d9d9;
}

.chevron {
    float: right;
    color: #999;
    font-weight: bold;
    font-size: 20px;
    line-height: 60px;
}

.fedi-row {
    text-align: center;
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.fedi-link {
    color: #e55b00;
    text-decoration: none;
    font-weight: bold;
    vertical-align: middle;
}

.fedi-link img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
    border: none;
}

.counter-row {
    text-align: center;
    margin: 6px 0 20px 0;
}

.counter-row img {
    border: none;
}

.compat-yes {
    background-color: #ddf6dd;
    border: 1px solid #a9dba9;
    color: #256125;
}

.compat-no {
    background-color: #fbe0e0;
    border: 1px solid #e0a9a9;
    color: #7a2020;
}

.compat-row {
    text-align: center;
    font-weight: bold;
    padding: 14px 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    word-wrap: break-word;
    -webkit-hyphens: none;
}

.view-all-changes {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    text-decoration: none;
    padding: 6px 20px 10px 20px;
}

.bench-icon {
    display: block;
    margin: 16px auto 0 auto;
    width: 57px;
    height: 57px;
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 3px 8px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.bench-card {
    margin: 18px 12px 18px 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#fbfbfb));
    border: 1px solid #a8adb3;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 1px 1px rgba(0, 0, 0, 0.08);
}

.bench-device-tag {
    display: block;
    text-align: center;
    padding: 7px 12px;
    font-size: 12px;
    color: #6b7076;
    background: -webkit-gradient(linear, left top, left bottom, from(#f4f5f6), to(#e9ebed));
    border-bottom: 1px solid #d3d6da;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bench-chart-wrap {
    padding: 12px 10px 6px 10px;
    text-align: center;
}

.bench-chart-wrap svg {
    width: 100%;
    height: auto;
}

.bench-stat-row {
    display: block;
    text-align: center;
    padding: 4px 0 14px 0;
    color: #6b7076;
    font-size: 12px;
}

.bench-stat-row strong {
    font-size: 20px;
    display: block;
    line-height: 1.3;
}

.bench-stat-row .green {
    color: #3d8b3d;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.bench-stat-row .red {
    color: #c62828;
}

.new-badge {
    background-color: #e64a19;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    vertical-align: middle;
}

.bench-fallback {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #999;
    text-decoration: none;
    padding: 8px 0;
    border-top: 1px solid #abafb5;
}

.bench-note {
    margin: 0;
    padding: 0 14px 10px 14px;
    font-size: 11px;
    color: #999;
    line-height: 1.4;
    text-align: center;
}

.button-small {
    display: inline-block;
    padding: 8px 18px;
    background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#d8d8d8));
    border: 1px solid #999;
    border-radius: 8px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    box-shadow: inset 0 1px 0 #fff;
}

.button-small:active {
    background: #ccc;
}

.screenshot-carousel {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 12px;
    background: #e2e2e2;
}

.screenshot-carousel img {
    display: inline-block;
    height: 280px;
    width: auto;
    margin-right: 10px;
    border-radius: 8px;
    border: 1px solid #999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    vertical-align: top;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.screenshot-carousel img:last-child {
    margin-right: 0;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
    z-index: 100;
}

.lightbox-overlay img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #fff;
    border-radius: 4px;
    -webkit-transform: translate(-50%, -50%);
}