/* RAF Wrestling Pick'ems — Polymarket Obsidian UI */

/* Header Account Pill (layout order owned by theme.css) */
.nav-acct {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 0;
  background: #3e61f6;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.nav-acct:hover {
  background: #4f70f8;
}
.nav-acct .acct-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: none;
  flex: none;
}
.nav-acct.signed {
  background: #262932;
  color: #f0efeb;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-acct.signed:hover {
  background: #2f333e;
  border-color: rgba(255, 255, 255, 0.13);
}
.nav-acct.signed .acct-dot {
  background: #4ade80;
  box-shadow: none;
}

/* Crisp Inline SVG Icons */
.pk-icon,
.pk-ico {
  width: 14px;
  height: 14px;
  flex: none;
  display: inline-block;
  vertical-align: -2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pk-modal-x svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Segmented Filter Pills */
.pk-shell {
  margin-top: 12px;
}
.pk-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 10px;
  margin: 0 0 10px;
  scrollbar-width: none;
}
.pk-tabs::-webkit-scrollbar {
  display: none;
}
.pk-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #8a8f98;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pk-tab:hover {
  color: #f0efeb;
  background: rgba(255, 255, 255, 0.04);
}
.pk-tab.on {
  background: #262932;
  color: #f0efeb;
}
.pk-tab .tbadge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  background: #2c365c;
  color: #93befa;
}

/* Compact Pick'ems Hero Card */
.pk-hero {
  background: #1d1f26;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: none;
}
.pk-hero-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  align-items: center;
}
.pk-hero-k {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8f98;
}
.pk-hero-k .dot-open {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: none;
  flex: none;
}
.pk-hero h2 {
  margin: 4px 0 3px;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.18;
  color: #f0efeb;
}
.pk-hero p {
  margin: 0;
  color: #8a8f98;
  font-size: 13.5px;
}
.pk-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12.5px;
  color: #8a8f98;
}
.pk-hero-meta b {
  color: #f0efeb;
}
.pk-hero-meta a {
  color: #93befa !important;
  font-weight: 600;
}
.pk-hero-meta a:hover {
  color: #f0efeb !important;
}
.pk-prog-wrap {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pk-prog-bar {
  flex: 1 1 180px;
  height: 4px;
  border-radius: 999px;
  background: #0c0e13;
  overflow: hidden;
}
.pk-prog-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #3e61f6;
  transition: width 0.22s ease, background 0.22s ease;
}
.pk-prog-fill.full {
  background: #4ade80;
}
.pk-prog-lbl {
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #f0efeb;
}

/* Polymarket Sports Matchup Card Grid */
.pk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pk-mkt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1d1f26;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: none;
  transition: border-color 0.15s, background 0.15s;
}
.pk-mkt:hover {
  border-color: rgba(255, 255, 255, 0.13);
}
.pk-mkt.has-pick {
  border-color: rgba(62, 97, 246, 0.38);
}

.pk-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  transition: opacity 0.15s;
}
.pk-row.is-dim {
  opacity: 0.48;
}
.pk-row-l {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.pk-ava,
.pk-ph {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
  background: #262932;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
  flex: none;
}
.pk-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #8a8f98;
}
.pk-rname-wrap {
  min-width: 0;
}
.pk-rname {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #f0efeb;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pk-rsub {
  display: block;
  font-size: 12px;
  color: #8a8f98;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.pk-pct {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f0efeb;
  flex: none;
}
.pk-pct.muted {
  color: #8a8f98;
  font-weight: 600;
  font-size: 13px;
}

/* Monochromatic Slate -> Cobalt Blue Outcome Buttons */
.pk-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.pk-pick-btn {
  height: 40px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: #262932;
  color: #f0efeb;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  box-shadow: none;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.pk-pick-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pk-pick-btn:not(:disabled):hover {
  background: #2f333e;
  color: #f0efeb;
}
.pk-pick-btn:disabled {
  cursor: default;
}

.pk-pick-btn.is-picked {
  background: #3e61f6;
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}
.pk-pick-btn.is-picked:not(:disabled):hover {
  background: #4f70f8;
  color: #ffffff;
}
.pk-pick-btn.is-picked.is-locked,
.pk-pick-btn.is-picked.is-locked:not(:disabled):hover {
  background: #22302a;
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.28);
  box-shadow: none;
}
.pk-pick-btn.is-dim {
  background: #16181e;
  color: #6b707c;
  border-color: rgba(255, 255, 255, 0.04);
}
.pk-pick-btn.is-dim:not(:disabled):hover {
  background: #262932;
  color: #f0efeb;
}
.pk-pick-btn.is-winner {
  border-color: rgba(74, 222, 128, 0.28);
}

