/* portal.css — 共用版面結構，所有皮膚都會載入此檔 */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.portal-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Noto Sans TC', Arial, sans-serif;
}

/* ── 卡片外框 ── */
.portal-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── 頂部標籤 ── */
.portal-badge {
    font-size: 11px;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    text-align: center;
}

/* ── 頁首 ── */
.portal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 28px;
}

.portal-logo {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.portal-store-name {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
}

.portal-tagline {
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
}

/* ── 按鈕區塊 ── */
.portal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
}

.portal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: filter 0.15s ease, transform 0.1s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.portal-btn:hover {
    filter: brightness(1.06);
}

.portal-btn:active {
    transform: scale(0.98);
}

/* icon 固定寬度，確保不同 emoji 不影響排版 */
.portal-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 17px;
    flex-shrink: 0;
    line-height: 1;
}

/* 無 icon 時，label 完全置中 */
.portal-btn.no-icon {
    justify-content: center;
}
.portal-btn.no-icon .portal-btn-label {
    text-align: center;
}

/* ── 頁尾 ── */
.portal-footer {
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
}

.portal-footer a {
    text-decoration: none;
}
