/* HARUNA V5.47 – real CSS background, no flattened reference image. */
#harunaCarProfileV541 {position:fixed;inset:0;z-index:2147482000;display:none;justify-content:center;align-items:center;padding:6px;box-sizing:border-box;background:rgba(0,2,12,.97);color:#eef8ff;font-family:Arial,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif}
#harunaCarProfileV541.show{display:flex}
#harunaCarProfileV541 *{box-sizing:border-box}
#harunaCarProfileV541 .hcpPanel{width:min(98vw,calc(88vh * 1672 / 941));max-height:99vh;min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#031331;border:1px solid #1461ad;box-shadow:0 0 35px #003a8899}
#harunaCarProfileV541 .hcpScreen{position:relative;aspect-ratio:1672/941;width:100%;overflow:hidden;container-type:inline-size;background:linear-gradient(116deg,#00040d 0%,#001538 28%,#05336c 55%,#0757ce 85%,#087cf8 100%)}
#harunaCarProfileV541 .hcpBackground{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 82% 15%,#066cf7 0%,transparent 42%),radial-gradient(ellipse at 16% 79%,#07152c 0%,transparent 40%),linear-gradient(100deg,#01030a,#032050 51%,#074eb9)}
#harunaCarProfileV541 .hcpBackground:after{content:"";position:absolute;left:0;right:0;bottom:0;height:38%;background:linear-gradient(180deg,transparent 0%,#00132ab0 40%,#000b1ae8 100%)}
#harunaCarProfileV541 .hcpLetterWall{position:absolute;inset:-2% -15%;display:flex;flex-direction:column;justify-content:space-around;white-space:nowrap;overflow:hidden;transform:skewX(-9deg);opacity:.88}
#harunaCarProfileV541 .hcpLetterRow{font-family:Impact,"Arial Black",sans-serif;font-style:italic;font-weight:900;font-size:5.7cqw;line-height:1;color:transparent;-webkit-text-stroke:.11cqw #001025;letter-spacing:.05em;word-spacing:.15em;white-space:nowrap}
#harunaCarProfileV541 .hcpLetterRow:nth-child(even){transform:translateX(-14cqw)}
#harunaCarProfileV541 .hcpLetterRow:nth-child(3n){transform:translateX(-28cqw)}
#harunaCarProfileV541 .hcpLetterRow:nth-child(5n){transform:translateX(-4cqw)}
#harunaCarProfileV541 .hcpHeadline{position:absolute;top:1.3%;left:1.9%;width:54%;height:18%;pointer-events:none}
#harunaCarProfileV541 #hcpBack{position:relative;z-index:2;pointer-events:auto;appearance:none;background:#00132cbb;border:0;border-radius:4px;color:#ecf7ff;font-size:2cqw;font-style:italic;font-weight:900;cursor:pointer;padding:.15cqw 1cqw .2cqw;line-height:1.4}
#harunaCarProfileV541 .hcpHeadline h2{font-family:Impact,"Arial Black",Arial,sans-serif;color:#f5faff;font-size:7.7cqw;font-style:italic;line-height:.85;margin:.8cqw 0 .1cqw;letter-spacing:-.04em;text-shadow:.3cqw .3cqw .35cqw #000b33aa}
#harunaCarProfileV541 .hcpSubtitle{display:block;font-size:1.7cqw;font-weight:800;text-shadow:0 1px 3px #000}
#harunaCarProfileV541 .hcpSubtitle small{font-size:1cqw;color:#badfff}
#harunaCarProfileV541 .hcpCarHero{position:absolute;top:20%;left:1.7%;width:53%;height:47%;margin:0;display:flex;align-items:center;justify-content:center;border:1px solid #2abafc;background:#02122677;overflow:hidden;box-shadow:0 .5cqw 1.7cqw #000b}
#harunaCarProfileV541 .hcpCarHero img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 4px 4px #0007)}
#harunaCarProfileV541 .hcpCarHero figcaption{position:absolute;bottom:3%;left:0;max-width:90%;background:#001226e8;padding:.55cqw 1cqw;color:#eafaff;font-weight:900;font-size:1.45cqw;line-height:1.2;text-shadow:0 1px 3px #000}
#harunaCarProfileV541 .hcpInfo{position:absolute;background:linear-gradient(180deg,#03182cdd,#001024e8);border:1.5px solid #19a8ff;border-radius:.85cqw;box-shadow:0 .15cqw .55cqw #00101a99,inset 0 0 1cqw #006ab727;padding:1.2cqw 1.55cqw;overflow:hidden}
#harunaCarProfileV541 .hcpInfo h3{font-weight:900;font-size:2.1cqw;line-height:1.15;margin:0 0 .85cqw;padding:0 0 .65cqw;border-bottom:1px solid #17578f;color:#f5fbff}
#harunaCarProfileV541 .hcpInfo h3 small{font-weight:800;font-size:1.2cqw;color:#63d2ff;margin-left:1cqw}
#harunaCarProfileV541 .hcpCarLevel{left:58%;right:1.8%;top:9.3%;height:27.3%}
#harunaCarProfileV541 .hcpExperience{display:flex;align-items:center;gap:1.15cqw;margin:.35cqw 0 1cqw;height:4cqw}
#harunaCarProfileV541 #hcpLevel{white-space:nowrap;font-size:3.5cqw;font-weight:900;letter-spacing:-.06em;line-height:1}
#harunaCarProfileV541 .hcpMeter{background:#11293d;border:1px solid #8bcbed;border-radius:.2cqw;flex:1;height:2.1cqw;overflow:hidden;transform:skewX(-8deg)}
#harunaCarProfileV541 #hcpLevelBar{display:block;height:100%;width:0;background:linear-gradient(90deg,#09aafb,#63edff);box-shadow:0 0 1cqw #009fff}
#harunaCarProfileV541 #hcpLevelProgress{font-size:1.4cqw;white-space:nowrap}
#harunaCarProfileV541 .hcpInfo p{font-size:1.3cqw;font-weight:800;margin:.3cqw 0 1.1cqw;line-height:1.35}
#harunaCarProfileV541 .hcpInfo p small{display:block;font-weight:400;font-size:1.02cqw;color:#beddf4;margin:.2cqw 0 0 1.1cqw}
#harunaCarProfileV541 .hcpTuning{left:58%;right:1.8%;top:38%;height:29%}
#harunaCarProfileV541 .hcpTuning h3{margin-bottom:.8cqw}
#harunaCarProfileV541 .hcpTuning p{margin:.24cqw 0 1cqw}
#harunaCarProfileV541 .hcpTuneFooter{position:absolute;left:1.6cqw;right:1.4cqw;bottom:1.1cqw;display:flex;justify-content:space-between;align-items:center;gap:1cqw;border-top:1px solid #174c76;padding-top:.65cqw}
#harunaCarProfileV541 .hcpTuneFooter span{white-space:nowrap;font-size:1.4cqw;font-weight:800}
#harunaCarProfileV541 .hcpTuneFooter span small{font-size:1.1cqw;color:#54d8ff}
#harunaCarProfileV541 #hcpTP{font-size:2.5cqw;color:#21d4ff;margin-left:1cqw}
#harunaCarProfileV541 #hcpShop{min-width:45%;height:4.4cqw;appearance:none;cursor:pointer;color:#003063;font-size:1.65cqw;font-weight:900;font-style:italic;border-radius:.8cqw;border:.16cqw solid #83f6ff;background:linear-gradient(160deg,#8df5ff,#0492f7 53%,#035dd2);box-shadow:inset 0 0 .7cqw #d3ffffc9,0 .2cqw .55cqw #003d9d}
#harunaCarProfileV541 #hcpShop b{font-size:2.2cqw;margin-left:1cqw}
#harunaCarProfileV541 .hcpPerformance{left:1.7%;width:53.5%;top:68%;height:29.4%;padding:1.15cqw 1.4cqw}
#harunaCarProfileV541 .hcpSpec{left:56.7%;right:1.8%;top:68%;height:29.4%;padding:1.15cqw 1.4cqw}
#harunaCarProfileV541 .hcpPerformance h3,#harunaCarProfileV541 .hcpSpec h3{font-family:Impact,"Arial Black",Arial,sans-serif;font-size:2.05cqw;font-style:italic;margin-bottom:.25cqw}
#harunaCarProfileV541 .hcpPerformanceRows{display:flex;flex-direction:column}
#harunaCarProfileV541 .hcpGaugeRow{height:4.35cqw;display:flex;align-items:center;gap:.8cqw;border-bottom:1px solid #235879}
#harunaCarProfileV541 .hcpGaugeRow:last-child{border-bottom:none}
#harunaCarProfileV541 .hcpGaugeName{width:24%;flex:0 0 24%;display:flex;flex-direction:column;font-size:1.22cqw;line-height:1.15}
#harunaCarProfileV541 .hcpGaugeName strong{font-weight:800}
#harunaCarProfileV541 .hcpGaugeName small{font-size:1.06cqw;color:#dcecf8}
#harunaCarProfileV541 .hcpGauge{display:flex;gap:.27cqw;align-items:center;flex:1;height:2.1cqw}
#harunaCarProfileV541 .hcpGauge i{display:block;flex:1;height:1.75cqw;border:1px solid #7f9cae;border-radius:.18cqw;background:#213447;transform:skewX(-12deg)}
#harunaCarProfileV541 .hcpGauge i.active.low{background:linear-gradient(130deg,#a4f6ff,#008af5);border-color:#62e8ff}
#harunaCarProfileV541 .hcpGauge i.active.high{background:linear-gradient(130deg,#ff9aa3,#c12342);border-color:#ff899d}
#harunaCarProfileV541 .hcpGaugeRow>b{width:11%;text-align:right;font-size:1.75cqw;white-space:nowrap}
#harunaCarProfileV541 .hcpSpecRows>div{min-height:3.45cqw;border-bottom:1px solid #234d72;display:grid;grid-template-columns:43% 57%;align-items:center;font-size:1.28cqw}
#harunaCarProfileV541 .hcpSpecRows>div:last-child{border-bottom:0}
#harunaCarProfileV541 .hcpSpecRows span{font-weight:700}
#harunaCarProfileV541 .hcpSpecRows b{font-weight:500;font-size:1.3cqw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#harunaCarProfileV541 .hcpButtons{display:flex;gap:10px;padding:8px 11px;background:linear-gradient(90deg,#001025,#07366a,#001025);border-top:1px solid #139af6;justify-content:flex-end;align-items:center;flex-shrink:0}
#harunaCarProfileV541 .hcpStatus{font-size:12px;color:#c7eaff;margin-right:auto;max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#harunaCarProfileV541 .hcpButtons button{appearance:none;min-width:130px;min-height:36px;padding:7px 20px;cursor:pointer;font-size:14px;font-weight:900;letter-spacing:.06em;font-style:italic;border:1px solid #43c3ff;border-radius:5px;background:#081c36;color:#ccefff}
#harunaCarProfileV541 .hcpButtons #hcpOk{background:linear-gradient(#6ceaff,#0682dc);color:#031d46;border-color:#b8f3ff}
#harunaCarProfileV541 button:focus-visible{outline:3px solid #fff;outline-offset:2px}
#harunaCarProfileV541 .hcpButtons button:disabled{opacity:.55;cursor:wait}
#harunaCarProfileV541 #hcpAccessibility{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:680px){#harunaCarProfileV541{padding:2px}#harunaCarProfileV541 .hcpPanel{width:100%;max-height:100vh}#harunaCarProfileV541 .hcpButtons{gap:5px;padding:5px}#harunaCarProfileV541 .hcpButtons button{min-width:65px;min-height:29px;font-size:10px;padding:4px 7px}#harunaCarProfileV541 .hcpStatus{font-size:9px;max-width:46%}}

