/* Werwolf
   Drei Farbwelten: Dunkel (Standard), Hell (Morgennebel, pro Gerät wählbar) und Nacht.
   Die Nacht gilt für alle, egal was eingestellt ist: sehr dunkel und gedämpft, damit am Tisch kein Handy blendet. */
:root {
  --ink: #0e171a;          /* Hintergrund */
  --ink-2: #15232a;        /* Flächen */
  --ink-3: #1d3037;        /* erhabene Flächen, Knöpfe */
  --line: #2b434b;
  --bone: #ebe5d3;         /* Text */
  --mist: #9db0b1;         /* Nebentext */
  --lantern: #e5a63a;      /* Handlung */
  --lantern-ink: #231703;
  --link: #e5a63a;
  --ember: #d8553b;        /* Werwölfe, Gefahr */
  --wolf-text: #ffb4a3;
  --err: #ff9f8c;
  --moss: #78b595;         /* Dorf, in Ordnung */
  --rose: #e08fae;
  --dusk: #9e92d8;
  --toast-bg: #ebe5d3;
  --toast-ink: #17120a;
  --shadow: 0 14px 40px rgba(0, 0, 0, .45);
  --veil: rgba(2, 5, 6, .72);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
body.light {
  --ink: #eef1ee;
  --ink-2: #ffffff;
  --ink-3: #dde5e1;
  --line: #c3cfca;
  --bone: #15221f;
  --mist: #55686a;
  --lantern: #e0a02e;
  --lantern-ink: #231703;
  --link: #8a5a00;
  --ember: #c0432b;
  --wolf-text: #a3341e;
  --err: #b3261e;
  --moss: #2b7857;
  --rose: #b4487a;
  --dusk: #5a4ec0;
  --toast-bg: #15221f;
  --toast-ink: #ffffff;
  --shadow: 0 10px 30px rgba(20, 45, 40, .16);
  --veil: rgba(20, 30, 28, .5);
}
body.night, body.light.night {
  --ink: #050809;
  --ink-2: #0a1113;
  --ink-3: #0f191c;
  --line: #172629;
  --bone: #a7aa9a;
  --mist: #6d7f80;
  --lantern: #a9782a;
  --lantern-ink: #140d02;
  --link: #a9782a;
  --ember: #9c3d2b;
  --wolf-text: #c98a7c;
  --err: #c98a7c;
  --moss: #54806a;
  --rose: #a36a82;
  --dusk: #746ca6;
  --toast-bg: #a7aa9a;
  --toast-ink: #0a0d0c;
  --shadow: 0 14px 40px rgba(0, 0, 0, .6);
  --veil: rgba(0, 0, 0, .8);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--ink); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--ink); color: var(--bone);
  font: 16px/1.45 var(--sans);
  -webkit-text-size-adjust: 100%; overscroll-behavior-y: none;
  transition: background .6s, color .6s;
}
#app { max-width: 560px; margin: 0 auto; padding: calc(var(--safe-t) + 14px) 16px calc(var(--safe-b) + 40px); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: .005em; }
h1 { font-size: 30px; line-height: 1.1; }
h2 { font-size: 21px; line-height: 1.2; margin: 30px 0 10px; }
h3 { font-size: 17px; }
p { margin: 0 0 10px; }
.muted { color: var(--mist); }
.small { font-size: 13px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
a { color: var(--link); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lantern); outline-offset: 2px; }

/* ---- Knöpfe ---- */
.btn {
  appearance: none; border: 0; cursor: pointer; border-radius: 12px;
  background: var(--ink-3); color: var(--bone);
  padding: 13px 18px; min-height: 48px; font-weight: 600; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  transition: transform .08s, background .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.primary { background: var(--lantern); color: var(--lantern-ink); }
.btn.danger { background: var(--ember); color: #fff; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.small { min-height: 38px; padding: 7px 13px; font-size: 14px; border-radius: 10px; }
.btn.block { display: flex; width: 100%; }
.btn.tiny { min-height: 32px; padding: 4px 10px; font-size: 13px; border-radius: 9px; font-weight: 500; }
.linkish { background: none; border: 0; color: var(--link); padding: 10px 0 0; cursor: pointer; font-weight: 600; font-size: 14px; }
.chip { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 36px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--ink-3); color: var(--mist); }
.chip svg { width: 17px; height: 17px; }
.chip.on { background: color-mix(in srgb, var(--lantern) 26%, transparent); color: var(--bone); }

/* Große Auswahl in der Lobby: App erzählt oder ich erzähle */
.choice { appearance: none; border: 0; cursor: pointer; display: block; width: 100%; text-align: left; margin: 0 0 10px; padding: 16px 18px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--bone); }
.choice b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 3px; }
.choice span { color: var(--mist); font-size: 14px; }
.choice:first-of-type { box-shadow: inset 0 0 0 2px var(--lantern); }
.choice:active { transform: scale(.985); }

