/* Split from pray-wall-forced.css: Core layout/components (non-modal). */

#pw-app-root *,
#pw-app-root *::before,
#pw-app-root *::after,
.pw-modal[data-pw-modal="1"] *,
.pw-modal[data-pw-modal="1"] *::before,
.pw-modal[data-pw-modal="1"] *::after {
    box-sizing: border-box;
}

:root {
    /* Neo Classic: Burgundy Wine + Champagne Gold */
    --pw-bg-main: #1A1215;
    --pw-bg-end: #2D1F24;
    --pw-bg-card: rgba(45, 31, 36, 0.85);
    --pw-text: #F5EBE0;
    --pw-text-muted: #C9B8A8;
    --pw-gold: #D4B896;
    --pw-gold-light: #E8D5B9;
    --pw-gold-glow: rgba(212, 184, 150, 0.4);
    --pw-border: rgba(212, 184, 150, 0.15);
    --pw-glass-bg: rgba(26, 18, 21, 0.92);
    --pw-glass-border: rgba(212, 184, 150, 0.2);
    --pw-accent: #8B6B5C;
    --pw-accent-light: #A88B7A;
    --pw-z-modal: 12000;
    --pw-focus-ring: #F5EBDB;
    --pw-touch-target-min: 44px;
    --pw-radius-sm: 10px;
    --pw-radius-md: 12px;
    --pw-radius-pill: 999px;
    --pw-motion-fast: 0.18s;
    --pw-motion-base: 0.2s;
    --pw-motion-slow: 0.3s;
    --pw-surface-weak: rgba(255, 255, 255, 0.03);
    --pw-surface-soft: rgba(255, 255, 255, 0.08);
    --pw-surface-soft-hover: rgba(255, 255, 255, 0.16);
    --pw-surface-medium: rgba(255, 255, 255, 0.1);
    --pw-surface-medium-hover: rgba(255, 255, 255, 0.15);
    --pw-surface-focus: rgba(255, 255, 255, 0.12);
    --pw-modal-max-width: 500px;
    --pw-modal-max-width-mobile: 420px;
    --pw-modal-padding: 2rem;
    --pw-modal-padding-mobile: 1.35rem;
    --pw-modal-radius: 24px;
    --pw-modal-radius-mobile: 20px;
    --pw-modal-max-height: min(90dvh, 760px);
    --pw-modal-max-height-mobile: min(92dvh, 680px);
    --pw-modal-edge-padding-mobile: 10px;
    --pw-modal-overlay-bg: rgba(0, 0, 0, 0.6);
    --pw-modal-overlay-blur: 4px;
    --pw-modal-panel-blur: 12px;
    --pw-modal-panel-blur-mobile: 14px;
    --pw-modal-panel-bg: linear-gradient(180deg, #2D1F24 0%, #1A1215 100%);
    --pw-modal-sticky-header-bg: linear-gradient(180deg, rgba(45, 31, 36, 0.98) 35%, rgba(45, 31, 36, 0) 100%);
    --pw-modal-sticky-footer-bg: linear-gradient(0deg, rgba(26, 18, 21, 0.98) 35%, rgba(26, 18, 21, 0) 100%);
    --pw-modal-close-size: 36px;
    --pw-modal-close-offset-top: 15px;
    --pw-modal-close-offset-right: 20px;
    --pw-modal-btn-min-width: 120px;
    --pw-modal-btn-pill-radius: 50px;
    --pw-modal-control-gap: 12px;
    --pw-modal-control-gap-mobile: 10px;
    --pw-modal-elevation:
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(212, 184, 150, 0.2);
    --pw-toast-elevation: 0 8px 24px rgba(0, 0, 0, 0.35);
    --pw-modal-danger: #c85555;
    --pw-modal-danger-hover: #a84444;
    --pw-toast-bg: rgba(26, 18, 21, 0.96);
    --pw-like-badge-bg: rgba(0, 0, 0, 0.3);
}

.pw-defs-hidden {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.pw-hidden {
    display: none;
}

.pw-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- 1. Layout (Performant Background) --- */
#pw-app-root {
    position: relative;
    z-index: 1;
    padding: 0;
    color: var(--pw-text);
    font-family: 'Nanum Myeongjo', serif;
    /* Full viewport width - break out of any container */
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--pw-bg-main) 0%, var(--pw-bg-end) 100%);
    border-radius: 0;
}

