
.wrap{max-width:980px;margin:20px auto 40px;padding:0 12px}
.h1{margin:0 0 16px;font-size:20px}
.meta{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;opacity:.65;margin-bottom:24px}

 
.body{
  line-height:1.75;
  font-size:14px;
  color:rgba(255,255,255,.92);
  text-align:center;
  border:none;
  background:transparent;
  border-radius:0;
  padding:0;
  margin-bottom:100px;
}

 
.pic{
  margin:12px 0;
  text-align:center;
}
.pic img{max-width:100%;width:auto;height:auto;display:block;margin:0 auto;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:#0f0f0f}

 
#hoverTip{
  position:fixed;z-index:9998;pointer-events:none;
  padding:6px 8px;border-radius:10px;
  background:rgba(0,0,0,.65);
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.85);
  font-size:12px;white-space:nowrap;display:none;
}

 
.viewer{position:fixed;inset:0;z-index:9999;display:none}
.viewer.on{display:block}
.viewer .backdrop{position:absolute;inset:0;background:rgba(0,0,0,.85)}
.viewer .photo{
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);
  max-width:100vw;max-height:100vh;
  object-fit:contain;cursor:pointer;
}
.viewer .hint{
  position:absolute;bottom:14px;left:50%;
  transform:translateX(-50%);
  font-size:12px;color:rgba(255,255,255,.35);
  text-align:center;
  white-space:pre-line;
}

 
.body .viewable{cursor:pointer}

 
.midbar{
  position:relative;
  margin:28px 0 35px;
  height:44px;
  isolation:isolate;
}
.midbar:before{
  content:"";position:absolute;left:0;right:0;top:50%;
  height:1px;background:linear-gradient(to right,transparent,rgba(255,255,255,.25),transparent);
  transform:translateY(-50%);
  z-index:0;
}
.midbar a{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  padding:10px 16px;border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(10,10,10,.85);
  backdrop-filter: blur(8px);
  z-index:1;
  color:rgba(255,255,255,.85);
  font-size:12px;text-decoration:none;white-space:nowrap
}
@media (hover:hover) and (pointer:fine){
.midbar a:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.28);
  color:rgba(255,255,255,.95);
}
}

 
.actionbar{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin:18px 0 0;
}
.actionbar a,
.actionbar button{
  white-space:nowrap;
  word-break:keep-all;
  display:inline-flex;
  gap:6px;
  font-size:13px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  text-decoration:none;
  cursor:pointer;
}
@media (hover:hover) and (pointer:fine){
.actionbar a:hover,
.actionbar button:hover{
  background:rgba(255,255,255,.11);
  border-color:rgba(255,255,255,.22);
}
}

 
.list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.row{
  display:flex;
  gap:12px;
  align-items:stretch;
  padding:10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:#121212;
  text-decoration:none;
  color:inherit;
}
@media (hover:hover) and (pointer:fine){
.row:hover{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.04);
}
}
.row.is-current{
  border:2px solid rgba(255,255,255,.32);
  background:rgba(255,255,255,.06);
}
.row-thumb{
  position:relative;
  --thumb:130px;
  flex:0 0 var(--thumb);
  width:var(--thumb);
  height:var(--thumb);
  align-self:center;
  border-radius:8px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#0f0f0f;
}
.row-thumb .ph{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:rgba(255,255,255,.35);
}
.row-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition:transform .18s ease;
}
@media (hover:hover) and (pointer:fine){
.row:hover .row-thumb img{transform:scale(1.06)}
}
.row-body{
  flex:1 1 auto;
  min-width:0;
  padding-top:2px;
}
.row-title{
  font-size:14px;
  line-height:1.35;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  margin:0 0 6px;
}
.row-meta{
  font-size:12px;
  color:rgba(255,255,255,.6);
  margin-bottom:6px;
}
.row-desc{
  font-size:13px;
  color:rgba(255,255,255,.78);
  line-height:1.45;
  white-space:pre-line;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media (max-width: 520px){
  .row-desc{ -webkit-line-clamp:2; }
}

.badge-current{
  position:absolute;right:10px;bottom:10px;
  white-space:nowrap;
  word-break:keep-all;
  display:inline-flex;
  font-size:11px;padding:4px 8px;border-radius:999px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.25);
  color:rgba(255,255,255,.85)
}

.badge{
  display:inline-flex;
  font-size:12px;
  opacity:.55;
  border:1px solid rgba(255,255,255,0.32);
  background:rgba(255,255,255,.02);
  padding:4px 8px;
  border-radius:999px;
  white-space:nowrap;
}

.row-meta .pm-date-short{display:none;}


 
@media(min-width:821px){
  .row-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
  .row-meta .badge:first-child{
    border:none;
    background:transparent;
    padding:0;
    border-radius:0;
  }
}

 
@media(max-width:820px){
  .row-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
  .row-meta .badge:first-child{
    border:none;
    background:transparent;
    padding:0;
    border-radius:0;
  }
}

@media(max-width:520px){
  .row{gap:10px}
  .row-thumb{--thumb:110px}
}

 
.pager{
  margin-top:12px;
  display:flex;
  justify-content:center;
  gap:6px;
  flex-wrap:wrap;
}
.pager a, .pager span{
  display:inline-flex;
  line-height:1;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.75);
  font-size:12px;
  text-decoration:none;
}
@media (hover:hover) and (pointer:fine){
.pager a:hover{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.20);
  color:rgba(255,255,255,.92);
}
}
.pager .on{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
  color:rgba(255,255,255,.92);
}
 


.pm-form-nomargin{
  margin:0 !important;
}

@media(max-width:520px){
  .row-meta{flex-wrap:nowrap;min-width:0;}
  .row-meta .pm-meta-date{flex:0 0 auto;}
  .row-meta .pm-meta-cat{flex:0 1 auto;min-width:0;max-width:100%;}
  .row-meta .pm-meta-cat .pm-cat-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .row-meta .pm-date-full{display:none;}
  .row-meta .pm-date-short{display:inline;}
}
