/* shared — Uncensored Archive */
.flame{
  display:inline-flex;align-items:center;gap:3px;
  color:#ff7a3d;font-size:10px;letter-spacing:.04em;vertical-align:middle;
  text-shadow:0 0 10px rgba(255,90,30,.55);
}
.flame::before{content:"▲";font-size:9px}
.case-title .flame,.case-hero h1 .flame{margin-left:8px}



.rank-friend,.rank-friends,.rank-developer,.rank-admin,.rank-owner{
  position:relative;display:inline-block;overflow:visible;
}
.rank-friend,.rank-friends{color:#7c5cbf;text-shadow:none}
.rank-bits{
  position:absolute;left:-2px;right:-2px;top:-1px;bottom:-1px;
  pointer-events:none;overflow:visible;z-index:2;
}
.rank-bits i{
  position:absolute;border-radius:50%;opacity:0;bottom:1px;margin:0;
  width:2px!important;height:2px!important;
}
.rank-friend .rank-bits i,.rank-friends .rank-bits i{
  background:#9b7ad6;box-shadow:0 0 3px #b794f0;
  animation:rankBit 2.1s linear infinite;
}
.rank-developer .rank-bits i{
  width:7px!important;height:14px!important;border-radius:0;bottom:auto;top:50%;
  background:#7af0ff;
  clip-path:polygon(62% 0,28% 48%,48% 48%,18% 100%,78% 42%,54% 42%);
  box-shadow:0 0 6px #29dbff,0 0 12px rgba(41,219,255,.7);
  animation:thunderStrike 1.15s ease-in-out infinite;
  transform-origin:center top;
}
.rank-developer .rank-bits i:nth-child(odd){background:#e8fbff}
.rank-admin .rank-bits i{
  background:#ff4d4d;box-shadow:0 0 3px #ff0000;
  animation:rankBitAdmin .9s linear infinite;
}
.rank-owner{color:#e8c36a}
.rank-owner .rank-bits i{
  background:#ffe9a8;box-shadow:0 0 8px #ffd36a,0 0 16px rgba(255,220,140,.8);
  animation:rankBitAdmin .85s linear infinite;
}
.rank-owner .rank-bits i:nth-child(3n){background:#fff;box-shadow:0 0 10px #ffe08a}

.rank-developer .rank-bits i:nth-child(odd){background:#29dbff}
.rank-admin .rank-bits i:nth-child(3n){background:#fff;box-shadow:0 0 8px #ff4d4d}
.rank-bits i:nth-child(1){left:53%;animation-delay:0.17s;width:2px;height:2px}
.rank-bits i:nth-child(2){left:90%;animation-delay:0.34s;width:2px;height:2px}
.rank-bits i:nth-child(3){left:33%;animation-delay:0.51s;width:2px;height:2px}
.rank-bits i:nth-child(4){left:70%;animation-delay:0.68s;width:2px;height:2px}
.rank-bits i:nth-child(5){left:13%;animation-delay:0.85s;width:2px;height:2px}
.rank-bits i:nth-child(6){left:50%;animation-delay:1.02s;width:2px;height:2px}
.rank-bits i:nth-child(7){left:87%;animation-delay:1.19s;width:2px;height:2px}
.rank-bits i:nth-child(8){left:30%;animation-delay:1.36s;width:2px;height:2px}
.rank-bits i:nth-child(9){left:67%;animation-delay:1.53s;width:2px;height:2px}
.rank-bits i:nth-child(10){left:10%;animation-delay:1.7s;width:2px;height:2px}
.rank-bits i:nth-child(11){left:47%;animation-delay:1.87s;width:2px;height:2px}
.rank-bits i:nth-child(12){left:84%;animation-delay:2.04s;width:2px;height:2px}
.rank-bits i:nth-child(13){left:27%;animation-delay:0.01s;width:2px;height:2px}
.rank-bits i:nth-child(14){left:64%;animation-delay:0.18s;width:2px;height:2px}
.rank-bits i:nth-child(15){left:7%;animation-delay:0.35s;width:2px;height:2px}
.rank-bits i:nth-child(16){left:44%;animation-delay:0.52s;width:2px;height:2px}
.rank-bits i:nth-child(17){left:81%;animation-delay:0.69s;width:2px;height:2px}
.rank-bits i:nth-child(18){left:24%;animation-delay:0.86s;width:2px;height:2px}
.rank-bits i:nth-child(19){left:61%;animation-delay:1.03s;width:2px;height:2px}
.rank-bits i:nth-child(20){left:4%;animation-delay:1.2s;width:2px;height:2px}
.rank-bits i:nth-child(21){left:41%;animation-delay:1.37s;width:2px;height:2px}
.rank-bits i:nth-child(22){left:78%;animation-delay:1.54s;width:2px;height:2px}
@keyframes rankBit{
  0%{opacity:0;transform:translateY(3px)}
  20%{opacity:.9}
  100%{opacity:0;transform:translateY(-12px)}
}
@keyframes thunderStrike{
  0%,72%{opacity:0;transform:translate(-50%,-40%) scaleY(.2) rotate(-8deg)}
  76%{opacity:1;transform:translate(-50%,-55%) scaleY(1.15) rotate(6deg)}
  82%{opacity:.35;transform:translate(-50%,-50%) scaleY(.7) rotate(-4deg)}
  86%{opacity:1;transform:translate(-50%,-60%) scaleY(1.05) rotate(3deg)}
  100%{opacity:0;transform:translate(-50%,-70%) scaleY(.15) rotate(-6deg)}
}
@keyframes rankBitAdmin{
  0%{opacity:0;transform:translateY(3px)}
  12%{opacity:1}
  100%{opacity:0;transform:translateY(-14px)}
}
.comment-role.rank-friend,.comment-role.rank-friends,.rank.rank-friend{color:#7c5cbf}

div.rank-owner > .rank-bits,
div.rank-admin > .rank-bits,
div.rank-developer > .rank-bits,
div.rank-friend > .rank-bits,
div.rank-friends > .rank-bits,
.case-row > .rank-bits,
.author-card > .rank-bits,
.author-panel > .rank-bits,
.admin-note > .rank-bits{display:none!important}

a.fmt-link{color:#7ecbff;text-decoration:underline;text-underline-offset:2px}
.notes-toolbar button[data-fmt="link"]{width:auto;padding:0 6px}
.proof-text strong,.notes-body strong,.section-body strong{font-weight:bold;color:#e8eef8}
.proof-text em,.notes-body em,.section-body em{font-style:italic}
.proof-text u,.notes-body u,.section-body u{text-decoration:underline}

.notes-body,.section-body.notes-body,.proof-text{
  white-space:pre-wrap !important;
  word-break:break-word;
}

.notes-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;align-items:center;position:static}
label + .notes-toolbar{margin-top:4px}


body.subpage{padding-bottom:0}
body.subpage .divider{
  position:relative;
  left:auto;right:auto;bottom:auto;
  margin:48px auto 14px;
  width:min(920px,calc(100% - 32px));
  height:1px;
  background:linear-gradient(to right,transparent,#2a2c34 18%,#2a2c34 82%,transparent);
  opacity:.85;
  z-index:2;
  animation:none;
}
body.subpage footer{
  position:relative;
  left:auto;right:auto;bottom:auto;
  opacity:1;
  transform:none;
  animation:none;
  display:block;
  padding:0 16px 36px;
  text-align:center;
  font-size:10px;
  color:#3a3c44;
  z-index:2;
  white-space:nowrap;
}
body.subpage footer .human-note{display:block;margin-bottom:10px;white-space:normal}

body.subpage footer a{color:#3a3c44;text-decoration:none}
body.subpage footer a:hover{color:#e8eef8;text-shadow:0 0 10px rgba(180,200,255,.45)}
body.subpage .human-note{
  position:relative;
  left:auto;right:auto;bottom:auto;
  opacity:1;
  animation:none;
  font-size:8px;
  letter-spacing:.08em;
  color:#292c34;
}

.p-img-row{display:flex;gap:6px;align-items:center;margin:6px 0}
.p-img-row .p-image{flex:1}
.p-img-row .p-file{max-width:180px}
.p-img-del{border:1px solid rgba(125,135,160,.25);background:transparent;color:#9aa3b5;cursor:pointer;padding:4px 8px}
.p-img-add{margin:4px 0 10px;font-size:10px}

.p-img-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
.p-img-row .p-image{flex:1;min-width:160px}
.p-img-row .p-img-caption{flex:1;min-width:120px}
.proof-grid{display:grid;gap:8px;margin:8px 0 12px}
.proof-grid.one{grid-template-columns:1fr}
.proof-grid.pair{grid-template-columns:1fr 1fr}
.proof-grid.tiles{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.proof-tile{position:relative;display:block;aspect-ratio:1;overflow:hidden;border:1px solid rgba(115,125,150,.2);border-radius:4px;background:#020307}
.proof-grid.one .proof-tile{aspect-ratio:auto}
.proof-tile img{width:100%;height:100%;object-fit:cover;display:block}
.proof-grid.one .proof-tile img{height:auto;max-height:520px;object-fit:contain}
.tile-cap{position:absolute;left:0;right:0;bottom:0;padding:4px 6px;font-size:9px;color:#e8eef8;background:linear-gradient(transparent,rgba(0,0,0,.75))}


.anthem-label{font-size:8px;letter-spacing:.12em;color:#6b7280;margin-bottom:6px;text-transform:uppercase}







.anthem-box{margin:0 0 18px;max-width:720px}
.anthem-head{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}
.anthem-row audio{flex:1;min-width:180px;height:32px}


.anthem-section .anthem-row{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:8px;
  width:100%;
}
.anthem-section audio{
  flex:1 1 50%;
  width:50%;
  min-width:0;
  height:32px;
}
.anthem-section #anthemCanvas{
  flex:1 1 50%;
  width:50%;
  height:32px;
  display:block;
}
.anthem-section #anthemMeta{font-weight:normal;letter-spacing:0;color:#9aa3b5;margin-left:8px;text-transform:none}


body.has-theme .comments-section,
body.has-theme .profile-top,
body.has-theme .anthem-section{
  border-color: color-mix(in srgb, var(--theme) 35%, rgba(125,135,160,.16));
}
body.has-theme .comments-title,
body.has-theme .username,
body.has-theme a{ color: color-mix(in srgb, var(--theme) 55%, #e8eef8); }
body.has-theme button{ border-color: color-mix(in srgb, var(--theme) 40%, rgba(125,135,160,.25)); }


#profileBg{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background-size:cover;background-position:center;background-repeat:no-repeat;
  opacity:.35;
  overflow:hidden;
}
#profileBg video{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  border:0;
}

span.rank-owner,a.rank-owner,.comment-role.rank-owner{color:#e8c36a;text-shadow:0 0 12px rgba(255,220,120,.65)}

body.owner-case .author-card,
.case-row.owner-case{
  border-color:rgba(232,195,106,.28);
}

a.profile-link, .user-name, .comment-user, .author-name > a, .author-name > span{
  color:#e8eef8 !important;
  text-shadow:none !important;
}
a.profile-link.owner-name, span.owner-name, .username .owner-name{
  color:#e8c36a !important;
  text-shadow:0 0 10px rgba(255,220,120,.7),0 0 22px rgba(232,195,106,.35) !important;
}
span.rank-owner{
  color:#e8c36a !important;
}

a.profile-link.owner-name, span.owner-name, .comment-user.owner-name, .user-name.owner-name,
.comment-user-line a.owner-name, .username .owner-name{
  color:#e8c36a !important;
  text-shadow:0 0 10px rgba(255,220,120,.75),0 0 22px rgba(232,195,106,.4) !important;
}
