
.sfm-app {
    max-width: 760px;
    margin: 0 auto;
    font-family: Roboto, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #161616;
}
.sfm-list { display: grid; gap: 14px; }
.sfm-meditation-card {
    border: 1px solid #e1e1e1;
    border-radius: 18px;
    padding: 18px 20px;
    background: #fff;
}
.sfm-meditation-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.sfm-meditation-card p { margin: 0 0 14px; color: #666; line-height: 1.65; }
.sfm-card-meta { color: #777; font-size: .95rem; margin-bottom: 14px; }

.sfm-session-view {
    position: relative;
    padding: 16px 8px 18px;
}
.sfm-session-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.sfm-menu-btn {
    min-width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #222;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
}
.sfm-menu-btn:focus-visible { outline: 2px solid #2f8f57; outline-offset: 2px; }

.sfm-timer-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    margin: -8px 0 34px;
    text-align: center;
}
.sfm-timer {
    font-family: "Noto Serif KR", serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1;
    color: #4169E1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    display: inline-block;
    min-width: 5.2ch;
    white-space: nowrap;
    text-align: center;
}

.sfm-player-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin: 22px 0 10px;
}
.sfm-session-head {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.sfm-session-head h2 {
    margin: 0;
    font-family: Roboto, "Noto Sans KR", sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.2;
}
.sfm-code {
    margin-top: 6px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #555;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sfm-inline-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.sfm-inline-btn {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(185,185,185,.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 16px rgba(0,0,0,.10);
    color: #fff;
    padding: 0;
}
.sfm-inline-btn:focus-visible { outline: 2px solid #2f8f57; outline-offset: 3px; }
.sfm-play-icon {
    display: block;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid rgba(255,255,255,.98);
    margin-left: 4px;
}
.sfm-pause-icon { display: flex; gap: 6px; }
.sfm-pause-icon i {
    display: block;
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: rgba(255,255,255,.98);
}

.sfm-progress-wrap {
    display: flex;
    flex-direction: column;
    margin: 12px 0 22px;
}
.sfm-progress-track {
    order: 1;
    position: relative;
    height: 3px;
    border-radius: 999px;
    background: #d6d6d6;
    overflow: visible;
}
.sfm-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    border-radius: 999px;
    background: #2f8f57;
    transition: width .2s linear;
}
.sfm-alarm-markers { position: absolute; inset: 0; pointer-events: none; }
.sfm-alarm-marker {
    position: absolute;
    top: -3px;
    width: 1px;
    height: 9px;
    border-radius: 0;
    background: #ffffff;
    transform: translateX(-0.5px);
    box-shadow: 0 0 0 0.5px rgba(0,0,0,.08);
}

.sfm-reading-block {
    margin: 28px 0 14px;
    text-align: left;
}
.sfm-readings {
    margin: 0;
    padding-left: 1.5em;
}
.sfm-readings li {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 1rem;
}

.sfm-finish-wrap { margin: 16px 0 8px; }
.sfm-finish {
    min-width: 92px;
    min-height: 40px;
    border: 1px solid #9aa0aa;
    border-radius: 16px;
    background: #fff;
    color: #222;
    font-size: .96rem;
    cursor: pointer;
}

.sfm-record-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 8px;
}
.sfm-record-save,
.sfm-record-cancel {
    min-width: 132px;
    min-height: 48px;
    border: 0;
    border-radius: 18px;
    padding: 10px 18px;
    background: #e7edf8;
    color: #1f67c2;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(31,103,194,.05);
}
.sfm-record-save:hover,
.sfm-record-cancel:hover {
    filter: brightness(.98);
}

.sfm-status {
    min-height: 24px;
    margin-top: 12px;
    color: #555;
    text-align: center;
}

.sfm-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.28);
    z-index: 9998;
}
.sfm-popup {
    position: fixed;
    right: 18px;
    top: 70px;
    width: min(320px, calc(100vw - 36px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
    padding: 16px 16px 14px;
    text-align: left;
    z-index: 9999;
}
.sfm-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}
.sfm-popup-close {
    width: 32px;
    height: 32px;
    border: 0;
    background: #f1f1f1;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}
.sfm-popup-section + .sfm-popup-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}
.sfm-popup-label {
    font-size: .92rem;
    color: #666;
    margin-bottom: 8px;
}
.sfm-popup-purpose {
    color: #222;
    line-height: 1.72;
    font-size: .98rem;
}
.sfm-switch-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .98rem;
    color: #444;
    cursor: pointer;
}
.sfm-switch-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sfm-switch {
    width: 36px;
    height: 21px;
    border-radius: 999px;
    background: #bdbdbd;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    transition: background .2s ease, color .2s ease;
}
.sfm-switch::before { content: "OFF"; }
.sfm-switch-wrap input:checked + .sfm-switch {
    background: #f2c94c;
    color: #493a00;
}
.sfm-switch-wrap input:checked + .sfm-switch::before { content: "ON"; }
.sfm-switch-wrap input:focus-visible + .sfm-switch { outline: 2px solid #d5a900; outline-offset: 3px; }

@media (max-width: 480px) {
    .sfm-app { padding: 0 6px; }
    .sfm-session-view { padding-left: 2px; padding-right: 2px; }
    .sfm-timer-wrap { min-height: 22vh; margin-bottom: 30px; }
    .sfm-timer { font-size: clamp(4.3rem, 22vw, 6.5rem); }
    .sfm-player-row { gap: 12px; }
    .sfm-session-head h2 { font-size: 1.45rem; }
    .sfm-code { font-size: .94rem; }
    .sfm-inline-btn { width: 54px; height: 54px; }
    .sfm-popup {
        right: 12px;
        top: 60px;
        width: calc(100vw - 24px);
    }
}

.sfm-toggle.is-playing .sfm-play-icon {
    width: auto;
    height: auto;
    border: 0;
    margin: 0;
    display: flex;
    gap: 6px;
}
.sfm-toggle.is-playing .sfm-play-icon::before,
.sfm-toggle.is-playing .sfm-play-icon::after {
    content: "";
    display: block;
    width: 6px;
    height: 23px;
    border-radius: 3px;
    background: rgba(255,255,255,.98);
}

.sfm-reading-reveal {
    opacity: 0;
    transform: translateY(-18px);
    max-height: 0;
    overflow: hidden;
}
.sfm-reading-reveal.is-visible {
    animation: sfmWipeDown .8s ease forwards;
    max-height: 1000px;
}
@keyframes sfmWipeDown {
    0% {
        opacity: 0;
        transform: translateY(-18px);
        clip-path: inset(0 0 100% 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .sfm-reading-reveal,
    .sfm-reading-reveal.is-visible {
        animation: none;
        opacity: 1;
        transform: none;
        clip-path: none;
        max-height: none;
    }
}


/* ===== v0.1.9 overrides ===== */
.sfm-timer {
    font-family: "Roboto Condensed", Roboto, Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 22px !important;
    color: #4169E1 !important;
}

.sfm-progress-wrap {
    display: block !important;
    width: 100% !important;
    margin: 12px 0 22px !important;
}

.sfm-progress-track {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 3px !important;
    background: #d6d6d6 !important;
    border-radius: 999px !important;
    overflow: visible !important;
}

.sfm-progress-fill {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: #2f8f57 !important;
    border-radius: 999px !important;
    transform: scaleX(0);
    transform-origin: left center !important;
    transition: transform .18s linear !important;
    z-index: 1 !important;
}

.sfm-progress-labels {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    font-family: "Roboto Condensed", Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #555 !important;
}
.sfm-progress-labels .sfm-elapsed-time {
    margin-right: auto !important;
    text-align: left !important;
}
.sfm-progress-labels .sfm-end-time {
    margin-left: auto !important;
    text-align: right !important;
}

.sfm-alarm-markers {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
}
.sfm-alarm-marker {
    position: absolute !important;
    top: -2px !important;
    width: 3px !important;
    height: 7px !important;
    background: #fff !important;
    transform: translateX(-1.5px) !important;
    z-index: 4 !important;
    box-shadow: none !important;
}

.sfm-reading-block {
    margin: 30px 0 14px !important;
    text-align: left !important;
    opacity: 1 !important;
    transform: none !important;
    max-height: none !important;
    overflow: visible !important;
    clip-path: none !important;
}

.sfm-read-aloud-badge {
    display: inline-block;
    margin: 0 0 16px 0;
    padding: 4px 10px;
    border: 1px solid #555;
    border-radius: 999px;
    color: #444;
    background: transparent;
    font-family: Roboto, "Noto Sans KR", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-8px);
    clip-path: inset(0 0 100% 0);
}

.sfm-reading-block .sfm-readings {
    opacity: 0;
    transform: translateY(-10px);
    clip-path: inset(0 0 100% 0);
}

.sfm-reading-block.show-badge .sfm-read-aloud-badge {
    animation: sfmWipeBadge .55s ease forwards;
}
.sfm-reading-block.show-readings .sfm-readings {
    animation: sfmWipeReadings .8s ease forwards;
}

@keyframes sfmWipeBadge {
    from { opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
}
@keyframes sfmWipeReadings {
    from { opacity: 0; transform: translateY(-10px); clip-path: inset(0 0 100% 0); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
    .sfm-read-aloud-badge,
    .sfm-reading-block .sfm-readings {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        animation: none !important;
    }
}


/* ===== v0.2.0 typography and controls ===== */

/* Remaining time: Roboto Condensed 400 */
.sfm-timer {
    font-family: "Roboto Condensed", Roboto, Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* Timeline: plain Roboto */
.sfm-progress-labels,
.sfm-progress-labels .sfm-elapsed-time,
.sfm-progress-labels .sfm-end-time {
    font-family: Roboto, Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* Read aloud label: slightly larger and rounded-rectangle, not pill */
.sfm-read-aloud-badge {
    font-size: 13px !important;
    padding: 4px 9px !important;
    border: 1px solid #555 !important;
    border-radius: 6px !important;
}

/* Reading text and ordered-list numbers: plain Roboto */
.sfm-readings,
.sfm-readings li {
    font-family: Roboto, "Noto Sans KR", Arial, sans-serif !important;
    font-weight: 400 !important;
}
.sfm-readings li::marker {
    font-family: Roboto, Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* Play/stop control: darker gray */
.sfm-inline-btn {
    background: #666 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 5px 14px rgba(0,0,0,.12) !important;
}

/* Record buttons: tighter around text */
.sfm-record-actions {
    gap: 8px !important;
}
.sfm-record-save,
.sfm-record-cancel {
    min-width: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    font-size: .95rem !important;
    line-height: 1.25 !important;
}

/* No separate Finish control in the simplified play/stop flow */
.sfm-finish-wrap {
    display: none !important;
}


/* ===== v0.2.1 fixes ===== */

/* Remaining time: responsive size for mobile/desktop */
.sfm-timer {
    font-family: "Roboto Condensed", Roboto, Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(3.8rem, 11vw, 5rem) !important;
    line-height: 1 !important;
}

/* Hidden elements must actually stay hidden.
   Earlier .sfm-record-actions { display:flex } overrode the HTML hidden state. */
.sfm-record-actions[hidden],
.sfm-finish-wrap[hidden],
.sfm-popup[hidden],
.sfm-popup-backdrop[hidden] {
    display: none !important;
}

/* Only show record actions when JS removes hidden */
.sfm-record-actions:not([hidden]) {
    display: flex !important;
}

@media (max-width: 600px) {
    .sfm-timer {
        font-size: clamp(3.8rem, 17vw, 4.6rem) !important;
    }
}


/* ===== v0.2.2 list and record page ===== */
.sfm-list {
    display: block !important;
}

.sfm-meditation-list-item {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: transparent;
}

.sfm-meditation-title-link {
    display: inline-block;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #161616;
    font-family: Roboto, "Noto Sans KR", sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.sfm-meditation-title-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sfm-meditation-list-meta {
    font-family: Roboto, Arial, sans-serif;
    font-size: .95rem;
    font-weight: 300;
    color: #666;
    line-height: 1.5;
}

.sfm-status > div + div {
    margin-top: 5px;
}

.sfm-status a {
    color: #4169E1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sfm-records-page {
    max-width: 760px;
    margin: 0 auto;
    font-family: Roboto, "Noto Sans KR", sans-serif;
}

.sfm-records-title {
    margin: 0 0 24px;
    font-size: 1.5rem;
    font-weight: 400;
}

.sfm-record-item {
    padding: 14px 0;
    border-bottom: 1px solid #e6e6e6;
}

.sfm-record-item-title {
    font-size: 1.05rem;
    font-weight: 400;
}

.sfm-record-item-meta {
    margin-top: 5px;
    color: #666;
    font-size: .92rem;
    font-weight: 300;
}


/* ===== v0.2.3 list/player split ===== */
.sfm-list-page .sfm-meditation-title-link {
    text-decoration: none;
}

.sfm-list-page .sfm-meditation-title-link:hover,
.sfm-list-page .sfm-meditation-title-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sfm-list-page .sfm-meditation-list-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: .42rem;
    row-gap: .2rem;
}

.sfm-meta-dot {
    color: #999;
}

.sfm-entry-count {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    white-space: nowrap;
}

.sfm-fa-play {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .78em;
    line-height: 1;
}

@media (max-width: 600px) {
    .sfm-list-page .sfm-meditation-list-item {
        margin-bottom: 20px;
    }
}


/* ===== v0.2.9 player layout ===== */
.sfm-player-page .sfm-session-view {
    padding: 10px 8px 18px;
}

.sfm-player-page .sfm-session-head {
    width: 100%;
    margin: 0 0 51px;
    text-align: center;
}

.sfm-player-page .sfm-session-head h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.25;
}

.sfm-player-page .sfm-timer[hidden] {
    display: none !important;
}

.sfm-player-page .sfm-progress-wrap {
    margin: 0 0 28px !important;
}

.sfm-player-page .sfm-progress-track {
    height: 6px !important;
}

.sfm-player-page .sfm-progress-fill {
    height: 6px !important;
    border-radius: 0 !important;
    background: #111 !important;
}

.sfm-player-page .sfm-progress-head {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 2;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #111;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
    transform: translate(-50%, -50%);
    transition: left .18s linear;
    pointer-events: none;
}

.sfm-player-page .sfm-alarm-marker {
    top: -2px !important;
    width: 2px !important;
    height: 10px !important;
    transform: translateX(-1px) !important;
}

.sfm-player-page .sfm-progress-labels {
    display: grid !important;
    grid-template-columns: minmax(54px, 1fr) auto minmax(54px, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-variant-numeric: tabular-nums;
}

.sfm-player-page .sfm-progress-labels .sfm-elapsed-time {
    justify-self: start;
}

.sfm-player-page .sfm-progress-labels .sfm-end-time {
    justify-self: end;
}

.sfm-inline-alarm {
    justify-self: center;
    white-space: nowrap;
}

.sfm-player-page .sfm-inline-controls {
    justify-content: center;
    margin: 0 0 42px;
}

.sfm-player-page .sfm-inline-btn {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #3f3f3f;
}

.sfm-player-page .sfm-inline-btn:hover,
.sfm-player-page .sfm-inline-btn:active {
    background: transparent !important;
    color: #222;
}

.sfm-player-page .sfm-inline-btn:focus-visible {
    outline: 2px solid #3f3f3f;
    outline-offset: 3px;
}

.sfm-fa-control {
    font-size: 40px;
    line-height: 1;
}

.sfm-fa-control-pause,
.sfm-toggle.is-playing .sfm-fa-control-play {
    display: none;
}

.sfm-toggle.is-playing .sfm-fa-control-pause {
    display: inline-block;
}

.sfm-purpose-text {
    margin: 0 0 16px;
    color: #444;
    font-family: Roboto, "Noto Sans KR", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
    white-space: pre-line;
}

.sfm-player-page .sfm-reading-block {
    margin: 0 0 14px !important;
}

.sfm-player-page .sfm-reading-content {
    opacity: 0;
    transform: translateY(-10px);
    clip-path: inset(0 0 100% 0);
}

.sfm-player-page .sfm-reading-block.show-readings .sfm-reading-content {
    animation: sfmWipeReadings .8s ease forwards;
}

.sfm-player-page .sfm-reading-block .sfm-readings {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .sfm-player-page .sfm-reading-content {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .sfm-player-page .sfm-session-view {
        padding: 8px 2px 16px;
    }

    .sfm-player-page .sfm-session-head {
        margin-bottom: 45px;
    }

    .sfm-player-page .sfm-session-head h2 {
        font-size: 1.45rem;
    }

    .sfm-player-page .sfm-progress-labels {
        gap: 8px !important;
        font-size: 16px !important;
    }

    .sfm-inline-alarm {
        gap: 0;
    }
}


/* ===== v0.3.2 full-width player / remove outer pale border ===== */
.sfm-player-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body:has(.sfm-player-page) .entry-content {
    width: 100% !important;
    max-width: none !important;
}
body:has(.sfm-player-page) .inside-article {
    border: 0 !important;
    box-shadow: none !important;
}

/* v0.3.3 — Silence Time card list */
.sfm-card-list-page .sfm-list { display: grid !important; gap: 16px; }
.sfm-card-list-page .sfm-meditation-list-item { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.sfm-card-list-page .sfm-meditation-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 20px; border-radius: 17px; background: #F0F7F6; text-decoration: none !important; color: #242424; box-sizing: border-box; min-width: 0; }
.sfm-card-list-page .sfm-meditation-card-link:hover, .sfm-card-list-page .sfm-meditation-card-link:focus-visible { background: #E7F2F0; text-decoration: none !important; }
.sfm-card-list-page .sfm-meditation-card-link:focus-visible { outline: 2px solid #087E6E; outline-offset: 3px; }
.sfm-card-list-page .sfm-meditation-card-content { flex: 1 1 auto; min-width: 0; }
.sfm-card-list-page .sfm-meditation-card-number { color: #087E6E; font: 500 15px/1.4 Roboto, 'Noto Sans KR', sans-serif; margin-bottom: 9px; }
.sfm-card-list-page .sfm-meditation-card-title { color: #242424; font: 600 21px/1.35 'Noto Serif KR', 'Noto Sans KR', serif; overflow-wrap: anywhere; margin-bottom: 9px; }
.sfm-card-list-page .sfm-meditation-card-meta { color: #747A79; font: 400 14px/1.5 Roboto, 'Noto Sans KR', sans-serif; }
.sfm-card-list-page .sfm-meditation-card-status { flex: 0 0 58px; height: 58px; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.sfm-card-list-page .sfm-meditation-card-status.is-pending { background: #E0EBE8; }
.sfm-card-list-page .sfm-meditation-card-status.is-completed { background: #087E6E; color: #fff; font: 600 34px/1 Arial, sans-serif; }
@media(max-width:480px) { .sfm-card-list-page .sfm-meditation-card-link { padding: 18px 16px; gap: 12px; } .sfm-card-list-page .sfm-meditation-card-title { font-size: 19px; } .sfm-card-list-page .sfm-meditation-card-status { flex-basis: 52px; height: 52px; } }

/* v0.3.4 — title typography and bottom-right completion status */
.sfm-card-list-page .sfm-meditation-card-link { align-items: stretch; }
.sfm-card-list-page .sfm-meditation-card-title { font-family: Roboto, "Noto Sans KR", sans-serif !important; font-weight: 500 !important; }
.sfm-card-list-page .sfm-meditation-card-status { align-self: flex-end; }

/* v0.3.5 — completion indicator removed; full-width text area */
.sfm-card-list-page .sfm-meditation-card-content { flex: 1 1 100%; }

/* v0.3.6 — number +20%; duration/notification row +20%, one weight step */
.sfm-card-list-page .sfm-meditation-card-number { font-size: 18px; }
.sfm-card-list-page .sfm-meditation-card-meta { font-size: 16.8px; font-weight: 500; }

/* v0.3.7 — Radio Player 1.1-inspired ST interface (player only) */
.sfm-player-page .sfm-session-view{max-width:500px;margin:0 auto;padding:40px 20px 24px;box-sizing:border-box;font-family:Roboto,"Noto Sans KR",sans-serif;}
.sfm-player-page .sfm-session-head{margin:0 0 15px !important;text-align:center;}
.sfm-player-page .sfm-session-head h2{font-family:Roboto,"Noto Sans KR",sans-serif !important;font-size:1.3rem !important;font-weight:500 !important;color:#2E2E2E !important;line-height:1.4 !important;}
.sfm-player-page .sfm-player-cover{width:170px;height:170px;max-width:100%;object-fit:cover;display:block;margin:15px auto;border-radius:15px;}
.sfm-player-page .sfm-player-intro{font-family:Roboto,"Noto Sans KR",sans-serif !important;font-size:1.1rem !important;font-weight:400 !important;line-height:1.4 !important;color:#2E2E2E !important;text-align:center !important;white-space:pre-line;margin:30px 0 35px !important;padding:10px 20px !important;}
.sfm-player-page .sfm-progress-wrap{margin:15px auto 0 !important;width:90% !important;}
.sfm-player-page .sfm-progress-track{height:2px !important;background:#BBDEFB !important;border-radius:4px !important;overflow:visible !important;}
.sfm-player-page .sfm-progress-fill{height:4px !important;background:#2196F3 !important;border-radius:4px !important;}
.sfm-player-page .sfm-progress-head{display:none !important;}
.sfm-player-page .sfm-progress-labels{display:grid !important;grid-template-columns:minmax(54px,1fr) auto minmax(54px,1fr) !important;gap:10px !important;align-items:center !important;margin:12px 0 0 !important;font-size:1rem !important;color:#2E2E2E !important;}
.sfm-player-page .sfm-progress-labels .sfm-elapsed-time,.sfm-player-page .sfm-progress-labels .sfm-end-time{font-family:Roboto,"Noto Sans KR",sans-serif !important;font-size:1rem !important;font-weight:400 !important;color:#2E2E2E !important;}
.sfm-player-page .sfm-radio-controls{display:flex !important;align-items:center !important;justify-content:center !important;gap:20px !important;margin:15px auto 24px !important;}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn{display:flex !important;justify-content:center !important;align-items:center !important;width:42px !important;height:42px !important;padding:0 !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;color:#BB8D6F !important;cursor:pointer !important;}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn:hover{color:#A67454 !important;}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn:disabled{opacity:.35 !important;cursor:not-allowed !important;}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn i{font-size:1.5rem !important;line-height:1 !important;}
.sfm-player-page .sfm-reading-block{margin:8px auto 14px !important;}
.sfm-player-page .sfm-read-aloud-badge{font-family:Roboto,"Noto Sans KR",sans-serif !important;font-size:1.1rem !important;font-weight:500 !important;line-height:1.4 !important;color:#2E2E2E !important;}
.sfm-player-page .sfm-reading-content,.sfm-player-page .sfm-reading-block .sfm-readings,.sfm-player-page .sfm-reading-block .sfm-readings li{font-family:Roboto,"Noto Sans KR",sans-serif !important;font-size:1.1rem !important;font-weight:400 !important;line-height:1.4 !important;color:#2E2E2E !important;}
@media(max-width:480px){.sfm-player-page .sfm-session-view{padding:22px 10px 18px !important;}.sfm-player-page .sfm-session-head h2{font-size:1.3rem !important;}}

/* v0.3.8 — repeat and current local time; remove reading label without disturbing content spacing */
.sfm-player-page .sfm-radio-controls .sfm-repeat.is-active{color:#2196F3 !important;}
.sfm-player-page .sfm-wall-clock{font-family:Roboto,"Noto Sans KR",sans-serif;font-size:1rem;font-weight:400;color:#2E2E2E;text-align:center;margin:20px auto 4px;}
.sfm-player-page .sfm-reading-block .sfm-read-aloud-badge{display:none !important;}

/* v0.3.11 — screenshot-matched timeline, playback controls and wall clock.
   Scope: player only; reading, recording and TTS behavior unchanged. */
.sfm-player-page .sfm-progress-wrap {
    width: 70% !important;
    max-width: 350px !important;
    margin: 38px auto 0 !important;
}
.sfm-player-page .sfm-progress-track {
    height: 2px !important;
    background: #BBDEFB !important;
}
.sfm-player-page .sfm-progress-fill {
    height: 4px !important;
    background: #2196F3 !important;
}
.sfm-player-page .sfm-progress-labels {
    margin: 7px 0 0 !important;
    gap: 0 !important;
    font-size: 1rem !important;
    line-height: 1.3 !important;
}
.sfm-player-page .sfm-progress-labels .sfm-elapsed-time,
.sfm-player-page .sfm-progress-labels .sfm-end-time {
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}
.sfm-player-page .sfm-radio-controls {
    width: 80% !important;
    max-width: 390px !important;
    justify-content: space-between !important;
    gap: 0 !important;
    margin: 24px auto 24px !important;
}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn {
    width: 42px !important;
    height: 42px !important;
}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn i {
    font-size: 1.5rem !important;
}
.sfm-player-page .sfm-wall-clock {
    margin: 78px auto 52px !important;
    font-family: Roboto, "Noto Sans KR", sans-serif !important;
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: #2E2E2E !important;
    text-align: center !important;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
    .sfm-player-page .sfm-progress-wrap { width: 72% !important; }
    .sfm-player-page .sfm-radio-controls { width: 84% !important; }
}

/* v0.4.0 — lantern silhouette and gentle illumination */
.sfm-player-page .sfm-lantern {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    margin: 15px auto;
    padding: 0;
    border: 0;
    border-radius: 15px;
    overflow: visible;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}
.sfm-player-page .sfm-lantern:disabled { cursor: default; opacity: 1; }
.sfm-player-page .sfm-lantern .sfm-player-cover {
    width: 170px;
    height: 170px;
    max-width: 100%;
    object-fit: contain;
    background: transparent !important;
    margin: 0;
    filter: brightness(.16) saturate(.58) drop-shadow(0 0 0 rgba(255,196,91,0));
    transition: filter 5s ease;
}
.sfm-player-page .sfm-lantern-glow {
    pointer-events: none;
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    opacity: 0;
    background: radial-gradient(circle, rgba(255,196,91,.34) 0%, rgba(255,185,80,.14) 38%, transparent 74%);
    filter: blur(12px);
    transition: opacity 5s ease;
}
.sfm-player-page .sfm-lantern.sfm-lit .sfm-player-cover {
    filter: brightness(1) saturate(1) drop-shadow(0 0 10px rgba(255,200,92,.22)) drop-shadow(0 0 28px rgba(255,184,76,.16));
}
.sfm-player-page .sfm-lantern.sfm-lit .sfm-lantern-glow { opacity: 1; }
.sfm-player-page .sfm-lantern:not(:disabled):focus-visible{outline:2px solid #2196f3;outline-offset:5px;}
@media (prefers-reduced-motion:reduce){.sfm-player-page .sfm-lantern .sfm-player-cover,.sfm-player-page .sfm-lantern-glow{transition-duration:.01ms;}}

/* v0.4.2 — wider steady progress, centered endpoint clock labels, calmer lantern */
.sfm-player-page .sfm-progress-wrap {
    width: 84% !important;
    max-width: 408px !important;
}
.sfm-player-page .sfm-progress-track {
    height: 2px !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.sfm-player-page .sfm-progress-fill {
    height: 3px !important;
    top: 0 !important;
    border-radius: 0 !important;
    transition: transform .18s linear !important;
}
.sfm-player-page .sfm-progress-labels {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    overflow: visible !important;
}
.sfm-player-page .sfm-progress-labels .sfm-elapsed-time {
    justify-self: start !important;
    transform: translateX(-50%);
    margin: 0 !important;
    white-space: nowrap;
}
.sfm-player-page .sfm-progress-labels .sfm-end-time {
    justify-self: end !important;
    transform: translateX(50%);
    margin: 0 !important;
    white-space: nowrap;
}
.sfm-player-page .sfm-lantern {
    width: 128px !important;
    height: 128px !important;
}
.sfm-player-page .sfm-lantern .sfm-player-cover {
    width: 128px !important;
    height: 128px !important;
    filter: brightness(.36) saturate(.72) drop-shadow(0 0 0 rgba(255,196,91,0)) !important;
}
.sfm-player-page .sfm-lantern.sfm-lit .sfm-player-cover {
    filter: brightness(1) saturate(1) drop-shadow(0 0 10px rgba(255,200,92,.22)) drop-shadow(0 0 28px rgba(255,184,76,.16)) !important;
}
@media (max-width:480px) {
    .sfm-player-page .sfm-progress-wrap { width: 84% !important; }
}

/* v0.4.3: continuous timeline. Hide only the visual intermediate-alarm ticks;
   the timing/audio alarm logic and its ON/OFF switch remain unchanged. */
.sfm-player-page .sfm-alarm-markers,
.sfm-player-page .sfm-alarm-marker { display: none !important; }

/* v0.4.5 — 하단 현재 시계만 10% 축소 (24px → 21.6px). */
.sfm-player-page .sfm-wall-clock { font-size: 1.35rem !important; }

/* v0.4.6 — compact player controls, balanced lantern spacing and clock */
.sfm-player-page .sfm-lantern {
    margin-top: 19px !important;
    margin-bottom: 11px !important;
}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn {
    width: 38.64px !important;
    height: 38.64px !important;
}
.sfm-player-page .sfm-radio-controls .sfm-inline-btn i {
    font-size: 1.38rem !important;
}
.sfm-player-page .sfm-wall-clock {
    font-size: 1.242rem !important;
    margin-top: 61px !important;
}

/* v0.4.7 — ordered meditation layout and consistent rhythm */
.sfm-player-page .sfm-session-view .sfm-player-intro {
    text-align: justify !important;
    text-justify: inter-word;
    margin: 0 auto 22px !important;
    padding: 0 12px !important;
    max-width: 500px;
    overflow-wrap: break-word;
}
.sfm-player-page .sfm-session-head { margin-bottom: 22px !important; }
.sfm-player-page .sfm-reading-block { margin: 0 auto 22px !important; }
.sfm-player-page .sfm-progress-wrap { margin: 0 auto 22px !important; }
.sfm-player-page .sfm-lantern { margin: 0 auto 22px !important; }
.sfm-player-page .sfm-radio-controls { margin: 0 auto 22px !important; }
.sfm-player-page .sfm-wall-clock { margin: 20px auto 16px !important; }
.sfm-player-page .sfm-toggle:disabled { cursor: default !important; }

/* v0.4.8 — always show registered read-aloud text. Do not depend on transition state. */
.sfm-player-page .sfm-reading-content,
.sfm-player-page .sfm-reading-block.show-readings .sfm-reading-content {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    visibility: visible !important;
}
/* Spacing from read-aloud text to the timeline: 22px × 2.5 = 55px. */
.sfm-player-page .sfm-reading-block { margin: 0 auto 55px !important; }
.sfm-player-page .sfm-progress-wrap { margin: 0 auto 22px !important; }
.sfm-player-page .sfm-radio-controls { margin: 0 auto 22px !important; }
.sfm-player-page .sfm-lantern { margin: 0 auto 22px !important; }
