/* =========================================================
   PTK PROFILE DESIGNER
   SAFE MODE: plugin-only styles
   Clean + dedupe + ready to replace
========================================================= */

/* =========================================================
   ROOT / BASE
========================================================= */

.ptkpd-wrap {
  --ptkpd-bg: #080808;
  --ptkpd-card: rgba(20, 20, 20, 0.92);
  --ptkpd-soft: rgba(255, 255, 255, 0.055);
  --ptkpd-border: rgba(196, 154, 61, 0.20);
  --ptkpd-border-strong: rgba(245, 208, 97, 0.55);
  --ptkpd-gold: #c49a3d;
  --ptkpd-gold-2: #f5d061;
  --ptkpd-text: #f7f1df;
  --ptkpd-muted: rgba(247, 241, 223, 0.68);

  color: var(--ptkpd-text);
  box-sizing: border-box;
}

.ptkpd-wrap *,
.ptkpd-wrap *::before,
.ptkpd-wrap *::after {
  box-sizing: border-box;
}

.ptkpd-wrap a {
  color: inherit;
  text-decoration: none;
}

.ptkpd-muted {
  color: var(--ptkpd-muted);
}

/* =========================================================
   SHELL / CONTENT WRAPS
========================================================= */

.ptkpd-empty,
.ptkpd-content-shell,
.ptkpd-app-panel,
.ptkpd-premium-content,
.ptkpd-calm-content,
.ptkpd-luxe-content {
  border: 1px solid var(--ptkpd-border);
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(9, 9, 9, 0.96));
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.ptkpd-section-block,
.ptkpd-clean-content {
  margin: 0 0 16px;
}

.ptkpd-section-block h3 {
  margin: 0 0 12px;
  color: #fff;
}

/* =========================================================
   BUTTONS
========================================================= */

.ptkpd-btn,
.ptkpd-mini-btn,
.ptkpd-wrap .ptk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  flex: 0 0 auto;

  min-height: 38px;
  padding: 8px 14px;

  border-radius: 999px;
  border: 1px solid rgba(245, 208, 97, 0.35);

  background: #111;
  color: #f5d061;

  font-weight: 700;
  text-decoration: none;
  cursor: pointer;

  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.ptkpd-btn:hover,
.ptkpd-mini-btn:hover,
.ptkpd-wrap .ptk-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 208, 97, 0.65);
  background: #181818;
}

.ptkpd-mini-btn,
.ptkpd-notification-actions .ptkpd-mini-btn {
  width: auto;
  min-width: auto;
  min-height: 34px;
  padding: 7px 12px;

  border-color: rgba(245, 208, 97, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;

  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.ptkpd-mini-btn:hover {
  border-color: rgba(245, 208, 97, 0.48);
  background: rgba(196, 154, 61, 0.18);
}

.ptkpd-mini-btn-danger {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.28);
  color: #fecaca;
}

.ptkpd-logout {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

/* =========================================================
   ALERTS / BADGES
========================================================= */

.ptkpd-alert-success {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #d1fae5;
  font-weight: 700;
}

.ptkpd-count-badge,
.ptkpd-subtabs a b {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 22px;
  height: 22px;
  padding: 0 7px;

  border-radius: 999px;
  border: 0;

  background: rgba(245, 208, 97, 0.92);
  color: #111;

  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;

  box-shadow: none;
}

.ptkpd-menu-card .ptkpd-count-badge {
  align-self: flex-start;
}

.ptkpd-side-menu .ptkpd-count-badge,
.ptkpd-luxe-tabs .ptkpd-count-badge,
.ptkpd-calm-list .ptkpd-count-badge {
  margin-left: auto;
}

.ptkpd-subtabs a.is-active b {
  background: var(--ptkpd-gold-2);
}

/* =========================================================
   CONTACT / SOCIAL
========================================================= */

.ptkpd-contact-block {
  margin: 0 0 14px;
  padding: 12px;

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.045);
}

.ptkpd-contact-title {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.ptkpd-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ptkpd-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  min-height: 34px;
  padding: 7px 10px;

  border-radius: 999px;
  border: 1px solid rgba(245, 208, 97, 0.18);

  background: rgba(0, 0, 0, 0.22);
  color: #fff;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ptkpd-contact-item .dashicons {
  color: var(--ptkpd-gold-2);
  width: 16px;
  height: 16px;
  font-size: 16px;
}

/* =========================================================
   DESIGN 1: APP PANEL
========================================================= */

.ptkpd-profile-hero {
  position: relative;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 16px;

  background: radial-gradient(circle at top, rgba(196, 154, 61, 0.18), rgba(0, 0, 0, 0.96));
  border: 1px solid var(--ptkpd-border);
}

.ptkpd-cover {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  opacity: 0.46;
  filter: blur(0px) saturate(0.9);
}

.ptkpd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.84));
}

.ptkpd-hero-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.ptkpd-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;

  border-radius: 24px;
  border: 2px solid rgba(245, 208, 97, 0.55);

  background: #111;
  object-fit: cover;
}

