/* Reader accounts (/konto/, inc/account.php). Form look shared with the comment form (comments.css: cm-form, cm-lab …). */
.acc-hero .cp-in { min-height: 0; gap: 22px; padding-block: 26px 36px; }
.acc-hero .big { font-size: clamp(60px, 10vw, 140px); overflow-wrap: anywhere; }
.acc.sec { padding-block: 48px 84px; }
.acc-narrow { max-width: 520px; }
.acc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; align-items: start; }
@media (max-width: 900px) { .acc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.acc-card { padding: 22px 22px 20px; }
.acc-card > p, .acc-card form > p:not(.acc-f) { margin-bottom: 12px; line-height: 1.5; }
.acc-card a:not(.go) { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.acc-h { font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 30px; line-height: 1; margin-bottom: 16px; }
.acc-h span { font-family: var(--f-jp); font-size: 15px; letter-spacing: .1em; color: var(--red-t); }
.acc-h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.acc-sep { margin-top: 20px; padding-top: 18px; border-top: 2px dashed var(--stripe); }
.acc-f { margin: 0 0 14px; }
.acc-card input[type="password"], .acc-card input[type="file"] { display: block; width: 100%; border: 2.5px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); padding: 10px 12px; font-size: 16px; line-height: 1.5; -webkit-appearance: none; appearance: none; transition: box-shadow .15s; }
.acc-card input[type="file"] { padding: 8px; font-size: 14px; }
.acc-card input[type="password"]:focus { outline: none; box-shadow: 4px 4px 0 var(--red); }
.acc-pass { position: relative; display: block; }
.acc-pass input { padding-right: 92px !important; }
.acc-eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); border: 0; background: transparent; color: var(--ink); padding: 6px 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.acc-eye:hover { color: var(--red-t); }
.cm-check.is-bad { color: var(--red-t); }
.cm-check a { text-decoration: underline; text-underline-offset: 3px; }
.acc-go-s { font-size: 17px; padding: 11px 18px; box-shadow: 4px 4px 0 var(--ink); }
.acc .go { display: inline-block; }
.acc-link { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.acc-link:hover { color: var(--red-t); }
.acc-btn-link { border: 0; background: none; padding: 0; cursor: pointer; color: inherit; }
.acc-switch { margin-top: 26px; font-family: var(--f-mono); font-size: 13px; }
.acc-switch a { color: var(--red-t); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.acc-small { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; color: var(--mute); margin-top: 12px; }
.acc-big { font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 30px; line-height: 1.05; margin-bottom: 12px; }
.acc-who { font-family: var(--f-mono); font-size: 12.5px; margin-bottom: 14px; overflow-wrap: anywhere; }

/* Messages */
.acc-msg { margin: 0 0 18px; padding: 12px 14px; border: 2.5px solid var(--ink); font-weight: 500; line-height: 1.45; }
.acc-msg-ok { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--red); }
.acc-msg-error { background: var(--tint); color: var(--ink); border-color: var(--red); }
.acc-grid + .acc-msg, .acc > .wrap > .acc-msg { max-width: 860px; }

/* Account page */
.acc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.acc-pic { display: flex; gap: 18px; align-items: flex-start; }
.acc-pic-img img { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--red); }
.acc-pic-act { flex: 1; min-width: 0; display: grid; gap: 10px; }
.acc-pic-form { display: grid; gap: 6px; }
.acc-pic-form .go { justify-self: start; margin-top: 6px; }
@media (max-width: 480px) { .acc-pic { flex-direction: column; } }
.acc-stats { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.acc-stats b { font-family: var(--f-disp); font-size: 40px; font-weight: 900; font-stretch: 62%; letter-spacing: 0; color: var(--red-t); margin-right: 4px; vertical-align: -6px; }
.acc-danger summary { cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-t); }
.acc-danger[open] summary { margin-bottom: 12px; }
.acc-go-danger { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--red); }
