/* =========================================================
   PTK Auction Core CSS - CLEANED SAFE MODE
   Source: user pasted CSS file
   Cleanup: arranged sections, removed repeated override blocks,
   and merged conflicting duplicate rules without deleting features.
========================================================= */
/* PTK Auction Core v1.2.1 */
.ptk-auction-notice,.ptk-auction-login-box,.ptk-auction-empty{
  margin:14px 0;
  padding:14px 16px;
  border:1px solid rgba(196,154,61,.25);
  border-radius:16px;
  background:rgba(255,255,255,.04);
  color:#f5e8c7
}

.ptk-auction-form,.ptk-auction-bid-form{
  display:grid;
  gap:14px;
  margin:18px 0;
  padding:18px;
  border:1px solid rgba(196,154,61,.22);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018))
}

.ptk-auction-field{
  display:grid;
  gap:8px
}

.ptk-auction-field label{
  font-weight:800;
  color:#f1e2b8
}

.ptk-auction-field input,.ptk-auction-field textarea,.ptk-auction-field select,.ptk-auction-bid-form input,.ptk-auction-bid-form textarea,.ptk-auction-report textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(196,154,61,.28);
  border-radius:14px;
  padding:12px 14px;
  background:rgba(0,0,0,.22);
  color:#fff;
  outline:none
}

.ptk-auction-field input:focus,.ptk-auction-field textarea:focus,.ptk-auction-field select:focus,.ptk-auction-bid-form input:focus,.ptk-auction-bid-form textarea:focus{
  border-color:rgba(245,208,97,.72);
  box-shadow:0 0 0 3px rgba(245,208,97,.12)
}

.ptk-auction-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:end
}

.ptk-auction-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  padding:11px 16px;
  background:#c49a3d;
  color:#17110a!important;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  transition:.18s ease
}

.ptk-auction-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05)
}

.ptk-auction-btn.is-danger{
  background:#d94c4c;
  color:#fff!important
}

.ptk-auction-btn.is-muted{
  background:rgba(255,255,255,.1);
  color:#f5e8c7!important;
  border:1px solid rgba(255,255,255,.15)
}

.ptk-auction-tabs-wrap{
  display:block;
  margin:18px 0
}

.ptk-auction-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 16px;
  padding:8px;
  border:1px solid rgba(196,154,61,.18);
  border-radius:20px;
  background:rgba(255,255,255,.035)
}

.ptk-auction-tab{
  appearance:none;
  border:1px solid rgba(196,154,61,.16);
  border-radius:999px;
  padding:10px 15px;
  background:rgba(0,0,0,.18);
  color:#f5e8c7;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease
}

.ptk-auction-tab:hover{
  border-color:rgba(245,208,97,.45);
  transform:translateY(-1px)
}

.ptk-auction-tab.is-active{
  background:#c49a3d;
  color:#17110a;
  border-color:#c49a3d;
  box-shadow:0 8px 18px rgba(196,154,61,.18)
}

.ptk-auction-panel{
  display:none
}

.ptk-auction-panel.is-active{
  display:block;
  animation:ptkAuctionFade .18s ease both
}

@keyframes ptkAuctionFade{
  from{
    opacity:0;
    transform:translateY(6px)
  }

to{
    opacity:1;
    transform:none
  }

}

.ptk-auction-member-box{
  display:grid;
  gap:18px;
  padding:18px;
  border:1px solid rgba(196,154,61,.2);
  border-radius:22px;
  background:rgba(255,255,255,.03)
}

.ptk-auction-member-box h3{
  margin:0;
  color:#f1e2b8
}

.ptk-auction-member-box p{
  margin:-10px 0 0;
  color:#d8caa4
}

.ptk-auction-member-section{
  display:grid;
  gap:10px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08)
}

.ptk-auction-member-section h4{
  margin:0;
  color:#f5d061;
  font-size:18px
}

.ptk-auction-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin:18px 0
}

.ptk-auction-card{
  overflow:hidden;
  border:1px solid rgba(196,154,61,.2);
  border-radius:20px;
  background:rgba(255,255,255,.04);
  box-shadow:0 12px 28px rgba(0,0,0,.14)
}

.ptk-auction-thumb{
  position:relative;
  display:block;
  aspect-ratio:4/3;
  background:rgba(0,0,0,.18);
  overflow:hidden
}

.ptk-auction-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.25s ease
}

.ptk-auction-card:hover .ptk-auction-thumb img{
  transform:scale(1.035)
}

.ptk-auction-noimage{
  display:flex;
  height:100%;
  align-items:center;
  justify-content:center;
  color:#d8c189
}

.ptk-auction-badge{
  position:absolute;
  top:10px;
  left:10px;
  border-radius:999px;
  padding:6px 10px;
  font-size:13px;
  font-weight:900;
  color:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.2)
}

.ptk-auction-badge.is-available{
  background:#1f9d55
}

.ptk-auction-badge.is-sold{
  background:#d93030
}

.ptk-auction-card-body{
  padding:14px
}

.ptk-auction-card-body h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35
}

.ptk-auction-card-body h3 a{
  color:#f4e4bd;
  text-decoration:none
}

.ptk-auction-meta{
  font-size:14px;
  color:#d8caa4;
  margin-top:5px
}

.ptk-auction-meta strong{
  color:#f5d061
}

.ptk-auction-card-actions{
  margin-top:10px
}

.ptk-auction-fav-form{
  margin:0
}

.ptk-auction-fav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:36px;
  border:1px solid rgba(196,154,61,.22);
  border-radius:999px;
  padding:8px 12px;
  background:rgba(255,255,255,.065);
  color:#f5e8c7!important;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  transition:.18s ease
}

.ptk-auction-fav-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(245,208,97,.55)
}

.ptk-auction-fav-btn.is-active{
  background:rgba(217,76,76,.16);
  border-color:rgba(217,76,76,.4);
  color:#ffb1b1!important
}

.ptk-auction-single{
  display:grid;
  gap:18px
}

.ptk-auction-single-head{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin:10px 0
}

.ptk-auction-single-head .ptk-auction-badge{
  position:static
}

.ptk-auction-price-pill{
  display:inline-flex;
  border:1px solid rgba(196,154,61,.24);
  border-radius:999px;
  padding:8px 12px;
  background:rgba(255,255,255,.05);
  color:#f5d061;
  font-weight:900
}

.ptk-auction-owner-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:12px;
  border:1px dashed rgba(196,154,61,.3);
  border-radius:18px
}

.ptk-auction-bids{
  padding:18px;
  border:1px solid rgba(196,154,61,.22);
  border-radius:20px;
  background:rgba(255,255,255,.035)
}

.ptk-auction-bids h3{
  margin-top:0;
  color:#f1e2b8
}

.ptk-auction-bid-list{
  display:grid;
  gap:10px;
  margin-top:14px
}

.ptk-auction-bid-item{
  padding:12px;
  border-radius:16px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08)
}

.ptk-auction-bid-item strong{
  color:#f5d061;
  font-size:18px
}

.ptk-auction-bid-item span{
  display:block;
  color:#d5c7a5;
  font-size:13px;
  margin-top:3px
}

.ptk-auction-bid-item p{
  margin:8px 0 0;
  color:#eee
}

.ptk-auction-report{
  padding:14px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  background:rgba(255,255,255,.025)
}

.ptk-auction-report summary{
  cursor:pointer;
  color:#f1e2b8;
  font-weight:800
}

.ptk-auction-report form{
  display:grid;
  gap:10px;
  margin-top:12px
}

@media(max-width:640px){
  .ptk-auction-grid-2{
    grid-template-columns:1fr
  }

.ptk-auction-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px
  }

