/* NACHTGRUFT - Oberflaeche */
:root {
  --ink: #0a0806;
  --bone: #cdbd9a;
  --bone-dim: #8a7d66;
  --blood: #a8151f;
  --blood-bright: #e3283a;
  --gold: #c9a227;
  --sane: #6fa8b8;
  --mana: #4a6fd4;
  --frame: #2a231c;
  --frame-lit: #4a3d2e;
  --font-display: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, 'Times New Roman', serif;
  --font-ui: Georgia, 'Times New Roman', serif;
  --font-num: 'Courier New', Courier, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; width: 100%; height: 100%;
  background: #000; color: var(--bone);
  font-family: var(--font-ui);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
#app { position: fixed; inset: 0; }
canvas#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
canvas#hud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.hidden { display: none !important; }
.dim { color: var(--bone-dim); }

#vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 40;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 42%, rgba(0,0,0,0.55) 100%);
}
#fadeout {
  position: absolute; inset: 0; background: #000; pointer-events: none; z-index: 45;
  opacity: 0; transition: opacity .5s ease;
}
#fadeout.on { opacity: 1; }

/* ===================== HUD ===================== */
#overlay { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
#overlay > * { pointer-events: none; }

#crosshair {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 22px; height: 22px; opacity: .55;
}
#crosshair span, #crosshair::before, #crosshair::after {
  content: ''; position: absolute; background: rgba(220,205,175,.85);
}
#crosshair::before { left: 50%; top: 0; width: 1px; height: 7px; transform: translateX(-50%); }
#crosshair::after { left: 50%; bottom: 0; width: 1px; height: 7px; transform: translateX(-50%); }
#crosshair span { left: 50%; top: 50%; width: 3px; height: 3px; border-radius: 50%; transform: translate(-50%,-50%); }
#crosshair.hit { opacity: 1; }
#crosshair.hit span { background: var(--blood-bright); box-shadow: 0 0 6px var(--blood-bright); }

/* --- oben links --- */
#topleft { position: absolute; left: 14px; top: 12px; }
#depthPlate {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, rgba(18,14,11,.86), rgba(10,8,6,.78));
  border: 1px solid var(--frame); border-left: 3px solid var(--blood);
  padding: 6px 14px 6px 10px; margin-bottom: 8px;
  box-shadow: 0 4px 22px rgba(0,0,0,.7);
}
.dp-num {
  font-family: var(--font-display); font-size: 30px; line-height: 1;
  color: var(--bone); text-shadow: 0 0 14px rgba(200,40,40,.5);
  min-width: 34px; text-align: center;
}
.dp-txt { display: flex; flex-direction: column; line-height: 1.15; }
.dp-txt span { font-family: var(--font-display); font-size: 14px; letter-spacing: .07em; }
.dp-txt small { font-size: 10px; color: var(--bone-dim); letter-spacing: .12em; text-transform: uppercase; }

#minimapWrap {
  position: relative; width: 168px; height: 168px;
  border: 1px solid var(--frame); background: rgba(6,5,4,.72);
  box-shadow: 0 4px 22px rgba(0,0,0,.7); transition: width .18s, height .18s;
}
#minimapWrap.big { width: 460px; height: 460px; }
body.mapbig #log { top: 548px; max-height: 16vh; }
#minimap { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
#mmHint { position: absolute; right: 3px; bottom: 1px; font-size: 9px; color: #5a5044; }

/* --- Bossleiste --- */
#bossbar {
  position: absolute; left: 50%; top: 22px; transform: translateX(-50%);
  width: min(620px, 68vw); text-align: center;
}
.bb-name { font-family: var(--font-display); font-size: 20px; letter-spacing: .22em; color: #e8d9b6;
  text-shadow: 0 0 18px rgba(190,20,20,.75); }
