.masthead{height:clamp(250px,37.2vw,520px);aspect-ratio:auto!important}.masthead img{width:100%;height:100%;object-fit:cover;object-position:center}
.search-strip{grid-template-columns:minmax(420px,760px) minmax(210px,320px);justify-content:space-between;gap:14px}
.search-panel{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;align-self:start;gap:7px 16px;padding:11px 16px}
.search-panel h2{white-space:nowrap;margin:0}
.search-panel>small{grid-column:1/-1;color:#9fb2c2;font-size:11px}
.search{min-height:42px}
.search>span{font-size:24px;padding:0 12px}
.search input{font-size:16px;padding:7px 0 7px 2px}
.market-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:2px}.market-filters select,.market-filters input{min-width:0;height:34px;border:1px solid #385365;border-radius:5px;background:#102532;color:#e9f1f6;padding:5px 8px;font-size:11px}.market-filters select{width:100%}.price-filter{grid-column:1/4;display:grid;grid-template-columns:auto minmax(66px,1fr) auto minmax(66px,1fr) auto;align-items:center;gap:5px;padding:0 8px;border:1px solid #385365;border-radius:5px;background:#0b202c;color:#b9cbd7;font-size:10px}.price-filter input{height:30px;border:0;background:#172f3e}.price-filter b{font-weight:400}.price-filter small{margin:0;color:#91a8b8;letter-spacing:0;font-size:9px}.market-filters button{grid-column:4;height:34px;padding:5px 11px;border:1px solid #713048;background:#2b1722;color:#ff9bb1;font-size:10px;white-space:nowrap}
.filters,.promo{display:none}
.sort-panel{padding:13px 16px;display:flex;flex-direction:column;justify-content:center;gap:7px}
.sort-panel label{font-size:12px;color:#aebfce}
.sort-panel select{width:100%;border:1px solid #405768;border-radius:6px;background:#102431;color:#fff;padding:8px 11px;font:inherit}
.sort-panel .live-only{color:#dce7ee}.live-only input{accent-color:#ff174b;vertical-align:middle}
.sort-panel .deal-only{display:flex;align-items:center;gap:6px;color:#68e6a6;font-size:11px;font-weight:700}.deal-only input{accent-color:#19c978;vertical-align:middle}
.live-state{position:fixed;right:18px;bottom:18px;z-index:20;margin:0;padding:9px 14px;border:1px solid #2b5a55;border-radius:7px;background:#0b2925e8;color:#85f1cf;font-size:12px;box-shadow:0 8px 25px #0008}
.live-state.new{border-color:#ff174b;background:#481126;color:#fff}
.recent-list{display:grid;gap:1px;margin-top:8px;background:#28404b}.recent-item{display:flex;justify-content:space-between;gap:8px;padding:8px 0;background:#071923;font-size:11px}.recent-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-item b{color:#fff;white-space:nowrap}
.gold-card.rare-card{background:linear-gradient(135deg,#8f6817,#ffe487 28%,#d6a52f 55%,#fff0a7 75%,#9f731a);filter:drop-shadow(0 0 7px #f5cd5380)}
.card-symbols{position:relative;z-index:1;display:flex;gap:6px;justify-content:center;width:100%;padding-top:5px}.card-symbols span{display:grid;place-items:center;min-width:25px;height:18px;padding:0 3px;border:1px solid #6b531f66;background:#fff4c066;font-size:8px;font-weight:800}
.card-portrait img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 3px #0005)}
.special-card .card-symbols span{border-color:#e5c8ff66;background:#260e5266;color:#fff}
@media(max-width:760px){.search-strip{grid-template-columns:1fr}.search-panel{grid-template-columns:1fr}.search-panel>small{grid-column:1}.market-filters{grid-column:1;grid-template-columns:1fr 1fr}.price-filter{grid-column:1/-1}.market-filters button{grid-column:1/-1}.sort-panel label{display:block;margin-bottom:7px}}
.history-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px}.history-stats>div{min-width:0;padding:6px 7px;border:1px solid #294655;border-radius:5px;background:#0d2330}.history-stats span{display:block;color:#9db3c2;font-size:9px}.history-stats b{display:block;margin-top:1px;font-size:14px;white-space:nowrap}.history-stats+.chart-empty{min-height:135px;margin-top:7px}
.request-panel p{margin:8px 0;color:#a9bdca;font-size:11px}.request-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.request-panel input{min-width:0;height:34px;border:1px solid #385365;border-radius:5px;background:#102532;color:#fff;padding:6px 8px}.request-panel button{height:34px;padding:5px 11px}.request-panel small{display:block;min-height:17px;margin:5px 0 0;color:#72ddbb;letter-spacing:0}
.gold-card.has-official-card{padding:0;background:none!important;clip-path:none;filter:drop-shadow(0 7px 8px #0009)}
.gold-card.has-official-card>:not(.card-portrait){display:none}.gold-card.has-official-card:before{display:none}
.gold-card.has-official-card .card-portrait{width:100%;height:100%;margin:0;border:0;background:none;opacity:1}.gold-card.has-official-card .card-portrait img{width:100%;height:100%;object-fit:contain;opacity:1;filter:brightness(1.08) saturate(1.06) drop-shadow(0 7px 6px #0008)}
.identity-strip{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0 10px}.identity-strip>span{display:flex;align-items:center;gap:6px;min-width:0;padding:5px 8px;border:1px solid #294557;border-radius:5px;background:#0c202c}.identity-strip img{width:20px;height:20px;object-fit:contain}.identity-strip small{margin:0;letter-spacing:0;color:#c2d0db;font-size:10px;white-space:nowrap}
.table-card-art{width:66px;height:90px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 4px 4px #0008)}
td.ovr{font-size:17px;font-weight:800;color:#f6df8d}td.pos{font-weight:800;color:#fff}.visual{max-width:135px}.visual img{width:23px;height:23px;object-fit:contain;vertical-align:middle;margin-right:7px}.visual span{display:inline-block;max-width:100px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.trend{color:#46e59a;font-weight:700}.trend.down{color:#ff526b}
@media(max-width:760px){.identity-strip small{max-width:130px;overflow:hidden;text-overflow:ellipsis}.table-card-art{width:48px;height:65px}}

/* Keep the market table directly below the useful summary cards. */
@media(min-width:1151px){
 .search-strip{grid-template-columns:minmax(470px,1.2fr) minmax(300px,728px) minmax(260px,.55fr);max-width:none}
 .dashboard{grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr) minmax(250px,.68fr);align-items:stretch}
 .player-detail{grid-column:1;grid-row:1}.history{grid-column:2;grid-row:1}
 .rail{display:contents}.rail section:nth-child(1){grid-column:3;grid-row:1;height:100%}.rail section:nth-child(2){grid-column:1/-1;grid-row:3;width:340px;justify-self:start}
 .player-detail,.history{height:100%}
 .board{grid-column:1/-1;grid-row:2}
}
.ad-slot{display:none;position:relative;min-height:90px;border:1px solid #3b5362;border-radius:8px;background:#081923;color:#fff;align-items:center;overflow:hidden}.ad-slot:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#030b15ee 0,#07101bad 43%,transparent 72%)}.ad-slot>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ad-slot>span{position:absolute;z-index:1;left:13px;top:8px;font-size:7px;letter-spacing:.22em;color:#8ca2b3}.ad-slot>div{position:relative;z-index:1;padding:16px 18px}.ad-slot b{font-size:16px;font-style:italic;letter-spacing:.06em;text-shadow:0 0 14px #ff174b}.ad-slot small{display:block;margin:2px 0 0;letter-spacing:0;font-size:9px;color:#c3d1dc}
@media(min-width:1151px){.ad-slot{display:flex}}
.roadmap{padding:12px 15px!important}.roadmap h2{font-size:14px}.roadmap .recent-list{grid-template-columns:1fr;gap:1px;background:#28404b}.roadmap .recent-item{padding:6px 4px;border:0;border-radius:0;background:#071923}
.connect-setup{background:linear-gradient(110deg,#091d28,#241020);border-color:#713047!important}.connect-setup summary{align-items:center}.connect-setup summary>span{display:block}.connect-setup summary b{font-size:17px}.connect-setup summary small{display:block;margin:3px 0 0;color:#b9c6d1;font-weight:400;letter-spacing:0}.toggle-label{padding:7px 11px;border:1px solid #8b3854;border-radius:5px;color:#ff8eaa;font-size:11px;white-space:nowrap}.connect-setup[open] .toggle-label{font-size:0}.connect-setup[open] .toggle-label:after{content:"説明を閉じる ▲";font-size:11px}.setup-body{max-width:900px}.setup-body>p:first-child{color:#eef3f8;font-size:14px}.setup-body h3{font-size:14px;margin:17px 0 3px}.setup-safety{display:flex;gap:12px;align-items:center;padding:9px 12px;border:1px solid #27594f;border-radius:6px;background:#09251f}.setup-safety b{color:#70e7bf;font-size:12px;white-space:nowrap}.setup-safety span{color:#c7d4dc;font-size:11px}.tester-steps{margin-top:14px;padding:12px 14px;border:1px solid #344d5d;border-radius:6px}.tester-steps summary{font-size:12px;color:#dce8ef}.tester-steps ol{margin-bottom:14px}.setup-note{font-size:11px!important}
.download-tool{display:inline-block;padding:10px 16px;border-radius:6px;background:#ff174b;color:#fff;text-decoration:none;font-weight:700;font-size:12px}.download-tool:hover{filter:brightness(1.12)}
@media(min-width:1151px){.connect-setup{grid-column:1/-1;grid-row:3;height:100%;margin:0 0 0 354px!important}}
@media(max-width:1150px){.connect-setup{grid-column:1/-1;grid-row:4}.roadmap .recent-list{grid-template-columns:1fr 1fr}.roadmap .recent-item:last-child{display:none}}
@media(min-width:761px) and (max-width:1150px){.player-detail{grid-column:1}.history{grid-column:2}.board{grid-column:1/-1;grid-row:2}.rail{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Live rating with portrait replaces obsolete FC25 silver artwork. */
.live-table-card{position:relative;display:block;flex:0 0 66px;width:66px;height:90px;background:linear-gradient(130deg,#f7e2a0,#dfbb63 55%,#c09543);color:#29200b;clip-path:polygon(0 7%,50% 0,100% 7%,100% 86%,50% 100%,0 86%);overflow:hidden}
.live-table-card img{position:absolute;bottom:8px;right:0;width:47px;height:58px;object-fit:contain}
.live-table-card>b{position:absolute;top:7px;left:4px;font-size:16px;font-weight:800;line-height:1}
.live-table-card>span{position:absolute;top:25px;left:4px;font-size:8px;font-weight:800}
.gold-card{position:relative}.gold-card:not(.has-official-card)>.card-top,.gold-card:not(.has-official-card)>.card-portrait{opacity:1}
.gold-card:not(.has-official-card){padding:20px 10px 12px}.gold-card:not(.has-official-card) .card-portrait{flex:0 0 78px;height:78px}.gold-card:not(.has-official-card)>strong{flex:0 0 24px;padding:4px 0;font-size:12px}.gold-card:not(.has-official-card) .card-symbols{display:none}.gold-card:not(.has-official-card) .card-club{font-size:10px}

/* No substitute card art: neutral pending state for unverified FC27 images. */
.gold-card.image-pending{background:none!important;clip-path:none;filter:none!important;color:#9fb2c2;border:1px dashed #405768;border-radius:6px;padding:8px;display:grid;place-items:center}
.gold-card.image-pending:before,.gold-card.image-pending>:not(.card-portrait){display:none!important}
.gold-card.image-pending .card-portrait{background:none;border:0;width:100%;height:auto;margin:0;opacity:1}
.gold-card.image-pending .card-portrait span{font-size:13px;font-style:normal;font-weight:400;opacity:1}
.card-image-pending{display:grid;place-items:center;flex:0 0 66px;width:66px;height:90px;color:#9fb2c2;border:1px dashed #405768;border-radius:4px;font-size:10px;font-weight:400}

/* Preserve banner proportions so the real card overlay follows the console. */
header.masthead{height:auto!important;aspect-ratio:2056/765!important}
.masthead>img{inset:0;width:100%!important;height:100%;object-fit:fill;left:0!important}
.banner-screen{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;font-family:"Segoe UI","Yu Gothic UI",sans-serif;fill:#edf4f8}
.banner-screen-title{font-size:19px;font-weight:700}.banner-screen-name{font-size:24px}.banner-screen-label{font-size:18px;fill:#a6bbc9}.banner-screen-price{font-size:39px;font-weight:700}.banner-screen-note{font-size:15px;fill:#829dab}

/* Card only: original English screen design stays in the banner image. */
.banner-card-plane{width:600px;height:380px;transform-origin:0 0;transform:matrix3d(0.5831845096,-0.1354315649,0,-0.0001625301,-0.0877629747,0.8811972006,0,-0.0000511371,0,0,1,0,1363,278,0,1)}

/* Inset the entire original screen UI, retaining its English artwork. */
.banner-card-plane{position:relative;overflow:hidden;background:#06131a}
.screen-inset-content{position:absolute;left:0;top:0;width:600px;height:380px;overflow:hidden;transform-origin:0 0;transform:translate(30px,19px) scale(.9)}
.screen-original-ui{position:absolute;left:0;top:0;width:2056px;height:765px;max-width:none;transform-origin:0 0;transform:matrix3d(1.245496804157231,0.1255329123001947,0,0.0002088501092189415,0.025125316072526802,1.1193350583006625,0,0.00006132316894362619,0,0,1,0,-1704.5969819344684,-482.2765056727495,0,0.6982894601682547)}
.screen-card-layer{position:absolute;inset:0;width:600px;height:380px}

/* Compact PC market columns; reserve horizontal room for a future market-sentiment column. */
@media(min-width:761px){
 #prices table{table-layout:auto}
 #prices th,#prices td{padding-left:10px;padding-right:10px}
 #prices tbody td{padding-top:4px;padding-bottom:4px}
 #prices th:first-child,#prices td:first-child{width:22%;min-width:200px;padding-left:15px;padding-right:5px}
 #prices th:nth-child(2),#prices td:nth-child(2){width:64px;padding-left:14px;padding-right:14px;text-align:center}
 #prices th:nth-child(3),#prices td:nth-child(3),#prices th:nth-child(4),#prices td:nth-child(4){width:72px;padding-left:16px;padding-right:16px;text-align:center}
 #prices th:nth-child(5),#prices td:nth-child(5){width:84px;padding-left:16px;padding-right:22px;text-align:center}
 #prices .visual{position:relative;max-width:none;overflow:visible}
 #prices .visual img{display:block;width:28px;height:28px;margin:0 auto;object-fit:contain;cursor:help}
 #prices .visual span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 #prices .visual.no-image span{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;color:#647b89}
 #prices .visual[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;z-index:40;left:50%;top:calc(50% + 21px);transform:translateX(-50%);width:max-content;max-width:190px;padding:6px 9px;border:1px solid #4c6676;border-radius:5px;background:#020b11;color:#fff;box-shadow:0 5px 18px #000b;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;pointer-events:none}
 #prices th:nth-child(6),#prices td:nth-child(6){min-width:118px;padding-left:16px;padding-right:16px}
 #prices th:nth-child(7),#prices td:nth-child(7){width:66px;text-align:center}
 #prices th:nth-child(8),#prices td:nth-child(8){width:78px;text-align:center}
 #prices th:nth-child(9),#prices td:nth-child(9){min-width:126px;padding-left:18px;padding-right:18px}
 #prices th:nth-child(10),#prices td:nth-child(10){min-width:116px;padding-left:18px;padding-right:18px}
 #prices th:nth-child(11),#prices td:nth-child(11){width:92px;text-align:center}
 #prices th:nth-child(12),#prices td:nth-child(12){width:82px}
 #prices th:nth-child(13),#prices td:nth-child(13){width:64px}
 #prices th:nth-child(14),#prices td:nth-child(14){width:92px}
 #prices th:nth-child(15),#prices td:nth-child(15){width:86px}
 #prices .bid-price{font-size:17px;font-weight:700;color:#dceaff}.bid-count,.remaining{color:#b8cbd7}
 .sentiment-chip{display:inline-block;min-width:64px;padding:3px 7px;border:1px solid;border-radius:999px;font-size:11px;font-weight:700;line-height:1.35;cursor:help}.sentiment-chip.deal{color:#55ef9f;background:#0b3326;border-color:#23865b}.sentiment-chip.fair{color:#ffd66b;background:#342d10;border-color:#8b7425}.sentiment-chip.high{color:#ff718c;background:#381722;border-color:#9b334a}.sentiment-chip.insufficient{color:#92a8b7;background:#132633;border-color:#405968;font-weight:500}
}

/* Mobile-first market cards: show the useful price fields without horizontal scrolling. */
@media(max-width:760px){
 body{font-size:14px}.navigation{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:sticky;top:0;z-index:15}.navigation a{padding:10px 3px;text-align:center;font-size:10px;white-space:nowrap}
 body{overflow-x:hidden}main{padding:0 10px}.live-state{right:10px;bottom:10px;max-width:calc(100vw - 20px)}.search-strip{margin-top:10px}.sort-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center}.sort-panel>label:first-child,.sort-panel select{grid-column:1/-1}.sort-panel .live-only,.sort-panel .deal-only{grid-column:auto;margin:0;font-size:10px}
 .player-detail{align-items:flex-start;min-height:0;padding:13px;gap:11px}.gold-card{flex-basis:92px;height:145px}.player-copy h1{font-size:20px}.player-copy>p{margin-bottom:7px}.identity-strip{gap:4px}.identity-strip>span{padding:3px 5px}.identity-strip img{width:16px;height:16px}.main-price strong{font-size:27px}.price-tiles{display:grid;grid-template-columns:repeat(3,1fr)}.price-tiles>div{min-width:0;padding:6px}.price-tiles span{font-size:9px}.price-tiles b{font-size:14px}
 .history{min-height:225px}.rail{grid-template-columns:1fr}.rail .roadmap{display:block}.recent-list{grid-template-columns:1fr 1fr!important}.recent-item{padding:7px 4px}
 .table-wrap{overflow:visible}table,tbody{display:block}thead{display:none}tbody{padding:8px}tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;margin-bottom:10px;padding:10px;border:1px solid #294858;border-radius:8px;background:#071b25}tbody td{display:flex;align-items:center;justify-content:space-between;min-width:0;padding:7px 2px;border-bottom:1px solid #203b48;font-size:12px;white-space:normal}tbody td:before{content:attr(data-label);flex:0 0 auto;margin-right:8px;color:#8fa8b8;font-size:9px}tbody td:first-child{grid-column:1/-1;padding:2px 0 9px}tbody td:first-child:before{display:none}tbody td:nth-child(2),tbody td:nth-child(3),tbody td:nth-child(4),tbody td:nth-child(5){display:none}tbody td:nth-child(6),tbody td:nth-child(9){font-size:18px;color:#fff;font-weight:800}tbody td:nth-child(6):before,tbody td:nth-child(9):before{font-size:9px;font-weight:500}tbody td:nth-child(7),tbody td:nth-child(8){color:#c7d7e1}tbody td:nth-child(15){display:none}.table-card-art,.card-image-pending{width:58px;height:78px}.card-select{width:100%}.card-select .card>div,.card-select div{min-width:0}.card-select b{font-size:15px}.card-select small{font-size:9px}.board-footer{padding:9px 12px}
 .connect-setup{padding:14px!important}.connect-setup summary{gap:8px}.connect-setup summary b{font-size:14px}.connect-setup summary small{font-size:10px}.toggle-label{font-size:9px}.setup-safety{display:block}.setup-safety span{display:block;margin-top:4px}.tester-steps{padding:10px}.tester-steps ol{padding-left:19px}.download-tool{width:100%;text-align:center}
}

@media(max-width:430px){
 .masthead{height:150px}.navigation a{font-size:9px}.search-panel{padding:11px}.market-filters{gap:5px}.market-filters select{padding:4px 5px;font-size:10px}.price-filter{padding:0 5px}.dashboard{gap:9px}.player-detail{padding:11px 9px}.gold-card{flex-basis:84px;height:132px}.identity-strip>span small{font-size:9px}.history,.rail section{padding:12px}.board-head{padding:10px 12px}.scope-note{padding:9px 12px}tbody{padding:6px}tbody tr{padding:8px;gap:0 8px}.sentiment-chip{min-width:58px;font-size:10px}}
