.profile-slot{width:84px;min-height:100px;margin:4px auto 8px;text-align:center;flex:none}.profile-picture{display:block;width:72px;height:72px;margin:auto;object-fit:cover;border-radius:14px;background:#fff;border:1px solid #7c7060}.profile-picture.profile-character{object-fit:contain;background:transparent;border-color:transparent;border-radius:0}.profile-slot figcaption{max-width:100%;font:13px/1.3 system-ui;overflow-wrap:anywhere;margin-top:4px;min-height:18px}.profile-empty{background:#fff}.seat>.character-table{display:none!important}.character-seat .seat-heading{padding:0!important;min-height:0!important}.profile-slot~.seat-heading .seat-name{display:none}.profile-slot~.seat-heading{justify-content:center}.player-profile-settings{border:1px solid #7c7060;margin:12px 0;padding:10px}.player-profile-settings label{display:block;margin:8px 0}.player-profile-settings input,.player-profile-settings select{max-width:100%;width:100%}.player-profile-settings p{font-size:12px}.player-profile-settings button{width:100%}
@media(max-width:430px){.profile-slot{width:64px;min-height:83px}.profile-picture{width:54px;height:54px}.profile-slot figcaption{font-size:12px}}

.profile-slot{height:116px;min-height:116px}.profile-slot figcaption{height:34px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.profile-picture:not([src]){background:#fff}@media(max-width:430px){.profile-slot{height:94px;min-height:94px}.profile-slot figcaption{height:32px}}

.profile-slot{width:180px;max-width:100%}@media(max-width:430px){.profile-slot{width:156px;max-width:100%}}

/* Requested correction: approved images are unchanged; only character scale and placement. */
.opponent .profile-picture.profile-character{width:108px;height:108px}
.opponent .profile-slot{height:152px;min-height:152px}
.hero:has(.profile-slot){padding-bottom:100px}
.hero .profile-slot{position:absolute;right:0;top:90px;width:150px;height:182px;min-height:182px;margin:0;z-index:4;pointer-events:none}
.hero .profile-picture.profile-character{width:144px;height:144px}
.board-zone .pot-chips{position:relative!important;inset:auto!important;margin:0 auto 8px!important;transform:none!important;display:block;height:28px;width:68px}
@media(max-width:600px){
 .opponent .profile-picture.profile-character{width:81px;height:81px}
 .opponent .profile-slot{height:119px;min-height:119px}
 .hero .profile-slot{right:-3px;top:85px;width:108px;height:146px;min-height:146px}
 .hero .profile-picture.profile-character{width:108px;height:108px}
 .hero:has(.profile-slot){padding-bottom:90px}
}

.hero:has(.profile-slot){min-height:285px!important;padding-bottom:100px!important}.table:has(.hero .profile-slot) .poker-rail{bottom:135px!important}
@media(max-width:600px){.hero:has(.profile-slot){min-height:250px!important;padding-bottom:110px!important}.table:has(.hero .profile-slot) .poker-rail{bottom:130px!important}}

.profile-picture:not([src]){content:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR4nGP4//8/AwAI/AL+p5qgoAAAAABJRU5ErkJggg==");object-fit:contain}

.profile-carousel{border:1px solid #817564;border-radius:12px;padding:8px;margin:8px 0;max-width:100%;min-width:0}.profile-carousel[hidden]{display:none}.profile-carousel-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;touch-action:pan-x;overscroll-behavior-x:contain;position:relative}.player-profile-settings .profile-carousel-card{flex:0 0 94%;width:94%;min-width:0;border:1px solid transparent;background:#26231f;scroll-snap-align:center;padding:8px}.profile-carousel-card img{display:block;width:150px;height:170px;max-width:100%;object-fit:contain;margin:auto}.profile-carousel-card strong{display:block;text-align:center}.profile-carousel-card[aria-pressed=true]{border-color:#e3c080;box-shadow:inset 0 0 0 1px #e3c080}.profile-carousel-nav{display:flex;justify-content:space-between;align-items:center;gap:8px}.player-profile-settings .profile-carousel-nav button{width:44px;flex:0 0 44px;font-size:26px;padding:0}.profile-carousel-nav span{text-align:center;font-size:13px;overflow-wrap:anywhere}.profile-carousel:focus-visible{outline:2px solid #e3c080;outline-offset:3px}
.win-rate-box{display:block;border:1px solid #b9925a;border-radius:10px;padding:14px 16px;margin:10px 0;color:#f3efe8!important;font:800 clamp(17px,4.8vw,25px)/1.45 system-ui;letter-spacing:.02em}.win-rate-box .win-rate-value{font-size:1.3em;white-space:nowrap}

.player-profile-settings{min-inline-size:0;max-width:100%;box-sizing:border-box}.profile-carousel{width:100%;box-sizing:border-box}.profile-carousel-track{width:100%;min-width:0}.profile-carousel-nav span{flex:1;min-width:0}
.player-profile-settings .profile-carousel-retry{display:block;width:100%;margin-top:6px;font-size:14px;min-height:44px}
.profile-carousel-image{display:block;position:relative;width:150px;max-width:100%;height:170px;margin:auto}
.profile-carousel-image::after{content:'読み込み中…';position:absolute;inset:0;display:grid;place-items:center;padding:8px;box-sizing:border-box;border-radius:12px;background:linear-gradient(135deg,#433c32,#2b2928);color:#f3eadc;text-align:center;font:700 13px/1.35 system-ui;pointer-events:none}
.profile-carousel-image[data-state='ready']::after{display:none}
.profile-carousel-image[data-state='slow']::after{content:'読込が遅れています'}
.profile-carousel-image[data-state='error']::after{content:'画像を表示できません'}
