/* ThorRank owner area (/account, 2026-11-14): sign in, your sites, prove a site, listing editor. Reuses app.css + site.css parts. */
.acc-main { padding-bottom: 20px; }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 20px; }
.crumb + .acc-head { padding-top: 14px; }
.acc-head h1 { display: flex; align-items: center; gap: 10px; font-size: clamp(26px, 3vw, 36px); overflow-wrap: anywhere; }
.acc-head h1 .verified { width: 22px; height: 22px; } .acc-head h1 .pmark { width: 20px; height: 20px; }
.acc-head .host, .my-site .host { color: var(--dim); font-size: 14px; }
.acc-head .sp-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acc-head .sp-title img, .logo-row > img { border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; object-fit: cover; }
.crumb { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.crumb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.crumb:hover { color: var(--text); } .crumb:hover svg { transform: translateX(-3px); }
.ph { font-size: 18px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ph-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ph-note { color: var(--dim); font-size: 13.5px; } .ph-note b { color: var(--text); }
.flash { margin-bottom: 18px; padding: 13px 16px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 14%, var(--panel)); border: 1px solid var(--ok); font-weight: 600; font-size: 15px; animation: flash-in .45s cubic-bezier(.2, 1.2, .4, 1); }
.flash.bad { background: color-mix(in srgb, #e5484d 12%, var(--panel)); border-color: #e5484d; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } }

/* forms */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form label { display: grid; gap: 6px; min-width: 0; }
.form label > span:first-child, .form legend { font-weight: 650; font-size: 14px; }
.form i { font-style: normal; font-weight: 500; color: var(--dim); font-size: 13px; margin-left: 6px; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=url], .form textarea, .form select, .shot input[type=text] {
  width: 100%; min-width: 0; height: 46px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 500 16px "Inter Tight", sans-serif; transition: border-color .15s, box-shadow .15s; }
.form textarea { height: auto; padding: 11px 13px; line-height: 1.5; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus, .shot input:focus { outline: 0; border-color: var(--volt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--volt) 30%, transparent); }
.form ::placeholder, .shot ::placeholder { color: var(--dim); }
.form .select { display: block; } .form .select select { height: 46px; background: var(--bg); border-color: var(--line2); font-weight: 500; font-size: 16px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 640px) { .two { grid-template-columns: minmax(0, 1fr); } }
.narrow { max-width: 300px; }
.form fieldset { min-width: 0; margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.form fieldset.bare { padding: 0; border: 0; gap: 14px; justify-items: start; } .form fieldset.bare label { width: 100%; }
.form legend { float: left; width: 100%; padding: 0; margin-bottom: 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.form legend + * { clear: both; }
.form fieldset[disabled] input, .shot input[disabled] { opacity: .5; cursor: not-allowed; background: var(--card); }
.inl { grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 10px !important; } .inl span { font-weight: 600 !important; color: var(--muted); }
.plus-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 6px; background: var(--volt); color: var(--volt-ink); font-size: 12px; font-weight: 750; letter-spacing: .01em; }
.lock { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.form-foot a, .linkish { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.linkish { border: 0; background: none; padding: 0; cursor: pointer; font-size: 14px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches label { position: relative; display: block; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatches i { display: block; width: 36px; height: 36px; margin: 0; border-radius: 50%; border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--line2); transition: transform .15s, box-shadow .15s; }
.swatches input:checked + i { box-shadow: 0 0 0 3px var(--text); transform: scale(1.08); }
fieldset[disabled] .swatches { opacity: .45; }
.danger { margin: 26px 0 0; } .danger button { border: 0; background: none; padding: 0; color: var(--dim); font-size: 13.5px; text-decoration: underline; cursor: pointer; } .danger button:hover { color: #e5484d; }
.empty { padding: 30px 0; color: var(--muted); }

/* sign in */
.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 440px); gap: 56px; align-items: center; padding: 56px 0 30px; }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 30px; } }
.auth h1 { font-size: clamp(32px, 4.4vw, 52px); }
.auth .sec-sub { margin-top: 14px; max-width: 34em; font-size: 17px; }
.auth-points { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 16px; animation: flash-in .5s cubic-bezier(.2, 1.2, .4, 1) both; }
.auth-points li:nth-child(2) { animation-delay: .12s; } .auth-points li:nth-child(3) { animation-delay: .24s; }
.auth-points b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--volt); color: var(--volt-ink); font-weight: 800; }
.auth-seg { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 20px; } .auth-seg button { height: 40px; padding: 0 6px; white-space: nowrap; }
.auth-box .btn { width: 100%; }

/* your sites */
.add-site { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px; align-items: center; }
@media (max-width: 900px) { .add-site { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.add-site .ph-note { display: block; margin-top: 4px; }
.my-sites { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.my-site { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; transition: border-color .15s, transform .15s; }
.my-site:hover { border-color: var(--volt); transform: translateY(-2px); }
.my-site .site-name b { font-size: 18px; }
.my-site .thumb { width: 150px; }
.meter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; color: var(--dim); font-size: 13px; }
.meter .bar { flex: 0 0 140px; } .meter .bar i { transition: none; }
.pend { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 6px; background: var(--card); border: 1px solid var(--line2); color: var(--muted); font-size: 12.5px; font-weight: 650; }
.go { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: 14.5px; white-space: nowrap; }
.go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.my-site:hover .go svg { transform: translateX(3px); }
@media (max-width: 640px) { .my-site { grid-template-columns: minmax(0, 1fr) auto; } .my-site .thumb { display: none; } }

/* prove */
.prove { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .prove { grid-template-columns: minmax(0, 1fr); } }
.step-n { display: inline-block; margin-bottom: 10px; padding: 3px 9px; border-radius: 6px; background: var(--volt); color: var(--volt-ink); font-size: 12.5px; font-weight: 750; }
.prove h2 { font-size: clamp(22px, 2.6vw, 30px); overflow-wrap: anywhere; }
.ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 20px 0; }
.ways details { border: 1px solid var(--line2); border-radius: 12px; background: var(--bg); }
.ways details[open] { border-color: var(--volt); }
.ways summary { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 16px; cursor: pointer; list-style: none; }
.ways summary::-webkit-details-marker { display: none; }
.ways summary::after { content: ""; margin-left: auto; align-self: center; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.ways details[open] summary::after { transform: rotate(-135deg); }
.ways summary span { color: var(--dim); font-size: 14px; }
.ways details > p, .ways .copy-row { margin: 0 16px 14px; }
.ways p { color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.ways code { font: 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); }
.copy-row { display: flex; gap: 10px; align-items: stretch; }
.copy-row .code { flex: 1; min-width: 0; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--panel); }
.copy-row .btn { height: auto; min-height: 38px; }
@media (max-width: 560px) { .copy-row { flex-direction: column; } }
.prove-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.next-up .hl-list { grid-template-columns: minmax(0, 1fr); margin-top: 6px; }

/* editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.ed-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.ed-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; position: sticky; top: 84px; }
@media (max-width: 1000px) { .editor { grid-template-columns: minmax(0, 1fr); } .ed-side { position: static; grid-row: 1; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); } }
.locked form { opacity: .6; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 14px; margin-bottom: 16px; }
.shot { display: grid; gap: 8px; min-width: 0; animation: gal-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.shot-img { position: relative; border-radius: 11px; overflow: hidden; border: 1px solid var(--line2); aspect-ratio: 16 / 10; background: var(--card); }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot.over .shot-img img { filter: grayscale(1); opacity: .45; }
.cover { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--volt); color: var(--volt-ink); font-size: 12px; font-weight: 750; }
.cover.off { background: rgba(10, 12, 20, .82); color: #eef0f8; }
.shot input[type=text] { height: 38px; font-size: 14px; }
.shot-acts { display: flex; justify-content: space-between; gap: 8px; }
.shot-acts button { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.shot-acts button:hover { color: var(--text); } .shot-acts .del:hover { color: #e5484d; }
/* 2026-11-25 (owner: "make the make cover link and remove link more noticeable"): real buttons with an icon */
.shot-acts .sa-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1.5px solid var(--line2); background: var(--panel); color: var(--text); font-size: 13.5px; font-weight: 700;
  transition: border-color .15s, background .15s, color .15s, transform .15s; }
.shot-acts .sa-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.shot-acts .sa-btn:hover { border-color: var(--volt); background: color-mix(in srgb, var(--volt) 18%, var(--panel)); color: var(--text); transform: translateY(-1px); }
.shot-acts .sa-btn.del { color: #d93a3f; border-color: color-mix(in srgb, #e5484d 45%, var(--line2)); }
.shot-acts .sa-btn.del:hover { background: #e5484d; border-color: #e5484d; color: #fff; }
.shot-acts form { display: flex; }
.drop { position: relative; display: grid; justify-items: center; gap: 12px; margin-top: 6px; padding: 26px 18px; border-radius: 14px; border: 2px dashed var(--line2); background: var(--bg); text-align: center; transition: border-color .15s, background .15s, transform .15s; }
.drop.over, .drop:hover { border-color: var(--volt); background: color-mix(in srgb, var(--volt) 8%, var(--bg)); }
.drop.over { transform: scale(1.01); }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop label { display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.drop label svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--volt); fill: none; stroke: var(--volt-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.drop:hover label svg { animation: bob .8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.drop label span { color: var(--dim); font-size: 13.5px; }
.drop .btn { position: relative; z-index: 1; }
.drop.js .btn { display: none; }
.drop.busy { pointer-events: none; opacity: .7; }
.limit-note { display: flex; align-items: center; gap: 9px; margin-top: 6px; padding: 12px 14px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.limit-note .lock { flex: none; width: 16px; height: 16px; }
.logo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-row .ltile { --s: 64px; }
.logo-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.logo-form input { max-width: 100%; min-width: 0; width: 100%; flex: 1 1 200px; font-size: 14px; color: var(--muted); }
.upd-ed { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.upd-ed li { grid-template-columns: 96px minmax(0, 1fr) auto; }
@media (max-width: 560px) { .upd-ed li { grid-template-columns: minmax(0, 1fr); } }

/* side cards */
.done-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.mini-ring { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--volt) calc(var(--p) * 1%), var(--line) 0); animation: spin-in .9s cubic-bezier(.2, .8, .2, 1); }
.mini-ring b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--panel); font-weight: 750; font-size: 17px; letter-spacing: -.02em; }
@keyframes spin-in { from { transform: rotate(-120deg); opacity: 0; } }
.todo { list-style: none; padding: 0; display: grid; gap: 9px; }
.todo li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.todo li i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); }
.todo li.ok { color: var(--text); font-weight: 600; }
.todo li.ok i { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.500L19 7.500'/%3E%3C/svg%3E") center / 12px no-repeat; }
.todo .plus-tag { margin-left: auto; }
.plan-card { position: relative; overflow: hidden; border: 2px solid var(--volt); }
/* the brand's rounded bolt in the corner (2026-11-21, owner: "rounder and more premium"): masked yellow gradient that fades out, floating slowly */
.plan-card::after { content: ""; position: absolute; right: 2px; top: -14px; width: 96px; height: 142px; pointer-events: none; opacity: .3;
  background: linear-gradient(165deg, var(--volt) 10%, color-mix(in srgb, var(--volt) 55%, transparent) 55%, transparent 92%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='11 1 42 62'%3E%3Cpath d='M37 4 14 36h14l-5 24 27-34H35l6-22z' fill='%23000' stroke='%23000' stroke-width='6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='11 1 42 62'%3E%3Cpath d='M37 4 14 36h14l-5 24 27-34H35l6-22z' fill='%23000' stroke='%23000' stroke-width='6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: rotate(14deg); animation: plan-bolt 6s ease-in-out infinite; }
[data-theme="dark"] .plan-card::after { opacity: .24; }
@keyframes plan-bolt { 0%, 100% { transform: rotate(14deg) translateY(0); } 50% { transform: rotate(10deg) translateY(8px); } }
.plan-card h2 { font-size: 30px; margin: 6px 0 14px; }
.plan-now { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.plan-card.on .plan-now { font-size: 20px; color: var(--text); }
.plan-card.on .pmark { width: 22px; height: 22px; }
.plan-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.plan-card .hl-list { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-bottom: 18px; }
.plan-card .hl-list li { font-size: 14.5px; }
.plan-card .hl-list svg { width: 20px; height: 20px; }
.plan-card .btn { width: 100%; white-space: normal; height: auto; min-height: 48px; padding-block: 10px; }
.plan-card .fine { font-size: 13px; color: var(--dim); }
.logo-form input::file-selector-button { height: 38px; margin-right: 10px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: 650 14px "Inter Tight", sans-serif; cursor: pointer; }
.logo-form input::file-selector-button:hover { border-color: var(--volt); }

/* ── 2026-11-14 (2): provider sign-in, password, boost card ── */
.oauths { display: grid; gap: 10px; }
.oauth { width: 100%; gap: 10px; background: var(--panel); }
.oauth svg { width: 20px; height: 20px; }
.oauth:hover { border-color: var(--volt); }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--dim); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fine { font-size: 13px; color: var(--dim); }
.fine a, .agree a { color: var(--text); text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.acc-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pw { margin-top: 26px; padding: 0; }
.pw summary { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 18px 26px; cursor: pointer; list-style: none; }
.pw summary::-webkit-details-marker { display: none; }
.pw summary span { color: var(--dim); font-size: 14px; }
.pw summary::after { content: ""; margin-left: auto; align-self: center; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.pw[open] summary::after { transform: rotate(-135deg); }
.pw .form { padding: 0 26px 24px; justify-items: start; } .pw .two { width: 100%; }
.boost-card p { color: var(--muted); font-size: 14.5px; margin: 8px 0 14px; }
.boost-card p b { color: var(--text); } .boost-card .ok { color: var(--ok); }
.boost-card .btn { width: 100%; }
.boost-card .fine { margin: 12px 0 0; }
.boost-price { font-weight: 700; color: var(--text) !important; font-size: 16px !important; }
.agree { grid-template-columns: 22px minmax(0, 1fr) !important; align-items: start; gap: 10px !important; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--volt); }
.agree span { font-weight: 500 !important; font-size: 13.5px !important; color: var(--muted); }
/* listing head: Analytics + View public page (2026-11-15) */
.acc-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.an-ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
/* analytics "ad" (tr_an_promo in include/an.php, 2026-11-15): right column on /account, top of the editor's side column */
.acc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.acc-col { min-width: 0; }
.acc-cols .add-site { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.acc-aside { position: sticky; top: 84px; }
.ed-side:has(.an-promo) { position: static; }
.an-promo { position: relative; display: grid; gap: 12px; padding: 22px; overflow: hidden; border-color: var(--volt); }
.an-promo-tag { justify-self: start; padding: 3px 9px; border-radius: 6px; background: var(--volt); color: var(--volt-ink); font-size: 12px; font-weight: 750; }
.an-promo p { margin: 0; font-size: 14px; color: var(--muted); }
.an-promo code { font: 12.5px ui-monospace, "SF Mono", Menlo, monospace; padding: 1px 4px; border-radius: 4px; background: var(--card); }
.an-promo-code { margin: 0; padding: 10px 12px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.an-promo-win { border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); overflow: hidden; box-shadow: 0 10px 24px -14px rgba(13, 16, 32, .35); }
.an-promo-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid var(--line); background: var(--card); }
.an-promo-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); }
.an-promo-bar em { margin-left: 6px; font-style: normal; font-size: 11px; color: var(--dim); }
.an-promo-body { position: relative; padding: 12px 14px 12px; }
.an-promo-live { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; background: var(--panel);
  border: 1px solid var(--line); font-size: 11.5px; font-weight: 650; }
.an-promo-live b { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: an-promo-ping 1.8s infinite; }
.an-promo-num { display: grid; font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.an-promo-num small { font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.an-promo-chart { display: flex; align-items: flex-end; gap: 5px; height: 64px; margin-top: 10px; }
.an-promo-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--volt); transform-origin: bottom;
  animation: an-promo-grow .7s cubic-bezier(.2, .9, .3, 1.2) both, an-promo-breathe 3s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms), calc(.8s + var(--i) * 150ms); }
.an-promo-pts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.an-promo-pts li { display: flex; gap: 8px; align-items: baseline; }
.an-promo-pts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--volt); transform: translateY(-1px); }
.an-promo .btn { justify-self: start; }
@keyframes an-promo-grow { from { transform: scaleY(0); } }
@keyframes an-promo-breathe { 50% { transform: scaleY(.82); } }
@keyframes an-promo-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
@media (max-width: 900px) { .acc-cols { grid-template-columns: minmax(0, 1fr); } .acc-aside { position: static; } }
.flash a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* automatic site icon line under the logo (2026-11-15) */
.icon-auto { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.icon-auto p { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: 14px; flex: 1 1 260px; }
.icon-auto .btn[disabled] { opacity: .55; cursor: default; }
.spin-sm { flex: none; width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid var(--volt-text); border-right-color: transparent; animation: spin-sm .7s linear infinite; }
@keyframes spin-sm { to { transform: rotate(360deg); } }

/* 2026-11-18: payments */
.plan-btns { display: grid; gap: 10px; margin-top: 14px; }
.plan-card h2 .plan-price { display: inline-flex; align-items: baseline; gap: 6px; margin-left: 6px; font-size: 22px; color: var(--text); }
.plan-card h2 .plan-price s { color: var(--dim); font-size: 15px; font-weight: 600; }
.plan-card h2 .plan-price i { font-style: normal; color: var(--dim); font-size: 14px; font-weight: 600; }
.pay-list ul { list-style: none; margin: 8px 0 0; padding: 0; }
.pay-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.pay-list li:first-child { border-top: 0; }
.pl-what { display: grid; min-width: 0; } .pl-what i { font-style: normal; color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
.pl-amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.pay-list .mini { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line2); color: var(--text); font-size: 13px; font-weight: 600; }
.pay-list .mini:hover { border-color: var(--volt); }
@media (max-width: 420px) { .pay-list li { grid-template-columns: minmax(0, 1fr) auto; } .pay-list .mini { grid-column: 1 / -1; justify-self: start; } }

/* ── mail pages: unsubscribe, not my site, remove listing (2026-11-20, mailpages.php) ── */
.mx-main { display: grid; place-items: center; padding: 64px 0 80px; }
.mx-card { width: min(520px, 100%); padding: 34px 30px 30px; border-radius: 22px; text-align: left; animation: mx-in .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes mx-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.mx-ic { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 17px; background: var(--volt); color: var(--volt-ink);
  animation: pop-badge 1.6s cubic-bezier(.3, 1.6, .5, 1) .4s infinite; }
.mx-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mx-card h1 { font-size: clamp(24px, 4vw, 30px); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
.mx-card .sec-sub { margin: 10px 0 22px; overflow-wrap: anywhere; }
.mx-card .btn-danger { background: #e5484d; color: #fff; } .mx-card .btn-danger:hover { background: #f05a5f; }
.mx-alt { margin-top: 16px; }
/* contact form bot trap + trust-check question (2026-11-21) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tr-q { display: grid; gap: 6px; }

/* "See who visits" strip under a proven site without analytics (owner 2026-11-21); hidden for good with "Hide the analytics link" on /analytics */
.my-site-w { display: grid; min-width: 0; }
.my-site-w.has-an .my-site { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.my-site-w.has-an .my-site:hover { transform: none; }
.my-an { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px;
  background: var(--card); color: var(--muted); font-size: 14px; transition: background .15s, color .15s; }
.my-an > svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--volt-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.my-an span { flex: 1; min-width: 0; overflow-wrap: anywhere; } .my-an b { color: var(--text); font-weight: 650; }
.my-an i { flex: none; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 700; color: var(--text); }
.my-an i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .2s; }
.my-an:hover { background: var(--hover); color: var(--text); } .my-an:hover > svg { transform: translateY(-2px) scale(1.12); } .my-an:hover i svg { transform: translateX(3px); }
@media (max-width: 520px) { .my-an span { font-size: 13px; } .my-an i { display: none; } }
/* /analytics intro: "Not for you? Hide the analytics link" */
.an-optout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.an-optout button { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.an-optout button:hover { color: var(--text); }

/* account mails (2026-11-24): the "choose a new password" page = the sign-in box on its own; the confirm-your-address bar */
.auth-one { grid-template-columns: minmax(0, 460px); justify-content: center; }
.auth-one h1.ph { font-size: 26px; margin: 0 0 6px; }
.auth-one .ph-note { margin: 0 0 18px; }
[data-pane="forgot"] .ph-note { margin: 0; }
.confirm-note { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; background: color-mix(in srgb, var(--volt) 16%, var(--panel)); border-color: var(--volt); }
.confirm-note span { flex: 1 1 260px; }

/* uptime alerts panel on the listing page (2026-11-24) */
.al-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; }
.al-row p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.al-row p b { color: var(--text); }
.al-state { display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; font-weight: 750; font-size: 17px; white-space: nowrap; }
.al-state small { grid-column: 2; color: var(--dim); font-size: 12.5px; font-weight: 600; }
.al-state i { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); animation: al-pulse 1.8s ease-out infinite; }
.al-state.down { color: #e5484d; } .al-state.down i { background: #e5484d; box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); }
@keyframes al-pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.alerts-p .limit-note { margin-top: 14px; }
@media (max-width: 640px) { .al-row { grid-template-columns: 1fr auto; } .al-row p { grid-column: 1 / -1; grid-row: 2; } }
/* Plus slots from Pro (2026-11-25): counter bar, list, add form, offer on a Free listing, summary on "Your sites" */
.slots { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--line); }
.slots-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.slots-head > b { font-size: 17px; }
.slots-n, .ss-n { color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.slots-n b, .ss-n b { color: var(--text); font-size: 20px; font-weight: 800; }
.slots-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; margin-top: 10px; }
.slots-bar i { display: block; height: 12px; border-radius: 3px; background: var(--line); }
.slots-bar i.on { background: var(--volt); transform-origin: left; animation: slot-fill .6s cubic-bezier(.2, .8, .2, 1) both; }
.slots-bar i.on:nth-child(2) { animation-delay: .08s; } .slots-bar i.on:nth-child(3) { animation-delay: .16s; }
.slots-bar i.on:nth-child(4) { animation-delay: .24s; } .slots-bar i.on:nth-child(5) { animation-delay: .32s; }
@keyframes slot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slots .fine { margin-top: 10px; }
.slots-list { list-style: none; margin: 10px 0 0; padding: 0; }
.slots-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.slots-list li a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.slots-add { display: grid; gap: 8px; margin-top: 12px; }
.slots-add .select select { width: 100%; height: 48px; background: var(--bg); border-color: var(--line2); font-size: 15px; }
.slot-offer { margin: 0 0 18px; padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--volt) 18%, var(--panel)); border: 2px solid var(--volt); animation: slot-pop .5s cubic-bezier(.2, .8, .2, 1) both; }
.slot-offer > b { display: flex; align-items: center; gap: 7px; font-size: 17px; }
.slot-offer p { margin: 6px 0 12px; color: var(--text); font-size: 14.5px; }
@keyframes slot-pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.slots-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; margin-top: 18px; padding: 16px 18px; border: 2px solid var(--volt); color: var(--text); transition: transform .15s; }
.ss-txt { display: grid; gap: 3px; min-width: 0; }
.ss-txt b { display: flex; align-items: center; gap: 7px; font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.ss-txt i { font-style: normal; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.slots-sum .slots-bar { grid-column: 1 / -1; margin-top: 4px; }
@media (max-width: 420px) { .slots-sum { grid-template-columns: minmax(0, 1fr); } }
/* a paid plan waiting for a site ("Decide later", 2026-11-25) */
.waiting { display: grid; gap: 14px; margin-top: 18px; padding: 18px; border: 2px solid var(--volt); background: color-mix(in srgb, var(--volt) 12%, var(--panel)); animation: slot-pop .5s cubic-bezier(.2, .8, .2, 1) both; }
.wt-txt { display: grid; gap: 4px; min-width: 0; }
.wt-txt b { display: flex; align-items: center; gap: 7px; font-size: 17px; }
.wt-txt span { color: var(--muted); font-size: 14.5px; }
.wt-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.wt-form .select select { width: 100%; height: 48px; background: var(--bg); border-color: var(--line2); font-size: 15px; }
.wt-form .btn { height: 48px; }
.wt-none { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 520px) { .wt-form { grid-template-columns: minmax(0, 1fr); } }

/* captions: it is obvious when they are not saved yet (2026-11-25) — the changed field turns yellow, the bar says so and sticks to
   the bottom of the screen with a yellow Save button until it is saved (js/account.js marks .dirty) */
.cap-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--panel); transition: border-color .2s, background .2s, box-shadow .2s; }
.cap-state { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.cap-state i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.cap-bar.dirty { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; border-color: var(--volt); background: color-mix(in srgb, var(--volt) 18%, var(--panel)); box-shadow: 0 14px 30px -14px rgba(13, 16, 32, .45); animation: cap-in .35s cubic-bezier(.2, 1.3, .4, 1) both; }
.cap-bar.dirty .cap-state { color: var(--text); font-weight: 750; }
.cap-bar.dirty .cap-state i { background: var(--volt-text); box-shadow: 0 0 0 0 color-mix(in srgb, var(--volt) 70%, transparent); animation: cap-ping 1.4s ease-out infinite; }
.cap-bar.dirty .btn { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.cap-bar.dirty .btn:hover { background: var(--volt-hover); }
.shot input.cap-dirty { border-color: var(--volt); background: color-mix(in srgb, var(--volt) 10%, var(--bg)); }
@keyframes cap-in { from { transform: translateY(8px); } }
@keyframes cap-ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
/* page colour (2026-11-25): a click colours this settings page like the public page (site.css .has-accent): the name gets an
   underline and the screenshots a frame in that colour. js/account.js sets main.acc-on + --accent. */
.acc-on .sp-title h1 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.acc-on .shot-img { border-color: var(--accent); box-shadow: 0 14px 30px -16px var(--accent); }
.sp-title h1, .shot-img { transition: text-decoration-color .3s, border-color .3s, box-shadow .3s; }
main.acc-flash .sp-title h1 { animation: acc-flash .5s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes acc-flash { 40% { transform: scale(1.03); } }
.acc-try { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--volt) 14%, var(--panel)); font-size: 14px; color: var(--text); }
.acc-try .btn { margin-left: auto; }
@media (max-width: 560px) { .acc-try .btn { margin-left: 0; } }
/* pasted screenshot pop-up (js/account.js) */
.paste-pop { width: min(520px, calc(100vw - 32px)); }
.paste-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: var(--card); max-height: 46vh; display: grid; place-items: center; }
.paste-img img { display: block; max-width: 100%; max-height: 46vh; object-fit: contain; }
.paste-size { margin: 8px 0 18px; color: var(--dim); font-size: 13px; }
.paste-pop .pop-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
/* "Listing complete": why an item is not done yet (2026-11-25), and the live About count */
.todo li > .td-l { display: grid; min-width: 0; }
.todo li small { color: var(--dim); font-size: 12.5px; font-weight: 500; }
.about-n { transition: color .2s; }
.about-n.ok { color: var(--ok); font-weight: 650; }
.todo li > .td-l { flex: 1 1 auto; }
.todo .plus-tag { flex: none; white-space: nowrap; }