.ptk-auction-tab{
    width:100%;
    padding:10px 8px
  }

.ptk-auction-tab:last-child{
    grid-column:1/-1
  }

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

.ptk-auction-card-body{
    padding:10px
  }

.ptk-auction-card-body h3{
    font-size:15px
  }

.ptk-auction-meta{
    font-size:12px
  }

.ptk-auction-btn{
    width:100%
  }

.ptk-auction-owner-actions form{
    width:100%
  }

.ptk-auction-fav-btn{
    width:100%
  }

}

@media(max-width:390px){
  .ptk-auction-list{
    grid-template-columns:1fr
  }

}

/* =========================================================
   PTK Auction Core v1.2.1 - Professional Single Auction UI
   SAFE MODE: additive styles only, keeps v1.1.0 classes working
========================================================= */
.ptk-auction-single-pro{

    margin:20px auto;

}

.ptk-auction-hero{

    display:grid;

    grid-template-columns:minmax(0,1.02fr) minmax(320px,.98fr);

    gap:22px;

    padding:18px;

    border:1px solid rgba(196,154,61,.22);

    border-radius:28px;

    background:
      radial-gradient(circle at 20% 0%,rgba(245,208,97,.14),transparent 32%),
      linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.022));

    box-shadow:0 18px 45px rgba(0,0,0,.20);

}

.ptk-auction-hero-media{

    /*! position:relative; */
    /*! overflow:hidden; */
    /*! min-height:340px; */
    /*! border-radius:24px; */
    /*! border:1px solid rgba(255,255,255,.10); */
    /*! background:rgba(0,0,0,.22); */

}

.ptk-auction-hero-media img{

    width:100%;

    height:100%;

    min-height:340px;

    display:block;

    object-fit:cover;

}


.ptk-auction-hero-media .ptk-auction-badge{

    z-index:2;

    top:14px;

    left:14px;

    padding:8px 13px;

}

.ptk-auction-hero-info{

    display:flex;

    flex-direction:column;

    justify-content:center;

    gap:14px;

    padding:8px 4px;

}

.ptk-auction-kicker{

    width:max-content;

    max-width:100%;

    padding:6px 10px;

    border:1px solid rgba(245,208,97,.28);

    border-radius:999px;

    color:#f5d061;

    background:rgba(245,208,97,.08);

    font-size:12px;

    font-weight:900;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.ptk-auction-title{

    margin:0;

    color:#fff2cc;

    font-size:clamp(26px,3.2vw,42px);

    line-height:1.16;

    font-weight:950;

    letter-spacing:-.02em;

}

.ptk-auction-price-main{

    display:grid;

    gap:3px;

    padding:16px 18px;

    border:1px solid rgba(196,154,61,.25);

    border-radius:22px;

    background:linear-gradient(135deg,rgba(196,154,61,.18),rgba(255,255,255,.045));

}

.ptk-auction-price-main span,
.ptk-auction-info-grid span,
.ptk-auction-section-head span,
.ptk-auction-bid-form-head span{

    color:#d8caa4;

    font-size:13px;

    font-weight:800;

}

.ptk-auction-price-main strong{

    color:#f5d061;

    font-size:32px;

    line-height:1.1;

    font-weight:950;

}

.ptk-auction-info-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:10px;

}

.ptk-auction-info-grid>div{

    display:grid;

    gap:4px;

    min-width:0;

    padding:12px;

    border:1px solid rgba(255,255,255,.09);

    border-radius:18px;

    background:rgba(0,0,0,.18);

}

.ptk-auction-info-grid strong{

    color:#f5e8c7;

    font-weight:900;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

}

.ptk-auction-term-row{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

}

.ptk-auction-term-row span{

    display:inline-flex;

    padding:7px 10px;

    border-radius:999px;

    color:#f3dfab;

    border:1px solid rgba(196,154,61,.22);

    background:rgba(0,0,0,.16);

    font-size:13px;

    font-weight:850;

}

.ptk-auction-hero-actions{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    align-items:center;

    margin-top:2px;

}

.ptk-auction-detail-card{

    padding:20px;

    border:1px solid rgba(196,154,61,.18);

    border-radius:24px;

    background:rgba(255,255,255,.035);

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.ptk-auction-detail-card h2{

    margin:0 0 12px;

    color:#f1e2b8;

    font-size:22px;

}

.ptk-auction-content{

    color:#f6efd9;

    line-height:1.8;

}

.ptk-auction-content p:last-child{
  margin-bottom:0
}

.ptk-auction-section-head{

    display:flex;

    justify-content:space-between;

    gap:12px;

    align-items:center;

    margin-bottom:12px;

}

.ptk-auction-section-head h3{

    margin:2px 0 0!important;

    color:#f1e2b8;

    font-size:24px;

}

.ptk-auction-section-head>strong{

    display:inline-flex;

    padding:8px 12px;

    border-radius:999px;

    color:#f5d061;

    background:rgba(245,208,97,.08);

    border:1px solid rgba(245,208,97,.20);

}

.ptk-auction-bid-pro{

    border-radius:24px;

    box-shadow:0 14px 34px rgba(0,0,0,.14);

}

.ptk-auction-bid-form{

    border-radius:22px;

    background:linear-gradient(135deg,rgba(196,154,61,.14),rgba(255,255,255,.035));

}

.ptk-auction-bid-form-head{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:12px;

}

.ptk-auction-bid-form-head>div{

    display:grid;

    gap:3px;

}

.ptk-auction-bid-form-head strong{

    color:#f5d061;

    font-size:20px;

}

.ptk-auction-login-cta{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:14px;

    padding:18px;

    border-style:solid;

    background:linear-gradient(135deg,rgba(245,208,97,.12),rgba(255,255,255,.035));

}

.ptk-auction-login-cta div{

    display:grid;

    gap:4px;

}

.ptk-auction-login-cta strong{

    color:#f5d061;

    font-size:20px;

}

.ptk-auction-login-cta span{

    color:#e8d9b5;

}

.ptk-auction-owner-actions{

    align-items:center;

    background:rgba(255,255,255,.025);

}

.ptk-auction-owner-actions>strong{

    color:#f5d061;

    margin-right:auto;

}

.ptk-auction-bid-item{

    position:relative;

    padding-left:16px;

}

.ptk-auction-bid-item:before{

    content:"";

    position:absolute;

    left:0;

    top:14px;

    bottom:14px;

    width:3px;

    border-radius:99px;

    background:#c49a3d;

}

@media(max-width:820px){

    .ptk-auction-hero{
    grid-template-columns:1fr;
    padding:14px;
    border-radius:24px
  }

  .ptk-auction-hero-media,.ptk-auction-hero-media img{
    min-height:280px
  }

  .ptk-auction-hero-info{
    padding:2px
  }

}

@media(max-width:640px){

    .ptk-auction-single-pro{
    margin:12px auto
  }

  .ptk-auction-info-grid{
    grid-template-columns:1fr 1fr;
    gap:8px
  }

  .ptk-auction-price-main strong{
    font-size:26px
  }

  .ptk-auction-hero-actions,.ptk-auction-login-cta,.ptk-auction-bid-form-head{
    display:grid;
    grid-template-columns:1fr
  }

  .ptk-auction-hero-actions .ptk-auction-fav-form{
    width:100%
  }

  .ptk-auction-section-head{
    align-items:flex-start
  }

}

@media(max-width:390px){

    .ptk-auction-info-grid{
    grid-template-columns:1fr
  }

  .ptk-auction-hero-media,.ptk-auction-hero-media img{
    min-height:230px
  }

}

/* =========================================================
   PTK Auction Core v1.2.1 - Single Top Actions
   SAFE MODE: only adds navigation and hides duplicated content images
========================================================= */
.ptk-auction-top-actions{

    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    justify-content:flex-start;
    padding:0px;
    border:0px solid rgba(196,154,61,.18);
    box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.ptk-auction-top-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:42px;

    padding:10px 16px;

    border-radius:999px;

    border:1px solid rgba(196,154,61,.26);

    background:rgba(0,0,0,.18);

    color:#f5e8c7!important;

    font-weight:950;

    text-decoration:none!important;

    transition:.18s ease;

}

.ptk-auction-top-btn:hover{

    transform:translateY(-1px);

    border-color:rgba(245,208,97,.58);

    box-shadow:0 10px 20px rgba(0,0,0,.14);

}

.ptk-auction-top-btn.is-primary{

    background:#c49a3d;

    border-color:#c49a3d;

    color:#17110a!important;

}

.ptk-auction-content>.wp-post-image:first-child,
.ptk-auction-content>figure:first-child:has(.wp-post-image){

    display:none!important;

}

@media(max-width:640px){

    .ptk-auction-top-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:0px
  }

  .ptk-auction-top-btn{
    width:100%;
    padding:10px 8px
  }

}

