/* TigoMeNote · components.css — buttons, inputs, cards, badges, empty states, toast */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r-full);
  border: 1px solid transparent; background: var(--surface-2); color: var(--text);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .12s var(--ease), background-color .15s, opacity .15s, border-color .15s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: var(--ink-text); }
.btn-primary:hover:not(:disabled) { opacity: .88; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-block { width: 100%; }
.btn-lg { height: 50px; font-size: 15px; padding: 0 24px; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: var(--r-full); border: 0; background: transparent; color: var(--text);
  transition: background-color .15s;
}
.icon-btn:hover { background: var(--surface-2); }

/* Inputs */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--text-3); }
.input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 10%, transparent); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 46px; }
.input-wrap .icon-btn { position: absolute; right: 3px; top: 3px; color: var(--text-3); }
.hint { font-size: 12px; color: var(--text-3); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }

/* Alert */
.alert { padding: 11px 14px; border-radius: var(--r-md); font-size: 14px; background: var(--danger-soft); color: var(--danger); }
.alert.ok { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); }

/* Card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.card-flat { background: var(--bg-soft); border: 0; }

/* Badge / chip */
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px;
  border-radius: var(--r-full); font-size: 11.5px; font-weight: 600;
  background: var(--surface-2); color: var(--text-2);
}
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.dot-count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-full);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-grid; place-items: center;
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 34px; padding: 0 14px; border-radius: var(--r-full); white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--text-2);
}
.chip.active { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }

/* Segmented control */
.segmented { display: inline-flex; padding: 4px; border-radius: var(--r-full); background: var(--surface-2); gap: 2px; }
.segmented button {
  border: 0; background: transparent; height: 34px; padding: 0 16px; border-radius: var(--r-full);
  font-size: 13.5px; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px;
}
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* Avatar */
.avatar {
  --size: 40px; width: var(--size); height: var(--size); border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: calc(var(--size) * .38);
  background: var(--surface-2); color: var(--text); overflow: hidden; font-family: var(--font-display);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Empty state */
.empty { text-align: center; padding: 40px 20px; display: grid; justify-items: center; gap: 10px; }
.empty .empty-art {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--text-2); margin-bottom: 6px;
}
.empty h3 { font-size: 18px; }
.empty p { color: var(--text-2); max-width: 340px; font-size: 14px; }

/* Skeleton */
.skel { background: linear-gradient(90deg, var(--surface-2), var(--bg-soft), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.6s infinite; border-radius: var(--r-md); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Toast */
.toast-host { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px); transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; pointer-events: none; }
@media (min-width: 900px) { .toast-host { bottom: 24px; } }
.toast {
  background: var(--ink); color: var(--ink-text); padding: 11px 18px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); animation: toast-in .25s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* List rows (settings) */
.rows { display: grid; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .row-main { flex: 1; min-width: 0; }
.row .row-title { font-weight: 600; font-size: 14.5px; }
.row .row-sub { color: var(--text-3); font-size: 13px; }

/* Solid danger button (hal. Delete sa confirm) */
.btn-danger-solid { background: var(--danger); color: #fff; }
.btn-danger-solid:hover:not(:disabled) { opacity: .9; }

/* ---------- Modal (components/modal.js) ---------- */
body.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.45);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .2s var(--ease);
}
.modal-backdrop.show { opacity: 1; }
.modal {
  width: 100%; max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--surface); color: var(--text); border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-lg); transform: translateY(24px); transition: transform .25s var(--ease);
  padding-bottom: env(safe-area-inset-bottom); outline: none;
}
.modal-backdrop.show .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 6px 20px; }
.modal-head h3 { font-size: 18px; }
.modal-body { padding: 8px 20px 16px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px 18px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .modal-backdrop { align-items: center; padding: 24px; }
  .modal { border-radius: var(--r-xl); transform: scale(.97); }
  .modal-sm { max-width: 420px; }
  .modal-md { max-width: 560px; }
  .modal-lg { max-width: 900px; }
  .modal-full { max-width: none; width: calc(100vw - 48px); height: calc(100vh - 48px); max-height: none; }
}

