:root {
    --paper: #f4f1ea;
    --ink: #3d3d3d;
    --border: #d1cdc2;
}

body {
    background-color: #e5e2d9;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Special Elite', serif;
    overflow: hidden;
}

.paper-texture {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0.08;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    z-index: 10;
}

header {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 20;
}

.back-btn {
    width: 45px; height: 45px;
    background: white;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-decoration: none;
}

.back-btn:hover { transform: scale(1.1); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.back-btn img { width: 50%; opacity: 0.6; }

.container {
    background: var(--paper);
    width: 90%;
    max-width: 900px;
    height: 70vh;
    display: flex;
    border: 1px solid var(--border);
    box-shadow: 15px 15px 40px rgba(0,0,0,0.05);
    position: relative;
}

.entry {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.v-line {
    width: 1px;
    background-color: var(--border);
    margin: 40px 0;
}

.label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: #a09b8e;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    font-family: 'Special Elite', serif;
    font-size: 1.15rem;
    line-height: 2rem;
    color: var(--ink);
    background-image: linear-gradient(#e1ddd3 1px, transparent 1px);
    background-size: 100% 2rem;
    background-attachment: local;
}

textarea::placeholder { color: #ccc; }