/* =========================================================
   PTK Auction Core v1.3.0 - Listing Grid Rebuild
   SAFE MODE: list/card override only, keeps all old classes usable
========================================================= */
.ptk-auction-list.ptk-auction-list-v130{

    display:grid!important;

    grid-template-columns:repeat(4,minmax(0,1fr))!important;

    gap:16px!important;

    width:100%;

    margin:16px 0 22px!important;

    align-items:stretch;

}

.ptk-auction-card.ptk-auction-card-v130{

    display:flex;

    flex-direction:column;

    min-width:0;

    height:100%;

    overflow:hidden;

    border:1px solid rgba(196,154,61,.20);

    border-radius:22px;

    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));

    box-shadow:0 14px 34px rgba(0,0,0,.14);

    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;

}

.ptk-auction-card.ptk-auction-card-v130:hover{

    transform:translateY(-2px);

    border-color:rgba(245,208,97,.38);

    box-shadow:0 18px 40px rgba(0,0,0,.20);

}

.ptk-auction-card-v130 .ptk-auction-thumb{

    aspect-ratio:1/1;

    border-radius:0;

}

.ptk-auction-card-v130 .ptk-auction-thumb:after{

    content:"";

    position:absolute;

    left:0;
  right:0;
  bottom:0;

    height:45%;

    background:linear-gradient(180deg,transparent,rgba(0,0,0,.52));

    pointer-events:none;

}

.ptk-auction-card-v130 .ptk-auction-badge{

    z-index:2;

    top:9px;

    left:9px;

    padding:6px 9px;

    font-size:12px;

}

.ptk-auction-card-period{

    position:absolute;

    z-index:2;

    right:9px;

    bottom:9px;

    display:inline-flex;

    padding:6px 9px;

    border-radius:999px;

    background:rgba(0,0,0,.55);

    border:1px solid rgba(255,255,255,.16);

    color:#f5e8c7;

    font-size:12px;

    font-weight:900;

    backdrop-filter:blur(8px);

}

.ptk-auction-card-v130 .ptk-auction-card-body{

    display:flex;

    flex-direction:column;

    gap:8px;

    flex:1;

    padding:13px;

}

.ptk-auction-card-cat{

    width:max-content;

    max-width:100%;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

    padding:4px 8px;

    border-radius:999px;

    background:rgba(245,208,97,.08);

    border:1px solid rgba(245,208,97,.18);

    color:#f5d061;

    font-size:11px;

    font-weight:900;

}

.ptk-auction-card-v130 .ptk-auction-card-body h3{

    margin:0!important;

    font-size:16px;

    line-height:1.35;

    font-weight:950;

}

.ptk-auction-card-v130 .ptk-auction-card-body h3 a{

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

    min-height:43px;

    color:#fff2cc!important;

    text-decoration:none!important;

}

.ptk-auction-card-v130 .ptk-auction-fav-form,
.ptk-auction-card-v130 .ptk-auction-fav-btn{

    width:100%;

}

.ptk-auction-card-v130 .ptk-auction-fav-btn{

    min-height:38px;

    font-size:13px;

    padding:8px 10px;

}

@media(max-width:1100px){

    .ptk-auction-list.ptk-auction-list-v130{
    grid-template-columns:repeat(3,minmax(0,1fr))!important
  }

}

@media(max-width:720px){

    .ptk-auction-list-head{
    align-items:stretch;
    flex-direction:column;
    padding:14px;
    border-radius:18px
  }

  .ptk-auction-list-submit{
    width:100%
  }

  .ptk-auction-list.ptk-auction-list-v130{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important
  }

  .ptk-auction-card-v130 .ptk-auction-card-body{
    padding:10px;
    gap:7px
  }

  .ptk-auction-card-v130 .ptk-auction-card-body h3{
    font-size:14px
  }

  .ptk-auction-card-v130 .ptk-auction-card-body h3 a{
    min-height:38px
  }

  .ptk-auction-card-price{
    padding:8px
  }

  .ptk-auction-card-price strong{
    font-size:16px
  }

  .ptk-auction-card-mini{
    grid-template-columns:1fr;
    gap:6px
  }

  .ptk-auction-card-mini span,.ptk-auction-card-end{
    padding:7px;
    font-size:11px
  }

}

@media(max-width:360px){

    .ptk-auction-list.ptk-auction-list-v130{
    gap:8px!important
  }

  .ptk-auction-card-v130 .ptk-auction-card-body{
    padding:8px
  }

}

/* =========================================================
   PTK Auction Core v1.4.0 - SAFE MODE UI Polish
========================================================= */
.ptk-auction-list-v140,
.ptk-auction-list-v130{

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:18px;

}

.ptk-auction-card-v140,
.ptk-auction-card-v130{

    border-radius:22px;

    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.022));

    box-shadow:0 14px 34px rgba(0,0,0,.18);

    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;

}

.ptk-auction-card-v140:hover,
.ptk-auction-card-v130:hover{

    transform:translateY(-3px);

    border-color:rgba(245,208,97,.38);

    box-shadow:0 20px 42px rgba(0,0,0,.24);

}

.ptk-auction-card-cat{

    width:max-content;

    max-width:100%;

    margin:0 0 8px;

    padding:4px 8px;

    border-radius:999px;

    color:#f5d061;

    background:rgba(245,208,97,.08);

    border:1px solid rgba(245,208,97,.18);

    font-size:12px;

    font-weight:900;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

.ptk-auction-image-upload-field small{
  color:#d8caa4;
  font-weight:700
}

.ptk-auction-upload-help{
  color:#d8caa4;
  font-size:13px;
  margin-top:-2px
}

.ptk-auction-preview-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:4px
}

.ptk-auction-preview-item{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(196,154,61,.22);
  background:rgba(0,0,0,.18);
  aspect-ratio:1
}

.ptk-auction-preview-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

.ptk-auction-preview-item span{
  position:absolute;
  left:6px;
  bottom:6px;
  padding:3px 6px;
  border-radius:999px;
  background:rgba(0,0,0,.62);
  color:#f5e8c7;
  font-size:11px;
  font-weight:900
}

.ptk-auction-preview-warning{
  grid-column:1/-1;
  color:#ffb1b1;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(217,76,76,.35);
  background:rgba(217,76,76,.12)
}

.ptk-auction-gallery{
  display:grid;
  gap:10px;
  min-height:0
}

.ptk-auction-gallery-main{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:rgba(0,0,0,.22);
  min-height:340px
}