.ptkpd-hero-content h2,
.ptkpd-premium-header h2,
.ptkpd-appbar h2,
.ptkpd-premium-content h2,
.ptkpd-calm-header h2,
.ptkpd-luxe-top h2,
.ptkpd-luxe-content h2 {
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.ptkpd-hero-content p,
.ptkpd-premium-header p,
.ptkpd-calm-header p,
.ptkpd-luxe-top p {
  margin: 6px 0 0;
  color: var(--ptkpd-muted);
}

.ptkpd-badge-line {
  margin-top: 6px;
}

/* =========================================================
   APP MENU GRID
========================================================= */

.ptkpd-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ptkpd-menu-card {
  min-height: 112px;
  padding: 14px;

  border-radius: 18px;
  border: 1px solid var(--ptkpd-border);

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));

  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;

  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
  will-change: transform;
}

.ptkpd-menu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 208, 97, 0.55);
  background: rgba(196, 154, 61, 0.12);
}

.ptkpd-menu-card .dashicons {
  color: var(--ptkpd-gold-2);
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.ptkpd-menu-card strong {
  color: #fff;
  font-size: 14px;
}

/* =========================================================
   APP BAR
========================================================= */

.ptkpd-appbar {
  position: sticky;
  top: 0;
  z-index: 3;

  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;

  margin: -18px -18px 16px;
  padding: 12px 14px;

  background: rgba(8, 8, 8, 0.94);
  border-bottom: 1px solid var(--ptkpd-border);
  backdrop-filter: blur(12px);

  border-radius: 20px 20px 0 0;
}

.ptkpd-back {
  width: 38px;
  height: 38px;

  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  color: #fff;

  font-size: 22px;
}

.ptkpd-home {
  color: var(--ptkpd-gold-2);
  font-size: 13px;
  font-weight: 700;
}

.ptkpd-full-content {
  min-height: 55vh;
}

/* =========================================================
   DESIGN 2: PREMIUM CARDS
========================================================= */

.ptkpd-premium-header {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px;
  margin-bottom: 16px;

  border-radius: 22px;
  border: 1px solid var(--ptkpd-border);

  background: linear-gradient(135deg, rgba(196, 154, 61, 0.16), rgba(8, 8, 8, 0.96));
}

.ptkpd-premium-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}

.ptkpd-side-menu {
  position: sticky;
  top: 96px;

  display: grid;
  gap: 8px;

  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--ptkpd-border);

  background: rgba(10, 10, 10, 0.9);
}

.ptkpd-side-menu a {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;

  min-height: 48px;
  padding: 10px;

  border-radius: 14px;

  color: var(--ptkpd-muted);

  transition: background 0.14s ease, color 0.14s ease;
}

.ptkpd-side-menu a.is-active,
.ptkpd-side-menu a:hover {
  background: rgba(196, 154, 61, 0.14);
  color: #fff;
}

.ptkpd-side-menu .dashicons {
  color: var(--ptkpd-gold-2);
}

/* =========================================================
   DESIGN 3: CALM LIST
========================================================= */

.ptkpd-calm {
  max-width: 920px;
  margin: 0 auto;
}

.ptkpd-calm-header {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px;
  margin-bottom: 14px;

  border-radius: 22px;
  border: 1px solid var(--ptkpd-border);

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.ptkpd-calm-list {
  display: grid;
  gap: 8px;
}

.ptkpd-calm-list a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;

  min-height: 58px;
  padding: 12px 14px;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.055);

  transition: transform 0.14s ease, background 0.14s ease;
}

.ptkpd-calm-list a:hover {
  transform: translateX(2px);
  background: rgba(196, 154, 61, 0.12);
}

.ptkpd-calm-list .dashicons {
  color: var(--ptkpd-gold-2);
}

.ptkpd-calm-list strong {
  color: #fff;
}

.ptkpd-simple-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-bottom: 12px;
  padding: 12px 14px;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.055);
}

.ptkpd-simple-appbar a {
  color: var(--ptkpd-gold-2);
  font-weight: 800;
}

.ptkpd-simple-appbar strong {
  color: #fff;
}

/* =========================================================
   DESIGN 4: LUXE COMPACT
========================================================= */

.ptkpd-luxe-top {
  position: relative;
  overflow: hidden;

  text-align: center;

  padding: 22px 16px;
  margin-bottom: 14px;

  border-radius: 24px;
  border: 1px solid var(--ptkpd-border);

  background: #090909;
}

.ptkpd-luxe-bg {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top, rgba(245, 208, 97, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(196, 154, 61, 0.12), transparent 60%);

  pointer-events: none;
}

.ptkpd-luxe-top > *:not(.ptkpd-luxe-bg) {
  position: relative;
  z-index: 1;
}

.ptkpd-luxe-top .ptkpd-avatar {
  margin: 0 auto 10px;
}

.ptkpd-luxe-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ptkpd-luxe-tabs {
  display: flex;
  gap: 8px;

  overflow-x: auto;

  padding: 4px 0 8px;

  scrollbar-width: thin;
}

.ptkpd-luxe-tabs a {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  min-height: 40px;
  padding: 8px 12px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.055);
  color: var(--ptkpd-muted);
}

