*{box-sizing:border-box}body{margin:0;background:#f1f3f5;color:#202a34;font:15px system-ui,sans-serif}header{background:#202932;color:#fff;padding:18px 24px;font-weight:800;letter-spacing:1px}small{font-weight:400;color:#aebbc6} .layout{display:grid;grid-template-columns:240px 1fr;min-height:92vh}aside{background:#28323d;color:#e2e8ee;padding:20px}aside button{display:block;width:100%;text-align:left;background:#384655;color:#fff;margin:7px 0}main{padding:28px;max-width:1100px;width:100%}button{border:0;border-radius:5px;background:#275e48;color:#fff;padding:10px 14px;cursor:pointer;font:inherit}button.secondary{background:#596674}button.danger{background:#943b3b}section{background:white;border:1px solid #dbe1e6;border-radius:8px;padding:20px;margin:14px 0}label{display:block;margin:12px 0 5px;font-weight:600}input,textarea,select{font:inherit;width:100%;padding:9px;border:1px solid #b9c3cc;border-radius:4px;background:white}textarea{min-height:110px} .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.row>*{margin:3px 0} .cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}pre{white-space:pre-wrap;background:#101b16;color:#a5d9ac;padding:18px;min-height:160px;max-height:460px;overflow:auto}#notice{position:fixed;bottom:16px;right:16px;background:#22343b;color:white;padding:12px;border-radius:5px;max-width:90%;display:none}@media(max-width:700px){.layout{grid-template-columns:1fr}main{padding:15px}.cols{grid-template-columns:1fr}}
.mapwrap{overflow:auto;border:1px solid #c8d4d0;border-radius:6px;background-color:#eef4f1;background-image:linear-gradient(#dce5e0 1px,transparent 1px),linear-gradient(90deg,#dce5e0 1px,transparent 1px);background-size:20px 20px}.worldmap{width:100%;min-width:580px;display:block;touch-action:none}.worldmap g{cursor:grab}.worldmap text{pointer-events:none}details{border:1px solid #dbe1e6;padding:12px;margin:8px 0;border-radius:5px}summary{font-weight:600;cursor:pointer}.thumb{width:100px;height:65px;object-fit:cover;border-radius:4px}section h2{margin-top:0}a{color:#275e48}
.playlayout{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:12px}.playinventory{background:#18261e;color:#d0e6d3;border-radius:5px;padding:12px;overflow-wrap:anywhere}.playinventory p{margin:8px 0}.playinventory strong{display:block;margin-top:8px}.gameclock{color:#416451;font-weight:600;margin-bottom:10px}.quickactions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0}.quickactions button{padding:8px 3px;font-size:12px}.meters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}.meters label{font-size:12px;margin:0}.meters progress{width:100%;accent-color:#39855c}.meters progress.health{accent-color:#c64f50}.meters progress.food{accent-color:#bf922c}.meters progress.water{accent-color:#3985b7}.event-damage,.event-death{color:#ff8b8b;font-weight:bold}.event-good{color:#9de99f}.death{grid-column:1/-1;background:#8d2424;color:white;padding:16px;font-weight:bold;font-size:20px}.playlayout form{display:flex;gap:6px}.playlayout pre{min-height:300px}@media(max-width:800px){.playlayout{grid-template-columns:1fr}}