.bb-name small { display: block; font-size: 11px; letter-spacing: .12em; color: #9a8468; font-style: italic; }
.bb-track { height: 13px; margin-top: 5px; background: rgba(0,0,0,.7); border: 1px solid #452420;
  box-shadow: inset 0 0 12px rgba(0,0,0,.9); }
.bb-fill { height: 100%; width: 100%; background: linear-gradient(180deg, #d4232f, #6d0a12);
  box-shadow: 0 0 14px rgba(220,40,40,.6); transition: width .18s linear; }
.bb-phase { font-size: 10px; letter-spacing: .2em; color: #a8907a; margin-top: 3px; }

/* --- Log --- */
#log {
  position: absolute; left: 14px; top: 254px; width: 340px; max-height: 30vh;
  transition: top .18s;
  overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  font-size: 12.5px; line-height: 1.42;
}
#log div { text-shadow: 0 1px 4px #000; margin-bottom: 2px; animation: fadein .25s ease; }
#log .info { color: #a89a80; }
#log .dim { color: #6f6656; }
#log .good { color: #7fc47a; }
#log .bad { color: #e2606a; }
#log .warn { color: #d8a34a; }
#log .gold { color: var(--gold); }
#log .depth { color: #8fb6c8; }
#log .boss { color: #ff5544; font-weight: bold; letter-spacing: .04em; }
#log .level { color: #ffd166; font-weight: bold; }
#log .join { color: #8a8fa8; font-style: italic; }
#log .rar0 { color: #7d7a70; } #log .rar1 { color: #d8d4c8; } #log .rar2 { color: #66c464; }
#log .rar3 { color: #5aa8ff; } #log .rar4 { color: #c06bff; } #log .rar5 { color: #ff9a2e; }
#log .rar6 { color: #ff3b52; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }

/* --- unten --- */
#bottom {
  position: absolute; left: 0; right: 0; bottom: 84px;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 16px; gap: 18px;
}
#vitals { width: 290px; display: flex; flex-direction: column; gap: 4px; }
.bar {
  position: relative; height: 17px; background: rgba(4,3,3,.82);
  border: 1px solid var(--frame); box-shadow: inset 0 0 10px rgba(0,0,0,.9);
}
.bar .fill { height: 100%; width: 100%; transition: width .16s ease; }
.bar .lbl {
  position: absolute; inset: 0; text-align: center; font-size: 11px; line-height: 15px;
  font-family: var(--font-num); letter-spacing: .05em; text-shadow: 0 1px 3px #000; color: #e4d8bd;
}
.bar.hp .fill { background: linear-gradient(180deg, #cf2130, #6b0d13); }
.bar.mp { height: 12px; } .bar.mp .fill { background: linear-gradient(180deg, #4a6fd4, #1e2f6b); }
.bar.mp .lbl { line-height: 10px; font-size: 9.5px; }
.bar.sa { height: 12px; } .bar.sa .fill { background: linear-gradient(180deg, #6fa8b8, #24454f); }
.bar.sa .lbl { line-height: 10px; font-size: 9.5px; }
.bar.xp { height: 7px; } .bar.xp .fill { background: linear-gradient(180deg, #c9a227, #5c4a12); }
.bar.xp .lbl { line-height: 6px; font-size: 8.5px; color: #d8c89a; }
.bar.hp.low .fill { animation: pulseRed .7s infinite; }
@keyframes pulseRed { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.7); } }

#centerinfo { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
#context {
  font-family: var(--font-display); font-size: 15px; letter-spacing: .06em;
  color: #e6d6b2; text-shadow: 0 0 12px rgba(0,0,0,.9); min-height: 20px;
}
#context b { color: var(--gold); }
#torchRow { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #b09a78; }
#torchRow .tbar { width: 130px; height: 6px; background: rgba(0,0,0,.7); border: 1px solid var(--frame); }
#torchFill { height: 100%; width: 100%; background: linear-gradient(90deg,#ff6a1a,#ffcf6a); transition: width .3s; }
#torchRow.out #torchFill { background: #3a3128; }
#torchRow.out { color: #7a5c4a; animation: flick 1.6s infinite; }
@keyframes flick { 0%,100% { opacity:.55 } 50% { opacity:1 } }

#rightinfo { width: 200px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
#spellBox { border: 1px solid var(--frame); background: rgba(8,6,5,.8); padding: 4px 10px; min-width: 128px; }
.sp-name { font-family: var(--font-display); font-size: 13px; color: #b7c4e8; }
.sp-cd { height: 3px; background: #1a1512; margin-top: 3px; }
#spellCd { height: 100%; width: 0%; background: #6f8fe0; }
#goldBox { font-family: var(--font-num); font-size: 15px; color: var(--gold); text-shadow: 0 0 8px rgba(200,160,40,.4); }

/* --- Schnellleiste --- */
#hotbar {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 6px; pointer-events: auto; z-index: 31;
}
.hs {
  width: 48px; height: 48px; border: 1px solid var(--frame); background: rgba(9,7,6,.85);
  position: relative; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, transform .1s;
}
.hs:hover { border-color: var(--frame-lit); }
.hs:active { transform: translateY(1px); }
.hs.over { border-color: var(--gold); box-shadow: 0 0 12px rgba(200,160,40,.45); }
.bi[draggable="true"] { cursor: grab; }
.bi[draggable="true"]:active { cursor: grabbing; }
.hs .key { position: absolute; top: 1px; left: 3px; font-size: 9px; color: #6a6152; font-family: var(--font-num); }
.hs .cnt { position: absolute; bottom: 1px; right: 3px; font-size: 10px; color: #d8c89a; font-family: var(--font-num); }
.hs .ic { display: flex; align-items: center; justify-content: center; line-height: 0; }
.hs.empty .ic { opacity: .18; }

#statusIcons { position: absolute; left: 16px; bottom: 156px; display: flex; gap: 6px; }
.st {
  padding: 2px 7px; font-size: 10.5px; letter-spacing: .08em; border: 1px solid var(--frame);
  background: rgba(9,7,6,.85); text-transform: uppercase;
}
.st.poison { color: #8fd44a; border-color: #354a1c; }
.st.rage { color: #ff7a4a; border-color: #4a2418; }
.st.shield { color: #d8b24a; border-color: #4a3c18; }
.st.dark { color: #7a6fa8; border-color: #2a2440; }

/* --- Chat --- */
#chatWrap { position: absolute; right: 14px; bottom: 150px; width: 300px; }
#chatlog { font-size: 12px; max-height: 130px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
#chatlog div { margin-bottom: 2px; text-shadow: 0 1px 3px #000; color: #b0a488; }
#chatlog b { color: #d8c08a; }
#chatinput {
  width: 100%; margin-top: 4px; padding: 5px 8px; background: rgba(6,5,4,.92);
  border: 1px solid var(--frame); color: var(--bone); font-family: var(--font-ui); font-size: 12px;
  outline: none; display: none; pointer-events: auto;
}
#chatinput.on { display: block; border-color: var(--frame-lit); }

#netinfo {
  position: absolute; right: 12px; top: 10px; font-family: var(--font-num); font-size: 10.5px;
  color: #6a6152; letter-spacing: .05em; text-align: right;
}
#netinfo span { margin-left: 9px; }
#hintbar {
  position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .12em; color: #58503f; white-space: nowrap;
}

/* ===================== Panels ===================== */
.panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(1020px, 94vw); max-height: 88vh; z-index: 30;
  background: linear-gradient(180deg, rgba(16,13,10,.985), rgba(8,7,6,.985));
  border: 1px solid var(--frame-lit); box-shadow: 0 20px 90px rgba(0,0,0,.95), inset 0 0 90px rgba(0,0,0,.6);
  pointer-events: auto; display: flex; flex-direction: column;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid var(--frame);
  background: linear-gradient(180deg, rgba(40,20,16,.5), transparent);
}
.panel-head h2 { margin: 0; font-family: var(--font-display); font-size: 19px; letter-spacing: .16em; font-weight: normal; color: #e0cfa8; }
.panel .x { background: none; border: none; color: #8a7d66; font-size: 24px; cursor: pointer; line-height: 1; padding: 0 4px; }
.panel .x:hover { color: var(--blood-bright); }
.panel-foot { padding: 7px 16px; border-top: 1px solid var(--frame); font-size: 10.5px; color: #6a6152; letter-spacing: .06em; }

.inv-body { display: grid; grid-template-columns: 258px 1fr 292px; gap: 0; overflow: hidden; flex: 1; }
.inv-body > div { padding: 12px 14px; overflow-y: auto; }
.equip-col { border-right: 1px solid var(--frame); }
.detail-col { border-left: 1px solid var(--frame); }
.inv-body h3 { margin: 0 0 9px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7a6f5a; font-weight: normal; }
.inv-body h3 small { color: #55503f; letter-spacing: 0; text-transform: none; }

.eq { display: flex; align-items: center; gap: 9px; padding: 6px 8px; margin-bottom: 5px;
  border: 1px solid var(--frame); background: rgba(0,0,0,.35); cursor: pointer; }
.eq:hover { border-color: var(--frame-lit); background: rgba(30,22,16,.55); }
.eq .slot { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #5f5645; width: 62px; flex: none; }
.eq .nm { font-size: 12.5px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq .vl { font-family: var(--font-num); font-size: 11px; color: #8a7d66; }
.eq.empty .nm { color: #4e4738; font-style: italic; }

#bagGrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.bi {
  aspect-ratio: 1; border: 1px solid var(--frame); background: rgba(0,0,0,.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; position: relative; padding: 2px; transition: .12s;
}
.bi:hover { border-color: var(--frame-lit); background: rgba(34,26,18,.6); transform: translateY(-1px); }
.bi .ic { line-height: 0; display: flex; align-items: center; justify-content: center; }
.bi .nm { font-size: 8px; text-align: center; line-height: 1.1; margin-top: 2px; max-height: 20px; overflow: hidden; }
.bi .cnt { position: absolute; bottom: 1px; right: 3px; font-size: 10px; font-family: var(--font-num); color: #d8c89a; }
.bi.sel { border-color: var(--gold); box-shadow: 0 0 10px rgba(200,160,40,.3); }

#itemDetail h4 { margin: 0 0 2px; font-family: var(--font-display); font-size: 16px; font-weight: normal; }
#itemDetail .sub { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #6a6152; margin-bottom: 10px; }
#itemDetail .stat { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 0; border-bottom: 1px dotted #241e18; }
#itemDetail .stat b { font-family: var(--font-num); color: #cbbf9f; }
#itemDetail .pos b { color: #7fc47a; } #itemDetail .neg b { color: #e2606a; }
#itemDetail .curse { margin-top: 9px; padding: 7px; border: 1px solid #4a1620; background: rgba(60,10,16,.32); color: #e2606a; font-size: 11.5px; }
#itemDetail .cmp { margin-top: 10px; font-size: 11px; color: #7a6f5a; }
#itemDetail .acts { margin-top: 12px; display: flex; gap: 6px; }
#itemDetail button {
  flex: 1; padding: 7px; background: rgba(30,22,16,.7); border: 1px solid var(--frame-lit);
  color: var(--bone); font-family: var(--font-ui); font-size: 12px; cursor: pointer;
}
#itemDetail button:hover { background: rgba(60,30,20,.8); border-color: var(--blood); }

.char-body { display: grid; grid-template-columns: repeat(3, 1fr); overflow: auto; }
.char-col { padding: 14px 16px; border-right: 1px solid var(--frame); }
.char-col:last-child { border-right: none; }
.char-col h3 { margin: 0 0 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7a6f5a; font-weight: normal; }
.char-name { font-family: var(--font-display); font-size: 22px; color: #e6d6b2; }
.char-sub { font-size: 11px; color: #7a6f5a; letter-spacing: .1em; margin-bottom: 14px; }
.attr { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.attr .an { flex: 1; font-size: 13px; }
.attr .av { font-family: var(--font-num); font-size: 15px; color: #e0cfa8; min-width: 30px; text-align: right; }
.attr button {
  width: 24px; height: 24px; background: rgba(40,26,16,.8); border: 1px solid var(--frame-lit);
  color: var(--gold); cursor: pointer; font-size: 15px; line-height: 1; padding: 0;
}
.attr button:hover { background: rgba(80,40,20,.9); }
.attr button:disabled { opacity: .25; cursor: default; }
.attr .desc { font-size: 10px; color: #6a6152; }
#pointsLeft { margin-top: 10px; font-size: 12px; color: var(--gold); }
.drow { display: flex; justify-content: space-between; font-size: 12px; padding: 2.5px 0; border-bottom: 1px dotted #201b16; }
.drow b { font-family: var(--font-num); color: #cbbf9f; }
.sp { padding: 6px 8px; border: 1px solid var(--frame); margin-bottom: 5px; cursor: pointer; font-size: 12px; }
.sp:hover { border-color: var(--frame-lit); }
.sp.active { border-color: var(--gold); color: #e6d6b2; }
.sp.locked { opacity: .35; cursor: default; }
.sp small { display: block; color: #6a6152; font-size: 10px; }

.help-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; overflow: auto; }
.help-body > div { padding: 14px 18px; }
.help-body > div:first-child { border-right: 1px solid var(--frame); }
.help-body h3 { margin: 0 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7a6f5a; font-weight: normal; }
.help-body table { width: 100%; font-size: 12.5px; border-collapse: collapse; }
.help-body td { padding: 3.5px 0; }
.help-body td:first-child { font-family: var(--font-num); color: var(--gold); width: 110px; }
.help-body ul { margin: 0; padding-left: 17px; font-size: 12.5px; line-height: 1.62; }
.help-body li { margin-bottom: 7px; }
.help-body b { color: #e0cfa8; }
.setrow { display: flex; align-items: center; gap: 10px; font-size: 12.5px; margin-bottom: 7px; }
.setrow span:first-child { width: 138px; color: #a89a80; }
.setrow input[type=range] { flex: 1; accent-color: #a8151f; height: 3px; }
.setrow b { width: 44px; text-align: right; font-family: var(--font-num); font-size: 11px; }
.setrow label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.start-opts input[type=range] { width: 96px; accent-color: #a8151f; vertical-align: middle; }

#scoreboard {
  position: absolute; left: 50%; top: 74px; transform: translateX(-50%); z-index: 28;
  background: rgba(8,7,6,.94); border: 1px solid var(--frame-lit); padding: 14px 20px; min-width: 460px;
}
#scoreboard h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 15px; letter-spacing: .2em; font-weight: normal; color: #cbbf9f; }
#scoreTable { width: 100%; font-size: 12.5px; border-collapse: collapse; }
#scoreTable th { text-align: left; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6a6152; font-weight: normal; padding-bottom: 5px; }
#scoreTable td { padding: 3px 10px 3px 0; font-family: var(--font-num); }
#scoreTable td.nm { font-family: var(--font-ui); }
#scoreTable tr.me td { color: var(--gold); }

/* ===================== Tod ===================== */
#death {
  position: absolute; inset: 0; z-index: 35; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, rgba(60,0,4,.5), rgba(0,0,0,.94));
  pointer-events: auto;
}
.death-inner { text-align: center; }
#death h1 {
  font-family: var(--font-display); font-size: 58px; letter-spacing: .3em; margin: 0 0 8px;
  color: #b01620; text-shadow: 0 0 42px rgba(200,20,20,.75); font-weight: normal;
  animation: deathIn 1.4s ease;
}
@keyframes deathIn { from { opacity: 0; letter-spacing: .8em; } to { opacity: 1; } }
#deathText { color: #8a7d66; font-style: italic; margin: 0 0 22px; }
#deathTimer { font-family: var(--font-num); font-size: 34px; color: #6a6152; margin-bottom: 14px; }
#respawnBtn {
  padding: 12px 40px; background: rgba(50,10,12,.7); border: 1px solid #7a1620;
  color: #e0cfa8; font-family: var(--font-display); font-size: 16px; letter-spacing: .22em; cursor: pointer;
}
#respawnBtn:hover:not(:disabled) { background: rgba(90,16,20,.85); box-shadow: 0 0 26px rgba(180,20,20,.4); }
#respawnBtn:disabled { opacity: .3; cursor: default; }

/* ===================== Start ===================== */
#start {
  position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #140d0a 0%, #060404 65%, #000 100%);
  pointer-events: auto;
}
#start.gone { animation: startOut .7s ease forwards; }
@keyframes startOut { to { opacity: 0; visibility: hidden; } }
.start-inner { text-align: center; max-width: 620px; padding: 20px; }
.title {
  font-family: var(--font-display); font-size: clamp(46px, 9vw, 96px); letter-spacing: .18em;
  margin: 0; font-weight: normal; color: #cdbd9a;
  text-shadow: 0 0 60px rgba(150,20,20,.55), 0 0 12px rgba(0,0,0,.9);
  animation: titleBreath 5.5s ease-in-out infinite;
}
@keyframes titleBreath {
  0%,100% { text-shadow: 0 0 60px rgba(150,20,20,.5), 0 0 12px rgba(0,0,0,.9); opacity: .93; }
  50% { text-shadow: 0 0 96px rgba(190,26,26,.75), 0 0 12px rgba(0,0,0,.9); opacity: 1; }
}
.tagline { color: #6f6656; font-style: italic; letter-spacing: .1em; margin: 6px 0 34px; }
.start-form { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
#nameInput {
  padding: 12px 16px; width: 240px; background: rgba(10,8,7,.9); border: 1px solid var(--frame-lit);
  color: var(--bone); font-family: var(--font-ui); font-size: 15px; outline: none; text-align: center;
}
#nameInput:focus { border-color: var(--blood); }
#enterBtn {
  padding: 12px 30px; background: rgba(40,10,12,.75); border: 1px solid #7a1620; color: #e0cfa8;
  font-family: var(--font-display); font-size: 15px; letter-spacing: .2em; cursor: pointer; transition: .18s;
}
#enterBtn:hover { background: rgba(100,18,22,.9); box-shadow: 0 0 34px rgba(180,20,20,.45); }
#enterBtn:disabled { opacity: .35; cursor: default; }
.start-opts { display: flex; gap: 18px; justify-content: center; font-size: 12px; color: #7a6f5a; margin-bottom: 18px; flex-wrap: wrap; }
.start-opts label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.start-opts select { background: rgba(10,8,7,.9); border: 1px solid var(--frame); color: var(--bone); font-family: var(--font-ui); padding: 2px 4px; }
.start-note { font-size: 12px; color: #6a6152; letter-spacing: .1em; min-height: 18px; }
.start-legal { font-size: 11px; color: #4e4738; line-height: 1.7; margin-top: 26px; }

/* Schwebende Schadenszahlen zeichnet der HUD-Canvas */
@media (max-width: 900px) {
  #chatWrap, #log { display: none; }
  .inv-body { grid-template-columns: 1fr; }
}
