﻿.page-content {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: calc(100vh - 48px - 42px);
    max-height: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--vbs) transparent;
}

.wall-hero {
    background: linear-gradient(135deg, rgba(238,17,102,0.18), rgba(255,255,255,0.04));
    border: 1px solid rgba(238,17,102,0.24);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.wall-hero::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,17,102,0.22), transparent 68%);
    pointer-events: none;
}

.wall-hero h2 {
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 0.55rem;
}

.wall-hero p,
.wall-hero li,
.wall-form-panel p {
    color: rgba(255,255,255,0.78);
    line-height: 1.85;
    font-size: 0.92rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.hero-badge {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: rgba(12,12,20,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 132px;
}

.hero-badge span {
    display: block;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.2rem;
}

.hero-badge strong {
    color: #fff;
    font-size: 0.98rem;
}

.wall-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
}

.wall-form-panel,
.wall-list-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    backdrop-filter: blur(8px);
}

.section-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--vbs);
    margin-bottom: 1rem;
    padding-left: 0.7rem;
    border-left: 3px solid var(--vbs);
}

.stage-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.required {
    color: var(--vbs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0.72rem 0.85rem;
    color: #fff;
    outline: none;
    font-size: 0.92rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--vbs);
}

.form-group textarea {
    resize: vertical;
    min-height: 132px;
}

.form-tip {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.btn-submit {
    border: none;
    border-radius: 8px;
    padding: 0.72rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    background: var(--vbs);
    color: #fff;
    transition: 0.2s;
}

.btn-submit:hover {
    opacity: 0.88;
}

.btn-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.wall-list-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wall-list-head p {
    color: rgba(255,255,255,0.56);
    font-size: 0.86rem;
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.note-card {
    position: relative;
    min-height: 180px;
    padding: 1rem 1rem 0.95rem;
    border-radius: 14px 14px 16px 16px;
    background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    overflow: hidden;
}

.note-card::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 10px;
    border-radius: 999px;
    background: rgba(238,17,102,0.28);
    box-shadow: 0 0 14px rgba(238,17,102,0.16);
}

.note-card:nth-child(3n + 1) {
    transform: rotate(-1.2deg);
}

.note-card:nth-child(3n + 2) {
    transform: rotate(1deg);
}

.note-card:nth-child(3n + 3) {
    transform: rotate(-0.4deg);
}

.note-card h3 {
    color: #fff;
    font-size: 0.96rem;
    margin-bottom: 0.55rem;
}

.note-card p {
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    line-height: 1.85;
    white-space: pre-wrap;
    word-break: break-word;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    color: rgba(255,255,255,0.48);
    font-size: 0.76rem;
}

.empty-note {
    text-align: center;
    padding: 2.5rem 1rem;
    color: rgba(255,255,255,0.52);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20,20,30,0.95);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 240;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: rgba(76,223,138,0.5);
}

.toast.error {
    border-color: rgba(255,112,112,0.5);
}

@media (max-width: 768px) {
    .page-content {
        padding: 4.2rem 1.35rem 2rem;
        min-height: calc(100dvh - 48px - 42px);
        max-height: none;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    .wall-layout,
    .note-grid {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        width: 100%;
    }
}
