/*  - HTML */

/*  */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    margin: 0;
    padding: 10px;
    background: linear-gradient(135deg, #ffeef8 0%, #f8f0ff 50%, #fff0f5 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* 大屏幕宽度限制 */
@media (min-width: 769px) {
    body {
        max-width: 1200px;
        margin: 0 auto;
        background: linear-gradient(135deg, #ffeef8 0%, #f8f0ff 50%, #fff0f5 100%);
    }
    
    #mainbao, #mainbao1 {
        max-width: 1200px;
        margin: 0 auto 20px auto;
    }
    
    .ht {
        max-width: 1200px;
        margin: 20px auto 12px auto;
    }
    
    #list-nav {
        max-width: 1200px;
        margin: 20px auto;
    }
    
    #listmore {
        max-width: 1200px;
        margin: 30px auto;
    }
    
    table {
        max-width: 1200px;
        margin: 15px auto !important;
    }
    
    .f12 {
        max-width: 1200px;
        margin: 20px auto !important;
    }
}

/* м */
#mainbao {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#mainbao a {
    color: #d63384;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
}

#mainbao a:hover {
    background: rgba(214, 51, 132, 0.1);
    color: #b02a5b;
    transform: translateY(-1px);
}

/*  */
h1 {
    text-align: center;
    color: #d63384;
    font-size: 2.5em;
    margin: 30px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #d63384, #fd7e14, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #d63384, #fd7e14);
    border-radius: 2px;
}

/*  */
.ht {
    background: linear-gradient(135deg, #d63384, #fd7e14);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

.ht::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/*  */
table {
    margin: 15px auto !important;
    border-collapse: separate !important;
    border-spacing: 5px !important;
    background: transparent !important;
}

/*  - п */
table[width="104"], table table[width="104"] {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    position: relative !important;
    backdrop-filter: blur(10px) !important;
    width: 120px !important;
    height: 110px !important;
}

table[width="104"]::before, table table[width="104"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: linear-gradient(135deg, #d63384, #fd7e14, #6f42c1) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

table[width="104"]:hover, table table[width="104"]:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(214, 51, 132, 0.2) !important;
}

/*  */
table[width="104"] td, table table[width="104"] td {
    padding: 8px 6px !important;
    text-align: center !important;
    vertical-align: middle !important;
    background: transparent !important;
}

table[width="104"] img, table table[width="104"] img {
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    max-width: 80px !important;
    max-height: 80px !important;
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    filter: brightness(1.1) contrast(1.1) !important;
    margin-bottom: 0px !important;
    display: block !important;
}

table[width="104"] img:hover, table table[width="104"] img:hover {
    transform: scale(1.1) !important;
    filter: brightness(1.2) contrast(1.2) saturate(1.2) !important;
}

table[width="104"] a, table table[width="104"] a {
    color: #d63384 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: block !important;
    margin-top: 0px !important;
    font-size: 0.9em !important;
}

table[width="104"] a:hover, table table[width="104"] a:hover {
    color: #b02a5b !important;
    transform: translateY(-2px) !important;
}

/*  */
#listmore {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin: 30px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#listmore li {
    list-style: none !important;
}

#listmore a {
    background: linear-gradient(135deg, #d63384, #fd7e14) !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3) !important;
    display: inline-block !important;
}

#listmore a:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(214, 51, 132, 0.4) !important;
    background: linear-gradient(135deg, #b02a5b, #e8590c) !important;
}

/*  */
.f12 {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 20px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    margin: 20px auto !important;
    max-width: 400px !important;
    text-align: center !important;
    backdrop-filter: blur(10px) !important;
}

.f12 a {
    color: #d63384 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 3px 8px !important;
    border-radius: 10px !important;
}

.f12 a:hover {
    background: rgba(214, 51, 132, 0.1) !important;
    color: #b02a5b !important;
}

/* 水 */
strong {
    background: linear-gradient(135deg, #6f42c1, #d63384) !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 20px 0 !important;
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.3) !important;
    transition: all 0.3s ease !important;
    font-weight: bold !important;
}

strong:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.4) !important;
}

/*  */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    table {
        width: 100% !important;
    }
    
    .ht {
        font-size: 1em;
        padding: 12px 20px;
    }
    
    #listmore {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* Щ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(214, 51, 132, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(253, 126, 20, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(111, 66, 193, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/*  */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d63384, #fd7e14);
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b02a5b, #e8590c);
}

/* i.html  */
#list-nav {
    margin: 20px 0 !important;
}

#list-nav ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#list-nav li {
    list-style: none !important;
    margin: 0 !important;
}

#list-nav a {
    display: block !important;
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%) !important;
    color: #333 !important;
    text-decoration: none !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 152, 0, 0.3) !important;
}

#list-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#list-nav a:hover::before {
    left: 100%;
}

#list-nav a:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2) !important;
    background: linear-gradient(135deg, #ffe0b2 0%, #f8bbd9 100%) !important;
    border-color: rgba(255, 152, 0, 0.6) !important;
}

