/* Fonts served from this site (no requests to Google). The Burmese font is only downloaded when
   the phone has none of its own; Poppins is cut down to the letters of the logo. */
@font-face { font-family: "Noto Sans Myanmar"; font-weight: 400 700; font-display: swap;
  src: local("Noto Sans Myanmar"), local("NotoSansMyanmar-Regular"),
       url("/static/fonts/noto-sans-myanmar.woff2") format("woff2");
  unicode-range: U+1000-109F, U+200C-200D, U+25CC, U+A92E, U+A9E0-A9FE, U+AA60-AA7F, U+116D0-116E3; }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap;
  src: url("/static/fonts/poppins-800-logo.woff2") format("woff2"); }

/* eroburma — dark navy tube layout */
:root {
  --bg: #070b16;
  --bg-hdr: #0c1324;
  --bg-2: #111a30;
  --bg-3: #18233f;
  --line: #1c2843;
  --text: #dfe5f2;
  --dim: #8592ad;
  --faint: #5b6784;
  --accent: #2f7dff;
  --accent-hi: #5a98ff;
  --font: Arial, "Helvetica Neue", Helvetica, "Noto Sans Myanmar", "Padauk", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.4 var(--font);
  min-height: 100vh; display: flex; flex-direction: column;
}
html[lang="my"] body { line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 12px; }
main.wrap { flex: 1; padding-top: 14px; padding-bottom: 30px; }

