:root {
    --primary-color: #2c3e50; /* Dark Blue */
    --accent-color: #3498db; /* Bright Blue */
    --success-color: #2ecc71; /* Green */
    --background-color: #ecf0f1; /* Light Gray */
    --card-unselected: #ffffff;
    --card-selected: var(--accent-color);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    text-align: left;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: inline-block;
}

h1 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
}

h2 {
    text-align: center;
    font-size: 1.2em;
    font-weight: normal;
    margin-bottom: 30px;
}

h3 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* --- Section 3: Device Grid - Responsive Core --- */

.device-grid {
    display: grid;
    /* 桌面端/平板：至少150px宽度，自动排列 */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 15px;
    margin-bottom: 20px;
}

.device-card {
    background-color: var(--card-unselected);
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
    font-size: 0.9em; /* 桌面端文字略小 */
    position: relative;
    outline: none;
}

.device-card:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.device-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-name {
    font-size: 1em; /* 卡片名称字体增大，更加醒目 */
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.3;
}

.device-card.selected {
    background-color: var(--card-selected);
    border-color: var(--card-selected);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

.device-card.selected i {
    color: white;
}

.device-card:hover:not(.selected) {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    width: 100%;
}

.quantity-control button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0 8px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 1.1em;
    border-radius: 4px;
}

.device-card.selected .quantity-control button {
    background: white;
    color: var(--primary-color);
}

.quantity-control span {
    margin: 0 10px;
    font-weight: bold;
    color: var(--primary-color);
}
.device-card.selected .quantity-control span {
    color: white;
}

.device-card:not(.selected) .quantity-control {
    display: none !important; 
}

.toggle-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}

.hidden {
    display: none !important;
}

/* --- Advanced Area (Grouping) --- */

.advanced-area {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f8f8;
}

.category-group h4 {
    color: var(--accent-color);
    margin-top: 15px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

/* --- Section 4: Control Panel - Desktop Layout --- */

#control-panel {
    background-color: var(--card-unselected);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.control-header {
    /* 桌面端：显示表头 */
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    font-weight: bold;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 12px;
    margin-bottom: 15px;
    align-items: start;
}

.header-col-name {
    color: var(--primary-color);
    font-size: 0.95em;
}

.header-col-watt,
.header-col-hour {
    color: var(--primary-color);
    font-size: 0.95em;
}

.header-description {
    display: block;
    font-weight: normal;
    font-size: 0.75em;
    color: #7f8c8d;
    margin-top: 4px;
    line-height: 1.4;
}

.device-control-row {
    /* 桌面端：单行三列 */
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    align-items: center;
    padding: 10px 0; /* 从15px 0缩小到10px 0，减少行间距 */
    border-bottom: 1px dotted #eee;
}

.col-name {
    text-align: left;
}

.control-group {
    /* 桌面端：只显示控件，标签在表头 */
    display: flex;
    align-items: center;
    width: 100%;
}

.control-label {
    /* 桌面端隐藏标签（标签在表头） */
    display: none;
}

.mobile-only {
    /* 移动端显示 */
    display: none;
}

/* 桌面端：标签+输入框行显示为一行（包含输入框和滑块） */
.label-input-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 5px;
}

.input-with-unit input[type="number"] {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}

/* 桌面端：滑块包装器显示在标签+输入框行的右侧 */
.slider-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* 允许flex收缩 */
}

.slider-wrapper input[type="range"] {
    width: 100%;
}

input[type="range"] {
    width: 100%;
}

.placeholder-text {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 20px 0;
}

/* --- Section 5: Results --- */

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.result-box {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--success-color);
    margin: 5px 0;
}