.ptkpd-luxe-tabs a.is-active,
.ptkpd-luxe-tabs a:hover {
  color: #fff;
  background: rgba(196, 154, 61, 0.16);
  border-color: rgba(245, 208, 97, 0.32);
}

.ptkpd-luxe-tabs .dashicons {
  color: var(--ptkpd-gold-2);
}

/* =========================================================
   CONTENT COMPONENTS
========================================================= */

.ptkpd-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ptkpd-stat {
  padding: 14px;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.055);
}

.ptkpd-stat span {
  display: block;
  color: var(--ptkpd-muted);
  font-size: 13px;
}

.ptkpd-stat strong {
  display: block;
  margin-top: 6px;

  font-size: 26px;
  color: var(--ptkpd-gold-2);
}

.ptkpd-list {
  display: grid;
  gap: 10px;
}

.ptkpd-list-card {
  padding: 14px;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);

  background: rgba(255, 255, 255, 0.055);
}

.ptkpd-list-card.is-unread {
  border-color: rgba(245, 208, 97, 0.48);
}

.ptkpd-list-card strong {
  color: #fff;
}

.ptkpd-list-card p {
  color: var(--ptkpd-muted);
  margin: 8px 0;
}

.ptkpd-list-card small {
  color: rgba(255, 255, 255, 0.48);
}

.ptkpd-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ptkpd-post-card,
.ptkpd-seller-card {
  display: flex;
  flex-direction: column;
  gap: 8px;

  min-height: 120px;
  padding: 12px;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);

  background: rgba(255, 255, 255, 0.055);
}

.ptkpd-post-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.ptkpd-post-card strong,
.ptkpd-seller-card strong {
  color: #fff;
}

.ptkpd-post-card span,
.ptkpd-seller-card span {
  color: var(--ptkpd-muted);
  font-size: 13px;
}

.ptkpd-seller-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.ptkpd-form {
  display: grid;
  gap: 12px;
}

.ptkpd-form label {
  display: grid;
  gap: 6px;

  color: var(--ptkpd-muted);
  font-weight: 700;
}

.ptkpd-form input,
.ptkpd-form textarea {
  width: 100%;
  padding: 11px 12px;

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);

  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* =========================================================
   SUBTABS
========================================================= */

.ptkpd-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 14px;
}

.ptkpd-subtabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.ptkpd-subtabs a.is-active {
  background: rgba(196, 154, 61, 0.18);
  border-color: rgba(245, 208, 97, 0.35);
}

/* =========================================================
   PROFILE EDIT / MEDIA
========================================================= */

.ptkpd-media-edit-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: stretch;
}

.ptkpd-media-edit-card {
  display: grid;
  gap: 10px;

  padding: 12px;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.04);
}

.ptkpd-media-preview {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 112px;

  border-radius: 14px;
  overflow: hidden;

  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.55);
}

.ptkpd-media-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ptkpd-avatar-preview {
  width: 112px;
  height: 112px;
  min-height: 112px;

  margin: 0 auto;

  border-radius: 999px;
}

.ptkpd-cover-preview {
  aspect-ratio: 16 / 7;
}

.ptkpd-profile-edit-form .ptkpd-btn,
.ptkpd-media-select {
  width: auto;
  justify-self: start;
}

.ptkpd-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================================
   NOTIFICATIONS
========================================================= */

.ptkpd-notification-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ptkpd-notification-card.is-unread {
  border-color: rgba(245, 208, 97, 0.34);
  background: rgba(245, 208, 97, 0.055);
}

.ptkpd-notification-card.is-read {
  opacity: 0.88;
}

.ptkpd-notification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ptkpd-read-state {
  display: inline-flex;
  align-items: center;

  min-height: 24px;
  padding: 3px 8px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);

  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ptkpd-notification-card.is-unread .ptkpd-read-state {
  background: rgba(245, 208, 97, 0.16);
  color: var(--ptkpd-gold-2);
}

.ptkpd-notification-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 12px;
}

.ptkpd-notification-actions form {
  margin: 0;
  display: inline-flex;
}

/* =========================================================
   IMPORTED CORE / PLUGIN CONTENT CLEANUP
========================================================= */

.ptkpd-wrap .ptk-card {
  box-shadow: none;
}

