/* Sheet: a card whose sticker title sits on its top edge. Shared by login, register and every account panel. */
.sheet{position:relative;display:flex;flex-direction:column;gap:20px;padding:50px 32px 32px}
.sheet__title{position:absolute;inset-block-start:-24px;inset-inline-start:24px;padding:6px 20px;font-size:20px}
.sheet__form{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.sheet__form .field{inline-size:100%}
.link{color:var(--accent);font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.link:hover{color:var(--ink)}

/* Login and register */
.auth{display:flex;justify-content:center;padding-block:76px 96px}
.auth__card{inline-size:min(100%, 460px)}
.auth__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;inline-size:100%;font-size:14px}
.auth__alt{padding-block-start:18px;border-block-start:2px dashed var(--dash);font-size:15px;text-align:center}
.check{display:inline-flex;align-items:center;gap:10px;font-weight:700;cursor:pointer}
.check input{appearance:none;flex-shrink:0;inline-size:24px;block-size:24px;margin:0;border:var(--border);border-radius:var(--r-xs);background:var(--paper) center/16px no-repeat;box-shadow:2px 2px 0 var(--ink);cursor:pointer}
.check input:checked{background-color:var(--yellow);background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23141414%27 stroke-width=%273.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12l5 5L20 7%27/%3E%3C/svg%3E")}
.hp{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%)}

/* Password field with its show/hide button */
.pw{position:relative;display:block}
.pw input{padding-inline-end:84px}
.pw__toggle{position:absolute;inset-block-start:9px;inset-inline-end:9px;inline-size:64px;block-size:32px;padding:0;border:var(--border);border-radius:var(--r-xs);background:var(--paper);font-size:13px;font-weight:800;line-height:1}
.pw__toggle:hover,.pw__toggle[aria-pressed="true"]{background:var(--yellow)}

/* Account */
.account{padding-block:56px 96px}
.account__inner{display:flex;flex-direction:column;gap:48px;max-inline-size:960px}
.account__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.account__hello{font-size:clamp(28px, 4vw, 40px)}
.account__head+.notice{margin-block:-24px 0}
.account__grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(340px, 100%), 1fr));align-items:start;gap:48px 32px}
.account__empty{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;padding:18px 20px;border:2px dashed var(--dash-strong);border-radius:var(--r-lg);font-size:15px;font-weight:600;color:var(--text)}

@media (max-width:520px){
	.sheet{padding:46px 18px 22px}
	.sheet__title{inset-inline-start:16px;font-size:18px}
	.auth{padding-block:56px 72px}
	.account{padding-block:40px 72px}
}