.pw-glass-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: var(--pw-glass-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: none;
}

/* Override theme wrapper gaps */
#pw-app-root,
#pw-app-root .pw-glass-container,
#pw-app-root .pw-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* GeneratePress Theme - Full Width Overrides */
/* Remove all gaps and backgrounds for prayer wall page */
body.pw-fullscreen-page {
    background: var(--pw-bg-main) !important;
}

body.pw-fullscreen-page .site,
body.pw-fullscreen-page .site-content,
body.pw-fullscreen-page .container,
body.pw-fullscreen-page .grid-container,
body.pw-fullscreen-page .generate-columns-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.pw-fullscreen-page .site-main,
body.pw-fullscreen-page main {
    margin: 0 !important;
    padding: 0 !important;
}

body.pw-fullscreen-page .inside-article {
    padding: 0 !important;
    background: transparent !important;
}

body.pw-fullscreen-page .entry-header,
body.pw-fullscreen-page .page-header {
    display: none !important;
}

body.pw-fullscreen-page .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

body.pw-fullscreen-page article,
body.pw-fullscreen-page .hentry {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.pw-fullscreen-page #content,
body.pw-fullscreen-page #primary,
body.pw-fullscreen-page .content-area {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
}

/* --- 2. Components (Mantra & Header) --- */
.pw-mantra-banner {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pw-border);
}

.pw-app-title {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pw-gold);
    border: 1px solid var(--pw-gold);
    padding: 1px 10px;
    border-radius: 50px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.pw-mantra-text {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 0.4rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 0 8px var(--pw-gold-glow);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.pw-mantra-source {
    font-size: 0.8rem;
    color: var(--pw-gold-light);
    font-style: italic;
    letter-spacing: 0.05em;
}

.pw-wrap {
    background: transparent;
    text-align: center;
}

.pw-top-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto 1.15rem;
}

.pw-hero h2 {
    font-size: 2rem;
    color: var(--pw-gold);
    margin-bottom: 0.5rem;
}

.pw-sub {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* --- 3. Grid Logic --- */
.pw-main-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 1rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.pw-wall-container {
    flex: 2;
    width: 100%;
}

.pw-pagination {
    margin-top: 1.1rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .pw-main-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 3.5rem;
    }
}

.pw-wall {
    /* flex: 2; moved to wrapper */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.pw-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 320px;
    /* 사이드바 최대 너비 제한으로 균형 확보 */
    padding-top: 1rem;
}

.pw-image-container {
    position: relative;
    padding: 8px;
    background: linear-gradient(145deg, rgba(45, 31, 36, 0.6), rgba(26, 18, 21, 0.8));
    border: 1px solid var(--pw-gold-glow);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(212, 184, 150, 0.15),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 0;
}

.pw-mary-statue {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.4s ease;
}

.pw-image-container:hover .pw-mary-statue {
    filter: brightness(1) contrast(1.1);
    transform: scale(1.02);
}

.pw-scripture {
    position: relative;
    width: min(100%, 18rem);
    margin: 0 auto;
    text-align: center;
    color: rgba(245, 235, 224, 0.5);
}

.pw-scripture::before {
    content: "";
    display: block;
    width: 2rem;
    height: 1px;
    margin: 0 auto 0.8rem;
    background: rgba(212, 184, 150, 0.38);
}

.pw-scripture p {
    margin: 0;
}

