body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-family: var(--ios6-font);
    background: #cbd2d8;
    background-image: -webkit-repeating-linear-gradient(left, #cbd2d8 0, #cbd2d8 5px, #c5ccd4 5px, #c5ccd4 7px);
    background-image: repeating-linear-gradient(to right, #cbd2d8 0, #cbd2d8 5px, #c5ccd4 5px, #c5ccd4 7px);
    background-attachment: fixed;
    color: #30343a;
    color: var(--ios6-text);
    font-size: 15px;
    line-height: 1.45;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    position: relative;
    padding: 32px 0 27px;
    margin-bottom: 25px;
    text-align: center;
    border-top: 1px solid #c1cddd;
    border-bottom: 1px solid #354c6d;
    border-radius: 0;
    background: #6e86a6;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #b0bed0), color-stop(0.49, #8298b5), color-stop(0.5, #7089aa), color-stop(1, #536e94));
    background-image: linear-gradient(to bottom, #b0bed0 0%, #8298b5 49%, #7089aa 50%, #536e94 100%);
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.18);
    box-shadow: 0 2px 5px rgba(0,0,0,0.18);
}

.hero-section:before {
    content: none;
    display: block;
    height: 5px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: #c84b37;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#df735e), to(#b23d2b));
    background-image: -webkit-linear-gradient(top, #df735e, #b23d2b);
    background-image: -moz-linear-gradient(top, #df735e, #b23d2b);
    background-image: linear-gradient(to bottom, #df735e, #b23d2b);
}

.hero-section h1 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 -1px 1px #374b66;
}

.hero-section p {
    margin: 8px 0 0;
    color: #edf2f9;
    font-size: 14px;
    text-shadow: 0 -1px 0 #536985;
}

.repo-description {
    padding: 16px 22px;
    margin: 0 0 18px;
    text-align: center;
}

.repo-description p { margin: 0; line-height: 1.5; }

.add-repo-section {
    padding: 24px;
    margin-bottom: 30px;
}

h2, .installation-steps h3 {
    color: #30343a;
    text-shadow: 0 1px 0 #fff;
}

.add-repo-section h2 {
    font-size: 22px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c9c9c7;
}

.repo-cards { margin: 15px -8px 0; }
.repo-card {
    display: inline-block;
    vertical-align: top;
    width: 97%;
    margin: 0 1% 12px;
    padding: 15px;
    background: #fffefa;
    background-image: none;
    border-color: #b7b7b4;
    box-shadow: inset 0 1px 0 #fff;
}

.repo-card h3 { margin: 0 0 10px; font-size: 16px; }

.url-container {
    display: block;
    overflow: hidden;
    padding: 7px;
    background: #e6e6e4;
    border: 1px solid #c4c4c1;
    border-radius: 4px;
}

.url-container code {
    display: inline-block;
    max-width: 80%;
    vertical-align: middle;
    color: #365b86;
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: bold;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.copy-btn {
    float: right;
    min-width: 38px;
    min-height: 34px;
    padding: 5px 8px;
    background: #d8d8d8;
}

.copy-btn img { width: 17px; height: 17px; vertical-align: middle; }
.copy-btn:after { content: ""; display: block; clear: both; }

.installation-steps { margin-top: 25px; }
.installation-steps h3 { margin: 0 0 14px; font-size: 18px; }
.steps-container { margin: 0 -7px; }

.step-card {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 22.5%;
    min-height: 118px;
    margin: 10px 1%;
    padding: 17px 12px 12px;
    text-align: center;
    background: #fffefa;
    background-image: none;
    border-color: #b7b7b4;
    box-shadow: inset 0 1px 0 #fff;
}

.step-card p { margin: 6px 0; font-size: 13px; }
.step-number {
    position: absolute;
    top: -9px;
    left: -8px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    background: #c84b37;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#db705d), to(#b33f2d));
    background-image: -webkit-linear-gradient(top, #db705d, #b33f2d);
    background-image: -moz-linear-gradient(top, #db705d, #b33f2d);
    background-image: linear-gradient(to bottom, #db705d, #b33f2d);
    border: 1px solid #963729;
    border-radius: 12px;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}

.step-icon { display: block; width: 38px; height: 38px; object-fit: contain; margin: 5px auto 0; }

.takedown-notice {
    margin-top: 18px;
    padding: 15px 18px;
    border-left: 4px solid #c84b37;
    background: #f5e9e5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fbf4f1), to(#f0dfda));
    background-image: -webkit-linear-gradient(top, #fbf4f1, #f0dfda);
    background-image: -moz-linear-gradient(top, #fbf4f1, #f0dfda);
    background-image: linear-gradient(to bottom, #fbf4f1, #f0dfda);
}

.takedown-notice h4 { margin: 0 0 6px; color: #77382e; font-size: 15px; }
.takedown-notice p { margin: 0; font-size: 13px; line-height: 1.5; }
.takedown-notice .email { color: #a83d2e; font-weight: bold; }

.search-container {
    position: relative;
    max-width: 560px;
    margin: 0 auto 18px;
    padding: 8px;
    background: #d0d0ce;
    border: 1px solid #898987;
    border-radius: 8px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.55);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.55);
}

.search-container input {
    display: block;
    width: 100%;
    height: 38px;
    padding: 8px 38px 8px 12px;
    font-size: 15px;
}

.search-icon {
    position: absolute;
    right: 19px;
    top: 18px;
    width: 18px;
    height: 18px;
}

.tweaks-grid { margin: 0 -9px; }
.tweak-card {
    display: inline-block;
    vertical-align: top;
    width: 47%;
    margin: 9px 1%;
    padding: 18px;
    background: #f7f7f4;
}

.tweak-card h3 {
    margin: 0 0 5px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d1d1ce;
    color: #34383d;
    font-size: 19px;
    text-shadow: 0 1px 0 #fff;
}

.tweak-card > p { margin: 7px 0 10px; color: #5c6065; font-size: 13px; }
.author-info { margin: 9px 0; font-size: 12px; }
.author-name { color: #6a6c6e; }
.compatibility-info {
    margin: 12px 0;
    padding: 11px;
    background: #e9e9e6;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    margin-bottom: 8px;
    border: 1px solid #508b48;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0 -1px rgba(0,0,0,0.25);
}

.status-badge.stable {
    background: #68a75f;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#8bc17f), to(#57934e));
    background-image: -webkit-linear-gradient(top, #8bc17f, #57934e);
    background-image: -moz-linear-gradient(top, #8bc17f, #57934e);
    background-image: linear-gradient(to bottom, #8bc17f, #57934e);
}

.status-badge.beta {
    background: #d38736;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e7aa60), to(#c67828));
    background-image: -webkit-linear-gradient(top, #e7aa60, #c67828);
    background-image: -moz-linear-gradient(top, #e7aa60, #c67828);
    background-image: linear-gradient(to bottom, #e7aa60, #c67828);
}

.compatibility-details { font-size: 12px; }
.compatibility-details > div { margin-bottom: 7px; }
.compatibility-details strong { display: inline-block; margin-right: 4px; }
.version-tag, .device-tag {
    display: inline-block;
    padding: 2px 6px;
    margin: 2px 1px;
    color: #42464a;
    background: #f8f8f6;
    border: 1px solid #bcbcb8;
    border-radius: 3px;
    font-size: 11px;
    white-space: nowrap;
}
.compatibility-notes { color: #606367; font-style: italic; }
.tweak-meta { margin-top: 10px; text-align: right; font-size: 11px; }
.category {
    display: inline-block;
    padding: 3px 8px;
    color: #7a3b31;
    background: #eee2de;
    border: 1px solid #d0b7b0;
    border-radius: 10px;
}

@media (max-width: 700px) {
    .container { padding: 0 13px; }
    .hero-section { padding: 28px 0 23px; }
    .hero-section h1 { font-size: 31px; }
    .repo-card { width: 97%; margin-left: 1%; }
    .step-card { width: 46%; margin: 10px 1.5%; }
    .tweak-card { width: 97%; margin-left: 1%; }
    .add-repo-section { padding: 17px; }
    .compatibility-details { font-size: 12px; }
}

@media (max-width: 360px) {
    .container { padding: 0 9px; }
    .hero-section h1 { font-size: 28px; }
    .add-repo-section { padding: 13px; }
    .repo-card, .tweak-card { padding: 13px; }
    .step-card { width: 96%; }
    .url-container code { max-width: 76%; font-size: 12px; }
    .takedown-notice { padding: 12px; }
}
