/* Fighter profiles: editorial layout with factual, not scored, graphics. */
.fighter-portrait.bout-image img{object-fit:contain;background:#17212b}
.fighter-portrait{display:block;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#34434e,#17212b);width:100%;height:100%}.fighter-portrait:before{content:'';position:absolute;inset:16px;border:1px solid #ffffff17;z-index:-1}.fighter-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.portrait-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;padding:35px 0 0;color:#6b7c87;background:radial-gradient(ellipse at 50% 25%,#4c5c66 0,transparent 67%)}.portrait-placeholder svg{fill:currentColor;width:80%;max-height:280px;opacity:.38}.portrait-placeholder>span{position:absolute;top:22px;left:22px;font-size:13px;letter-spacing:.2em;color:#c3cbd0}.portrait-caption{position:absolute;bottom:0;left:0;right:0;padding:25px 12px 12px;background:linear-gradient(transparent,#101c25c9);color:#dde4e8;text-align:center;font-size:10px}.has-photo:not(.photo-failed) .portrait-placeholder{visibility:hidden}.photo-failed img{display:none}.fighter-portrait.compact{float:right;width:66px;height:84px;margin:0 0 8px 12px;border-radius:2px}.compact .portrait-placeholder{padding:5px 0 0}.compact .portrait-placeholder svg{width:84%;max-height:none}.compact:before{inset:6px}.card-profile h3{font-size:28px}.card-profile .card-division{clear:left}.card-profile{min-height:144px}.card-profile .english{overflow-wrap:anywhere}
#profile-dialog{width:min(960px,calc(100% - 36px))}.profile-hero{display:grid;grid-template-columns:38% 62%;background:var(--ink);color:var(--paper);position:relative}.profile-photo{margin:0;min-height:365px;position:relative}.profile-photo .fighter-portrait{min-height:365px}.profile-photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:6px 10px;color:#d4dde2;background:#14212be8;font-size:9px;text-align:center}.profile-photo:has(figcaption) .portrait-caption{bottom:25px}.profile-head{padding:38px 38px 28px;background:transparent;min-width:0}.profile-head h2{font-size:52px;line-height:1.18;margin:13px 0 8px}.profile-head .english{text-transform:uppercase;font-size:18px}.profile-head .tags{margin-top:16px;gap:6px}.profile-head .tags span{font-size:10px;padding:3px 8px}.record-graphic{margin-top:24px;border-top:1px solid #52616b;padding-top:20px}.record-numbers{display:flex;gap:38px}.record-numbers>div{display:flex;flex-direction:column;min-width:44px}.record-numbers strong{font:64px/.9 Barlow;font-weight:700;letter-spacing:-.03em}.record-numbers>div:first-child strong{color:var(--signal)}.record-numbers>div>span{font-size:11px;margin-top:10px}.record-numbers small{font:10px Barlow;color:#a9b7c1;letter-spacing:.08em;margin-left:5px}.record-bar{height:4px;display:flex;gap:2px;margin-top:20px;background:#40515e}.record-bar .segment-0{background:var(--signal)}.record-bar .segment-1{background:#a7b2bb}.record-bar .segment-2{background:#fff}.record-graphic p{font-size:10px;color:#b4c2ca;margin:9px 0 0}.record-graphic.unconfirmed>span{font:11px Barlow;letter-spacing:.12em;color:#bdc7ce;display:block}.record-graphic.unconfirmed strong{font-size:26px;display:block;margin:10px 0}.profile-body{padding:34px 38px 26px}.fighter-story h3{font-size:32px;letter-spacing:-.05em;line-height:1.4;margin:13px 0 15px}.fighter-story>p{font-size:14px;line-height:1.95;max-width:740px;margin-bottom:17px}.style-tags{display:flex;gap:7px;flex-wrap:wrap}.style-tags span{border:1px solid #d2d4ce;padding:5px 11px;font-size:11px;background:#fff}.body-metrics{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);margin:28px 0 0}.metric-block{display:flex;align-items:center;gap:25px;background:#fff;padding:24px}.metric-icon{font:55px/.8 Noto;color:#87979e;display:flex;align-items:center;justify-content:center;width:58px;height:60px}.height-icon{border-top:1px solid #b5bec1;border-bottom:1px solid #b5bec1}.reach-icon{border-left:1px solid #b5bec1;border-right:1px solid #b5bec1;font-size:40px;height:40px}.mini-label{font:11px Barlow,Noto;letter-spacing:.08em;color:var(--muted);display:block}.metric-block strong{display:block;font:48px/1 Barlow;margin-top:10px}.metric-block strong small{font:11px Noto;color:var(--muted);margin-left:6px}.profile-facts{display:grid;grid-template-columns:1fr 1fr 1.4fr;margin:0;border:1px solid var(--line);border-top:0;background:#fff}.profile-facts>div{padding:16px 20px;border-right:1px solid var(--line);min-width:0}.profile-facts>div:last-child{border:0}.profile-facts dt{font-size:10px;color:var(--muted)}.profile-facts dd{margin:5px 0 0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.watch-section{margin:32px 0}.watch-points{display:grid;grid-template-columns:repeat(3,1fr);margin-top:14px;background:#eaece6;padding:20px;gap:18px}.watch-points>div{display:flex;align-items:center;gap:12px;min-width:0}.watch-points span{font:30px Barlow;color:#94a398}.watch-points strong{font-size:13px;font-weight:600}.profile-body .subtle{font-size:10px;color:var(--muted);margin-top:10px}.next-bout{padding:22px 24px;border:1px solid var(--ink);position:relative;background:white;margin:28px 0}.next-bout:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--signal)}.next-bout time{float:right;font:25px Barlow}.next-bout h3{margin:10px 0 6px;font-size:24px}.next-bout p{font-size:11px;margin:0}.fight-history{margin:28px 0}.recent-bout{grid-template-columns:94px 1fr auto;padding:16px 0}.recent-bout strong{font-weight:600}.bout-result{padding:4px 10px;font-size:11px;background:#ebece6}.bout-result.win{background:#e1eee6;color:#375b47}.photo-editor{border-top:1px solid var(--line);margin-top:30px;padding-top:17px}.photo-editor summary{cursor:pointer;font-size:12px;list-style:none;display:flex;justify-content:space-between;align-items:center}.photo-editor summary::-webkit-details-marker{display:none}.photo-editor summary>span{font-size:20px;font-weight:300}.photo-editor[open] summary>span{transform:rotate(45deg)}.photo-editor p{font-size:11px;margin:12px 0;max-width:650px}.photo-edit-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.photo-edit-actions label{cursor:pointer;font-size:11px;min-height:38px;padding:8px 13px}.photo-edit-actions input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.photo-edit-actions:focus-within label{outline:2px solid var(--signal);outline-offset:3px}.photo-edit-actions>span{font-size:10px;color:var(--muted)}.photo-edit-actions button{font-size:11px}.photo-status{color:var(--signal-dark)!important}.profile-source-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:16px;margin-top:22px;font-size:10px;color:var(--muted)}.profile-source-footer a{text-decoration:underline;text-underline-offset:3px}.data-note>a{font-size:11px;margin-left:auto;white-space:nowrap;padding:0}
@media(max-width:760px){.fighter-portrait.compact{width:47px;height:68px;margin:0 0 7px 7px}.card-profile h3{font-size:25px}.card-profile{min-height:135px}.card-profile .card-division{clear:both;margin-top:13px}.card-profile .english{font-size:9px}.profile-hero{grid-template-columns:34% 66%}.profile-photo,.profile-photo .fighter-portrait{min-height:310px}.profile-head{padding:28px 20px 23px}.profile-head .org-label{font-size:11px}.profile-head h2{font-size:34px;line-height:1.15;margin:14px 0 8px}.profile-head .english{font-size:12px;letter-spacing:.05em}.profile-head .tags{gap:5px;margin-top:13px}.profile-head .tags span{font-size:9px;padding:2px 6px}.profile-head .tags span:last-child{display:none}.record-graphic{margin-top:18px;padding-top:15px}.record-numbers{gap:18px}.record-numbers>div{min-width:25px}.record-numbers strong{font-size:45px}.record-numbers small{display:none}.record-numbers>div>span{margin-top:7px;font-size:10px}.record-bar{margin-top:14px;height:3px}.record-graphic p{font-size:8px;line-height:1.7}.portrait-placeholder>span{font-size:10px;top:20px;left:13px;letter-spacing:.06em}.portrait-placeholder svg{width:140%;max-width:none;flex-shrink:0;max-height:230px}.portrait-caption{font-size:8px;padding:25px 8px 10px;line-height:1.6}.profile-photo figcaption{font-size:7px;padding:5px 8px}.profile-body{padding:25px 22px}.fighter-story h3{font-size:26px;margin:13px 0}.fighter-story>p{font-size:12px;line-height:1.9}.style-tags span{font-size:10px;padding:4px 8px}.body-metrics{margin-top:23px}.metric-block{padding:18px 13px;gap:10px}.metric-icon{width:26px;height:40px;font-size:35px;flex-shrink:0}.reach-icon{height:25px;font-size:25px}.mini-label{font-size:9px;letter-spacing:.03em}.metric-block strong{font-size:32px;margin-top:7px}.metric-block strong small{font-size:9px;margin-left:3px}.profile-facts{grid-template-columns:1fr 1fr}.profile-facts>div{padding:13px}.profile-facts>div:nth-child(2){border-right:0}.profile-facts>div:last-child{grid-column:1/-1;border-top:1px solid var(--line)}.profile-facts dd{font-size:12px}.watch-section{margin:27px 0}.watch-points{padding:15px;gap:14px;grid-template-columns:1fr}.watch-points span{font-size:24px;width:27px}.watch-points strong{font-size:12px}.watch-points>div{gap:12px}.next-bout{padding:20px}.next-bout time{font-size:20px;float:none;margin-top:10px;display:block}.next-bout h3{font-size:21px;margin:7px 0}.recent-bout{grid-template-columns:67px 1fr auto;font-size:11px}.recent-bout time{font-size:9px}.bout-result{font-size:10px;padding:3px 7px}.photo-edit-actions{gap:10px}.photo-editor summary{font-size:11px}.profile-source-footer{align-items:flex-start;flex-direction:column;gap:8px;font-size:10px}.data-note>a{margin-left:24px;font-size:10px}.record-graphic.unconfirmed strong{font-size:20px}.profile-bottom-actions .text-button{font-size:11px}}
@media(max-width:360px){.profile-head{padding:30px 14px 20px}.record-numbers{gap:12px}.record-numbers strong{font-size:39px}.profile-head h2{font-size:29px}.fighter-portrait.compact{width:35px;height:58px;margin-left:4px}.card-profile h3{font-size:23px}.metric-icon{display:none}}

.profile-checked{font-size:11px;color:#c5d1d9;margin:12px 0 -10px;line-height:1.7}
.elapsed-bout{background:var(--tint);border-color:#b8bfbd}
.elapsed-bout:before{background:#87948e}
.elapsed-bout .mini-label{color:#56655f}
.profile-bottom-actions{flex-wrap:wrap;row-gap:10px}
.profile-bottom-actions .text-button{min-height:44px}
@media(max-width:760px){.profile-checked{font-size:9px;margin-top:11px}.profile-bottom-actions .text-button{font-size:11px}}

.profile-utility{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:-12px 0 20px;padding-bottom:10px;border-bottom:1px solid var(--line)}.profile-utility>span{font:11px Barlow;letter-spacing:.12em;color:var(--muted)}.profile-utility .text-button{min-height:44px;font-size:12px}

/* Official video cards keep a single player inside the profile. */
.official-video-intro{font-size:12px;color:var(--muted);margin:-6px 0 20px}
.official-video-empty{padding:22px;background:var(--paper);border:1px solid var(--line);margin:0 0 18px;font-size:12px}
.official-video-empty strong{font-size:13px}.official-video-empty p{margin:6px 0 0;font-size:12px;color:var(--muted)}
.official-video-group{margin:22px 0}.official-video-group>h4{font-size:14px;margin:0 0 12px;font-weight:650}.official-video-group>h4>span{font:13px Barlow;color:var(--muted);margin-left:7px}
.official-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.official-video-card{border:1px solid var(--line);background:white;min-width:0;display:flex;flex-direction:column}
.official-video-thumbnail{display:block;width:100%;padding:0;border:0;position:relative;aspect-ratio:16/9;background:var(--ink);overflow:hidden;text-align:left;color:white;flex-shrink:0}
.official-video-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}
.official-video-thumbnail>.official-video-kind{position:absolute;left:12px;bottom:10px;background:#17212bef;color:white;padding:4px 8px;font-size:10px;line-height:1.5}
.official-video-preview-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff8c;border-radius:50%;background:#17212bcf;color:white;font-size:16px}.official-video-thumbnail:hover .official-video-preview-play{background:var(--signal-dark)}
.official-video-card-body{padding:16px;display:flex;flex-direction:column;flex:1;min-width:0}
.official-video-channel{font-size:10px!important;color:var(--muted);margin:0 0 8px;overflow-wrap:anywhere}.official-video-channel a:hover{text-decoration:underline}
.official-video-card h5{font-size:14px;line-height:1.65;margin:0 0 9px;overflow-wrap:anywhere}
.official-video-meta{font-size:11px!important;line-height:1.7;margin:0 0 3px;overflow-wrap:anywhere}
.official-video-date{font-size:10px;color:var(--muted);display:block;margin-bottom:8px}
.official-video-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:12px}
.official-video-actions .button{min-height:44px;font-size:11px;padding:9px 13px;gap:8px}.official-video-actions .text-button{font-size:11px;min-height:44px;display:inline-flex;align-items:center}
.official-video-availability{font-size:10px!important;color:var(--muted);margin:3px 0 0}.official-video-checked{font-size:9px;color:var(--muted);display:block;margin-top:10px}
.official-video-player{border:1px solid var(--ink);background:var(--ink);color:white;padding:16px;margin:22px 0;scroll-margin-top:14px}
.official-player-heading{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;margin-bottom:12px}.official-player-heading h4{font-size:14px;line-height:1.65;margin:0;padding-top:9px;overflow-wrap:anywhere}.official-player-heading button{color:white;flex-shrink:0;font-size:11px;min-height:44px}
.official-player-frame{width:100%;min-width:200px;min-height:200px;aspect-ratio:16/9;background:#080d12}.official-player-frame iframe{display:block;width:100%;height:100%;min-width:200px;min-height:200px;border:0}
.official-video-player>p{font-size:12px;margin:12px 0 5px}.official-video-player>p a{text-decoration:underline;text-underline-offset:3px}.official-video-player>small{font-size:10px;color:#c5d1d9;line-height:1.6;display:block}
.profile-video .video-search-box{margin-top:24px}.video-search-box h4{font-size:13px;margin:0 0 7px}
@media(max-width:760px){.official-video-grid{grid-template-columns:1fr;gap:13px}.official-video-card-body{padding:14px}.official-video-card h5{font-size:13px}.official-video-player{padding:10px}.official-player-heading{gap:8px}.official-player-heading h4{font-size:12px}.official-player-heading button{font-size:10px}.official-video-intro{font-size:11px}.official-video-player>p{font-size:11px}}

.official-video-empty>.text-button{min-height:44px;margin-top:5px}

.official-video-duration{position:absolute;right:12px;bottom:10px;background:#17212bef;color:white;padding:4px 7px;font:12px Barlow,sans-serif;line-height:1.5}

/* Give real portraits room on narrow screens instead of slicing the face. */
@media(max-width:480px){.profile-hero{grid-template-columns:1fr}.profile-photo,.profile-photo .fighter-portrait{height:280px;min-height:280px}.profile-head{padding:24px}.profile-head h2{margin-top:8px}.profile-head .tags span:last-child{display:inline}.profile-photo .portrait-caption{font-size:9px}.profile-photo figcaption{font-size:8px}}

/* Frame the face in full-length originals, keeping the credited photo intact. */
.fighter-portrait img:is([src$="/jungle-fight-korea-gwan-woo-lim-portrait-20261104-p8.jpg"],[data-original-src$="/jungle-fight-korea-gwan-woo-lim-portrait-20261104-p8.jpg"]){transform:scale(2.25);transform-origin:48% 0}
.fighter-portrait img:is([src$="/bc-gyu-ho-song-portrait-20261104-p8.jpg"],[data-original-src$="/bc-gyu-ho-song-portrait-20261104-p8.jpg"]){transform:scale(1.65);transform-origin:52% 5%}

.bout-video-link{display:inline-block;margin-top:.3rem;color:var(--signal-dark);font-size:.75rem;text-underline-offset:.2em}.bout-video-link:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.profile-toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 15px;background:var(--paper);border-bottom:1px solid var(--line)}
.profile-toolbar .dialog-close{position:static}

/* Keep each mobile pair aligned while letting its longest name wrap in full. */
@media (max-width:760px) {
  .fighter-grid > .fighter-card:hover { transform:none; }
  .fighter-grid > .fighter-card .card-profile {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:7px;
    align-items:start;
    min-height:0;
  }
  .fighter-card .card-profile h3 {
    grid-area:1 / 1 / 2 / -1;
    min-width:0;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
  .fighter-card .card-profile .fighter-portrait.compact {
    grid-area:2 / 2 / 4 / 3;
    float:none;
    margin:0;
  }
  .fighter-card .card-profile .english { grid-area:2 / 1 / 3 / 2; min-width:0; }
  .fighter-card .card-profile .card-division {
    grid-area:3 / 1 / 4 / 2;
    align-self:start;
    overflow-wrap:anywhere;
  }
  .fighter-card .org-label,
  .fighter-card .record-line { min-width:0; overflow-wrap:anywhere; }

  @supports (grid-template-rows:subgrid) {
    /* Heading, profile (3), style (2), record, history (3), actions. */
    .fighter-grid > .fighter-card {
      display:grid;
      grid-row:span 11;
      grid-template-rows:subgrid;
      row-gap:0;
    }
    .fighter-card .card-profile {
      grid-row:span 3;
      grid-template-rows:subgrid;
      row-gap:0;
    }
    .fighter-card .card-insight {
      display:grid;
      grid-row:span 2;
      grid-template-rows:subgrid;
      row-gap:0;
      align-items:start;
    }
    .fighter-card .card-freshness {
      display:grid;
      grid-row:span 3;
      grid-template-rows:subgrid;
      align-items:start;
      row-gap:0;
      margin-top:0;
    }
    .card-freshness .card-last-opponent { grid-row:2; }
    .fighter-card .card-freshness p:last-child { grid-row:3; }
  }
}
