.copyright-page {
    min-height: 100vh;
    background: #f5f7fb;
    padding: clamp(32px, 6vw, 72px) 0 80px;
    padding-bottom: 80px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

.copyright-page.dnd-active::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(46, 107, 255, 0.08);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.copyright-hero {
    position: relative;
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 48px) clamp(32px, 5vw, 60px);
    color: #0f1a2c;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(103, 159, 255, 0.18), transparent 55%);
    margin: 0 auto 24px;
    max-width: 1200px;
    border-radius: 32px;
    border: 1px solid #e6ecf7;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.copyright-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(47, 124, 255, 0.25), transparent 60%);
    filter: blur(90px);
    z-index: -1;
}

.copyright-hero__content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copyright-hero__title {
    font-size: clamp(34px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.copyright-hero__subtitle {
    font-size: 18px;
    color: rgba(15, 26, 44, 0.72);
    max-width: 560px;
    margin: 0 auto;
}

.copyright-panels {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 4vw, 32px);
    align-items: stretch;
}

.console-card {
    background: #fff;
    border: 1px solid #e6ecf7;
    border-radius: 24px;
    padding: clamp(26px, 4vw, 36px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.console-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #0f1a2c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.console-card h2::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #5a84ff, #256fff);
    border-radius: 999px;
}

.console-card p {
    color: #5c6378;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.upload-card form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.upload-dropzone {
    border: 2px dashed #d5def3;
    background: #f8fbff;
    border-radius: 18px;
    padding: 40px 26px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.upload-dropzone.is-dragover {
    border-color: #2e6bff;
    background: rgba(46, 107, 255, 0.06);
    box-shadow: 0 15px 35px rgba(46, 107, 255, 0.15);
}

.upload-dropzone:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 107, 255, 0.2);
}

.upload-default {
    pointer-events: none;
}

.upload-text {
    font-size: 16px;
    font-weight: 600;
    color: #1a2142;
}

.upload-subtext {
    font-size: 13px;
    color: #6b738c;
    margin-top: 6px;
}

.upload-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 12px;
}

.upload-detail[hidden] {
    display: none;
}

.upload-detail-main {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.upload-file-name {
    font-size: 16px;
    font-weight: 600;
    color: #111833;
    word-break: break-all;
}

.upload-file-meta {
    font-size: 13px;
    color: #6d7390;
    margin-top: 4px;
}

.upload-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.upload-action {
    border: 1px solid #d2daf0;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    color: #4a5682;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.upload-action:hover {
    border-color: #2e6bff;
    color: #2e6bff;
}

.upload-action--danger {
    border-color: #ffb3b1;
    color: #d83a40;
}

.upload-action--danger:hover {
    border-color: #ff7875;
    color: #a8071a;
}

.upload-status {
    font-size: 13px;
    color: #4f566b;
    margin-top: 4px;
    padding: 12px 16px;
    background: #f6f8ff;
    border: 1px solid #dee5fb;
    border-radius: 14px;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.upload-safe-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b738c;
    margin-top: 8px;
    padding: 10px 12px;
    background: #f0f4ff;
    border-radius: 12px;
}

.upload-safe-label span:first-child {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #28c76f, #1ea95d);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.upload-safe-label span:last-child {
    line-height: 1.5;
}

.copyright-page .btn-primary {
    background: linear-gradient(90deg, #2e6bff, #1890ff);
    border: none;
    box-shadow: 0 8px 20px rgba(46, 107, 255, 0.25);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 0;
    border-radius: 12px;
    margin-top: 24px;
    width: 100%;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copyright-page .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(46, 107, 255, 0.35);
}

.copyright-page .btn-primary.btn--loading {
    opacity: 0.85;
    cursor: wait;
}

.result-panel {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-status {
    align-self: flex-start;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.result-status--success {
    background: rgba(46, 182, 125, 0.12);
    color: #1a9d63;
    border-color: rgba(26, 157, 99, 0.25);
}

.result-status--error {
    background: rgba(255, 77, 79, 0.12);
    color: #d4380d;
    border-color: rgba(255, 77, 79, 0.2);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-grid li {
    border: 1px solid #e9eef8;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.result-grid .result-label {
    color: #7b829b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-grid .result-value {
    color: #161d3a;
    font-weight: 600;
    font-family: "SF Mono", "Roboto Mono", Consolas, monospace;
    font-size: 15px;
    width: 100%;
}

.result-error {
    color: #d4380d;
    background: rgba(255, 198, 198, 0.35);
    border: 1px solid rgba(255, 172, 172, 0.6);
    border-radius: 12px;
    padding: 14px 18px;
    line-height: 1.5;
}

.result-error-link {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    color: #2e6bff;
    font-weight: 600;
    text-decoration: none;
}

.result-error-link::after {
    content: '↗';
    font-size: 13px;
    margin-left: 4px;
}

.result-error-link:hover {
    text-decoration: underline;
}

.result-placeholder {
    border: 1px dashed #d5def3;
    border-radius: 16px;
    padding: 20px 22px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    gap: 18px;
}

.result-placeholder__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(46, 107, 255, 0.12);
    color: #2e6bff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.result-placeholder__icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-placeholder__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-placeholder__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111833;
}

.result-placeholder__desc {
    margin: 0;
    font-size: 14px;
    color: #5c6378;
}

.result-placeholder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.result-placeholder__btn {
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    background: linear-gradient(90deg, #2e6bff, #1890ff);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.result-placeholder__btn:hover {
    opacity: 0.9;
}

.result-placeholder__link {
    font-size: 13px;
    color: #2e6bff;
    text-decoration: none;
    padding: 6px 0;
}

.result-placeholder__link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .copyright-panels {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .copyright-hero {
        padding: 48px 24px 36px;
        text-align: center;
    }
    .copyright-hero__content {
        align-items: center;
        margin: 0 auto;
    }
    .copyright-hero__title {
        font-size: 30px;
        letter-spacing: 0;
    }
    .console-card {
        padding: 24px;
    }
    .upload-dropzone {
        min-height: 170px;
        padding: 32px 20px;
    }
    .result-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .result-grid li {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .copyright-hero {
        border-radius: 24px;
    }
    .copyright-hero__subtitle {
        font-size: 16px;
    }
    .copyright-panels {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    .upload-detail {
        flex-direction: column;
        align-items: flex-start;
    }
    .upload-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .result-placeholder {
        flex-direction: column;
        align-items: flex-start;
    }
    .result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .upload-dropzone {
        padding: 28px 16px;
    }
    .upload-actions {
        flex-direction: column;
        gap: 6px;
    }
    .upload-action {
        width: 100%;
        text-align: center;
    }
    .console-card {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .copyright-page .main-header__menu-toggle {
        display: inline-flex !important;
    }
    .copyright-page .header-user-chip {
        display: inline-flex !important;
    }
    .copyright-page .main-header__actions {
        display: inline-flex !important;
    }
}

