#combat-panel{padding:14px;border:1px solid #6d514d;background:linear-gradient(145deg,#33262b,#152927);border-radius:12px;margin-bottom:15px}#combat-panel>button{width:100%;margin-top:8px;white-space:normal}#combat-panel label{display:grid;gap:5px;margin:8px 0}#combat-panel .check{display:flex;align-items:center}#combat-panel select{width:100%;margin:6px 0}.attack-meta{color:#e6d4a8;font-size:12px;margin:6px 0}.manual-help{font-size:11px;color:#afbeb6;line-height:1.5;margin:8px 0}.pending-hit{border:1px solid #997454;border-radius:10px;padding:10px;margin:12px 0;background:#302c20}.pending-hit button{width:100%;margin:5px 0;white-space:normal}.enemy-card{border:1px solid #456255;border-radius:10px;padding:10px;margin:10px 0;font-size:12px}.enemy-card .row{flex-wrap:wrap}.enemy-card button{padding:6px;font-size:11px}.enemy-card>button{white-space:normal}.encounter-summary{padding:12px;border:1px solid #4d6455;border-radius:10px;background:#172c24;margin:12px 0}.encounter-summary p{margin:8px 0;font-size:12px}.difficulty{display:block;font-size:22px;margin:5px 0;color:#9ed8bb}.difficulty.schwer{color:#edbd73}.difficulty.tödlich{color:#ff9890}.thresholds{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px;font-size:11px;color:#c3d2c6}.combat-roster,.preset-row{display:flex;align-items:center;gap:8px;margin:8px 0;flex-wrap:wrap}.combat-roster span,.preset-row span{flex:1;font-size:12px}.monster-description{padding:10px;margin:10px 0;background:#243a2e;border-radius:8px;font-size:12px}.custom-attack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:1px solid #577463;padding:14px;margin:15px 0;border-radius:10px}.custom-attack label{display:grid;gap:6px}.manual-badge{display:inline-block;padding:2px 6px;color:#d6cfae;background:#394433;border-radius:5px;font-size:10px;margin:6px 0}.roll-outcome{font-weight:bold;color:#ebcea0;font-size:12px;margin-top:5px}#dice-animation{display:flex;align-items:center;gap:10px;margin-top:10px}.animated-die{flex-shrink:0;width:54px;height:58px;display:grid;place-items:center;clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);color:#11241c;background:linear-gradient(130deg,#efdfa8,#93c8a8);font-size:24px;font-weight:bold}.animated-caption{font-size:11px;color:#c5d5ca}.rolling{animation:dice-tumble .17s ease-in-out infinite alternate}#right-panel{overflow-y:auto}#right-panel .log-section{min-height:300px;flex-shrink:0}#right-panel .dice{flex-shrink:0}#tabs{flex-wrap:wrap}#gm-panel>button{white-space:normal}#roll-values{width:100%}@keyframes dice-tumble{from{transform:rotate(-12deg) translateY(-2px)}to{transform:rotate(12deg) translateY(2px)}}@media(prefers-reduced-motion:reduce){.rolling{animation:none}}@media(max-width:640px){#right-panel{height:auto!important;min-height:650px}#left-panel:has([data-tab="combat"].active){max-height:70dvh}.custom-attack{grid-template-columns:1fr}}

#combat-panel{flex:0 0 auto;max-height:55dvh;overflow-y:auto;margin-bottom:0}#action-tabs{margin:0;flex-shrink:0}#action-tabs button{flex:1}#right-panel .log-section{flex:1;min-height:240px}#right-panel .log-section #log{max-height:52dvh}#dice-animation:empty{display:none}@media(max-width:640px){#combat-panel{max-height:none}#right-panel .log-section #log{max-height:400px}}

.monster-description img{display:block;width:84px;height:84px;object-fit:cover;border-radius:12px;margin:0 0 10px;cursor:pointer}
