body {
    font-family: "Noto Sans TC", "Arial", sans-serif;
    margin: 0;
    padding: 0;
    background: #f6f8fa;
    color: #333;
}

.header, .footer {
    text-align: center;
    background: #1565c0;
    color: #fff;
    letter-spacing: 1px;
    font-size: 0.95rem;
    padding: 8px 4px;
}
.footer {
    background: #333;
    font-size: 0.85rem;
    margin-top: 28px;
}

.main-container {
    max-width: 480px;
    margin: 22px auto 10px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 32px rgba(32,28,53,0.12);
    padding: 18px 8px 28px 8px;
}
.card-stack-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

/* -------- 主牌堆 pink -------- */
.card-stack-area #cardStack.card {
    background: #ffecf2;
    border: 2px solid #ffbcd3;
    box-shadow: 0 4px 20px #f7c0d0cc;
}

/* -------- 挑選/暫存區 blue-white -------- */
.zone .card {
    background: #eaf4fb;
    border: 2px solid #b4daf6;
    box-shadow: 0 1px 7px #bee6ff44;
    min-width: 97%;
    max-width: 350px;
    min-height: 66px;
    margin: 0;
    font-size: 0.98rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.zone .card.empty {
    border: 2px dashed #bcdde9;
    background: #f4fbfd;
    color: #bbb;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .97rem;
}

/* 不統一 .card 背景，各區定義，這裡只定寬高、排版 */
.card {
    border-radius: 10px;
    min-width: 290px;
    max-width: 335px;
    min-height: 98px;
    padding: 18px 16px 32px 16px;
    margin-bottom: 16px;
    transition: box-shadow .25s;
    position: relative;
    word-break: break-all;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card .quote-id {
    color: #69809e;
    font-size: .93em;
    font-weight: bold;
    background: #ffecf2;
    border-radius: 8px;
    padding: 1px 8px 1.5px 8px;
    align-self: flex-end;
    position: static;
    margin-top: 12px;
    margin-bottom: -10px;
}
.card .quote-zh {
    font-size: 1.16rem;
    font-weight: bold;
    margin: 0 0 9px 0;
}
.card .quote-en {
    color: #ba6682;
    font-size: 0.97rem;
    font-style: italic;
    margin-bottom: 0;
}

.area-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #1976d2;
    letter-spacing: 1px;
    font-size: 1.05rem;
}

.zone {
    margin: 0 0 20px 0;
    padding: 6px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.button-group {
    margin: 12px 0 0 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
button {
    color: #fff;
    background: #1e88e5;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 1rem;
    margin: 0 0 4px 0;
    transition: background .19s;
    outline: none;
}
button:disabled {
    background: #bcd8f3;
    color: #eee;
    cursor: not-allowed;
}
button:hover:enabled {
    background: #1565c0;
}
.card-actions {
    margin-top: 6px;
    text-align: right;
    font-size: .96rem;
}
.zone-action-btn {
    padding: 3px 7px;
    font-size: .97rem;
    margin-left: 4px;
}

/* info bar和RWD同前 */
.info-bar {
    background: #fdeacc;
    color: #b76e00;
    padding: 8px 15px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 7px;
    font-size: 1rem;
    display: none;
}
@media (max-width: 550px) {
    .main-container {
        padding: 12px 2px 18px 2px;
        margin: 7vw 2vw 8vw 2vw;
        min-width: unset;
        max-width: none;
    }
    .card, .zone .card {
        min-width: 92vw;
        max-width: 98vw;
    }
    .zone {
        gap: 11px;
    }
    .header, .footer {
        font-size: 0.85rem;
        padding: 6px 0px 9px 0px;
    }
}

/* ------- 下面是你加的新規格 ------- */
.center-row {
    justify-content: center;
}
.reset-btn {
    background: #e53935;
    color: #fff;
    padding: 8px 20px;
    font-size: 1.1em;
    border-radius: 8px;
    border: none;
}
#soundSwitchBtn.sound-on {
    background: #26963b;
    color: #fff;
}
#soundSwitchBtn.sound-off {
    background: #ffe0e0;
    color: #222;
}