/* Card Footer Metadata */
.pk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  color: #8a8f98;
}
.pk-foot-l {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pk-foot-r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.pk-foot-r a {
  color: #8a8f98;
  font-weight: 600;
}
.pk-foot-r a:hover {
  color: #f0efeb;
}
.pk-res-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
}
.pk-res-badge.hit {
  background: #22302a;
  color: #4ade80;
}
.pk-res-badge.miss {
  background: #341f23;
  color: #f87171;
}

/* Inline Event Page Pick'em Mode */
.ev-pk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 14px 16px;
  margin: 0 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #1d1f26;
}
.ev-pk-info {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #8a8f98;
}
.ev-pk-info b {
  color: #f0efeb;
}
.ev-pk-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #262932;
  color: #f0efeb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ev-pk-badge.locked {
  background: #22302a;
  color: #4ade80;
}
.ev-pk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pk-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #262932;
  color: #f0efeb;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.pk-btn-sm:hover {
  background: #2f333e;
  border-color: rgba(255, 255, 255, 0.13);
}
.pk-btn-sm.pri {
  background: #3e61f6;
  border-color: transparent;
  color: #ffffff;
}
.pk-btn-sm.pri:hover {
  background: #4f70f8;
}
.pk-btn-sm.locked {
  background: #22302a;
  border-color: rgba(74, 222, 128, 0.28);
  color: #4ade80;
}

.bout.pk-enabled .side {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #16181e;
  border-radius: 10px;
  padding: 8px 10px;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.bout.pk-enabled .side:focus {
  outline: none;
}
.bout.pk-enabled .side:focus-visible {
  outline: 2px solid #3e61f6;
  outline-offset: 2px;
}
.bout.pk-enabled .side:hover {
  background: #262932;
  border-color: rgba(255, 255, 255, 0.13);
}
.bout.pk-enabled .side.is-picked {
  background: rgba(62, 97, 246, 0.16);
  border-color: #3e61f6;
}
.bout.pk-enabled .side.is-picked.is-locked {
  background: #22302a;
  border-color: rgba(74, 222, 128, 0.28);
}
.bout.pk-enabled .side.is-dim {
  opacity: 0.48;
}
.pk-pick-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #262932;
  color: #8a8f98;
  font-size: 10.5px;
  font-weight: 700;
  vertical-align: 1px;
}
.bout.pk-enabled .side.is-picked .pk-pick-pill {
  background: #3e61f6;
  color: #ffffff;
}
.bout.pk-enabled .side.is-picked.is-locked .pk-pick-pill {
  background: #22302a;
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.28);
}
.ev-split {
  margin-top: 4px;
  font-size: 11px;
  color: #8a8f98;
}
.ev-split-bar {
  display: flex;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: #262932;
  margin: 4px auto 2px;
  max-width: 128px;
}
.ev-split-a {
  background: #3e61f6;
}
.ev-split-b {
  background: #525866;
}

/* Floating Action Dock */
.pk-dock-spacer {
  height: 76px;
}
.pk-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(940px, calc(100% - 24px));
  z-index: 52;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(29, 31, 38, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s, opacity 0.2s, bottom 0.22s ease;
}
.pk-dock.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
}
.pk-dock-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pk-dock-count {
  font-size: 14px;
  font-weight: 700;
  color: #f0efeb;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pk-dock-sub {
  font-size: 12.5px;
  color: #8a8f98;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pk-dock-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.pk-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #262932;
  color: #f0efeb;
  border-radius: 8px;
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.pk-dock-btn:hover {
  background: #2f333e;
  border-color: rgba(255, 255, 255, 0.13);
}
.pk-dock-btn.pri {
  background: #3e61f6;
  border-color: transparent;
  color: #ffffff;
}
.pk-dock-btn.pri:hover {
  background: #4f70f8;
}
.pk-dock-btn.locked {
  background: #22302a;
  border-color: rgba(74, 222, 128, 0.28);
  color: #4ade80;
}

/* Leaderboard & My Picks */
.pk-lb-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.pk-stat-box {
  background: #1d1f26;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 11px 14px;
}
.pk-stat-box span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a8f98;
}
.pk-stat-box b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-top: 2px;
  color: #f0efeb;
  font-variant-numeric: tabular-nums;
}
.pk-lb-me {
  background: rgba(62, 97, 246, 0.12);
}
.pk-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #262932;
  color: #f0efeb;
}
.pk-rank-pill.r1 {
  background: #3e61f6;
  color: #ffffff;
}
.pk-rank-pill.r2 {
  background: #2f333e;
  color: #f0efeb;
}
.pk-rank-pill.r3 {
  background: #262932;
  color: #8a8f98;
}
.pk-ver {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #22302a;
  color: #4ade80;
  font-size: 10.5px;
  font-weight: 700;
}

