:root {
  --bg: #f6f3ee;
  --panel: #ffffff;
  --ink: #1f1a17;
  --muted: #6b625b;
  --line: #e4ddd3;
  --accent: #c8341f;      /* tändsticksröd */
  --accent-dark: #9e2716;
  --accent-soft: #fbe9e5;
  --wood: #2b211b;
  --social: #e76f51;
  --technical: #2a9d8f;
  --economic: #e9c46a;
  --good: #2d6a4f;
  --warn: #b5651d;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45;
}
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }

/* Toppfält */
.topbar {
  display: flex; align-items: center; gap: 16px; padding: 10px 18px;
  background: var(--wood); color: #fff; min-height: 56px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: #fff; text-decoration: none; }
.brand .logo { width: 28px; height: 28px; display: block; flex: none; }
.brand { letter-spacing: .01em; }
.brand-hero { font-size: 1.6rem; gap: 12px; }
.brand-hero .logo { width: 44px; height: 44px; }
.topbar .who { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; opacity: .95; }
.topbar button.link { color: #fff; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs button {
  background: transparent; color: #e8e0d8; border: 0; padding: 8px 12px; border-radius: 8px; font: inherit; cursor: pointer;
}
.tabs button:hover { background: rgba(255,255,255,.08); }
.tabs button.active { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }

/* Knappar och formulär */
button, .btn {
  font: inherit; cursor: pointer; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
button:hover, .btn:hover { border-color: #cdbfb0; }
button.primary, .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
button.primary:hover { background: var(--accent-dark); }
button.danger { color: #a4161a; }
button.link { border: 0; background: none; padding: 0; text-decoration: underline; color: var(--accent-dark); }
button:disabled { opacity: .5; cursor: not-allowed; }
input[type=text], input[type=password], input[type=url], textarea, select {
  font: inherit; width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid #f2b5a9; border-color: var(--accent); }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
label .muted { font-weight: 400; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin: 8px 0; }
.check input { margin-top: 3px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.page { max-width: 1100px; margin: 0 auto; padding: 22px 16px 60px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stack > * + * { margin-top: 18px; }
@media (max-width: 800px) { .grid2 { grid-template-columns: 1fr; } }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #eee; color: #444; }
.badge.ok { background: #d8f3dc; color: var(--good); }
.badge.wait { background: #fff3cd; color: #7a5a00; }
.badge.red { background: var(--accent-soft); color: var(--accent-dark); }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }

.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--wood); color: #fff;
  padding: 10px 18px; border-radius: 8px; box-shadow: var(--shadow); z-index: 5000; max-width: 90vw;
}
.toast.error { background: #a4161a; }

/* Inloggning */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.hero-art {
  background: radial-gradient(circle at 30% 20%, #4a372c 0, var(--wood) 60%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: center;
}
.hero-art h1 { font-size: 2.4rem; }
.hero-art p { font-size: 1.08rem; opacity: .9; max-width: 520px; }
.pillars { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.pillar { padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.hero-form { display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.hero-form .panel { width: 100%; max-width: 380px; }
.code-input { font-size: 1.3rem !important; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .hero-art { padding: 32px 20px; } .hero-art h1 { font-size: 1.8rem; } }

/* Redigeraren */
.editor { display: grid; grid-template-columns: 250px 1fr 340px; height: calc(100vh - 56px); }
.editor > aside { overflow-y: auto; background: var(--panel); }
.palette { border-right: 1px solid var(--line); padding: 12px; }
.sidebar { border-left: 1px solid var(--line); padding: 14px; }
.palette h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 6px; }
.palette h3:first-child { margin-top: 4px; }
.tool {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: 1px solid transparent; background: none;
  padding: 7px 8px; border-radius: 8px; font-size: .9rem;
}
.tool:hover { background: #f4efe8; border-color: transparent; }
.tool.active { background: var(--accent-soft); border-color: #f2b5a9; font-weight: 600; }
.swatch { width: 16px; height: 16px; border-radius: 4px; flex: none; border: 1px solid rgba(0,0,0,.15); }
.swatch.pt { border-radius: 50%; display: grid; place-items: center; font-size: 11px; width: 20px; height: 20px; border: 0; background: #fff !important; box-shadow: 0 0 0 1px var(--line); }
.mapwrap { position: relative; }
#map, .map { width: 100%; height: 100%; background: #e8e4dc; }
.map-hint {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1000; background: var(--wood); color: #fff;
  padding: 8px 14px; border-radius: 8px; font-size: .9rem; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; max-width: 92%;
}
.map-hint button { padding: 4px 10px; font-size: .85rem; }
.save-state { position: absolute; bottom: 12px; left: 12px; z-index: 1000; background: #fff; padding: 4px 10px; border-radius: 6px; font-size: .8rem; box-shadow: var(--shadow); }
@media (max-width: 1000px) {
  .editor { grid-template-columns: 1fr; height: auto; }
  .editor .mapwrap { height: 65vh; order: 1; }
  .palette { order: 2; border-right: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px; }
  .palette h3 { grid-column: 1 / -1; }
  .sidebar { order: 3; border-left: 0; border-top: 1px solid var(--line); }
}

/* Mätare */
.balance { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.balance .ring { --p: 0; width: 74px; height: 74px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), #eee5da 0); }
.balance .ring span { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.meter { margin: 10px 0; }
.meter-head { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.meter-bar { height: 12px; background: #eee5da; border-radius: 999px; overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: 999px; transition: width .35s ease; }
.meter details { margin-top: 4px; font-size: .82rem; }
.meter summary { cursor: pointer; color: var(--muted); }
.part { display: grid; grid-template-columns: 1fr 44px; gap: 2px 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.part b { font-weight: 600; }
.part .score { text-align: right; font-variant-numeric: tabular-nums; }
.part .why { grid-column: 1 / -1; color: var(--muted); }
.hints { margin: 12px 0; padding: 0; list-style: none; }
.hints li { background: #fff8e6; border-left: 3px solid var(--economic); padding: 7px 10px; margin: 6px 0; border-radius: 0 6px 6px 0; font-size: .86rem; }
.keyfig { width: 100%; font-size: .85rem; }
.keyfig td { padding: 4px 0; }
.keyfig td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

.props { background: #faf7f3; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 14px; }
.props label { margin-top: 10px; font-size: .88rem; }
.props input[type=range] { width: 100%; }
.props .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Kartmarkörer */
.pt-marker { background: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.4); border: 2px solid var(--c, #333); }
.pt-marker.sel { box-shadow: 0 0 0 4px rgba(200,52,31,.45); }
.vertex { background: #fff; border: 2px solid var(--accent); border-radius: 50%; }

/* Förslagsvisning (galleri / jury) */
.proposal-view { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.proposal-view .map { height: 440px; border-radius: var(--radius); border: 1px solid var(--line); }
.proposal-text h4 { margin: 14px 0 4px; font-size: .9rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.proposal-text p { margin: 0; white-space: pre-wrap; }
@media (max-width: 900px) { .proposal-view { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; text-align: left; display: block; width: 100%; }
.card:hover { border-color: var(--accent); }
.card.selected { outline: 3px solid var(--accent); }
.mini-meters { display: flex; gap: 6px; margin-top: 8px; }
.mini-meters span { flex: 1; height: 6px; border-radius: 4px; background: #eee5da; position: relative; overflow: hidden; }
.mini-meters span i { position: absolute; inset: 0 auto 0 0; }

.rubric { display: grid; gap: 12px; }
.rubric .crit { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.stars { display: flex; gap: 6px; margin-top: 6px; }
.stars button { width: 40px; justify-content: center; padding: 6px 0; }
.stars button.on { background: var(--accent); color: #fff; border-color: var(--accent); }

.code-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.code-card { border: 2px dashed #bbb; border-radius: 8px; padding: 14px; text-align: center; }
.code-card .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.4rem; letter-spacing: .08em; font-weight: 700; margin: 6px 0; }
@media print {
  body { background: #fff; }
  .no-print, .topbar { display: none !important; }
  .print-only { display: block !important; }
  .panel { box-shadow: none; border: 0; }
}
.print-only { display: none; }

.effects { background: #efe7fb; border: 1px solid #d7c4f2; color: #3c096c; padding: 8px 12px; border-radius: 8px; font-size: .86rem; margin-bottom: 12px; }
.dilemma { border: 1px solid var(--line); border-left: 5px solid var(--c, var(--accent)); border-radius: 10px; background: #fff; padding: 16px; box-shadow: var(--shadow); }
.dilemma + .dilemma { margin-top: 16px; }
.dilemma h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.dilemma .q { font-weight: 600; margin: 10px 0 6px; }
.tab-count { background: var(--accent); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; margin-left: 4px; }
.section-form .panel + .panel { margin-top: 18px; }

/* Underflikar */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.subnav button { border-radius: 999px; padding: 6px 14px; }
.subnav button.active { background: var(--wood); color: #fff; border-color: var(--wood); }

/* Översikt */
.overview-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.week-bar { display: flex; gap: 4px; }
.week-bar span { padding: 3px 12px; border-radius: 6px; background: #eee5da; font-size: .82rem; font-weight: 600; color: var(--muted); }
.week-bar span.past { background: #d8f3dc; color: var(--good); }
.week-bar span.now { background: var(--accent); color: #fff; }
.pitch-box { background: #faf7f3; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-width: 220px; }
.todo { margin: 0; padding: 0; list-style: none; }
.todo li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.week-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 4px 16px; box-shadow: var(--shadow); }
.week-block > summary { cursor: pointer; padding: 10px 0; }
.milestone { border-top: 1px solid var(--line); padding: 14px 0; }
.milestone-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.milestone textarea { min-height: 70px; }

/* Kommentarer och respons */
.comments { display: grid; gap: 8px; margin: 10px 0; }
.comment { background: #f4f8fb; border: 1px solid #dce7f0; border-radius: 8px; padding: 8px 12px; }
.comment.own { background: #faf7f3; border-color: var(--line); }
.review-form, .review-received { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-top: 12px; }
.review-received h4 { margin: 10px 0 2px; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.review-received p { margin: 0; }
.review-target:not(:empty) { margin: 12px 0; padding: 12px; background: #faf7f3; border-radius: 8px; }

/* Platsanalys på kartan */
.note-marker { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #fff; border: 2px solid var(--c); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.35); font-size: 13px; }
.note-marker span { transform: rotate(45deg); line-height: 1; }
.map-tools { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* Admin: översikt och detaljer */
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #faf7f3; }
.detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.mentor-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; }

/* QR-skyltar för utställningen */
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12mm; }
.qr-card { border: 2px solid #222; border-radius: 6mm; padding: 8mm; text-align: center; break-inside: avoid; page-break-inside: avoid; }
.qr-card h2 { font-size: 1.4rem; margin: 4px 0 8px; }
.qr-card .qr svg { width: 55mm; height: 55mm; }
.qr-card p { margin: 6px 0 0; font-size: .9rem; }
@media print {
  body.printing-qr .panel, body.printing-qr .topbar { display: none !important; }
  body.printing-qr #qr-sheet { display: block !important; }
}

/* Publik utställning */
.exhibit-hero { background: var(--wood); color: #fff; padding: 28px 16px; }
.exhibit-hero .inner { max-width: 1200px; margin: 0 auto; }

/* =========================================================================
   Startsidan
   ========================================================================= */
body.landing { background: #fff; }
.landing-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; color: #fff; background: #1b1512; display: flex; flex-direction: column; justify-content: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2.2s ease; will-change: transform, opacity; }
.hero-slide.visible { opacity: 1; }
/* Långsam zoom och panorering i fyra varianter */
.kb-a { animation: kb-a 14s ease-out forwards; }
.kb-b { animation: kb-b 14s ease-out forwards; }
.kb-c { animation: kb-c 14s ease-out forwards; }
.kb-d { animation: kb-d 14s ease-out forwards; }
@keyframes kb-a { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
@keyframes kb-b { from { transform: scale(1.14) translate(2%, 1%); } to { transform: scale(1.03) translate(0, 0); } }
@keyframes kb-c { from { transform: scale(1.04) translate(2%, -1%); } to { transform: scale(1.15) translate(-1%, 1.5%); } }
@keyframes kb-d { from { transform: scale(1.12) translate(-2%, 1%); } to { transform: scale(1.02) translate(1.5%, -1%); } }

/* Flygfoto som reserv: större än skärmen och glider långsamt */
.hero-map { position: absolute; width: 150%; height: 150%; left: -25%; top: -25%; opacity: 0; transition: opacity 2s ease; background: #2b2420; }
.hero-map.visible { opacity: 1; }
.hero-map.drifting { animation: drift 90s ease-in-out infinite alternate; }
@keyframes drift {
  0%   { transform: translate(6%, 4%) scale(1); }
  50%  { transform: translate(-5%, 2%) scale(1.08); }
  100% { transform: translate(2%, -6%) scale(1.02); }
}
.hero-map .leaflet-container, .hero-map.leaflet-container { background: #2b2420; }

.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(22,16,13,.88) 0%, rgba(22,16,13,.62) 45%, rgba(22,16,13,.30) 100%),
  linear-gradient(0deg, rgba(22,16,13,.65) 0%, rgba(22,16,13,0) 35%); }

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 24px 96px; display: grid; grid-template-columns: 1.3fr minmax(300px, 380px); gap: 48px; align-items: center; }
.hero-text h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; margin: 6px 0 18px; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-text .brand-hero { margin-bottom: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: #f4c27a; margin: 0; }
.eyebrow.dark { color: var(--accent-dark); }
.lead { font-size: 1.12rem; line-height: 1.6; max-width: 600px; opacity: .95; }
.lead.dark { color: var(--ink); opacity: 1; }
.partner { margin-top: 32px; opacity: .75; }
.login-card { color: var(--ink); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); box-shadow: 0 20px 60px rgba(0,0,0,.35); }

.hero-caption { position: absolute; z-index: 2; left: 24px; bottom: 20px; max-width: min(60%, 640px); font-size: .82rem; color: rgba(255,255,255,.85); display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero-caption .credit { font-size: .74rem; opacity: .75; }
.scroll-cue { position: absolute; z-index: 2; right: 24px; bottom: 20px; color: #fff; text-decoration: none; font-size: .85rem; opacity: .85; padding: 6px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.scroll-cue:hover { opacity: 1; background: rgba(255,255,255,.08); }

.landing-section { padding: 72px 24px; }
.landing-section.alt { background: var(--bg); }
.landing-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 18px; }
.landing-wrap { max-width: 1100px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.facts { display: grid; gap: 14px; }
.facts div { display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 12px; background: var(--bg); }
.facts b { font-size: 2.2rem; line-height: 1; min-width: 40px; color: var(--accent); }
.facts div:nth-child(2) b { color: var(--technical); }
.facts div:nth-child(3) b { color: #c99a2e; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: relative; }
.step h3 { margin: 12px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--wood); color: #fff; font-weight: 800; }
.step:nth-child(1) .step-n { background: var(--social); }
.step:nth-child(2) .step-n { background: #c99a2e; }
.step:nth-child(3) .step-n { background: var(--technical); }
.step:nth-child(4) .step-n { background: var(--accent); }
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.role span { font-size: 1.6rem; }
.role h3 { margin: 8px 0 6px; font-size: 1rem; }
.role p { margin: 0; color: var(--muted); font-size: .9rem; }
.final-band { background: var(--wood); color: #fff; }

@media (max-width: 1000px) {
  .roles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px 110px; }
  .hero-text .brand-hero { margin-bottom: 20px; }
  .hero-shade { background: linear-gradient(180deg, rgba(22,16,13,.8) 0%, rgba(22,16,13,.55) 60%, rgba(22,16,13,.8) 100%); }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .landing-section { padding: 52px 16px; }
  .hero-caption { left: 16px; max-width: 70%; bottom: 16px; }
  .scroll-cue { right: 16px; bottom: 16px; }
}
@media (max-width: 520px) {
  .roles, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition-duration: .6s; }
  .hero-map.drifting { animation: none; }
}

.img-list { display: grid; gap: 10px; margin-top: 12px; }
.img-item { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.img-item img { width: 160px; height: 100px; object-fit: cover; border-radius: 6px; background: #eee; }
@media (max-width: 600px) { .img-item { grid-template-columns: 1fr; } .img-item img { width: 100%; height: 160px; } }
