@charset "UTF-8";
/* =========================================================
   Qualiaxis responsive styles (rebuild)
   - header shrink without jitter
   - keep nav-link padding constant
   - compact: hide logo-mark only, keep wordmark image
   ========================================================= */
:root{
  /* colors */
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --border: rgba(0,0,0,.10);
  --shadow: rgba(0,0,0,.08);
  --qx-btn-bg-hover:  rgba(0,0,0,.05);
  --qx-btn-bg-active: rgba(0,0,0,.08);
  /* layout */
  --maxw: 1120px;
  /* spacing */
  --pad-x: 16px;
  /* header */
  --header-pad-top: 5px;         /* expanded top padding (unified to avoid jitter) */
  --header-pad-top-compact: 5px; /* compact top padding */
  --header-pad-bottom: 10px;      /* nav-to-border distance (fixed) */
  --header-gap: 6px;              /* wordmark-to-nav distance (expanded) */
  --header-gap-compact: 6px;      /* wordmark-to-nav distance (compact) */
  /* logo images (no forced resize, only max constraints) */
  --logo-mark-max-h: 200px;
  --logo-wordmark-max-h: 40px;
  --logo-max-w: min(92vw, 520px);
  --logo-stack-gap: 6px;
  /* nav */
  --nav-gap: 10px;
  --nav-link-pad-y: 6px;   /* fixed across states */
  --nav-link-pad-x: 10px;  /* fixed across states */
  --nav-font: 14px;
  /* gallery */
  --tile-radius: 12px;
  --tile-gap: 12px;
  --qx-clickdown-dy: 1px;
}

.header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
    padding: var(--header-pad-top) var(--pad-x) var(--header-pad-bottom);
  box-shadow: 0 0 0 var(--shadow);
}

*{ box-sizing: border-box; }
html{ height:100%; }
body{
  margin:0;
  min-height:100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", Arial, sans-serif;
  line-height: 1.45;
}
/* ---------------- Header ---------------- */
/* keep relation stable */
.header-container{
  max-width: var(--maxw);
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: var(--header-gap);
}
.logo-section{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: var(--logo-stack-gap);
  overflow:hidden; /* collapse safe */
}
/* no "forced resize" – only max constraints */
.logo-section img{
  display:block;
  width:auto;
  max-width: var(--logo-max-w);
  height:auto;
}
/* ロゴマーク（表示/非表示はJS+jQueryで制御。CSSは最大サイズだけ） */
.logo-mark{
  max-height: var(--logo-mark-max-h);
  will-change: opacity;
}
.logo-wordmark{
  max-height: var(--logo-wordmark-max-h);
}
.subtitle-section{
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size:16px;
  font-weight:bold;
  color:#404040;
  margin:-14px 0 0 0;
  padding:0;
}
.navigation{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: var(--nav-gap);
  overflow: visible;
  scrollbar-width: none;      /* Firefox */
}
.navigation::-webkit-scrollbar{
  display: none;              /* Chrome / Safari */
}
.nav-link{
  font-family: inherit;
  font-size: var(--nav-font);
  padding: var(--nav-link-pad-y) var(--nav-link-pad-x);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  white-space: nowrap;
}
.nav-link:focus{
  outline: none;
}
.nav-link.active{
  background: #1f6feb;
  color: #fff;
}

/* --- global link style --- */
.footer a{
  text-decoration:none;
}

.footer a:hover{
  text-decoration:underline;
}

/* ---------------- Filter panel / Upload CTA ---------------- */
/* header 内でパネルを “下にかぶせる” 前提（absolute） */

/* 大きめアップロードCTA（ナビの下に常時表示する想定） */
.qx-upload-cta{
  width: 100%;
  display:flex;
  justify-content:center;
  margin: 0;
}
.qx-upload-cta .qx-upload-cta-btn{
  display:inline-block;
  text-decoration:none;
  /* nav-link と同じ見た目 */
  font-size: var(--nav-font);
  padding: var(--nav-link-pad-y) 28px; /* 横だけ長め */
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  white-space: nowrap;
}
/* =========================
   Filter panel (tag)
   ========================= */