.ptkpd-clean-content .ptk-card,
.ptkpd-full-content .ptk-card,
.ptkpd-premium-content .ptk-card,
.ptkpd-luxe-content .ptk-card,
.ptkpd-calm-content .ptk-card,
.ptkpd-no-inner-card .ptk-card {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.ptkpd-clean-content > .ptk-card,
.ptkpd-full-content > .ptk-card,
.ptkpd-premium-content > .ptk-card,
.ptkpd-luxe-content > .ptk-card,
.ptkpd-calm-content > .ptk-card {
  padding: 0;
  border: 0;
  background: transparent;
}

/* =========================================================
   ANIMATION
========================================================= */

.ptkpd-anim-fade .ptkpd-app-panel,
.ptkpd-anim-fade .ptkpd-premium-content,
.ptkpd-anim-fade .ptkpd-calm-content,
.ptkpd-anim-fade .ptkpd-luxe-content {
  animation: ptkpdFade 0.16s ease both;
}

.ptkpd-anim-slide .ptkpd-app-panel,
.ptkpd-anim-slide .ptkpd-premium-content,
.ptkpd-anim-slide .ptkpd-calm-content,
.ptkpd-anim-slide .ptkpd-luxe-content {
  animation: ptkpdSlide 0.18s ease both;
}

.ptkpd-anim-fast .ptkpd-app-panel,
.ptkpd-anim-fast .ptkpd-premium-content,
.ptkpd-anim-fast .ptkpd-calm-content,
.ptkpd-anim-fast .ptkpd-luxe-content {
  animation: ptkpdFast 0.12s ease-out both;
}

@keyframes ptkpdFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ptkpdSlide {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ptkpdFast {
  from {
    opacity: 0.6;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ptkpd-is-loading {
  opacity: 0.78;
  pointer-events: auto;
}

.ptkpd-is-loading .ptkpd-app-panel,
.ptkpd-is-loading .ptkpd-premium-content,
.ptkpd-is-loading .ptkpd-calm-content,
.ptkpd-is-loading .ptkpd-luxe-content {
  opacity: 0.98;
}

/* =========================================================
   AMULET / FOLLOWING GRID SYSTEM
========================================================= */

.ptk-my-amulets-grid,
.ptk-following-grid,
.ptk-following-seller-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 1024px) {
  .ptk-my-amulets-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ptk-following-grid,
  .ptk-following-seller-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .ptk-my-amulets-grid,
  .ptk-following-grid,
  .ptk-following-seller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   COMPACT AMULET CARDS
   ใช้กับ: พระของฉัน + รายการโปรด
========================================================= */

.ptk-my-amulets-grid > * {
  display: flex;
  flex-direction: column;
}

.ptk-fav-card-wrap {
  display: flex;
  flex-direction: column;
}

.ptk-my-amulets-grid .ptk-amulet-card,
.ptk-my-amulets-grid .ptk-amulet-shop__card {
  border-radius: 14px;
  overflow: hidden;
}

.ptk-my-amulets-grid .ptk-amulet-shop__thumb-link {
  display: block;
  position: relative;
}

.ptk-my-amulets-grid .ptk-amulet-shop__image,
.ptk-my-amulets-grid .ptk-amulet-shop__thumb-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.ptk-my-amulets-grid .ptk-amulet-shop__content {
  padding: 8px 9px;
}

.ptk-my-amulets-grid .ptk-amulet-shop__title {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.28;
}

.ptk-my-amulets-grid .ptk-amulet-shop__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ptk-my-amulets-grid .ptk-amulet-shop__price {
  margin: 0 0 4px;
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--ptkpd-gold-2);
  font-weight: 700;
}

.ptk-my-amulets-grid .ptk-amulet-shop__meta {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.25;
  opacity: 0.82;
}

.ptk-my-amulets-grid .ptk-amulet-shop__actions {
  display: none;
}

.ptk-my-amulets-grid .ptk-amulet-badge,
.ptk-my-amulets-grid .ptk-amulet-shop__badge {
  font-size: 10.5px;
  padding: 3px 6px;
  border-radius: 999px;
}

/* =========================================================
   FOLLOWING SELLER CARD
========================================================= */

.ptk-following-seller-grid {
  margin-top: 10px;
}

.ptk-following-seller-card {
  display: block;
  padding: 12px;

  border-radius: 16px;
  border: 1px solid transparent;

  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;

  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ptk-following-seller-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.ptk-following-seller-card:active,
.ptk-following-seller-card:focus-visible {
  border-color: var(--ptkpd-border-strong);
}

.ptk-following-seller-card:active {
  transform: scale(0.97);
  box-shadow: none;
}

.ptk-following-seller-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: auto;
  margin-bottom: 10px;

  overflow: visible;
  border-radius: 0;
}

.ptk-following-seller-avatar img,
.ptk-following-seller-avatar .avatar,
.ptk-following-seller-avatar .ptk-avatar-fallback,
.ptk-following-seller-avatar .ptk-amulet-shop__avatar-img {
  display: block;

  width: 86px;
  height: 86px;

  max-width: 86px;
  max-height: 86px;
  min-width: 86px;
  min-height: 86px;

  border-radius: 50%;
  object-fit: cover;

  margin: 0 auto;

  transition: transform 0.2s ease, filter 0.2s ease;
}

.ptk-following-seller-card:hover .ptk-following-seller-avatar img,
.ptk-following-seller-card:hover .ptk-following-seller-avatar .avatar,
.ptk-following-seller-card:hover .ptk-following-seller-avatar .ptk-avatar-fallback {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.ptk-following-seller-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  transition: color 0.18s ease;
}

.ptk-following-seller-card:hover .ptk-following-seller-name {
  color: var(--ptkpd-gold-2);
}

.ptk-following-seller-meta {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.75;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .ptkpd-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ptkpd-premium-layout {
    grid-template-columns: 1fr;
  }

  .ptkpd-side-menu {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptkpd-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptkpd-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ptk-my-amulets-grid {
    gap: 9px;
  }

  .ptk-my-amulets-grid .ptk-amulet-shop__content {
    padding: 7px 8px;
  }

  .ptk-my-amulets-grid .ptk-amulet-shop__title {
    font-size: 12.5px;
  }

  .ptk-my-amulets-grid .ptk-amulet-shop__price,
  .ptk-my-amulets-grid .ptk-amulet-shop__meta {
    font-size: 11px;
  }

  .ptkpd-media-edit-grid {
    grid-template-columns: 1fr;
  }

  .ptkpd-media-edit-card {
    padding: 10px;
  }

  .ptkpd-cover-preview {
    aspect-ratio: 16 / 8;
  }

  .ptkpd-notification-actions {
    gap: 8px;
  }

  .ptkpd-mini-btn,
  .ptkpd-notification-actions .ptkpd-mini-btn,
  .ptkpd-profile-edit-form .ptkpd-btn {
    width: auto;
    min-height: 32px;
    padding: 7px 11px;
  }

  .ptkpd-contact-grid {
    gap: 7px;
  }

  .ptkpd-contact-item {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .ptkpd-profile-hero {
    min-height: 190px;
    border-radius: 20px;
  }

  .ptkpd-hero-content {
    align-items: flex-end;
    gap: 10px;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .ptkpd-avatar {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .ptkpd-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ptkpd-menu-card {
    min-height: 104px;
    padding: 12px;
  }

  .ptkpd-side-menu {
    grid-template-columns: 1fr;
  }

  .ptkpd-app-panel,
  .ptkpd-content-shell,
  .ptkpd-premium-content,
  .ptkpd-calm-content,
  .ptkpd-luxe-content {
    border-radius: 18px;
    padding: 14px;
  }

  .ptkpd-appbar {
    margin: -14px -14px 14px;
    border-radius: 18px 18px 0 0;
  }

  .ptkpd-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   FOLLOWING SELLER BORDER ON HOVER / TOUCH
========================================================= */

.ptk-following-seller-card:hover,
.ptk-following-seller-card:focus-visible {
  border-color: rgba(245, 208, 97, 0.55);
}

.ptk-following-seller-card:active {
  border-color: #f5d061;
}

/* =========================================================
   CONTACT / SOCIAL HOVER EFFECT
========================================================= */

.ptkpd-contact-item {
  transition: 
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

/* hover desktop */
.ptkpd-contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 208, 97, 0.45);
  background: rgba(196, 154, 61, 0.14);
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
}

/* icon glow */
.ptkpd-contact-item .dashicons {
  transition: transform 0.16s ease, color 0.16s ease;
}

.ptkpd-contact-item:hover .dashicons {
  transform: scale(1.1);
  color: #f5d061;
}

/* mobile tap */
.ptkpd-contact-item:active {
  transform: scale(0.96);
  border-color: #f5d061;
  box-shadow: none;
}

.ptkpd-contact-item:hover {
  box-shadow:
    0 6px 16px rgba(0,0,0,0.28),
    0 0 0 1px rgba(245,208,97,0.25);
}

/* =========================================================
   EQUAL HEIGHT AMULET CARDS
   ใช้กับ: พระของฉัน + รายการโปรด
========================================================= */

.ptk-my-amulets-grid {
  align-items: stretch;
}

.ptk-my-amulets-grid > * {
  height: 100%;
}

.ptk-my-amulets-grid .ptk-amulet-shop__card,
.ptk-my-amulets-grid .ptk-amulet-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ptk-my-amulets-grid .ptk-amulet-shop__thumb-link {
  flex: 0 0 auto;
}

.ptk-my-amulets-grid .ptk-amulet-shop__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 88px;
}

.ptk-my-amulets-grid .ptk-amulet-shop__title {
  min-height: 34px;
}

.ptk-my-amulets-grid .ptk-amulet-shop__price {
  min-height: 18px;
}

.ptk-my-amulets-grid .ptk-amulet-shop__meta {
  min-height: 16px;
}

/* =========================================================
   PTK REALTIME BADGE ANIMATION
   - กระดิ่ง
   - แชทในแท็บโปรไฟล์
========================================================= */

.ptk-bell-count,
.ptk-noti-count,
.ptk-profile-tabs a.ptk-profile-tab .ptk-chat-badge {
  animation: ptkRealtimeBadgePulse 1.35s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes ptkRealtimeBadgePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.65);
  }

  50% {
    transform: scale(1.13);
    box-shadow: 0 0 0 7px rgba(255, 45, 45, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0);
  }
}

/* =========================================================
   CHAT MENU BADGE ONLY
========================================================= */

.ptkpd-menu-card[href*="my_chats"] .ptkpd-count-badge,
.ptkpd-menu-card[href*="my-chats"] .ptkpd-count-badge {
    animation: ptkRealtimeBadgePulse 1.35s ease-in-out infinite;
    will-change: transform, box-shadow;
}

@keyframes ptkRealtimeBadgePulse {

    0% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(255, 45, 45, 0.65);
    }

    50% {
        transform: scale(1.13);
        box-shadow:
            0 0 0 7px rgba(255, 45, 45, 0);
    }

    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(255, 45, 45, 0);
    }
}

/* =========================================================
   PTK PROFILE POSTS / TOPICS
   SAFE MODE
   - Subtabs
   - Media Object Layout
   - Bulk Delete Toolbar
   - Empty State
   - Mobile Responsive
========================================================= */

#ptk-profile-designer-app .ptkpd-content-subtabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:10px 0 14px;
  padding:6px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  width:max-content;
  max-width:100%;
  box-shadow:0 10px 22px rgba(0,0,0,.10);
}

#ptk-profile-designer-app .ptkpd-content-subtabs a,
#ptk-profile-designer-app .ptkpd-content-subtabs a:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:9px 14px;
  border-radius:999px;
  text-decoration:none!important;
  color:#f7df9b!important;
  font-size:13px;
  font-weight:900;
  line-height:1;
  transition:.18s ease;
  border:1px solid transparent;
}

