.col1 { flex: 0.1; }
.col2 { flex: 0.2; }
.col3 { flex: 0.3; }
.col4 { flex: 0.4; }
.col5 { flex: 0.5; }
.col6 { flex: 0.6; }
.col7 { flex: 0.7; }
.col8 { flex: 0.8; }
.col9 { flex: 0.9; }
.w1 { width: 10%;}
.w2 { width: 20%;}
.w3 { width: 30%;}
.w4 { width: 40%;}
.w5 { width: 50%;}
.w6 { width: 60%;}
.w7 { width: 70%;}
.w8 { width: 80%;}
.w9 { width: 90%;}
body {
    background-color: #f0f0f0;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}
p { margin: 0.2rem; }
@media screen and (max-width: 400px) {
    :root { font-size: 12px;}
}
@media screen and (min-width: 401px) {
    :root { font-size: 14px;}
}
.emoji {
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
.center {
    text-align: center;
}
.name {
    padding: 0 0.5rem;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin: auto;
    color: purple;
}
.row {
    display: flex;
    flex-direction: row;
}

#content {
    margin: 0 auto;
    min-width: 350px;
    max-width: 720px;
    padding: 0 0;
    text-wrap: nowrap;
    font-family: sans-serif;
}

#media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0.5rem auto;
    max-width: 720px;
}

.heart-box {
    position: relative;
}
.heart-box::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-size: 100px 100px;
    background-repeat: space;
}
.caption {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.text {
    margin: 10px 10px;
    border-radius: 0.5rem;
    border: 2px solid orange;
    padding: 0.5rem 0.5rem;
    text-align: left;
    box-shadow: 0.2rem 0.2rem 0.2rem #888888;
}
.text.feature {
    border-color: violet;
    background-color: lavender;
}
.text.service {
    border-color: orange;
    background-color: blanchedalmond;
}
.text.fee {
    border-color: blue;
    background-color: lightskyblue;
    table {
        width: 100%;
        border-collapse: collapse;
        text-align: center;
        th {
            background-color: #4f4ffb;
            color: white;
        }    
        tbody tr:nth-child(odd) {
            background-color: #79aaff;
        }
    }
}
.text.note {
    border-color: darkgreen;
    background-color: lightgreen;
}
.text.alert {
    border-color: crimson;
    background-color: lightpink;
}
.list {
    text-align: center;
    i {
        font-style: normal;
        margin: 0 0.3rem;
        display: inline-block;
    }
}
.service-list {
}
.feature-list {
}
.taboo-list {
    i::before {
        font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
        content: "🈲";
    }
}
.stop-list {
    i::before {
        font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
        content: "🚫";
    }
}
.status {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    .status-text {
        margin: 4rem auto 0 auto;
    }
}
.unlock {
    margin: 8rem auto 0 auto;
    text-align: center;

    font-size: 2rem;
    display: none;
    #password {
        padding: 0.8rem;
        margin: 0.2rem;
        border-radius: 0.5rem;
        border: 2px solid crimson;
        font-size: 1.5rem;
        text-align: justify;
        letter-spacing: 0.2rem;
    };
    #password:focus {
        border-color: crimson;
        box-shadow: 0 0 0.2rem rgba(220, 20, 60, 0.8);
    };
    button {
        padding: 0.7rem 1.25rem;
        margin: 0.2rem;
        border-radius: 0.5rem;
        border: 2px solid crimson;
        background-color: violet;
        color: white;
        font-size: 1.5rem;
    };
    .prompt {
        font-size: 1rem;
        color: #888;
    };
    .prompt.error {
        color: lightcoral;
    };
}
.wx-alert {
    display: none;
    .wx-hint {
        font-size: 1.2rem;
        text-align: right;
        margin-top: 0;
        margin-right: 1.5rem;
    };
    .wx-menu {
        background-color: #333;
        color: white;
    };
}

img.qrcode {
    width: 300px;
    border-radius: 30px;
}

.avatar {
    display: inline-block;
    width: 8rem;
    height: 8rem;
    background-image: url('media/avatar.webp');
    background-size: 8rem 8rem;
    background-repeat: no-repeat;
    background-position: top left;    
}

.main {
    text-align: center;
    font-size: 1.5rem;

    .header {
        background-color: lightyellow;
    }
    .name {
        font-size: 3rem;
    }

    a {
        color: #007bff;
    }

    p {
        margin: 1rem 0;
    }
}

i.wechat-icon {
    background-image: url('media/wechat-logo.svg');
    background-size: 1.5rem 1.5rem;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    color: #7bb32e;
}

i.yuni-icon {
    background-image: url('media/yuni-logo.webp');
    background-size: 1.5rem 1.5rem;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    color: #7bb32e;
}

i.tg-icon {
    background-image: url('media/tg-logo.svg');
    background-size: 1.5rem 1.5rem;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    color: #7bb32e;
}