/* Auswahl aus wenigen Werten (Zeiten) */
.seg { display: inline-flex; background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 11px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--mist); padding: 7px 10px; min-height: 36px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--lantern); color: var(--lantern-ink); }

/* ---- Eingaben ---- */
label.field { display: block; margin: 0 0 14px; }
label.field > span { display: block; font-size: 14px; color: var(--mist); margin-bottom: 5px; }
input[type=text], input[type=password], input[type=number], input[type=search] {
  width: 100%; background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-size: 17px; min-height: 50px; color: var(--bone);
}
input:focus { outline: none; border-color: var(--lantern); }
input.code { text-transform: uppercase; letter-spacing: .25em; font-family: var(--serif); font-size: 22px; text-align: center; }

/* ---- Kopf ---- */
.top { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; min-height: 44px; }
.top h1 { font-size: 22px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iconbtn { appearance: none; border: 0; background: var(--ink-2); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--bone); flex: none; }
.iconbtn svg { width: 22px; height: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; flex: none; }
.dot.on { background: var(--moss); }
.offline-bar { background: var(--ember); color: #fff; text-align: center; padding: 8px; font-size: 14px; position: fixed; left: 0; right: 0; top: 0; z-index: 45; padding-top: calc(var(--safe-t) + 8px); }

/* ---- Willkommen ---- */
.hero { text-align: center; padding: 14px 0 20px; color: var(--mist); }
.hero svg { width: 92px; height: 92px; margin-bottom: 8px; }
.hero h1 { font-size: 38px; color: var(--bone); }
.hero p { max-width: 30ch; margin: 8px auto 0; }
.tabs { display: flex; background: var(--ink-2); border-radius: 12px; padding: 4px; margin: 18px 0; gap: 4px; }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 11px; font-weight: 600; cursor: pointer; color: var(--mist); }
.tabs button[aria-selected=true] { background: var(--ink-3); color: var(--bone); }
.invite { background: var(--ink-2); border-left: 4px solid var(--lantern); border-radius: 10px; padding: 12px 14px; margin: 14px 0; }
.err { color: var(--err); font-size: 14px; min-height: 20px; margin: 6px 0 10px; }
.err:empty { min-height: 0; margin: 0 0 6px; }

/* ---- Listen ---- */
.list { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); min-height: 56px; }
.item:last-child { border-bottom: 0; }
.item.slim { min-height: 46px; padding: 9px 0; }
.item.wrap { flex-wrap: wrap; row-gap: 8px; }
.item .name { font-weight: 600; overflow-wrap: anywhere; }
.item .name.gone { text-decoration: line-through; color: var(--mist); }
.item.link { cursor: pointer; }
.item .meta { font-size: 13px; color: var(--mist); }
.lead-ic { color: var(--mist); flex: none; display: grid; }
.lead-ic svg { width: 24px; height: 24px; }
.num { font-family: var(--serif); font-size: 20px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--ink-3); color: var(--bone); white-space: nowrap; }
.badge.wolf { background: color-mix(in srgb, var(--ember) 24%, transparent); color: var(--wolf-text); }
.badge.dorf { background: color-mix(in srgb, var(--moss) 22%, transparent); color: var(--moss); }
.badge.live { background: var(--lantern); color: var(--lantern-ink); }
.badge.love { background: color-mix(in srgb, var(--rose) 22%, transparent); color: var(--rose); }
.badge.cap { background: color-mix(in srgb, var(--dusk) 22%, transparent); color: var(--dusk); }
.code-chip { font-family: var(--serif); letter-spacing: .22em; font-size: 22px; background: var(--ink-2); border: 1.5px dashed var(--line); border-radius: 12px; padding: 8px 14px; cursor: pointer; color: var(--link); }

/* Schalter */
.switch { position: relative; width: 54px; height: 32px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); transition: transform .2s; }
.switch input:checked + i { background: var(--lantern); box-shadow: none; }
.switch input:checked + i::after { transform: translateX(22px); background: var(--lantern-ink); }
.switch input:focus-visible + i { outline: 2px solid var(--lantern); outline-offset: 2px; }

/* Zähler für Rollen */
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--ink-3); font-size: 20px; cursor: pointer; color: var(--bone); }
.stepper button:disabled { opacity: .3; }
.stepper b { width: 30px; text-align: center; font-family: var(--serif); font-size: 20px; }

.balance { padding: 10px 14px; border-radius: 12px; background: var(--ink-2); display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--line); }
.balance.ok { box-shadow: inset 0 0 0 1.5px var(--moss); }
.balance.bad { box-shadow: inset 0 0 0 1.5px var(--ember); }

