/* 窄幅粘性导航提供上下文，背景仅在滚动穿过内容时承担遮挡职责。 */
.header { position: sticky; top: 0; z-index: var(--layer-nav); background: rgb(254 254 254 / 94%); border-bottom: 1px solid rgb(229 229 232 / 80%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner { width: min(100%, 1408px); min-height: 76px; margin: 0 auto; padding: 0 64px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand h1 { font-size: 17px; font-weight: 530; letter-spacing: -.015em; line-height: 1.5; }
.brand-mark { width: 26px; height: 29px; position: relative; display: inline-block; flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 20px; height: 25px; border: 1px solid var(--ink); border-radius: 3px; background: var(--paper); }
.brand-mark::before { left: 1px; top: 3px; transform: rotate(-10deg); }
.brand-mark::after { left: 5px; top: 0; background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { font-size: 13px; text-decoration: none; padding: 8px 15px; border-radius: 999px; color: var(--muted); transition: background-color 150ms, color 150ms; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-hover); font-weight: 480; }
.account-menu { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.user { font-size: 12px; text-align: right; line-height: 1.5; }
.user small { display: block; font-size: 10px; }
.text-button { border: 0; background: transparent; color: var(--muted); padding: 8px 0; font-size: 12px; }
.text-button:hover { color: var(--ink); }

/* 标题尺寸与权重拉开层级，页面动作和标题共用清楚的对齐基线。 */
.title { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.gallery-title { margin: 8px 0 38px; }
.gallery-title h2 { font-size: 44px; font-weight: 540; }
.sub { color: var(--muted); font-size: 14px; margin-top: 9px; max-width: 65ch; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.space { margin-top: 24px; }
.button { border: 1px solid var(--line); color: var(--ink); background: var(--paper); border-radius: 999px; padding: 10px 19px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1.5; font-weight: 450; white-space: nowrap; text-decoration: none; transition: transform 180ms var(--ease), background-color 150ms, box-shadow 150ms; }
.button:not(:disabled):hover { background: var(--surface); transform: translateY(-1px); }
.button:not(:disabled):active { transform: translateY(0) scale(.98); }
.button.primary { color: var(--paper); background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 10px -6px rgb(48 48 52 / 45%); }
.button.primary:not(:disabled):hover { background: #444449; box-shadow: 0 6px 14px -7px rgb(48 48 52 / 40%); }
.status { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; background: var(--surface); color: #57575b; font-size: 11px; padding: 5px 10px; }
.error { color: #a12c2c; font-size: 13px; overflow-wrap: anywhere; }
.form-error:empty { display: none; }

/* Mobbin 式作品浏览：筛选独立于照片，封面和元信息各自占据清楚区域。 */
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.filter-group { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-group button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; color: var(--muted); font-size: 13px; }
.filter-group button[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.filter-group button[aria-pressed="false"]:hover { background: var(--surface); color: var(--ink); }
.search-field input { width: 260px; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 0 17px; color: var(--ink); font-size: 13px; }
input::placeholder, textarea::placeholder { color: #6d6d72; opacity: 1; }
.gallery-caption { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.grid > * { min-width: 0; }
.order-card { color: inherit; text-align: left; border: 0; background: transparent; padding: 0; border-radius: var(--radius); }
.order-cover { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); position: relative; }
.order-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.order-card:hover .order-cover img { transform: scale(1.035); }
.order-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; }
.order-card h3 { font-size: 18px; font-weight: 480; overflow-wrap: anywhere; }
.card-arrow { font-size: 19px; color: var(--muted); transition: transform 180ms var(--ease); }
.order-card:hover .card-arrow { transform: translate(2px, -2px); }
.order-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; margin-top: 8px; color: var(--muted); }
.order-meta { display: flex; gap: 14px; margin-top: 12px; font-size: 11px; }
.no-image { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; color: var(--muted); }
.empty { padding: 64px 24px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); background: var(--surface); }
.empty h3 { color: var(--ink); font-size: 23px; font-weight: 490; margin-bottom: 8px; }
.empty p { font-size: 13px; max-width: 50ch; margin: 0 auto; }
.empty .button { margin-top: 24px; }

/* 制作步骤保留原有导航顺序；当前步骤用下划线表达，而不是再套一层卡片。 */
.detail-shell main { padding-top: 26px; }
.breadcrumb { display: inline-block; font-size: 12px; text-decoration: none; color: var(--muted); margin-bottom: 21px; }
.breadcrumb:hover { color: var(--ink); }
.order-title { margin-bottom: 26px; }
.order-title h2 { font-size: 31px; font-weight: 510; }
.order-title .sub { font-size: 12px; }
.meta-separator { margin: 0 12px; color: #a1a1a5; }
.order-status { padding: 7px 13px; font-size: 12px; }
.tabs { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { flex-shrink: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 0 2px 15px; color: var(--muted); font-size: 13px; }
.tabs button[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 480; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.overview { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); }
.workspace > * { min-width: 0; }
.panel { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--panel-shadow); }
.panel h3 { margin-bottom: 22px; }
.panel .primary { width: 100%; margin-top: 18px; }
.dl { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; margin: 20px 0 26px; font-size: 13px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.section-title { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 36px 0 22px; }
.section-title .sub { font-size: 12px; margin-top: 5px; }
.paper-tools { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.paper-tools > .field { min-width: 220px; }
.paper-tools p { font-size: 13px; color: var(--muted); }
.note { margin-top: 15px; font-size: 12px; color: var(--muted); max-width: 75ch; }
.rule { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.service { padding: 13px 17px; background: var(--surface); border-radius: 10px; font-size: 12px; line-height: 1.7; color: var(--muted); margin-bottom: 24px; }
