/* Only the profile content is restyled. Site navigation stays untouched. */
#view-profile #pJob hr,#authGate #authJob hr{border:0;border-top:1px solid #e4e7e0;color:#e4e7e0;margin:4px 9px}
#view-profile .pchannel-fields{grid-column:1/-1;min-width:0;margin:0;padding:0;border:0}
#view-profile .pchannel-fields legend{padding:0;font-size:13px;font-weight:700;color:#293b2d}
#view-profile .pchannel-fields legend span{font-size:11px;font-weight:400;color:#737c71}
#view-profile .pchannel-fields>p{margin:4px 0 10px;font-size:11px;color:#6d7769}
#view-profile .pchannel-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#view-profile .pchannel-field{min-width:0;display:flex;flex-direction:column;gap:6px}
#view-profile .pchannel-field-title{display:flex;align-items:center;gap:7px;color:#334536;font-size:12px;font-weight:650}
#view-profile .pchannel-field input{width:100%;min-width:0;height:39px;border:1px solid #cdd2c7;border-radius:7px;padding:8px 10px;font:inherit;font-size:12px;background:#fff;color:#25372b}
#view-profile .pchannel-field input:focus{outline:2px solid #47785e;outline-offset:1px}
#view-profile .pchannel-field input::placeholder{color:#8a9286}
#view-profile #pChannelsPreview:empty{display:none}
#view-profile #pChannelsPreview{margin-top:12px}
.pchannel-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;text-align:left}
.pchannel-link{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 10px;border:1px solid #dce3d9;border-radius:8px;background:#f8faf5;color:#294b39;text-decoration:none}
.pchannel-link:hover{border-color:#a5b89e;background:#f1f6ed}
.pchannel-link:focus-visible{outline:2px solid #4a755c;outline-offset:2px}
.pchannel-icon{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:7px;background:#eef1eb;color:#455745;flex:0 0 25px}
.pchannel-icon svg{width:19px;height:19px;display:block}
.pchannel-youtube .pchannel-icon{background:#fff0ed;color:#d33123}
.pchannel-instagram .pchannel-icon{background:#fbedf4;color:#b73576}
.pchannel-x .pchannel-icon,.pchannel-threads .pchannel-icon{background:#202723;color:#fff}
.pchannel-at{font:700 22px/1 system-ui,sans-serif}
.pchannel-caption{min-width:0;flex:1}
.pchannel-caption b{display:block;font-size:11px;line-height:1.5}
.pchannel-caption>span{display:block;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#6b7769}
.pchannel-out{font-size:13px;color:#81907d;flex:none}
@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))){#view-profile .pchannel-input-grid{grid-template-columns:minmax(0,1fr)}#view-profile .pchannel-field input{font-size:16px;height:40px}.pchannel-links{grid-template-columns:minmax(0,1fr)}}
#view-profile{--pc-green:#174d3d;--pc-line:#dddcd2;--pc-muted:#666f66;max-width:1160px;padding:18px;background:#f6f3ec;border-radius:16px;color:#202d26}
#view-profile .page-head{margin:0 0 18px;padding:0}
#view-profile .page-head>div{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
#view-profile .page-title{margin:0;font-size:25px;color:#172e24;letter-spacing:-.6px}
#view-profile .page-desc{margin:0;font-size:13px;color:var(--pc-muted)}
#view-profile .profile-page{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;max-width:none;align-items:start}
#view-profile .pcard{padding:20px;border:1px solid var(--pc-line);border-radius:12px;background:#fffefa;box-shadow:0 3px 10px #263c2906;min-width:0;margin:0}
#view-profile .prof-summary{display:flex;flex-direction:column;align-items:stretch;gap:14px;flex-wrap:nowrap;padding:20px 16px}
#view-profile button.prof-ava{align-self:center;flex:0 0 auto;width:160px;height:160px;border:3px solid #e3e9de;background:var(--pc-green);font-size:38px;box-shadow:0 0 0 1px #d0dbcd}
#view-profile .prof-ava-cam{display:none}
#view-profile .prof-head-tx{text-align:center;flex:0 0 auto;min-width:0}
#view-profile .prof-name{color:#1b3025;font-size:21px}
#view-profile .prof-meta{font-size:11px;line-height:1.5;color:var(--pc-muted);overflow-wrap:anywhere}
#view-profile .prof-ava-btns{display:grid;gap:7px;margin-top:14px}
#view-profile .prof-ava-btns button{width:100%;min-height:36px;padding:7px 10px;font-size:12px;border-radius:7px;justify-content:center;border:1px solid #ccd6cc;color:var(--pc-green);background:#fffefa}
#view-profile #profPhotoPick{background:var(--pc-green);color:#fff;border-color:var(--pc-green)}
#view-profile .prof-lv-card{width:100%;min-width:0;flex:0 0 auto;align-self:stretch;gap:8px;padding:10px 10px 28px;border:1px solid #dbe3d5;border-radius:8px;background:#f2f5ed}
#view-profile .prof-lv-fxrow{font-size:10px;gap:5px;margin-bottom:3px}
#view-profile .prof-lv-tier{width:33px;height:36px}
#view-profile .prof-lv-top{gap:4px;margin:0 0 5px}
#view-profile .prof-lv-tiername{font-size:11px}
#view-profile .prof-lv-xp{font-size:10px;margin-left:0}
#view-profile .prof-lv-note{font-size:10px;white-space:normal}
#view-profile .prof-lv-bar{height:6px;background:#dce5d8}
#view-profile .prof-lv-bar span{background:var(--pc-green)}
#view-profile .prof-lv-more{font-size:10px;padding:2px 7px;bottom:6px;border-color:#cbd6c6;color:var(--pc-green)}
#view-profile .fxsw input:checked+i{background:var(--pc-green)}
#view-profile .prof-tabs{display:flex;flex-direction:column;gap:5px;padding:12px 0 0;margin:0;border-radius:0;border-top:1px solid var(--pc-line);background:transparent}
#view-profile .pc-manage-nav button{flex:none;min-height:37px;padding:8px 12px;width:100%;text-align:left;border:1px solid transparent;border-radius:7px;background:transparent;color:#566255;font-size:13px;font-weight:650;box-shadow:none}
#view-profile .pc-manage-nav .prof-tab.active{color:var(--pc-green);background:#e8eee2;border-color:#e0e8d9}
#view-profile #profGoDash{border-top:1px solid var(--pc-line);margin-top:4px;border-radius:0}
#view-profile #profileForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}
#view-profile .pc-field{display:flex;min-width:0;position:relative;gap:6px;margin:0;color:#2a382d;font-size:13px;font-weight:650}
#view-profile .pc-field-label{display:block;line-height:1.6;min-height:21px}
#view-profile .pc-field .opt{font-size:11px;color:#727b70}
#view-profile .pc-field input,#view-profile .pc-field select,#view-profile #profilePwForm input{height:39px;min-height:39px;width:100%;min-width:0;margin:0;padding:8px 11px;font:inherit;font-size:13px;color:#24352a;border:1px solid #cdd2c7;border-radius:7px;background:#fff}
#view-profile .pc-field input:focus,#view-profile .pc-field select:focus,#view-profile .pc-field textarea:focus,#view-profile #profilePwForm input:focus{outline:none;border-color:#46755c;box-shadow:0 0 0 3px #32634714}
#view-profile .pc-field-pName input,#view-profile .pc-field-pAff input{padding-right:48px}
#view-profile .pc-field .field-count{position:absolute;right:11px;top:38px;font-size:10px;line-height:1;color:#8a9287;margin:0;font-weight:500}
#view-profile .pc-field-pNick .field-count{right:90px}
#view-profile .pc-field-pNick input{padding-right:38px}
#view-profile .auth-nickname-row{display:flex;gap:7px;min-width:0}
#view-profile .auth-nickname-row input{flex:1 1 0;width:0}
#view-profile .auth-nickname-check{min-height:39px;padding:0 10px;font-size:11px;color:var(--pc-green);border:1px solid #9eaf9d;border-radius:7px;background:#fffefa}
#view-profile .auth-nickname-status:empty{display:none}
#view-profile .auth-nickname-status{min-height:0;font-size:11px;line-height:1.4}
#view-profile .pc-field-pEmail,#view-profile .pc-field-pIntro,#view-profile .pc-field-pLink,#view-profile #profileMsg,#view-profile .profile-actions{grid-column:1/-1}
#view-profile #pEmail{background:#eff1eb;color:#64705f}
#view-profile #pEmailNote{margin:0;font-size:11px;line-height:1.5;color:#6d7769}
#view-profile #pIntro{min-height:72px;height:72px;max-height:180px;resize:vertical;width:100%;padding:9px 11px;border:1px solid #cdd2c7;border-radius:7px;font:inherit;font-size:13px;line-height:1.6;background:#fff;color:#24352a}
#view-profile .pc-field input::placeholder,#view-profile #pIntro::placeholder{color:#899084;font-size:12px}
#view-profile .profile-actions{display:flex;justify-content:flex-end;gap:9px;margin:3px 0 0;padding-top:14px;border-top:1px solid var(--pc-line)}
#view-profile .profile-actions button{height:40px;min-height:40px;border-radius:7px;font-size:13px;padding:8px 18px}
#view-profile .profile-actions .btn-ghost2{background:#fffefa;border:1px solid #b9c4b5;color:#41553f;flex:0 0 auto}
#view-profile .profile-actions .auth-submit{background:var(--pc-green)!important;background-image:none!important;color:#fff;box-shadow:none;border:1px solid var(--pc-green);flex:0 1 230px;margin:0;font-weight:700}
#view-profile button:hover{transform:none}
#view-profile button:focus-visible{outline:2px solid #45725b;outline-offset:3px}
#view-profile #profilePwForm{gap:14px}
#view-profile .prof-pw-desc{margin:0;font-size:13px;color:var(--pc-muted)}
@media((max-width:1100px) and (not ((hover: hover) and (pointer: fine)))){#view-profile .profile-page{grid-template-columns:210px minmax(0,1fr);gap:12px}#view-profile .pcard{padding:16px}#view-profile #profileForm{gap:13px 12px}}
@media((max-width:900px) and (not ((hover: hover) and (pointer: fine)))){#view-profile{padding:12px}#view-profile .profile-page{grid-template-columns:minmax(0,1fr)}#view-profile .prof-summary{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px 16px;align-items:center}#view-profile button.prof-ava{width:104px;height:104px}#view-profile .prof-head-tx{text-align:left}#view-profile .prof-name{font-size:18px}#view-profile .prof-ava-btns{display:flex;flex-wrap:wrap;margin-top:8px;gap:6px}#view-profile .prof-ava-btns button{width:auto;min-height:32px;padding:5px 9px;font-size:11px}#view-profile .prof-lv-card,#view-profile .prof-tabs{grid-column:1/-1}#view-profile .prof-lv-card{padding:8px 10px 23px;flex-wrap:wrap}#view-profile .prof-lv-fxrow{width:auto;margin:0 0 3px auto;flex-basis:100%}#view-profile .prof-lv-top{gap:7px}#view-profile .prof-lv-xp{margin-left:auto}#view-profile .prof-tabs{flex-direction:row;padding-top:9px}#view-profile .pc-manage-nav button{flex:1;min-width:0;text-align:center;padding:7px 4px;font-size:12px}#view-profile #profGoDash{border:0;margin:0;border-radius:7px}}
@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))){#view-profile .page-head>div{gap:3px;display:block}#view-profile .page-title{font-size:22px;margin-bottom:4px}#view-profile .page-desc{font-size:12px}#view-profile #profileForm{grid-template-columns:minmax(0,1fr);gap:13px}#view-profile .pcard{padding:14px}#view-profile .prof-meta{font-size:10px}#view-profile .pc-field input,#view-profile .pc-field select{font-size:16px;height:40px;min-height:40px}#view-profile .pc-field-pNick .field-count{right:88px}#view-profile .pc-field .field-count{top:39px}#view-profile .pc-field-label{font-size:13px}#view-profile .profile-actions .auth-submit{flex:1}#view-profile .profile-actions .btn-ghost2{padding-inline:14px}}

/* Keep the nickname display-order hint beside its label, without another row. */
#view-profile .pc-nickname-label{display:flex;align-items:baseline;justify-content:flex-start;gap:10px;flex-wrap:wrap}
#view-profile .pc-nickname-label .opt{font-size:10px}
#view-profile .pc-nickname-hint{font-size:12px;line-height:1.4;font-weight:600;letter-spacing:-.2px;color:var(--pc-green);white-space:nowrap}

@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))){#view-profile .pc-nickname-label{gap:7px}#view-profile .pc-nickname-hint{font-size:11px}}