.ptk-auction-gallery-main img{
  width:100%;
  height:100%;
  min-height:340px;
  display:block;
  object-fit:cover
}

.ptk-auction-gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px
}

.ptk-auction-gallery-thumb{
  appearance:none;
  border:2px solid transparent;
  border-radius:14px;
  padding:0;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  aspect-ratio:1;
  cursor:pointer;
  opacity:.76;
  transition:.18s ease
}

.ptk-auction-gallery-thumb:hover,.ptk-auction-gallery-thumb.is-active{
  opacity:1;
  border-color:#c49a3d;
  transform:translateY(-1px)
}

.ptk-auction-gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

.ptk-auction-quick-bids{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:-2px 0 8px
}

.ptk-auction-quick-bids button{
  appearance:none;
  border:1px solid rgba(245,208,97,.28);
  border-radius:999px;
  background:rgba(245,208,97,.08);
  color:#f5d061;
  font-weight:900;
  padding:8px 12px;
  cursor:pointer
}

.ptk-auction-quick-bids button:hover{
  background:rgba(245,208,97,.16)
}

.ptk-auction-owner-actions,.ptk-auction-report,.ptk-auction-bids,.ptk-auction-detail-card,.ptk-auction-form,.ptk-auction-member-box{
  box-shadow:0 14px 34px rgba(0,0,0,.14)
}

.ptk-auction-list-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:12px 0 16px;
  padding:16px 18px;
  border:1px solid rgba(196,154,61,.18);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(245,208,97,.10),rgba(255,255,255,.03))
}

.ptk-auction-list-head span{
  color:#f5d061;
  font-weight:900;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase
}

.ptk-auction-list-head h2{
  margin:2px 0 0;
  color:#f1e2b8;
  font-size:26px
}

.ptk-auction-list-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  border-radius:999px;
  padding:9px 14px;
  background:#c49a3d;
  color:#17110a!important;
  font-weight:950;
  text-decoration:none;
  white-space:nowrap
}

/* wp-admin polish */
body.wp-admin.post-type-ptk_auction .wrap h1,
body.wp-admin.toplevel_page_ptk-auction-reports .wrap h1{
  font-weight:800
}

body.wp-admin.post-type-ptk_auction .widefat,
body.wp-admin .ptk-auction-admin-card{
  border-radius:12px;
  overflow:hidden;
  border-color:#d6c28b
}

@media(max-width:1024px){
  .ptk-auction-list-v140,.ptk-auction-list-v130{
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

.ptk-auction-preview-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))
  }

}

@media(max-width:640px){
  .ptk-auction-list-v140,.ptk-auction-list-v130{
    grid-template-columns:repeat(1,minmax(0,1fr))!important;
    gap:10px
  }

.ptk-auction-list-head{
    padding:12px;
    border-radius:18px
  }

.ptk-auction-list-head h2{
    font-size:20px
  }

.ptk-auction-list-submit{
    min-height:36px;
    padding:8px 10px;
    font-size:13px
  }

.ptk-auction-preview-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

.ptk-auction-gallery-main,.ptk-auction-gallery-main img{
    min-height:260px
  }

.ptk-auction-gallery-thumbs{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:6px
  }

.ptk-auction-quick-bids{
    display:grid;
    grid-template-columns:repeat(3,1fr)
  }

.ptk-auction-quick-bids button{
    padding:8px 6px
  }

.ptk-auction-card-price strong{
    font-size:16px
  }

.ptk-auction-card-mini{
    display:grid;
    gap:2px
  }

.ptk-auction-card-end{
    font-size:11px
  }

}

@media(max-width:390px){
  .ptk-auction-list-v140,.ptk-auction-list-v130{
    grid-template-columns:repeat(1,minmax(0,1fr))!important
  }

.ptk-auction-card-body h3{
    font-size:14px
  }

.ptk-auction-card-body{
    padding:9px
  }

.ptk-auction-fav-btn,.ptk-auction-card-view{
    font-size:12px;
    min-height:34px;
    padding:7px 8px
  }

}

/* =========================================================
   PTK Auction v1.4.1 - Upload Manager + Working Gallery
   SAFE MODE: append only, no layout removal
========================================================= */
.ptk-auction-upload-help{
  line-height:1.55
}

.ptk-auction-preview-item{
  cursor:grab;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
  transition:transform .18s ease, opacity .18s ease, border-color .18s ease
}

.ptk-auction-preview-item:active{
  cursor:grabbing
}

.ptk-auction-preview-item.is-dragging{
  opacity:.48;
  transform:scale(.96);
  border-color:rgba(245,208,97,.75)
}

.ptk-auction-preview-remove{
  position:absolute;
  top:6px;
  right:6px;
  width:28px;
  height:28px;
  border:0;
  border-radius:999px;
  background:rgba(217,48,48,.92);
  color:#fff;
  font-size:20px;
  line-height:1;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.22);
  z-index:3;
  transition:.18s ease
}

.ptk-auction-preview-remove:hover{
  transform:scale(1.06);
  background:#e53636
}

.ptk-auction-preview-drag{
  position:absolute;
  right:6px;
  bottom:6px;
  padding:3px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#f5e8c7;
  font-style:normal;
  font-size:11px;
  font-weight:900;
  z-index:2
}

.ptk-auction-preview-item span{
  max-width:calc(100% - 50px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.ptk-auction-gallery-main{
  appearance:none;
  border:0;
  padding:0;
  width:100%;
  display:block;
  text-align:inherit;
  cursor:zoom-in;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
  transition:transform .18s ease, box-shadow .18s ease
}

.ptk-auction-gallery-main:hover{
  transform:translateY(-1px);
  box-shadow:0 22px 52px rgba(0,0,0,.24)
}

.ptk-auction-gallery-hint{
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:3;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(0,0,0,.58);
  color:#f5e8c7;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(245,208,97,.22);
  backdrop-filter:blur(8px)
}

.ptk-auction-gallery-thumb{
  position:relative
}

.ptk-auction-gallery-thumb:after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:12px;
  box-shadow:inset 0 0 0 0 rgba(245,208,97,0);
  transition:.18s ease;
  pointer-events:none
}

.ptk-auction-gallery-thumb.is-active:after{
  box-shadow:inset 0 0 0 2px rgba(245,208,97,.95)
}

html.ptk-auction-lightbox-open{
  overflow:hidden
}

.ptk-auction-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(10px)
}

.ptk-auction-lightbox.is-open{
  display:flex
}

.ptk-auction-lightbox figure{
  margin:0;
  max-width:min(1120px,92vw);
  max-height:88vh;
  display:grid;
  gap:12px;
  place-items:center
}

.ptk-auction-lightbox img{
  display:block;
  max-width:100%;
  max-height:78vh;
  object-fit:contain;
  border-radius:20px;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
  background:#111
}

.ptk-auction-lightbox figcaption{
  color:#f5e8c7;
  font-weight:900;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(245,208,97,.18);
  border-radius:999px;
  padding:6px 12px
}

.ptk-auction-lightbox-close,.ptk-auction-lightbox-nav{
  appearance:none;
  border:1px solid rgba(245,208,97,.22);
  background:rgba(20,20,20,.68);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 14px 38px rgba(0,0,0,.28);
  transition:.18s ease;
  backdrop-filter:blur(8px)
}

.ptk-auction-lightbox-close{
  position:absolute;
  top:16px;
  right:16px;
  width:44px;
  height:44px;
  border-radius:999px;
  font-size:30px;
  font-weight:900;
  line-height:1
}

.ptk-auction-lightbox-nav{
  position:absolute;
  top:50%;
  width:52px;
  height:74px;
  border-radius:18px;
  font-size:56px;
  line-height:1;
  transform:translateY(-50%)
}

