/* A club office cut from the same chalkboard as the draft. */
#profile-app { padding-block: 32px 48px; min-height: 70vh; }
#profile-app [hidden],.profile-dialog [hidden] { display: none !important; }
#profile-app h1,#profile-app h2,#profile-app h3,.profile-dialog h2,.profile-dialog h3 { font-family: var(--display); font-weight: 800; margin: 0; }
#profile-app h1 { font-size: clamp(52px,7vw,88px); line-height: .94; letter-spacing: -.015em; }
#profile-app h2 { font-size: 34px; line-height: 1; }
#profile-app h3 { font-size: 28px; line-height: 1.1; }
.profile-heading { max-width: 760px; margin-bottom: 32px; }
.profile-heading>p:last-child { max-width: 610px; color: #d1dacb; font-size: 18px; line-height: 1.55; margin: 20px 0 0; }
.profile-eyebrow { color: #f2c94c; font: 600 11px/1.5 var(--mono); letter-spacing: .1em; margin: 0 0 16px; }
.profile-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid #8b9a7a; border-radius: 3px; color: #f2efe5; background: #183424; font: 700 14px/1.25 var(--body); text-decoration: none; text-align: center; cursor: pointer; }
.profile-button--primary { color: #2a2208; border-color: #f2c94c; background: #f2c94c; box-shadow: 0 2px 0 #92711a; }
.profile-button:hover:not(:disabled) { border-color: #f2c94c; }
.profile-button:active:not(:disabled) { transform: translateY(1px); }
.profile-button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.profile-status { color: #f2c94c; line-height: 1.5; font-size: 14px; margin: 14px 0; overflow-wrap: anywhere; }
.profile-status:empty { display: none; }
.profile-footnote { max-width: 720px; font-size: 12px; line-height: 1.6; color: #b8c5ac; margin-top: 32px; }
.profile-panel { padding: 26px; border: 1px solid #65765e; border-radius: 4px; background: #10271cc2; }
.profile-access { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; max-width: 1080px; }
.profile-access .profile-panel>p { color: #cbd5c2; line-height: 1.55; max-width: 470px; }
.profile-access-note { padding: 12px 0; }
.profile-access-note>.profile-crest { margin-bottom: 22px; }
.profile-access-note>p { color: #cbd5c2; max-width: 400px; line-height: 1.6; }
.profile-access-note>.profile-button { margin: 8px 8px 0 0; }
.profile-email { display: grid; gap: 16px; border-top: 1px solid #617454; margin-top: 24px; padding-top: 24px; }
.profile-field { display: grid; gap: 7px; min-width: 0; }
.profile-field label,.profile-colors legend { font-size: 14px; font-weight: 700; }
.profile-field input,.profile-field textarea,.profile-field select { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; color: #173224; background: #eeede2; border: 1px solid #a5ae98; border-radius: 2px; font: 500 16px/1.4 var(--body); }
.profile-field textarea { resize: vertical; min-height: 104px; }
.profile-field small,.profile-help { font-size: 13px; color: #bac8b0; line-height: 1.55; }
.profile-identity { display: flex; align-items: center; gap: 24px; min-width: 0; }
.profile-identity>div { min-width: 0; }
.profile-identity h1,.profile-identity h2 { overflow-wrap: anywhere; }
.profile-crest { flex: 0 0 auto; display: grid; place-items: center; width: 106px; height: 124px; padding-bottom: 9px; color: #2a2208; background: #f2c94c; clip-path: polygon(0 0,100% 0,100% 77%,50% 100%,0 77%); font: 900 45px/1 var(--display); letter-spacing: -.02em; }
[data-crest="chalk"] { --crest-bg: #eeede2; --crest-color: #173224; }
[data-crest="field"] { --crest-bg: #70965b; --crest-color: #081d10; }
[data-crest="charcoal"] { --crest-bg: #242e27; --crest-color: #f2efe5; }
[data-crest="gold"] { --crest-bg: #f2c94c; --crest-color: #2a2208; }
.profile-crest[data-crest] { background: var(--crest-bg); color: var(--crest-color); }
.profile-handle { color: #c5d1b8; font: 500 13px/1.5 var(--mono); margin: 10px 0 0; overflow-wrap: anywhere; }
.profile-club-header { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 24px 0 30px; border-bottom: 2px solid #bec7a7; }
.profile-header-meta { display: grid; justify-items: end; gap: 24px; flex: 0 0 auto; }
.profile-visibility { font: 600 11px/1.4 var(--mono); border: 1px solid #a3b28e; padding: 7px 10px; }
.profile-counts { display: flex; flex-wrap: wrap; gap: 22px; color: #c7d1bc; font-size: 13px; }
.profile-counts b { display: inline-block; margin-right: 3px; color: #f2efe5; font: 800 27px/1 var(--display); }
.profile-account-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 30px; }
.profile-account-tools>p { color: #b8c5ad; font-size: 13px; margin: 0; }
.profile-office { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 24px; align-items: start; }
.profile-editor { display: grid; gap: 22px; }
.profile-section-head { display: flex; gap: 13px; align-items: baseline; margin-bottom: 10px; }
.profile-colors { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-colors legend { margin-bottom: 9px; }
.profile-colors label { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px 8px; min-height: 44px; background: var(--crest-bg); color: var(--crest-color); border: 1px solid #8b9a7a; font-size: 13px; font-weight: 700; cursor: pointer; }
.profile-colors label:has(:checked) { outline: 2px solid #f2efe5; outline-offset: 2px; }
.profile-colors input,.profile-publish input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: #173224; }
.profile-publish { padding: 18px; background: #223e2b; border: 1px solid #849774; }
.profile-publish label { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 24px; }
.profile-publish input { accent-color: #f2c94c; }
.profile-publish p { font-size: 12px; line-height: 1.6; color: #d0d9c6; margin: 10px 0 0; }
.profile-feature>.profile-actions { margin-top: 18px; }
.profile-lineup-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font: 500 11px/1.5 var(--mono); margin: 18px 0 12px; }
.profile-lineup .pitch,.profile-public-lineup .pitch { width: 100%; background-color: #163426; background-image: repeating-linear-gradient(0deg,#f2efe507 0 12.5%,transparent 12.5% 25%); border: 1px solid #7a8e6c; box-shadow: inset 0 0 0 5px #071c11aa; }
.profile-source { font-size: 10px; color: #b3c0a8; line-height: 1.6; overflow-wrap: anywhere; margin: 11px 0; }
.profile-empty-lineup { padding: 34px 20px; border: 1px dashed #758868; text-align: center; margin: 22px 0; }
.profile-empty-lineup>span { font: 800 80px/1 var(--display); color: #81966d; }
.profile-empty-lineup>p { color: #c0ceb4; font-size: 14px; line-height: 1.6; max-width: 350px; margin: 15px auto; }
.profile-locker { margin-top: 24px; }
.profile-locker-copies { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid #586e4d; margin: 22px 0; }
.profile-locker-copy { min-width: 0; padding: 22px 24px 22px 0; }
.profile-locker-copy+div { padding-left: 24px; border-left: 1px solid #586e4d; }
.profile-copy-summary { margin-top: 16px; }
.profile-copy-summary strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.profile-copy-summary p,.profile-locker-copy>p { color: #bfcbb4; font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.profile-dialog { width: min(660px,calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #8b997d; border-radius: 4px; color: #173224; background: #eeede2; box-shadow: 0 20px 70px #0008; }
.profile-dialog::backdrop { background: #04120ddb; }
.profile-dialog__head { padding: 20px 24px; color: #f2efe5; background: #10271b; }
.profile-dialog__head h2 { font-size: 32px; line-height: 1; }
.profile-dialog__body { padding: 22px 24px; }
.profile-dialog__body>div>p { margin-top: 0; line-height: 1.6; }
.profile-dialog .profile-help,.profile-dialog .profile-copy-summary p { color: #49633f; }
.profile-dialog .profile-status { color: #7e371c; }
.profile-dialog .profile-actions { margin-top: 24px; }
.profile-dialog .profile-button:not(.profile-button--primary) { color: #173224; background: transparent; border-color: #687e5b; }
.profile-transfer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 24px; }
.profile-transfer>section { min-width: 0; border-top: 1px solid #9da98d; padding-top: 15px; }
.profile-bio { max-width: 760px; font-size: 20px; line-height: 1.55; color: #d9dfce; white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 26px; }
.profile-club-header+.profile-actions { margin-top: 24px; }
.profile-public-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 50px; align-items: start; margin-top: 48px; padding-top: 32px; border-top: 1px solid #6f815f; }
.profile-public-feature h2 { font-size: 52px !important; }
.profile-public-feature .profile-help { max-width: 340px; font-size: 16px; }
.profile-public-lineup { max-width: 550px; width: 100%; }
.profile-public-lineup>.profile-button { margin-top: 8px; }
.profile-search { display: flex; align-items: end; gap: 12px; max-width: 780px; }
.profile-search>.profile-field { flex: 1; }
.profile-search>.profile-button { margin-bottom: 27px; }
.profile-directory { border-top: 2px solid #bcc7a9; margin-top: 24px; }
.profile-manager-row { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) 150px auto; align-items: center; gap: 28px; border-bottom: 1px solid #697c59; padding-block: 24px; }
.profile-manager-link { color: inherit; text-decoration: none; min-width: 0; }
.profile-manager-link:hover h2 { color: #f2c94c; }
.profile-identity--compact { gap: 16px; }
.profile-identity--compact .profile-crest { width: 52px; height: 61px; font-size: 25px; padding-bottom: 4px; }
.profile-identity--compact h2 { font-size: 32px !important; }
.profile-identity--compact .profile-handle { margin-top: 5px; font-size: 11px; }
.profile-directory-bio { font-size: 14px; color: #c2cdb6; line-height: 1.6; overflow-wrap: anywhere; margin: 0; }
.profile-directory-meta { display: grid; gap: 9px; color: #c5d0b9; font-size: 12px; }
.profile-directory-empty { padding: 52px 0; max-width: 600px; }
.profile-directory-empty>p:not(.profile-eyebrow) { color: #c6d1b9; font-size: 17px; line-height: 1.6; margin-block: 20px; }
.profile-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.profile-pagination>span { font: 500 12px/1.4 var(--mono); }
.profile-directory-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
#profile-app :focus-visible { outline: 3px solid #f2c94c; outline-offset: 4px; }
#profile-app .profile-field :focus-visible { outline-color: #f2efe5; }
.profile-dialog :focus-visible { outline: 3px solid #3c6d44; outline-offset: 3px; }
@media(max-width:1000px) { .profile-office { grid-template-columns: 1fr 1fr; gap: 16px; }.profile-panel { padding: 20px; }.profile-manager-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 20px; }.profile-directory-meta { grid-column: 2; grid-row: 2; }.profile-manager-row>.profile-button { grid-column: 3; grid-row: 1/3; }.profile-manager-link { grid-row: 1/3; }.profile-header-meta { gap: 15px; }.profile-counts { gap: 12px; }.profile-public-feature { gap: 28px; } }
@media(max-width:700px) {
  #profile-app { padding-block: 24px 32px; }.profile-heading { margin-bottom: 26px; }.profile-heading>p:last-child { font-size: 16px; }
  .profile-access,.profile-office,.profile-public-feature { grid-template-columns: 1fr; gap: 22px; }.profile-access-note { padding-top: 16px; }.profile-access-note>.profile-crest { float: left; margin: 0 20px 16px 0; width: 70px; height: 82px; font-size: 30px; }
  .profile-club-header { align-items: start; flex-direction: column; gap: 24px; padding: 18px 0 24px; }.profile-club-header .profile-crest { width: 76px; height: 90px; font-size: 33px; }.profile-identity { gap: 16px; }.profile-identity h1 { font-size: 56px !important; }.profile-header-meta { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }.profile-counts { gap: 16px; }.profile-counts b { font-size: 25px; }
  .profile-panel { padding: 20px 16px; }.profile-editor { gap: 20px; }.profile-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.profile-colors legend { float: left; width: 100%; grid-column: 1/-1; }
  .profile-account-tools { margin-block: 20px 24px; }.profile-account-tools .profile-actions { width: 100%; }.profile-locker-copies { grid-template-columns: 1fr; }.profile-locker-copy { padding: 20px 0; }.profile-locker-copy+div { border-left: 0; border-top: 1px solid #586e4d; padding: 20px 0; }
  .profile-public-feature { margin-top: 32px; padding-top: 24px; }.profile-public-feature h2 { font-size: 42px !important; }.profile-public-lineup { max-width: 450px; margin-inline: auto; }.profile-bio { font-size: 18px; }
  .profile-search { align-items: stretch; flex-direction: column; gap: 10px; }.profile-search>.profile-button { margin: 0; align-self: start; }
  .profile-manager-row { grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding-block: 22px; }.profile-manager-link { grid-column: 1/-1; grid-row: auto; }.profile-directory-bio { grid-column: 1/-1; }.profile-directory-meta { grid-column: 1; grid-row: auto; }.profile-manager-row>.profile-button { grid-column: 2; grid-row: auto; }.profile-identity--compact h2 { font-size: 31px !important; }.profile-identity--compact .profile-crest { width: 52px; height: 61px; font-size: 25px; }
  .profile-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }.profile-dialog__head { padding: 18px 16px; }.profile-dialog__head h2 { font-size: 29px; }.profile-dialog__body { padding: 18px 16px; }.profile-transfer { grid-template-columns: 1fr; gap: 20px; }.profile-dialog .profile-actions { flex-direction: column-reverse; align-items: stretch; }
}
@media(prefers-reduced-motion:reduce) { #profile-app *,#profile-app *::before,#profile-app *::after,.profile-dialog * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
