/**
 * 사주 팔자표 스타일
 */

.sc-container {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    padding: 10px 0 !important;
}

.sc-container > .sc-info-block,
.sc-container > .sc-title,
.sc-container > .sc-subtitle,
.sc-container > .sc-table-wrap {
    margin-left: 16px !important;
    margin-right: 16px !important;
}

.sc-container > .sc-info-block {
    margin-top: 24px !important;
}

.sc-container > .sc-title {
    margin-top: 24px !important;
}

.sc-info-block {
    background: #fffdf7 !important;
    border-radius: 0 !important;
    padding: 32px 28px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
    border: 3px double #8B7355 !important;
    outline: 1px solid #8B7355 !important;
    outline-offset: 4px !important;
    position: relative !important;
}

.sc-info-block::before,
.sc-info-block::after {
    content: '' !important;
    position: absolute !important;
    width: 12px !important;
    height: 12px !important;
    border-color: #8B7355 !important;
    border-style: solid !important;
}

.sc-info-block::before {
    bottom: 6px !important;
    left: 6px !important;
    border-width: 0 0 2px 2px !important;
}

.sc-info-block::after {
    bottom: 6px !important;
    right: 6px !important;
    border-width: 0 2px 2px 0 !important;
}

.sc-info-name-tag {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: #D4850E !important;
    padding: 5px 10px !important;
    border-radius: 14px !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
}

.sc-info-label {
    display: inline !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #8b95a1 !important;
    margin-bottom: 16px !important;
}

.sc-info-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    justify-content: center !important;
}

.sc-info-item {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #191f28 !important;
    font-family: 'Nanum Myeongjo', serif !important;
    white-space: nowrap !important;
}

.sc-info-divider {
    width: 1px !important;
    height: 12px !important;
    background: #d4d4d8 !important;
    margin: 0 10px !important;
    flex-shrink: 0 !important;
}

.sc-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #191f28 !important;
    text-align: center !important;
    margin-bottom: 4px !important;
}

.sc-subtitle {
    font-size: 13px !important;
    color: #a1a1aa !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.sc-table-wrap {
    background: #fffdf7 !important;
    border: 3px double #8B7355 !important;
    outline: 1px solid #8B7355 !important;
    outline-offset: 4px !important;
    position: relative !important;
    padding: 8px !important;
}

.sc-table-wrap::before,
.sc-table-wrap::after {
    content: '' !important;
    position: absolute !important;
    width: 12px !important;
    height: 12px !important;
    border-color: #8B7355 !important;
    border-style: solid !important;
}

.sc-table-wrap::before {
    bottom: 6px !important;
    left: 6px !important;
    border-width: 0 0 2px 2px !important;
}

.sc-table-wrap::after {
    bottom: 6px !important;
    right: 6px !important;
    border-width: 0 2px 2px 0 !important;
}

.sc-table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    border: none !important;
}

.sc-header {
    padding: 10px 4px !important;
    text-align: center !important;
    font-family: 'Noto Serif SC', serif !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #71717a !important;
    background: transparent !important;
    border: 1px solid #e4e4e7 !important;
}

.sc-row-label {
    width: 75px !important;
    min-width: 75px !important;
    text-align: center !important;
    background: transparent !important;
    border: 1px solid #e4e4e7 !important;
    padding: 6px 4px !important;
    vertical-align: middle !important;
}

.sc-cell {
    padding: 8px 4px !important;
    text-align: center !important;
    border: 1px solid #e4e4e7 !important;
    vertical-align: middle !important;
}

.sc-table tr:first-child th { border-top: none !important; }
.sc-table tr:last-child td { border-bottom: none !important; }
.sc-table tr th:first-child,
.sc-table tr td:first-child { border-left: none !important; }
.sc-table tr th:last-child,
.sc-table tr td:last-child { border-right: none !important; }

.sc-cell-main {
    padding: 8px 6px !important;
    background: transparent !important;
}

.sc-pillar-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    padding: 8px 4px !important;
    min-height: 70px !important;
}

.sc-hanja {
    display: block !important;
    font-family: 'Noto Serif SC', serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.2 !important;
}

.sc-box-sub {
    display: block !important;
    font-size: 10px !important;
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 2px !important;
}

.sc-box-info {
    display: block !important;
    font-size: 10px !important;
    color: rgba(255,255,255,0.7) !important;
    margin-top: 2px !important;
}

.sc-cell-label {
    padding: 6px 4px !important;
    background: transparent !important;
}

.sc-cell-sinsal {
    padding: 6px 4px !important;
    background: transparent !important;
}

.sc-sinsal-text {
    display: block !important;
    font-family: 'Noto Serif SC', serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #3f3f46 !important;
    line-height: 1.3 !important;
}

.sc-sinsal-kr {
    display: block !important;
    font-size: 10px !important;
    color: #a1a1aa !important;
    margin-bottom: 4px !important;
}

.sc-empty-cell {
    color: #d4d4d8 !important;
    font-size: 13px !important;
}

.sc-empty {
    text-align: center !important;
    padding: 40px 16px !important;
    color: #a1a1aa !important;
    font-size: 14px !important;
}
