.gallery-panel{
    max-width:1000px;
    margin:auto;
    padding:20px;
    background:#2a1e12;
    border:1px solid rgba(255,180,80,0.25);
    border-radius:6px;
    box-shadow:
        inset 0 0 20px rgba(0,0,0,0.4),
        0 0 25px rgba(0,0,0,0.4);
    text-align:center;
}

.gallery-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.gallery-nav-center{
    text-align:center;
    flex:1;
}

.gallery-btn{
    font-family:'Cinzel', serif;
    background:#1f150b;
    color:#ffd27a;
    padding:8px 18px;
    border:1px solid rgba(255,180,80,0.25);
    border-radius:4px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:6px;
    cursor:pointer;
    transition:all 0.2s ease;
}

.gallery-btn:hover{
    color:#ffffff;
    text-shadow:0 0 6px rgba(255,200,120,0.6);
}

.gallery-image{
    margin-top:10px;
}

.gallery-image img{
    max-width:100%;
    border:1px solid rgba(255,180,80,0.25);
    border-radius:4px;
    box-shadow:0 0 15px rgba(0,0,0,0.5);
}

.gallery-comment{
    margin:15px 0;
    background:#24180d;
    border:1px solid rgba(255,180,80,0.15);
    padding:12px;
    border-radius:4px;
    color:#e6d2a2;
    font-size:15px;
    font-weight:600;
}

.gallery-form{
    max-width:1000px;
    margin:auto;
    padding:20px;
    background:#2a1e12;
    border:1px solid rgba(255,180,80,0.25);
    border-radius:6px;
    box-shadow:
        inset 0 0 20px rgba(0,0,0,0.4),
        0 0 25px rgba(0,0,0,0.4);
}

.gallery-form h1{
    text-align:center;
    font-family:'Cinzel', serif;
    color:#e8c078;
    text-shadow:1px 1px 0 #000;
    margin-bottom:20px;
}

.gallery-form table{
    width:100%;
    border-collapse:collapse;
    border:1px solid rgba(255,180,80,0.15);
}

.gallery-form td{
    padding:10px;
    color:#e6d2a2;
    background:#2a1e12;
}

.gallery-form td:first-child{
    width:160px;
    color:#ffd27a;
    font-weight:600;
}

.gallery-form input,
.gallery-form textarea{
    width:100%;
    background:#24180d;
    border:1px solid rgba(255,180,80,0.25);
    color:#f5e6c5;
    padding:6px 8px;
    border-radius:3px;
    box-sizing:border-box;
}

.gallery-form textarea{
    resize:vertical;
}

.gallery-form input:focus,
.gallery-form textarea:focus{
    border-color:#ff9d3a;
    box-shadow:0 0 6px rgba(255,140,0,0.4);
}

.gallery-buttons{
    text-align:center;
    margin-top:15px;
}

.gallery-wrapper{
    max-width:900px;
    margin:auto;
    padding:20px;
    background:#2a1e12;
    border:1px solid rgba(255,180,80,0.25);
    border-radius:6px;
    box-shadow:
        inset 0 0 20px rgba(0,0,0,0.4),
        0 0 25px rgba(0,0,0,0.4);
}

.gallery-info{
    text-align:center;
    color:#ffd27a;
    font-family:'Cinzel', serif;
    font-size:16px;
    margin-bottom:18px;
}

.gallery-item{
    background:#24180d;
    border:1px solid rgba(255,180,80,0.25);
    border-radius:4px;
    margin-bottom:14px;
    padding:12px;
    box-shadow:inset 0 0 10px rgba(0,0,0,0.35);
    transition:all 0.18s ease;
}

.gallery-item:hover{
    border:1px solid rgba(255,200,120,0.35);
    box-shadow:
        inset 0 0 12px rgba(0,0,0,0.45),
        0 0 10px rgba(255,180,80,0.15);
}

.gallery-item table{
    width:100%;
    border-collapse:collapse;
}

.gallery-item td{
    padding:10px;
    vertical-align:middle;
    transition:background 0.18s ease;
}

.gallery-item table tr:nth-child(even) td{
    background:#2a1e12;
}

.gallery-item table tr:nth-child(odd) td{
    background:#24180d;
}

.gallery-item table tr:hover td{
    background:#3a2816;
}

.gallery-wrapper .gallery-item:nth-child(even){
    background:#2a1e12;
}

.gallery-wrapper .gallery-item:nth-child(odd){
    background:#24180d;
}

.gallery-thumb{
    width:150px;
    flex-shrink:0;
}

.gallery-thumb img{
    width:120px;
    height:90px;
    border:2px solid rgba(255,180,80,0.35);
    border-radius:3px;
    transition:transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-thumb img:hover{
    transform:scale(1.05);
    box-shadow:0 0 10px rgba(255,180,80,0.35);
}

.gallery-actions{
    width:240px;
    text-align:right;
}

.gallery-actions a{
    display:inline-block;
    margin-right:12px;
    margin-bottom:6px;
    color:#ffd27a;
    text-decoration:none;
    font-weight:600;
    transition:color 0.18s ease, text-shadow 0.18s ease;
}

.gallery-actions a:hover{
    color:#fff;
    text-shadow:0 0 6px rgba(255,200,120,0.6);
}

.gallery-actions img{
    vertical-align:middle;
    margin-right:4px;
}

.gallery-row{
    display:flex;
    align-items:center;
    gap:15px;
}

.gallery-comment{
    flex:1;
}