#sfApp {
    
}

.sf-ui {
    position: fixed;
    z-index: 200;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.sf-ui.is-ready {
    opacity: 1;
}

.sf-floating-icons {
    position: absolute;
    top: 100px;
    right: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.sf-icon-btn {
    width: 68px;
    height: 68px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.sf-icon-btn:hover,
.sf-icon-btn:focus-visible {
    background: rgba(28,28,28,0.96);
    border-color: rgba(255,255,255,0.16);
    outline: none;
}

.sf-icon {
    width: 50px;
    height: 50px;
    display: block;
    opacity: 0.72;
}

.sf-panel-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    pointer-events: none;
    opacity: 0;
    z-index: 39;
}

.sf-panel-overlay.is-active {
    pointer-events: auto;
    opacity: 1;
}

.sf-panel {
    position: absolute;
    top: 40px;
    right: 67px;
    width: min(540px, calc(100vw - 150px));
    background: rgba(20,20,20,0.92);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 40;
}

/* .page-id-694 .sf-panel { ///// BLUEPRINT PAGE
    width: min(302px, calc(100vw - 150px));
} */

.sf-panel.is-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.sf-panel-inner {
    padding: 34px 48px 36px;
}

.sf-panel-title {
    margin: 0 0 28px;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-align: center;
}

.sf-title-strong {
    display: inline-block;
    font-family: inherit;
    font-size: clamp(20px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
}

.sf-title-light {
    display: inline-block;
    margin-left: 10px;
    font-family: inherit;
    font-size: clamp(20px, 4vw, 40px);
    font-weight: 300;
    color: rgba(255,255,255,0.42);
}

.sf-player-wrap {
    display: flex;
    justify-content: center;
    margin: 8px 0 34px;
}

.sf-modal-play-btn {
    width: 160px;
    height: 160px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sf-modal-play-icon {
    width: 160px;
    height: 160px;
    display: block;
    position: relative;
    z-index: 2;
}

.sf-modal-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: rotate(-90deg);
    transition: opacity 0.24s ease;
    z-index: 3;
}

.sf-modal-play-btn.is-loading-progress .sf-modal-progress,
.sf-modal-progress.is-visible {
    opacity: 1;
}

.sf-modal-progress-track,
.sf-modal-progress-ring {
    fill: none;
    stroke-width: 8;
}

.sf-modal-progress-track {
    stroke: rgba(255,255,255,0.16);
}

.sf-modal-progress-ring {
    stroke: rgba(255,255,255,0.92);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.35s ease, opacity 0.25s ease;
}

.sf-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 30px;
}

.sf-choice-col {
    display: flex;
    flex-direction: column;
}

.sf-choice-label {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.18);
    margin: 0 0 10px;
    text-align: center;
}

.sf-choice-btn {
    height: 60px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: rgba(255,255,255,0.34);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    margin: 0 5px;
}

.sf-choice-btn + .sf-choice-btn {
    margin-top: -1px;
}

.sf-choice-btn:hover,
.sf-choice-btn:focus-visible {
    color: rgba(255,255,255,0.72);
    outline: none;
}

.sf-choice-btn.is-active {
    color: #fff;
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.02);
}

.sf-panel-description {
    font-size: 24px;
    line-height: 1.45;
    font-weight: 300;
    color: rgba(255,255,255,0.28);
    max-width: 94%;
}

.sf-info-header {
    margin-bottom: 20px;
    text-align: center;
}

.sf-info-keyword {
    margin: 0;
    font-size: clamp(44px, 2vw, 66px) !important;
    line-height: 0.95;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.sf-info-mantra {
    font-size: clamp(36px, 1vw, 56px);
    line-height: 1;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
    margin-top: 4px;
    text-transform: uppercase;
}

.sf-info-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 20px 0 24px;
    width: 100%;
}

.sf-info-code-number {
    font-size: 44px;
    font-weight: 700;
    color: rgba(255,255,255,0.72);
    min-width: 90px;
    text-align: right;
}

.sf-info-hexagram img {
    display: block;
    width: 170px;
    height: auto;
    opacity: 0.78;
}

.sf-info-elements {
    font-size: 28px;
    line-height: 1.05;
    font-weight: 300;
    color: rgba(197,177,217,0.7);
    letter-spacing: 0.04em;
}

.sf-info-meta {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 10px 0 28px;
}

.sf-info-meta-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    min-height: 88px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sf-info-meta-label {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.18);
    text-align: right;
    margin-right: 20px;
}

.sf-info-meta-value {
font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
}

.sf-info-meta-action {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.24);
  text-underline-offset: 0.12em;
  transition: opacity 0.18s ease, text-decoration-color 0.18s ease, color 0.18s ease;
}

.sf-info-meta-action:hover,
.sf-info-meta-action:focus-visible {
  opacity: 1;
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.6);
}

.sf-info-meta-separator {
  display: inline-block;
  opacity: 0.4;
  padding: 0 0.45em;
}

.sf-control-group {
    margin-bottom: 18px;
}

.sf-control-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.44);
    margin-bottom: 8px;
}

.sf-control-field {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
}

.sf-control-actions {
    display: flex;
    gap: 10px;
    margin: 28px 0 24px;
}

.sf-control-btn {
    height: 44px;
    padding: 0 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.sf-control-btn:hover,
.sf-control-btn:focus-visible {
    background: rgba(255,255,255,0.08);
    outline: none;
}

@media (max-width: 980px) {
    .sf-floating-icons {
        position: fixed;
        top: auto;
        right: 0px;
        bottom: 100px;
    }

    .sf-icon-btn {
        width: 58px;
        height: 58px;
    }

    .sf-panel {
        position: fixed;
        top: auto;
        right: 88px;
        bottom: 18px;
        left: auto;
        width: min(520px, calc(100vw - 110px));
        max-height: calc(100vh - 36px);
        overflow: auto;
    }

    /* .page-id-694 .sf-panel { /* ///// BLUEPRINT PAGE */
       width: min(520px, calc(100vw - 110px));
   /* } */

    .sf-panel-inner {
        padding: 26px 28px 28px;
    }

    .sf-modal-play-btn,
    .sf-modal-play-icon,
    .sf-modal-progress {
        width: 120px;
        height: 120px;
    }

    .sf-choice-btn {
        height: 64px;
        font-size: 24px;
    }

    .sf-panel-description {
        font-size: 20px;
    }

    .sf-info-meta-row {
        grid-template-columns: 120px 1fr;
        min-height: 72px;
    }

    .sf-info-meta-label {
        font-size: 22px;
    }

    .sf-info-meta-value {
        font-size: 28px;
    }


}

@media (max-width: 680px) {
    .sf-panel {
        position: fixed;
        right: 0px;
        left: 0px;
        width: auto;
        top: 16px;
        bottom: 86px;
        max-height: none;
        overflow: auto;
    }

    .sf-choice-grid {
        grid-template-columns: 1fr;
    }

    .sf-panel-description {
        max-width: 100%;
    }
}