.breakdown {
    background-color: #f1f2f3;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* --- Mobile Adaptiveness (Media Queries) --- */

@media (max-width: 768px) {
    /* 移动端基础字体优化 */
    body {
        font-size: 13px; /* 移动端基础字体从14px缩小到13px */
    }
    
    /* 标题字体优化 */
    h1 {
        font-size: 1.4em; /* 移动端从1.5em缩小到1.4em */
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 0.95em; /* 移动端从1em缩小到0.95em */
        margin-bottom: 18px;
    }
    
    h3 {
        font-size: 1em; /* 移动端从1.1em缩小到1em */
        margin-top: 25px;
        margin-bottom: 12px;
        padding-bottom: 6px;
    }
    
    .subtitle {
        font-size: 0.85em; /* 副标题从0.9em缩小到0.85em */
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    /* 1. 卡片优化: 更紧凑的 3xN 布局 */
    .device-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .device-card {
        min-height: 95px; /* 从90px增加到95px，给字体更多空间 */
        font-size: 0.75em; /* 从0.7em增大到0.75em，增加整体字体 */
        padding: 10px 8px; /* 垂直方向从8px增加到10px，给字体更多呼吸空间 */
    }
    .device-card i {
        font-size: 1.9em; /* 从1.6em增大到1.9em，图标更醒目 */
        margin-bottom: 8px;
    }
    
    /* 移动端卡片名称增大 */
    .card-name {
        font-size: 1.2em; /* 从0.92em增大到1.2em，更加醒目 */
        font-weight: 600;
        margin: 5px 0;
        line-height: 1.3;
    }

    /* 2. 控制台优化: 垂直堆叠布局 */
    .control-header {
        display: none !important; /* 强制隐藏表头 */
    }
    
    /* 防止JS内联样式覆盖，强制隐藏表头 */
    #control-header {
        display: none !important;
    }
    
    .device-control-row {
        /* 移动端改为单列，垂直堆叠所有控制项 */
        grid-template-columns: 1fr; 
        border: 1px solid #ccc;
        border-radius: 6px;
        margin-bottom: 12px;
        padding: 8px; /* 从10px缩小到8px */
        background-color: #f7f7f7;
    }

    .col-name {
        font-weight: bold;
        text-align: left;
        margin-bottom: 3px; /* 从4px进一步缩小到3px */
        border-bottom: 1px solid #eee;
        padding-bottom: 2px; /* 从3px进一步缩小到2px */
        font-size: 0.88em;
    }
    
    .control-group {
        /* 移动端垂直排列 */
        display: flex; 
        flex-direction: column;
        align-items: flex-start;
        padding-top: 3px; /* 从4px进一步缩小到3px */
        width: 100%;
    }
    
    .control-group:first-of-type {
        margin-bottom: 4px; /* 从6px进一步缩小到4px，减少电器名称和Running Watts之间的间距 */
    }
    
    /* 移动端：显示标签+输入框行 */
    .label-input-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 3px; /* 从4px进一步缩小到3px */
        gap: 10px;
    }
    
    /* 移动端显示标签 */
    .mobile-only {
        display: block;
        font-size: 0.8em; /* 从0.85em缩小到0.8em */
        font-weight: 600;
        color: var(--primary-color);
        opacity: 0.9;
        flex-shrink: 0;
    }
    
    /* 移动端：输入框+单位 */
    .input-with-unit {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
    }
    
    .input-with-unit input[type="number"] {
        width: 70px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 5px; /* 从6px缩小到5px */
        font-size: 0.9em; /* 从0.95em缩小到0.9em */
    }
    
    .input-with-unit span {
        font-size: 0.85em; /* 单位文字也缩小 */
    }
    
    /* 移动端：滑块独立一行 */
    .slider-wrapper {
        display: block;
        width: 100%;
        margin-top: 0px; /* 从1px缩小到0px */
    }
    
    /* 减少控制面板整体内边距，让内容更紧凑 */
    .device-control-row {
        padding: 6px; /* 保持6px，已经比较紧凑了 */
    }
    
    .slider-wrapper input[type="range"] {
        width: 100%;
    }
    
    /* 隐藏桌面端的slider-container结构 */
    .slider-container {
        display: none;
    }

    /* 3. 结果优化 */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* 减小间距 */
    }
    
    .result-box {
        padding: 15px; /* 从20px缩小到15px */
    }
    
    .result-box h4 {
        font-size: 0.95em; /* 结果标题缩小 */
        margin-bottom: 8px;
    }
    
    .result-value {
        font-size: 2em; /* 从2.5em缩小到2em */
        margin: 8px 0;
    }
    
    .result-label {
        font-size: 0.8em; /* 结果标签缩小 */
        line-height: 1.4;
    }
    
    /* Breakdown区域优化 */
    .breakdown {
        padding: 12px; /* 从15px缩小到12px */
        margin-bottom: 20px; /* 从30px缩小到20px */
    }
    
    .breakdown h4 {
        font-size: 0.95em; /* Breakdown标题缩小 */
        margin-bottom: 10px;
    }
    
    .reasoning-text {
        font-size: 0.85em; /* 说明文字缩小 */
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    /* 按钮字体优化 */
    .toggle-button {
        font-size: 0.9em; /* 切换按钮字体缩小 */
        padding: 8px 15px; /* 减小内边距 */
    }
    
    .share-button {
        font-size: 0.85em; /* 分享按钮字体缩小 */
        padding: 8px 15px; /* 减小内边距 */
    }
    
    .add-custom-btn {
        font-size: 0.85em; /* 添加自定义设备按钮字体缩小 */
        padding: 10px 15px; /* 减小内边距 */
    }
    
    /* Logo和Header优化 */
    .logo {
        font-size: 1.3em; /* Logo字体缩小 */
        padding: 12px 15px; /* 减小内边距 */
        gap: 10px; /* 移动端减小logo和文字间距 */
    }
    
    .logo-img {
        height: 32px; /* 移动端logo缩小 */
        width: auto;
    }
    
    /* Container优化 */
    .container {
        padding: 15px; /* 从20px缩小到15px */
    }
    
    /* Header容器优化 */
    .header-container {
        padding: 0 15px; /* 与container的padding保持一致 */
    }
}

