/* Слива и Графит поверх уже включённой «Ночи». Сама «Ночь» не перекрашивается. */
html.look-plum[data-theme="night"] #thBg {
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(168, 85, 247, .55), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(255, 92, 138, .35), transparent 55%),
    linear-gradient(165deg, #3a215c, #241433 48%, #140c22) !important;
}
html.look-graphite[data-theme="night"] #thBg {
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(90, 96, 108, .45), transparent 60%),
    linear-gradient(165deg, #2a2e35, #16181d 50%, #101216) !important;
}
html.look-plum[data-theme="night"] body { --tab: #c084fc; --mine: #a855f7; --b-primary: #a855f7; }
html.look-graphite[data-theme="night"] body { --tab: #ff8c42; --mine: #ff8c42; --b-primary: #ff8c42; }
html.look-plum[data-theme="night"] .ptool,
html.look-graphite[data-theme="night"] .ptool,
html.look-night[data-theme="night"] .ptool {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  color: #fff;
}
html.look-plum[data-theme="night"] .ptool.take { background: #ff8c42; color: #1c1230; }
html.look-plum[data-theme="night"] .boss-bar,
html.look-graphite[data-theme="night"] .boss-bar {
  border-radius: 16px;
}
#lookBtn {
  position: fixed; top: calc(8px + env(safe-area-inset-top)); right: 8px; z-index: 40;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12); color: #fff; font-size: 16px;
}
#lookBtn.in-head { position: static; flex: none; margin-right: 6px; align-self: center; }
.look-pop {
  position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 80;
  background: rgba(20, 12, 34, .94); color: #fff; border-radius: 20px; padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
}
.look-pop p { margin: 0 0 10px; color: rgba(255,255,255,.7); font-size: 13px; }
.look-pop .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.look-pop button.opt { border-radius: 14px; border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 10px 6px; }
.look-pop button.opt.on { outline: 2px solid #fff; }
.look-pop .go { margin-top: 10px; width: 100%; border: 0; border-radius: 14px; padding: 12px; background: #a855f7; color: #fff; font-weight: 700; }