.ptk-auction-lightbox-nav.is-prev{
  left:16px
}

.ptk-auction-lightbox-nav.is-next{
  right:16px
}

.ptk-auction-lightbox-close:hover,.ptk-auction-lightbox-nav:hover{
  background:rgba(196,154,61,.72);
  transform:translateY(-50%) scale(1.03)
}

.ptk-auction-lightbox-close:hover{
  transform:scale(1.05)
}

@media(max-width:640px){

    .ptk-auction-preview-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }

  .ptk-auction-preview-remove{
    width:26px;
    height:26px;
    font-size:18px
  }

  .ptk-auction-gallery-hint{
    font-size:11px;
    right:8px;
    bottom:8px;
    padding:6px 9px
  }

  .ptk-auction-lightbox{
    padding:14px
  }

  .ptk-auction-lightbox img{
    max-height:72vh;
    border-radius:14px
  }

  .ptk-auction-lightbox-close{
    top:10px;
    right:10px;
    width:40px;
    height:40px
  }

  .ptk-auction-lightbox-nav{
    width:42px;
    height:58px;
    border-radius:14px;
    font-size:42px;
    background:rgba(20,20,20,.52)
  }

  .ptk-auction-lightbox-nav.is-prev{
    left:8px
  }

.ptk-auction-lightbox-nav.is-next{
    right:8px
  }

}

/* =========================================================
   PTK Auction v1.4.2 - Highest Price Badge + Gallery Fix
========================================================= */
.ptk-auction-highest-badge{

    position:absolute;

    left:10px;

    bottom:10px;

    z-index:4;

    display:inline-flex;

    flex-direction:column;

    align-items:flex-start;

    gap:1px;

    max-width:calc(100% - 20px);

    padding:7px 10px;

    border-radius:14px;

    color:#fff;

    font-weight:900;

    line-height:1.15;

    box-shadow:0 12px 28px rgba(0,0,0,.28);

    border:1px solid rgba(255,255,255,.22);

    backdrop-filter:blur(8px);

}

.ptk-auction-highest-badge span{
  font-size:11px;
  opacity:.94;
  white-space:nowrap
}

.ptk-auction-highest-badge strong{
  font-size:15px;
  white-space:nowrap;
  color:#fff!important
}

.ptk-auction-highest-badge.is-base{
  background:linear-gradient(135deg,rgba(31,157,85,.96),rgba(20,116,65,.94))
}

.ptk-auction-highest-badge.is-hot{
  background:linear-gradient(135deg,rgba(196,154,61,.98),rgba(151,105,28,.96));
  color:#211506
}

.ptk-auction-highest-badge.is-hot strong{
  color:#211506!important
}

.ptk-auction-highest-badge.is-top{
  background:linear-gradient(135deg,rgba(217,48,48,.98),rgba(126,24,24,.96))
}

.ptk-auction-card-v140 .ptk-auction-thumb .ptk-auction-highest-badge{
  left:10px;
  bottom:10px
}

.ptk-auction-price-main{
  position:relative
}

.ptk-auction-price-main .ptk-auction-highest-badge{

    position:static;

    margin-top:10px;

    width:max-content;

    max-width:100%;

}

.ptk-auction-gallery-thumb.is-active{
  box-shadow:0 0 0 3px rgba(245,208,97,.2)
}

@media(max-width:640px){

    .ptk-auction-highest-badge{
    padding:6px 8px;
    border-radius:12px
  }

  .ptk-auction-highest-badge span{
    font-size:10px
  }

  .ptk-auction-highest-badge strong{
    font-size:13px
  }

}

/* =========================================================
   PTK Auction v1.4.3 - Anti Self Bid + Body Background
========================================================= */
.ptk-auction-detail-card,
.ptk-auction-bids,
.ptk-auction-report,
.ptk-auction-owner-actions{

    background:linear-gradient(180deg,rgba(22,18,12,.92),rgba(12,10,8,.82));

    backdrop-filter:blur(10px);

}

.ptk-auction-content{

    padding:2px 0;

    word-break:break-word;

    overflow-wrap:anywhere;

}

.ptk-auction-bid-blocked{

    display:grid;

    gap:6px;

    border-color:rgba(217,48,48,.28);

    background:linear-gradient(135deg,rgba(217,48,48,.12),rgba(255,255,255,.035));

}

.ptk-auction-bid-blocked strong{
  color:#ffd4d4;
  font-size:16px
}

.ptk-auction-bid-blocked span{
  color:#e9d9b8;
  line-height:1.65
}

.ptk-auction-admin-wrap .form-table input.regular-text{
  max-width:560px;
  width:100%
}

@media(max-width:640px){

    body.ptk-auction-has-bg{
    background-attachment:scroll!important
  }

  .ptk-auction-single-pro{
    padding:10px;
    border-radius:22px
  }

}

/* =========================================================
   PTK Auction v1.4.6 - Email bidders, countdown, single alignment cleanup
   SAFE MODE: remove duplicated outer frame feel; keep bid box design intact
========================================================= */
.ptk-auction-countdown{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    border:1px solid rgba(245,208,97,.22);

    border-radius:18px;

    background:linear-gradient(135deg,rgba(245,208,97,.10),rgba(255,255,255,.035));

    padding:12px 14px;

    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);

}

.ptk-auction-countdown-label{

    color:#d8caa4;

    font-size:12px;

    font-weight:800;

}

.ptk-auction-countdown strong{

    color:#f5d061;

    font-size:18px;

    font-weight:950;

    letter-spacing:.02em;

    white-space:nowrap;

}

.ptk-auction-countdown.is-expired{

    border-color:rgba(217,76,76,.30);

    background:linear-gradient(135deg,rgba(217,76,76,.13),rgba(255,255,255,.03));

}

.ptk-auction-countdown.is-expired strong{
  color:#ffb0b0
}

.ptk-auction-countdown.is-card{

    margin-top:8px;

    padding:8px 9px;

    border-radius:13px;

}

.ptk-auction-countdown.is-card .ptk-auction-countdown-label{
  font-size:10px
}

.ptk-auction-countdown.is-card strong{
  font-size:12px
}

body.single-ptk_auction .ptk-page-card,
body.single-ptk_auction .site-main .ptk-page-card,
body.single-ptk_auction main .ptk-page-card{

    background:transparent!important;

    border:0!important;

    box-shadow:none!important;

    padding-left:0!important;

    padding-right:0!important;

    overflow:visible!important;

}

body.single-ptk_auction .entry-header,
body.single-ptk_auction .post-header,
body.single-ptk_auction .page-header,
body.single-ptk_auction .ptk-page-card > header,
body.single-ptk_auction article.ptk_auction > header{

    max-width:100%;

    margin:0 0 14px!important;

    padding:0!important;

    border:0!important;

    border-radius:0!important;

    background:transparent!important;

    box-shadow:none!important;

}

body.single-ptk_auction .entry-title,
body.single-ptk_auction .post-title,
body.single-ptk_auction h1.entry-title{

    margin:0 0 8px!important;

    color:#fff2cc!important;

}

body.single-ptk_auction .entry-meta,
body.single-ptk_auction .post-meta,
body.single-ptk_auction .posted-on,
body.single-ptk_auction .byline{

    color:#d8caa4!important;

}

body.single-ptk_auction .ptk-auction-single-pro{

    width:100%;

    box-sizing:border-box;

    background: linear-gradient(180deg,rgba(0, 0, 0, 0.72),rgba(0, 0, 0, 0.42));

    border:0px solid rgba(196,154,61,.14);

    border-radius:26px;

    padding:12px;

    box-shadow:0 18px 48px rgba(0,0,0,.16);

}