#ptk-profile-designer-app .ptkpd-content-subtabs a b{
  min-width:22px;
  height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(212,175,55,.16);
  font-size:12px;
  color:#fff;
  font-weight:900;
}

#ptk-profile-designer-app .ptkpd-content-subtabs a:hover,
#ptk-profile-designer-app .ptkpd-content-subtabs a:focus{
  background:rgba(212,175,55,.12);
  border-color:rgba(212,175,55,.22);
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.13);
  color:#fff6d6!important;
  outline:none;
}

#ptk-profile-designer-app .ptkpd-content-subtabs a:active{
  transform:translateY(0);
  background:rgba(212,175,55,.18);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.14);
}

#ptk-profile-designer-app .ptkpd-content-subtabs a.is-active{
  background:linear-gradient(180deg,rgba(212,175,55,.30),rgba(212,175,55,.13));
  border-color:rgba(212,175,55,.30);
  box-shadow:0 10px 20px rgba(0,0,0,.15);
  color:#fff6d6!important;
}

#ptk-profile-designer-app .ptkpd-content-subtabs a.is-active b{
  background:#d4af37;
  color:#1b1200;
}

#ptk-profile-designer-app .ptkpd-posts-topics-empty{
  margin:12px 0 0;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  font-weight:800;
  opacity:.9;
}

