/* Shared extensions for the earning room, salon, collection and product stories. */
.site-header nav { gap: 25px; }
.account-hub { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.account-hub .header-wallet { display: flex; flex-direction: column; align-items: end; gap: 2px; border: 0; padding: 0; }
.account-hub .header-wallet > span { display: block; font-size: 9px; }
.account-hub .header-wallet strong { font-size: 24px; }
.header-profile { display: flex; align-items: center; gap: 11px; padding-left: 20px; border-left: 1px solid var(--line); min-height: 42px; }
.header-profile-copy > span { display: block; font-size: 10px; color: var(--gold-light); }
.header-profile-copy strong { display: block; font-weight: 400; font-size: 10px; color: #bac1c5; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-profile:hover .header-profile-copy > span, .header-profile[aria-current] .header-profile-copy > span { color: var(--paper); }
.member-insignia { object-fit: contain; flex-shrink: 0; }
.header-profile .member-insignia { width: 32px; height: 40px; }
.plan-insignia { display: flex; align-items: center; gap: 18px; margin: 0 0 25px; }
.plan-insignia .member-insignia { width: 68px; height: 82px; }
.plan-grid .plan-card h2 { font-size: 24px; line-height: 1.8; overflow-wrap: anywhere; }
.member-current-insignia + div { margin-right: auto; }
.member-current-insignia .member-insignia { width: 58px; height: 70px; }
.insignia-note { font-size: 10px; color: var(--muted); margin: 24px 0 0; }
.mypage-section { padding-top: 5px; }
.profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; align-items: start; }
.profile-card { text-align: center; border: 1px solid var(--line); background: #172531; padding: 35px; }
.profile-insignia { display: flex; justify-content: center; margin: 25px 0; }
.profile-insignia .member-insignia { width: 112px; height: 134px; }
.profile-card h2 { font-size: 27px; line-height: 1.9; overflow-wrap: anywhere; }
.profile-rank { color: var(--gold-light); font: 16px/2 var(--serif); margin-top: 12px; }
.profile-insignia-description { color: var(--muted); font-size: 10px; margin-top: 10px; }
.profile-ledger { margin: 28px 0; text-align: left; }
.profile-ledger > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.profile-ledger dt { color: var(--muted); font-size: 10px; }
.profile-ledger dd { font: 21px Georgia, serif; color: var(--gold-light); margin: 0; }
.profile-ledger > div:last-child dd { font: 12px var(--sans); }
.profile-edit, .named-certificate { padding: 32px; border: 1px solid var(--line); }
.profile-edit h2, .named-certificate h2 { font-size: 26px; margin: 15px 0 25px; }
.profile-edit label { display: block; font-size: 12px; margin-bottom: 12px; }
.profile-edit input { display: block; width: 100%; background: var(--deep); border: 1px solid var(--line); color: var(--paper); font: 17px/1.5 var(--sans); padding: 14px; border-radius: 0; }
.profile-edit input:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.profile-edit input[aria-invalid="true"] { border-color: #c39888; }
.name-help-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 10px; color: var(--muted); }
.name-preview { font-size: 11px; color: var(--muted); margin: 25px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.name-preview strong { display: block; font: 20px/1.8 var(--serif); color: var(--gold-light); margin-top: 10px; }
.profile-feedback { min-height: 28px; font-size: 11px; color: var(--gold-light); margin: 17px 0; }
.profile-edit .fine + .fine { margin-top: 12px; }
.named-certificate { margin-top: 25px; background: #14222e; }
.named-certificate > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 2.2; margin-bottom: 20px; }
.named-certificate .text-link { margin-top: 18px; }
.mypage-section #collection-status { margin-top: 40px; }
[hidden] { display: none !important; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 24px; font-size: 11px; color: var(--gold-light); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-stage { width: 100%; overflow: hidden; touch-action: pan-y pinch-zoom; }
.hero-track { display: flex; transition: transform .65s cubic-bezier(.22, .61, .36, 1); }
.hero-slide { display: block; flex: 0 0 100%; min-width: 0; }
.hero-slide img { display: block; width: 100%; aspect-ratio: 1.07; object-fit: cover; object-position: center; user-select: none; }
.hero-slide:first-child img { object-position: center 65%; }
.hero-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.hero-paging { display: flex; align-items: center; gap: 16px; }
.hero-control { width: 44px; height: 44px; border: 1px solid var(--line); color: var(--gold-light); background: transparent; font-size: 20px; cursor: pointer; transition: border-color .2s, background .2s; }
.hero-control:hover { border-color: var(--gold); background: #ffffff05; }
.hero-position { font: 10px Georgia, serif; letter-spacing: .15em; color: var(--muted); min-width: 49px; text-align: center; }
#hero-product-name:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-art .art-note { min-height: 3.6em; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .hero-slide img { aspect-ratio: 1.22; }
  .hero-paging { gap: 10px; }
  .hero-controls { gap: 10px; }
}
.hero-secondary { display: inline-block; margin: 18px 0 0 20px; font-size: 11px; color: var(--gold-light); border-bottom: 1px solid var(--line); }
.journey-section { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.journey-section h2 { margin: 18px 0; }
.journey-section .eyebrow { color: #87734e; }
.journey-section p:not(.eyebrow) { color: #626969; font-size: 12px; line-height: 2.3; }
.journey-links { display: flex; flex-direction: column; justify-content: center; }
.journey-links a { border-top: 1px solid #c9c0af; padding: 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.journey-links a:last-child { border-bottom: 1px solid #c9c0af; }
.journey-links strong { font: 21px var(--serif); font-weight: 500; }
.journey-links small { display: block; font-size: 10px; color: #727873; margin-top: 9px; }
.owned-label { color: var(--gold-light); font-size: 10px; min-height: 20px; margin-top: 15px; }
.shop-section .product-grid { row-gap: 50px; }
.shop-section .product-card { display: flex; flex-direction: column; }
.shop-section .product-info { flex: 1; display: flex; flex-direction: column; }
.shop-section .buy-button { margin-top: auto; }
.shop-section .product-more { margin-top: 10px; }
.shop-section .owned-label { margin-bottom: 10px; }
.collection-progress { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; padding: 26px 30px; margin-bottom: 35px; background: #182733; border: 1px solid var(--line); }
.collection-progress h3 { font-size: 22px; margin: 10px 0; }
.collection-progress p:not(.eyebrow) { font-size: 11px; color: var(--muted); }
.collection-progress-detail label { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.collection-progress-detail strong { color: var(--gold-light); font: 32px Georgia, serif; }
.collection-progress-detail small { color: var(--muted); font: 11px var(--sans); }
.collection-progress-detail label > span { color: var(--muted); font-size: 10px; }
.collection-progress-detail .text-link { margin-top: 16px; }
.achievements-section #collection-status { margin-top: 40px; }
.achievement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.achievement-card { display: flex; flex-direction: column; min-width: 0; min-height: 330px; }
.achievement-card h3 { line-height: 1.6; }
.achievement-card > p:not(.eyebrow) { line-height: 2; }
.achievement-top { gap: 16px; }
.achievement-top .medallion { flex-shrink: 0; }
.achievement-status { white-space: nowrap; }
.achievement-progress { margin-top: auto; padding-top: 28px; }
.achievement-progress .progress-label { margin-top: 0; flex-wrap: wrap; row-gap: 5px; }
.achievement-progress .progress-label > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.achievement-sealed { margin-top: auto; padding-top: 28px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.achievement-secret { border-style: dashed; }
@media (max-width: 760px) {
  .achievement-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .achievement-card { min-height: 300px; }
  .achievement-secret { order: 1; }
}
.completion-board { padding: 45px 30px; border: 1px solid var(--gold); background: #192733; text-align: center; margin-bottom: 40px; }
.completion-mark { color: var(--gold); font: 44px Georgia, serif; margin: 15px 0; }
.completion-board h2 { font-size: 30px; }
.completion-quote { max-width: 620px; margin: 22px auto; font: 17px/2.1 var(--serif); color: var(--gold-light); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin: 25px 0 18px; }
.completion-announcement { border: 1px solid var(--gold); padding: 20px; margin: 0 0 28px; text-align: center; }
.completion-announcement > p:not(.eyebrow) { font: 15px/2 var(--serif); color: var(--gold-light); margin: 13px 0; }
.earning-section { padding-top: 10px; }
.pointless-work-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
.work-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.phase-label { font: 10px Georgia, serif; letter-spacing: .12em; color: var(--gold); border: 1px solid var(--line); padding: 8px 11px; white-space: nowrap; }
.envelope-table { min-height: 300px; position: relative; display: grid; place-content: center; padding: 55px 0 30px; background: #12202c; margin: 25px 0; border: 1px solid #baa57a12; }
.work-envelope { --gesture-progress: 0; position: relative; width: min(290px, 65vw); height: 175px; border: 0; background: transparent; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; perspective: 700px; padding: 20px 0 0; }
.work-envelope:active { cursor: grabbing; }
.work-envelope:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 10px; }
.work-sound-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; font-size: 10px; color: var(--muted); }
.work-card { overflow-anchor: none; }
.work-instruction-stack { display: grid; }
.work-instruction-copy { grid-area: 1 / 1; visibility: hidden; pointer-events: none; }
.work-instruction-stack[data-phase="seal"] #work-copy-seal,
.work-instruction-stack[data-phase="peel"] #work-copy-peel { visibility: visible; }
.work-envelope-kind { min-height: 2em; margin-top: 12px; font-size: 11px; color: var(--gold-light); }
.work-envelope[data-kind="black"] .envelope-paper { background: linear-gradient(135deg, #28313b, #070c12); border-color: #89764d; }
.work-envelope[data-kind="black"] .work-flap { background: linear-gradient(#303a46, #0a1018); }
.work-envelope[data-kind="black"] .paper-brand { color: var(--gold-light); }
.work-card .gesture-status { min-height: 84px; }
.work-card .work-result { min-height: 66px; }
.sound-toggle { padding: 8px 12px; min-height: 40px; border: 1px solid var(--line); background: transparent; color: var(--gold-light); font-size: 10px; }
.sound-toggle:hover { border-color: var(--gold); }
.gesture-status { position: relative; border: 1px solid var(--line); padding: 15px 40px 15px 18px; color: var(--gold-light); font-size: 12px; }
.gesture-status > span { position: absolute; right: 18px; top: 12px; font-size: 23px; }
.gesture-status > small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.envelope-paper { display: block; width: 100%; height: 100%; position: relative; background: linear-gradient(135deg, #e9e2d1, #c9bc9d); border: 1px solid #b5a37c; box-shadow: 0 12px 20px #0004; }
.envelope-paper::after { content: ''; position: absolute; inset: 30% 0 0; border: 1px solid #b5a37c80; clip-path: polygon(0 100%, 50% 0, 100% 100%); pointer-events: none; }
.paper-brand { position: absolute; left: 0; right: 0; bottom: 23px; font: 13px var(--serif); letter-spacing: .18em; text-align: center; text-indent: .18em; color: #77633d; }
.paper-brand small { display: block; font: 7px Georgia, serif; letter-spacing: .17em; text-indent: .17em; margin-top: 7px; }
.work-flap { position: absolute; top: 0; left: -1px; right: -1px; height: 95px; background: linear-gradient(#eee7d7, #d9ccaf); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: center top; transform: rotateX(180deg); transition: transform .25s ease; backface-visibility: visible; z-index: 2; }
.work-envelope[data-phase="peel"] .work-flap { transform: rotateX(calc(var(--gesture-progress) * -170deg)); }
.glue-track { position: absolute; left: 8%; right: 8%; top: -4px; height: 7px; border-bottom: 2px dashed #a9956b; z-index: 3; }
.glue-fill { display: block; height: 6px; width: calc(var(--gesture-progress) * 100%); background: #fff5d6; box-shadow: 0 0 0 1px #c5b68e; }
.work-envelope[data-phase="peel"] .glue-track { opacity: .2; }
.envelope-seal { display: none; place-items: center; position: absolute; top: 74px; left: calc(50% - 15px); width: 30px; height: 30px; background: #9e8455; border-radius: 50%; color: #f5e9cc; font: 14px/1 var(--serif); text-align: center; letter-spacing: 0; z-index: 4; }
.work-envelope[data-phase="peel"] .envelope-seal { display: grid; opacity: calc(1 - var(--gesture-progress)); }
.table-caption { position: absolute; bottom: 13px; left: 10px; right: 10px; text-align: center; color: #9aa1a2; font-size: 9px; letter-spacing: .04em; }
.rate-card, .work-manual { padding: 32px; background: #14222e; border: 1px solid var(--line); }
.rate-plan { font: 24px/1.8 var(--serif); margin-top: 15px; }
.current-rate { margin: 14px 0 24px; }
.current-rate strong { color: var(--gold-light); font: 48px Georgia, serif; }
.current-rate span { display: block; font-size: 10px; color: var(--muted); margin-top: 8px; }
.rate-card > p:not([class]) { font-size: 12px; color: var(--muted); line-height: 2.2; margin-bottom: 24px; }
.work-manual { margin-top: 25px; }
.work-manual h3 { font-size: 22px; margin: 18px 0 22px; }
.work-manual ol { padding-left: 20px; color: var(--gold); }
.work-manual li { padding: 0 0 20px 6px; }
.work-manual li strong { color: var(--paper); font-size: 12px; font-weight: 400; }
.work-manual li span { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; }
.member-benefit p strong { font: 34px Georgia, serif; color: var(--gold-light); }
.button.membership-locked { background: var(--deep); color: var(--muted); border-color: var(--line); }
.button.membership-locked:hover:not(:disabled) { background: #142332; border-color: var(--line); }
.membership-returning { padding: 18px; margin: 20px 0; border: 1px solid var(--gold); background: #1b2a33; }
.membership-returning strong { display: block; color: var(--gold-light); font: 26px/1.6 var(--serif); }
.membership-returning p { font-size: 11px; line-height: 1.9; color: var(--muted); margin-top: 5px; }
.private-collection { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; scroll-margin-top: 30px; }
.private-collection[hidden] { display: none; }
.invitation-copy { grid-column: 1; border-top: 1px solid var(--gold); padding-top: 28px; }
.invitation-copy h2 { margin: 25px 0; font-size: 26px; }
.invitation-copy > p:not(.eyebrow) { color: #c2c0b7; font-size: 13px; line-height: 2.4; margin-bottom: 25px; }
.private-product { grid-column: 2; min-width: 0; }
@media (min-width: 761px) and (max-width: 1050px) {
  .private-collection { column-gap: 20px; }
}
.earning-wallet { display: flex; justify-content: space-between; align-items: center; gap: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 0; margin-bottom: 35px; }
.earning-wallet > span { color: var(--muted); font-size: 12px; }
.earning-wallet > strong { color: var(--gold-light); font: 36px Georgia, serif; margin-right: auto; }
.earning-card { border: 1px solid var(--line); padding: 38px; background: #172531; min-width: 0; }
.earning-card h2 { margin: 13px 0 7px; }
.earning-lead { font: 17px/1.8 var(--serif); margin-bottom: 16px; }
.earning-card .subtle { line-height: 2.2; }
.work-result { min-height: 48px; text-align: center; font-size: 11px; margin: 18px 0; color: var(--gold-light); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 10px 0 20px; gap: 15px; }
.mini-stats span { display: block; font-size: 10px; color: var(--muted); }
.mini-stats strong { font: 23px/2 Georgia, serif; color: var(--gold-light); }
.mini-stats b { font-weight: 400; }
.quiet-empty { text-align: center; padding: 35px 20px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.membership-section { padding-top: 10px; }
.member-status { border: 1px solid var(--line); padding: 28px 34px; display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 35px; background: #172531; }
.member-status h2 { font-size: 26px; margin: 10px 0; }
.member-status p:not(.eyebrow) { color: var(--muted); font-size: 11px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.plan-card { padding: 30px; border: 1px solid var(--line); position: relative; background: #16232f; }
.plan-card.selected { border-color: var(--gold); }
.plan-rank { display: block; font: 34px Georgia, serif; color: var(--gold); margin-bottom: 28px; }
.plan-card h2 { margin-top: 13px; font-size: 29px; }
.plan-tagline { font-size: 11px; color: var(--muted); margin-top: 10px; }
.plan-price { font: 44px/1.4 Georgia, serif; color: var(--gold-light); padding: 28px 0; border-bottom: 1px solid var(--line); }
.plan-price small { display: block; font: 10px/2 var(--sans); color: var(--muted); margin-top: 8px; }
.plan-card ul { list-style: none; padding: 0; margin: 22px 0; font-size: 11px; color: #bdc3c6; line-height: 2.6; }
.plan-card li::before { content: '✓'; color: var(--gold); margin-right: 9px; }
.member-benefit { padding: 18px 0; border-top: 1px solid var(--line); margin-bottom: 18px; min-height: 119px; }
.member-benefit > span { font-size: 9px; color: var(--gold-light); letter-spacing: .07em; }
.member-benefit p { font-size: 11px; color: var(--muted); margin-top: 8px; }
.member-benefit small { display: block; color: var(--muted); font-size: 9px; margin-top: 6px; }
.membership-faq { max-width: 850px; margin: 70px auto 0; }
.membership-faq h2 { margin: 15px 0 30px; }
.membership-faq details { padding: 21px 0; border-top: 1px solid var(--line); font-size: 13px; }
.membership-faq details p { color: var(--muted); font-size: 12px; line-height: 2.2; margin-top: 15px; }
.author-section { max-width: 1000px; margin: auto; padding-top: 0; }
.draft-note { padding: 18px 22px; color: var(--gold-light); background: #baa57a0b; border: 1px solid var(--line); font-size: 11px; margin-bottom: 55px; }
.author-copy h2 { font-size: 38px; line-height: 1.9; margin: 22px 0 35px; }
.author-copy > p:not(.eyebrow) { color: #bdc3c6; font-size: 14px; line-height: 2.5; margin: 25px 0; }
.author-copy h3 { font-size: 23px; margin-top: 50px; }
.author-copy .author-signature { color: var(--gold-light) !important; text-align: right; padding: 30px 0; }
.author-signature small { font-size: 10px; color: var(--muted); }
.creator-card { margin: 48px 0; padding: 32px; border: 1px solid var(--line); background: #182733; scroll-margin-top: 30px; }
.creator-card h2, .creator-guidelines h2 { font: 25px/1.8 var(--serif); margin: 14px 0; }
.creator-card p:not(.eyebrow), .creator-guidelines p { color: var(--muted); font-size: 13px; line-height: 2.2; margin-bottom: 22px; }
.creator-guidelines { margin: 40px 0; }
.completion-author { border-top: 1px solid var(--line); padding-top: 22px; margin: 25px auto 0; }
.completion-author p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.completion-share-note { max-width: 660px; margin: 22px auto; padding: 16px 20px; border: 1px solid var(--line); font-size: 12px; line-height: 2; color: var(--muted); text-align: left; }
.legal-copy { max-width: 860px; padding-top: 0; padding-bottom: 90px; }
.legal-date { color: var(--muted); font-size: 11px; margin-bottom: 36px; }
.legal-copy section { margin-bottom: 38px; scroll-margin-top: 30px; }
.legal-copy h2 { font: 23px/1.8 var(--serif); margin-bottom: 16px; }
.legal-copy p { color: #bdc3c6; font-size: 13px; line-height: 2.3; margin-bottom: 15px; }
.legal-copy a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
.legal-copy code { overflow-wrap: anywhere; }
.certificate-view { max-width: 1200px; padding-top: 45px; }
.certificate-view h1 { font: 30px/1.7 var(--serif); margin: 15px 0; }
.certificate-view p { color: var(--muted); font-size: 12px; line-height: 2; margin-bottom: 18px; }
.certificate-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
#certificate-image { display: block; width: 100%; height: auto; margin: 30px auto; border: 1px solid var(--line); -webkit-touch-callout: default; user-select: auto; }
.history-image-link { display: inline-block; margin-top: 6px; font-size: 10px; color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.named-certificate #open-latest-certificate { margin-top: 12px; }
.collection-progress-detail [data-share-app] { margin-top: 12px; }
.honor-roll-section { padding-top: 0; }
.honor-roll-list { list-style: none; padding: 0; margin: 0 0 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.honor-roll-entry { padding: 30px; text-align: center; border: 1px solid var(--line); background: #182733; }
.honor-roll-mark { display: block; color: var(--gold); font: 32px Georgia, serif; margin-bottom: 18px; }
.honor-roll-entry h3 { font: 22px/1.8 var(--serif); color: var(--gold-light); overflow-wrap: anywhere; }
.honor-roll-entry time { display: block; font-size: 11px; color: var(--muted); margin-top: 14px; }
.honor-roll-empty { text-align: center; padding: 55px 25px; border: 1px solid var(--line); margin-bottom: 35px; }
.honor-roll-empty > span { display: block; font-size: 36px; color: var(--gold); margin-bottom: 20px; }
.honor-roll-empty h3 { font: 26px/1.8 var(--serif); margin-bottom: 15px; }
.honor-roll-empty p, .honor-roll-request p, .honor-roll-request li { color: var(--muted); font-size: 13px; line-height: 2.3; }
.honor-roll-local { padding: 30px; background: #182733; border-left: 2px solid var(--gold); margin-bottom: 45px; }
.honor-roll-local h2, .honor-roll-request h2 { font: 26px/1.8 var(--serif); margin: 16px 0; }
.honor-roll-local p:not(.eyebrow) { margin-bottom: 18px; }
.honor-roll-request { max-width: 780px; border-top: 1px solid var(--line); padding-top: 35px; margin-bottom: 45px; scroll-margin-top: 30px; }
.honor-roll-request ol { padding-left: 1.5em; margin: 20px 0; }
.honor-roll-request .button { margin: 20px 0; }
.honor-roll-request a:not(.button) { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .honor-roll-list { grid-template-columns: 1fr; }
  .honor-roll-local, .creator-card { padding: 24px; }
  .honor-roll-local h2, .honor-roll-request h2 { font-size: 22px; }
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 14px; font-size: 10px; color: var(--muted); margin-bottom: 35px; }
.breadcrumb a { color: var(--gold-light); }
.product-detail-section { padding-top: 35px; }
.product-detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 65px; }
.detail-photo { position: relative; }
.detail-photo .product-number { padding: 3px 8px; color: var(--gold-light); background: #111d29cc; }
.product-card[data-product="margin"] .product-number,
.product-card[data-product="margin"] .product-label,
.product-card[data-product="receipt"] .product-label,
.product-card[data-product="right"] .product-label { color: #746b57; }
.detail-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-copy { padding-top: 8px; }
.detail-copy h1 { font-size: 34px; margin: 18px 0 23px; letter-spacing: .04em; line-height: 1.7; }
.detail-description { color: #b7c0c6; font-size: 13px; line-height: 2.3; }
.detail-price { font: 36px Georgia, serif; color: var(--gold-light); margin: 25px 0 18px; }
.detail-price small { font: 10px var(--sans); color: var(--muted); margin-left: 12px; }
.detail-copy > .button { margin-top: 15px; }
.product-specs { font-size: 10px; margin: 28px 0 0; }
.product-specs > div { display: grid; grid-template-columns: 85px 1fr; gap: 15px; border-top: 1px solid var(--line); padding: 12px 0; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; }
.reviews-section { margin-top: 90px; border-top: 1px solid var(--line); padding-top: 60px; scroll-margin-top: 25px; }
.review-disclaimer { padding: 17px 22px; border: 1px solid var(--line); color: var(--gold-light); font-size: 11px; margin-bottom: 25px; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.review-card { padding: 30px; background: #172531; border: 1px solid var(--line); }
.review-stars { color: var(--gold); letter-spacing: .15em; font-size: 14px; }
.review-card h3 { font-size: 21px; line-height: 1.8; margin: 17px 0; }
.review-card > p:not(.review-stars) { color: #b9c0c4; font-size: 12px; line-height: 2.3; }
.review-card footer { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 27px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 11px; }
.review-card footer span { font-size: 9px; color: var(--muted); }
.detail-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; margin-top: 50px; }
.missing-product { text-align: center; padding: 80px 10px; }
.missing-product h1 { font-size: 30px; margin: 25px 0; }
.missing-product p:not(.eyebrow) { font-size: 12px; color: var(--muted); margin-bottom: 30px; }
@media (max-width: 1100px) {
  .site-header { height: auto; display: grid; grid-template-columns: 1fr auto; padding-top: 17px; gap: 10px 20px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; padding: 4px 0 12px; justify-content: center; }
  .account-hub { grid-column: 2; grid-row: 1; }
  .site-header { gap: 18px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 11px; }
  .site-header .brand > span { font-size: 21px; }
  .plan-card { padding: 24px; }
  .earning-card { padding: 30px; }
  .product-detail-grid { gap: 35px; }
  .detail-copy h1 { font-size: 29px; }
}
@media (max-width: 760px) {
  .profile-grid { grid-template-columns: 1fr; gap: 25px; }
  .account-hub { gap: 12px; }
  .account-hub .header-wallet strong { font-size: 20px; }
  .account-hub .header-wallet > span { font-size: 7px; }
  .header-profile { gap: 7px; padding-left: 12px; }
  .header-profile-copy > span { font-size: 9px; }
  .header-profile-copy strong { font-size: 9px; max-width: 55px; }
  .header-profile .member-insignia { width: 27px; height: 34px; }
  .profile-card, .profile-edit, .named-certificate { padding: 26px; }
  .profile-edit .button { width: 100%; justify-content: center; }
  .profile-edit h2, .named-certificate h2 { font-size: 24px; }
  .profile-insignia .member-insignia { width: 96px; height: 115px; }
  .member-status { justify-content: flex-start; }
  .pointless-work-grid { grid-template-columns: 1fr; gap: 25px; }
  .work-title-row { gap: 10px; }
  .phase-label { font-size: 8px; padding: 6px; }
  .envelope-table { min-height: 260px; margin-left: -10px; margin-right: -10px; }
  .work-envelope { width: min(245px, 62vw); height: 155px; }
  .work-flap { height: 82px; }
  .work-envelope[data-phase="peel"] .envelope-seal { top: 61px; }
  .table-caption { font-size: 8px; }
  .rate-card, .work-manual { padding: 26px; }
  .private-collection { grid-template-columns: 1fr; gap: 30px; margin-top: 50px; }
  .invitation-copy, .private-product { grid-column: 1; }
  .invitation-copy h2 { font-size: 29px; }
  .site-header { min-width: 0; }
  .site-header nav { min-width: 0; overflow-x: auto; justify-content: flex-start; gap: 25px; scrollbar-width: thin; }
  .site-header nav a { flex-shrink: 0; font-size: 10px; }
  .site-header .brand > span { font-size: 18px; }
  .hero-secondary { margin: 15px 0 0; display: table; }
  .journey-section { grid-template-columns: 1fr; gap: 28px; }
  .journey-section h2 { font-size: 27px; }
  .journey-links strong { font-size: 19px; }
  .collection-progress { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .collection-progress h3 { font-size: 21px; }
  .collection-progress-detail label { flex-wrap: wrap; gap: 10px; }
  .completion-board { padding: 30px 22px; }
  .completion-board h2 { font-size: 24px; }
  .completion-quote { font-size: 15px; }
  .inline-actions { flex-direction: column; align-items: stretch; }
  .inline-actions .button { justify-content: center; font-size: 11px; }
  .earning-wallet { flex-wrap: wrap; gap: 15px; }
  .earning-wallet > span { width: 100%; font-size: 10px; }
  .earning-wallet > strong { font-size: 32px; }
  .earning-wallet .text-link { font-size: 10px; }
  .earning-card { padding: 26px; }
  .earning-card h2 { font-size: 29px; }
  .earning-lead { font-size: 16px; }
  .member-status { padding: 25px; flex-wrap: wrap; }
  .member-status h2 { font-size: 23px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 30px; }
  .member-benefit { min-height: auto; }
  .membership-faq details { font-size: 12px; }
  .author-copy h2 { font-size: 30px; }
  .author-copy > p:not(.eyebrow) { font-size: 12px; }
  .author-copy h3 { font-size: 21px; }
  .draft-note { font-size: 10px; margin-bottom: 35px; }
  .product-detail-section { padding-top: 25px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-copy h1 { font-size: 29px; }
  .detail-description { font-size: 12px; }
  .reviews-section { margin-top: 55px; padding-top: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 25px; }
  .review-card h3 { font-size: 20px; }
  .detail-bottom { align-items: stretch; flex-direction: column; }
  .breadcrumb { font-size: 9px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-flap { transition: none; }
}
@media (max-width: 380px) {
  .site-header { gap: 8px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand > span { font-size: 16px; }
  .site-header .brand img { width: 26px; height: 26px; }
  .site-header .brand small { font-size: 6px; }
  .account-hub { gap: 7px; }
  .account-hub .header-wallet > span { display: none; }
  .account-hub .header-wallet strong { font-size: 18px; }
  .header-profile { gap: 5px; padding-left: 7px; }
  .header-profile .member-insignia { width: 24px; height: 30px; }
  .header-profile-copy > span { font-size: 8px; }
  .header-profile-copy strong { max-width: 48px; }
}

/* A second, equally pointless department. The work area keeps a fixed footprint. */
.job-selector { display:flex; gap:12px; flex-wrap:wrap; margin:22px 0 12px; }
.work-instruction-stack[data-phase="align"] #work-copy-align,
.work-instruction-stack[data-phase="scatter"] #work-copy-scatter { visibility:visible; }
.sorting-paper { display:none; position:absolute; width:100%; height:calc(100% - 20px); top:20px; background:#d9ccaf; border:1px solid #ad9c7b; box-shadow:0 8px 16px #0003; pointer-events:none; }
.work-envelope[data-job="sort"] .sorting-paper { display:block; }
.work-envelope[data-job="sort"] .work-flap,
.work-envelope[data-job="sort"] .glue-track,
.work-envelope[data-job="sort"] .envelope-seal { display:none; }
.work-envelope[data-job="sort"] .sorting-paper-back { transform:translate(calc(-30px * (1 - var(--gesture-progress))), calc(-15px * (1 - var(--gesture-progress)))) rotate(calc(-12deg * (1 - var(--gesture-progress)))); }
.work-envelope[data-job="sort"] .sorting-paper-front { transform:translate(calc(30px * (1 - var(--gesture-progress))), calc(18px * (1 - var(--gesture-progress)))) rotate(calc(10deg * (1 - var(--gesture-progress)))); }
.work-envelope[data-phase="scatter"] .sorting-paper-back { transform:translate(calc(-30px * var(--gesture-progress)), calc(-15px * var(--gesture-progress))) rotate(calc(-12deg * var(--gesture-progress))); }
.work-envelope[data-phase="scatter"] .sorting-paper-front { transform:translate(calc(30px * var(--gesture-progress)), calc(18px * var(--gesture-progress))) rotate(calc(10deg * var(--gesture-progress))); }
.lap-crest { width:28px; height:32px; vertical-align:middle; flex-shrink:0; }
.lap-panel, .reset-panel { padding:28px; border:1px solid var(--line); margin-top:28px; background:#14222e; }
.lap-panel h2, .reset-panel h2 { margin:12px 0; }
.lap-panel p, .reset-panel p { margin-bottom:16px; }
.record-dialog { width:min(570px,calc(100% - 32px)); max-height:85vh; overflow:auto; padding:32px; background:#14222e; color:var(--paper); border:1px solid var(--gold); }
.record-dialog::backdrop { background:#050b12d9; }
.record-dialog h2 { margin:12px 0 20px; }
.record-dialog p { margin:16px 0; line-height:1.9; }
.record-dialog label { display:flex; gap:12px; margin:22px 0; align-items:start; }
.record-dialog input { width:20px; height:20px; flex-shrink:0; margin-top:3px; }

@media (max-width: 480px) { .header-profile .lap-crest { width:20px; height:26px; } .record-dialog { padding:22px; } }
