/* ===== Global ===== */

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, sans-serif;
    background: #e7e7e7;
}

/* ===== Header Top / Logo  ===== */

.logo-wrapper {
    padding-top: 0;
    margin-top: -30px;
    margin-bottom: 0px;
    background: transparent;
    text-align: center;
}

.domain-warning-title {
    display: inline-block;
    margin-top: 4px;
    font-weight: 600;
}

.domain-warning-text {
    display: block;
    margin-top: 4px;
    line-height: 1.4;
    font-size: 0.95rem;
}

.domain-warning-link {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
}

.domain-warning-link a {
    font-weight: 600;
    text-decoration: none;
}

.domain-warning-link a:hover {
    text-decoration: underline;
}

.online_status {
    font-weight: 600;
}

.online_status.online {
    color: #22c55e;
}

.online_status.online::after {
    content: " ●";
    color: #22c55e;
    font-size: 12px;
    margin-left: 4px;
}

.online_status.offline {
    color: #dc2626;
}

.online_status.offline::after {
    content: " ●";
    color: #dc2626;
    font-size: 12px;
    margin-left: 4px;
}

.online_status.tor-error {
    color: #dc2626;
}

.online_status.tor-error::after {
    content: " ●";
    color: #dc2626;
    font-size: 12px;
    margin-left: 4px;
}

.logo-jerry {
    display: block;
    margin-left: 10px;
    margin-right: auto;
    width: auto;
    max-width: 200px;
    height: auto;
    background: transparent;
}

.logo-gold-line {
    width: 100%;
    height: 4px;
    background-color: #e6b358;
    margin-top: -22.5px;
}

a:hover {
    text-decoration: underline;
}