/*  - 汾 */
table[width="248"] {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    padding: 10px !important;
    margin: 20px auto !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

table[width="248"] input[type="text"] {
    border: none !important;
    background: transparent !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
    outline: none !important;
    width: 100% !important;
    border-radius: 6px !important;
}

table[width="248"] input[type="image"] {
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

table[width="248"] input[type="image"]:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

/*  - 汾 */
.ht {
    background: linear-gradient(135deg, #fff8e1, #f3e5f5) !important;
    color: #333 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    margin: 20px auto 12px auto !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    max-width: 300px !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 152, 0, 0.3) !important;
}

.ht a {
    color: #333 !important;
    text-decoration: none !important;
}

.ht a:hover {
    color: #666 !important;
}

/*  - 3.html */
#mainbao1 {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 20px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#mainbao1 a {
    color: #d63384 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 5px 10px !important;
    border-radius: 15px !important;
}

#mainbao1 a:hover {
    background: rgba(214, 51, 132, 0.1) !important;
    color: #b02a5b !important;
    transform: translateY(-1px) !important;
}

/*  -  */
div[style*="background-color:f8f8f8"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
    border-radius: 15px !important;
    padding: 20px !important;
    margin: 15px 0 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

div[style*="background-color:f8f8f8"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Logo -  */
div[style*="float:left"]:has(img[alt=""]) {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px !important;
    padding: 15px !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 15px !important;
    float: none !important;
    display: inline-block !important;
}

div[style*="float:left"]:has(img[alt=""]):hover {
    transform: scale(1.05) !important;
    background: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Logo -  */
div[style*="float:left"] img {
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    filter: brightness(1.1) contrast(1.1) !important;
    width: 120px !important;
    height: 90px !important;
    object-fit: contain !important;
}

div[style*="float:left"] img:hover {
    transform: scale(1.1) !important;
    filter: brightness(1.2) contrast(1.2) saturate(1.2) !important;
}

/*  -  */
div[style*="float:left;margin:15px 0 0 10px"] {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 15px !important;
    padding: 15px !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    float: none !important;
    text-align: center !important;
}

div[style*="float:left;margin:15px 0 0 10px"]:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/*  -  */
#pph1 {
    font-size: 2.2em !important;
    font-weight: bold !important;
    color: white !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 10px !important;
    position: relative !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/*  -  */
#pph1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
    border-radius: 2px;
}

/*  -  */
div[style*="margin:5px 0 0 0"] {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1em !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px !important;
    font-style: italic !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 !important;
}

/*  -  */
.ht:has(strong:contains("")),
.ht:has(strong:contains("")),
.ht:has(strong:contains("")) {
    background: linear-gradient(135deg, #fff8e1, #f3e5f5) !important;
    color: #333 !important;
    padding: 12px 15px !important;
    border-radius: 0px !important;
    text-align: left !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    margin: 15px 0 10px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    max-width: none !important;
    position: relative !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 152, 0, 0.3) !important;
}

.ht:has(strong:contains(""))::before,
.ht:has(strong:contains(""))::before,
.ht:has(strong:contains(""))::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.ht:has(strong:contains("")) strong,
.ht:has(strong:contains("")) strong,
.ht:has(strong:contains("")) strong {
    color: #333 !important;
    margin-left: 15px !important;
}

/*  */
#intro1 {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    margin: 15px 0 !important;
    line-height: 1.6 !important;
    backdrop-filter: blur(10px) !important;
}

/*  */
#intro1 p {
    margin: 12px 0 !important;
    text-align: left !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/*  */
div:has(.ht:contains("")) {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    margin: 15px 0 !important;
    backdrop-filter: blur(10px) !important;
}

/*  */
div:has(.ht:contains("")) p {
    margin: 6px 0 !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid rgba(214, 51, 132, 0.1) !important;
    color: #555 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* 淢 */
div:has(strong:contains("")) {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 12px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    margin: 12px 0 !important;
    backdrop-filter: blur(10px) !important;
    font-size: 14px !important;
}

/* б */
ul#listmore {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
}

ul#listmore li {
    list-style: none !important;
    margin: 0 !important;
}

/*  */
ul#listmore a {
    display: block !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 15px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
}

ul#listmore a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

ul#listmore a:hover::before {
    left: 100%;
}

ul#listmore a:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

ul#listmore b {
    font-weight: bold !important;
    font-size: 1.1em !important;
}

/*  */
@media (max-width: 768px) {
    #list-nav ul {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 10px !important;
    }
    
    #list-nav a {
        padding: 10px 15px !important;
        font-size: 14px !important;
    }
    
    .ht {
        font-size: 1em !important;
        padding: 12px 20px !important;
    }
    
    #pph1 {
        font-size: 1.5em !important;
    }
    
    ul#listmore {
        grid-template-columns: 1fr !important;
    }
}

/*  */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

table table {
    animation: fadeInUp 0.6s ease forwards !important;
}

table table:nth-child(even) {
    animation-delay: 0.1s !important;
}

table table:nth-child(odd) {
    animation-delay: 0.2s !important;
}