/* ---- Rollenkarte (das Herzstück) ---- */
.cardwrap { margin: 6px 0 22px; }
.rolecard {
  position: relative; border-radius: 22px; min-height: 340px; padding: 26px 22px 22px;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--bone) 9%, transparent) 0 70px, transparent 71px),
    linear-gradient(165deg, var(--ink-3), var(--ink-2));
  box-shadow: inset 0 0 0 2px var(--line), var(--shadow);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; cursor: pointer;
  overflow: hidden;
}
/* Teamfarbe nur, solange die Karte gedrückt wird. Verdeckt sehen alle Karten gleich aus. */
.rolecard.open.dorf { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--moss) 60%, var(--line)), var(--shadow); }
.rolecard.open.wolf {
  box-shadow: inset 0 0 0 2px var(--ember), var(--shadow);
  background: radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--ember) 26%, transparent) 0 70px, transparent 71px), linear-gradient(165deg, color-mix(in srgb, var(--ember) 16%, var(--ink-2)), var(--ink-2));
}
.rolecard .newinfo { display: inline-block; margin: 6px auto 0; padding: 6px 12px; border-radius: 99px; background: var(--lantern); color: var(--lantern-ink); font-weight: 700; font-size: 14px; }
/* Verdeckt nimmt die Rückseite keinen Platz ein: sonst verrät die Kartenhöhe (z. B. Rudel-Hinweis), wer was ist */
.rolecard .face { position: absolute; inset: 26px 22px 22px; overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s; }
.rolecard.open .face { position: relative; inset: auto; overflow: visible; opacity: 1; transform: none; }
.rolecard .face h2 { font-size: 36px; margin: 38px 0 10px; line-height: 1.05; }
.rolecard .face p { font-size: 17px; line-height: 1.5; }
.rolecard .cover { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; transition: opacity .18s; color: var(--mist); }
.rolecard.open .cover { opacity: 0; pointer-events: none; }
.rolecard .cover svg { width: 64px; height: 64px; margin: 0 auto; opacity: .8; }
.rolecard .cover b { font-family: var(--serif); font-size: 22px; color: var(--bone); font-weight: 600; }
.notes { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.notes p { margin: 0 0 8px; color: var(--bone); }
.notes p.love { color: var(--rose); }
.notes p.wolfnote { color: var(--wolf-text); }

/* ---- Im Spiel ---- */
.phasebar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.phasebar .big { font-family: var(--serif); font-size: 26px; flex: 1; min-width: 0; }
.phasebar .stage { display: block; font-family: var(--sans); font-size: 14px; color: var(--mist); font-weight: 600; margin-top: 1px; }
.subtitle { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--bone); border-left: 3px solid var(--lantern); padding: 2px 0 2px 12px; margin: 6px 0 14px; }
.score { display: flex; gap: 8px; }
.score span { font-size: 13px; padding: 3px 10px; border-radius: 99px; background: var(--ink-2); }
.score .w { color: var(--wolf-text); } .score .d { color: var(--moss); }
.banner { border-radius: 14px; padding: 14px 16px; margin: 12px 0; background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.banner.win { box-shadow: inset 0 0 0 2px var(--lantern); }
.banner.alert { box-shadow: inset 0 0 0 2px var(--ember); }
.banner h3 { margin-bottom: 4px; }
.step { background: var(--ink-2); border-radius: 18px; padding: 18px; margin: 12px 0; box-shadow: inset 0 0 0 1.5px var(--line); }
.step h2 { margin: 2px 0 8px; font-size: 26px; }
.step .say { font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.step .tip { margin-top: 10px; font-size: 14px; color: var(--mist); border-left: 3px solid var(--line); padding-left: 10px; }
.progress { display: flex; gap: 5px; margin-bottom: 14px; }
.progress i { height: 5px; flex: 1; border-radius: 3px; background: var(--ink-3); }
.progress i.done { background: var(--mist); }
.progress i.now { background: var(--lantern); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .btn { flex: 1; }
.row.tools { margin-top: 12px; gap: 8px; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 10px 0; }
.pick button { appearance: none; border: 0; background: var(--ink-3); color: var(--bone); border-radius: 12px; padding: 12px 8px; min-height: 48px; font-weight: 600; cursor: pointer; overflow-wrap: anywhere; }
.pick button[aria-pressed=true] { background: var(--lantern); color: var(--lantern-ink); }
.pick button.wolfpick[aria-pressed=true] { background: var(--ember); color: #fff; }
.pick button.abstain { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--mist); }
.pick button.abstain[aria-pressed=true] { background: var(--ink-3); color: var(--bone); box-shadow: inset 0 0 0 2px var(--mist); }
.pick button:disabled { opacity: .35; }
.pick button .votes { display: block; font-size: 12px; font-weight: 500; opacity: .85; margin-top: 2px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.prow:last-child { border-bottom: 0; }
.prow .nm { font-weight: 600; flex: 1; min-width: 110px; overflow-wrap: anywhere; }
.prow.dead .nm { text-decoration: line-through; color: var(--mist); }
.prow .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.timer { font-family: var(--serif); font-size: 44px; text-align: center; letter-spacing: .04em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.timer.low { color: var(--ember); }
.bar { height: 8px; border-radius: 5px; background: var(--ink-3); overflow: hidden; margin: 6px 0; }
.bar i { display: block; height: 100%; background: var(--lantern); }
.log { max-height: 260px; overflow: auto; font-size: 14px; }
.log p { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--mist); }
.log p b { color: var(--bone); font-weight: 500; }
details > summary { cursor: pointer; padding: 12px 0; font-family: var(--serif); font-size: 19px; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; font-family: var(--sans); color: var(--mist); font-size: 22px; }
details[open] > summary::after { content: "–"; }
details > .inner { padding: 12px 0 4px; }

/* Abstimmung */
.tally { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.tally .nm { width: 38%; font-weight: 600; overflow-wrap: anywhere; }
.tally .bar { flex: 1; margin: 0; }
.tally b { width: 26px; text-align: right; font-family: var(--serif); font-size: 19px; }

/* Nacht-Sichtschutz: bei allen Spielern identisch */
.nightcover { appearance: none; border: 0; width: 100%; min-height: 62vh; margin-top: 10px; border-radius: 22px; background: var(--ink-2); color: var(--mist); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; text-align: center; font-size: 16px; cursor: pointer; }
.nightcover svg { width: 70px; height: 70px; opacity: .7; }
.nightcover b { font-family: var(--serif); font-size: 28px; color: var(--bone); font-weight: 600; }
.nightcover span { max-width: 30ch; }

/* Hinweis unten */
#toast { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 24px); transform: translate(-50%, 30px); background: var(--toast-bg); color: var(--toast-ink); padding: 12px 18px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; max-width: 90vw; text-align: center; box-shadow: var(--shadow); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--ember); color: #fff; }

/* Bestätigungsfenster */
#sheet { position: fixed; inset: 0; background: var(--veil); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
#sheet[hidden] { display: none; }
#sheet .panel { background: var(--ink-2); width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; padding: 22px 18px calc(var(--safe-b) + 20px); box-shadow: var(--shadow); max-height: 86vh; overflow: auto; }
#sheet h3 { margin-bottom: 8px; font-size: 20px; }
#sheet .row { margin-top: 16px; }

.share { text-align: center; padding: 16px 0 4px; }
.share .code-chip { display: inline-block; margin-bottom: 12px; font-size: 30px; padding: 12px 22px; }

.crown::after { content: " (Leitung)"; color: var(--mist); font-weight: 400; font-size: 13px; }
.tablelike { width: 100%; border-collapse: collapse; font-size: 15px; }
.tablelike td, .tablelike th { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.tablelike th { color: var(--mist); font-weight: 500; font-size: 13px; }
.tablelike td.n, .tablelike th.n { text-align: right; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (min-width: 700px) { #app { padding-top: 40px; } }

/* Einstellungszeilen mit Auswahl: Beschriftung bekommt Platz, die Auswahl rutscht bei Bedarf darunter */
.item.wrap > .grow { flex: 1 1 150px; }
.item.wrap > .seg { flex: none; }

/* Offen liegende Karte (tot und aufgedeckt, oder Spielende) */
.rolecard.fixed { cursor: default; touch-action: auto; min-height: 0; }
.rolecard.fixed .face h2 { margin-top: 14px; }

/* Stimmauswahl */
select.sel { appearance: none; flex: 1 1 170px; min-width: 0; max-width: 100%; background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 32px 9px 11px; min-height: 42px; color: var(--bone); cursor: pointer; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 14px center, right 9px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
select.sel:focus { outline: none; border-color: var(--lantern); }

/* Einladen mit QR-Code. Der Code bleibt in jedem Farbmodus schwarz auf weiß, sonst erkennt ihn die Kamera schlecht. */
.invitebox { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 12px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.invitebox .qr { appearance: none; border: 0; padding: 6px; background: #fff; border-radius: 10px; line-height: 0; cursor: pointer; flex: none; }
.invitebox .codebig { font-family: var(--serif); font-size: 26px; letter-spacing: .22em; color: var(--link); margin-top: 2px; }
.qrbig { background: #fff; border-radius: 16px; padding: 10px; margin: 6px auto 12px; width: min(72vw, 300px); line-height: 0; }
.qrbig img { width: 100%; height: auto; display: block; }
