﻿/* Elfenland - eenvoudige fantasy-stijl */
:root { --wood:#5d4037; --leaf:#2e5d34; --parchment:#f6efd9; --gold:#e9b949; }
* { box-sizing: border-box; }
body { margin:0; font-family: Georgia, 'Palatino Linotype', serif; background: var(--parchment); color:#3b2f20; }
h1, h3, h4 { margin: 8px 0; color: var(--wood); }
button, .btn { font: inherit; font-size:16px; padding:8px 12px; margin:3px; border-radius:10px; border:2px solid var(--wood); background:#fffaf0; color:#3b2f20; cursor:pointer; }
button:disabled { opacity:.35; cursor:default; }
button.sel { background: var(--gold); }
.big { display:block; width:100%; text-align:center; background: var(--gold); font-weight:bold; }
.bar { display:flex; gap:10px; align-items:center; justify-content:space-between; padding:6px 10px; background:linear-gradient(#6d4c41,#4e342e); color:#fff; }
.bar button { padding:5px 10px; }
.gold { display:flex; align-items:center; gap:4px; }
.ico { width:28px; height:28px; vertical-align:middle; }
.mapwrap { position:relative; }
#map { display:block; width:100%; max-height:58vh; background: radial-gradient(#e6f2c9,#cfe3a4); border-bottom:4px solid var(--wood); touch-action:none; user-select:none; -webkit-user-select:none; }
.zoombtns { position:absolute; top:8px; right:8px; display:flex; flex-direction:column; gap:4px; }
.zoombtns button { width:42px; height:42px; margin:0; padding:0; font-size:22px; line-height:1; background:rgba(255,250,240,.92); box-shadow:0 1px 4px rgba(0,0,0,.3); }
#tiles { opacity:.6; }   /* stratenplan iets vervaagd zodat de spelkaart goed zichtbaar blijft */
.credit { position:absolute; right:4px; bottom:8px; font:10px sans-serif; background:rgba(255,255,255,.75); padding:1px 4px; border-radius:4px; }
.credit a { color:inherit; }
/* beheerder: kaart naast het overzicht van een team (onder elkaar op een smal scherm) */
.split { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-start; }
.split > * { flex:1 1 300px; min-width:0; }
.split > :first-child { max-width:640px; }
.split #map { max-height:75vh; border:4px solid var(--wood); border-radius:10px; }
.clickable { cursor:pointer; }
.row.sel { outline:3px solid var(--gold); }
.inv { display:flex; flex-wrap:wrap; gap:4px 14px; }
.inv .none { opacity:.4; }
#panel, .pad { padding:8px 12px; }
.small { display:block; padding:2px 12px; font-size:13px; }
.edge { display:flex; align-items:center; gap:6px; width:100%; text-align:left; border-width:4px; }
.det { background:#fff; border-radius:10px; padding:6px 10px; margin:4px 0 10px; }
.det button { display:inline-flex; align-items:center; gap:4px; }
.ph { max-width:100%; border-radius:10px; border:3px solid var(--wood); }
.modal { position:fixed; inset:0; background: var(--parchment); overflow:auto; padding:12px; z-index:5; }
.row, .card { background:#fff; border-radius:10px; padding:8px; margin:6px 0; }
.card img { max-width:260px; display:block; border-radius:8px; }
.danger { border:2px solid #b71c1c; }
#toast { position:fixed; bottom:12px; left:50%; transform:translateX(-50%); background:#222; color:#fff; padding:8px 14px; border-radius:20px; display:none; z-index:9; }
input, select, textarea { font:inherit; font-size:16px; padding:6px; margin:2px; border-radius:6px; border:1px solid #8d6e63; }
.login { background: linear-gradient(#cfe3a4,#7fae5a); min-height:100vh; display:flex; align-items:center; justify-content:center; }
.loginbox { background:var(--parchment); border:4px solid var(--wood); border-radius:16px; padding:16px; width:min(92vw,360px); text-align:center; }
.loginbox input { width:100%; text-align:center; letter-spacing:6px; font-size:24px; }
.logo { width:96px; }
.error { color:#b71c1c; min-height:1.2em; }
