body{min-height:100vh}
.competitor-photo{display:block;width:104px!important;height:104px!important;max-width:104px!important;max-height:104px!important;min-width:104px;object-fit:cover;object-position:center;border-radius:14px;border:3px solid #fff;box-shadow:0 .3rem .9rem rgba(0,0,0,.14);background:#e9ecef;cursor:zoom-in}
.leaderboard-photo{display:block;width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;object-fit:cover;object-position:center;border-radius:10px;background:#e9ecef;cursor:zoom-in}
.admin-competitor-photo{display:block;width:110px!important;height:110px!important;max-width:110px!important;max-height:110px!important;object-fit:cover;object-position:center;border-radius:12px;background:#e9ecef;cursor:zoom-in}
.photo-preview-image{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;margin:auto;object-fit:contain}
.points-card{height:100%;padding:1.1rem 1.2rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff}.points-card-total{background:#171717;color:#fff;border-color:#171717}.points-label{font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.72}.points-value{font-size:2.6rem;line-height:1.05;font-weight:800;margin-top:.35rem}.points-value-small{font-size:2rem}
@media(max-width:575.98px){.competitor-photo{width:84px!important;height:84px!important;max-width:84px!important;max-height:84px!important;min-width:84px}.points-card{padding:.8rem}.points-label{font-size:.68rem}.points-value-small{font-size:1.5rem}}

/* v0.6.1 public homepage */
.portal-home{background:#f5f6f8;color:#18202b}
.portal-navbar{background:#172131;box-shadow:0 2px 14px rgba(0,0,0,.14)}
.portal-navbar .navbar-brand{letter-spacing:.01em}
.portal-navbar .nav-link{color:rgba(255,255,255,.78)}
.portal-navbar .nav-link:hover,.portal-navbar .nav-link.active{color:#fff}
.portal-hero{background:linear-gradient(135deg,#182233 0%,#29364a 100%);color:#fff;padding:5.5rem 0 6.75rem}
.portal-hero-inner{max-width:900px}
.portal-kicker{display:inline-block;margin-bottom:1rem;padding:.35rem .8rem;border:1px solid rgba(255,255,255,.24);border-radius:999px;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#f4c765}
.portal-hero h1{margin:0;font-size:clamp(2.25rem,5vw,4rem);font-weight:800;letter-spacing:-.035em}
.portal-hero p{max-width:760px;margin:1rem auto 0;font-size:clamp(1rem,2vw,1.25rem);color:rgba(255,255,255,.78)}
.btn-gold{background:#d7a936;border-color:#d7a936;color:#172131;font-weight:700}
.btn-gold:hover,.btn-gold:focus{background:#e4bb55;border-color:#e4bb55;color:#101722}
.portal-card-section{margin-top:-3rem;padding-bottom:4.5rem}
.portal-action-card{display:flex;flex-direction:column;padding:1.6rem;background:#fff;border:1px solid #e4e7eb;border-radius:1rem;box-shadow:0 .7rem 2rem rgba(23,33,49,.08);transition:transform .18s ease,box-shadow .18s ease}
.portal-action-card:hover{transform:translateY(-3px);box-shadow:0 1rem 2.4rem rgba(23,33,49,.12)}
.portal-card-icon{font-size:1.65rem;margin-bottom:1rem}
.portal-action-card h2{font-size:1.2rem;font-weight:750}
.portal-action-card p{color:#667085;line-height:1.55;margin-bottom:1.5rem}
.portal-footer{padding:1.4rem 0;background:#172131;color:rgba(255,255,255,.68);font-size:.9rem}
@media(max-width:767.98px){.portal-hero{padding:4rem 0 5.5rem}.portal-card-section{margin-top:-2rem}.portal-action-card{padding:1.35rem}}

/* v0.6.3 compact header and section tabs */
.portal-home-compact{display:flex;min-height:100vh;flex-direction:column;background:#f6f7f9}
.portal-nav-container{min-height:58px}
.portal-brand{display:flex;align-items:center;gap:.7rem;font-size:1rem;font-weight:700;letter-spacing:.005em}
.portal-brand-logo-wrap{display:grid;width:42px;height:42px;place-items:center;overflow:hidden;border-radius:8px;background:#fff}
.portal-brand-logo{display:block;width:38px;height:38px;object-fit:contain}
.portal-hero-compact{padding:4rem 0 4.5rem}
.portal-hero-compact h1{font-size:clamp(2rem,4vw,3.4rem)}
.portal-hero-compact p{font-size:clamp(.95rem,1.5vw,1.1rem)}
.portal-main-tabs{flex:1;margin-top:-1.65rem;padding:0 0 4rem}
.portal-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden;border:1px solid #dde1e7;border-radius:14px;background:#fff;box-shadow:0 .75rem 2rem rgba(23,33,49,.1)}
.portal-tab{display:flex;min-height:82px;align-items:center;justify-content:center;gap:.55rem;padding:1rem .8rem;border-right:1px solid #e7e9ed;color:#253044;font-weight:700;text-align:center;text-decoration:none;transition:background .16s ease,color .16s ease,transform .16s ease}
.portal-tab:last-child{border-right:0}
.portal-tab:hover{background:#f5f1e7;color:#131a25}
.portal-tab-active{background:#172131;color:#fff}
.portal-tab-active:hover{background:#202d42;color:#fff}
.portal-tab-icon{font-size:1.15rem;line-height:1}
.portal-welcome-panel{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-top:2rem;padding:2rem 2.25rem;border:1px solid #e1e4e9;border-radius:16px;background:#fff;box-shadow:0 .5rem 1.5rem rgba(23,33,49,.06)}
.portal-welcome-label{margin-bottom:.4rem;color:#a77a13;font-size:.75rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.portal-welcome-panel h2{margin:0 0 .45rem;font-size:1.5rem;font-weight:800;color:#172131}
.portal-welcome-panel p{max-width:760px;margin:0;color:#687386;line-height:1.6}
@media(max-width:991.98px){.portal-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-tab{border-bottom:1px solid #e7e9ed}.portal-tab:nth-child(2n){border-right:0}.portal-tab:last-child{grid-column:1/-1;border-bottom:0}.portal-welcome-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:575.98px){.portal-brand span:last-child{font-size:.88rem}.portal-brand-logo-wrap{width:36px;height:36px}.portal-brand-logo{width:32px;height:32px}.portal-hero-compact{padding:3rem 0 3.7rem}.portal-main-tabs{margin-top:-1.25rem}.portal-tabs{grid-template-columns:1fr}.portal-tab,.portal-tab:nth-child(2n){min-height:58px;justify-content:flex-start;border-right:0;border-bottom:1px solid #e7e9ed;padding:.8rem 1rem}.portal-tab:last-child{grid-column:auto}.portal-welcome-panel{padding:1.4rem}.portal-welcome-panel .btn{width:100%}}
