
.enhyp{max-width:1050px;margin:22px auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}
.enhyp-tools{display:flex;gap:12px;align-items:center;margin-bottom:12px}.enhyp-search{flex:1;padding:12px;border:1px solid #d1d5db;border-radius:10px}
.enhyp-team{border:1px solid #e5e7eb;border-left:6px solid var(--team);border-radius:10px;margin:8px 0;background:#fff;overflow:hidden}.enhyp-team summary{display:flex;align-items:center;gap:10px;padding:15px;cursor:pointer}.enhyp-team summary b{font-size:17px}.enhyp-team summary em{margin-left:auto;font-style:normal;color:#6b7280}.enhyp-dot{width:12px;height:12px;border-radius:50%;background:var(--team)}
.enhyp-body{padding:0 15px 16px}.enhyp-avg{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.enhyp-avg>div{background:#f7f8fa;border-radius:10px;padding:12px}.enhyp-avg small,.enhyp-avg span,.enhyp-avg em{display:block;color:#6b7280;font-style:normal}.enhyp-avg b{display:block;font-size:21px;margin:4px 0}
.enhyp-comment{margin:12px 0;padding:14px;border-left:4px solid var(--team);background:#fafafa}.enhyp-comment p{margin:7px 0 0;line-height:1.8}
.enhyp-radar-wrap{display:grid;grid-template-columns:330px 1fr;gap:14px;align-items:center;border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin:12px 0}.enhyp-score{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.enhyp-score span{background:#f3f4f6;padding:10px;border-radius:8px}.enhyp-score b{display:block;font-size:22px}
.enhyp-scroll{overflow-x:auto}.enhyp-table{width:100%;border-collapse:collapse;background:#fff}.enhyp-table th,.enhyp-table td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left;white-space:nowrap}.enhyp-table th{font-size:12px;color:#6b7280;cursor:pointer}.enhyp-ranking h2{border-left:5px solid #111827;padding-left:10px}.enhyp-pass{background:#f3fbf5}.enhyp-note{font-size:12px;color:#6b7280}.enhyp-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.enhyp-admin-grid .card{max-width:none;margin:0}
@media(max-width:650px){.enhyp-avg{grid-template-columns:1fr}.enhyp-radar-wrap{grid-template-columns:1fr}.enhyp-score{grid-template-columns:repeat(2,1fr)}.enhyp-admin-grid{grid-template-columns:1fr}.enhyp-team summary{padding:12px}}

.enhyp-history{display:flex;flex-direction:column;gap:3px}.enhyp-history span{font-size:11px;background:#f3f4f6;border-radius:5px;padding:3px 6px}.enhyp-rookie{font-size:11px;color:#6b7280}

.enhyp-exp-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.enhyp-exp-summary>div{background:#f7f8fa;border-radius:9px;padding:10px}.enhyp-exp-summary small{display:block;color:#6b7280}.enhyp-exp-summary b{font-size:18px}.enhyp-history-filter{display:flex;gap:7px;margin:10px 0}.enhyp-history-filter button{border:1px solid #d1d5db;background:#fff;border-radius:999px;padding:7px 12px;cursor:pointer}.enhyp-history-filter button.is-active{background:#111827;color:#fff;border-color:#111827}@media(max-width:650px){.enhyp-exp-summary{grid-template-columns:1fr 1fr}.enhyp-exp-summary>div:last-child{grid-column:1/-1}}

.enhyp-ace{border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin:12px 0}.enhyp-ace-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.enhyp-ace-list>div{background:#f8fafc;border-radius:9px;padding:10px}.enhyp-ace-list span,.enhyp-ace-list small{display:block;margin-top:4px}.enhyp-ace-list span{font-weight:700}.enhyp-ace-list small{opacity:.75}@media(max-width:650px){.enhyp-ace-list{grid-template-columns:1fr}}

/* v2.4.0 ranking/prediction visibility */
.enhyp-ranking-v240,.enhyp-predict-v240{display:block!important;visibility:visible!important;opacity:1!important;min-height:80px}
.enhyp-empty{display:flex;flex-direction:column;gap:5px;padding:18px;border:1px solid #f0c36d;background:#fff8e8;border-radius:10px;color:#5c4310}
.enhyp-rank-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.enhyp-rank-card{display:grid;gap:3px;padding:13px;border:1px solid #dce5ee;border-radius:10px;background:#f7fafc}
.enhyp-rank-card span{font-weight:800}.enhyp-rank-card strong{font-size:18px}.enhyp-rank-card.rank-1{background:#fff5cf;border-color:#e5c65c}.enhyp-rank-card.rank-2{background:#f0f4f8}.enhyp-rank-card.rank-3{background:#fff0e4}
.enhyp-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.enhyp-table-scroll .enhyp-table{min-width:620px;width:100%;border-collapse:collapse}
.enhyp-rank-badge{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border-radius:999px;background:#e8f3ff;color:#0b4f86;font-weight:800}
.enhyp-predict-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 16px}
.enhyp-predict-card{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:10px 12px;border:1px solid #dce5ee;border-radius:10px;background:#fff}
.enhyp-predict-card .num{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef2f6;font-weight:800}.enhyp-predict-card strong{font-size:16px}.enhyp-predict-card em{grid-column:2/4;font-style:normal;font-size:11px;color:#667}.enhyp-predict-card.is-pass{border-left:5px solid #278a54;background:#f1fbf5}.enhyp-predict-card.is-pass .num{background:#dff3e7;color:#146c3d}
.enhyp-status{display:inline-block;padding:4px 8px;border-radius:999px;font-weight:700;font-size:12px}.enhyp-status.pass{background:#dff3e7;color:#146c3d}.enhyp-status.out{background:#f1f3f5;color:#59636e}
@media(max-width:600px){.enhyp-rank-cards{grid-template-columns:1fr}.enhyp-predict-cards{grid-template-columns:1fr}.enhyp-table-scroll .enhyp-table{min-width:560px}}
.enhyp-radar-svg{display:block;width:100%;max-width:320px;height:auto;margin:auto}.enhyp-radar-empty{min-height:180px;display:flex;align-items:center;justify-content:center;text-align:center;color:#6b7280;background:#f9fafb;border-radius:10px;padding:20px}

/* v2.5.8 athlete / high-school search */
.enhyp-search-note{margin:-4px 0 12px;color:#6b7280;font-size:12px}.enhyp-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.enhyp-section-title h2{margin:0;border-left:5px solid #111827;padding-left:10px}.enhyp-section-title span{color:#6b7280}.enhyp-hs-tools{margin:12px 0}.enhyp-hs-search{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:10px;box-sizing:border-box}.enhyp-hs-list{display:grid;gap:8px}.enhyp-hs-item{border:1px solid #e5e7eb;border-radius:10px;background:#fff;overflow:hidden}.enhyp-hs-item summary{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer}.enhyp-hs-item summary strong{margin-left:auto;background:#e8f3ff;color:#0b4f86;padding:4px 9px;border-radius:999px}.enhyp-hs-players{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 14px}.enhyp-hs-players span{background:#f7f8fa;border-radius:8px;padding:7px 9px;font-size:13px}.enhyp-hs-players b{font-weight:700}@media(max-width:650px){.enhyp-hs-players{display:grid;grid-template-columns:1fr}.enhyp-hs-players span{width:auto}}
/* v2.6.2 qualification forecast */
.enhyp-predict-v262 .enhyp-predict-card{grid-template-columns:34px 1fr auto}.enhyp-predict-v262 .enhyp-predict-card strong{font-size:18px}.enhyp-predict-detail{min-width:820px!important}.enhyp-predict-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding:10px;background:#f7f8fa;border-radius:9px}.enhyp-predict-legend span{padding:4px 8px;background:#fff;border-radius:999px;font-size:12px}.enhyp-status.zone-通過濃厚{background:#dff3e7;color:#146c3d}.enhyp-status.zone-通過有力{background:#e8f3ff;color:#0b4f86}.enhyp-status.zone-ボーダー{background:#fff3cd;color:#7a5700}.enhyp-status.zone-追う立場{background:#f1f3f5;color:#59636e}
.enhyp-entry-missing{margin:0 0 16px;padding:12px 14px;border:1px solid #f59e0b;border-left:5px solid #f59e0b;background:#fffbeb;border-radius:8px}.enhyp-entry-missing>strong{display:block;margin-bottom:8px}.enhyp-entry-missing div{display:flex;flex-wrap:wrap;gap:7px}.enhyp-entry-missing span{padding:5px 8px;background:#fff;border:1px solid #fde68a;border-radius:999px;font-size:12px}.enhyp-entry-missing .rank-s,.enhyp-entry-missing .rank-ss,.enhyp-entry-missing .rank-sss{font-weight:700}.enhyp-athlete-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.enhyp-athlete-tools input{min-width:260px;flex:1}.enhyp-athlete-tools input,.enhyp-athlete-tools select{padding:9px 10px;border:1px solid #d1d5db;border-radius:7px}.enhyp-athlete-block{margin:20px 0 30px}.enhyp-athlete-block h3{margin-bottom:5px}@media(max-width:640px){.enhyp-athlete-tools>*{width:100%;min-width:0!important}}

/* v2.6.8 rank/missing diagnostics */
.enhyp-entry-missing.is-none{border-color:#d1fae5;border-left-color:#10b981;background:#f0fdf4}.enhyp-entry-missing.is-none strong{color:#166534}

/* v2.7.2 mobile compact UI */
.enhyp-score small{display:block;margin-top:3px;font-size:10px;line-height:1.25;color:#6b7280;font-weight:400}
@media(max-width:650px){
 .enhyp{margin:10px auto;font-size:13px}
 .enhyp-tools{gap:6px;margin-bottom:7px;position:sticky;top:0;z-index:8;background:#fff;padding:5px 0}
 .enhyp-search{padding:9px 10px;border-radius:8px;font-size:13px}
 .enhyp-search-note{margin:0 0 7px;font-size:10px}
 .enhyp-team{margin:5px 0;border-left-width:4px;border-radius:8px}
 .enhyp-team summary{padding:9px 10px;gap:7px;min-height:24px}
 .enhyp-team summary b{font-size:15px;line-height:1.2}.enhyp-team summary em{font-size:11px}.enhyp-dot{width:9px;height:9px}
 .enhyp-body{padding:0 8px 10px}
 .enhyp-entry-missing{margin:0 0 8px;padding:8px 9px;font-size:11px}.enhyp-entry-missing>strong{margin-bottom:5px}.enhyp-entry-missing div{gap:4px}.enhyp-entry-missing span{padding:4px 6px;font-size:10px}.enhyp-entry-missing small{font-size:9px}
 .enhyp-avg{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.enhyp-avg>div{padding:7px 5px;border-radius:7px;text-align:center}.enhyp-avg small{font-size:9px}.enhyp-avg b{font-size:14px;margin:2px 0;white-space:nowrap}.enhyp-avg span{font-size:9px}
 .enhyp-comment{margin:7px 0;padding:8px 9px;font-size:11px}.enhyp-comment p{line-height:1.5;margin-top:4px}
 .enhyp-radar-wrap{grid-template-columns:140px 1fr;gap:6px;padding:6px;margin:7px 0;border-radius:8px}.enhyp-radar-svg{max-width:140px}.enhyp-score{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.enhyp-score span{padding:5px 6px;font-size:9px;border-radius:6px}.enhyp-score b{font-size:16px;line-height:1.05}.enhyp-score small{font-size:8px}
 .enhyp-ace{padding:8px;margin:7px 0}.enhyp-ace-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.enhyp-ace-list>div{padding:6px;font-size:9px}.enhyp-ace-list small{font-size:8px}.enhyp-ace p{font-size:10px;margin:6px 0 0}
 .enhyp-exp-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:7px 0}.enhyp-exp-summary>div,.enhyp-exp-summary>div:last-child{grid-column:auto;padding:6px;text-align:center}.enhyp-exp-summary small{font-size:8px}.enhyp-exp-summary b{font-size:13px;white-space:nowrap}
 .enhyp-history-filter{gap:4px;margin:6px 0}.enhyp-history-filter button{padding:5px 8px;font-size:10px}
 .enhyp-table th,.enhyp-table td{padding:6px 7px;font-size:10px}.enhyp-scroll .enhyp-table{min-width:720px}
 .enhyp-rank-cards{gap:5px;margin:7px 0}.enhyp-rank-card{padding:8px}.enhyp-predict-card{padding:7px 8px}.enhyp-section-title h2{font-size:18px}
}

/* v2.7.5 mobile ultra compact */
@media(max-width:650px){
 .enhyp h2{font-size:17px;margin:8px 0}.enhyp h3{font-size:14px;margin:7px 0}
 .enhyp-note{font-size:10px;line-height:1.4;margin:5px 0 8px}
 .enhyp-team:not([open]){margin-bottom:4px}.enhyp-team[open] summary{border-bottom:1px solid #eef0f3}
 .enhyp-body{padding:0 6px 7px}
 .enhyp-radar-wrap{display:block;padding:5px}.enhyp-radar-svg{display:block;margin:0 auto;max-width:125px}
 .enhyp-score{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;margin-top:4px}
 .enhyp-score span{padding:4px 2px;font-size:7px;min-width:0}.enhyp-score b{font-size:13px}.enhyp-score small{font-size:7px;overflow-wrap:anywhere}
 .enhyp-ace-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .enhyp-comment,.enhyp-entry-missing,.enhyp-ace,.enhyp-exp-summary{margin-top:5px;margin-bottom:5px}
 .enhyp-table-scroll,.enhyp-scroll{margin:5px -6px 0;padding:0 6px}
 .enhyp-table th,.enhyp-table td{padding:4px 5px;font-size:9px;line-height:1.25}
 .enhyp-predict-cards{gap:3px;margin:6px 0}.enhyp-predict-card{padding:5px 6px;min-height:0;grid-template-columns:26px 1fr auto!important}
 .enhyp-predict-card .num{font-size:11px}.enhyp-predict-card b{font-size:11px}.enhyp-predict-card strong{font-size:14px!important}.enhyp-predict-card em{font-size:8px}
 .enhyp-predict-legend{gap:3px;padding:5px;margin-top:5px}.enhyp-predict-legend span{font-size:8px;padding:3px 5px}
 .enhyp-predict-detail{min-width:650px!important}
 .enhyp-athlete-block{margin:10px 0 14px}.enhyp-athlete-tools{margin:5px 0;gap:4px}.enhyp-athlete-tools input,.enhyp-athlete-tools select{padding:6px 7px;font-size:11px}
 .enhyp-hs-item summary{padding:7px 8px;font-size:11px}.enhyp-hs-players{padding:0 8px 8px;gap:3px}.enhyp-hs-players span{padding:5px 6px;font-size:9px}
}

/* v2.7.8 ranking folds */
.enhyp-ranking-fold{margin:10px 0;border:1px solid #e5e7eb;border-radius:10px;background:#fff;overflow:hidden}
.enhyp-ranking-fold>summary{cursor:pointer;list-style:none;padding:11px 13px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:8px}
.enhyp-ranking-fold>summary::-webkit-details-marker{display:none}
.enhyp-ranking-fold>summary:after{content:"＋";font-size:18px;line-height:1}
.enhyp-ranking-fold[open]>summary:after{content:"−"}
.enhyp-athlete-block.enhyp-ranking-fold{margin:10px 0 14px}
.enhyp-athlete-block.enhyp-ranking-fold>summary span{margin-left:auto;font-size:11px;font-weight:400;color:#6b7280}
.enhyp-ranking-fold>.enhyp-note{padding:0 12px}
@media(max-width:650px){
 .enhyp-ranking-fold{margin:6px 0;border-radius:7px}
 .enhyp-ranking-fold>summary{padding:8px 9px;font-size:11px}
 .enhyp-ranking-fold>summary:after{font-size:15px}
 .enhyp-athlete-block.enhyp-ranking-fold>summary span{font-size:8px}
}