/* ---------- logo ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font: 800 25px/1 "Poppins", Arial, sans-serif; letter-spacing: -1px; color: #fff;
}
.logo-ic { width: 32px; height: 32px; flex: none; }
.logo em { font-style: normal; color: var(--accent); }
.gate-box .logo { font-size: 30px; }
.gate-box .logo-ic { width: 38px; height: 38px; }

/* ---------- header ---------- */
.hdr { background: var(--bg-hdr); border-bottom: 1px solid var(--line); }
.hdr-in {
  max-width: 1560px; margin: 0 auto; padding: 9px 12px;
  display: flex; align-items: center; gap: 12px;
}
.search { flex: 1; display: flex; max-width: 460px; margin-left: auto; min-width: 0; }
.search input {
  flex: 1; min-width: 0; height: 36px; padding: 0 12px;
  background: #060a14; color: var(--text);
  border: 1px solid var(--line); border-right: 0; border-radius: 3px 0 0 3px;
  font: inherit; font-size: 16px;
}
.search input:focus { outline: none; border-color: var(--accent); }
.search button {
  width: 46px; border: 0; border-radius: 0 3px 3px 0; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.search button:hover { background: var(--accent-hi); }
.lang {
  font: 700 12px/1 Arial, sans-serif; color: var(--dim);
  border: 1px solid var(--line); border-radius: 3px; padding: 7px 8px;
}
.lang:hover { color: #fff; border-color: var(--dim); }

.nav { background: #0a1020; border-top: 1px solid var(--line); }
.nav-in {
  max-width: 1560px; margin: 0 auto; padding: 0 6px;
  display: flex; align-items: center; overflow-x: auto; scrollbar-width: none;
}
.nav-in::-webkit-scrollbar { display: none; }
.nav a {
  padding: 10px 10px; white-space: nowrap; font-size: 13px; font-weight: 700;
  color: var(--text); border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; }
.nav a.on { border-bottom-color: var(--accent); color: #fff; }
.nav a.tag { font-weight: 400; color: var(--dim); }
.nav a.tag:hover, .nav a.tag.on { color: #fff; }
.nav .sep { width: 1px; height: 16px; background: var(--line); margin: 0 6px; flex: none; }

.search-tgl { display: none; }
@media (max-width: 560px) {
  /* one compact row: logo ... search icon, lang. The search box drops down when the icon is tapped. */
  .hdr-in { flex-wrap: wrap; gap: 4px 6px; padding: 7px 8px; }
  .logo { font-size: 21px; gap: 6px; }
  .logo-ic { width: 26px; height: 26px; }
  .search-tgl {
    display: grid; place-items: center; width: 38px; height: 34px; margin-left: auto; padding: 0;
    border: 0; border-radius: 3px; background: none; color: var(--text); cursor: pointer;
  }
  .hdr.s-open .search-tgl { background: var(--bg-3); color: #fff; }
  .search { display: none; order: 3; flex-basis: 100%; max-width: none; margin: 3px 0 2px; }
  .hdr.s-open .search { display: flex; }
  .lang { padding: 6px 7px; }
  .nav a { padding: 9px 9px; }
  .wrap { padding: 0 8px; }
  main.wrap { padding-top: 10px; }
}

/* ---------- section heads ---------- */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; flex-wrap: wrap; }
.sec-head h1, .sec-head h2 { font-size: 17px; font-weight: 700; margin: 0; color: #fff; }
.sec-head h1 em { font-style: normal; color: var(--accent-hi); }
.sec-head small { font-size: 12px; font-weight: 400; color: var(--faint); margin-left: 6px; }
.sorter { display: flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.sorter a { padding: 5px 12px; font-size: 12px; color: var(--dim); }
.sorter a + a { border-left: 1px solid var(--line); }
.sorter a.on { background: var(--bg-3); color: #fff; }

/* ---------- video grid ---------- */
.grid { display: grid; gap: 14px 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px)  { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1300px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.card { min-width: 0; }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-2); border-radius: 3px;
}
.thumb img, .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb video { opacity: 0; transition: opacity .15s; }
.thumb video.on { opacity: 1; }
.thumb::after { /* preview progress bar */
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--accent);
}
.thumb.previewing::after { width: 100%; transition: width 6s linear; }
.dur {
  position: absolute; right: 4px; bottom: 4px; z-index: 1;
  padding: 1px 4px; border-radius: 2px;
  background: rgba(0, 0, 0, .8); color: #fff;
  font: 700 11px/1.4 Arial, sans-serif; font-variant-numeric: tabular-nums;
}
.card .title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 5px; font-size: 13px; line-height: 1.35; color: var(--text);
}
html[lang="my"] .card .title { line-height: 1.6; }
.card .title:visited { color: #8f9ab3; }          /* already-watched titles look dimmer, like a real tube */
.card:hover .title { color: var(--accent-hi); }
.dur .hd { margin-right: 4px; color: var(--accent-hi); font-weight: 700; }
.stats { display: flex; gap: 10px; margin-top: 2px; font-size: 11.5px; color: var(--faint); }
.stats span { display: inline-flex; align-items: center; gap: 3px; }

/* ---------- pager ---------- */
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin: 34px 0 10px; }
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 10px; display: grid; place-items: center;
  border-radius: 3px; font: 700 15px/1 Arial, var(--font);
}
.pager a { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); }
.pager a:hover { background: var(--bg-3); border-color: var(--accent); color: #fff; }
.pager .cur { background: var(--accent); color: #fff; }
.pager .gap { color: var(--faint); min-width: 20px; padding: 0; }
.pager .step { padding: 0 16px; font-size: 14px; }
.pager .next { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .next:hover { background: var(--accent-hi); }
@media (max-width: 560px) { .pager .far { display: none; } }
.empty { color: var(--dim); text-align: center; padding: 60px 0; }
.empty a { color: var(--accent-hi); }

/* ---------- watch page ---------- */
.watch { max-width: 1100px; margin: 0 auto; }
.related-sec { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 10px; }
/* related: always 2 per row on phones, 4 per row from tablet/laptop up (8 videos = 4 rows / 2 rows) */
.related-sec .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .related-sec .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.more-btn {
  display: block; width: fit-content; margin: 24px auto 0; padding: 11px 26px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--bg-2);
  font-weight: 700; font-size: 14px; color: var(--text);
}
.more-btn:hover { border-color: var(--accent); color: #fff; }
.player { background: #000; margin: -14px -12px 0; }
@media (max-width: 560px) { .player { margin: -10px -8px 0; } }
@media (min-width: 700px) { .player { margin: 0; } }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vtitle { font-size: 19px; line-height: 1.35; margin: 12px 0 8px; color: #fff; font-weight: 700; }
html[lang="my"] .vtitle { line-height: 1.7; }
.vbar {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center;
  padding: 0 0 10px; border-bottom: 1px solid var(--line);
  color: var(--dim); font-size: 13px;
}
.vviews b { color: #fff; font-size: 15px; }
.vtags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0; }
.vtags .lbl { color: var(--faint); font-size: 12px; margin-right: 2px; }
.vtags a {
  padding: 4px 10px; font-size: 12px; border-radius: 3px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
}
.vtags.parts a { min-width: 34px; text-align: center; }
.vtags.parts a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.vtags.parts a.next { border-color: var(--accent); color: #fff; }
.vtags a:hover { border-color: var(--accent); color: #fff; }
.desc { color: var(--dim); font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; margin: 0; }

/* ---------- categories ---------- */
.taglist {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.taglist a {
  display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px;
  background: var(--bg-2); border-radius: 3px;
}
.taglist a:hover { background: var(--bg-3); color: #fff; }
.taglist small { color: var(--faint); }

/* ---------- age gate ---------- */
.gate-wall {
  position: fixed; inset: -40px; z-index: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px;
  filter: blur(18px) brightness(.35); overflow: hidden;
}
.gate-wall img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gate {
  position: relative; z-index: 1; min-height: 100vh; padding: 16px;
  display: grid; place-items: center; background: rgba(4, 7, 14, .55);
}
.gate-box {
  width: 100%; max-width: 480px; padding: 28px 24px 20px; text-align: center;
  background: var(--bg-hdr); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.gate-box h1 { font-size: 20px; color: #fff; margin: 20px 0 6px; }
.gate-box p { color: var(--dim); font-size: 13px; margin: 8px 0; }
.gate-box .warn { color: var(--text); font-weight: 700; }
.gate-btns { display: grid; gap: 8px; margin: 18px 0 14px; }
.btn {
  display: block; width: 100%; padding: 13px 14px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--accent); color: #fff; font: 700 15px/1.3 var(--font);
}
.btn:hover { background: var(--accent-hi); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--dim); font-weight: 400; }
.btn.ghost:hover { color: #fff; border-color: var(--dim); }
.gate-box .small { font-size: 11px; color: var(--faint); }
.rta-badge, .rta span {
  display: inline-block; padding: 0 4px; border: 1px solid currentColor; border-radius: 2px;
  font: 700 10px/1.5 Arial, sans-serif; margin-right: 3px;
}
.langs { display: flex; justify-content: center; gap: 4px; margin-top: 14px !important; }
.langs a { padding: 4px 10px; border-radius: 3px; font-size: 12px; color: var(--dim); }
.langs a.on { background: var(--bg-3); color: #fff; }

/* ---------- legal ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: 20px; color: #fff; }
.legal h2 { font-size: 15px; color: #fff; margin: 22px 0 6px; }
.legal small { color: var(--faint); }
.legal p, .legal li { color: var(--dim); }
.legal a { color: var(--accent-hi); }
.todo { padding: 8px 12px; border-left: 3px solid #e0a63a; background: var(--bg-2); color: #e0a63a !important; }

/* ---------- footer ---------- */
.ftr {
  border-top: 1px solid var(--line); padding: 18px 12px 28px;
  text-align: center; font-size: 13px; color: var(--dim);
}
.ftr a { margin: 0 8px; display: inline-block; }
.ftr a:hover { color: #fff; }
.ftr p { margin: 8px 0 0; }

/* ---------- card extras ---------- */
.badge-new {
  position: absolute; left: 4px; top: 4px; z-index: 1;
  padding: 0 4px; border-radius: 2px; background: rgba(0, 0, 0, .78); color: #ffd23f;
  font: 700 10px/1.6 Arial, var(--font);
}
.thumb .prog { position: absolute; left: 0; bottom: 0; height: 3px; background: #e5394b; z-index: 1; }
.stats .rt.good { color: #46c37b; }

/* ---------- header extras ---------- */
.tg { color: #2aa3e0; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 3px; }
.tg:hover { border-color: #2aa3e0; }

/* ---------- watch: actions ---------- */
.player { position: relative; }

/* ---------- custom player ---------- */
.pl { overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.pl.idle { cursor: none; }
.pl-tap { position: absolute; inset: 0; z-index: 1; }
.pl-big {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(47, 125, 255, .9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.pl-big svg { width: 30px; height: 30px; }
.pl-big:hover { background: var(--accent); }
.pl.paused .pl-big, .pl.touch:not(.idle) .pl-big { opacity: 1; pointer-events: auto; }
.pl.touch .pl-big { background: rgba(0, 0, 0, .55); box-shadow: none; }
.pl.fresh .pl-big, .pl:not(.touch).paused .pl-big { background: rgba(47, 125, 255, .9); }
.pl.wait .pl-big { opacity: 0; pointer-events: none; }
.pl-spin {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--accent); border-radius: 50%;
  animation: pl-spin .8s linear infinite; display: none; pointer-events: none;
}
.pl.wait .pl-spin { display: block; }
@keyframes pl-spin { to { transform: rotate(360deg); } }

.pl-ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 28px 8px 2px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8)); transition: opacity .25s;
}
.pl.idle .pl-ui { opacity: 0; pointer-events: none; }
.pl.fresh .pl-ui { display: none; }
.pl-bar { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin: 0 4px; }
.pl-track { position: relative; width: 100%; height: 4px; background: rgba(255, 255, 255, .22); transition: height .1s; }
.pl-bar:hover .pl-track, .pl.scrub .pl-track { height: 6px; }
.pl-buf, .pl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.pl-buf { background: rgba(255, 255, 255, .35); }
.pl-fill { background: var(--accent); }
.pl-knob {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .1s;
}
.pl-bar:hover .pl-knob, .pl.scrub .pl-knob, .pl.touch .pl-knob { transform: scale(1); }
.pl-tip {
  position: absolute; bottom: 20px; transform: translateX(-50%); display: none;
  padding: 2px 6px; border-radius: 2px; background: rgba(0, 0, 0, .85); color: #fff; font: 12px/1.4 Arial, sans-serif;
}
.pl:not(.touch) .pl-bar:hover .pl-tip { display: block; }
.pl-row { display: flex; align-items: center; height: 42px; }
.pl-btn {
  width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  display: grid; place-items: center; opacity: .9; flex: none;
}
.pl-btn:hover { opacity: 1; color: #fff; }
.pl-btn svg { width: 22px; height: 22px; }
.pl-skip svg { width: 24px; height: 24px; }
.pl-speed { width: auto; padding: 0 8px; font: 700 13px/1 Arial, sans-serif; }
.pl-cc { width: auto; padding: 0 8px; font: 700 13px/1 Arial, sans-serif; opacity: .55; }
.pl-cc.on { opacity: 1; color: var(--accent); }
.pl-qwrap { position: relative; }
.pl-q { width: auto; padding: 0 8px; font: 700 13px/1 Arial, sans-serif; display: flex; align-items: center; white-space: nowrap; }
.pl-q.hd::after {
  content: "HD"; margin-left: 3px; padding: 1px 3px; border-radius: 2px;
  background: var(--accent); font-size: 9px; vertical-align: 2px;
}
.pl-qmenu {
  position: absolute; right: 0; bottom: 44px; min-width: 150px; padding: 4px 0;
  background: rgba(10, 14, 26, .96); border: 1px solid rgba(255, 255, 255, .12); border-radius: 3px;
}
.pl-qmenu button {
  display: block; width: 100%; padding: 9px 14px 9px 30px; border: 0; background: none; cursor: pointer;
  color: #ddd; font: 13px/1.2 Arial, var(--font); text-align: left; white-space: nowrap; position: relative;
}
.pl-qmenu button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pl-qmenu button.on { color: #fff; font-weight: 700; }
.pl-qmenu button.on::before { content: "✓"; position: absolute; left: 11px; color: var(--accent); }
.pl-qmenu b { font-size: 9px; padding: 1px 3px; border-radius: 2px; background: var(--accent); color: #fff; vertical-align: 1px; }
.pl-vol { display: flex; align-items: center; }
.pl-volrange {
  -webkit-appearance: none; appearance: none; width: 0; height: 4px; margin: 0; opacity: 0; cursor: pointer;
  background: linear-gradient(to right, #fff var(--v, 100%), rgba(255, 255, 255, .3) var(--v, 100%));
  transition: width .15s, opacity .15s, margin .15s;
}
.pl-vol:hover .pl-volrange, .pl-volrange:focus { width: 72px; opacity: 1; margin: 0 8px 0 2px; }
.pl-volrange::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.pl-volrange::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
.pl.touch .pl-volrange { display: none; }
.pl-time { margin-left: 6px; color: #fff; font: 13px/1 Arial, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-sp { flex: 1; }
@media (max-width: 420px) { .pl-speed { display: none; } }
.pl.fs { width: 100%; height: 100%; margin: 0; background: #000; }
.pl.fs video { height: 100%; aspect-ratio: auto; object-fit: contain; }
.pl.fs .pl-ui { padding: 40px 16px 8px; }

.seek-flash {
  z-index: 2;
  position: absolute; top: 50%; transform: translateY(-50%); padding: 10px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); color: #fff; font-weight: 700; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.seek-flash.left { left: 12%; } .seek-flash.right { right: 12%; }
.seek-flash.show { opacity: 1; transition: none; }

.actions { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 10px 0 4px; }
/* like | dislike joined into one control, rating % next to it */
.vote { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.vote .seg { display: flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.act {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px;
  border: 0; border-radius: 3px; background: none;
  color: var(--dim); font: 700 13px/1 Arial, var(--font); cursor: pointer;
}
.act:hover { color: #fff; background: var(--bg-2); }
.seg .act { border-radius: 0; background: var(--bg-2); color: var(--text); padding: 0 12px; }
.seg .act + .act { border-left: 1px solid var(--line); }
.seg .act:hover { background: var(--bg-3); }
.seg .act.on { color: var(--accent-hi); }
.seg .act[data-vote="-1"].on { color: #e5394b; }
#save-btn.on { color: #e5394b; }
.act.ghost { font-weight: 400; color: var(--faint); }
.rating { display: flex; flex-direction: column; gap: 4px; min-width: 64px; }
.ratepct { font: 700 13px/1 Arial, sans-serif; color: #46c37b; }
.ratebar { width: 64px; height: 3px; background: #3a445c; overflow: hidden; }
.ratebar i { display: block; height: 100%; background: #46c37b; }
@media (max-width: 560px) {
  .vote { width: 100%; margin: 0 0 4px; }
  .actions > .act { flex: 1; justify-content: center; height: 38px; border-top: 1px solid var(--line); border-radius: 0; }
  .act span { font-size: 12px; }
}

.share-menu { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.share-menu a, .share-menu button {
  padding: 8px 14px; border-radius: 3px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: 700 13px/1 Arial, var(--font); cursor: pointer;
}
.share-menu a:hover, .share-menu button:hover { border-color: var(--accent); }
#share-tg { color: #2aa3e0; } #share-viber { color: #a58bf5; } #share-fb { color: #4c8bf5; }

.report-dlg {
  width: min(420px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--line); border-top: 3px solid #e5394b;
  border-radius: 4px; background: var(--bg-hdr); color: var(--text);
}
.report-dlg::backdrop { background: rgba(0, 0, 0, .7); }
.report-dlg h3 { margin: 0 0 12px; font-size: 16px; }
.report-dlg label { display: flex; gap: 8px; align-items: center; padding: 7px 0; font-size: 14px; cursor: pointer; }
.report-dlg textarea {
  width: 100%; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 3px;
  background: #060a14; color: var(--text); font: 14px var(--font); resize: vertical;
}
.report-done { color: #46c37b; font-weight: 700; }
.dlg-btns { display: flex; gap: 8px; margin-top: 12px; }
.dlg-btns .btn { margin: 0; padding: 10px; }

/* ---------- saved / history ---------- */
.local-note { color: var(--faint); font-size: 12px; margin: -4px 0 14px; }
.sorter-btn {
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 3px; background: transparent;
  color: var(--dim); font: 12px var(--font); cursor: pointer;
}
.sorter-btn:hover { color: #fff; border-color: var(--dim); }

@media (hover: hover) and (pointer: fine) { #share-fb { display: none; } }