body.single-ptk_auction .ptk-auction-hero,
body.single-ptk_auction .ptk-auction-detail-card,
body.single-ptk_auction .ptk-auction-bids,
body.single-ptk_auction .ptk-auction-report,
body.single-ptk_auction .ptk-auction-owner-actions{

    max-width:100%;

    box-sizing:border-box;

}

@media(max-width:640px){

    .ptk-auction-countdown{
    display:grid;
    gap:4px;
    padding:10px 12px
  }

  .ptk-auction-countdown strong{
    font-size:16px
  }

  .ptk-auction-countdown.is-card{
    padding:7px 8px
  }

  .ptk-auction-countdown.is-card strong{
    font-size:11px
  }

  body.single-ptk_auction .ptk-auction-single-pro{
    padding:10px;
    border-radius:20px
  }

}

/* =========================================================
   PTK Auction Admin Opacity / Admin Polish
   SAFE MODE: admin UI only
========================================================= */
body.wp-admin.post-type-ptk_auction #wpcontent,
body.wp-admin.ptk_auction_page_ptk-auction-settings #wpcontent,
body.wp-admin.ptk_auction_page_ptk-auction-reports #wpcontent,
body.wp-admin.toplevel_page_ptk-auction-reports #wpcontent{

    background:
      radial-gradient(circle at 15% 0%,rgba(196,154,61,.13),transparent 32%),
      linear-gradient(180deg,rgba(255,255,255,.86),rgba(248,246,239,.78));

}

body.wp-admin.post-type-ptk_auction .wrap,
body.wp-admin.ptk_auction_page_ptk-auction-settings .wrap,
body.wp-admin.ptk_auction_page_ptk-auction-reports .wrap,
body.wp-admin.toplevel_page_ptk-auction-reports .wrap,
.ptk-auction-admin-wrap{

    padding:18px;

    border-radius:18px;

    background:rgba(255,255,255,.82);

    border:1px solid rgba(196,154,61,.18);

    box-shadow:0 12px 34px rgba(0,0,0,.07);

}

body.wp-admin.post-type-ptk_auction .wp-list-table,
body.wp-admin.post-type-ptk_auction .postbox,
.ptk-auction-admin-card{

    background:rgba(255,255,255,.88)!important;

    box-shadow:0 10px 28px rgba(0,0,0,.06)!important;

}

/* =========================================================
   PTK Auction v1.4.8 - Range Opacity + Alternative Tabs Nav
   SAFE MODE: removed duplicate main sticky rule, kept useful settings
========================================================= */
.ptk-auction-opacity-range{

    width:min(360px,100%);

    max-width:100%;

    vertical-align:middle;

    accent-color:#c49a3d;

}

#ptk_auction_body_bg_opacity_value{

    display:inline-flex;

    min-width:52px;

    justify-content:center;

    margin-left:10px;

    padding:4px 8px;

    border-radius:999px;

    background:rgba(196,154,61,.14);

    color:#6b4a08;

    border:1px solid rgba(196,154,61,.24);

}

body.wp-admin.ptk_auction_page_ptk-auction-settings .form-table th,
body.wp-admin.ptk_auction_page_ptk-auction-settings .form-table td{

    padding-top:18px;

    padding-bottom:18px;

}

.ptk-auction-tabs-nav.is-js-sticky,
.ptk-auction-tabs__nav.is-js-sticky,
[data-ptk-auction-tabs-nav].is-js-sticky{

    background:rgba(18,18,18,.94);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border-radius:16px;

    box-shadow:0 12px 34px rgba(0,0,0,.32);

}

 /* =========================================================
   PTK Auction Sticky Full Width Bar
========================================================= */
.ptk-auction-tabs.is-js-sticky{

    top:63px!important;

    left:0!important;

    right:0!important;

    width:100%!important;

    max-width:none!important;

    border-radius:0!important;

    background:#111!important;

    display:flex!important;

    justify-content:center!important;

    gap:10px;

    border:none!important;

    box-shadow:none!important;

}

/* =========================================================
   PTK Auction Notice Success
========================================================= */
.ptk-auction-notice{

    margin:0 0 18px;

    padding:14px 18px;

    border-radius:14px;

    background:rgba(18,120,52,.16);

    border:1px solid rgba(80,220,120,.28);

    color:#b9ffcb;

    font-weight:700;

    line-height:1.5;

    box-shadow:0 10px 28px rgba(0,0,0,.16);

}

.ptk-auction-notice {

    animation:ptkAuctionNoticeIn .28s ease;

}

@keyframes ptkAuctionNoticeIn{

    from{

        opacity:0;

        transform:translateY(-8px);

  }

  to{

        opacity:1;

        transform:none;

  }

}

/* =========================================================
   PTK Auction Card Compact Layout - CONSOLIDATED
   SAFE MODE: merged duplicate v1.3/v1.4 card price, mini, end, actions
========================================================= */
.ptk-auction-card-price{

    display:grid;

    gap:3px;

    margin:10px 0 8px;

    padding:10px;

    border-radius:16px;

    background:rgba(0,0,0,.18);

    border:1px solid rgba(255,255,255,.08);

}

.ptk-auction-card-price span{

    display:block;

    color:#d8caa4;

    font-size:12px;

    font-weight:800;

    opacity:.72;

    margin-bottom:2px;

}

.ptk-auction-card-price strong{

    display:block;

    color:#f5d061;

    font-size:22px;

    line-height:1.1;

    font-weight:950;

}

.ptk-auction-card-mini{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    margin:10px 0 0;

    color:#d8caa4;

    font-size:13px;

    font-weight:750;

    opacity:.82;

}

.ptk-auction-card-mini span,
.ptk-auction-card-end{

    min-width:0;

    padding:8px;

    border-radius:14px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.07);

    color:#e5d7b7;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

}

.ptk-auction-card-end{

    display:block;

    margin:8px 0 0;

    font-size:13px;

    opacity:.78;

}

.ptk-auction-countdown.is-card{

    margin:10px 0 0;

    padding:10px 12px;

    border-radius:12px;

    font-size:13px;

    line-height:1.35;

}

.ptk-auction-countdown.is-card strong{

    display:block;

    margin-top:2px;

    font-size:15px;

}

.ptk-auction-card-actions,
.ptk-auction-card-v130 .ptk-auction-card-actions{

    display:grid;

    grid-template-columns:1fr auto;

    gap:10px;

    margin-top:14px;

}

.ptk-auction-card-view{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:42px;

    padding:8px 10px;

    border-radius:999px;

    background:#c49a3d;

    border:1px solid rgba(196,154,61,.25);

    color:#17110a!important;

    text-decoration:none!important;

    font-size:13px;

    font-weight:950;

}

.ptk-auction-fav-btn{

    min-height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

}

/* =========================================================
   PTK Single Layout Main Background
========================================================= */
.ptk-single-layout__main{

    background:rgba(18,18,18,.88);

    padding:20px;

    border-radius:25px;

    -webkit-backdrop-filter:blur(10px);

}

@media (max-width:768px){

    .ptk-single-layout__main{

        padding:0;

        border-radius:0;

        background:transparent;

        border:none;

        box-shadow:none;

  }

}

@media (max-width:360px){

    .ptk-single-layout__main{

        padding:0;

        border-radius:0;

        background:transparent;

        border:none;

        box-shadow:none;

  }

}

/* =========================================================
   PTK Auction Sticky Compact Tabs
========================================================= */
.ptk-auction-tabs.is-js-sticky{

    display:flex!important;

    justify-content:center!important;

    align-items:center!important;

    gap:10px;

    flex-wrap:wrap;

}

