/* Refinements of the existing maroon/gold identity. Login and admin layout are unchanged. */
.member-search-lookup{margin-top:10px;padding:12px;border:1px solid #c89727;border-radius:12px;background:#091321;color:#f2d578}.member-search-lookup p{font-size:14px;line-height:1.5;margin:0}.member-search-lookup>button{display:block;min-height:44px;margin-top:8px;padding:9px 12px;border:1px solid #c89727;border-radius:9px;background:#091321;color:#f2d578;font-size:14px;font-weight:750}.member-search-lookup[hidden],.member-search-lookup>button[hidden]{display:none}
.member-username-search{margin:0 0 16px;max-width:540px;width:100%}.member-username-search>label{display:block;font-size:14px;font-weight:750;color:#f2d578;margin-bottom:7px}.member-search-field{display:flex;align-items:center;gap:8px;width:100%;min-width:0;border:1px solid #4d4c3e;border-radius:12px;background:#091321;overflow:hidden;padding:0 10px}.member-search-field:focus-within{border-color:#c89727;box-shadow:0 0 0 2px #ecd5a1}.member-search-field>svg{width:21px;height:21px;flex:none;stroke:#f2d578;fill:none;stroke-width:1.8}.member-search-field #member-search{flex:1;width:100%;min-width:0;min-height:46px;margin:0;padding:10px 0;border:0;border-radius:0;outline:none;background:transparent;font-size:16px;color:#f5f7fc}.member-search-field #member-search::placeholder{color:#b7c4d6}.member-search-field>button{flex:none;min-height:44px;padding:8px;color:#f2d578;font-size:14px;font-weight:700}.member-search-field>button:focus-visible{outline:2px solid #f2d578;outline-offset:-3px;border-radius:8px}.member-search-field>button[hidden]{display:none}
.elegant-upline .elegant-bottom [data-elegant-route=ranking]{color:#f2d578;background:#091321;border:1px solid #c89727}
.elegant-upline .elegant-bottom [data-elegant-route=ranking][aria-current=page]{background:linear-gradient(145deg,#10233b,#10233b);color:#f2d578;border-color:#c89727;box-shadow:0 2px 10px #9e711826}
.elegant-bottom [data-elegant-route=ranking] svg{fill:none;stroke:currentColor}.elegant-pay-teaser{display:none!important}
#upline-opening .home-task{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;box-sizing:border-box;min-height:48px;margin:0;padding:11px 13px;border:1px solid #c89727;border-radius:13px;background:linear-gradient(135deg,#10233b,#10233b);color:#f2d578;box-shadow:0 5px 18px #24030c33;font:inherit;font-size:14px;font-weight:800;line-height:1.4;cursor:pointer;text-align:center;grid-column:2;grid-row:1;align-self:center;white-space:nowrap}
.elegant-upline #upline-opening .home-game-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;align-items:center}
.elegant-upline .home-game-head>div{min-width:0;grid-column:1;grid-row:1}.elegant-upline .home-game-head h2{font-size:18px;line-height:1.35;margin:0}.elegant-upline .home-game-head>select{grid-row:2;grid-column:1/-1;justify-self:start;margin:0;width:auto;max-width:100%}
.elegant-upline .elegant-welcome{padding-bottom:0}.elegant-upline .elegant-welcome>button[data-elegant-route="own-attendance"]{margin-top:24px;margin-bottom:8px}
@media(max-width:420px){.elegant-upline .home-game-head h2{font-size:16px}.elegant-upline #upline-opening .home-game-head{column-gap:8px}#upline-opening .home-task{gap:6px;padding:11px 10px}}
#upline-opening .home-task[hidden]{display:none}#upline-opening .home-task span{color:#f2d578;font:inherit}#upline-opening .home-task svg{width:25px;height:25px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#upline-opening .home-task:hover{background:#10233b}#upline-opening .home-task:active{background:#10233b}#upline-opening .home-task:focus-visible{outline:3px solid #f2d578;outline-offset:4px}
.elegant-upline .elegant-welcome .home-rank{display:flex;align-items:center;gap:12px;max-width:100%;min-height:64px;box-sizing:border-box;margin:15px 0 4px;padding:10px 14px;border:1px solid #c89727;border-radius:16px;background:#030913;color:#f2d578;text-align:left;cursor:pointer;font:inherit;box-shadow:0 4px 16px #21010c26}
.elegant-upline .elegant-welcome .home-rank[hidden]{display:none}.home-rank-medal{width:40px;min-width:40px;display:grid;justify-items:center;color:inherit}.home-rank-medal svg{width:31px;height:25px;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linecap:round}.home-rank-medal b{font-size:15px;line-height:1.2}.home-rank-copy{min-width:0;color:inherit}.home-rank-copy strong{display:block;font-size:15px;line-height:1.4;color:inherit;letter-spacing:.3px}.home-rank-copy strong span{display:block;font-size:10px;letter-spacing:1.4px;font-weight:750;color:inherit}.home-rank-copy small{display:block;font-size:12px;line-height:1.4;margin-top:4px;color:inherit;overflow-wrap:anywhere}
.elegant-upline .elegant-welcome .home-rank[data-rank="1"]{background:linear-gradient(125deg,#091321,#10233b);color:#f2d578;border-color:#c89727}.elegant-upline .elegant-welcome .home-rank[data-rank="2"]{background:linear-gradient(125deg,#091321,#10233b);color:#f5f7fc;border-color:#4d4c3e}.elegant-upline .elegant-welcome .home-rank[data-rank="3"]{background:linear-gradient(125deg,#10233b,#5e2034);color:#f5f7fc;border-color:#c89727}.elegant-upline .elegant-welcome .home-rank:hover{filter:brightness(1.08)}.elegant-upline .elegant-welcome .home-rank:focus-visible{outline:3px solid #f2d578;outline-offset:3px}
.home-pulse{width:100%;border-top:1px solid rgba(200,151,39,0.271);margin-top:14px;padding-top:12px}.home-pulse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.home-pulse-grid>div,.home-pulse-grid>button{display:flex;flex-direction:column;justify-content:space-between;margin:0;padding:11px 10px;border:1px solid rgba(200,151,39,0.2);border-radius:14px;background:#36081544;color:#f5f7fc;text-align:left;min-width:0;font:inherit;min-height:92px}
.home-pulse-grid>button{cursor:pointer}.home-pulse-grid>button:hover{background:#091321}.home-pulse-grid span,.home-pulse-grid small{display:block;font-size:13px;line-height:1.3;color:#f2d578}.home-pulse-grid strong{display:block;font-size:27px;line-height:1.2;margin:7px 0 0;color:#f2d578;overflow-wrap:anywhere}.home-pulse-grid small{font-size:12px}
.elegant-upline #upline-opening .home-game-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}.elegant-upline .home-game-head .chart-period{display:none}.elegant-upline .home-game-head>select{grid-column:1;grid-row:2;align-self:center;width:100%;max-width:155px;box-sizing:border-box}.home-game-head .home-task{justify-self:end}
.home-score{grid-column:2;grid-row:2;text-align:right;padding:0;color:#f2d578;min-width:0;align-self:center}.home-score[hidden]{display:none}.home-score>span{display:block;font-size:14px;font-weight:800;letter-spacing:2px;line-height:1.2;color:#f2d578}.home-score>strong{display:block;font-weight:850;font-size:clamp(21px,2.5vw,30px);line-height:1.2;margin-top:5px;color:#f2d578;text-shadow:0 2px 12px #25010755;overflow-wrap:anywhere}.home-score[data-position=lose]>span,.home-score[data-position=lose]>strong{color:#f5f7fc}
.elegant-upline .home-game-head>.home-score{grid-column:2;grid-row:2}.elegant-upline .home-game-head:not(:has(.home-task:not([hidden])))>.home-score{grid-row:1/3}
.elegant-upline #upline-opening{display:block!important}.elegant-upline #upline-recap,.elegant-upline [data-panel=overview]>.elegant-monthly-fold,.elegant-upline [data-panel=overview]>.compact-detail{display:none}
#home-details{width:min(800px,calc(100% - 24px));max-height:88dvh;padding:20px;border:1px solid #4d4c3e;border-radius:22px;background:#091321;color:#f5f7fc;box-sizing:border-box;overflow:auto}#home-details::backdrop{background:rgba(3,9,19,0.651)}.home-details-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.home-details-head h2{font-size:22px;margin:0}.home-details-head>button{border:1px solid #4d4c3e;background:#091321;color:#f2d578;border-radius:50%;width:44px;height:44px;font-size:26px;flex:none}.elegant-upline #home-details #upline-recap{display:block;padding:18px;background:#091321;border:1px solid #4d4c3e;border-radius:18px}.home-details-content>.compact-detail{margin-top:14px}.home-details-content .monthly-tools{flex-wrap:wrap}.home-details-content .monthly-tools>*{min-width:0;max-width:100%}.home-details-content .table-scroll{max-width:100%;overflow-x:auto}
.home-pulse button:focus-visible,.home-followup button:focus-visible{outline:3px solid #f2d578;outline-offset:3px}.home-followup{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;margin:16px 0;border:1px solid #c89727;border-radius:18px;background:#091321;color:#f2d578}.home-followup[hidden]{display:none}.home-followup small{display:block;margin-top:5px;font-size:13px}.home-followup>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.home-followup button{min-height:44px;padding:10px 12px;border-radius:12px;font-weight:700}
.followup-page{max-width:950px;margin:auto}.followup-switch{display:flex;align-items:center;gap:12px;font-weight:700;font-size:16px;line-height:1.5}.followup-switch input{width:22px;height:22px;min-height:22px;accent-color:#edc348;flex:none}#followup-status{font-size:14px;line-height:1.6;color:#b7c4d6;margin:18px 0}.followup-member{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #4d4c3e;border-radius:16px;padding:16px;margin:10px 0}.followup-member>div{min-width:0}.followup-member strong{overflow-wrap:anywhere}.followup-member span,.followup-member small{display:block;margin-top:7px;font-size:13px;line-height:1.5}.followup-member span{color:#f2d578;font-weight:700}.followup-member button{flex:none}
.member-group{font-size:12px;font-weight:700;max-width:100%}.member-group>span{display:block;margin-bottom:5px}.member-group select{min-height:44px;max-width:100%;font-size:14px}.member-left{display:inline-block;border-radius:30px;padding:5px 10px;background:#091321;color:#f5f7fc;font-size:13px;font-weight:700}.member-date-filter.expanded{flex-basis:100%;max-width:100%}.member-date-filter .member-date-popover{position:static!important;inset:auto!important;width:min(100%,320px)!important;max-width:100%;margin-top:10px;box-sizing:border-box;z-index:auto;box-shadow:none}.member-date-popover input{box-sizing:border-box;min-width:0;width:100%}.member-carousel-controls{display:none}
.elegant-upline #upline-recap .kpi small{display:none}.hall-card .hof-note{display:none}
@media(max-width:760px){
 .elegant-upline .elegant-welcome{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:14px 16px 0}.elegant-upline .elegant-welcome>span{grid-column:1;grid-row:1;font-size:10px}.elegant-upline .elegant-welcome h2{grid-column:1;grid-row:2;font-size:clamp(20px,5.7vw,24px);line-height:1.2;margin:2px 0 0}.elegant-upline .elegant-welcome .home-rank{grid-column:2;grid-row:1/3;align-self:center;min-height:46px;max-width:128px;padding:6px 9px;gap:5px;margin:0;border-radius:12px}.home-rank-medal{width:22px;min-width:22px}.home-rank-medal svg{width:21px;height:18px}.home-rank-medal b{font-size:11px}.home-rank-copy strong{font-size:12px}.home-rank-copy strong span{font-size:8px;letter-spacing:.7px}.home-rank-copy small{display:none}.elegant-upline .elegant-welcome>button[data-elegant-route="own-attendance"]{grid-column:1/-1;grid-row:3;justify-self:start;margin:10px 0 7px;min-height:44px;padding:10px 14px;font-size:13px}
 .elegant-upline #upline-opening>.distribution{padding:10px 16px 17px}.elegant-upline .home-game-head h2{font-size:16px}.elegant-upline #upline-opening .home-game-head{gap:8px}.home-score>strong{font-size:clamp(19px,5.8vw,24px)}.elegant-upline .distribution .pie-layout{grid-template-columns:135px minmax(0,1fr);gap:12px;margin-top:12px}.elegant-upline .distribution .donut{max-width:135px}.elegant-upline .distribution .legend-row{font-size:13px}.elegant-upline .distribution .legend-row strong{font-size:13px}.home-pulse-grid>div,.home-pulse-grid>button{padding:10px 8px;min-height:88px}.home-pulse{margin-top:12px;padding-top:12px}
 .home-followup{align-items:flex-start;flex-direction:column}.home-followup>div:last-child{width:100%}.home-followup .primary{flex:1}.followup-member{flex-wrap:wrap}.followup-member .table-button{margin-left:auto}
 [data-panel=members] .table-scroll{overflow:visible;width:100%;max-width:100%;min-width:0}
 #members-body.member-carousel{display:flex!important;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;width:100%;max-width:100%;scrollbar-width:thin;scrollbar-color:#cfa652 #f5eee6;padding:4px 0 12px;align-items:stretch;box-sizing:border-box}
 #members-body.member-carousel>tr{display:grid;flex:0 0 calc(100% - 18px);width:calc(100% - 18px);box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always;margin:0!important;align-content:start;min-width:0;padding:16px}
 .member-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 12px}.member-carousel-controls button{min-width:44px;min-height:44px;border-radius:12px;border:1px solid #c89727;background:#091321;color:#f2d578;font-size:25px}.member-carousel-controls button:disabled{opacity:.35}.member-carousel-controls span{font-size:13px;font-weight:700;color:#b7c4d6}
 .member-head-actions{width:100%;min-width:0;align-items:end}.member-group{flex:1 1 150px}.member-group select{width:100%}.elegant-bottom button span{font-size:12px;line-height:1.25}.elegant-bottom button{min-width:0}
}
@media(max-width:760px) and (max-height:760px){
 .elegant-upline .elegant-welcome{padding-top:10px}.elegant-upline .elegant-welcome>button[data-elegant-route="own-attendance"]{margin-top:6px;margin-bottom:4px}
 .elegant-upline #upline-opening>.distribution{padding-bottom:12px}.elegant-upline #upline-opening .home-game-head{margin-bottom:6px}
 .elegant-upline .distribution .pie-layout{grid-template-columns:110px minmax(0,1fr);margin-top:6px}.elegant-upline .distribution .donut{max-width:110px}
 .home-pulse{margin-top:8px;padding-top:8px}.home-pulse-grid>div,.home-pulse-grid>button{min-height:80px;padding:8px 7px}.home-pulse-grid strong{font-size:25px;margin-top:4px}
}
@media(prefers-reduced-motion:reduce){#members-body{scroll-behavior:auto}}
/* PENJAJAH4D temporary text identity, confined to the champion's card. */
.hof-king{background-color:#030913;background-image:linear-gradient(to bottom,transparent 0%,rgba(3,9,19,0.722) 80%,#030913 100%),url('/logo-penjajah4d.svg');background-size:100% 100%,80% auto;background-repeat:no-repeat;background-position:top center;box-shadow:0 12px 36px #01050b30,inset 0 0 40px #01050b33;border-color:#c89727}
.hof-brand-space{width:100%;aspect-ratio:3.4;margin-top:-10px;flex:none}.hof-king .hof-light{opacity:.3}.hof-king .hof-king-top{margin-top:8px}.hof-king h3{text-shadow:0 2px 9px #01050b}.hof-king .hof-king-score strong{text-shadow:0 2px 14px #01050b}.hof-king .hof-king-score>span,.hof-king .hof-motto{color:#f2d578}.hof-king .hof-react{background:rgba(3,9,19,0.8)}
@media(max-width:760px){.hof-brand-space{aspect-ratio:3;margin-top:-8px}.hof-king{padding-top:18px}.hof-king .hof-regalia{margin-top:8px;height:130px}.hof-king .hof-king-top{margin-top:4px}}
