* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #165DFF 0%, #36CFC9 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.header {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}
.header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.header p {
    font-size: 0.9rem;
    opacity: 0.9;
}
.license-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 100%;
}
.image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}
.license-image {
    width: 100%;
    height: auto;
    display: block;
}
.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}
.watermark-text {
    position: absolute;
    color: rgba(22, 93, 255, 0.12);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    transform: rotate(-30deg);
    user-select: none;
}
.watermark-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-top: 2px solid #165DFF;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.watermark-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.watermark-bottom-left p {
    color: #165DFF;
    font-weight: bold;
    font-size: 14px;
}
.watermark-bottom-right {
    text-align: right;
}
.watermark-bottom-right p {
    color: #666;
    font-size: 12px;
}
.watermark-info {
    margin-top: 20px;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
}
.watermark-info h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
}
.watermark-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}
.watermark-info span {
    font-weight: bold;
    color: #165DFF;
    margin-left: 5px;
}
.back-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: white;
    color: #165DFF;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.back-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}
.loading {
    text-align: center;
    padding: 50px;
    color: #666;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top-color: #165DFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.notice {
    margin-top: 15px;
    padding: 10px 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #856404;
}
.error-message {
    text-align: center;
    padding: 30px;
    color: #dc3545;
}
.error-message p {
    margin: 5px 0;
}
.error-message .detail {
    color: #666;
    font-size: 0.8rem;
}