/* V5.47 viewport fitting: reserve the bottom row and clear the TP action band. */
#harunaCarProfileV541 .hcpInfo p{font-size:1.13cqw;line-height:1.2;margin:.28cqw 0 .62cqw}
#harunaCarProfileV541 .hcpInfo p small{font-size:.90cqw;line-height:1.25;margin:.2cqw 0 0 1cqw}
#harunaCarProfileV541 .hcpCarLevel h3{margin-bottom:.35cqw}
#harunaCarProfileV541 .hcpExperience{margin:.15cqw 0 .35cqw;height:3.4cqw}
#harunaCarProfileV541 .hcpTuning{padding-bottom:5.4cqw}
#harunaCarProfileV541 .hcpTuning p{margin:.26cqw 0 .48cqw}
#harunaCarProfileV541 .hcpGaugeRow{height:3.25cqw}
#harunaCarProfileV541 .hcpSpecRows>div{min-height:2.82cqw}
#harunaCarProfileV541 .hcpPerformance h3,#harunaCarProfileV541 .hcpSpec h3{padding-bottom:.3cqw;margin-bottom:.1cqw}
#harunaCarProfileV541 .hcpSpecRows span,#harunaCarProfileV541 .hcpSpecRows b{font-size:1.18cqw}

#harunaCarProfileV541 .hcpGaugeRow{height:3.04cqw}
#harunaCarProfileV541 .hcpSpecRows>div{min-height:2.58cqw}
#harunaCarProfileV541 .hcpGaugeName{font-size:1.13cqw}
#harunaCarProfileV541 .hcpGaugeName small{font-size:1.0cqw}