#ptk-profile-designer-app .ptkpd-forum-delete-notice{
  margin:0 0 14px;
  padding:10px 12px;
  border-radius:14px;
  font-weight:800;
  font-size:14px;
}

#ptk-profile-designer-app .ptkpd-forum-delete-notice.is-success{
  background:rgba(28,170,100,.16);
  border:1px solid rgba(28,170,100,.28);
  color:#eafff3;
}

#ptk-profile-designer-app .ptkpd-forum-delete-notice.is-error{
  background:rgba(220,45,45,.18);
  border:1px solid rgba(220,45,45,.28);
  color:#fff0f0;
}

#ptk-profile-designer-app .ptkpd-forum-bulk-card{
  margin-top:12px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 26px rgba(0,0,0,.12);
}

#ptk-profile-designer-app .ptkpd-forum-bulk-toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

#ptk-profile-designer-app .ptkpd-forum-check-all{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-weight:900;
  cursor:pointer;
}

#ptk-profile-designer-app .ptkpd-forum-selected-count{
  font-size:13px;
  opacity:.78;
}

#ptk-profile-designer-app .ptkpd-forum-bulk-delete-btn{
  margin-left:auto;
  border:1px solid rgba(210,55,55,.38);
  border-radius:999px;
  padding:9px 14px;
  background:rgba(210,55,55,.14);
  color:#fff;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

#ptk-profile-designer-app .ptkpd-forum-bulk-delete-btn:not(:disabled):hover{
  transform:translateY(-2px);
  background:rgba(210,55,55,.22);
  box-shadow:0 10px 22px rgba(0,0,0,.20);
}

#ptk-profile-designer-app .ptkpd-forum-bulk-delete-btn:not(:disabled):active{
  transform:translateY(0);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.18);
}

#ptk-profile-designer-app .ptkpd-forum-bulk-delete-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

#ptk-profile-designer-app .ptkpd-forum-topic-list{
  display:grid;
  gap:10px;
}

#ptk-profile-designer-app .ptkpd-forum-topic-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  transition:.18s ease;
}

#ptk-profile-designer-app .ptkpd-forum-topic-row:hover{
  background:rgba(255,255,255,.075);
  border-color:rgba(212,175,55,.18);
}

#ptk-profile-designer-app .ptkpd-forum-topic-thumb{
  width:64px;
  height:64px;
  flex:0 0 64px;
  border-radius:15px;
  overflow:hidden;
  background:rgba(212,175,55,.10);
  border:1px solid rgba(212,175,55,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
  color:#f7df9b!important;
  font-size:22px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

#ptk-profile-designer-app .ptkpd-forum-topic-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

#ptk-profile-designer-app .ptkpd-forum-topic-thumb.is-empty{
  background:rgba(255,255,255,.055);
  color:#d4af37!important;
  box-shadow:none;
}

