/* STUDIO CONCIERGE｜QRコードパネルの見た目。検索・辞典本体（jason-widget-j02.css）とは
   独立したファイル。色はサイト本体が定義する --ink / --paper / --ink-soft / --accent を
   そのまま使う（各サイトの配色トークンに自動で合わせる）。 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top-qr-btn {
  position: fixed; right: 16px; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); z-index: 950;
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--ink, #26221e); background: var(--paper, #fbfaf7); color: var(--ink, #26221e);
  box-shadow: 0 6px 18px rgba(35, 33, 31, .14); cursor: pointer; padding: 0; transition: background .25s, color .25s;
}
.top-qr-btn svg { width: 22px; height: 22px; fill: currentColor; }
.top-qr-btn:hover { background: var(--ink, #26221e); color: var(--paper, #fbfaf7); }
.top-qr-btn:focus-visible { outline: 2px solid var(--accent, var(--terra, #8a6a45)); outline-offset: 3px; }
.top-qr-btn[aria-expanded="true"] { background: var(--ink, #26221e); color: var(--paper, #fbfaf7); }

.top-qr-panel {
  position: fixed; right: 16px; bottom: calc(168px + env(safe-area-inset-bottom, 0px)); z-index: 965;
  width: min(260px, calc(100vw - 32px)); padding: 22px 20px 20px;
  background: var(--paper, #fbfaf7); border: 1px solid var(--ink, #26221e);
  box-shadow: 0 18px 48px rgba(35, 33, 31, .22); text-align: center;
  opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .28s ease, transform .28s ease;
}
.top-qr-panel.is-open { opacity: 1; transform: none; }
.top-qr-close {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: inline-flex;
  align-items: center; justify-content: center; border: 1px solid var(--ink-soft, var(--ink-2, #6a6155)); background: transparent;
  color: var(--ink-soft, var(--ink-2, #6a6155)); cursor: pointer; font-size: 16px; line-height: 1; padding: 0;
}
.top-qr-close:hover { border-color: var(--ink, #26221e); color: var(--ink, #26221e); }
.top-qr-close:focus-visible { outline: 2px solid var(--accent, var(--terra, #8a6a45)); outline-offset: 2px; }
.top-qr-title { margin: 0 28px 14px 0; font: 400 13.5px/1.7 "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; letter-spacing: .05em; color: var(--ink, #26221e); }
.top-qr-imgwrap { display: inline-block; background: #fff; padding: 10px; line-height: 0; }
.top-qr-img { display: block; width: 180px; height: 180px; }

@media (max-width: 860px) {
  .top-qr-btn, .top-qr-panel { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .top-qr-panel { transition: none; }
}