/* HARUNA V5.48 — CAR DETAIL VISUAL GRID BALANCE
   Deliberately CSS-only. Assets stay per-vehicle and functional code is unchanged. */
#harunaCarProfileV541 .hcpScreen {
  background:linear-gradient(112deg,#000916 0%,#002357 46%,#035bc0 100%);
}
#harunaCarProfileV541 .hcpBackground {
  background:radial-gradient(ellipse at 82% 12%,rgba(25,144,255,.7),transparent 42%),linear-gradient(106deg,#000816 0%,#002251 42%,#075bbd 100%);
}
#harunaCarProfileV541 .hcpLetterWall { opacity:.42; transform:skewX(-6deg) }
#harunaCarProfileV541 .hcpLetterRow {
  font-size:5.3cqw;
  -webkit-text-stroke:.092cqw #00182d;
}
/* Title occupies its own space, above the image. No clipping/overlap. */
#harunaCarProfileV541 .hcpHeadline {
  left:2%; top:1.8%; width:53%; height:17%; z-index:3;
}
#harunaCarProfileV541 #hcpBack {
  font-size:1.52cqw; line-height:1.2;
  padding:.2cqw .8cqw;
  background:rgba(0,13,32,.88);
  letter-spacing:.04em;
}
#harunaCarProfileV541 .hcpHeadline h2 {
  font-size:6.05cqw; line-height:.87;
  margin:.50cqw 0 .15cqw;
  letter-spacing:-.025em;
  white-space:nowrap;
}
#harunaCarProfileV541 .hcpSubtitle {
  font-size:1.13cqw;
  padding:.08cqw .3cqw;
  display:inline-block;
  background:rgba(0,11,29,.8);
}
#harunaCarProfileV541 .hcpSubtitle small { font-size:.91cqw; }
/* A single aligned two-column grid, rather than four unrelated offsets. */
#harunaCarProfileV541 .hcpCarHero {
  left:1.7%; width:53.6%; top:21.4%; height:45.2%;
  background:#16050c;
  border:1.5px solid #24b6ff;
  box-shadow:0 .4cqw 1.2cqw #0007;
}
#harunaCarProfileV541 .hcpCarHero img {
  object-fit:cover;
  object-position:center 52%;
  filter:none;
}
#harunaCarProfileV541 .hcpCarHero figcaption {
  bottom:0;left:0; font-size:1.26cqw;
  padding:.57cqw .95cqw;
  background:linear-gradient(90deg,#001328f5,#001328e6);
}
#harunaCarProfileV541 .hcpCarLevel,
#harunaCarProfileV541 .hcpTuning,
#harunaCarProfileV541 .hcpSpec {left:57%;right:1.7%}
#harunaCarProfileV541 .hcpPerformance {left:1.7%;width:53.6%}
#harunaCarProfileV541 .hcpCarLevel {top:8.9%;height:26.6%}
#harunaCarProfileV541 .hcpTuning {top:37%;height:29.6%}
#harunaCarProfileV541 .hcpPerformance,
#harunaCarProfileV541 .hcpSpec {top:68.2%;height:29.1%}
/* Solid panel backdrop prevents the outline text printing through copy. */
#harunaCarProfileV541 .hcpInfo {
  background:linear-gradient(180deg,#031d3cf7 0%,#001326fb 100%);
  border:1.5px solid #19a8f8;
  box-shadow:0 .12cqw .45cqw #0009,inset 0 0 .6cqw #014c8625;
  padding:1.08cqw 1.35cqw;
}
#harunaCarProfileV541 .hcpInfo h3 {
  font-size:1.96cqw;
  margin:0 0 .53cqw;
  padding:0 0 .47cqw;
  line-height:1.12;
}
#harunaCarProfileV541 .hcpInfo h3 small{font-size:1.1cqw}
#harunaCarProfileV541 .hcpExperience {margin:.10cqw 0 .49cqw;height:3.55cqw}
#harunaCarProfileV541 #hcpLevel {font-size:3.35cqw}
#harunaCarProfileV541 .hcpInfo p {
  font-size:1.10cqw;
  line-height:1.25;
  margin:.35cqw 0 .68cqw;
}
#harunaCarProfileV541 .hcpInfo p small {
  font-size:.92cqw;line-height:1.2;margin:.17cqw 0 0 1.03cqw;
}
/* Tuning copy above a separated, consistently-sized bottom action row. */
#harunaCarProfileV541 .hcpTuning {
  display:flex;
  flex-direction:column;
  padding-bottom:.95cqw;
}
#harunaCarProfileV541 .hcpTuning p {
  margin:.22cqw 0 .47cqw;
  flex-shrink:0;
}
#harunaCarProfileV541 .hcpTuneFooter {
  position:static;
  flex:0 0 auto;
  margin-top:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  align-items:center;
  gap:.9cqw;
  border-top:1px solid #235e90;
  padding-top:.60cqw;
  min-height:4.5cqw;
}
#harunaCarProfileV541 .hcpTuneFooter span {
  font-size:1.17cqw;
  white-space:nowrap;
  display:flex;align-items:baseline;gap:.46cqw;
}
#harunaCarProfileV541 .hcpTuneFooter span small{font-size:.97cqw}
#harunaCarProfileV541 #hcpTP {
  font-size:2.37cqw;
  margin-left:.3cqw;
  line-height:1;
}
#harunaCarProfileV541 #hcpShop {
  min-width:0;
  width:100%;
  height:3.55cqw;
  padding:.18cqw .38cqw;
  border-radius:.5cqw;
  font-size:1.43cqw;
  white-space:nowrap;
  line-height:1.1;
}
#harunaCarProfileV541 #hcpShop b {font-size:1.85cqw;margin-left:.3cqw}
/* Evenly spaced, readable performance and spec rows. */
#harunaCarProfileV541 .hcpPerformance h3,
#harunaCarProfileV541 .hcpSpec h3{
  font-size:1.88cqw;
  padding-bottom:.37cqw;
  margin-bottom:.23cqw;
}
#harunaCarProfileV541 .hcpGaugeRow {height:3.08cqw;gap:.72cqw}
#harunaCarProfileV541 .hcpGaugeName {flex:0 0 24%;width:24%;font-size:1.09cqw;line-height:1.15}
#harunaCarProfileV541 .hcpGaugeName small{font-size:.9cqw}
#harunaCarProfileV541 .hcpGaugeRow>b {width:10.5%;font-size:1.5cqw}
#harunaCarProfileV541 .hcpGauge{gap:.25cqw}
#harunaCarProfileV541 .hcpGauge i{height:1.62cqw}
#harunaCarProfileV541 .hcpSpecRows>div{
  min-height:2.68cqw;
  grid-template-columns:45% 55%;
}
#harunaCarProfileV541 .hcpSpecRows span,
#harunaCarProfileV541 .hcpSpecRows b{font-size:1.08cqw}
/* Symmetric confirmation actions with a separate unobtrusive status label. */
#harunaCarProfileV541 .hcpButtons {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:end;
  width:100%;
  gap:1cqw;
  padding:24px 1.7% 8px;
  background:linear-gradient(90deg,#000d1e,#062c59 50%,#000d1e);
}
#harunaCarProfileV541 .hcpStatus {
  position:absolute;left:1.7%;top:5px;
  font-size:11px;max-width:96%;margin:0;
  color:#b9dafa;
}
#harunaCarProfileV541 .hcpButtons button {
  min-width:0;width:100%;height:36px;
  min-height:36px;
  padding:5px 14px;
  font-size:14px;
}
@media(max-width:680px) {
  #harunaCarProfileV541 .hcpButtons {padding:16px 1.7% 4px;gap:5px}
  #harunaCarProfileV541 .hcpStatus {font-size:9px;top:3px}
  #harunaCarProfileV541 .hcpButtons button{height:26px;min-height:26px;font-size:10px}
}