.ptk-auction-tabs.is-js-sticky .ptk-auction-tab{

    flex:0 0 auto!important;

    width:auto!important;

    min-width:auto!important;

}

/* =========================================================
   PTK Auction Submit Form Compact
========================================================= */
.ptk-auction-form{

    gap:12px;

    padding:16px;

    margin:14px 0;

}

.ptk-auction-field{

    gap:6px;

}

.ptk-auction-field label{

    font-size:14px;

    line-height:1.35;

}

.ptk-auction-field input,
.ptk-auction-field textarea,
.ptk-auction-field select{

    min-height:42px;

    padding:10px 12px;

    font-size:14px;

    line-height:1.45;

}

.ptk-auction-field textarea{

    min-height:120px;

    max-width:100%;

    box-sizing:border-box;

    resize:vertical;

}

.ptk-auction-upload-help{

    margin-top:0;

    font-size:12px;

    line-height:1.5;

    opacity:.82;

}

.ptk-auction-image-upload-field small{

    font-size:12px;

    opacity:.78;

}

.ptk-auction-form .ptk-auction-btn{

    min-height:42px;

    padding:10px 16px;

}

@media(max-width:640px){

    .ptk-auction-form{

        padding:12px;

        gap:10px;

  }

  .ptk-auction-field textarea{

        min-height:105px;

  }

}

/* =========================================================
   PTK AUCTION BIDDER CONTACT
   SAFE MODE: CSS ONLY
========================================================= */
.ptk-auction-bidder-contact{

      margin-top:12px;

      border:1px solid rgba(196,154,61,.22);

      border-radius:14px;

      background:rgba(255,255,255,.035);

      overflow:hidden;

}

.ptk-auction-bidder-contact summary{

      cursor:pointer;

      padding:11px 14px;

      font-size:13px;

      font-weight:800;

      color:#f1d27a;

      list-style:none;

}

.ptk-auction-bidder-contact summary::-webkit-details-marker{

      display:none;

}

.ptk-auction-bidder-contact-box{

      padding:0 14px 14px;

      display:flex;

      flex-direction:column;

      gap:9px;

}

.ptk-auction-bidder-contact-item{

      display:flex;

      flex-direction:column;

      gap:3px;

      word-break:break-word;

}

.ptk-auction-bidder-contact-item strong{

      font-size:12px;

      color:rgba(255,255,255,.72);

}

.ptk-auction-bidder-contact-item span,
.ptk-auction-bidder-contact-item a{

      font-size:13px;

      color:#fff;

      text-decoration:none;

}

.ptk-auction-bidder-contact-item a:hover{

      color:#f1d27a;

}

.ptk-auction-bidder-contact-empty{

      font-size:13px;

      color:rgba(255,255,255,.68);

      line-height:1.6;

}

@media (max-width:768px){

      .ptk-auction-bidder-contact{

            margin-top:10px;

            border-radius:12px;

  }

    .ptk-auction-bidder-contact summary{

            padding:10px 12px;

            font-size:13px;

  }

    .ptk-auction-bidder-contact-box{

            padding:0 12px 12px;

  }

}

/* =========================================================
   PTK AUCTION RULES BOX
========================================================= */
.ptk-auction-rules{

      margin-top:5px;

      border:1px solid rgba(87, 32, 0, 0.75);

      border-radius:14px;

      background:rgba(127,29,29,.10);

      overflow:hidden;

}

/* summary */
.ptk-auction-rules summary{

      position:relative;

      display:flex;

      align-items:flex-start;

      gap:5px;

      cursor:pointer;

      padding:14px;

      font-weight:800;

      line-height:1.5;

      color:#fecaca;

      list-style:none;

      transition:.18s ease;

}

.ptk-auction-rules summary:hover{

      background:rgba(255,255,255,.03);

}

/* ซ่อน marker เดิม */
.ptk-auction-rules summary::-webkit-details-marker{

      display:none;

}

/* ลูกศร */
.ptk-auction-rules summary::before{

      content:"❯";

      flex:0 0 auto;

      line-height:1.6;

      color:#ffb4b4;

      transition:transform .18s ease;

}

/* ตอนเปิด */
.ptk-auction-rules[open] summary::before{

      transform:rotate(90deg);

}

/* กล่องด้านใน */
.ptk-auction-rules-box{

      margin:0 16px 16px 38px;

      padding:14px 15px;

      border:1px solid rgba(255,255,255,.08);

      border-radius:12px;

      background:rgba(0,0,0,.16);

      color:rgba(255,255,255,.84);

      font-size:14px;

      line-height:1.8;

      box-sizing:border-box;

      overflow:hidden;

      word-break:break-word;

      overflow-wrap:anywhere;

}

/* p */
.ptk-auction-rules-box p{

      margin:0 0 12px;

}

/* ul */
.ptk-auction-rules-box ul{

      margin:10px 0 0;

      padding-left:18px;

}

/* li */
.ptk-auction-rules-box li{

      margin-bottom:9px;

      line-height:1.8;

}

/* strong */
.ptk-auction-rules-box strong{

      color:#ffd6d6;

}

/* mobile */
@media (max-width:768px){

      .ptk-auction-rules{

            border-radius:12px;

  }

    .ptk-auction-rules summary{

            gap:9px;

            padding:14px;

  }

    .ptk-auction-rules-box{

            margin:0 13px 13px 34px;

            padding:12px;

            border-radius:10px;

            font-size:13px;

            line-height:1.75;

  }

}

/* =========================================================
   PTK AUCTION QUOTA
========================================================= */
.ptk-auction-quota-box{

      margin:0 0 18px;

      padding:16px 18px;

      border-radius:18px;

      background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));

      border:1px solid rgba(196,154,61,.22);

      color:#f3e7c1;

      box-shadow:0 10px 30px rgba(0,0,0,.16);

}

.ptk-auction-quota-box strong{

      display:block;

      margin-bottom:6px;

      font-size:16px;

      color:#f5d061;

}

.ptk-auction-quota-count{

      font-size:22px;

      font-weight:800;

      color:#fff;

}

.ptk-auction-quota-count.is-low{

      color:#ffb347;

}

.ptk-auction-quota-count.is-zero{

      color:#ff6b6b;

}

.ptk-auction-quota-help{

      margin-top:8px;

      font-size:13px;

      opacity:.82;

      line-height:1.6;

}

.ptk-auction-quota-upgrade{

      margin-top:14px;

}

.ptk-auction-quota-upgrade .ptk-auction-btn{

      width:100%;

      justify-content:center;

}

/* =========================================================
   PTK AUCTION MEMBER TABS
   CLEAN LUXURY UI
========================================================= */
.ptk-auction-member-tabs{

      margin-top:18px;

}

/* =========================================================
   TAB NAV - PREMIUM SOFT BACKGROUND
========================================================= */
.ptk-auction-member-tab-nav{

      display:flex;

      gap:10px;

      flex-wrap:wrap;

      margin:0 0 22px;

}

.ptk-auction-member-tab{

      appearance:none;

      border:none;

      cursor:pointer;

      position:relative;

      min-height:44px;

      padding:0 18px;

      border-radius:14px;

      background:rgba(255,255,255,.028);

      border:1px solid rgba(255,255,255,.04);

      color:rgba(255,255,255,.70);

      font-size:14px;

      font-weight:850;

      letter-spacing:.01em;

      backdrop-filter:blur(6px);

      transition:
          color .18s ease,
          transform .18s ease,
          background .18s ease,
          border-color .18s ease,
          box-shadow .18s ease;

}