/* "Your sites" page: room between the sites and the Payments panel (2026-11-25) */
.my-sites + .pay-list, .empty + .pay-list, .acc-col > .pay-list { margin-top: 26px; }

/* Plus slots managed right on "Your sites" (2026-11-26): one row per verified site */
.ss-list { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ss-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.ss-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ss-list li > img, .ss-list li > .ltile { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.ss-host { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.ss-st { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ss-st.on { color: var(--text); } .ss-st .pmark { width: 14px; height: 14px; }
.ss-list form { display: flex; flex: none; }
.ss-list .mini { height: 32px; padding: 0 12px; border-radius: 9px; border: 1.5px solid var(--line2); background: var(--panel); color: var(--text); font: 700 13px "Inter Tight", sans-serif; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.ss-list .mini:hover { border-color: var(--volt); transform: translateY(-1px); }
.ss-list .mini.go { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.ss-list .mini[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.ss-none { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 420px) { .ss-list li { flex-wrap: wrap; } .ss-host { flex-basis: calc(100% - 32px); } }
/* one-click claim confirm page (2026-11-26) */
.mc-box { max-width: 620px; margin: 40px auto; padding: 32px; display: grid; gap: 16px; }
.mc-site { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mc-site img, .mc-site .ltile { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.mc-site h1 { font-size: clamp(26px, 5vw, 36px); letter-spacing: -.03em; overflow-wrap: anywhere; }
.mc-eyebrow { display: block; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.mc-why { margin: 0; color: var(--text); font-size: 16px; }
.mc-list { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; }
.mc-go { width: 100%; min-height: 54px; font-size: 17px; }
.mc-fine { margin: 0; color: var(--muted); font-size: 13.5px; } .mc-fine a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
/* monthly report switch (2026-11-26) */
.rep-sw { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding: 18px 26px; }   /* same spacing as its .pw siblings */
.rep-sw > div { display: grid; gap: 2px; min-width: 0; } .rep-sw b { font-size: 16px; } .rep-sw span { color: var(--muted); font-size: 14px; }
/* "Show your badge" on the listing page (2026-11-26) */
.badge-card { display: grid; gap: 10px; }
.badge-card .ph-note { margin: -4px 0 4px; }
.bc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.bc-row img { display: block; height: 34px; width: auto; max-width: calc(100% - 110px); }
/* ── Control room (2026-11-26): the top of a verified owner's listing page; hidden inside the edit panel (the listing is right behind it) ── */
.in-frame .cr { display: none; }
.cr { display: grid; gap: 16px; margin: 6px 0 26px; }
.cr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cr-head h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 3.2vw, 30px); letter-spacing: -.03em; margin: 0; }
.cr-bolt { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--volt); fill: #10131f; animation: cr-zap 2.8s ease-in-out infinite; }
@keyframes cr-zap { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-12deg) scale(1.12); } 94% { transform: rotate(8deg) scale(1.05); } }
.cr-live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.cr-live i { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; animation: cr-pulse 1.6s ease-out infinite; }
.cr-live.down { border-color: #dc2626; color: #dc2626; } .cr-live.down i { background: #dc2626; } .cr-live.wait i { background: var(--muted); animation: none; }
@keyframes cr-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); } 100% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } }
.cr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cr-tile { position: relative; display: grid; align-content: start; gap: 4px; padding: 18px 18px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; overflow: hidden; transition: transform .15s, border-color .15s; }
a.cr-tile:hover { transform: translateY(-2px); border-color: var(--text); }
.cr-tile > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.cr-tile > b { font-size: 34px; line-height: 1.05; letter-spacing: -.04em; display: flex; align-items: baseline; gap: 6px; }
.cr-tile > b small { font-size: 14px; letter-spacing: 0; color: var(--muted); font-weight: 700; } .cr-tile > b small.up { color: #16a34a; } .cr-tile > b small.dn { color: #dc2626; }
.cr-tile > b.ok { color: #16a34a; } .cr-tile > b.warn { color: #d97706; }
.cr-tile > em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.cr-spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 45%, #000 100%); }
.cr-spark .l { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: cr-draw 1.2s .2s cubic-bezier(.4, 0, .2, 1) forwards; }
.cr-spark .a { fill: currentColor; opacity: .12; animation: cr-fade-in .8s .5s both; } @keyframes cr-fade-in { from { opacity: 0; } }
.cr-spark.good { color: #16a34a; } .cr-spark.bad { color: #d97706; }
.cr-tile > :not(.cr-spark) { position: relative; z-index: 1; }   /* the numbers sit on top of the trend */
@keyframes cr-draw { to { stroke-dashoffset: 0; } }
.cr-row { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; }
.cr-box { padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.cr-box-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cr-box-h h3 { margin: 0; font-size: 17px; } .cr-box-h span { color: var(--muted); font-size: 13px; } .cr-box-h span b { color: var(--text); }
.cr-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cr-track li { position: relative; display: grid; justify-items: center; text-align: center; gap: 3px; padding: 0 2px; }
.cr-track li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 4px; background: var(--line); z-index: 0; }
.cr-track li:first-child::before { display: none; } .cr-track li.done::before { background: var(--volt); }
.cr-track i { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 3px solid var(--line); }
.cr-track li.done i { background: var(--volt); border-color: var(--volt); animation: cr-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.cr-track li.done:nth-child(2) i { animation-delay: .08s; } .cr-track li.done:nth-child(3) i { animation-delay: .16s; } .cr-track li.done:nth-child(4) i { animation-delay: .24s; } .cr-track li.done:nth-child(5) i { animation-delay: .32s; }
@keyframes cr-pop { from { transform: scale(.3); } }
.cr-track i svg { width: 16px; height: 16px; fill: #10131f; }
.cr-track b { font-size: 13px; line-height: 1.25; margin-top: 4px; } .cr-track li:not(.done) b { color: var(--muted); } .cr-track span { font-size: 12px; color: var(--muted); }
.cr-badge { display: grid; align-content: start; gap: 8px; } .cr-badge .cr-box-h { margin-bottom: 0; }
.cr-badge-st { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 750; font-size: 15.5px; } .cr-badge-st.ok { color: #16a34a; }
.cr-badge-st svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cr-fine { margin: 0; color: var(--muted); font-size: 13.5px; }
.cr-badge-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; } .cr-badge-acts form { margin: 0; }
.cr-out ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .cr-out li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; } .cr-out li span { color: var(--muted); }
.cr-edit-h { margin: 14px 0 -10px; font-size: 22px; letter-spacing: -.02em; }
@media (max-width: 1000px) { .cr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cr-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .cr-track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cr-track li { grid-template-columns: 34px minmax(0, 1fr) auto; justify-items: start; text-align: left; align-items: center; column-gap: 12px; padding: 6px 0; }
  .cr-track li::before { top: -50%; left: 15px; width: 4px; height: 100%; } .cr-track b { margin: 0; }
}
@media (max-width: 420px) { .cr-tiles { grid-template-columns: minmax(0, 1fr); } .cr-tile > b { font-size: 30px; } }
.cap-bar + .drop, .cap-bar + form.drop { margin-top: 16px; }   /* 2026-11-26: the captions bar sat 6 px above the upload area */
/* Control room tiles that open the history (2026-11-26) */
button.cr-tile { font: inherit; text-align: left; cursor: pointer; width: 100%; }
button.cr-tile:hover { transform: translateY(-2px); border-color: var(--text); }
button.cr-tile:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
.cr-more { font-style: normal; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; font-weight: 750; color: var(--text); }
.cr-more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
button.cr-tile:hover .cr-more svg { transform: translateX(3px); }

/* ── history pop-up (2026-11-26): status colours carry a word in the key and the tooltip, never colour alone ── */
.hist-pop { width: min(860px, calc(100vw - 32px)); --k-ok: #16a34a; --k-warn: #d97706; --k-bad: #dc2626; --k-line: var(--blue); }
[data-theme="dark"] .hist-pop { --k-ok: #22c55e; --k-warn: #f59e0b; --k-bad: #f87171; }
.hist-pop.busy .hist-chart { opacity: .45; transition: opacity .2s; }
.hist-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 14px 0 16px; }
.hist-bar .seg button.on { background: var(--volt); color: var(--volt-ink); }
.hist-range button.locked { color: var(--muted); opacity: .75; } .hist-range button.locked i { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--volt); color: var(--volt-ink); font-size: 11px; font-weight: 800; }
.hist-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.hist-sum div { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.hist-sum span { color: var(--muted); font-size: 12.5px; font-weight: 700; } .hist-sum b { font-size: 24px; letter-spacing: -.03em; line-height: 1.1; } .hist-sum small { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.hist-chart { position: relative; touch-action: pan-y; }
.hist-chart svg { display: block; width: 100%; overflow: visible; }
.hist-chart rect { animation: hist-grow .5s cubic-bezier(.2, .8, .2, 1) both; transform-box: fill-box; transform-origin: bottom; }
@keyframes hist-grow { from { transform: scaleY(0); } }
.hist-chart .k-ok { fill: var(--k-ok); } .hist-chart .k-warn { fill: var(--k-warn); } .hist-chart .k-bad { fill: var(--k-bad); } .hist-chart .k-none { fill: var(--line); }
.hist-line { fill: none; stroke: var(--k-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: cr-draw 1.2s cubic-bezier(.4, 0, .2, 1) forwards; }
.hist-area { fill: var(--k-line); opacity: .1; }
.hist-grid { stroke: var(--line); stroke-width: 1; } .hist-ax { fill: var(--muted); font-size: 11.5px; font-weight: 600; }
.hist-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; } .hist-dot { fill: var(--k-line); stroke: var(--panel); stroke-width: 2.5; }
.hist-tip { position: absolute; transform: translate(-50%, -100%); padding: 7px 10px; border-radius: 9px; background: var(--text); color: var(--bg); font-size: 12.5px; line-height: 1.35; white-space: nowrap; pointer-events: none; z-index: 2; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hist-tip b { display: block; font-size: 12.5px; }
.hist-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.hist-foot p { flex-basis: 100%; margin: 0; } .hist-foot a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; } .hist-foot > b { color: var(--text); }
.hist-key { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; } .hist-key i { width: 12px; height: 12px; border-radius: 3px; }
.hist-key .k-ok { background: var(--k-ok); } .hist-key .k-warn { background: var(--k-warn); } .hist-key .k-bad { background: var(--k-bad); } .hist-key .k-none { background: var(--line); }
@media (max-width: 560px) { .hist-sum { grid-template-columns: minmax(0, 1fr); gap: 6px; } .hist-sum div { grid-template-columns: 1fr auto; align-items: baseline; } .hist-sum b { font-size: 19px; } .hist-bar .seg { width: 100%; } .hist-bar .seg button { flex: 1; padding: 0 8px; } }

/* admin edit of someone else's listing (2026-11-27): owner-only parts hidden (the server refuses them anyway, TRA_ADMIN_DO in account.php) */
.acc-admin .cr, .acc-admin #alerts, .acc-admin form.danger, .acc-admin #badge, .acc-admin #boost, .acc-admin #plan, .acc-admin #slots { display: none !important; }
.adm-note { margin: 14px 0 4px; padding: 14px 18px; border-radius: 14px; background: #10131f; color: #fff; font-size: 14.5px; line-height: 1.45; border-left: 6px solid var(--volt); animation: ob-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.adm-note b { color: var(--volt); text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 900; margin-right: 8px; }
