/* 유료 결과 페이지 - 웹툰 스타일 레이아웃 */

html, body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pdr-wrap {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    background: #f9fafb !important;
    position: relative !important;
}

.pdr-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb !important;
    flex-shrink: 0 !important;
}

.pdr-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.pdr-back,
.pdr-share {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #191f28 !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
}

.pdr-back:hover,
.pdr-share:hover {
    background: #f4f4f5 !important;
}

.pdr-back:active,
.pdr-share:active {
    background: #e4e4e7 !important;
}

.pdr-header-titles {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.pdr-header-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #191f28 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.pdr-header-product {
    font-size: 12px !important;
    color: #a1a1aa !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.pdr-header-product:empty {
    display: none !important;
}


.pdr-content {
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
}


.pdr-footer {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 16px !important;
    padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    border-top: 1px solid #e5e7eb !important;
    flex-shrink: 0 !important;
}

.pdr-footer-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 8px 12px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #191f28 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
}

.pdr-footer-btn:hover {
    background: #f4f4f5 !important;
}

.pdr-footer-btn:active {
    background: #e4e4e7 !important;
}

.pdr-footer-btn:disabled {
    color: #d4d4d8 !important;
    cursor: not-allowed !important;
}

.pdr-footer-btn:disabled:hover,
.pdr-footer-btn:disabled:active {
    background: none !important;
}

.pdr-footer-nav {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