.ptk-auction-member-tab:hover{

      color:#f5d061;

      background:rgba(255,255,255,.04);

      border-color:rgba(245,208,97,.16);

      transform:translateY(-1px);

      box-shadow:
          0 8px 18px rgba(0,0,0,.12);

}

.ptk-auction-member-tab.is-active{

      color:#f5d061;

      background:
          linear-gradient(180deg,
              rgba(255,255,255,.06),
              rgba(255,255,255,.03));

      border-color:rgba(245,208,97,.28);

      box-shadow:
          0 10px 24px rgba(0,0,0,.16),
          0 0 0 1px rgba(245,208,97,.05) inset;

}

.ptk-auction-member-tab.is-active::after{

      content:'';

      position:absolute;

      left:14px;

      right:14px;

      bottom:6px;

      height:2px;

      border-radius:999px;

      background:
          linear-gradient(90deg,
              transparent,
              rgba(245,208,97,.85),
              transparent);

      opacity:.9;

}

/* =========================================================
   MOBILE
========================================================= */
@media(max-width:768px){

      .ptk-auction-member-tab-nav{

            gap:8px;

  }

    .ptk-auction-member-tab{

            flex:1 1 calc(50% - 8px);

            justify-content:center;

  }

}

/* =========================================================
   PANEL
========================================================= */
.ptk-auction-member-panel{

      display:none;

}

.ptk-auction-member-panel.is-active{

      display:block;

      animation:ptkAuctionMemberFade .24s ease;

}

@keyframes ptkAuctionMemberFade{

      from{

            opacity:0;

            transform:translateY(6px);

  }

    to{

            opacity:1;

            transform:none;

  }

}

/* =========================================================
   MEMBER OWNED ACTIONS
========================================================= */
.ptk-auction-member-owned-actions{

      display:flex;

      gap:10px;

      margin-top:14px;

}

.ptk-auction-member-owned-actions form{

      flex:1 1 0;

      margin:0;

}

/* =========================================================
   SHARED BUTTON STYLE
========================================================= */
.ptk-auction-member-owned-view,
.ptk-auction-member-owned-delete{

      position:relative;

      display:inline-flex;

      align-items:center;

      justify-content:center;

      width:100%;

      min-height:42px;

      padding:0 16px;

      border-radius:13px;

      text-decoration:none;

      font-size:14px;

      font-weight:850;

      overflow:hidden;

      transition:
          transform .18s ease,
          color .18s ease,
          border-color .18s ease,
          background .18s ease,
          box-shadow .18s ease;

}

.ptk-auction-member-owned-view::before,
.ptk-auction-member-owned-delete::before{

      content:'';

      position:absolute;

      inset:0;

      border-radius:inherit;

      opacity:0;

      transition:opacity .18s ease;

}

/* =========================================================
   VIEW BUTTON
========================================================= */
.ptk-auction-member-owned-view{

      background:#1f2937;

      border:1px solid rgba(96,165,250,.24);

      color:#93c5fd;

}

.ptk-auction-member-owned-view::before{

      background:
          linear-gradient(180deg,
              rgba(255,255,255,.05),
              transparent);

}

.ptk-auction-member-owned-view:hover{

      color:#dbeafe;

      border-color:rgba(147,197,253,.52);

      transform:translateY(-1px);

      box-shadow:
          0 10px 22px rgba(59,130,246,.10);

}

.ptk-auction-member-owned-view:hover::before{

      opacity:1;

}

/* =========================================================
   DELETE BUTTON
========================================================= */
.ptk-auction-member-owned-delete{

      appearance:none;

      cursor:pointer;

      background:#2a1616;

      border:1px solid rgba(248,113,113,.24);

      color:#fca5a5;

}

.ptk-auction-member-owned-delete::before{

      background:
          linear-gradient(180deg,
              rgba(255,255,255,.04),
              transparent);

}

.ptk-auction-member-owned-delete:hover{

      color:#ffe1e1;

      border-color:rgba(252,165,165,.52);

      transform:translateY(-1px);

      box-shadow:
          0 10px 22px rgba(220,38,38,.10);

}

.ptk-auction-member-owned-delete:hover::before{

      opacity:1;

}

.ptk-auction-member-owned-view:active,
.ptk-auction-member-owned-delete:active{

      transform:translateY(0);

}

/* =========================================================
   MOBILE
========================================================= */
@media(max-width:768px){

      .ptk-auction-member-tab-nav{

            gap:8px;

  }

    .ptk-auction-member-tab{

            flex:1 1 calc(50% - 8px);

            justify-content:center;

  }

    .ptk-auction-member-owned-actions{

            gap:8px;

  }

    .ptk-auction-member-owned-view,
      .ptk-auction-member-owned-delete{

            min-height:40px;

            font-size:13px;

  }

}


/* =========================================================
   PTK Auction Emergency Layout Guard - SAFE MODE
   Fix: prevent pseudo overlay from escaping hero image area
========================================================= */
.ptk-auction-hero-media{
  position:relative!important;
  overflow:hidden!important;
}
.ptk-auction-hero-media:after{
  inset:auto 0 0 0!important;
  height:38%!important;
  max-height:180px!important;
  pointer-events:none!important;
}
.ptk-auction-tabs.is-js-sticky{
  position:fixed!important;
}


/* =========================================================
   PTK Auction Category Select
========================================================= */

.ptk-auction-field select{
  color:#f1d27a !important;
  font-weight:800;

  border:1px solid rgba(241,210,122,.35);

  background:#111;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(241,210,122,.05);
}

/* =========================================================
   PTK AUCTION MEDIA LIBRARY
   SAFE MODE
========================================================= */

.ptk-auction-media-button,
.ptk-auction-device-button{
    appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;

    flex:1;

    min-height:46px;
    width:100%;
    max-width:100%;

    padding:10px 18px;

    border:1px solid rgba(245,208,97,.34);
    border-radius:14px;

    background:linear-gradient(
        180deg,
        rgba(196,154,61,.18),
        rgba(196,154,61,.09)
    );

    color:#f5d061;

    font:inherit;
    font-weight:700;
    text-decoration:none;

    cursor:pointer;

    box-shadow:
        0 10px 24px rgba(0,0,0,.14),
        inset 0 1px 0 rgba(255,255,255,.06);

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

.ptk-auction-media-button:hover,
.ptk-auction-media-button:focus-visible,
.ptk-auction-device-button:hover,
.ptk-auction-device-button:focus-visible{

    transform:translateY(-1px);

    border-color:rgba(245,208,97,.68);

    background:linear-gradient(
        180deg,
        rgba(196,154,61,.25),
        rgba(196,154,61,.12)
    );

    box-shadow:
        0 14px 30px rgba(0,0,0,.18),
        0 0 0 3px rgba(245,208,97,.08);

    outline:none;
}

.ptk-auction-media-button span,
.ptk-auction-device-button span{
    font-size:18px;
    line-height:1;
}

.ptk-auction-image-upload-field .ptk-auction-preview-grid:empty{
    display:none;
}

/* =========================================================
   PTK AUCTION HYBRID UPLOAD
========================================================= */

.ptk-auction-upload-recommendation{
    margin:0 0 14px;
    padding:12px 15px;

    border:1px solid rgba(202,168,106,.35);
    border-radius:12px;

    background:rgba(202,168,106,.08);

    color:#e9dfc4;
    line-height:1.7;
}

.ptk-auction-upload-recommendation strong{
    color:#f5d061;
}

.ptk-auction-upload-actions{
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:14px;
}

@media (max-width:640px){

    .ptk-auction-upload-actions{
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }

    .ptk-auction-media-button,
    .ptk-auction-device-button{
        width:100%;
    }

}