  /* ── settings: jungle-temple stone bars over bg_setting ── */
  /* top bar (back + title) keeps the MAP page tone: back_round button + row_bar.png banner (.galleryTopHud) */
  .galleryTopHud {
    display: flex; align-items: center; gap: 8px;
    padding: calc(env(safe-area-inset-top,0px) + 10px) 14px 10px;
    flex-shrink: 0; position: relative; z-index: 2;
  }
  .galleryTitle {
    flex: 1; min-width: 0; max-width: 168px; margin: 0 4px; align-self: center;
    height: 48px; line-height: 48px; text-align: center;
    background: url('../../assets/badge/row_bar.png') center / 100% 100% no-repeat;
    color: #fff6e2; font-weight: 900; font-size: 20px;
    text-shadow: 0 2px 0 #4a3214, -1px 0 0 #4a3214, 1px 0 0 #4a3214, 0 2px 5px rgba(0,0,0,.5);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  #settings {
    position: fixed; inset: 0;
    background:
      linear-gradient(rgba(16,28,16,.16), rgba(14,24,14,.34)),
      url('../../assets/setting/bg.webp') center / cover no-repeat;
    overflow: hidden;
  }
  #settings .mapScroll {
    position: relative; z-index: 1; max-width: 430px;
    padding: 8px 16px calc(50px + env(safe-area-inset-bottom,0px));
    justify-content: flex-start; gap: clamp(12px, 3.2vw, 18px);
  }
  /* every row = the same stone bar: gold icon frame on the left, content on the stone body */
  #settings .setItem {
    position: relative; display: flex; align-items: center;
    width: 100%; min-height: clamp(56px, 14.5vw, 70px);
    border: none !important; border-radius: 0; box-shadow: none; background: transparent;
    border-image: none !important;
    padding: 0 5% 0 23%;
    color: #f3ead2; cursor: pointer;
  }
  #settings .setVolRow { min-height: clamp(74px, 19vw, 90px); }
  #settings a.setItem { text-decoration: none; }
  #settings .setItem::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: url('../../assets/setting/row.png') center / 100% 100% no-repeat;
    filter: drop-shadow(0 3px 4px rgba(18,28,12,.4));
  }
  /* vector icons sit inside the gold frame (centered at ~11% across the bar) */
  #settings .setItem .shopIcon {
    position: absolute; left: 11%; top: 50%; transform: translate(-50%, -50%);
    width: 12%; height: auto; aspect-ratio: 1; min-width: 0; padding: 0;
    background-image: none; display: flex; align-items: center; justify-content: center;
  }
  .setSvg {
    width: 88%; height: 88%; color: #f1c75a; fill: none; stroke: currentColor;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 1px 0 #5a3a12) drop-shadow(0 2px 3px rgba(18,10,2,.5));
  }
  .setSvg path[fill="currentColor"] { fill: currentColor; }
  #settings .shopName {
    font-size: clamp(15px, 4.3vw, 19px); font-weight: 900; color: #f7eed3;
    white-space: normal; line-height: 1.12;   /* wrap long labels (e.g. the long ja motion string) instead of overflowing under the toggle */
    text-shadow: 0 2px 0 #3a2810, -1px 0 0 #3a2810, 1px 0 0 #3a2810, 0 2px 4px rgba(0,0,0,.55);
  }
  /* toggle: stone pill, gold knob, jade-green when on */
  .setToggle {
    appearance: none; -webkit-appearance: none; flex-shrink: 0;
    width: 56px; height: 30px;
    border: 2px solid #c9a24a; border-radius: 999px;
    background: linear-gradient(180deg, #3a4030, #232a1c);
    box-shadow: inset 0 2px 5px rgba(0,0,0,.45), 0 1px 0 rgba(255,241,185,.25);
    cursor: pointer; position: relative; transition: background .16s ease, filter .16s ease;
  }
  .setToggle::after {
    content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 2px; border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #fff9d0 0 13%, #ffd45a 36%, #d99015 72%, #8e4f0f 100%);
    box-shadow: 0 2px 3px rgba(40,20,2,.4), inset 0 1px 0 rgba(255,255,255,.72);
    transition: transform .16s ease;
  }
  .setToggle:checked { background: linear-gradient(180deg, #6fd98f, #1f9a5a); filter: saturate(1.05); }
  .setToggle:checked::after { transform: translateX(26px); }
  .langToggle {
    flex-shrink: 0; min-width: 80px; height: 38px; padding: 0 16px;
    border: 2px solid #cba14a; border-radius: 12px;
    background: linear-gradient(180deg, #7c7361 0%, #5b5343 100%);
    color: #fff3d6; font-size: 15px; font-weight: 900;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.4), 0 1px 0 rgba(255,240,190,.3);
    text-shadow: 0 1px 2px rgba(20,12,2,.6); cursor: pointer;
  }
  /* reset = same stone bar, but the danger action is a ruby seal rather than a flat app icon */
  #settings .setReset .shopIcon {
    width: 12.5%;
    border-radius: 10px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 2px solid rgba(255,222,170,.68);
    background:
      radial-gradient(circle at 32% 24%, rgba(255,235,183,.72) 0 12%, transparent 23%),
      radial-gradient(circle at 52% 56%, #b74739 0 36%, #7e241f 65%, #42120f 100%);
    box-shadow:
      inset 0 1px 2px rgba(255,239,198,.52),
      inset 0 -4px 7px rgba(45,9,8,.62),
      0 2px 5px rgba(22,10,4,.42);
  }
  #settings .setReset .shopIcon::after {
    content: ""; position: absolute; inset: 3px; border-radius: 8px;
    border: 1px solid rgba(255,247,218,.22); pointer-events: none;
  }
  .setReset .shopName {
    color: #ffd0bd;
    text-shadow: 0 2px 0 #4a1810, -1px 0 0 #4a1810, 1px 0 0 #4a1810, 0 2px 4px rgba(0,0,0,.52);
  }
  .setReset .setSvg {
    width: 62%; height: 62%;
    color: #fff4df;
    stroke-width: 2.25;
    transform: rotate(-45deg);
    filter: drop-shadow(0 1px 0 #4a1810) drop-shadow(0 2px 3px rgba(18,8,2,.45));
  }
  #settings .setReset.is-armed .shopIcon {
    background:
      radial-gradient(circle at 32% 24%, rgba(255,239,190,.78) 0 12%, transparent 23%),
      radial-gradient(circle at 52% 56%, #e16b3e 0 35%, #a02f22 67%, #56150f 100%);
  }
  #settings .setReset.is-armed .shopName { color: #ffe5b7; }
  /* volume slider rows: green track + gold knob (evokes the vine + star) */
  .setVolRow .shopIcon { opacity: .9; }
  .setVolInfo { display: flex; flex-direction: column; gap: 5px; flex: 1; }
  .setVolHead { display: flex; align-items: center; gap: 8px; }
  .setVolLabel { font-size: clamp(11px, 3vw, 13px); font-weight: 800; color: #e7dcbf; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
  /* slider at min = off: ✕ 꺼짐 badge + dimmed icon/label (the slider IS the on/off switch) */
  .setVolState { font-size: clamp(10px, 2.7vw, 11.5px); font-weight: 900; letter-spacing: .03em; color: #e8917b; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
  .setVolRow.volOff .setVolIcon { opacity: .42; }
  .setVolRow.volOff .setVolLabel { opacity: .6; }
  .setSlider {
    -webkit-appearance: none; appearance: none; width: 100%; height: 9px; cursor: pointer;
    border-radius: 999px; border: 1px solid #1c3312;
    background: linear-gradient(180deg, #4a7a35, #2c4d1f);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.45);
  }
  .setSlider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; margin-top: -7px;
    background: radial-gradient(circle at 34% 28%, #fff7cf 0 14%, #ffd45a 40%, #d99015 75%, #8e4f0f 100%);
    border: 2px solid #fff3d0; box-shadow: 0 2px 3px rgba(40,20,2,.45);
  }
  .setSlider::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff3d0;
    background: radial-gradient(circle at 34% 28%, #fff7cf 0 14%, #ffd45a 40%, #d99015 75%, #8e4f0f 100%);
    box-shadow: 0 2px 3px rgba(40,20,2,.45);
  }
