body {
    font-family: Arial, sans-serif;
    background-color: #111827;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 24px 16px;
    margin: 0;
}
body.notice-open {
    padding-bottom: 160px;
}
.container {
    max-width: 400px;
    text-align: center;
}
h1 {
    font-size: 3.5rem;
    color: #fbbf24;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8);
    margin-bottom: -2rem;
}
.refresh-text {
    color: #ef4444;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: -1rem;
}
.main-text {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.small-text {
    font-size: 0.9rem;
    margin-bottom: -0.7rem;
    color: #999999;
}
.tiny-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #999999;
}
.button {
    background-color: #D946EF;
    color: white;
    border: none;
    padding: 1rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.25rem;
    cursor: pointer;
    width: 80%;
    margin: -0rem 0;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #6d28d9;
}
.cyan-text {
    color: #22d3ee;
    line-height: 0.8; /* 调整行高 */
}
.link {
    color: #22d3ee;
    text-decoration: none;
}
.link:hover {
    text-decoration: underline;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
#transitionScreen {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: #1f2937;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    max-height: 90vh;
}
#transitionScreen .container {
    padding: 20px;
    box-sizing: border-box;
}
#transitionScreen h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}
#transitionScreen p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}
#transitionScreen .button {
    background-color: #db2777;
    margin-top: 1rem;
}
#transitionScreen .button:hover {
    background-color: #be185d;
}
#transitionScreen .back-button {
    margin-top: 0.75rem;
    border: 1px solid #6b7280;
    background-color: transparent;
    color: #e5e7eb;
}
#transitionScreen .back-button:hover {
    background-color: #374151;
}
#transitionScreen .link {
    font-size: 0.875rem;
    color: #22d3ee;
    display: inline-block;
    margin-top: 0.5rem;
}
#copyFeedback {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
}
.STYLE1 {
    color: #D946EF;
}

.domain-notice {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 1100;
    box-sizing: border-box;
    width: min(520px, calc(100% - 36px));
    padding: 18px 24px 16px;
    border-radius: 9px;
    background: #253044;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
    pointer-events: auto;
    text-align: center;
}
.domain-notice::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #fbbf24;
}
.domain-notice[hidden] {
    display: none;
}
.domain-notice p {
    margin: 0;
    color: #f3f4f6;
    font-size: 15px;
    line-height: 1.45;
}
.domain-notice button {
    display: block;
    min-width: 72px;
    min-height: 38px;
    margin: 13px auto 0;
    padding: 0 20px;
    border: 0;
    border-radius: 5px;
    background: #fbbf24;
    color: #182132;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}
.domain-notice button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 3px;
}
@media (max-width: 600px) {
    body.notice-open {
        padding-bottom: calc(180px + env(safe-area-inset-bottom));
    }
    .domain-notice {
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: calc(100% - 20px);
        padding: 16px 18px 14px;
    }
}
