@charset "utf-8";

[lang="en"] { font-family: 'Roboto', sans-serif; }
[lang="zh"] { font-family: 'MiSans', sans-serif; }

body {
    margin: auto;
    padding: 2rem 0;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    background: #f1f1f1;
    font-family: 'Roboto', 'MiSans', sans-serif;
    font-weight: 500;
}

img { width: 100%; }

.com-title { width: clamp(100px, 80%, 380px); }

.wp-logo, .sg-logo, .sg-cn-logo { 
    padding-top: 2.5rem; 
    padding-bottom: .6rem;
}

.com-container {
    width: clamp(320px, 95vw, 1080px);
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: #efeeee;
    border-radius: 8px;
    box-shadow: -4px -4px 12px #fff, 4px 4px 12px #d1cdc7;
}

.smi-container {
    width: 100%;
    max-width: 90%;
    padding: 1rem;
    display: grid;
    gap: .3rem;
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
    justify-content: center;
}

.smi-container a {
    margin: .25rem;
    padding: .5rem .5rem .5rem 1rem;
    display: grid;
    gap: .3rem;
    grid-template-columns:  minmax(73.93px, 20%) 1fr;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: left;
    color: #010101;
    background: #efeeee;
    border-radius: 4px;
    box-shadow: -2px -2px 6px #fff, 2px 2px 6px #d1cdc7;
}

.smi-container.smi-cn-con a { gap: .5rem; }

.smi-container a:active {
    box-shadow: inset -4px -4px 12px #fff, inset 4px 4px 12px #d1cdc7;
}

svg {
    margin: auto;
    width: 100%;
}

/* svg icon style */
.smi-cls-1 { fill: none;}
.smi-cls-2 { fill: #f6f9fb; }
.smi-cls-3 { fill: #010101; }
.smi-cls-4 { fill: #27afe4; }
.smi-cls-5 { fill: #fe354d; }
.smi-cls-6 { fill: #69c9d0; }
.smi-cls-7 { fill: #e6162d; }
.smi-cls-8 { fill: #fcfdfe; }
.smi-cls-9 { fill: #fdfeff; }
.smi-cls-10 { fill: #003c71; }
.smi-cls-11 { fill: #ffffff; }
.smi-cls-12 { fill: #ff9934; }
.smi-cls-13 { fill: #fffefe; }
.smi-cls-14 { fill: #ee1d52; }
.smi-cls-15 { fill: #080808; }
.smi-cls-16 { fill: #2554a2; }
.smi-cls-17 { fill: #fe4a09; }
.smi-cls-18 { fill: #fefefe; }
.smi-cls-19 { fill: #2ec101; }
.smi-cls-20 { fill: url(#insta-gradient); }
.smi-cls-21 { fill: #fefbfb; }
.smi-cls-22 { fill: #ff0b53; }
.smi-cls-23 { fill: #25aee4; }
.smi-cls-24 { fill: #fe403b; }
.smi-cls-25 { fill: #fb9330; }
.smi-cls-26 { fill: #00f0e9; }
.smi-cls-27 { fill: #fef9f9; }
/* svg icon style */

/* shipinghao style */
.sph-popup-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sph-popup-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(40px, 82%, 750px);
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.sph-popup-content::-webkit-scrollbar { display: none; }

.popup-close-btn {
    position: absolute;
    right: 18px;
    top: 18px;
    cursor: pointer;
    font-size: 28px;
    color: #bbbcbc;
    transition: color 0.2s;
}

.popup-close-btn:hover { color: #080808;}

.sph-steps {
    margin-bottom: 1rem;
    color: #333;
}
.sph-popup-content h2 { margin-block-end: .5rem; }

.sph-steps p {
    margin-block-start: .2rem;
    margin-block-end: .2rem;
}

.sph-steps img { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }

.sph-copy-target {
    color: #da291c;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}

.sph-copy-target:hover { background: rgba(218, 41, 28, 0.08); }

.sph-copy-feedback {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #080808;
    border-radius: 25px;
    display: none;
    animation: sphFadeInOut 3s;
    width: max-content;
}

@keyframes sphFadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}
/* shipinghao style */