.pw-scripture-lang-gr {
    font-family: "Times New Roman", "Noto Serif", Georgia, serif;
    font-size: clamp(0.62rem, 0.58rem + 0.12vw, 0.7rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.018em;
    color: rgba(245, 235, 224, 0.5);
}

.pw-scripture-ref-gr {
    margin-top: 0.7rem !important;
    font-family: "Times New Roman", "Noto Serif", Georgia, serif;
    font-size: 0.58rem;
    line-height: 1.5;
    letter-spacing: 0.045em;
    color: rgba(212, 184, 150, 0.58);
}

/* --- 4. Candles & UI --- */
.pw-candle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 1.2rem;
    border-radius: 18px;
    background: var(--pw-bg-card);
    border: 1px solid var(--pw-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gentleFloat 6s ease-in-out infinite;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(212, 184, 150, 0.1);
}

.pw-float-delay-0 {
    animation-delay: 0s;
}

.pw-float-delay-1 {
    animation-delay: 0.6s;
}

.pw-float-delay-2 {
    animation-delay: 1.2s;
}

.pw-float-delay-3 {
    animation-delay: 1.8s;
}

.pw-float-delay-4 {
    animation-delay: 2.4s;
}

.pw-float-delay-5 {
    animation-delay: 3s;
}

.pw-float-delay-6 {
    animation-delay: 3.6s;
}

.pw-float-delay-7 {
    animation-delay: 4.2s;
}

.pw-spinner {
    display: none;
}

.pw-candle:hover {
    background: rgba(45, 31, 36, 0.95);
    border-color: var(--pw-gold);
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 20px var(--pw-gold-glow);
}

.pw-candle:focus-visible {
    outline: 2px solid var(--pw-gold);
    outline-offset: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.pw-candle-svg {
    width: 50px;
    height: 100px;
    filter: drop-shadow(0 0 8px var(--pw-gold-glow));
}

.pw-candle-name {
    font-weight: bold;
    margin-top: 0.8rem;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
}

.pw-candle-likes {
    font-size: 0.76rem;
    color: var(--pw-text-muted);
    margin: 0;
    line-height: 1.34;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: keep-all;
    white-space: normal;
}

.pw-candle-days-left {
    font-size: 0.8rem;
    color: var(--pw-gold);
    margin-bottom: 0.2rem;
}

.pw-candle-meta-row {
    display: block;
    align-items: center;
    width: 100%;
    margin-top: 0.55rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(212, 184, 150, 0.08);
}

.pw-btn-icon,
.pw-candle-time-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(212, 184, 150, 0.24);
    background: rgba(26, 18, 21, 0.58);
    color: var(--pw-text);
    cursor: pointer;
    transition: all 0.2s;
}

.pw-btn-icon:hover,
.pw-btn-icon:focus-visible,
.pw-candle-time-toggle:hover,
.pw-candle-time-toggle:focus-visible,
.pw-candle-time-toggle.is-open {
    background: rgba(237, 219, 192, 0.16);
    color: #fff6e7;
    transform: translateY(-1px);
}

.pw-btn-icon:focus-visible,
.pw-candle-time-toggle:focus-visible {
    outline: 2px solid var(--pw-focus-ring);
    outline-offset: 2px;
}

.pw-candle-time-icon {
    width: 1rem;
    height: 1rem;
    display: block;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pw-candle-time-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    transform: translate(-50%, 6px);
    min-width: max-content;
    max-width: min(220px, 70vw);
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: rgba(24, 17, 20, 0.96);
    border: 1px solid rgba(212, 184, 120, 0.24);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    color: #f8efdf;
    font-size: 0.76rem;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 8;
}

.pw-candle-time-tooltip::after {
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    width: 8px;
    height: 8px;
    background: rgba(24, 17, 20, 0.96);
    border-right: 1px solid rgba(212, 184, 120, 0.24);
    border-bottom: 1px solid rgba(212, 184, 120, 0.24);
    transform: translateX(-50%) rotate(45deg);
}

.pw-candle-time-toggle:hover .pw-candle-time-tooltip,
.pw-candle-time-toggle:focus-visible .pw-candle-time-tooltip,
.pw-candle-time-toggle.is-open .pw-candle-time-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* --- 5. Controls & Buttons --- */
.pw-controls-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 12px;
}