.mirror {
    padding: 10px 0 10px;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Logo ===== */

.mirror_logo {
    padding-top: 0px;
    text-align: center;
}

/* ===== Row 1 – 4 cards ===== */

.mirror_row1 {
    margin-top: -1px;
}

.mirror_row1_items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.mirror_row1_item {
    flex: 1;
    background: #ffffff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    position: relative;
}

.mirror_row1_item_title {
    font-size: 14px;
    line-height: 22px;
    color: #333;
}

.mirror_row1_item_desc {
    margin-top: 6px;
    font-size: 13px;
    color: #ffffff;
    background: #00a7b5;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 8px;
}

.mirror_row1_item_numb {
    position: absolute;
    bottom: 14px;
    right: 18px;
    color: #b5b5b5;
    font-weight: bold;
    font-size: 15px;
}

/* ===== Row 2 – White box ===== */

.mirror_row2 {
    margin-top: 35px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 30px 25px;
}

.mirror_row2_title {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}

.mirror_row2_subtitle {
    margin-top: 6px;
    font-size: 13px;
    color: #6c6c6c;
    text-align: left;
}

/* ===== Domain Table ===== */

.mirror_row2_items {
    margin-top: 20px;
}

/* 表头 */

.mirror_row2_header {
    display: flex;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 15px;
    color: #333;
}

.mirror_row2_item {
    display: flex;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #f2f2f2;
    border-radius: 14px;
    align-items: center;
}

.mirror_row2_col {
    flex: 1;
    font-size: 15px;
    color: #333;
    text-align: left;
}

.mirror_row2_header .mirror_row2_col:nth-child(1),
.mirror_row2_item .mirror_row2_col:nth-child(1) {
    flex: 2;
}

.mirror_row2_header .mirror_row2_col:nth-child(2),
.mirror_row2_item .mirror_row2_col:nth-child(2) {
    flex: 1;
    min-width: 120px;
}

.mirror_row2_header .mirror_row2_col:nth-child(3),
.mirror_row2_item .mirror_row2_col:nth-child(3) {
    flex: 3;
    word-break: break-all;
}

/* ===== Row 3 ===== */

.mirror_row3 {
    margin-top: 30px;
}

.mirror_row3_items {
    display: flex;
    gap: 20px;
}

.mirror_row3_left {
    flex: 2;
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mirror_row3_left_title {
    font-size: 18px;
    font-weight: bold;
}

.mirror_row3_left_content {
    font-size: 14px;
    margin-top: 12px;
    line-height: 22px;
    color: #444;
}

.mirror_row3_right {
    flex: 1;
    background: linear-gradient(140deg, #00a9bd, #008e8f);
    padding: 25px;
    border-radius: 20px;
    color: white;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.4em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ===== Footer ===== */

footer {
    margin-top: 35px;
    padding-bottom: 35px;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* ========================= */

/*       （<= 992px）    */

/* ========================= */

@media (max-width: 992px) {
    .wrapper {
        width: 94%;
    }
    .logo_video {
        width: 70%;
        max-width: 420px;
        min-width: 0;
    }
    .mirror_row1_items {
        gap: 16px;
    }
    .mirror_row1_item {
        padding: 20px;
    }
    .mirror_row2 {
        padding: 24px 18px;
    }
    .mirror_row3_left,
    .mirror_row3_right {
        padding: 20px;
    }
}

/* ========================= */

/*       （<= 768px）    */

/* ========================= */

@media (max-width: 768px) {
    .wrapper {
        width: 94%;
    }
    .mirror {
        padding-top: 10px;
    }
    .logo_video {
        width: 80%;
        max-width: 360px;
    }
    /* Row1 卡片改为一列 */
    .mirror_row1_items {
        flex-direction: column;
    }
    .mirror_row1_item {
        padding: 18px;
    }
    .mirror_row1_item_title {
        font-size: 13px;
        line-height: 20px;
    }
    .mirror_row1_item_numb {
        font-size: 13px;
        bottom: 10px;
        right: 14px;
    }
    .mirror_row2 {
        padding: 20px 15px;
        border-radius: 16px;
    }
    .mirror_row2_title {
        font-size: 18px;
    }
    .mirror_row2_subtitle {
        font-size: 12px;
    }
    .mirror_row2_header,
    .mirror_row2_item {
        padding: 10px 12px;
    }
    .mirror_row2_header .mirror_row2_col,
    .mirror_row2_item .mirror_row2_col {
        font-size: 13px;
    }
    .mirror_row2_header .mirror_row2_col:nth-child(2),
    .mirror_row2_item .mirror_row2_col:nth-child(2) {
        min-width: 90px;
    }
    .mirror_row3_items {
        flex-direction: column;
    }
    .mirror_row3_left {
        padding: 18px;
    }
    .mirror_row3_left_title {
        font-size: 16px;
    }
    .mirror_row3_left_content {
        font-size: 13px;
        line-height: 20px;
    }
    .mirror_row3_right {
        font-size: 16px;
        padding: 18px;
    }
    footer {
        font-size: 12px;
    }
}

/* ========================= */

/*    （<= 480px）     */

/* ========================= */

@media (max-width: 540px) {
    .wrapper {
        width: 96%;
    }
    .logo_video {
        width: 100%;
        max-width: 320px;
    }
    .mirror_row1_item {
        padding: 16px;
        border-radius: 14px;
    }
    .mirror_row2_header {
        display: none;
    }
    .mirror_row2_item {
        display: block;
        padding: 14px 14px;
        margin-bottom: 14px;
        border-radius: 14px;
    }
    /* Name */
    .mirror_row2_item .mirror_row2_col:nth-child(1) {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
    }
    /* Status */
    .mirror_row2_item .mirror_row2_col:nth-child(2) {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .mirror_row2_item .mirror_row2_col:nth-child(3) {
        font-size: 13px;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    .mirror_row3_left {
        padding: 15px;
    }
    .mirror_row3_right {
        padding: 16px;
        font-size: 15px;
    }
    footer {
        padding-bottom: 20px;
    }
}