/* Q 版主題覆蓋原有樣式；保留互動、定位與響應式布局。 */
:root {
  --tr-font: "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  --tr-num: "Microsoft JhengHei", system-ui, sans-serif;
  --tr-display: "Microsoft JhengHei", system-ui, sans-serif;
  --pink: #ff8fae;
  --pink2: #ffbad0;
  --cyan: #91e0e2;
  --amber: #ffc467;
  --gold: #ffe39b;
  --blue: #87b9ed;
  --green: #88d7b0;
  --panel: #46546be8;
  --panel-strong: #46546bf5;
  --paper: #fff8ee;
  --ink: #46546b;
  --brand: #ed829b;
  --brand-deep: #b65170;
}
.tr-ui {
  font-weight: 700;
}
.tr-ui button,
.tr-ui kbd {
  border-radius: 18px !important;
}
.tr-ui button {
  transition:
    transform 0.15s,
    background 0.15s;
}
.tr-ui button:active {
  transform: translateY(2px) scale(0.96);
}
.tr-clock,
.tr-money,
.hud-prompt,
.hud-obj,
.hud-sub,
.hud-radio {
  color: #46546b;
  background: #fff8eef0;
  border: 3px solid #fff;
  border-radius: 22px;
  box-shadow:
    0 5px 0 #566c843b,
    0 8px 20px #32466120;
  text-shadow: none;
}
.tr-clock {
  padding: 8px 14px;
}
.tr-money {
  font-size: 2em;
  padding: 8px 16px;
  margin-top: 7px;
}
.tr-money .cur {
  color: #b67832;
}
.hud-obj {
  padding: 12px 20px;
}
.hud-prompt {
  padding: 8px 16px;
}
.obj-mark {
  border-radius: 50%;
  background: #ffe39b;
  color: #9b663a;
}
.mm-wrap {
  border-radius: 50%;
  border: 5px solid #fff8ee;
  box-shadow:
    0 6px 0 #617e9a55,
    0 10px 24px #25394c33;
}
.hud-obj em.hl {
  color: #a9702f;
}
.mm-dist {
  background: #ffe39b;
  color: #69543e;
  border: 2px solid #fff8ee;
  border-radius: 16px;
  text-shadow: none;
}
.panel,
.ti-panel,
.phone {
  border-radius: 26px;
}
.phone {
  background: #b2dfd5;
  box-shadow:
    0 0 0 4px #fff8ee,
    0 12px 35px #32466144;
}
.ph-screen {
  background: linear-gradient(160deg, #fff9ed, #d8efe6 65%, #f9dce5);
}
.ph-screen:before {
  opacity: 0.12;
}
.ph-widget,
.ph-status,
.ph-app-btn,
.ph-brand {
  color: #46546b;
  text-shadow: none;
}
.ph-wclock {
  font-weight: 700;
  font-size: 4.5em;
}
.ph-sicons .sig i,
.ph-sicons .bat i {
  background: #46546b;
}
.ph-sicons .bat {
  border-color: #46546b;
}
.ph-app-name, .ph-dock { color: #46546b; text-shadow: none; }
.ph-appview { background: #fff8ee; color: #46546b; }
.ph-back { color: #46546b; background: #d8efe6; }
.mis-detail { background: #eef6f0; color: #46546b; border: 2px solid #fff; border-radius: 20px; }
.md-fact { background: #dceae5; }
.md-reward b { color: #28745b; }
.md-btns button { color: #fff8ee; }
.mis-row, .mis-locked { color: #fff8ee; }
.hud-area {
  color: #fff8ee;
  text-shadow: 0 3px 0 #5f7f9b;
}
@media (prefers-reduced-motion: reduce) {
  .tr-ui button {
    transition: none;
  }
}

/* peaceful-hud */
.tr-weapon, .tr-wanted { display:none !important; }

/* peaceful-actions */
[data-act="attack"], [data-act="aim"], [data-act="guard"], [data-act="reload"], [data-act="weaponNext"], [data-act="weaponPrev"] {display:none !important;}