.pw-search-box {
    flex: 1;
    min-width: 250px;
}

.pw-search-box input,
.pw-sort-box select {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--pw-glass-border);
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
}

.pw-search-box input:focus-visible,
.pw-sort-box select:focus-visible {
    border-color: var(--pw-gold);
    box-shadow: 0 0 0 3px var(--pw-gold-glow);
}

.pw-ignite {
    margin: 0;
}

.pw-mobile-filter-toggle {
    display: none;
    /* Hide on desktop */
    margin-bottom: 1rem;
}

#pw-filter-toggle {
    color: var(--pw-gold);
    font-size: 0.9rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 50px;
    border: 1px solid var(--pw-gold-glow);
}

.pw-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 700;
    padding: 0.72rem 1.45rem;
    min-height: 46px;
    border-radius: 999px;
    font-size: 1rem;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #ead8bb 0%, #dfc7a3 100%);
    color: #1A1215;
    border: 1px solid rgba(245, 232, 210, 0.38);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transition: transform var(--pw-motion-fast), box-shadow var(--pw-motion-fast), filter var(--pw-motion-fast);
    text-shadow: none;
}

.pw-toggle-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16), 0 10px 20px rgba(0, 0, 0, 0.22);
}

.pw-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.36);
    filter: brightness(1.01);
}

.pw-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem;
    background: rgba(33, 21, 25, 0.62);
    border: 1px solid rgba(212, 184, 150, 0.16);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.pw-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--pw-text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.6rem 1.05rem;
    min-height: 40px;
    transition: color var(--pw-motion-fast), background var(--pw-motion-fast), border-color var(--pw-motion-fast), transform var(--pw-motion-fast);
    border-radius: 999px;
    margin: 0;
    line-height: 1;
}

.pw-tab-btn:hover {
    color: #fff7ef;
    background: rgba(255, 255, 255, 0.05);
}

.pw-tab-btn:focus-visible {
    outline: 2px solid var(--pw-focus-ring);
    outline-offset: 3px;
}

.pw-tab-btn.active {
    color: #1A1215;
    background: linear-gradient(180deg, #ecd8bc 0%, #dec29c 100%);
    border-color: rgba(245, 232, 210, 0.28);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 14px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .pw-top-controls {
        gap: 0.65rem;
        margin-bottom: 1rem;
    }

    .pw-toggle-btn {
        min-height: 42px;
        padding: 0.68rem 1.2rem;
        font-size: 0.96rem;
    }

    .pw-tabs {
        width: min(100%, 280px);
        justify-content: center;
    }

    .pw-tab-btn {
        flex: 1 1 0;
        padding: 0.58rem 0.85rem;
        font-size: 0.9rem;
    }
}

.pw-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--pw-text-muted);
}

#pw-reload {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pw-gold);
    border: 1px solid var(--pw-gold-glow);
    padding: 6px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
}

#pw-reload:hover,
#pw-reload:focus-visible {
    background: var(--pw-gold);
    color: #1a1a1a;
    box-shadow: 0 0 15px var(--pw-gold-glow);
    outline: none;
}

#pw-reload::before {
    content: '↻';
    font-size: 1.1rem;
    font-weight: bold;
}

#pw-reload.loading::before {
    display: inline-block;
    animation: pw-spin 1s linear infinite;
}

/* --- 5.1 My Prayer Specific Styles --- */
.pw-candle-item {
    display: block;
}

@media (max-width: 640px) {
    .pw-wall {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    }

    .pw-candle-likes {
        font-size: 0.74rem;
    }

    .pw-candle-time-toggle {
        width: 1.85rem;
        height: 1.85rem;
    }
}

.pw-candle-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(212, 184, 150, 0.08);
}

.pw-btn-icon-svg {
    width: 14px;
    height: 14px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.55;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pw-delete-prayer {
    border-color: rgba(200, 85, 85, 0.65);
}

.pw-delete-prayer:hover {
    background: rgba(200, 85, 85, 0.18);
    color: #ffe9e9;
}

/* 내 기도가 전체 목록에 있을 때 강조 (JS에서 클래스 추가 필요) */
.pw-candle.is-mine {
    border: 1px solid var(--pw-gold-glow);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.1);
}