@media (max-width: 480px) {
    /* 窄屏手机上：2列布局 */
    .device-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* --- Loading State --- */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--primary-color);
}

.loading-spinner i {
    font-size: 2em;
    margin-right: 10px;
}

/* --- Results Animation --- */
.results-updated .result-value {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* --- Results Header --- */
.results-header {
    margin-bottom: 20px;
}

/* --- Help Icons --- */
.help-icon {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 2px 5px;
    font-size: 0.9em;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.help-icon:hover {
    color: #2980b9;
}

.result-box {
    position: relative;
}

/* --- Help Modal --- */
.help-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.help-modal.visible {
    display: flex;
    opacity: 1;
}

.help-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.help-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.help-modal-header h4 {
    margin: 0;
    color: var(--primary-color);
}

.help-modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #95a5a6;
    padding: 5px 10px;
    transition: color 0.2s ease;
}

.help-modal-close:hover {
    color: var(--primary-color);
}

.help-modal-body {
    padding: 20px;
    line-height: 1.6;
    color: var(--primary-color);
}

/* --- Toast Notifications --- */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background-color: var(--success-color);
}

/* --- Add Custom Device Button --- */
.add-custom-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 15px;
    width: 100%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-custom-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.add-custom-btn:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* --- Control Row Removal Animation --- */
.device-control-row.removing {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

/* --- Screen Reader Only --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Article Section --- */
.article-section {
    background-color: #ffffff;
    padding: 60px 0;
    margin-top: 40px;
    border-top: 3px solid var(--accent-color);
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.8;
    color: var(--primary-color);
}

.article-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 20px;
}

.article-intro {
    font-size: 1.2em;
    color: #34495e;
    margin-bottom: 40px;
    font-style: italic;
    text-align: center;
    padding: 0 20px;
}

.article-section h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.article-section h4 {
    font-size: 1.3em;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-section p {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.8;
}

.article-section ul {
    margin-bottom: 25px;
    padding-left: 30px;
}

.article-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Concept Boxes */
.concept-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.concept-box h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.concept-box p {
    margin-bottom: 0;
}

/* Calculation Steps */
.calculation-steps {
    margin: 30px 0;
}

.step {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-right: 20px;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.step-content p {
    margin-bottom: 0;
}

/* Warning Boxes */
.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-box h4 {
    margin-top: 0;
    color: #856404;
}

.warning-box p {
    margin-bottom: 0;
    color: #856404;
}

/* Example Boxes */
.example-box {
    background-color: #e7f3ff;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.example-box h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.example-box p {
    margin-bottom: 10px;
}

.example-box p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--accent-color);
}

/* Formula Box */
.formula-box {
    background-color: #f1f2f3;
    border: 2px solid var(--accent-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    text-align: center;
}

.formula-box p {
    margin: 0;
    font-size: 1.1em;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

/* Mobile Responsive for Article */
@media (max-width: 768px) {
    .article-section {
        padding: 40px 0;
        margin-top: 30px;
    }

    .article-container {
        padding: 0 15px;
    }

    .article-title {
        font-size: 1.6em;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .article-intro {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .article-section h3 {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .article-section h4 {
        font-size: 1.1em;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .article-section p {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .article-section ul {
        padding-left: 20px;
        margin-bottom: 20px;
    }

    .concept-box,
    .warning-box,
    .example-box {
        padding: 15px;
        margin: 20px 0;
    }

    .step {
        margin-bottom: 20px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1em;
        margin-right: 15px;
    }

    .formula-box {
        padding: 15px;
        margin: 20px 0;
    }

    .formula-box p {
        font-size: 0.95em;
    }
}

/* --- Footer Section --- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px;
    margin-top: 0;
    border-top: 3px solid var(--accent-color);
}

footer > div {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
}

footer p strong {
    color: white;
    font-weight: 600;
}

footer nav {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

footer nav li {
    margin: 0;
}

footer nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

footer nav a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

footer nav a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

footer .copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }

    footer p {
        font-size: 0.85em;
        margin-bottom: 15px;
    }

    footer nav {
        margin: 20px 0;
        padding-top: 15px;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    footer nav a {
        font-size: 0.9em;
        padding: 8px 15px;
        display: block;
        width: fit-content;
    }

    footer .copyright {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 0.85em;
    }
}