:root{--studio-font:system-ui,"Segoe UI",Roboto,Arial,sans-serif;color-scheme:dark;--paper:#f2eee6;--muted:#ccc9bf;--gold:#e7ab6d;--line:#454441}*{box-sizing:border-box}body{margin:0;background:#17191a;color:var(--paper);font:1.05rem/1.6 var(--studio-font)}header,main,footer{width:min(90%,1180px);margin:auto}header,footer,.row{border-bottom:1px solid var(--line);padding:1.35rem 0}header,nav,.actions,.brand{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}header{justify-content:space-between}.brand{font:bold 1.15rem var(--studio-font);gap:.65rem}.brand img{width:32px;height:40px;object-fit:contain}main{padding:clamp(2rem,6vw,5rem) 0;min-height:70vh}footer,small{color:var(--muted)}a{color:inherit;text-underline-offset:4px}header a,h2 a{text-decoration:none}a:hover{text-decoration:underline}h1,h2{font-family:var(--studio-font);font-weight:400;line-height:1.1;overflow-wrap:anywhere}h1{font-size:clamp(2.6rem,6vw,5rem);letter-spacing:-.045em;margin:.35em 0}h2{font-size:clamp(1.6rem,3vw,2.35rem);margin:.3em 0}p{color:var(--muted);max-width:72ch}.story,form.editor{max-width:760px}.lead{font-size:1.25rem}.copy{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid var(--line);padding-top:2rem}.row small,.notice{color:var(--gold)}label{display:block;margin:1rem 0}input,textarea{display:block;width:100%;margin-top:.35rem;background:#202223;color:var(--paper);border:1px solid #77746d;border-radius:3px;padding:.7rem;font:inherit}textarea{resize:vertical}.login{max-width:380px}button,.button{display:inline-block;border:0;border-radius:3px;padding:.65rem 1rem;background:var(--gold);color:#201c17;font:600 .95rem var(--studio-font);cursor:pointer;text-decoration:none}.quiet{color:var(--paper);background:#383936}:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.actions form{margin:0}.row p{margin:.5rem 0}.notice{border-left:2px solid;padding-left:1rem}
.designed{background-size:cover;background-position:center;padding:clamp(1rem,4vw,3rem);margin:1rem 0;border-radius:4px;font-size:var(--body);overflow-wrap:anywhere}.designed h1{font-size:min(var(--heading),14vw)}.designed h2{font-size:calc(var(--heading)*.68)}.designed p{color:inherit}.post-body{white-space:pre-wrap;max-width:74ch}.post-body figure{margin:1em 0;white-space:normal}.post-body img{display:block;max-width:100%;height:auto}.post-body figcaption{font-size:.9em}.settings{padding:1rem;border:1px solid var(--line);margin:1rem 0}.settings summary{cursor:pointer;color:var(--gold);font-weight:bold}.settings input[type=color]{width:5rem;height:3rem;padding:.2rem}.post-nav{display:flex;justify-content:space-between;gap:1rem}.post-nav [rel=next]{margin-left:auto}
.tag-links{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;margin:1rem 0;color:var(--gold)}.tag-directory{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}.tag-directory label{max-width:28rem}footer.shared-footer{display:block;width:100%;padding:0}tld-footer{display:block;width:100%}

.tag-links.cloud-panel {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 1.2rem 1.6rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  min-height: 11rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: radial-gradient(ellipse at center, #302c28, #1c1d1e 80%);
}
.cloud-panel > span {
  max-width: 100%;
  overflow-wrap: anywhere;
  font: .85rem/1.4 var(--studio-font);
  animation: studio-tag-drift 6s ease-in-out infinite alternate;
}
.cloud-panel a { font: normal var(--size)/1.2 var(--studio-font); }
.cloud-panel > span:nth-child(3n) { animation-delay: -3s; }
.cloud-panel > span:nth-child(3n+1) { animation-direction: alternate-reverse; animation-duration: 8s; }
@keyframes studio-tag-drift {
  from { transform: translate(-3px, 3px); }
  to { transform: translate(3px, -3px); }
}
.tag-directory:hover .cloud-panel > span,
.tag-directory:focus-within .cloud-panel > span { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .cloud-panel > span { animation: none; }
}

.panel-list{margin-top:2.5rem}.panel-list h3{margin:.3em 0;font:normal 1.6rem/1.2 var(--studio-font);overflow-wrap:anywhere}
.draft-list{padding:1rem 1.5rem;background:#242526;border:1px solid #48494a;border-radius:4px;color:#bcbcbc}
.draft-list a:hover,.draft-list a:focus-visible{color:#fff}

body{container-type:inline-size}
article.designed,article.story{box-sizing:border-box;width:100cqw;max-width:none;margin-inline:calc(50% - 50cqw);padding-inline:clamp(1rem,5vw,4rem);text-align:center;border-radius:0}
article.designed{background-size:100% 100%,100% auto;background-position:center top;background-repeat:no-repeat,repeat-y}
article.designed :is(h1,h2,p,.post-body),article.story :is(h1,p,.copy){margin-inline:auto;max-width:74ch}
.post-body figure img{margin-inline:auto}
.inline-tag{color:#ffcd8d;background:#302318;padding:.03em .15em;border-radius:.2em;text-decoration:underline;text-underline-offset:.14em}