/* V5.48 FINAL: no redundant GARAGE/back link; title visible at every viewport. */
#harunaCarProfileV541 .hcpHeadline{top:1.6%;height:17.6%;overflow:visible}
#harunaCarProfileV541 .hcpHeadline h2{margin:0 0 .35cqw;font-size:6.8cqw;line-height:1.04;white-space:nowrap;letter-spacing:-.035em}
#harunaCarProfileV541 .hcpSubtitle{font-size:1.36cqw;margin:0;line-height:1.25}
#harunaCarProfileV541 .hcpSubtitle small{font-size:1cqw}
/* Restore sufficient space for all five specification rows. */
#harunaCarProfileV541 .hcpPerformance,#harunaCarProfileV541 .hcpSpec{top:67.65%;height:31.0%}
#harunaCarProfileV541 .hcpSpecRows>div{min-height:2.36cqw;line-height:1.12}
#harunaCarProfileV541 .hcpSpec h3{margin-bottom:.14cqw;padding-bottom:.25cqw}
#harunaCarProfileV541 .hcpPerformance h3{margin-bottom:.14cqw;padding-bottom:.25cqw}
#harunaCarProfileV541 .hcpGaugeRow{height:3.1cqw}

/* Clearly label cumulative finish count rather than per-level progress. */
#harunaCarProfileV541 #hcpLevelProgress{font-size:1.24cqw;white-space:nowrap;text-align:right;min-width:7.5cqw;}
