/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file
 * If you need help please contact info@presta.hu
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */
.pshuaud-sw {
  --sw-accent: #2f7d5b;
  --sw-like: #2f7d5b;
  --sw-dislike: #b3352f;
  --sw-super: #2f6f9f;
  --sw-text: #1d2521;
  --sw-muted: #6e6257;
  --sw-card: #fff;
  --sw-line: #eee;
  --sw-line-soft: #f3eee8;
  --sw-track: #e6ded4;
  --sw-radius: 18px;
  --sw-ratio: 3 / 4;
  --sw-fit: cover;
  --sw-dur: 260ms;
  position: relative;
  color: var(--sw-text);
  box-sizing: border-box;
}
.pshuaud-sw *,
.pshuaud-sw *::before,
.pshuaud-sw *::after { box-sizing: border-box; }
.pshuaud-sw [hidden] { display: none !important; }
.pshuaud-sw--anim-subtle { --sw-dur: 180ms; }
.pshuaud-sw--anim-lively { --sw-dur: 360ms; }
.pshuaud-sw--font-system,
.pshuaud-swp .pshuaud-sw--font-system { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.pshuaud-sw--dark {
  --sw-text: #f1ece5;
  --sw-muted: #b8b0a6;
  --sw-card: #232b28;
  --sw-line: #2e3632;
  --sw-line-soft: #2e3632;
  --sw-track: #3a433f;
  background: #161b19;
  border-radius: var(--sw-radius);
  padding: 24px 16px;
}

/* Layout */
.pshuaud-sw__grid { display: block; }
.pshuaud-sw__main { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pshuaud-sw__side { display: none; }
.pshuaud-sw--wide .pshuaud-sw__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; }
.pshuaud-sw--wide .pshuaud-sw__side { display: block; align-self: start; }
.pshuaud-sw--page { padding: 40px 0 60px; }
@media (min-width: 1200px) {
  .pshuaud-sw--page.pshuaud-sw--wide { padding: 40px 80px 60px; }
}
.pshuaud-sw-block { margin: 40px 0; }

.pshuaud-sw__title { margin: 0 0 6px; font-weight: 800; font-size: 34px; line-height: 1.15; color: var(--sw-text); }
.pshuaud-sw-block .pshuaud-sw__title { font-size: 28px; }
.pshuaud-sw__intro { color: var(--sw-muted); margin: 0 0 20px; font-size: 16px; line-height: 1.5; }
.pshuaud-sw__short { display: none; }

/* Card column */
.pshuaud-sw__fc { width: 340px; max-width: 100%; }
.pshuaud-sw__prog { display: flex; justify-content: space-between; align-items: flex-start; color: var(--sw-muted); font-size: 12.5px; line-height: 1.5; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.pshuaud-sw__prog > span { min-width: 34px; text-align: left; }
.pshuaud-sw__prog > span:last-child { text-align: right; }
.pshuaud-sw__prog i { flex: 1; height: 5px; border-radius: 5px; background: var(--sw-track); margin: 7px 10px 0; overflow: hidden; }
.pshuaud-sw__prog i b { display: block; height: 100%; width: 0; background: var(--sw-accent); transition: width var(--sw-dur) ease-out; }

.pshuaud-sw__stack { position: relative; display: grid; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pshuaud-sw--page .pshuaud-sw__stack,
.pshuaud-sw--popup .pshuaud-sw__stack { touch-action: none; }
.pshuaud-sw__stack:focus-visible { outline: 3px solid var(--sw-accent); outline-offset: 4px; border-radius: var(--sw-radius); }
.pshuaud-sw__state { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: var(--sw-ratio); border-radius: var(--sw-radius); background: linear-gradient(160deg, #d9e7df, #f4e4cf); color: var(--sw-muted); padding: 24px; text-align: center; }
.pshuaud-sw--dark .pshuaud-sw__state { background: #232b28; }
.pshuaud-sw__state p { margin: 0; font-size: 15px; }

.pshuaud-sw__card { grid-area: 1 / 1; position: relative; border-radius: var(--sw-radius); background: var(--sw-card); box-shadow: 0 14px 40px rgba(0, 0, 0, .14); overflow: hidden; display: flex; flex-direction: column; text-align: left; cursor: grab; touch-action: inherit; will-change: transform; }
.pshuaud-sw__card.is-dragging { cursor: grabbing; transition: none !important; }
.pshuaud-sw__card[data-depth="0"] { z-index: 2; transition: transform var(--sw-dur) ease-out; }
.pshuaud-sw__card[data-depth="1"] { z-index: 1; transform: scale(.95) translateY(12px); opacity: .6; pointer-events: none; }

.pshuaud-sw__img { position: relative; aspect-ratio: var(--sw-ratio); background: linear-gradient(160deg, #d9e7df, #f4e4cf); overflow: hidden; }
.pshuaud-sw__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--sw-fit); display: block; pointer-events: none; }
.pshuaud-sw__stamp { position: absolute; top: 22px; left: 18px; transform: rotate(-14deg); border: 3px solid var(--sw-like); color: var(--sw-like); background: rgba(255, 255, 255, .82); font-weight: 900; font-size: 22px; line-height: 1.3; padding: 2px 12px; border-radius: 8px; letter-spacing: .06em; opacity: 0; pointer-events: none; }
.pshuaud-sw__stamp--dislike { left: auto; right: 18px; transform: rotate(14deg); border-color: var(--sw-dislike); color: var(--sw-dislike); }
.pshuaud-sw__stamp--super { top: auto; bottom: 22px; left: 50%; transform: translateX(-50%); border-color: var(--sw-super); color: var(--sw-super); }
.pshuaud-sw__info { position: absolute; inset: auto 0 0 0; max-height: 100%; overflow: auto; padding: 16px; background: rgba(20, 24, 22, .78); color: #fff; font-size: 14px; line-height: 1.5; transform: translateY(100%); transition: transform var(--sw-dur) ease-out; }
.pshuaud-sw__card.is-info .pshuaud-sw__info { transform: translateY(0); }

.pshuaud-sw__meta { padding: 12px 16px 14px; min-height: 70px; }
.pshuaud-sw__meta b { display: block; font-weight: 800; font-size: 17px; line-height: 1.3; color: var(--sw-text); }
.pshuaud-sw__meta small { display: block; color: var(--sw-muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.pshuaud-sw__pr { float: right; margin-left: 10px; font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--sw-text); white-space: nowrap; }
.pshuaud-sw__old { display: block; font-weight: 400; font-size: 12px; color: var(--sw-muted); text-align: right; }
.pshuaud-sw__cta { display: inline; padding: 0; border: 0; background: none; font: inherit; color: var(--sw-accent); font-weight: 700; cursor: pointer; }
.pshuaud-sw__cta:hover { text-decoration: underline; }
.pshuaud-sw__cta:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 2px; border-radius: 3px; }

.pshuaud-sw__acts { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
.pshuaud-sw__act { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--sw-card); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); display: grid; place-items: center; padding: 0; cursor: pointer; transition: transform 150ms ease-out, opacity 150ms; }
.pshuaud-sw__act svg { width: 24px; height: 24px; }
.pshuaud-sw__act:hover:not(:disabled) { transform: scale(1.06); }
.pshuaud-sw__act:active:not(:disabled) { transform: scale(.95); }
.pshuaud-sw__act:disabled { opacity: .45; cursor: default; }
.pshuaud-sw__act:focus-visible { outline: 3px solid var(--sw-accent); outline-offset: 3px; }
.pshuaud-sw__act--dislike { color: var(--sw-dislike); }
.pshuaud-sw__act--super { color: var(--sw-super); }
.pshuaud-sw__act--like { color: var(--sw-like); }
.pshuaud-sw__act--undo { width: 44px; height: 44px; color: var(--sw-muted); }
.pshuaud-sw__act--undo svg { width: 18px; height: 18px; }
.pshuaud-sw__msg { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--sw-muted); text-align: center; }

/* Liked so far */
.pshuaud-sw__side { border: 1px solid var(--sw-line); border-radius: 14px; padding: 18px; text-align: left; }
.pshuaud-sw__side h4 { margin: 0 0 10px; font-weight: 800; font-size: 16px; color: var(--sw-text); }
.pshuaud-sw__none { margin: 0; padding: 8px 0; color: var(--sw-muted); font-size: 14px; border-top: 1px solid var(--sw-line-soft); }
.pshuaud-sw__mini { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--sw-line-soft); }
.pshuaud-sw__mini i { flex: none; width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(160deg, #d9e7df, #f4e4cf) center / cover no-repeat; }
.pshuaud-sw__mini b { display: block; font-size: 14px; line-height: 1.35; color: var(--sw-text); }
.pshuaud-sw__mini small { display: block; color: var(--sw-muted); font-size: 13px; }
.pshuaud-sw__fnote { font-size: 12.5px; color: var(--sw-muted); text-align: center; margin-top: 14px; }

/* Buttons */
.pshuaud-sw__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 10px; background: var(--sw-accent); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.pshuaud-sw__btn:hover { filter: brightness(1.06); }
.pshuaud-sw__btn:focus-visible { outline: 3px solid var(--sw-accent); outline-offset: 3px; }
.pshuaud-sw__btn--ghost { background: transparent; color: var(--sw-text); box-shadow: inset 0 0 0 1px var(--sw-line); }
.pshuaud-sw__btn--danger { background: var(--sw-dislike); }
.pshuaud-sw__link { padding: 4px 2px; border: 0; background: none; font: inherit; color: var(--sw-accent); font-weight: 700; cursor: pointer; }
.pshuaud-sw__link:hover { text-decoration: underline; }

/* End of the round */
.pshuaud-sw__end { text-align: center; padding: 10px 0; }
.pshuaud-sw__end .pshuaud-sw__title:focus { outline: none; }
.pshuaud-sw__recs { display: grid; grid-template-columns: repeat(4, 200px); gap: 20px; justify-content: center; margin: 10px 0 20px; }
.pshuaud-sw__rec { display: block; text-align: left; color: var(--sw-text); text-decoration: none; }
.pshuaud-sw__rec:hover b { text-decoration: underline; }
.pshuaud-sw__rec-img { display: block; position: relative; height: 220px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #d9e7df, #f4e4cf); }
.pshuaud-sw__rec-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pshuaud-sw__rec b { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; }
.pshuaud-sw__rec small { color: var(--sw-muted); font-size: 13px; }
.pshuaud-sw__ask { max-width: 420px; margin: 14px auto 0; padding: 16px; border: 1px solid var(--sw-line); border-radius: 12px; }
.pshuaud-sw__ask p { margin: 0 0 12px; font-size: 14px; }
.pshuaud-sw__ask div { display: flex; gap: 10px; justify-content: center; }

/* Leave confirmation */
.pshuaud-sw__confirm { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 16px; background: rgba(20, 24, 22, .45); }
.pshuaud-sw__confirm-box { width: min(380px, 100%); padding: 22px; border-radius: 14px; background: #fff; color: #1d2521; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); text-align: center; }
.pshuaud-sw__confirm-box p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.pshuaud-sw__confirm-box div { display: flex; gap: 10px; justify-content: center; }
.pshuaud-sw__confirm-box .pshuaud-sw__btn--ghost { color: #1d2521; box-shadow: inset 0 0 0 1px #ddd; }

/* Popup */
.pshuaud-swp { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 12px; }
.pshuaud-swp[hidden] { display: none; }
.pshuaud-swp__shade { position: absolute; inset: 0; background: rgba(20, 24, 22, .55); }
.pshuaud-swp__box { position: relative; width: min(420px, 100%); max-height: calc(100vh - 24px); overflow: auto; padding: 26px 24px 22px; border-radius: 18px; background: #fff; color: #1d2521; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); text-align: center; outline: none; }
.pshuaud-swp__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #6e6257; cursor: pointer; }
.pshuaud-swp__x svg { width: 20px; height: 20px; }
.pshuaud-swp__x:hover { background: #f3eee8; }
.pshuaud-swp__title { margin: 0 36px 8px; font-weight: 800; font-size: 24px; line-height: 1.2; }
.pshuaud-swp__intro p { margin: 0 0 18px; color: #6e6257; font-size: 15px; line-height: 1.5; }
.pshuaud-swp__intro .pshuaud-sw__link { display: block; margin: 10px auto 0; color: #6e6257; font-weight: 600; }
.pshuaud-swp__intro .pshuaud-sw__btn { background: #2f7d5b; min-width: 180px; }
.pshuaud-swp__stage { margin-top: 12px; }
.pshuaud-swp__stage .pshuaud-sw__fc { width: 340px; margin: 0 auto; }
.pshuaud-swp__stage .pshuaud-sw__recs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pshuaud-swp__stage .pshuaud-sw__rec-img { height: 160px; }
html.pshuaud-swp-open { overflow: hidden; }

@media (max-width: 767px) {
  .pshuaud-sw--page { padding: 18px 0 24px; }
  .pshuaud-sw__title { font-size: 24px; margin-bottom: 4px; }
  .pshuaud-sw-block .pshuaud-sw__title { font-size: 22px; }
  .pshuaud-sw__intro { font-size: 14px; margin-bottom: 14px; }
  .pshuaud-sw__long { display: none; }
  .pshuaud-sw__short { display: inline; }
  .pshuaud-sw__fc { width: 100%; }
  .pshuaud-sw__recs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pshuaud-sw__rec-img { height: 180px; }
  .pshuaud-swp__box { padding: 22px 16px 18px; }
  .pshuaud-swp__stage .pshuaud-sw__fc { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pshuaud-sw,
  .pshuaud-sw * { transition: none !important; animation: none !important; }
}