/* 絞り込みパネル本体（headerの下にかぶせる） */
.qx-filter-panel{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  box-shadow: 0 14px 26px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  display:none;
  z-index: 120; /* header(100)より前に */
}
/* パネルの中身を max 幅に収めてセンタリング */
.qx-filter-body{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--pad-x) 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* タグボタン群（最大幅内で中央寄せ＆折り返し） */
/* タイトル直下の短い区切り線 */
.qx-filter-sep{
  height: 1px;
  background: var(--border);
  width: 100%;
  margin: 10px auto 5px;
  border-radius: 999px;
  opacity: .9;
}
.qx-filter-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:10px;
}
/* --- Filter tag (checkbox label) --- */
.qx-filter-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: var(--nav-font);
  line-height: 1;
  padding: var(--nav-link-pad-y) var(--nav-link-pad-x);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor:pointer;
  user-select:none;
}
/* checkbox itself (visible) */
.qx-filter-cb-vis{
  margin: 0;
}
/* selected */
.qx-filter-tag.is-selected{
  background:#1f6feb;
  border-color:#1f6feb;
  color:#fff;
}
/* 開いた状態（headerにクラスを付けて制御する想定） */
.header.is-filter-open .qx-filter-panel{
  display:block;
}
/* パネル内のボタン類（確定/キャンセル） */
.qx-filter-actions{
  display:flex;
  flex-direction: column;
  gap:10px;
  align-items:center;
  margin:12px 0 20px 0;
}
.qx-filter-actions-row{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.qx-filter-actions .qx-btn{
  appearance:none;
  -webkit-appearance:none;
  font-family: inherit;
/* font-weight: 600; */
  /* nav-link と同じ見た目 */
  font-size: var(--nav-font);
  padding: var(--nav-link-pad-y) var(--nav-link-pad-x);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.03);
  color:#111;
  cursor:pointer;
}
.qx-btn-close {
  min-width:80px;
}
/* 「この条件で表示」も白系に統一 */
.qx-filter-actions .qx-btn.primary{
  background: rgba(0,0,0,0.03);
  color:#111;
  border-color: rgba(0,0,0,0.18);
}
/* uploadform は body.qx-upload でヘッダのナビ非表示を維持したいので CTA も消す */
body.qx-upload .qx-upload-cta{
  display:none !important;
}
/* ---------------- Compact state ---------------- */
.header.is-compact{
  /* keep padding shorthand; just swap the variable used for top */
  --header-pad-top: var(--header-pad-top-compact);
}
.header.is-compact .header-container{
  gap: var(--header-gap-compact);
}
/* ---------------- Main / Gallery ---------------- */
.main{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x) 40px;
}
.gallery-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin: 8px 0 14px;
}
.gallery-title{
  margin:0;
  font-size: 18px;
  letter-spacing: .02em;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--tile-gap);
}
.artwork-item{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: var(--tile-radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}
.artwork-link{ display:block; color:inherit; text-decoration:none; }
.artwork-image{
  width:100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f3f3f3 0%, #e9e9e9 100%);
  overflow:hidden;
}
.thumb-placeholder{
  width:100%;
  height:100%;
  background: linear-gradient(135deg, #f3f3f3 0%, #e9e9e9 100%);
}
.artwork-info{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
}
.view-button{
  display:inline-block;
  text-decoration:none;
  color: #111;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
}
/* hover tone unify */
.btn:hover,
.nav-link:hover,
.qx-dialog-btn:hover,
.qx-upload-cta-btn:hover{
  background: var(--qx-btn-bg-hover);
}
.pink-heart,
.qx-heart {
  color: #ff69b4; /* または #ff69b4 (ホットピンク) など */
  font-size: 24px; /* サイズ調整 */
  /* text-shadow: 2px 2px 4px #ffb6c1; /* 影をつける例 */ */
}

/* --- Qualiaxis: 投票済みハート（♥）は非インタラクティブにする --- */
.qx-heart.is-voted{
  pointer-events: none; /* クリック不能 */
  cursor: default;      /* 手カーソル抑止 */
}
.qx-heart.is-voted:hover,
.qx-heart.is-voted:active{
  /* clickdown/hover による跳ねや沈みを抑止（ベース位置は維持） */
  transform: translateY(var(--qx-heart-base-ty, 0));
  filter: none;
  box-shadow: none;
}

.qx-vote{
  display:inline-flex;
  align-items:center;
  gap: 4px;            /* ここで間隔を微調整（3〜6pxあたり） */
  white-space: nowrap;
}

.vote-count,
.qx-count {
  font-family: sans-serif;
  font-size: 18px;
  font-weight:bold;
  color: var(--muted);
  white-space: nowrap;
  padding-left:10px;
  text-align:right;
}

.qx-count-num{
  font: inherit;
  padding-top:2px;
}

/* =========================================================
   Vote count fine-tune (requested)
   - index(pc): keep as-is
   - view(pc): slightly smaller + 2px lower
   - index(mobile): 4px lower
   - view(mobile): keep as-is
   ========================================================= */

/* view (PC): slightly smaller than default 18px, and move the number adjust */
@media (min-width: 481px){
  body.qx-view .qx-count-num{
    display: inline-block;
    position: relative;
    top: -1px;
    font-size: 24px;
    font-weight: 500;
  }
}

/* index (mobile): move only the tile vote number adjust */
@media (max-width: 480px){
  .artwork-info .qx-count-num{
    position: relative;
    top: 1px;
  }

  body.qx-view .qx-count-num{
    display: inline-block;
    position: relative;
    top: 1px;
  }
}
body.qx-view .qx-count {
  padding-top:6px;
}

.created-at {
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-note{
  grid-column: 1 / -1;      /* grid内で全幅 */
  display: flex;
  align-items: center;
  justify-content: center;  /* 横中央＋縦中央 */
  min-height: 10vh;         /* “フッタに入り込まない”ための高さ（好みで調整） */
  margin: 0;
  text-align: center;
  color: var(--muted);
  transform: translateY(-15px);
}

/* view (mobile): delete / back / volume buttons down by 2px */
@media (max-width: 480px){
  body.qx-view .qx-delBtn,
  body.qx-view .qx-back,
  body.qx-view .qx-vol{
    transform: translateY(2px);
  }
}

/* ---------------- Footer ---------------- */
.footer{
  border-top: 1px solid var(--border);
  padding: 18px var(--pad-x) 24px;
  color: var(--muted);
  text-align:center;
  font-size: 13px;
}
/* ---------------- Responsive tweaks ---------------- */
@media (max-width: 480px){
  :root{
    --logo-mark-max-h: 150px;
    --logo-wordmark-max-h: 40px;
    --nav-font: 13px;
    --nav-gap: 8px;
    --qx-clickdown-dy: 2px;
  }
  .gallery-grid{
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  .subtitle-section{
    margin:-10px 0 0 0;
    padding:0;
  }
}
@media (prefers-reduced-motion: reduce){
  /* jQuery側の指定に寄せるが、念のため */
  .logo-mark{ will-change: auto; }
}
/* video tiles */
.artwork-image{ position:relative; }
.artwork-item.is-video .artwork-image::after{
  content:"▶";
  position:absolute;
  top:50%;
  left:50%;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  color:#fff;
  pointer-events:none;
  font-size:18px;
  line-height:1;

  /* 円は常に中心固定 */
  transform: translate(-50%, -50%);

  /* ▶文字だけ微調整（右へ） */
  text-indent: 3px;
}

@media (hover: none) and (pointer: coarse){
  .artwork-item.is-video .artwork-image::after{
    padding-top: 2px;
  }
}

/* 動画タイル：▶ の押下（凹み）を view のナビと同じ“押し心地”に寄せる */
.artwork-item.is-video .artwork-link:active .artwork-image::after,
.artwork-item.is-video:active .artwork-image::after{
  /* 既存の translate(-50%,-50%) + translateX(1px) を維持したまま、下へ 2px */
  transform: translate(-50%, -50%) translateX(var(--qx-play-x, 2px)) translateY(calc(var(--qx-play-y, 0px) + var(--qx-clickdown-dy, 2px)));
  box-shadow: inset 0 0 8px rgba(255,255,255,.22), 0 0 10px rgba(255,255,255,.30);
  filter: brightness(1.08);
}
.artwork-item.is-video .artwork-image{
  aspect-ratio: 1 / 1;    /* list寄せ：動画も正方形 */
  background: #000;       /* ここは好み。通常と同じにしたければ行ごと削除でもOK */
}
.artwork-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 画像と同じ見え方 */
  display: block;
  background: #000;
}
.artwork-image video.tile-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#000;
  pointer-events:none; /* クリックは <a> に渡す */
}
/* クリックは <a> に渡して view に飛ばす */
.tile-video { pointer-events: none; }
/* ---------------- upload form (uploadform only) ---------------- */
.qx-upload .upload-center{ text-align:center; margin-bottom:20px; }
.qx-upload .upload-info-text{ margin:5px; padding:0;  text-align:left; }
.qx-upload .upload-back{ text-align:center; margin:20px 0 18px; }
.qx-upload .upload-back-link{ display:inline-block; width:100px; text-align:center; }
/* uploadform preview overlay */
.upload-preview-inner {
  position: relative;
}
.upload-preview-note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
/* 文字が空なら出さない（サムネ表示後に消える） */
.upload-preview-note:empty {
  display: none;
}
.qx-upload .box{
  max-width: 720px;
  width:100%;
  margin:0 auto;
  border:1px solid #ddd;
  border-radius:10px;
  padding:16px;
}
.qx-upload .card{
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
  background: #fff;
}
.qx-upload .upload-card{
  max-width:760px;
  margin:0 auto;
}
.qx-upload .muted{ color: #666; font-size: 12px; }
.qx-upload .size2{ color: #444; font-size: 18px; margin-top:10px; font-weight:bold; }
.qx-upload .btn{
  appearance: none;
  border: 1px solid #ccc;
  background: #f7f7f7;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.qx-upload .btn:disabled{ opacity: 0.6; cursor: not-allowed; }
.qx-upload .btn.primary{ background: #0b62d6; color: #fff; border-color: #0b62d6; }
.qx-upload .btn.danger { background: #c62828; color: #fff; border-color: #c62828; }
/* ---------------- list top bar ---------------- */
.list-topbar-center{
  text-align: center;
  margin: 12px 0 16px;
}
/* inline-block so the width becomes the button row width;
   the user line becomes the same width automatically */
.list-topbar{
  display: inline-block;
  text-align: left;
  max-width: calc(100vw - 32px);
}
.list-topbar-user{
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.list-topbar-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}
/* =========================================================
   QX dialog (confirm / Yes-No) - common
   ========================================================= */
.qx-dialog{
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qx-dialog[hidden]{ display:none; }
.qx-dialog-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.qx-dialog-panel{
  position: relative;
  background: rgba(0,0,0,0.70);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-align:center;
  border-radius: 16px;
  padding: 10px;
  width: 340px;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  transform: translateY(6px) scale(.98);
  opacity: 0;
  transition: transform .14s ease, opacity .14s ease;
}

/* 複数（textareaがある時） */
.qx-dialog-panel:has(textarea.qxShareUrl){
  width: 370px;
}

.qx-dialog.is-show .qx-dialog-panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.qx-dialog-title{
  font-size: 13px;
  font-weight: 700;
  opacity: .92;

}
.qx-dialog-subtitle{
  display:inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 0;
  opacity: .92;
}
.qx-dialog-msg{
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.qx-dialog-err{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #ffff00;
  text-align: right;
  white-space: pre-wrap;
}
.qx-dialog-hr{
  border: none;
  border-top: 1px solid rgba(255,255,255,.15);
  margin: 5px 0;
}
.qx-dialog-actions{
  display: flex;
  gap: 10px;
//justify-content: center;
  justify-content: flex-end;
  padding: 10px 0 2px 0;
}
.qx-dialog-btn{
  appearance: none;
  flex: 0 0 auto;      /* ★ボタン幅を確保 */
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap; /* ボタン内の改行防止 */
  min-width:80px;
  min-height: 34px;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
/* =========================================================
   QX clickdown: “沈み”をクラスで付与する正攻法
   - 通常: .qx-clickdown
   - transformで縦センタリングしているナビ等: .qx-clickdown--nav
   ========================================================= */
/* 通常：沈み量は変数で制御 */
.qx-clickdown:active{
  background: var(--qx-btn-bg-active);
  transform: translateY(var(--qx-clickdown-dy, 1px));
}

/* --- Qualiaxis: view ナビ（左右ボタン）押下の凹み表現 ---
 * view.pl では #qx-midrail 配下で transform: translateY(-50%) を使うため、
 * .qx-clickdown--nav の transform が負けないようにスコープ付きで上書きする。
 * 影（白くなる演出）は既存の見た目を保ちつつ、沈みだけ加える。
 */
body.qx-view #qx-midrail.qx-midrail .qx-navbtn.qx-clickdown--nav:active,
body.qx-view #qx-midrail.qx-midrail .qx-navbtn.qx-clickdown--nav:hover:active{
  /* translateY(-50%) を維持したまま沈める */
  transform: translateY(calc(-50% + var(--qx-clickdown-dy, 2px)));
}

/* 例外：transformで縦センタリング（translateY(-50%)）している要素向け */
.qx-clickdown--nav:active{
  background: var(--qx-btn-bg-active);
  transform: translateY(calc(-50% + var(--qx-clickdown-dy, 1px)));
}
.qx-dialog-ok{
  border-color: rgba(255,77,109,0.55);
  background: rgba(255,77,109,0.18);
}
.qx-dialog.is-danger .qx-dialog-ok{
  border-color: rgba(255,77,109,0.70);
  background: rgba(255,77,109,0.25);
}
/* ---- uploadform voteToast helpers (shared with dialog look) ---- */
.qx-dialog-input{
  /* width: 100%; */
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 13px;
}
.qx-dialog-input::selection{ background: rgba(255,255,255,0.28); }
/* ブラウザ標準のフォーカス枠（アウトライン）を消す */
.qx-dialog-input:focus,
.qx-dialog-input:focus-visible{
  outline: none;
  box-shadow: none;
}
.qx-toast-extra{
  line-height: 1.5;
}
.qx-toast-wrap{
  white-space: normal;
  line-height: 1.45;
  box-sizing: border-box;
  width: 100%;
  max-width: min(300px, calc(100vw - 28px));
}
/* ---- uploadform completion toast (html_only) ---- */
.qx-toast-body{
  text-align: left;
}
.qx-toast-row{
  padding: 3px 0 3px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex-wrap: nowrap;   /* 折り返し禁止 */
}
.qxShareUrl{
  flex: 1 1 auto;      /* 残り領域を全部 */
  min-width: 0;        /* ★これが無いと縮まずはみ出す */
  width: auto;
}
/* =========================================================
   QX surface / balloon core (shared look)
   - dialog / ticker / other balloons
   ========================================================= */
.qx-surface{
  background: rgba(0,0,0,0.70);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  color: #fff;
}
.qx-surface--panel{
  border-radius: 16px;
  padding: 14px 14px 12px;
}
.qx-surface--pill{
  border-radius: 12px;
  padding: 5px 10px;
}
/* ---- transient toast (auto hide) ---- */
.qx-toast{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 35;
  pointer-events: none;
  opacity: 0;
  text-align: center;
  white-space: pre-line;
  max-width: 86vw;
}
.qx-toast[hidden]{ display:none; }
.qx-toast.is-show{
  animation: qxToastFade 3s ease both;
}
@keyframes qxToastFade{
  0%   { opacity:0; transform:translate(-50%,-50%) scale(.98); }
  15%  { opacity:1; transform:translate(-50%,-50%) scale(1); }
  85%  { opacity:1; transform:translate(-50%,-50%) scale(1); }
  100% { opacity:0; transform:translate(-50%,-50%) scale(.98); }
}
@media (max-width: 520px){
  .list-topbar-actions{ gap: 8px; }
}
/* ================================
   index.pl inline-style replacements
   ================================ */
.qx-thumb-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.qx-infinite-status{
  text-align:center;
  margin:16px 0;
  color:#777;
  font-size:13px;
}
.qx-sentinel{
  height:1px;
}
.spacer5 {
  clear:both;
  width:auto;
  height:5px;
}

/* === Qualiaxis Heart (SVG, text-like) === */
.qx-heart {
  display: inline-block;
  width: 1em;
  height: 1em;
  color: #bbb;
}

.qx-heart.is-on {
  color: #ff69b4;
}

.qx-heart-svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}
