/* ==========================================================================
   归义·河西残卷 — visual system
   Palette: ink, parchment, cinnabar, weathered gold, jade, desert night
   ========================================================================== */
:root {
  --ink: #17120e;
  --ink-2: #241b14;
  --ink-3: #35271d;
  --paper: #ead8b8;
  --paper-2: #dcc29a;
  --paper-3: #c6a574;
  --paper-deep: #b08a58;
  --gold: #c99a52;
  --gold-2: #e5c580;
  --gold-dim: rgba(201, 154, 82, .36);
  --red: #9c3327;
  --red-2: #c0523e;
  --jade: #456b5b;
  --jade-2: #7e9a83;
  --night: #0d1418;
  --night-2: #162127;
  --muted: #a58b68;
  --line: rgba(51, 36, 23, .22);
  --line-light: rgba(234, 216, 184, .18);
  --shadow: 0 30px 90px rgba(0, 0, 0, .55);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .09;
  background-image: url("../assets/paper-grain.png");
  background-size: 420px 420px;
  mix-blend-mode: overlay;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
::selection { background: rgba(156, 51, 39, .55); color: #fff6e7; }

#sand-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .5;
}
#app { position: relative; z-index: 3; height: 100%; }

.screen {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.screen.is-active { display: flex; }
.is-hidden { display: none !important; }

/* ==========================================================================
   Title
   ========================================================================== */
#screen-title { background: #0b1013; }
.title-art { position: absolute; inset: 0; }
.title-art svg { width: 100%; height: 100%; display: block; }
.title-wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 11, .96) 0%, rgba(7, 10, 11, .82) 32%, rgba(7, 10, 11, .12) 66%, rgba(7, 10, 11, .45) 100%),
    radial-gradient(ellipse at 70% 38%, rgba(201, 154, 82, .16), transparent 55%),
    linear-gradient(0deg, rgba(7, 10, 11, .9), transparent 35%);
}
.title-frame {
  position: relative;
  z-index: 3;
  flex: 1;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 7vh, 84px) clamp(28px, 7vw, 110px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.title-copy { max-width: 700px; animation: rise .9s var(--ease) both; }
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
}
.game-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(3.1rem, 8.1vw, 7.2rem);
  line-height: .98;
  letter-spacing: .055em;
  color: #f3e4c9;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .6);
  white-space: nowrap;
}
.game-title i { color: var(--red-2); font-style: normal; padding: 0 .06em; }
.title-subtitle {
  margin: 22px 0 0;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: .18em;
  color: var(--gold-2);
}
.title-lede {
  margin: 24px 0 30px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  color: rgba(234, 216, 184, .7);
}
.title-menu { display: grid; width: min(420px, 100%); gap: 2px; padding: 6px 12px 6px 0; background: linear-gradient(90deg, rgba(7, 10, 11, .6), rgba(7, 10, 11, .12) 75%, transparent); }
.menu-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 16px 8px 0;
  border: 0;
  border-left: 1px solid rgba(201, 154, 82, .28);
  background: transparent;
  color: var(--paper);
  text-align: left;
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.menu-item:hover { transform: translateX(10px); background: linear-gradient(90deg, rgba(201, 154, 82, .12), transparent); border-color: var(--gold); }
.menu-index { font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.menu-item > span:nth-child(2) { font-size: 20px; letter-spacing: .26em; }
.menu-item small { font-family: var(--sans); font-size: 10px; letter-spacing: .16em; color: rgba(234, 216, 184, .42); }
.menu-item.primary { background: linear-gradient(90deg, rgba(156, 51, 39, .24), transparent); border-left-color: var(--red-2); }
.menu-item.primary > span:nth-child(2) { color: #fff0d7; }
.title-tip { margin: 26px 0 0; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; color: rgba(234, 216, 184, .36); }
.title-side { display: flex; align-items: center; gap: 28px; align-self: stretch; padding-bottom: 8vh; }
.vertical-poem {
  writing-mode: vertical-rl;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 2.1;
  letter-spacing: .34em;
  color: rgba(234, 216, 184, .58);
  border-right: 1px solid rgba(201, 154, 82, .2);
  padding-right: 22px;
}
.seal-mark {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  background: var(--red);
  color: #f7e7cb;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
  border: 1px solid rgba(255, 240, 215, .45);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .35);
  transform: rotate(-4deg);
  opacity: .9;
}
.title-footer {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px clamp(28px, 7vw, 110px) 24px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .16em;
  color: rgba(234, 216, 184, .3);
  border-top: 1px solid rgba(234, 216, 184, .08);
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   HUD / game shell
   ========================================================================== */
#screen-game { background: #0d1215; }
.hud {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px;
  padding: 10px clamp(16px, 3vw, 42px);
  background: linear-gradient(180deg, rgba(10, 14, 16, .98), rgba(10, 14, 16, .86));
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .28);
}
.hud-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.chapter-stamp {
  flex: none;
  padding: 6px 10px;
  border: 1px solid rgba(201, 154, 82, .36);
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
  line-height: 1.3;
}
.hud-location { min-width: 0; }
.hud-location strong { display: block; font-size: 20px; letter-spacing: .16em; font-weight: 600; color: #f0dfc2; }
.hud-location span { display: block; margin-top: 4px; font-family: var(--sans); font-size: 10px; letter-spacing: .1em; color: rgba(234, 216, 184, .46); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-resources { display: flex; align-items: center; gap: 8px; }
.resource {
  display: flex; align-items: center; gap: 8px;
  min-width: 64px; padding: 7px 10px;
  border: 1px solid rgba(234, 216, 184, .1);
  background: rgba(234, 216, 184, .035);
  font-family: var(--sans);
}
.res-icon {
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; font-size: 10px; color: #1b140e;
  background: var(--gold-2);
}
.res-icon.water { background: #8eaeb1; }
.res-icon.food { background: #c7a36a; }
.res-icon.coin { background: #d2b46d; border-radius: 3px; transform: rotate(45deg); }
.res-icon.coin::first-letter { transform: rotate(-45deg); }
.resource b { font-size: 13px; color: #f0dfc2; font-weight: 500; }
.hud-actions { display: flex; gap: 7px; }
.icon-btn {
  width: 42px; height: 42px;
  border: 1px solid rgba(234, 216, 184, .16);
  background: rgba(234, 216, 184, .04);
  color: rgba(234, 216, 184, .72);
  font-size: 13px;
  letter-spacing: .05em;
  transition: .25s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 154, 82, .12); }
.progress-track { height: 2px; background: rgba(234, 216, 184, .08); position: relative; z-index: 20; }
.progress-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .8s var(--ease); }
.stage { flex: 1; min-height: 0; overflow: auto; position: relative; }
.game-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px clamp(16px, 3vw, 42px);
  border-top: 1px solid rgba(234, 216, 184, .08);
  background: rgba(8, 11, 12, .72);
  font-family: var(--sans); font-size: 10px; letter-spacing: .1em;
  color: rgba(234, 216, 184, .4);
}
.text-btn { border: 0; background: none; color: var(--gold); font-family: var(--sans); font-size: 10px; letter-spacing: .16em; padding: 4px; }
.text-btn:hover { color: var(--gold-2); }

/* ==========================================================================
   Map
   ========================================================================== */
.map-shell {
  width: min(1450px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(12px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
}
.map-panel {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(201, 154, 82, .24);
  background:
    radial-gradient(ellipse at 60% 40%, rgba(236, 214, 174, .08), transparent 60%),
    linear-gradient(135deg, rgba(28, 23, 18, .96), rgba(15, 18, 17, .98));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/paper-grain.png");
  opacity: .12; mix-blend-mode: overlay; pointer-events: none;
}
.map-heading { position: absolute; top: 22px; left: 26px; z-index: 4; }
.map-heading h2 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .22em; font-weight: 500; color: #f0dfc2; }
.map-heading p { margin: 8px 0 0; font-family: var(--sans); font-size: 10px; letter-spacing: .18em; color: var(--gold); }
.map-legend { position: absolute; right: 24px; bottom: 20px; z-index: 4; display: flex; gap: 14px; font-family: var(--sans); font-size: 9px; color: rgba(234, 216, 184, .45); }
.map-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.map-legend .visited { background: var(--gold); }
.map-legend .current { background: var(--red-2); box-shadow: 0 0 0 4px rgba(192, 82, 62, .18); }
.map-legend .locked { background: rgba(234, 216, 184, .18); }
.map-canvas { position: absolute; inset: 0; }
.map-canvas svg { width: 100%; height: 100%; }
.route-path { fill: none; stroke: rgba(201, 154, 82, .35); stroke-width: 1.3; stroke-dasharray: 6 7; }
.route-path.active { stroke: var(--gold-2); stroke-width: 2.2; stroke-dasharray: 10 5; animation: routeFlow 12s linear infinite; }
.route-path.locked { stroke: rgba(234, 216, 184, .12); }
@keyframes routeFlow { to { stroke-dashoffset: -200; } }
.map-node {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 108px; padding: 0; border: 0; background: transparent;
  color: var(--paper);
  transition: transform .4s var(--ease), opacity .3s;
}
.map-node:hover { transform: translate(-50%, -50%) scale(1.06); }
.node-seal {
  position: relative;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(201, 154, 82, .55);
  border-radius: 50%;
  background: rgba(12, 16, 16, .85);
  font-size: 11px; color: var(--gold-2);
  box-shadow: 0 0 0 5px rgba(201, 154, 82, .04);
  transition: .3s;
}
.node-seal::after { content: ""; position: absolute; inset: -5px; border: 1px solid transparent; border-radius: 50%; }
.map-node.visited .node-seal { background: var(--gold); color: #1a130d; border-color: var(--gold-2); }
.map-node.current .node-seal { background: var(--red); color: #fff1d9; border-color: #e2b07e; animation: nodePulse 2.4s ease-in-out infinite; }
.map-node.next .node-seal { border-color: var(--gold-2); box-shadow: 0 0 0 5px rgba(201, 154, 82, .12), 0 0 26px rgba(201, 154, 82, .22); }
.map-node.locked { opacity: .46; cursor: not-allowed; }
.map-node.locked:hover { transform: translate(-50%, -50%); }
@keyframes nodePulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(156, 51, 39, .14); } 50% { box-shadow: 0 0 0 11px rgba(156, 51, 39, .02); } }
.node-label { font-size: 13px; letter-spacing: .12em; text-shadow: 0 2px 10px #000; white-space: nowrap; }
.node-sub { font-family: var(--sans); font-size: 8px; letter-spacing: .1em; color: rgba(234, 216, 184, .4); white-space: nowrap; }
.map-node.current .node-label { color: #ffe9c7; }
.map-node.locked .node-label { color: rgba(234, 216, 184, .48); }
.map-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.side-card {
  border: 1px solid rgba(201, 154, 82, .18);
  background: linear-gradient(160deg, rgba(32, 26, 20, .95), rgba(18, 20, 18, .96));
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.side-card h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: .22em; font-weight: 500; color: var(--gold); }
.side-card p { margin: 0; font-size: 13px; line-height: 1.9; color: rgba(234, 216, 184, .68); }
.side-card .objective { color: #f0dfc2; }
.side-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.side-stat { padding: 10px 6px; border: 1px solid rgba(234, 216, 184, .08); text-align: center; }
.side-stat b { display: block; font-size: 18px; color: var(--gold-2); font-weight: 500; }
.side-stat span { font-family: var(--sans); font-size: 8px; letter-spacing: .12em; color: rgba(234, 216, 184, .35); }
.key-chip { margin-top: 10px; padding: 8px 10px; border: 1px solid rgba(156, 51, 39, .45); background: rgba(156, 51, 39, .1); font-family: var(--sans); font-size: 9px; letter-spacing: .08em; color: #e5c580; }
.route-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.route-item { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 10px; color: rgba(234, 216, 184, .5); }
.route-item i { width: 18px; height: 1px; background: var(--gold-dim); }
.route-item.active { color: var(--gold-2); }
.route-item.locked { opacity: .35; }
.map-side .btn { width: 100%; }

/* ==========================================================================
   Buttons / common
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 18px;
  border: 1px solid rgba(201, 154, 82, .45);
  background: rgba(201, 154, 82, .06);
  color: var(--gold-2);
  font-family: var(--sans); font-size: 11px; letter-spacing: .14em;
  transition: .25s;
}
.btn:hover { background: rgba(201, 154, 82, .16); border-color: var(--gold-2); transform: translateY(-1px); }
.btn.primary { background: var(--red); border-color: var(--red-2); color: #fff0d8; }
.btn.primary:hover { background: var(--red-2); }
.btn.ghost { background: transparent; border-color: rgba(234, 216, 184, .18); color: rgba(234, 216, 184, .55); }
.btn.ghost:hover { color: var(--paper); border-color: rgba(234, 216, 184, .4); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.btn.small { min-height: 34px; padding: 6px 12px; font-size: 10px; }
.btn.wide { width: 100%; }

/* ==========================================================================
   Dialogue
   ========================================================================== */
.layer { position: fixed; inset: 0; z-index: 60; }
.dialogue-layer {
  display: flex; align-items: flex-end;
  background: linear-gradient(0deg, rgba(4, 6, 7, .82), rgba(4, 6, 7, .08) 55%, transparent);
  padding: 0 clamp(12px, 3vw, 40px) clamp(16px, 4vh, 40px);
  outline: none;
}
.dialogue-box {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex; gap: 0;
  border: 1px solid rgba(201, 154, 82, .32);
  background: linear-gradient(160deg, rgba(26, 21, 16, .98), rgba(13, 17, 17, .98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  animation: dialogueIn .45s var(--ease) both;
  position: relative;
}
.dialogue-box::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(234, 216, 184, .07); pointer-events: none; }
@keyframes dialogueIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.portrait-wrap {
  flex: none; width: 160px; min-height: 190px;
  border-right: 1px solid rgba(201, 154, 82, .18);
  background: radial-gradient(ellipse at 50% 45%, rgba(201, 154, 82, .12), transparent 68%);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.portrait { width: 100%; height: 100%; min-height: 190px; }
.portrait svg { width: 100%; height: 100%; display: block; }
.dialogue-main { flex: 1; min-width: 0; padding: 20px 28px 22px; display: flex; flex-direction: column; }
.dialogue-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid rgba(234, 216, 184, .1); padding-bottom: 10px; }
#dlg-name { font-size: 15px; letter-spacing: .18em; color: var(--gold-2); }
.dialogue-skip { font-family: var(--sans); font-size: 9px; letter-spacing: .1em; color: rgba(234, 216, 184, .32); }
.dialogue-text { margin: 14px 0 4px; font-size: clamp(14px, 1.4vw, 17px); line-height: 2; letter-spacing: .04em; color: #ead8b8; min-height: 62px; white-space: pre-wrap; }
.dialogue-text::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 3px; background: var(--gold); vertical-align: -2px; animation: caret 1s steps(2) infinite; }
.dialogue-text.done::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.dialogue-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice-btn {
  flex: 1 1 200px;
  text-align: left;
  padding: 11px 14px;
  border: 1px solid rgba(201, 154, 82, .24);
  background: rgba(201, 154, 82, .04);
  color: rgba(234, 216, 184, .82);
  font-size: 13px; line-height: 1.6;
  transition: .25s;
}
.choice-btn:hover { border-color: var(--gold); background: rgba(201, 154, 82, .12); color: #fff0d8; transform: translateX(3px); }
.choice-btn small { display: block; margin-top: 3px; font-family: var(--sans); font-size: 9px; letter-spacing: .06em; color: rgba(234, 216, 184, .34); }
.choice-btn .choice-index { color: var(--gold); margin-right: 8px; font-family: var(--sans); font-size: 10px; }

/* ==========================================================================
   Event card
   ========================================================================== */
.event-layer {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 2.4vw, 28px);
  background: rgba(4, 6, 7, .76);
  backdrop-filter: blur(6px);
}
.event-card {
  width: min(1120px, 100%);
  max-height: min(92vh, 860px);
  display: grid; grid-template-columns: minmax(260px, .86fr) minmax(0, 1.14fr);
  border: 1px solid rgba(201, 154, 82, .36);
  background: linear-gradient(155deg, rgba(30, 24, 18, .99), rgba(13, 17, 17, .99));
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: cardIn .5s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.event-art { position: relative; min-height: 360px; overflow: hidden; border-right: 1px solid rgba(201, 154, 82, .18); }
.event-art svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(1.06) contrast(1.04); }
.event-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 17, 17, .68), transparent 52%); }
.event-art .event-caption { position: absolute; left: 20px; bottom: 18px; z-index: 2; font-family: var(--sans); font-size: 9px; letter-spacing: .18em; color: rgba(234, 216, 184, .5); }
.event-body { padding: clamp(18px, 2.6vw, 32px); overflow: auto; display: flex; flex-direction: column; }
.event-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 9px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.event-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.event-title { margin: 10px 0 6px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: .1em; color: #f2e1c4; }
.event-sub { margin: 0 0 16px; font-family: var(--sans); font-size: 10px; letter-spacing: .08em; color: rgba(234, 216, 184, .38); }
.event-text { font-size: 14px; line-height: 1.95; color: rgba(234, 216, 184, .76); }
.event-text p { margin: 0 0 12px; }
.event-body .dialogue-choices { margin-top: 16px; }
.event-body .choice-btn { flex-basis: 100%; }
.event-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(234, 216, 184, .08); }
.event-foot .hint { font-family: var(--sans); font-size: 9px; color: rgba(234, 216, 184, .3); }

/* ==========================================================================
   Puzzle: shared
   ========================================================================== */
.puzzle-area { margin-top: 12px; }
.puzzle-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-family: var(--sans); font-size: 10px; letter-spacing: .08em; color: rgba(234, 216, 184, .45); }
.puzzle-top b { color: var(--gold-2); font-weight: 500; }
.puzzle-clue { padding: 10px 12px; border-left: 2px solid var(--gold-dim); background: rgba(201, 154, 82, .05); font-size: 12px; line-height: 1.8; color: rgba(234, 216, 184, .62); margin-bottom: 12px; }
.puzzle-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.puzzle-status { min-height: 20px; font-family: var(--sans); font-size: 10px; letter-spacing: .06em; color: var(--gold); }
.puzzle-status.bad { color: #d47a63; }
.puzzle-status.good { color: #9dc4a4; }

/* Star puzzle */
.star-board { position: relative; width: 100%; aspect-ratio: 1.16; max-height: 350px; border: 1px solid rgba(234, 216, 184, .1); background: radial-gradient(ellipse at 50% 45%, #18262c, #0b1114 72%); overflow: hidden; }
.star-board svg { width: 100%; height: 100%; display: block; }
.star-hit { cursor: pointer; }
.star-hit circle.core { transition: .25s; }
.star-hit:hover circle.core { r: 7; }
.star-hit.lit circle.core { fill: #ffe5a8; filter: drop-shadow(0 0 10px #e9bd6a); }
.star-hit.lit circle.halo { opacity: .75; }
.star-hit.wrong { animation: shake .4s; }
.star-label { font-family: var(--sans); font-size: 9px; fill: rgba(234, 216, 184, .4); pointer-events: none; }
.star-hit.lit + .star-label, .star-hit.lit .star-label { fill: #ffe5a8; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Mural puzzle */
.mural-wrap { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: start; }
.mural-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; aspect-ratio: 1; border: 1px solid rgba(234, 216, 184, .16); background: #100d0a; }
.mural-tile { position: relative; border: 0; padding: 0; background-repeat: no-repeat; background-size: 300% 300%; cursor: pointer; transition: .2s; filter: saturate(.8) brightness(.86); }
.mural-tile:hover { filter: saturate(1) brightness(1); z-index: 2; box-shadow: 0 0 0 2px var(--gold); }
.mural-tile.selected { box-shadow: 0 0 0 3px var(--red-2); z-index: 3; filter: saturate(1.1) brightness(1.05); }
.mural-tile.solved { animation: tileGlow .8s; }
.mural-preview { border: 1px solid rgba(234, 216, 184, .14); padding: 6px; background: rgba(234, 216, 184, .04); }
.mural-preview .preview-img { width: 100%; aspect-ratio: 1; background-size: cover; opacity: .6; filter: sepia(.2); }
.mural-preview span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 8px; letter-spacing: .08em; color: rgba(234, 216, 184, .35); text-align: center; }
@keyframes tileGlow { 0% { filter: brightness(1); } 50% { filter: brightness(1.7); } 100% { filter: brightness(1); } }

/* Pipe puzzle */
.pipe-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: min(330px, 100%); margin: 0 auto; padding: 8px; border: 1px solid rgba(234, 216, 184, .14); background: #0c1112; }
.pipe-cell { position: relative; aspect-ratio: 1; border: 1px solid rgba(234, 216, 184, .07); background: rgba(234, 216, 184, .025); cursor: pointer; transition: background .2s; }
.pipe-cell:hover { background: rgba(201, 154, 82, .09); }
.pipe-cell svg { width: 100%; height: 100%; display: block; transition: transform .25s var(--ease); }
.pipe-cell .pipe-inner { width: 100%; height: 100%; }
.pipe-cell.src { box-shadow: inset 0 0 0 2px rgba(156, 51, 39, .7); }
.pipe-cell.dst { box-shadow: inset 0 0 0 2px rgba(69, 107, 91, .8); }
.pipe-cell.solved { background: rgba(201, 154, 82, .13); }
.pipe-note { font-family: var(--sans); font-size: 9px; color: rgba(234, 216, 184, .32); text-align: center; margin-top: 6px; }

/* Seal puzzle */
.document {
  position: relative;
  padding: 16px 18px;
  background: linear-gradient(160deg, #e3cda8, #ceb184);
  color: #2a1e14;
  border: 1px solid #a98656;
  box-shadow: inset 0 0 40px rgba(92, 57, 28, .16);
  font-size: 13px;
  line-height: 2;
}
.document::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(74, 45, 22, .22); pointer-events: none; }
.document p { margin: 0 0 4px; }
.doc-blank { display: inline-block; min-width: 74px; padding: 0 6px; border-bottom: 1px solid #7c5b35; color: #7d2b20; text-align: center; font-weight: 600; }
.doc-seal { position: absolute; right: 18px; bottom: 14px; width: 54px; height: 54px; border: 2px solid rgba(156, 51, 39, .7); color: rgba(156, 51, 39, .8); display: grid; place-items: center; font-size: 10px; line-height: 1.1; transform: rotate(-8deg); opacity: .55; }
.doc-options { display: grid; gap: 8px; margin-top: 10px; }
.doc-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid rgba(234, 216, 184, .14); background: rgba(234, 216, 184, .03); color: rgba(234, 216, 184, .72); font-size: 12px; text-align: left; }
.doc-option:hover { border-color: var(--gold); background: rgba(201, 154, 82, .08); }
.doc-option.selected { border-color: var(--red-2); background: rgba(156, 51, 39, .16); color: #ffe9c9; }
.doc-option small { font-family: var(--sans); font-size: 9px; color: rgba(234, 216, 184, .3); }
.seal-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.seal-choice { width: 74px; height: 74px; border: 1px solid rgba(234, 216, 184, .16); background: rgba(234, 216, 184, .03); display: grid; place-items: center; color: rgba(234, 216, 184, .55); font-size: 9px; line-height: 1.2; text-align: center; }
.seal-choice:hover { border-color: var(--gold); }
.seal-choice.selected { border-color: var(--red-2); background: rgba(156, 51, 39, .18); color: #ffe9c9; }
.seal-choice em { display: block; font-style: normal; font-size: 17px; color: var(--red-2); margin-bottom: 2px; }

/* Chest */
.chest-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.chest {
  position: relative; aspect-ratio: .92; border: 1px solid rgba(201, 154, 82, .24);
  background: radial-gradient(ellipse at 50% 40%, rgba(201, 154, 82, .14), transparent 70%), rgba(234, 216, 184, .025);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  transition: .25s;
}
.chest:hover { border-color: var(--gold); transform: translateY(-3px); background: rgba(201, 154, 82, .1); }
.chest svg { width: 64%; height: auto; }
.chest span { font-family: var(--sans); font-size: 9px; letter-spacing: .12em; color: rgba(234, 216, 184, .45); }
.chest.opened { pointer-events: none; opacity: .45; }
.chest.chosen { border-color: var(--gold-2); box-shadow: 0 0 30px rgba(201, 154, 82, .18); }
.chest.open-anim svg { animation: chestOpen .7s var(--ease) both; }
@keyframes chestOpen { 0% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-8px) rotate(-3deg); } 60% { transform: translateY(-4px) rotate(3deg); } 100% { transform: translateY(0) rotate(0); } }

/* Quiz */
.quiz-q { margin: 0 0 12px; font-size: 16px; line-height: 1.8; color: #f0dfc2; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1px solid rgba(234, 216, 184, .13); background: rgba(234, 216, 184, .025); color: rgba(234, 216, 184, .72); text-align: left; font-size: 13px; line-height: 1.6; transition: .2s; }
.quiz-option:hover { border-color: var(--gold); background: rgba(201, 154, 82, .07); }
.quiz-option .q-index { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(201, 154, 82, .35); color: var(--gold); font-family: var(--sans); font-size: 9px; }
.quiz-option.correct { border-color: #6f9b7a; background: rgba(69, 107, 91, .2); color: #d7ebd6; }
.quiz-option.wrong { border-color: #a6513d; background: rgba(156, 51, 39, .16); color: #e7b6a5; }
.quiz-option:disabled { cursor: default; }
.quiz-explain { margin-top: 12px; padding: 11px 13px; border-left: 2px solid var(--gold); background: rgba(201, 154, 82, .06); font-size: 12px; line-height: 1.8; color: rgba(234, 216, 184, .66); animation: rise .4s var(--ease); }

/* ==========================================================================
   Modal / inventory / codex / endings
   ========================================================================== */
.modal-layer {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 2.4vw, 28px);
  background: rgba(4, 6, 7, .78);
  backdrop-filter: blur(7px);
}
.modal-card {
  width: min(980px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  border: 1px solid rgba(201, 154, 82, .35);
  background:
    linear-gradient(150deg, rgba(235, 215, 182, .98), rgba(211, 184, 146, .98));
  color: #241b14;
  box-shadow: var(--shadow);
  animation: cardIn .4s var(--ease) both;
  position: relative;
}
.modal-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(74, 45, 22, .18); pointer-events: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 28px 14px; border-bottom: 1px solid rgba(74, 45, 22, .18); }
.modal-head h2 { margin: 0; font-size: 26px; letter-spacing: .14em; font-weight: 600; }
.modal-head p { margin: 5px 0 0; font-family: var(--sans); font-size: 9px; letter-spacing: .12em; color: rgba(36, 27, 20, .5); }
.modal-close { flex: none; width: 34px; height: 34px; border: 1px solid rgba(74, 45, 22, .25); background: transparent; color: #4a3422; font-size: 16px; line-height: 1; }
.modal-close:hover { background: rgba(74, 45, 22, .08); }
.modal-body { padding: 18px 28px 28px; }
.modal-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.modal-tab { padding: 7px 12px; border: 1px solid rgba(74, 45, 22, .18); background: transparent; color: rgba(36, 27, 20, .6); font-family: var(--sans); font-size: 10px; letter-spacing: .08em; }
.modal-tab.active { background: #2c2118; color: #ead8b8; border-color: #2c2118; }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.item-card { padding: 12px; border: 1px solid rgba(74, 45, 22, .18); background: rgba(255, 247, 232, .25); min-height: 122px; display: flex; flex-direction: column; gap: 6px; }
.item-card .item-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(74, 45, 22, .25); color: #7d2b20; font-size: 14px; }
.item-card h4 { margin: 2px 0 0; font-size: 13px; letter-spacing: .08em; }
.item-card p { margin: 0; font-family: var(--sans); font-size: 10px; line-height: 1.6; color: rgba(36, 27, 20, .6); }
.item-card .item-use { margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 0; color: #7d2b20; font-family: var(--sans); font-size: 9px; letter-spacing: .08em; text-decoration: underline; }
.item-card.key { border-color: rgba(156, 51, 39, .55); background: rgba(156, 51, 39, .08); }
.item-card.key .item-icon { border-color: #9c3327; color: #9c3327; }
.empty-note { padding: 30px 10px; text-align: center; font-size: 13px; color: rgba(36, 27, 20, .45); }

.codex-list { display: grid; gap: 7px; }
.codex-entry { border: 1px solid rgba(74, 45, 22, .16); background: rgba(255, 247, 232, .2); }
.codex-entry button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; background: transparent; text-align: left; color: #2c2118; }
.codex-entry button:hover { background: rgba(74, 45, 22, .05); }
.codex-entry .codex-mark { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(74, 45, 22, .25); font-size: 9px; color: rgba(36, 27, 20, .55); }
.codex-entry.unlocked .codex-mark { background: #9c3327; color: #f5e4c7; border-color: #9c3327; }
.codex-entry h4 { margin: 0; font-size: 12px; letter-spacing: .06em; }
.codex-entry p { margin: 3px 0 0; font-family: var(--sans); font-size: 9px; color: rgba(36, 27, 20, .45); }
.codex-entry .codex-body { display: none; padding: 0 12px 13px 46px; font-size: 12px; line-height: 1.8; color: rgba(36, 27, 20, .72); }
.codex-entry.open .codex-body { display: block; animation: rise .3s var(--ease); }

.ending-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ending-card { min-height: 150px; padding: 16px; border: 1px solid rgba(74, 45, 22, .18); background: rgba(255, 247, 232, .2); display: flex; flex-direction: column; gap: 6px; }
.ending-card.unlocked { border-color: rgba(156, 51, 39, .45); background: rgba(156, 51, 39, .06); }
.ending-card .ending-no { font-family: var(--sans); font-size: 9px; letter-spacing: .16em; color: #9c3327; }
.ending-card h3 { margin: 4px 0; font-size: 19px; letter-spacing: .1em; }
.ending-card p { margin: 0; font-family: var(--sans); font-size: 10px; line-height: 1.7; color: rgba(36, 27, 20, .55); }
.ending-card.locked h3 { color: rgba(36, 27, 20, .35); }
.ending-card .ending-status { margin-top: auto; font-family: var(--sans); font-size: 9px; letter-spacing: .1em; color: rgba(36, 27, 20, .4); }
.ending-card.unlocked .ending-status { color: #9c3327; }

.about-copy { font-size: 13px; line-height: 2; color: rgba(36, 27, 20, .78); }
.about-copy h3 { margin: 18px 0 6px; font-size: 15px; letter-spacing: .1em; color: #2c2118; }
.about-copy p { margin: 0 0 10px; }
.about-copy .fine { font-family: var(--sans); font-size: 10px; line-height: 1.8; color: rgba(36, 27, 20, .48); }
.about-copy a { color: #7d2b20; }

.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(74, 45, 22, .12); font-size: 13px; }
.switch { position: relative; width: 44px; height: 24px; border: 1px solid rgba(74, 45, 22, .3); border-radius: 20px; background: rgba(74, 45, 22, .08); }
.switch::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #6b5138; transition: .25s; }
.switch.on { background: #9c3327; border-color: #9c3327; }
.switch.on::after { left: 23px; background: #f5e4c7; }

/* ==========================================================================
   Ending screen
   ========================================================================== */
#screen-ending { background: #0a0e10; }
.ending-art { position: absolute; inset: 0; }
.ending-art svg { width: 100%; height: 100%; display: block; }
.ending-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 9, .96) 0%, rgba(5, 8, 9, .82) 38%, rgba(5, 8, 9, .15) 72%, rgba(5, 8, 9, .5) 100%),
    linear-gradient(0deg, rgba(5, 8, 9, .85), transparent 45%);
}
.ending-content {
  position: relative; z-index: 3;
  width: min(860px, 100%);
  min-height: 100%;
  margin: 0;
  padding: clamp(22px, 5vh, 60px) clamp(24px, 6vw, 90px);
  padding-right: 28%;
  display: flex; flex-direction: column; justify-content: center;
  animation: rise 1s var(--ease) both;
}
#ending-kicker { color: var(--gold); margin-bottom: 12px; }
#ending-title { margin: 0; font-size: clamp(2.7rem, 5.4vw, 4.8rem); line-height: 1.02; letter-spacing: .1em; color: #f4e3c7; font-weight: 500; }
.ending-subtitle { margin: 12px 0 16px; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--gold-2); }
.ending-text { font-size: 14px; line-height: 1.9; color: rgba(234, 216, 184, .78); max-width: 560px; }
.ending-text p { margin: 0 0 10px; }
.ending-text p:last-child { margin-bottom: 0; }
.ending-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 18px; padding: 10px 0; border-top: 1px solid rgba(234, 216, 184, .14); border-bottom: 1px solid rgba(234, 216, 184, .14); font-family: var(--sans); font-size: 9px; letter-spacing: .06em; color: rgba(234, 216, 184, .5); }
.ending-stats b { color: var(--gold-2); font-weight: 500; }
.ending-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ending-actions .btn { min-height: 38px; padding: 8px 14px; font-size: 10px; }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100;
  transform: translate(-50%, 20px);
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 18px;
  border: 1px solid rgba(201, 154, 82, .4);
  background: rgba(20, 16, 12, .97);
  color: var(--paper);
  font-family: var(--sans); font-size: 11px; line-height: 1.6; letter-spacing: .06em;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none; transition: .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Small state helpers
   ========================================================================== */
.map-canvas { z-index: 1; }
.map-routes { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.map-node { z-index: 6; }
.map-panel::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(6, 9, 9, .35) 100%); }
.map-heading, .map-legend { z-index: 8; }
.menu-item:disabled { opacity: .35; cursor: not-allowed; filter: grayscale(.6); }
.menu-item:disabled:hover { transform: none; background: transparent; }
.resource.low b { color: #d77a63; }
.resource.low .res-icon { box-shadow: 0 0 0 2px rgba(156, 51, 39, .25); }
.icon-btn.muted { opacity: .38; }
.modal-card.wide { width: min(1120px, 100%); }
.star-hit.hint circle.core { fill: #ffe5a8; animation: hintPulse .8s ease-in-out infinite alternate; }
.star-hit.hint circle.halo { opacity: .5; }
@keyframes hintPulse { from { r: 5.2; } to { r: 9; } }
.pipe-cell.hint { box-shadow: inset 0 0 0 2px rgba(229, 197, 128, .65); background: rgba(201, 154, 82, .12); }
.doc-option.wrong { border-color: #a6513d; background: rgba(156, 51, 39, .16); color: #e7b6a5; }
.doc-group { margin-bottom: 8px; }
#screen-ending { overflow-y: auto; }
@media (max-width: 820px) {
  .event-card { max-height: 94vh; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .title-frame { padding-inline: 6vw; }
  .title-side { display: none; }
  .map-shell { grid-template-columns: 1fr; }
  .map-side { display: grid; grid-template-columns: 1fr 1fr; }
  .map-side .side-card:last-child { grid-column: span 2; }
  .map-panel { min-height: 520px; }
  .ending-content { padding-right: 8vw; }
}
@media (max-width: 820px) {
  .hud { min-height: 68px; gap: 10px; padding-inline: 14px; }
  .chapter-stamp { display: none; }
  .hud-location strong { font-size: 17px; }
  .hud-location span { max-width: 34vw; }
  .hud-resources { gap: 4px; }
  .resource { min-width: 48px; padding: 5px 7px; gap: 5px; }
  .res-icon { width: 18px; height: 18px; font-size: 8px; }
  .hud-actions .icon-btn { width: 36px; height: 36px; font-size: 11px; }
  .hud-actions .icon-btn:first-child, .hud-actions .icon-btn:nth-child(2) { display: none; }
  .title-frame { align-items: flex-end; padding-bottom: 12vh; }
  .game-title { white-space: normal; font-size: clamp(2.6rem, 12vw, 4.2rem); line-height: 1.1; }
  .title-lede { font-size: 13px; }
  .title-footer { font-size: 8px; }
  .title-footer span:last-child { display: none; }
  .map-panel { min-height: 480px; }
  .map-heading { top: 14px; left: 16px; }
  .map-heading h2 { font-size: 20px; }
  .map-legend { right: 12px; bottom: 12px; }
  .map-node { width: 78px; }
  .node-seal { width: 31px; height: 31px; font-size: 9px; }
  .node-label { font-size: 11px; }
  .node-sub { display: none; }
  .map-side { grid-template-columns: 1fr; }
  .map-side .side-card:last-child { grid-column: auto; }
  .dialogue-layer { padding: 0 8px 10px; }
  .dialogue-box { flex-direction: column; }
  .portrait-wrap { width: 100%; min-height: 92px; height: 92px; border-right: 0; border-bottom: 1px solid rgba(201, 154, 82, .18); align-items: center; }
  .portrait { min-height: 92px; width: 120px; }
  .dialogue-main { padding: 14px 16px 16px; }
  .dialogue-text { min-height: 78px; font-size: 14px; }
  .event-card { grid-template-columns: 1fr; max-height: 94vh; overflow: auto; }
  .event-art { min-height: 150px; max-height: 190px; border-right: 0; border-bottom: 1px solid rgba(201, 154, 82, .18); }
  .event-body { overflow: visible; padding: 18px; }
  .event-title { font-size: 24px; }
  .mural-wrap { grid-template-columns: 1fr 76px; }
  .modal-head { padding: 18px 18px 12px; }
  .modal-body { padding: 14px 18px 22px; }
  .modal-head h2 { font-size: 22px; }
  .ending-content { padding: 22px; padding-right: 22px; }
  .ending-text { font-size: 13px; }
  .ending-actions .btn { flex: 1 1 130px; }
}
@media (max-width: 520px) {
  .title-copy { max-width: 100%; }
  .title-menu { width: 100%; }
  .title-tip { display: none; }
  .game-title { font-size: clamp(2.3rem, 13vw, 3.4rem); letter-spacing: .04em; }
  .eyebrow { font-size: 9px; letter-spacing: .22em; }
  .hud-location span { display: none; }
  .hud-actions .icon-btn:nth-child(3) { display: none; }
  .stage { overflow-x: hidden; }
  .map-shell { padding: 8px; }
  .map-panel { min-height: 430px; }
  .map-heading p { font-size: 8px; }
  .map-node { width: 64px; }
  .node-seal { width: 27px; height: 27px; font-size: 8px; }
  .node-label { font-size: 10px; }
  .side-card { padding: 14px; }
  .dialogue-head { padding-bottom: 6px; }
  .dialogue-text { line-height: 1.85; }
  .choice-btn { flex-basis: 100%; }
  .chest-row { gap: 6px; }
  .chest span { font-size: 8px; }
  .mural-wrap { grid-template-columns: 1fr; }
  .mural-preview { display: none; }
  .ending-content { padding: 18px; }
  #ending-title { font-size: 2.7rem; }
  .ending-stats { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