#ptk-profile-designer-app .ptkpd-forum-topic-main{
  flex:1;
  min-width:0;
  text-decoration:none;
  color:inherit!important;
  display:grid;
  gap:5px;
}

#ptk-profile-designer-app .ptkpd-forum-topic-main strong{
  font-size:15px;
  font-weight:900;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

#ptk-profile-designer-app .ptkpd-forum-topic-main span{
  font-size:12px;
  opacity:.72;
}

#ptk-profile-designer-app .ptkpd-forum-topic-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

#ptk-profile-designer-app .ptkpd-forum-topic-check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid rgba(212,175,55,.28);
  border-radius:999px;
  padding:7px 10px;
  background:rgba(212,175,55,.07);
  font-size:12px;
  font-weight:900;
  color:#f7df9b;
  cursor:pointer;
  transition:.18s ease;
}

#ptk-profile-designer-app .ptkpd-forum-topic-check:hover{
  background:rgba(212,175,55,.13);
  transform:translateY(-1px);
}

#ptk-profile-designer-app .ptkpd-forum-topic-check input,
#ptk-profile-designer-app .ptkpd-forum-check-all input{
  width:18px;
  height:18px;
  accent-color:#d4af37;
}

#ptk-profile-designer-app .ptkpd-forum-topic-view{
  border:1px solid rgba(212,175,55,.35);
  border-radius:999px;
  padding:7px 11px;
  text-decoration:none;
  color:#f7df9b!important;
  font-size:13px;
  font-weight:900;
  transition:.18s ease;
}

#ptk-profile-designer-app .ptkpd-forum-topic-view:hover{
  background:rgba(212,175,55,.12);
  transform:translateY(-1px);
}

@media(max-width:640px){
  #ptk-profile-designer-app .ptkpd-content-subtabs{
    width:100%;
    border-radius:18px;
    padding:6px;
  }

  #ptk-profile-designer-app .ptkpd-content-subtabs a{
    flex:1;
    justify-content:center;
    padding:10px 12px;
  }

  #ptk-profile-designer-app .ptkpd-forum-bulk-delete-btn{
    width:100%;
    margin-left:0;
  }

  #ptk-profile-designer-app .ptkpd-forum-topic-row{
    align-items:flex-start;
    gap:10px;
    padding:10px;
  }

  #ptk-profile-designer-app .ptkpd-forum-topic-thumb{
    width:58px;
    height:58px;
    flex-basis:58px;
    border-radius:13px;
  }

  #ptk-profile-designer-app .ptkpd-forum-topic-actions{
    align-items:flex-end;
    flex-direction:column;
  }

  #ptk-profile-designer-app .ptkpd-forum-topic-view{
    display:none;
  }

  #ptk-profile-designer-app .ptkpd-forum-topic-check{
    padding:7px 9px;
  }

  #ptk-profile-designer-app .ptkpd-forum-topic-check span{
    display:none;
  }
}

/* =========================================================
   PTK PROFILE FAVORITES MEDIA LIST
   SAFE MODE - NO DOUBLE FRAME
   ใช้กับแท็บ รายการโปรด > กระทู้ / บทความ
   หมายเหตุ: ต่อท้ายไฟล์ CSS ของ Profile Designer ได้เลย
========================================================= */

#ptk-profile-designer-app .ptkpd-favorites-media-list{
  margin-top:12px;
}

#ptk-profile-designer-app .ptkpd-favorites-media-list .ptkpd-forum-topic-row{
  margin:0;
}

#ptk-profile-designer-app .ptkpd-favorites-media-list + .ptkpd-favorites-media-list{
  margin-top:10px;
}


/* =========================================================
   PTK PROFILE FAVORITES MEDIA LIST
   SAFE MODE - NO DOUBLE FRAME
   ใช้กับแท็บ รายการโปรด > กระทู้ / บทความ
   หมายเหตุ: ต่อท้ายไฟล์ CSS ของ Profile Designer ได้เลย
========================================================= */

#ptk-profile-designer-app .ptkpd-favorites-media-list{
  margin-top:12px;
}

#ptk-profile-designer-app .ptkpd-favorites-media-list .ptkpd-forum-topic-row{
  margin:0;
}

#ptk-profile-designer-app .ptkpd-favorites-media-list + .ptkpd-favorites-media-list{
  margin-top:10px;
}


/* =========================================================
   PTK PROFILE FAVORITES REMOVE BUTTON
   SAFE MODE
   ใช้ปุ่มเล็กสำหรับเลิกบันทึกในหน้า รายการโปรด
========================================================= */

#ptk-profile-designer-app .ptkpd-favorite-remove-notice{
  margin:10px 0 12px;
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
  font-weight:900;
}

#ptk-profile-designer-app .ptkpd-favorite-remove-notice.is-success{
  background:rgba(28,170,100,.16);
  border:1px solid rgba(28,170,100,.28);
  color:#eafff3;
}

#ptk-profile-designer-app .ptkpd-favorite-remove-notice.is-error{
  background:rgba(220,45,45,.18);
  border:1px solid rgba(220,45,45,.28);
  color:#fff0f0;
}

