@font-face { font-family: 'Playfair Photobooth'; src: url('assets/fonts/Playfair-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Photobooth'; src: url('assets/fonts/Playfair-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
:root { color-scheme: light; font-family: 'Playfair Photobooth', Georgia, 'Times New Roman', serif; background: #f4efe4; color: #332821; }
body { margin: 0; }
.app-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; }
header { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; color: #8b6f5a; font-size: 0.78rem; }
h1, h2, h3 { margin: 0.2em 0; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 400; color: #3b2f2f; }
.card, .session-card { background: #fffaf0; border: 1px solid #d5c2a8; border-radius: 18px; box-shadow: 0 10px 30px rgba(51, 40, 33, 0.12); }
.auth-card { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; padding: 14px; margin: 26px auto 20px; align-items: end; max-width: 840px; border-radius: 16px; box-shadow: 0 8px 24px rgba(51, 40, 33, 0.09); }
label { display: grid; gap: 6px; font-weight: 400; font-size: 0.92rem; color: #6c5547; }
input { height: 46px; box-sizing: border-box; padding: 0 14px; border: 1px solid #cab69b; border-radius: 12px; background: rgba(255,255,255,0.72); color: #332821; font: inherit; outline: none; transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
input:focus { border-color: #705446; box-shadow: 0 0 0 3px rgba(112,84,70,0.16); background: #fff; }
button, .button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border: 0; border-radius: 999px; background: #705446; color: white; font: inherit; text-decoration: none; cursor: pointer; }
#status { grid-column: 1 / -1; margin: 0; min-height: 1.2em; }
#status.error { color: #a02f24; }
.gallery-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 36px 0 20px; }
.archive-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.session-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.session-card { overflow: hidden; }
.rendered-preview { position: relative; aspect-ratio: 3 / 2; background: #e7dccb; display: grid; place-items: center; }
.rendered-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-preview { padding: 24px; text-align: center; }
.session-body { padding: 0 18px 18px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.image-actions { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; align-items: center; }
.overlay-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; background: rgba(51, 40, 33, 0.82); color: #fffaf0; font: inherit; font-size: 0.92rem; line-height: 1; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,0.25); backdrop-filter: blur(6px); transition: transform 0.18s ease, background 0.18s ease; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; line-height: 0; }
.icon-button svg { width: 22px; height: 22px; fill: currentColor; display: block; flex: 0 0 auto; }
.overlay-button:hover { background: rgba(112, 84, 70, 0.95); transform: translateY(-1px); }
.raw-list { display: grid; gap: 8px; margin-top: 14px; }
.raw-list a { color: #5b4034; }
.empty { grid-column: 1 / -1; }
@media (max-width: 760px) { .auth-card { grid-template-columns: 1fr; } .gallery-header { display: block; } }