/* Shop Run toolkit: Good Price?, Run List, Receipt Snap, Price Watch */
.shr-lead__acts .btn--ghost { border-color: var(--color-border); color: var(--color-text); }
.shr-lead__acts .btn--ghost:hover { border-color: var(--color-text); background: transparent; }

.shr-kit { background: #0b0c0d; color: #fff; padding-block: 0 clamp(var(--space-10), 5vw, var(--space-16)); }
.shr-kit__head { max-width: 60ch; margin-bottom: var(--space-5); }
.shr-kit__head .eyebrow { color: var(--amber); }
.shr-kit__head .section__title { color: #fff; }
.shr-kit__head p:last-child { color: #a3a19c; margin-top: var(--space-2); }
.shr-kit__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.shr-tile { position: relative; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: var(--space-5); border-radius: var(--radius-lg);
  background: #16171a; border: 1px solid #2c2d31; color: #fff; cursor: pointer; overflow: hidden; transition: transform .2s var(--ease), border-color .2s; }
.shr-tile::after { content: ''; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%; background: var(--g); opacity: .18; filter: blur(10px); transition: opacity .2s; }
.shr-tile:hover, .shr-tile:focus-visible { transform: translateY(-2px); border-color: var(--g); }
.shr-tile:hover::after { opacity: .32; }
.shr-tile--scan { --g: #2fbf71; } .shr-tile--list { --g: #f5a623; } .shr-tile--rec { --g: #4aa3ff; } .shr-tile--watch { --g: #ff6b6b; }
.shr-tile__ic { position: relative; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--g) 18%, transparent); color: var(--g); margin-bottom: 6px; }
.shr-tile__n { position: absolute; top: -6px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--amber); color: #141414; font: 800 12px/22px var(--font-display); font-style: normal; text-align: center; }
.shr-tile__n[hidden] { display: none; }
.shr-tile b { font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.1; }
.shr-tile span { color: #b9b7b2; font-size: var(--text-sm); line-height: 1.45; }
.shr-tile em { margin-top: auto; padding-top: var(--space-3); font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm); color: var(--g); }
.shr-tile em::after { content: ' \2192'; }

/* sheets */
.shr-sheet { margin: auto; border: 0; padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); border-radius: var(--radius-lg);
  background: #121315; color: #f2f0ec; box-shadow: 0 30px 90px rgb(0 0 0 / .6); overflow: auto; overscroll-behavior: contain; }
.shr-sheet::backdrop { background: rgb(0 0 0 / .65); backdrop-filter: blur(3px); }
.shr-sheet__h { position: sticky; top: 0; z-index: 2; display: flex; gap: var(--space-3); justify-content: space-between; align-items: flex-start; padding: var(--space-5) var(--space-5) var(--space-3); background: #121315; border-bottom: 1px solid #26272b; }
.shr-sheet__h h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); line-height: 1; }
.shr-sheet__h p { color: #a3a19c; font-size: var(--text-sm); margin-top: 6px; }
.shr-sheet__x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #34353a; background: #1d1e21; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.shr-sheet__b { padding: var(--space-4) var(--space-5) var(--space-6); display: grid; gap: var(--space-3); }
.shr-sheet .btn--ghost { border-color: #44454b; color: #f2f0ec; }
.shr-sheet .btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / .06); }
.shr-sheet .btn { padding: var(--space-3) var(--space-5); }
.shr-sheet .btn:disabled { opacity: .55; cursor: default; }
.shr-sheet input, .shr-sheet select { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: #1b1c1f; border: 1px solid #3a3b40; border-radius: var(--radius); padding: 11px 12px; }
.shr-sheet input:focus, .shr-sheet select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
.shr-sheet input[type=checkbox] { width: 22px; height: 22px; padding: 0; accent-color: var(--amber); flex: none; }
.shr-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.shr-row--in { flex-wrap: nowrap; }
.shr-row--in input { flex: 1; }
.shr-row--end { justify-content: flex-end; }
.shr-row--end > span { margin-right: auto; color: #a3a19c; font-size: 13px; }
.shr-step { display: grid; gap: var(--space-3); }
.shr-step[hidden] { display: none; }
.shr-wide-btn { width: 100%; }
.shr-fld { display: grid; gap: 6px; }
.shr-fld > span:first-child { font-family: var(--font-display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a3a19c; font-weight: 800; }
.shr-fld2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-3); }
.shr-money { position: relative; display: flex; align-items: center; gap: 4px; font-weight: 700; color: #a3a19c; }
.shr-msg2 { font-size: var(--text-sm); color: #cfcdc8; }
.shr-msg2[hidden] { display: none; }
.shr-msg2.is-warn { color: #ffb36b; }
.shr-msg2.is-ok { color: #6fdc9f; }
.shr-tip { font-size: 13px; color: #a3a19c; }
.shr-tip a { color: var(--amber); }
.shr-privacy { font-size: 13px; color: #cfe6ff; background: rgb(74 163 255 / .1); border: 1px solid rgb(74 163 255 / .3); padding: 10px 12px; border-radius: var(--radius); }
.shr-link { background: none; border: 0; padding: 6px 2px; color: var(--amber); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; }
.shr-link.is-danger { color: #ff8a8a; }
.shr-x2 { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #8d8b86; font-size: 22px; cursor: pointer; }
.shr-x2:hover { background: #222327; color: #fff; }
.shr-signin { display: grid; gap: var(--space-2); justify-items: start; padding: var(--space-4); border: 1px dashed #44454b; border-radius: var(--radius-lg); }
.shr-signin p { color: #a3a19c; font-size: var(--text-sm); }

/* scanner */
.shr-cam { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.shr-cam[hidden] { display: none; }
.shr-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.shr-cam__frame { position: absolute; inset: 28% 12%; border: 3px solid #2fbf71; border-radius: 12px; box-shadow: 0 0 0 999px rgb(0 0 0 / .35); }
.shr-cam__frame::after { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: shr-scanline 1.6s ease-in-out infinite alternate; }
@keyframes shr-scanline { from { transform: translateY(-34px); } to { transform: translateY(34px); } }
.shr-code { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; color: #a3a19c; }
.shr-meter { display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-4); border-radius: var(--radius-lg); background: #18191c; border: 1px solid #2a2b2f; }
.shr-meter[hidden] { display: none; }
.shr-gauge { width: min(260px, 100%); height: auto; color: #fff; }
.shr-needle { transform-origin: 110px 112px; transition: transform 1.1s cubic-bezier(.2, 1.4, .4, 1); }
.shr-gauge__ends { width: min(260px, 100%); display: flex; justify-content: space-between; font-size: 12px; color: #a3a19c; margin-top: -6px; }
.shr-verdict { width: 100%; text-align: center; display: grid; gap: 4px; }
.shr-verdict b { font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); line-height: 1.1; }
.shr-verdict span { color: #cfcdc8; font-size: var(--text-sm); }
.shr-verdict.is-good b { color: #48d68a; } .shr-verdict.is-fair b { color: #f5b544; } .shr-verdict.is-wait b { color: #ff7a74; } .shr-verdict.is-none b { color: #fff; }
.shr-meter__src { font-size: 12px; color: #8d8b86; text-align: center; max-width: 46ch; }
@media (prefers-reduced-motion: reduce) { .shr-needle, .shr-cam__frame::after { transition: none; animation: none; } }

/* receipt */
.shr-rec { display: grid; gap: var(--space-3); }
.shr-rec[hidden] { display: none; }
.shr-rec__list { display: grid; gap: 6px; max-height: 46vh; overflow: auto; padding-right: 2px; }
.shr-rec__list li { display: grid; grid-template-columns: auto 1fr 104px auto; gap: 8px; align-items: center; }
.shr-rec__list li.is-off input:not([type=checkbox]) { opacity: .45; }
.shr-rec__list .shr-money input { padding: 9px 8px; }
.shr-rec__list input:not([type=checkbox]) { padding: 9px 10px; }

/* watch */
.shr-watchform { display: grid; grid-template-columns: 1fr 130px auto; gap: var(--space-3); align-items: end; }
.shr-watchform[hidden] { display: none; }
.shr-watch { display: grid; gap: var(--space-2); }
.shr-watch li { display: grid; gap: 6px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: #18191c; border: 1px solid #2a2b2f; }
.shr-watch li.is-hit { border-color: #2fbf71; background: rgb(47 191 113 / .08); }
.shr-watch__t { display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; }
.shr-watch__t b { font-family: var(--font-display); font-weight: 800; text-transform: capitalize; }
.shr-watch__t span { font-size: 13px; color: #a3a19c; white-space: nowrap; }
.shr-watch__bar { height: 6px; border-radius: 3px; background: #2a2b2f; overflow: hidden; }
.shr-watch__bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff6b6b, #f5a623); border-radius: 3px; }
.is-hit .shr-watch__bar i { background: #2fbf71; }
.shr-watch__s { font-size: 13px; color: #cfcdc8; }
.is-hit .shr-watch__s { color: #6fdc9f; font-weight: 700; }
.shr-watch__a { display: flex; gap: var(--space-4); }
.shr-watch__empty { color: #a3a19c; font-size: var(--text-sm); }

/* run list */
.shr-mic { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #3a3b40; background: #1b1c1f; color: #fff; display: grid; place-items: center; cursor: pointer; }
.shr-mic.is-on { background: #e5262b; border-color: #e5262b; animation: shr-pulse 1s ease-in-out infinite; }
@keyframes shr-pulse { 50% { box-shadow: 0 0 0 8px rgb(229 38 43 / .25); } }
.shr-list { display: grid; gap: 2px; }
.shr-list li { display: flex; align-items: center; gap: var(--space-2); padding: 8px 4px; border-bottom: 1px solid #222327; }
.shr-list__c { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--space-3); cursor: pointer; }
.shr-list__t { overflow-wrap: anywhere; }
.shr-list li.is-done .shr-list__t { text-decoration: line-through; color: #77756f; }
.shr-list__p { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid #34353a; background: #1b1c1f; color: #f2f0ec; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.shr-list__p i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.shr-list__p.is-none { color: var(--amber); }
.shr-list__empty, .shr-list__clear { border: 0 !important; color: #a3a19c; font-size: var(--text-sm); }
.shr-lplan__c { padding: var(--space-4); border-radius: var(--radius-lg); border: 1px solid var(--amber); background: rgb(245 166 35 / .07); }
.shr-lplan__c .shr-opt__k { color: var(--amber); }
.shr-lplan .shr-stops li::before { border-color: #121315; }
.shr-lshare__c { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-lg); background: #18191c; border: 1px solid #2a2b2f; }
.shr-lshare__c > div:last-child { display: grid; gap: 6px; flex: 1; }
.shr-lshare__c b { font-family: var(--font-display); font-weight: 800; }
.shr-lshare__c span { font-size: 13px; color: #a3a19c; }
.shr-lshare__c:not(.is-on) { flex-wrap: wrap; }
.shr-qr { flex: none; width: 112px; }
.shr-qr:empty { display: none; }
.shr-qr svg { display: block; width: 100%; border-radius: 8px; }

@media (max-width: 960px) { .shr-kit__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .shr-kit__grid { gap: 10px; }
  .shr-tile { padding: var(--space-4); }
  .shr-tile span { display: none; }
  .shr-tile em { padding-top: 6px; font-size: 13px; }
  .shr-tile__ic { width: 42px; height: 42px; }
  .shr-sheet { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; max-width: none; }
  .shr-sheet__h { padding: var(--space-4); }
  .shr-sheet__b { padding: var(--space-3) var(--space-4) var(--space-8); }
  .shr-fld2 { grid-template-columns: 1fr; }
  .shr-watchform { grid-template-columns: 1fr 1fr; }
  .shr-watchform .btn { grid-column: 1 / -1; }
  .shr-rec__list li { grid-template-columns: auto 1fr 88px auto; gap: 6px; }
  .shr-lshare__c { flex-wrap: wrap; }
  .shr-qr { width: 96px; }
}