#ptk-profile-designer-app .ptkpd-favorite-actions{
  gap:8px;
}

#ptk-profile-designer-app .ptkpd-favorite-remove-btn,
#ptk-profile-designer-app .ptkpd-favorite-remove-btn:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(210,55,55,.36);
  background:rgba(210,55,55,.10);
  color:#ffdede!important;
  font-size:12px;
  font-weight:900;
  line-height:1;
  text-decoration:none!important;
  white-space:nowrap;
  transition:.18s ease;
}

#ptk-profile-designer-app .ptkpd-favorite-remove-btn:hover,
#ptk-profile-designer-app .ptkpd-favorite-remove-btn:focus{
  background:rgba(210,55,55,.18);
  border-color:rgba(210,55,55,.48);
  color:#fff!important;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.16);
  outline:none;
}

#ptk-profile-designer-app .ptkpd-favorite-remove-btn:active{
  transform:translateY(0);
  background:rgba(210,55,55,.22);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.18);
}

#ptk-profile-designer-app .ptkpd-favorite-card-actions{
  display:flex;
  justify-content:center;
  margin-top:8px;
}

@media(max-width:640px){
  #ptk-profile-designer-app .ptkpd-favorite-actions{
    align-items:flex-end;
    flex-direction:column;
  }

  #ptk-profile-designer-app .ptkpd-favorite-remove-btn{
    min-height:30px;
    padding:7px 10px;
    font-size:11px;
  }
}


/* =========================================================
   PTK SHOP WARRANTY POLICY
   SAFE MODE:
   - กล่องตั้งค่ากฎการรับประกันในโปรไฟล์
   - ปุ่มและ Popup การรับประกันในหน้าร้านพระเครื่อง
   - วางต่อท้ายไฟล์ CSS เดิมได้ทันที
========================================================= */

#ptk-profile-designer-app .ptkpd-shop-warranty-card{
    margin:18px 0 0;
    padding:16px;
    border-radius:18px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 10px 26px rgba(0,0,0,.10);
}

#ptk-profile-designer-app .ptkpd-shop-warranty-card h3{
    margin:0 0 6px;
    font-size:18px;
    font-weight:900;
}

#ptk-profile-designer-app .ptkpd-shop-warranty-desc,
#ptk-profile-designer-app .ptkpd-shop-warranty-note{
    margin:0 0 12px;
    font-size:13px;
    opacity:.78;
    line-height:1.7;
}

#ptk-profile-designer-app .ptkpd-shop-warranty-form label{
    display:block;
    margin:0 0 8px;
    font-size:13px;
    font-weight:900;
}

#ptk-profile-designer-app .ptkpd-shop-warranty-form textarea{
    width:100%;
    min-height:170px;
    padding:12px 14px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(0,0,0,.22);
    color:inherit;
    line-height:1.7;
    resize:vertical;
    box-sizing:border-box;
}

#ptk-profile-designer-app .ptkpd-shop-warranty-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:10px;
}

#ptk-profile-designer-app .ptkpd-shop-warranty-save{
    border:0;
    border-radius:999px;
    padding:9px 14px;
    font-weight:900;
    cursor:pointer;
    background:#d4af37;
    color:#111;
}

#ptk-profile-designer-app .ptkpd-shop-warranty-message{
    margin:0 0 10px;
    padding:8px 10px;
    border-radius:12px;
    font-size:13px;
    font-weight:700;
    background:rgba(255,255,255,.09);
}

#ptk-profile-designer-app .ptkpd-shop-warranty-message.is-success{
    background:rgba(32,180,110,.18);
}

#ptk-profile-designer-app .ptkpd-shop-warranty-message.is-error{
    background:rgba(220,45,45,.20);
}


/* =========================================================
   PTK MODERATION OWNER HOLD NOTICE
   SAFE MODE
   ใช้กับป้ายพักรายการในหน้าโปรไฟล์เจ้าของพระ
========================================================= */

#ptk-profile-designer-app .ptk-moderation-owner-hold-notice{
    margin:14px 0 0;
    padding:14px 16px;
    border-radius:14px;
    border:1px solid rgba(255,170,0,.30);
    background:linear-gradient(180deg,#3b270d 0%,#24170a 100%);
    color:#f7ead2;
    font-size:14px;
    line-height:1.7;
}

#ptk-profile-designer-app .ptk-moderation-owner-hold-notice strong{
    display:block;
    margin-bottom:8px;
    color:#ffd36b;
    font-size:15px;
    font-weight:700;
}

#ptk-profile-designer-app .ptk-moderation-owner-hold-notice span{
    display:block;
    margin-top:4px;
    color:#fff3d4;
}

#ptk-profile-designer-app .ptk-moderation-owner-hold-notice em{
    display:block;
    margin-top:6px;
    font-style:normal;
    color:#c8b68a;
    font-size:13px;
}

#ptk-profile-designer-app .ptk-moderation-owner-hold-notice.is-profile-card{
    margin-top:12px;
}

#ptk-profile-designer-app .ptk-moderation-owner-hold-notice.is-single{
    margin:18px 0;
}