.pw-candle.is-mine::after {
    content: var(--pw-my-prayer-label, '내 기도');
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pw-gold);
    color: #1a1a1a;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

/* --- 6. Animations & SVG Colors --- */
@keyframes pw-candle-flicker {

    0%,
    100% {
        transform: scaleX(0.98) scaleY(1) rotate(-0.6deg);
        opacity: 0.95;
    }

    50% {
        transform: scaleX(1.03) scaleY(0.96) rotate(0.7deg);
        opacity: 0.9;
    }
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes pw-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pw-candle-svg {
    --pw-candle-stand-fill: #7a4d2d;
    --pw-candle-stand-opacity: 0.58;
    --pw-candle-glass-cup-fill: rgba(196, 225, 245, 0.24);
    --pw-candle-glass-cup-stroke: rgba(171, 205, 228, 0.58);
    --pw-candle-glass-rim-stroke: rgba(236, 247, 255, 0.42);
    --pw-candle-glass-highlight-stroke: rgba(255, 255, 255, 0.42);
    --pw-candle-glass-highlight-opacity: 0.62;
    --pw-candle-body-fill: #f5f0e1;
    --pw-candle-body-stroke: #e8d5b9;
    --pw-candle-body-stroke-width: 0.5px;
}

.pw-candle-flame {
    animation: pw-candle-flicker 2.5s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: 50% 72%;
    will-change: transform, opacity;
}

.pw-candle-stand {
    fill: var(--pw-candle-stand-fill);
    opacity: var(--pw-candle-stand-opacity);
}

.pw-glass-cup {
    fill: var(--pw-candle-glass-cup-fill);
    stroke: var(--pw-candle-glass-cup-stroke);
}

.pw-glass-rim {
    fill: none;
    stroke: var(--pw-candle-glass-rim-stroke);
    stroke-width: 0.7;
    stroke-linecap: round;
}

.pw-glass-highlight {
    fill: none;
    stroke: var(--pw-candle-glass-highlight-stroke);
    stroke-width: 0.72;
    stroke-linecap: round;
    opacity: var(--pw-candle-glass-highlight-opacity);
}

.pw-candle-wax {
    fill: none;
    stroke: rgba(255, 249, 240, 0.22);
    stroke-width: 0.68;
    stroke-linecap: round;
}

.pw-candle-body {
    fill: var(--pw-candle-body-fill);
    stroke: var(--pw-candle-body-stroke);
    stroke-width: var(--pw-candle-body-stroke-width);
}

.pw-candle--white {
    --pw-candle-body-fill: #f5f0e1;
    --pw-candle-body-stroke: #e8d5b9;
}

.pw-candle--purple {
    --pw-candle-body-fill: #7b3f8c;
    --pw-candle-body-stroke: #9b59b6;
}

.pw-candle--green {
    --pw-candle-body-fill: #2e7d4a;
    --pw-candle-body-stroke: #3d9155;
}

.pw-candle--red {
    --pw-candle-body-fill: #9b2335;
    --pw-candle-body-stroke: #c0392b;
}

.pw-candle--blue {
    --pw-candle-body-fill: #2c5f7c;
    --pw-candle-body-stroke: #3498db;
}

.pw-candle--gold {
    --pw-candle-body-fill: #d4a84b;
    --pw-candle-body-stroke: #e8d5b9;
}

.pw-candle--black {
    --pw-candle-body-fill: #2c2c2c;
    --pw-candle-body-stroke: rgba(255, 255, 255, 0.3);
}

.pw-candle--orange {
    --pw-candle-body-fill: #e67e22;
    --pw-candle-body-stroke: #e8b173;
}

/* Active CSS owner for wall/runtime candle UI.
 * Shared candle tokens belong here unless the homepage preview must render without pw-core.css.
 */