/* ---------- Photo editor (components/photo-editor.js) ---------- */
.modal-editor .modal-body { padding: 0; flex: 1; min-height: 0; display: flex; }
.pe { flex: 1; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 60dvh; }
.pe-stage { position: relative; display: grid; place-items: center; background: #111; min-height: 260px; overflow: hidden; }
.pe-canvas-wrap { position: relative; }
.pe-canvas { display: block; }
.pe-crop { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.5); cursor: move; touch-action: none; }
.pe-crop::before, .pe-crop::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 33.33% 33.33%; background-position: -1px -1px; }
.pe-crop::after { display: none; }
.pe-crop .h { position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 50%; border: 3px solid #111; touch-action: none; }
.pe-crop .nw { left: -12px; top: -12px; cursor: nwse-resize; }
.pe-crop .ne { right: -12px; top: -12px; cursor: nesw-resize; }
.pe-crop .sw { left: -12px; bottom: -12px; cursor: nesw-resize; }
.pe-crop .se { right: -12px; bottom: -12px; cursor: nwse-resize; }
.pe-panel { padding: 14px 16px; display: grid; gap: 12px; align-content: start; background: var(--surface); }
.pe-tabs { width: 100%; }
.pe-tabs button { flex: 1; justify-content: center; }
.pe-tab { display: grid; gap: 10px; }
.pe-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.pe-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pe-row .btn { flex: 1; height: 38px; padding: 0 12px; }
.pe-slider { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.pe-slider span { display: flex; justify-content: space-between; }
.pe-slider b { color: var(--text-3); font-weight: 600; }
.pe-slider input { width: 100%; accent-color: var(--ink); }
.pe-presets { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pe-preset { border: 0; background: none; padding: 0; display: grid; gap: 6px; justify-items: center; font-size: 12.5px; font-weight: 600; color: var(--text-2); flex: none; }
.pe-preset canvas { width: 72px; height: 72px; border-radius: 12px; background: #111; outline: 2px solid transparent; outline-offset: 2px; }
.pe-preset.active { color: var(--text); }
.pe-preset.active canvas { outline-color: var(--ink); }
@media (min-width: 900px) {
  .pe { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) 340px; min-height: 0; }
  .pe-panel { border-left: 1px solid var(--line); overflow-y: auto; padding: 18px; }
  .pe-presets { flex-wrap: wrap; overflow: visible; }
}

/* Text link na button (hal. Resend code, Gamitin ang GPS) */
.link-btn { border: 0; background: none; padding: 6px 2px; font-weight: 600; font-size: 14px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:disabled { color: var(--text-3); text-decoration: none; cursor: default; }

/* Viewer (photo / post) sa phone: buong screen, hindi sheet */
@media (max-width: 899px) {
  .modal-backdrop:has(.modal-viewer) { align-items: stretch; }
  .modal.modal-viewer { max-height: none; height: 100dvh; border-radius: 0; }
}

/* Listahan ng pagpipilian sa modal (hal. pili ng album, Palitan/Alisin) */
.pick-list { display: grid; gap: 6px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; font-weight: 600; }
.pick:hover { background: var(--surface-2); }
.pick.danger { color: var(--danger); }

/* ---------- Cropper (components/image-cropper.js) ---------- */
.crop { display: grid; gap: 12px; }
.crop-frame { position: relative; width: 100%; overflow: hidden; border-radius: var(--r-md); background: #111; touch-action: none; cursor: grab; user-select: none; }
.crop-frame:active { cursor: grabbing; }
.crop-frame img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-frame.round { max-width: 360px; justify-self: center; }
.crop-frame.round::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0,0,0,.5); pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.crop-zoom input { flex: 1; accent-color: var(--accent); }
.crop-hint { text-align: center; }

/* Maliit na language dropdown (login, landing) — i18n.js mountPicker */
.lang-mini { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.lang-mini select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text); font: inherit; cursor: pointer; padding-inline-end: 2px; }
.lang-mini select:focus { outline: none; }
.lang-mini:focus-within { box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .vw-nav.prev { left: auto; right: 12px; }
[dir="rtl"] .vw-nav.next { right: auto; left: 12px; }
[dir="rtl"] .vw-nav .ic, [dir="rtl"] .ic-dir { transform: scaleX(-1); }
[dir="rtl"] .pick, [dir="rtl"] .sx-user, [dir="rtl"] .pc-author, [dir="rtl"] .lang-pick button { text-align: right; }
[dir="rtl"] .search .ic { left: auto; right: 14px; }
[dir="rtl"] .search .input { padding-left: 16px; padding-right: 44px; }
[dir="rtl"] .toast-host { direction: rtl; }
.chip { display: inline-flex; align-items: center; gap: 6px; }

/* Switch (on/off) — <label class="switch"><input type="checkbox"><span></span></label> */
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-strong, #d4d4d4); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease, ease); }
.switch input:checked + span { background: var(--text); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .55; }
[dir="rtl"] .switch span::after { left: auto; right: 3px; }
[dir="rtl"] .switch input:checked + span::after { transform: translateX(-18px); }

/* Babala ng Community Guidelines habang nagta-type (components/mod-guard.js) */
.mod-hint { margin-top: 6px; padding: 8px 10px; border-radius: var(--r-md); background: var(--danger-soft); color: var(--danger); font-size: 13px; line-height: 1.4; }
.mod-hint a { color: inherit; font-weight: 600; }
[aria-invalid="true"].input, textarea[aria-invalid="true"] { border-color: var(--danger); }

/* ---------- emoji picker + stickers (components/emoji-picker.js) ---------- */
.emp {
  position: fixed; z-index: 95; width: 352px; height: 400px; display: grid; grid-template-rows: auto auto 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.emp.is-sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto; height: min(56vh, 420px); border-radius: var(--r-xl) var(--r-xl) 0 0; padding-bottom: env(safe-area-inset-bottom); }
.emp-tabs { display: flex; gap: 2px; padding: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.emp-tabs::-webkit-scrollbar { display: none; }
.emp-tab { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; font-size: 20px; font-family: var(--font-emoji); display: grid; place-items: center; cursor: pointer; opacity: .7; }
.emp-tab:hover { background: var(--bg-soft); opacity: 1; }
.emp-tab[aria-selected="true"] { background: var(--bg-soft); opacity: 1; box-shadow: inset 0 -2px 0 var(--accent); }
.emp-stk-ic { display: grid; place-items: center; }
.emp-title { padding: 8px 12px 2px; color: var(--text-3); font-weight: 600; }
.emp-body { overflow-y: auto; padding: 4px 8px 10px; overscroll-behavior: contain; }
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); align-content: start; }
.emp-e { height: 40px; border: 0; background: none; border-radius: 10px; font-size: 26px; line-height: 1; font-family: var(--font-emoji); cursor: pointer; display: grid; place-items: center; }
.emp-e:hover, .emp-e:focus-visible { background: var(--bg-soft); }
.emp-stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 4px; align-content: start; }
.emp-stk { border: 0; background: none; border-radius: 14px; padding: 4px; cursor: pointer; display: grid; place-items: center; transition: transform .12s var(--ease); }
.emp-stk:hover { background: var(--bg-soft); transform: scale(1.04); }
.emp-empty { grid-column: 1 / -1; padding: 24px 8px; text-align: center; }
/* GIF tab (KLIPY) */
.emp-gif-ic { font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 2px 5px; border: 2px solid currentColor; border-radius: 6px; font-family: var(--font-body); }
.emp-gifs { padding-top: 8px; }
.emp-gif-top { position: sticky; top: -8px; z-index: 1; display: grid; gap: 6px; padding: 4px 0 8px; background: var(--surface); }
.emp-gif-q { height: 38px; border-radius: 19px; }
.emp-gif-type { justify-self: start; }
.emp-gif-grid { columns: 2; column-gap: 6px; }
.emp-gif { display: block; width: 100%; margin: 0 0 6px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--bg-soft); cursor: pointer; break-inside: avoid; }
.emp-gif img { width: 100%; height: 100%; object-fit: cover; display: block; }
.emp-gif:hover { outline: 2px solid var(--accent); }
.emp-gif-msg { text-align: center; padding: 16px 0; }
.emp-gif-by { text-align: center; margin: 4px 0 0; font-size: 11px; }

/* Textarea na kusang humahaba (data-autogrow): walang scrollbar sa gilid hangga't hindi umaabot sa max */
textarea[data-autogrow] { resize: none; overflow-y: hidden; scrollbar-width: thin; }
.ch-input { scrollbar-width: none; }
.ch-input::-webkit-scrollbar { display: none; }

/* ---------- Media viewer (media-viewer.js): buong-screen na photo/video/mapa na may X ---------- */
html.mv-open, html.mv-open body { overflow: hidden; }
.mv { position: fixed; inset: 0; z-index: 105; background: #000; color: #fff; display: grid; grid-template-rows: auto 1fr; animation: mv-in .15s ease-out; }
@keyframes mv-in { from { opacity: 0; } }
.mv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 12px 6px 18px; position: relative; z-index: 2; }
.mv-count { font-size: 14px; font-weight: 600; opacity: .85; }
.mv-x { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.mv-x { position: relative; }
.mv-x::after { content: ""; position: absolute; inset: -6px; } /* mas malaking tapikan sa phone, maliit pa rin ang itsura */
.mv-x:hover { background: rgba(255,255,255,.24); }
.mv-x svg { width: 17px; height: 17px; }
.mv-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; overscroll-behavior: contain; }
.mv-track::-webkit-scrollbar { display: none; }
.mv-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 0 max(12px, env(safe-area-inset-bottom)); }
.mv-slide img, .mv-slide video { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; touch-action: pan-x pinch-zoom; user-select: none; }
.mv-slide video { background: #000; }
.mv-slide.is-map { padding: 0 12px max(12px, env(safe-area-inset-bottom)); }
.mv-map { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #e8eef0; position: relative; }
.mv-map .rt-svg { width: 100%; height: 100%; display: block; }
.mv-map.leaflet-container .rt-svg { display: none; }
.mv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.mv-nav.prev { left: 14px; } .mv-nav.next { right: 14px; }
.mv-nav:disabled { opacity: 0; pointer-events: none; }
@media (hover: none) { .mv-nav { display: none; } }

/* ---------- Video play mode (components/video-player.js) ---------- */
html.vp-open, html.vp-open body { overflow: hidden; }
.vp { position: fixed; inset: 0; z-index: 106; background: #000; color: #fff; display: grid; grid-template-rows: auto 1fr; animation: mv-in .15s ease-out; }
.vp-top { display: flex; align-items: center; gap: 8px; padding: max(10px, env(safe-area-inset-top)) 12px 6px; }
.vp-gap { flex: 1; }
.vp-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; position: relative; }
.vp-btn::after { content: ""; position: absolute; inset: -5px; }
.vp-btn:hover { background: rgba(255,255,255,.26); }
.vp-btn svg { width: 18px; height: 18px; }
.vp-stage { min-height: 0; display: flex; align-items: center; justify-content: center; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.vp-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.vp.fs .vp-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; opacity: 0; transition: opacity .2s; }
.vp.fs:hover .vp-top, .vp.fs:focus-within .vp-top { opacity: 1; }
.vp.fs { grid-template-rows: 1fr; }
.vp-mini-ui { display: none; }
/* maliit na lumulutang na player */
.vp.mini { inset: auto 12px calc(76px + env(safe-area-inset-bottom)) auto; width: min(58vw, 340px); aspect-ratio: var(--vp-ar, 16 / 9); max-height: 46vh;
  grid-template-rows: 1fr; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.45); touch-action: none; cursor: grab; animation: none; }
.vp.mini .vp-top { display: none; }
.vp.mini .vp-stage { padding: 0; }
.vp.mini video { pointer-events: none; }
.vp.mini .vp-mini-ui { display: flex; position: absolute; top: 6px; right: 6px; gap: 6px; z-index: 2; }
.vp.mini .vp-btn { width: 30px; height: 30px; background: rgba(0,0,0,.55); }
.vp.mini .vp-btn svg { width: 15px; height: 15px; }
@media (min-width: 900px) { .vp.mini { bottom: 20px; right: 20px; } }