/* Modal */
.pk-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(12, 14, 19, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.pk-modal-bg.open {
  display: flex;
}
.pk-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #1d1f26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 22px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  color: #f0efeb;
}
.pk-modal.wide {
  max-width: 520px;
}
.pk-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #262932;
  color: #8a8f98;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pk-modal-x:hover {
  background: #2f333e;
  color: #f0efeb;
}
.pk-modal h3 {
  margin: 0 32px 4px 0;
  font-size: 19px;
  line-height: 1.2;
  color: #f0efeb;
}
.pk-modal-sub {
  margin: 0 0 16px;
  color: #8a8f98;
  font-size: 13.5px;
}
.pk-gbtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #f0efeb;
  color: #0c0e13;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.pk-gbtn:hover {
  background: #ffffff;
}
.pk-div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 12px;
  color: #8a8f98;
}
.pk-div:before,
.pk-div:after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.pk-field {
  margin-bottom: 11px;
}
.pk-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #f0efeb;
  margin-bottom: 4px;
}
.pk-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0e13;
  color: #f0efeb;
  font: inherit;
  font-size: 14px;
}
.pk-field input:focus {
  outline: none;
  border-color: #3e61f6;
}
.pk-optin {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: #8a8f98;
  cursor: pointer;
}
.pk-optin input {
  margin-top: 2px;
  accent-color: #3e61f6;
  flex: none;
}
.pk-submit {
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  border: 0;
  background: #3e61f6;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.pk-submit:hover {
  background: #4f70f8;
}
.pk-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.pk-msg {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  display: none;
}
.pk-msg.err {
  display: block;
  background: #341f23;
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #f87171;
}
.pk-msg.ok {
  display: block;
  background: #22302a;
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: #4ade80;
}
.pk-msg.warn {
  display: block;
  background: #262932;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f0efeb;
}

/* Locked Share View */
.pk-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #22302a;
  color: #4ade80;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pk-canvas-wrap {
  margin: 10px 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0e13;
  display: flex;
  justify-content: center;
}
.pk-canvas-wrap canvas {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}
.pk-share-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.pk-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #262932;
  color: #f0efeb;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.pk-share-btn:hover {
  background: #2f333e;
  color: #ffffff;
}
.pk-share-btn.pri {
  background: #3e61f6;
  border-color: transparent;
  color: #ffffff;
}
.pk-share-btn.pri:hover {
  background: #4f70f8;
}
.pk-aff-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 10px 12px;
  border-radius: 10px;
  background: #16181e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: #8a8f98;
}
.pk-aff-strip > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pk-aff-strip strong {
  color: #f0efeb;
}
.pk-aff-strip .cta-pill {
  flex: none;
  background: #3e61f6;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pk-aff-strip .cta-pill:hover {
  background: #4f70f8;
}

/* Pre-event Alert Bar */
.pk-remind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 16px;
  margin: 14px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #1d1f26;
}
.pk-remind-txt {
  font-size: 13.5px;
  color: #8a8f98;
  flex: 1 1 260px;
}
.pk-remind-txt strong {
  color: #f0efeb;
}
.pk-remind-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1 1 280px;
  justify-content: flex-end;
}
.pk-remind-form input {
  flex: 1 1 180px;
  min-width: 170px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0e13;
  color: #f0efeb;
  font: inherit;
  font-size: 13.5px;
}
.pk-remind-form input:focus {
  outline: none;
  border-color: #3e61f6;
}
.pk-remind-form button {
  padding: 8px 14px;
  border-radius: 8px;
  border: 0;
  background: #3e61f6;
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.pk-remind-form button:hover {
  background: #4f70f8;
}
.pk-remind-note {
  width: 100%;
  font-size: 11.5px;
  color: #8a8f98;
}

/* Toast */
.pk-toast {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 95;
  padding: 10px 14px;
  border-radius: 10px;
  background: #262932;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0efeb;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.pk-toast.on {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .pk-dock-sub {
    display: none;
  }
}
@media (max-width: 780px) {
  .pk-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .pk-hero,
  .ev-pk-bar,
  .pk-remind {
    padding: 12px 14px;
  }
  .pk-hero-top {
    grid-template-columns: 1fr;
  }
  .pk-lb-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pk-dock-spacer {
    height: 64px;
  }
  .pk-dock {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 32px);
    padding: 8px 10px 8px 12px;
    border-radius: 12px;
    gap: 8px;
  }
  body.pm-bnav-hidden .pk-dock {
    bottom: 10px;
  }
  .pk-dock-ev {
    display: none;
  }
  .pk-dock-count {
    font-size: 13px;
  }
  .pk-dock-btns {
    gap: 6px;
  }
  .pk-dock-btn {
    padding: 7px 11px;
    font-size: 12.5px;
  }
  .pk-share-row {
    grid-template-columns: 1fr;
  }
  .pk-modal {
    padding: 18px 16px;
  }
  .bout.pk-enabled .side.b {
    flex-direction: row;
    text-align: left;
  }
  .pk-remind-form {
    justify-content: flex-start;
  }
}
