:root { 
    --v-primary: #ff5722; 
    --v-text-dark: #222; 
}

.entry-page-wrapper { width: 95%; max-width: 1070px; margin: 0 auto; padding-bottom: 5rem; }
.v-header h1 { font-size: 5rem; text-align: center; font-weight: 800; margin: 3rem 0; color: #333; }
.section-title { font-size: 4.5rem; font-weight: bold; margin-bottom: 2rem; display: flex; align-items: center; }
.section-title::before { content: ""; width: 0.8rem; height: 4.5rem; background: var(--v-primary); margin-right: 1.5rem; }

.marquee-viewport { 
    position: relative; width: 100%; overflow-x: auto; overflow-y: hidden; margin-bottom: 4rem; 
    padding: 1.5rem 0.5rem; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.entries-flex-container { display: flex; gap: 1.5rem; width: max-content; align-items: stretch; }
.flex-entry-item { flex: 0 0 45vw; max-width: 45vw; aspect-ratio: 1 / 1.3; cursor: pointer; }

.entry-card { 
    background: #fff; border-radius: 1.5rem; overflow: hidden; height: 100%; 
    border: 0.2rem solid #eee; box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    display: flex; flex-direction: column; transition: transform 0.2s;
}
.entry-cover-wrapper { flex: 1; width: 100%; position: relative; overflow: hidden; background: #f0f0f0; }
.entry-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry-bg-text { 
    flex: 1; background: #333; display: flex; align-items: center; 
    justify-content: center; padding: 2.5rem; text-align: center;
    color: #fff; line-height: 1.5; overflow: hidden; font-weight: 600; font-size: 3.2rem;
}
.entry-info { padding: 2.2rem; background: #fff; border-top: 1px solid #eee; }
.entry-title { font-size: 3.8rem; font-weight: bold; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-stats { font-size: 3.4rem; color: var(--v-primary); font-weight: 900; margin-top: 0.5rem; }

.btn-entry-cancel, .btn-entry-edit, .more-entry-edit { font-size: 4rem; }

.v-pagination-wrapper { 
    text-align: center; margin-top: -2rem; margin-bottom: 4rem; padding: 0 1rem; 
    display: flex; justify-content: center; align-items: center; gap: 1.5rem; 
}
.v-nav-btn {
    width: 6rem; height: 6rem; background: #fff; border: 2px solid #ddd; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
    color: var(--v-primary); cursor: pointer; transition: all 0.2s; user-select: none;
}
.v-nav-btn:active { transform: scale(0.9); background: #f0f0f0; }
.v-page-select {
    height: 6.5rem; padding: 0 2rem; font-size: 2.8rem; border: 2px solid #ddd;
    border-radius: 1rem; background: #fff; color: #444; font-weight: bold;
}

.v-form-container { margin-top: 3rem; padding: 2rem; border: 0.3rem solid var(--v-primary); border-radius: 2.5rem; }
.v-form-container label { font-size: 4rem !important; font-weight: 900; color: #222; margin-bottom: 1.5rem; display: block; }
.v-form-container .form-control, .v-form-container select { 
    width: 100% !important; height: auto !important; padding: 2rem !important; 
    font-size: 3.5rem !important; border: 0.3rem solid #ccc !important; 
    border-radius: 1.5rem !important; background: #fafafa !important; margin-bottom: 2rem; display: block;
}
.dynamic-field-group { position: relative; margin-bottom: 2rem; }
.btn-remove-field {
    position: absolute; right: -1rem; top: -1rem; background: #ff5252; color: white; border: none;
    width: 5rem; height: 5rem; border-radius: 50%; font-size: 3.5rem; line-height: 1; z-index: 5;
    cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.btn-add-more {
    background: #f8f9fa; border: 0.3rem dashed #ccc; color: #666; width: 100%; padding: 2rem;
    font-size: 3.5rem; border-radius: 1.5rem; margin-bottom: 3rem; cursor: pointer;
    font-weight: bold; transition: all 0.3s;
}

.sticky-submit-wrapper {
    position: fixed; bottom: 1px; right: 10px; width: 50%; padding: 15px;
    background: rgba(255, 255, 255, 0.95); border-top: 1px solid #e2e8f0;
    z-index: 1000; box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1); border-radius: 2rem; 
    display: flex; justify-content: center; align-items: center; box-sizing: border-box;
}
.sticky-submit-wrapper .btn-submit { 
    width: 100%; padding: 2.5rem; background: #e11d48; color: #fff; border-radius: 1.5rem; 
    border: none; font-size: 4.5rem; font-weight: 900; cursor: pointer;
    margin-top: 0; display: block;
}

.v-modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(255,255,255,0.98); z-index: 99999; display: none; flex-direction: column; overflow-y: auto;
}
.v-modal-close {
    position: fixed; top: 2rem; right: 2rem; width: 12rem; height: 12rem;
    background: rgba(0,0,0,0.5); color: #fff; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center;
    font-size: 6rem; z-index: 100001; line-height: 1;
}
.v-modal-content { padding: 12rem 4rem 6rem; width: 100%; max-width: 800px; margin: 0 auto; }
.m-media-item { width: 100%; border-radius: 1.5rem; margin-bottom: 2rem; box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1); }
.btn-invite-share {
    display: inline-block; width: 100%; max-width: 800px; background: #4a4a4a;
    color: #ffffff !important; text-decoration: none !important; font-size: 3.8rem;
    font-weight: 800; padding: 1.8rem; border-radius: 100px; text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); transition: 0.3s; border: none; cursor: pointer; margin-top: 2rem; 
}
.btn-invite-share:hover { background: #333333; transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0,0,0,0.2); }

.v-vote-rules-box {
    background: #fffaf0; border: 1px dashed #e7e0da; border-radius: 15px; padding: 2.5rem;
    margin: 2rem 0 4rem 0; text-align: left;
}
.v-vote-rules-box .rules-header { font-size: 3.8rem; font-weight: 900; color: #8d6e63; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.v-vote-rules-box .rules-icon { font-size: 3.2rem; }
.v-vote-rules-box .rules-list { list-style: none; padding: 0; margin: 0; }
.v-vote-rules-box .rules-list li { font-size: 3.5rem; color: #666; line-height: 1.6; margin-bottom: 1rem; display: flex; align-items: flex-start; }
.v-vote-rules-box .rules-list li .dot { color: #ffca28; margin-right: 1.5rem; font-size: 2rem; }
.v-vote-rules-box .highlight { color: #ff5722; font-weight: bold; padding: 0 0.5rem; }

.info-board-container { margin-bottom: 2rem; }
.entry-rules { background: #f9f9f9; border: 2px solid #ddd; padding: 2.5rem; border-radius: 1.5rem; }
.entry-rules .rules-title { font-weight: 800; color: #333; font-size: 3.8rem; margin-bottom: 1.5rem; border-bottom: 3px solid #ccc; padding-bottom: 1rem; }
.entry-rules ul { margin: 0; padding-left: 3.5rem; color: #555; line-height: 1.8; font-size: 3.5rem; }

.v-social-link-card {
    display: flex; align-items: center; background: #ffffff; border: 1px solid #eaeaea;
    border-radius: 16px; padding: 1.8rem 2.5rem; text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); transition: all 0.3s ease; width: 100%; box-sizing: border-box;
}
.v-social-icon {
    width: 5.5rem; height: 5.5rem; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 2.8rem; margin-right: 2rem; flex-shrink: 0;
}
.fb-card .v-social-icon { background: #e7f3ff; color: #1877f2; }
.tiktok-card .v-social-icon { background: #f0f0f0; color: #010101; }
.v-social-info { display: flex; flex-direction: column; text-align: left; }
.v-social-tag { font-size: 4.2rem; font-weight: bold; color: #5d4037; margin-bottom: 0.4rem; }
.v-social-action { font-size: 3.6rem; color: #888888; }
.v-social-link-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(93, 64, 55, 0.1); border-color: #ffca28; }

.video-rule-notice { background-color: #fdfbf7; border: 1px solid #f1ebd9; border-radius: 12px; padding: 1.5rem 2rem; margin-bottom: 3.5rem; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.01); }
.notice-title { font-size: 3.8rem; font-weight: bold; color: #5d4037; margin-bottom: 1rem; display: flex; align-items: center; }
.notice-list { margin: 0; padding-left: 2rem; list-style-type: disc; }
.notice-list li { font-size: 3.5rem; line-height: 1.7; color: #666666; margin-bottom: 0.8rem; }
.notice-list li:last-child { margin-bottom: 0; }

.tag-live, .tag-link { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 4px; font-size: 3.2rem; font-weight: bold; margin-right: 0.3rem; vertical-align: middle; }
.tag-live { background-color: #e8f5e9; color: #2e7d32; }
.tag-link { background-color: #fff3e0; color: #ef6c00; }

.entry-words { font-size: 4rem; }
.m-title-h2 { font-size:3.5rem; font-weight:900; color:#222; margin-bottom:3rem; padding-left:2rem; }
.m-stats { font-size: 4.5rem; color: var(--v-primary); font-weight: bold; text-align: center; padding: 3rem 0; border-top: 1px solid #eee; }

.emailMask { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); z-index: 9999; justify-content: center; align-items: center; box-sizing: border-box; padding: 2rem; }
.emailMask-content { background: #ffffff; color: #333333; padding: 4rem 3rem; border-radius: 1.5rem; max-width: 700px; width: 100%; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.5); position: relative; box-sizing: border-box; max-height: 90vh; overflow-y: auto; }
.emailMask-content p { font-size: 4rem; font-weight: bold; line-height: 1.5; margin: 0 0 2.5rem 0; }
.emailMask-content p.emailMask-desc { font-size: 3.5rem; color: #666666; font-weight: normal; text-align: left; margin-bottom: 0; }
.emailMask-close { position: absolute; top: 1rem; right: 2.5rem; font-size: 6rem; cursor: pointer; color: #aaaaaa; line-height: 1; }
#magic-btn { background: #fbbf24; color: #6e2e08; border: none; padding: 12px 24px; font-size: 32px; font-weight: bold; border-radius: 20px; cursor: pointer; box-shadow: 0 4px 6px rgba(251, 191, 36, 0.3); transition: transform 0.1s;}


    .hot-section-wrapper { padding: 40px 0; background: #fff; }
    .hot-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 25px; padding: 0 20px; }
    .hot-title { font-size: 1.8rem; font-weight: 900; color: #1e293b; display: flex; align-items: center; gap: 10px; }
    
    /* 水平滾動容器 */
    .scroll-container { 
        display: flex; gap: 15px; overflow-x: auto; padding: 10px 20px; 
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    }
    .scroll-container::-webkit-scrollbar { display: none; }
    
    .hot-card { 
        flex: 0 0 220px; width: 220px; background: white; border-radius: 20px; 
        box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden; position: relative;
        transition: transform 0.2s; border: 1px solid #f1f5f9;
    }
    .hot-card:hover { transform: translateY(-5px); }
    
    /* 排名徽章 */
    .rank-badge { 
        position: absolute; top: 10px; left: 10px; z-index: 10; 
        width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-weight: bold; color: white; font-size: 0.9rem;
    }
    .rank-1 { background: #f59e0b; } /* Gold */
    .rank-2 { background: #94a3b8; } /* Silver */
    .rank-3 { background: #d97706; } /* Bronze */

    .hot-view-all { 
        display: block; margin: 30px auto 0; width: 80%; max-width: 300px;
        text-align: center; background: #d82393; color: white; padding: 15px; 
        border-radius: 50px; font-weight: bold; text-decoration: none; box-shadow: 0 4px 10px rgba(216,35,147,0.3);
    }

@media (min-width: 751px) {
    .flex-entry-item { flex: 0 0 230px !important; max-width: 230px !important; }
    .entry-info { padding: 1.2rem; }
    .entry-title { font-size: 18px !important; }
    .entry-stats { font-size: 16px !important; }
    .btn-entry-cancel, .btn-entry-edit, .more-entry-edit { font-size: 1.5rem; }
    .entry-bg-text { font-size: 14px !important; padding: 15px; }
    .v-form-container label { font-size: 2rem !important; }
    .v-form-container .form-control, .v-form-container select { font-size: 1.8rem !important; padding: 1rem !important; }
    .btn-add-more { font-size: 1.8rem; padding: 1rem; }
    .btn-remove-field { width: 2.5rem; height: 2.5rem; font-size: 1.8rem; right: -0.8rem; top: -0.8rem; }
    .sticky-submit-wrapper .btn-submit { font-size: 2.5rem !important;}
    .v-modal-close { font-size: 4rem; top: 1rem; right: 2rem; width: 6rem; height: 6rem; }
    .v-modal-content { padding-top: 6rem; }
    .v-nav-btn { width: 40px; height: 40px; font-size: 20px; }
    .v-page-select { height: 40px; font-size: 16px; padding: 0 10px; }
    .v-pagination-wrapper { gap: 10px; }
    .entry-rules ul { line-height: 1.8; font-size: 1.8rem; }
    .btn-invite-share { font-size: 2.5rem; padding: 1.5rem; }
    .v-vote-rules-box { padding: 2rem; margin: 2rem 0 3rem 0; }
    .v-vote-rules-box .rules-header { font-size: 3.2rem; }
    .v-vote-rules-box .rules-list li { font-size: 1.8rem; }
    .v-social-link-card { max-width: 500px; margin-left: auto; margin-right: auto; padding: 2rem 3rem; }
    .v-social-tag { font-size: 2.6rem; }
    .v-social-action { font-size: 1.8rem; }
    .video-rule-notice { padding: 2rem 2.5rem; }
    .notice-title { font-size: 2.2rem; }
    .notice-list li { font-size: 1.7rem; line-height: 1.8; }
    .tag-live, .tag-link { font-size: 1.4rem; padding: 0.2rem 0.8rem; }
    .entry-words { font-size: 1.8rem; }
    .m-title-h2 { font-size: 2.5rem; }
    .m-stats { font-size: 2.5rem; }
    .emailMask-content { padding: 3rem; border-radius: 8px; max-width: 600px; }
    .emailMask-content p { font-size: 1.8rem; margin-bottom: 1.5rem; }
    .emailMask-content p.emailMask-desc { font-size: 1.5rem; }
    .emailMask-close { top: 1rem; right: 2rem; font-size: 3rem; }
}

.countdown-card {
    position: fixed; bottom: 0; left: 0; right: 0; top: auto; z-index: 9999;
    background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(212, 175, 55, 0.4); padding: 10px 16px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3); transition: all 0.3s ease;
}
.countdown-content { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.clock-icon-wrapper { position: relative; width: 30px; height: 30px; background: rgba(212, 175, 55, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.css-clock-icon { width: 16px; height: 16px; border: 2px solid #d4af37; border-radius: 50%; position: relative; }
.css-clock-icon::after { content: ''; position: absolute; width: 2px; height: 5px; background: #d4af37; top: 2px; left: 5px; transform-origin: bottom center; animation: clockSpin 6s linear infinite; }
.countdown-text { display: flex; flex-direction: column; flex-grow: 1; margin-left: 6px; }
.notice-title { color: #ffffff; font-size: 13px; font-weight: bold; letter-spacing: 0.5px; }
.notice-date { color: #b0b0b0; font-size: 11px; margin-top: 1px; }
.highlight-date { color: #d4af37; font-weight: bold; }
.countdown-badge { background: #d4af37; color: #1e1e1e; font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
@keyframes clockSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes floatingNotice { 0% { transform: translateY(0); box-shadow: 0 4px 20px rgba(0,0,0,0.3); } 50% { transform: translateY(-6px); border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 10px 25px rgba(212,175,55,0.15); } 100% { transform: translateY(0); box-shadow: 0 4px 20px rgba(0,0,0,0.3); } }

@media (min-width: 751px) {
    .countdown-card {
        bottom: 24px; right: 24px; left: auto; width: auto; max-width: 350px;
        border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 12px; padding: 12px 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); animation: floatingNotice 3s ease-in-out infinite;
    }
    .countdown-content { justify-content: flex-start; gap: 14px; }
    .clock-icon-wrapper { width: 32px; height: 32px; }
    .css-clock-icon { width: 18px; height: 18px; }
    .css-clock-icon::after { height: 6px; left: 6px; }
    .countdown-text { margin-left: 0; }
    .notice-title { font-size: 14px; letter-spacing: 1px; }
    .notice-date { font-size: 12px; margin-top: 2px; }
}
body.noscroll { overflow: hidden !important; height: 100%; }