.evg-game, .evangelon-game { font-family: Georgia, 'Times New Roman', serif; color:#24180d; }
.evg-wrap { max-width: 1240px; margin: 0 auto; background:#f3e1b5; border:1px solid #8f7b51; box-shadow:0 8px 24px rgba(0,0,0,.22); }
.evg-header { padding:18px 22px; background:linear-gradient(180deg,#45331f,#20160e); color:#f6edcf; display:flex; justify-content:space-between; gap:16px; align-items:center; }
.evg-header h2 { margin:0; font-size:32px; letter-spacing:.04em; }
.evg-badge { font-family:monospace; background:#f6edcf; color:#20160e; padding:6px 10px; border-radius:999px; }
.evg-panel { padding:18px 22px; }
.evg-setup-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin:16px 0; }
.evg-card-choice { border:2px solid #7b653d; background:#fff8df; padding:10px; border-radius:8px; cursor:pointer; }
.evg-card-choice.selected { outline:4px solid #4e6f2a; }
.evg-card-choice img { width:100%; height:260px; object-fit:contain; background:#000; }
.evg-flex { display:flex; gap:16px; align-items:flex-start; }
.evg-board-area { flex:1 1 auto; overflow:auto; padding:16px; background:#1b140d; }
.evg-board { display:grid; gap:4px; justify-content:center; }
.evg-tile { width:118px; height:118px; border:2px solid #251b10; background:#59482c; position:relative; overflow:hidden; cursor:pointer; box-sizing:border-box; }
.evg-tile.revealed { background:#e8d18a; }
.evg-tile.active { outline:4px solid #f7d45a; }
.evg-tile.canmove { outline:4px solid #6bb35d; }
.evg-tile img { width:100%; height:100%; object-fit:cover; display:block; }
.evg-hidden-tile { position:absolute; inset:0; display:flex; justify-content:center; align-items:center; font-size:38px; color:#f5e7bb; background:linear-gradient(135deg,#2f2417,#756340); }
.evg-token { position:absolute; bottom:3px; left:3px; display:flex; gap:2px; flex-wrap:wrap; max-width:108px; z-index:4; }
.evg-token span { width:22px; height:22px; border-radius:50%; background:#fff; color:#111; border:2px solid #111; display:inline-flex; justify-content:center; align-items:center; font:bold 13px Arial; }
.evg-icon-row { position:absolute; top:3px; left:3px; display:flex; gap:2px; z-index:3; }
.evg-icon-row span { background:rgba(255,255,255,.85); color:#111; padding:1px 4px; border-radius:4px; font:bold 13px Arial; }
.evg-side { width:360px; flex:0 0 360px; background:#fff7d8; border-left:1px solid #8f7b51; min-height:720px; }
.evg-box { margin:12px; padding:12px; border:1px solid #b79b5e; background:rgba(255,255,255,.55); border-radius:8px; }
.evg-box h3, .evg-box h4 { margin:0 0 8px 0; }
.evg-actions button, .evg-setup button, .evg-btn { margin:4px 4px 4px 0; padding:8px 10px; background:#3d2a18; color:#fff7d8; border:1px solid #6d5531; border-radius:6px; cursor:pointer; }
.evg-actions button:disabled { background:#999; cursor:not-allowed; }
.evg-stat { display:inline-block; min-width:42px; margin-right:4px; padding:3px 6px; background:#2e251a; color:white; border-radius:4px; font-family:monospace; }
.evg-log { max-height:220px; overflow:auto; font-size:14px; line-height:1.35; }
.evg-log div { padding:4px 0; border-bottom:1px solid rgba(0,0,0,.08); }
.evg-table { width:100%; border-collapse:collapse; font-size:14px; }
.evg-table td, .evg-table th { border-bottom:1px solid #d1ba7d; padding:4px; text-align:left; }
.evg-mini-card { display:flex; gap:8px; align-items:center; border-top:1px solid #d6bd78; padding:6px 0; }
.evg-mini-card img { width:44px; height:60px; object-fit:cover; background:#111; }
.evg-inventory { font-size:14px; }
@media(max-width:900px){ .evg-flex{flex-direction:column;} .evg-side{width:auto; flex:auto; border-left:0;} .evg-tile{width:90px;height:90px;} }
.evg-phasebar { padding:10px 18px; background:#fff3c7; border-bottom:1px solid #8f7b51; display:flex; flex-direction:column; gap:4px; }
.evg-phasebar strong { font-size:18px; }
.evg-helper-label { display:block; margin:8px 0; font-weight:bold; }
.evg-helper-label select { width:100%; padding:6px; margin-top:4px; }
.evg-dice { background:#1f2630; color:#fff7d8; border-color:#6d7b89; }
.evg-dice div { padding:3px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.evg-dice strong { display:inline-block; margin-top:8px; padding:4px 8px; background:#fff7d8; color:#1f2630; border-radius:4px; }
.evg-current-row { background:rgba(247,212,90,.28); font-weight:bold; }
.evg-roll-under { max-width:720px; margin:12px auto 0 auto; }
.evg-roll-under .evg-box { margin:0; }
.evg-roll-under:empty { display:none; }
.evg-hidden-tile { font-size:0; }
.evg-hidden-tile::after { content:'?'; font-size:38px; }
.evg-actions button:last-child { background:#6b2d1d; font-weight:bold; }
.evg-card-badges{position:absolute;left:4px;bottom:4px;display:flex;gap:3px;z-index:4;flex-wrap:wrap}.evg-card-badges .bad{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:999px;background:#111;color:#fff;font-weight:700;font-size:12px;border:1px solid rgba(255,255,255,.6)}.evg-card-badges .human{background:#2b6b2f}.evg-card-badges .item{background:#7b5a13}.evg-card-badges .monster{background:#741b1b}.evg-hint{font-size:12px;margin:.25rem 0 .5rem;opacity:.75}
