.page-ynews .front-ai-cost{width:min(1040px,calc(100% - 24px));margin:10px auto 0;color:#18243a}.page-ynews .front-ai-cost__panel{display:grid;grid-template-columns:minmax(275px,.78fr) minmax(240px,.62fr) minmax(360px,1fr);overflow:hidden;border:1px solid #dce3ed;border-radius:10px;background:#fff;box-shadow:0 5px 18px rgba(25,54,96,.06)}.page-ynews .front-ai-cost__header,.page-ynews .front-ai-cost__current,.page-ynews .front-ai-cost__chart-card{min-width:0;padding:20px}.page-ynews .front-ai-cost__header{display:flex;flex-direction:column;background:#f4f7fb}.page-ynews .front-ai-cost__eyebrow{margin:0 0 3px;color:#7c8798;font-size:11px;font-weight:700}.page-ynews .front-ai-cost h2{display:flex;align-items:center;gap:7px;margin:0;font-size:27px;line-height:1.2;letter-spacing:-.04em;white-space:nowrap}.page-ynews .front-ai-cost h2 i{color:#146fd1}.page-ynews .front-ai-cost__state{display:flex;align-items:center;gap:6px;margin:14px 0 0;color:#68768b;font-size:10px;font-weight:700}.page-ynews .front-ai-cost__spinner{width:10px;height:10px;border:2px solid #cbd5e2;border-top-color:#146fd1;border-radius:50%;animation:ai-cost-spin .8s linear infinite}.page-ynews .front-ai-cost[data-state=ready] .front-ai-cost__spinner,.page-ynews .front-ai-cost[data-state=warning] .front-ai-cost__spinner,.page-ynews .front-ai-cost[data-state=error] .front-ai-cost__spinner{display:none}.page-ynews .front-ai-cost__details-button{display:inline-flex;align-items:center;justify-content:center;gap:3px;align-self:flex-start;margin-top:auto;padding:6px 11px;border:0;border-radius:999px;background:linear-gradient(110deg,#1476da,#124ca7);color:#fff;font-size:11px;font-weight:800;cursor:pointer}.page-ynews .front-ai-cost__details-button[aria-expanded=true] i{transform:rotate(180deg)}.page-ynews .front-ai-cost__current{border-left:1px solid #dce3ed}.page-ynews .front-ai-cost__current-heading,.page-ynews .front-ai-cost__index-row,.page-ynews .front-ai-cost__fx div{display:flex;align-items:center}.page-ynews .front-ai-cost__current-heading{justify-content:space-between;gap:8px}.page-ynews .front-ai-cost__label{font-size:13px;font-weight:800}.page-ynews .front-ai-cost__level{padding:3px 8px;border-radius:999px;background:#eef2f7;color:#657184;font-size:11px;font-weight:800}.page-ynews .front-ai-cost__level[data-level=cheap]{background:#dcf8eb;color:#08784a}.page-ynews .front-ai-cost__level[data-level=expensive]{background:#ffe6ea;color:#b82139}.page-ynews .front-ai-cost__index-row{gap:13px;margin-top:5px}.page-ynews .front-ai-cost__index{font-size:50px;line-height:1}.page-ynews .front-ai-cost__change{font-size:15px;font-weight:900;color:#226cc0}.page-ynews .front-ai-cost__meaning{margin:8px 0;color:#7d8796;font-size:9px;line-height:1.5}.page-ynews .front-ai-cost__fx{display:grid;gap:3px;margin:0}.page-ynews .front-ai-cost__fx div{justify-content:space-between}.page-ynews .front-ai-cost__fx dt,.page-ynews .front-ai-cost__fx dd{margin:0;font-size:10px}.page-ynews .front-ai-cost__fx dt{color:#8b94a1}.page-ynews .front-ai-cost__fx dd{font-weight:800}.page-ynews .front-ai-cost__chart-card{border-left:1px solid #dce3ed}.page-ynews .front-ai-cost__chart-head,.page-ynews .front-ai-cost__tier-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.page-ynews .front-ai-cost__chart-head>div:first-child{display:flex;align-items:baseline;gap:7px}.page-ynews .front-ai-cost__chart-head strong{font-size:13px}.page-ynews .front-ai-cost__chart-head span{color:#8993a1;font-size:9px}.page-ynews .front-ai-cost__periods,.page-ynews .front-ai-cost__tiers{display:flex;gap:3px}.page-ynews .front-ai-cost__periods button,.page-ynews .front-ai-cost__tiers button{padding:4px 7px;border:1px solid #d8e0ea;border-radius:6px;background:#fff;color:#637085;font-size:9px;font-weight:800;cursor:pointer}.page-ynews .front-ai-cost__periods button[aria-pressed=true],.page-ynews .front-ai-cost__tiers button[aria-pressed=true]{border-color:#176ec6;background:#176ec6;color:#fff}.page-ynews .front-ai-cost__chart{position:relative;height:100px;margin-top:6px}.page-ynews .front-ai-cost__chart svg{display:block;width:100%;height:100%;overflow:visible}.page-ynews .front-ai-cost__grid{stroke:#e9edf3;stroke-width:1}.page-ynews .front-ai-cost__line{fill:none;stroke:#1477d4;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 900ms cubic-bezier(.2,.75,.25,1)}.page-ynews .front-ai-cost__line.is-drawn{stroke-dashoffset:0}.page-ynews .front-ai-cost__area{fill:url(#ai-cost-area)}.page-ynews .front-ai-cost__axis{fill:#8d98a8;font-size:7px}.page-ynews .front-ai-cost__point{fill:#fff;stroke:#1477d4;stroke-width:3;vector-effect:non-scaling-stroke}.page-ynews .front-ai-cost__hit{fill:transparent;cursor:help}.page-ynews .front-ai-cost__chart-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#8a94a1;font-size:10px}.page-ynews .front-ai-cost__tooltip{position:absolute;z-index:4;transform:translate(-50%,-112%);padding:5px 7px;border-radius:5px;background:#17243a;color:#fff;font-size:9px;white-space:nowrap;pointer-events:none}.page-ynews .front-ai-cost__sample-note{margin:2px 0 0;color:#9a6a18;font-size:8px}.page-ynews .front-ai-cost__notice{grid-column:1/-1;padding:8px 16px;background:#fff4d8;color:#855b08;font-size:11px;font-weight:700}.page-ynews .front-ai-cost__notice[data-kind=error]{background:#fff0f1;color:#ad2033}.page-ynews .front-ai-cost__details{grid-column:1/-1;padding:18px 20px 20px;border-top:1px solid #dce3ed}.page-ynews .front-ai-cost__tier-head>div:first-child{display:flex;flex-direction:column}.page-ynews .front-ai-cost__tier-head strong{font-size:14px}.page-ynews .front-ai-cost__tier-head span,.page-ynews .front-ai-cost__tier-note{color:#8792a2;font-size:9px}.page-ynews .front-ai-cost__tier-note{margin:5px 0 12px}.page-ynews .front-ai-cost__providers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.page-ynews .front-ai-cost-provider{min-width:0;padding:11px;border:1px solid #e1e6ee;border-radius:8px;background:#fafbfd}.page-ynews .front-ai-cost-provider h3{margin:0 0 3px;font-size:12px}.page-ynews .front-ai-cost-provider__model{min-height:28px;margin:0;color:#5f6d82;font-size:9px;font-weight:700;line-height:1.4}.page-ynews .front-ai-cost-provider__price{margin:7px 0 2px;font-size:17px;font-weight:900}.page-ynews .front-ai-cost-provider__change{margin:0;color:#657185;font-size:9px}.page-ynews .front-ai-cost-provider__meta{margin:6px 0 0;color:#929cab;font-size:8px}.page-ynews .front-ai-cost-provider a{display:inline-block;margin-top:7px;color:#146bc2;font-size:8px;font-weight:700}.page-ynews .front-ai-cost__official{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.page-ynews .front-ai-cost__official section{padding:11px;border-radius:8px;background:#f6f8fb}.page-ynews .front-ai-cost__official h3{margin:0 0 7px;font-size:12px}.page-ynews .front-ai-cost-info{margin:0 0 7px;font-size:9px;line-height:1.5}.page-ynews .front-ai-cost-info:last-child{margin-bottom:0}.page-ynews .front-ai-cost-info a{color:#1267ba;font-weight:700}.page-ynews .front-ai-cost__method{margin-top:13px;padding-top:11px;border-top:1px solid #e3e8ef;font-size:10px}.page-ynews .front-ai-cost__method summary{cursor:pointer;font-weight:800}.page-ynews .front-ai-cost__method p{color:#68758a;line-height:1.65}.page-ynews .front-ai-cost__updated{margin:10px 0 0;color:#9099a7;font-size:8px}@keyframes ai-cost-spin{to{transform:rotate(360deg)}}
html.theme-night .page-ynews .front-ai-cost{color:#edf3fb}html.theme-night .page-ynews .front-ai-cost__panel,html.theme-night .page-ynews .front-ai-cost__current,html.theme-night .page-ynews .front-ai-cost__chart-card{border-color:#343c48;background:#171b21}html.theme-night .page-ynews .front-ai-cost__header{background:#202630}html.theme-night .page-ynews .front-ai-cost__periods button,html.theme-night .page-ynews .front-ai-cost__tiers button{border-color:#3a4554;background:#232a34;color:#cdd6e3}html.theme-night .page-ynews .front-ai-cost__periods button[aria-pressed=true],html.theme-night .page-ynews .front-ai-cost__tiers button[aria-pressed=true]{background:#257cd2;color:#fff}html.theme-night .page-ynews .front-ai-cost__details{border-color:#343c48}html.theme-night .page-ynews .front-ai-cost-provider,html.theme-night .page-ynews .front-ai-cost__official section{border-color:#343c48;background:#202630}html.theme-night .page-ynews .front-ai-cost__grid{stroke:#303844}
@media(max-width:760px){.page-ynews .front-ai-cost{width:100%;margin:0;padding:10px 14px 0}.page-ynews .front-ai-cost__panel{grid-template-columns:1fr 1fr}.page-ynews .front-ai-cost__header{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:end;padding:14px}.page-ynews .front-ai-cost__eyebrow{font-size:9px}.page-ynews .front-ai-cost h2{font-size:23px}.page-ynews .front-ai-cost__state{position:absolute;width:1px;height:1px;overflow:hidden}.page-ynews .front-ai-cost__details-button{grid-column:2;grid-row:1;margin:0;font-size:9px}.page-ynews .front-ai-cost__current,.page-ynews .front-ai-cost__chart-card{padding:13px}.page-ynews .front-ai-cost__current{border-left:0}.page-ynews .front-ai-cost__chart-card{border-left:1px solid #dce3ed}.page-ynews .front-ai-cost__index{font-size:40px}.page-ynews .front-ai-cost__meaning,.page-ynews .front-ai-cost__fx{display:none}.page-ynews .front-ai-cost__periods{display:none}.page-ynews .front-ai-cost__chart{height:82px}.page-ynews .front-ai-cost__details{padding:15px 13px}.page-ynews .front-ai-cost__tier-head{align-items:flex-start;flex-direction:column}.page-ynews .front-ai-cost__providers{grid-template-columns:1fr 1fr}.page-ynews .front-ai-cost__official{grid-template-columns:1fr}.page-ynews .front-ai-cost-provider:last-child{grid-column:1/-1}.page-ynews .front-ai-cost__notice{padding:8px 12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.page-ynews .front-ai-cost__spinner{animation:none}.page-ynews .front-ai-cost__line{transition:none;stroke-dashoffset:0}}
.page-ynews a.front-ai-cost__details-button{text-decoration:none}

/* Visible compact provider board */
.page-ynews .front-ai-cost__provider-board{grid-column:1/-1;padding:16px 20px 18px;border-top:1px solid #dce3ed;background:#fbfcfe}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-head>div:first-child{display:flex;flex-direction:column}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-head strong{font-size:15px}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-head span,.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-note{color:#8792a2;font-size:9px}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-note{margin:4px 0 10px}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{display:block;overflow:hidden;border:1px solid #e0e6ee;border-radius:9px;background:#fff}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider{display:grid;grid-template-columns:minmax(230px,1fr) 110px 170px 38px;align-items:center;gap:16px;min-width:0;padding:10px 12px;border:0;border-bottom:1px solid #e8ecf2;border-radius:0;background:#fff}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider:last-child{grid-column:auto;border-bottom:0}
.page-ynews .front-ai-cost-provider__identity{display:flex;align-items:center;gap:10px;min-width:0}
.page-ynews .front-ai-cost-provider__identity>div{min-width:0}
.page-ynews .front-ai-cost-provider__logo{display:block;flex:0 0 27px;width:27px;height:27px;object-fit:contain;filter:brightness(0) saturate(100%) invert(33%) sepia(82%) saturate(1287%) hue-rotate(181deg) brightness(89%) contrast(92%)}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider h3{margin:0 0 1px;font-size:14px;line-height:1.2}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__model{overflow:hidden;min-height:0;margin:0;color:#758094;font-size:9px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__price{margin:0;text-align:right;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__change{margin:0;color:#657185;font-size:10px;font-weight:800}
.page-ynews .front-ai-cost-provider__change[data-direction=saving]{color:#078555}
.page-ynews .front-ai-cost-provider__change[data-direction=premium]{color:#bd2942}
.page-ynews .front-ai-cost-provider__link{display:grid;width:32px;height:32px;margin:0;border:1px solid #d7e0eb;border-radius:50%;place-items:center;color:#146bc2;font-size:16px;text-decoration:none}
.page-ynews .front-ai-cost-provider__link:hover{border-color:#146bc2;background:#eef6ff}
html.theme-night .page-ynews .front-ai-cost__provider-board{border-color:#343c48;background:#171b21}
html.theme-night .page-ynews .front-ai-cost__provider-board .front-ai-cost__providers,html.theme-night .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider{border-color:#343c48;background:#202630}
html.theme-night .page-ynews .front-ai-cost-provider__logo{filter:brightness(0) invert(1);opacity:.92}
html.theme-night .page-ynews .front-ai-cost-provider__link{border-color:#3a4554;color:#7dbaff}
@media(max-width:760px){.page-ynews .front-ai-cost__provider-board{padding:13px}.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-head{align-items:center;flex-direction:row}.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-head span{display:none}.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-note{margin:5px 0 9px}.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider{grid-template-columns:minmax(0,1fr) auto 30px;gap:8px;padding:9px}.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__identity{gap:7px}.page-ynews .front-ai-cost-provider__logo{flex-basis:22px;width:22px;height:22px}.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider h3{font-size:12px}.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__model{max-width:128px;font-size:8px}.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__price{font-size:15px}.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__change{grid-column:1/3;margin-top:-5px;padding-left:29px;font-size:9px}.page-ynews .front-ai-cost-provider__link{grid-column:3;grid-row:1/3;width:28px;height:28px;font-size:14px}}

/* Medium-model provider rows are full-width links. */
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider{grid-template-columns:minmax(230px,1fr) 110px 170px;color:inherit;text-decoration:none;cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider:hover,.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider:focus-visible{background:#f1f7ff;box-shadow:none;outline:0}
html.theme-night .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider:hover,html.theme-night .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider:focus-visible{background:#263140}
@media(max-width:760px){.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider{grid-template-columns:minmax(0,1fr) auto}.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__change{grid-column:1/3}}

/* Two-column provider balance: 2 + 2 + centered 1. */
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;border:0;border-radius:0;background:transparent}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider{grid-template-columns:minmax(0,1fr) 82px 132px;gap:10px;padding:11px 12px;border:1px solid #e0e6ee;border-radius:8px;background:#fff}
.page-ynews .front-ai-cost__provider-board .front-ai-cost-provider:last-child{grid-column:1/-1;justify-self:center;width:calc(50% - 4px);border:1px solid #e0e6ee}
html.theme-night .page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{background:transparent}
@media(max-width:760px){
  .page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:5px;min-height:104px;padding:9px}
  .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider:last-child{width:calc(50% - 3.5px)}
  .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__identity{grid-column:1;align-items:flex-start}
  .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__model{max-width:105px}
  .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__price{grid-column:1;text-align:left;font-size:16px}
  .page-ynews .front-ai-cost__provider-board .front-ai-cost-provider__change{grid-column:1;margin:0;padding:0;font-size:9px}
}

/* Final compact order: index | judgement | chart, with CTA below the provider slider. */
.page-ynews .front-ai-cost--compact-current .front-ai-cost__panel{
  grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,3fr);
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header{
  grid-column:1/-1;
  grid-row:1;
  display:flex;
  min-height:0;
  padding:9px 14px;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  text-align:left;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2{
  justify-content:flex-start;
  font-size:20px;
  white-space:nowrap;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__eyebrow{display:block;margin-bottom:1px;font-size:8px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current{
  grid-column:1;
  grid-row:2;
  display:flex;
  min-height:72px;
  padding:7px 8px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border-left:0;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current-heading{display:block;width:auto}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__label{display:block;font-size:9px;text-align:center}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index-row{
  display:flex;
  width:auto;
  align-items:baseline;
  justify-content:center;
  gap:4px;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index{font-size:25px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__change{max-width:none;font-size:9px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement{
  grid-column:2;
  grid-row:2;
  display:grid;
  min-width:0;
  min-height:72px;
  padding:7px 8px;
  border-left:1px solid #dce3ed;
  place-items:center;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement .front-ai-cost__level{
  width:min(150px,88%);
  min-height:36px;
  padding:6px 10px;
  font-size:18px;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{
  grid-column:3;
  grid-row:2;
  min-height:72px;
  padding:6px 7px;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head{gap:2px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__periods{display:none}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head strong{font-size:9px;white-space:nowrap}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head span{font-size:6px;white-space:nowrap}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart{height:39px}
.page-ynews .front-ai-cost__provider-footer{
  position:relative;
  z-index:31;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:6px;
}
.page-ynews .front-ai-cost__provider-footer .front-ai-cost__comparison-condition{margin:0}
.page-ynews .front-ai-cost__provider-footer .front-ai-cost__details-button{
  flex:0 0 auto;
  align-self:auto;
  margin:0;
}
html.theme-night .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement{border-color:#343c48;background:#171b21}
@media(max-width:760px){
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header{
    padding:7px 9px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2{font-size:16px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2 i{font-size:16px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__eyebrow{display:block;font-size:7px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__current,
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement,
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{min-height:64px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__current{padding:5px 3px;gap:2px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__label{font-size:7px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__index{font-size:18px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__change{font-size:6px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement{padding:5px 4px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement .front-ai-cost__level{
    width:88%;
    min-height:28px;
    padding:4px 3px;
    font-size:13px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{padding:5px 4px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head strong{font-size:7px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head span{font-size:5px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart{height:36px}
  .page-ynews .front-ai-cost__provider-footer{gap:5px;margin-top:5px}
  .page-ynews .front-ai-cost__provider-footer .front-ai-cost__comparison-condition{font-size:7px;white-space:nowrap}
  .page-ynews .front-ai-cost__provider-footer .front-ai-cost__details-button{padding:4px 8px;font-size:8px}
}

/* Compress the index + chart row while keeping the essential values readable. */
.page-ynews .front-ai-cost__header{padding:9px 14px}
.page-ynews .front-ai-cost__eyebrow{margin-bottom:1px;font-size:9px}
.page-ynews .front-ai-cost h2{font-size:21px}
.page-ynews .front-ai-cost__state{margin-top:5px;font-size:8px}
.page-ynews .front-ai-cost__details-button{padding:4px 9px;font-size:9px;line-height:1.2}
.page-ynews .front-ai-cost__current,.page-ynews .front-ai-cost__chart-card{padding:9px 14px}
.page-ynews .front-ai-cost__label,.page-ynews .front-ai-cost__chart-head strong{font-size:11px}
.page-ynews .front-ai-cost__level{padding:2px 6px;font-size:9px}
.page-ynews .front-ai-cost__index-row{gap:7px;margin-top:2px}
.page-ynews .front-ai-cost__index{font-size:34px}
.page-ynews .front-ai-cost__change{font-size:11px;line-height:1.2;white-space:nowrap}
.page-ynews .front-ai-cost__meaning,.page-ynews .front-ai-cost__fx{display:none}
.page-ynews .front-ai-cost__chart-head span{font-size:8px}
.page-ynews .front-ai-cost__chart{height:58px;margin-top:2px}
.page-ynews .front-ai-cost__sample-note{display:none!important}
@media(max-width:760px){
  .page-ynews .front-ai-cost__header{padding:9px 10px}
  .page-ynews .front-ai-cost h2{font-size:20px}
  .page-ynews .front-ai-cost__current,.page-ynews .front-ai-cost__chart-card{padding:7px 8px}
  .page-ynews .front-ai-cost__label,.page-ynews .front-ai-cost__chart-head strong{font-size:10px}
  .page-ynews .front-ai-cost__level{padding:1px 5px;font-size:8px}
  .page-ynews .front-ai-cost__index-row{gap:5px;margin-top:1px}
  .page-ynews .front-ai-cost__index{font-size:28px}
  .page-ynews .front-ai-cost__change{font-size:9px}
  .page-ynews .front-ai-cost__chart-head{gap:4px}
  .page-ynews .front-ai-cost__chart-head span{font-size:7px}
  .page-ynews .front-ai-cost__chart{height:48px;margin-top:1px}
}

/* Balance the compact current-value block. */
.page-ynews .front-ai-cost__current{display:grid;grid-template-rows:auto 1fr;align-content:center;gap:4px}
.page-ynews .front-ai-cost__current-heading,.page-ynews .front-ai-cost__index-row{width:100%;justify-content:space-between}
.page-ynews .front-ai-cost__index-row{align-self:center}
@media(max-width:760px){.page-ynews .front-ai-cost__current{gap:2px}.page-ynews .front-ai-cost__index-row{align-self:start}}

/* Two visible cards, continuously looping through five providers. */
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{--provider-gap:8px;--provider-sequence-shift:20px;display:block;overflow:hidden}
.page-ynews .front-ai-cost__provider-track{display:flex;gap:var(--provider-gap);width:100%;animation:front-ai-cost-provider-scroll 52s linear infinite;will-change:transform}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider{flex:0 0 calc((100% - var(--provider-gap))/2);width:auto;min-width:0}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider:last-child{grid-column:auto;justify-self:auto;width:auto}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers:hover .front-ai-cost__provider-track,.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers:focus-within .front-ai-cost__provider-track{animation-play-state:paused}
@keyframes front-ai-cost-provider-scroll{to{transform:translateX(calc(-250% - var(--provider-sequence-shift)))}}
@media(max-width:760px){
  .page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{--provider-gap:7px;--provider-sequence-shift:17.5px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider:last-child{width:auto}
}
@media(prefers-reduced-motion:reduce){
  .page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{overflow-x:auto}
  .page-ynews .front-ai-cost__provider-track{animation:none;transform:none}
}

/* Thin, manually scrollable provider rail. */
.page-ynews .front-ai-cost__provider-board{padding:10px 14px 11px}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-note{margin:2px 0 6px;font-size:8px}
.page-ynews .front-ai-cost__comparison-condition{margin:7px 0 0;color:#8792a2;font-size:10px;font-weight:600;line-height:1.35;letter-spacing:.04em;text-align:left}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;touch-action:pan-x pan-y;cursor:grab;overscroll-behavior-x:contain}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers{position:relative;isolation:isolate;contain:paint}
.page-ynews .front-ai-cost__chart:not(.is-chart-ready) .front-ai-cost__line.is-drawn{stroke-dashoffset:1}
.page-ynews .front-ai-cost__chart.is-chart-ready .front-ai-cost__line.is-drawn{stroke-dashoffset:0}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers::-webkit-scrollbar{display:none}
.page-ynews .front-ai-cost__provider-board .front-ai-cost__providers.is-dragging{cursor:grabbing;user-select:none}
.page-ynews .front-ai-cost__provider-track{animation:none;transform:none;will-change:auto}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider{grid-template-columns:minmax(0,1fr) 74px 116px;gap:8px;min-height:0;padding:6px 9px;border-radius:7px}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__logo{flex-basis:22px;width:22px;height:22px}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider h3{font-size:12px}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__model{font-size:8px}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__price{font-size:16px}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__change{font-size:9px;white-space:nowrap}
@media(max-width:760px){
  .page-ynews .front-ai-cost__provider-board{padding:8px 9px 9px}
  .page-ynews .front-ai-cost__provider-board .front-ai-cost__tier-note{margin:1px 0 5px;font-size:7px}
  .page-ynews .front-ai-cost__comparison-condition{margin-top:6px;font-size:9px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;gap:1px 5px;min-height:54px;padding:5px 6px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__identity{grid-column:1;grid-row:1/3;align-self:center;gap:5px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__logo{flex-basis:18px;width:18px;height:18px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider h3{font-size:10px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__model{max-width:76px;font-size:7px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__price{grid-column:2;grid-row:1;text-align:right;font-size:13px}
  .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__change{grid-column:2;grid-row:2;margin:0;padding:0;text-align:right;font-size:7px}
}
.page-ynews .front-ai-cost__chart-empty[hidden]{display:none}
.page-ynews .front-ai-cost__header{position:relative}
.page-ynews .front-ai-cost__header-action{position:absolute;top:9px;right:14px;display:flex;flex-direction:column;align-items:center;margin:0}
.page-ynews .front-ai-cost__header-action .front-ai-cost__details-button{align-self:center;margin-top:0}
.page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition{margin:3px 0 0;font-size:7px;line-height:1.1;letter-spacing:0;white-space:nowrap;text-align:center}
.page-ynews .front-ai-cost__provider-board{padding-bottom:7px}
@media(max-width:760px){
  .page-ynews .front-ai-cost__header-action{top:9px;right:10px}
  .page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition{margin-top:2px;font-size:6px}
  .page-ynews .front-ai-cost__provider-board{padding-bottom:6px}
}
.page-ynews .front-ai-cost__panel{position:relative}
.page-ynews .front-ai-cost__full-link{position:absolute;z-index:30;inset:-1px;display:block;border-radius:inherit;cursor:pointer}
.page-ynews .front-ai-cost__providers{z-index:31}
.page-ynews .front-ai-cost__full-link:focus-visible{outline:3px solid #1476da;outline-offset:-3px}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__logo{filter:grayscale(1) contrast(.9);opacity:.72}
html.theme-night .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__logo{filter:grayscale(1) brightness(1.35) contrast(.9);opacity:.78}

/* Treat the CTA and comparison condition as one balanced header block. */
.page-ynews .front-ai-cost__header-action{right:12px;width:190px;gap:4px}
.page-ynews .front-ai-cost__header-action .front-ai-cost__details-button{min-width:116px}
.page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition{display:flex;flex-direction:column;align-items:center;gap:1px;width:100%;margin:0;color:#7f8999;font-size:7px;line-height:1.15}
.page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition span{font-size:6px;font-weight:700;letter-spacing:.08em}
.page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition strong{font-size:7px;font-weight:700;letter-spacing:0}
@media(min-width:761px){
  .page-ynews .front-ai-cost__header-action{position:static;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;width:100%;margin-top:auto;gap:8px}
  .page-ynews .front-ai-cost__header-action .front-ai-cost__details-button{min-width:106px}
  .page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition{align-items:flex-start;text-align:left}
}
@media(max-width:760px){
  .page-ynews .front-ai-cost__header{padding-right:180px}
  .page-ynews .front-ai-cost__header-action{top:8px;right:10px;width:160px;gap:3px}
  .page-ynews .front-ai-cost__header-action .front-ai-cost__details-button{min-width:106px}
  .page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition span{font-size:6px}
  .page-ynews .front-ai-cost__header-action .front-ai-cost__comparison-condition strong{font-size:7px}
}

/* Center the compact index content and make the price judgement prominent. */
.page-ynews .front-ai-cost__current{display:flex;flex-direction:column;justify-content:center;gap:14px}
.page-ynews .front-ai-cost__current-heading,.page-ynews .front-ai-cost__index-row{flex:0 0 auto;margin:0}
.page-ynews .front-ai-cost__level{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 11px;font-size:13px;line-height:1;white-space:nowrap}
@media(max-width:760px){
  .page-ynews .front-ai-cost__current{gap:8px}
  .page-ynews .front-ai-cost__level{min-height:23px;padding:3px 8px;font-size:11px}
}

/* Reorder the current index: label/value above, judgement centered below. */
.page-ynews .front-ai-cost__current{display:grid;grid-template-columns:max-content max-content minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:14px;row-gap:10px}
.page-ynews .front-ai-cost__current-heading,.page-ynews .front-ai-cost__index-row{display:contents}
.page-ynews .front-ai-cost__label{grid-column:1;grid-row:1;align-self:center;white-space:nowrap}
.page-ynews .front-ai-cost__index{grid-column:2;grid-row:1;align-self:center;justify-self:end;font-size:18px;line-height:1}
.page-ynews .front-ai-cost__level{grid-column:1/-1;grid-row:2;justify-self:center;min-width:92px;min-height:31px;font-size:16px}
.page-ynews .front-ai-cost__change{grid-column:3;grid-row:1;align-self:center;justify-self:start;min-width:0;white-space:nowrap;text-align:left;font-size:13px}
@media(max-width:760px){
  .page-ynews .front-ai-cost__current{grid-template-columns:max-content max-content;grid-template-rows:auto auto auto;justify-content:center;column-gap:6px;row-gap:5px}
  .page-ynews .front-ai-cost__label{grid-column:1/-1;grid-row:1;font-size:11px}
  .page-ynews .front-ai-cost__index{grid-column:1;grid-row:2;justify-self:end;font-size:15px}
  .page-ynews .front-ai-cost__change{grid-column:2;grid-row:2;justify-self:start;font-size:9px}
  .page-ynews .front-ai-cost__level{grid-column:1/-1;grid-row:3}
  .page-ynews .front-ai-cost__level{min-width:76px;min-height:26px;font-size:13px}
}

/* Information order: heading, judgement, then current value and change. */
.page-ynews .front-ai-cost__current{grid-template-columns:max-content max-content;grid-template-rows:auto auto auto;justify-content:center;align-content:center;column-gap:8px;row-gap:7px}
.page-ynews .front-ai-cost__label{grid-column:1/-1;grid-row:1;justify-self:center}
.page-ynews .front-ai-cost__level{grid-column:1/-1;grid-row:2;justify-self:center}
.page-ynews .front-ai-cost__index{grid-column:1;grid-row:3;justify-self:end}
.page-ynews .front-ai-cost__change{grid-column:2;grid-row:3;justify-self:start}
@media(max-width:760px){
  .page-ynews .front-ai-cost__current{column-gap:6px;row-gap:5px}
  .page-ynews .front-ai-cost__label{grid-row:1}
  .page-ynews .front-ai-cost__level{grid-row:2}
  .page-ynews .front-ai-cost__index,.page-ynews .front-ai-cost__change{grid-row:3}
}

/* Stronger status colours, darker provider logos, and fuller chart height. */
.page-ynews .front-ai-cost__level[data-level=normal]{background:#169b62;color:#fff}
.page-ynews .front-ai-cost__level[data-level=cheap]{background:#1976c9;color:#fff}
.page-ynews .front-ai-cost__level[data-level=expensive]{background:#d43b4d;color:#fff}
.page-ynews .front-ai-cost__level[data-level=unknown]{background:#7b8491;color:#fff}
.page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__logo{filter:brightness(0) saturate(100%) invert(48%);opacity:.96}
html.theme-night .page-ynews .front-ai-cost__provider-track .front-ai-cost-provider__logo{filter:brightness(0) saturate(100%) invert(74%);opacity:1}
.page-ynews .front-ai-cost__chart{height:68px}
@media(max-width:760px){.page-ynews .front-ai-cost__chart{height:55px}}

/* Reversible compact experiment: mini chart | judgement | current value. */
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{
  grid-column:2;
  grid-row:1;
  align-self:stretch;
  padding:6px 8px;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current{
  grid-column:3;
  grid-row:1;
  display:grid;
  grid-template-columns:minmax(118px,1.35fr) minmax(88px,1fr);
  grid-template-rows:1fr;
  align-items:center;
  gap:7px;
  height:auto;
  min-height:0;
  padding:6px 8px;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current-heading{display:contents}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__label{display:none}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__level{
  grid-column:1;
  grid-row:1;
  justify-self:stretch;
  min-width:0;
  min-height:25px;
  padding:3px 6px;
  font-size:clamp(9px,1.05vw,12px);
  line-height:1;
  white-space:nowrap;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index-row{
  grid-column:2;
  grid-row:1;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:3px;
  min-width:0;
  margin:0;
  white-space:nowrap;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index{position:static;font-size:17px;line-height:1}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__change{
  position:static;
  overflow:hidden;
  min-width:0;
  font-size:8px;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__meaning,
.page-ynews .front-ai-cost--compact-current .front-ai-cost__fx{display:none}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head{margin-bottom:1px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head strong{font-size:11px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head span{font-size:7px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart{height:34px}
@media(max-width:760px){
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{grid-column:1;grid-row:2;padding:5px 6px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__current{grid-column:2;grid-row:2;grid-template-columns:minmax(102px,1.35fr) minmax(72px,1fr);gap:4px;padding:5px 6px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__level{min-height:23px;padding:3px 4px;font-size:clamp(8px,2vw,10px)}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__index{font-size:14px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__change{font-size:7px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head strong{font-size:9px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart{height:30px}
}

/* Desktop balance: title 30% | chart 40% | judgement 30%. */
@media(min-width:761px){
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__panel{
    grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,3fr);
  }
}

/* Mobile keeps the same 30 | 40 | 30 balance in one compact row. */
@media(max-width:760px){
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__panel{
    grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,3fr);
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header{
    grid-column:1;
    grid-row:1;
    display:flex;
    min-height:68px;
    padding:6px 4px;
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    text-align:center;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__eyebrow{display:none}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2{
    justify-content:center;
    gap:2px;
    font-size:11px;
    line-height:1.15;
    white-space:normal;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2 i{font-size:12px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action{
    position:static;
    display:block;
    width:100%;
    margin-top:5px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__details-button{
    width:100%;
    min-width:0;
    padding:3px 2px;
    font-size:7px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{
    grid-column:2;
    grid-row:1;
    min-height:68px;
    padding:5px 5px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head{gap:2px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head strong{font-size:8px;white-space:nowrap}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head span{font-size:6px;white-space:nowrap}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart{height:38px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__current{
    grid-column:3;
    grid-row:1;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto;
    min-height:68px;
    gap:3px;
    padding:5px 4px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__level{
    grid-column:1;
    grid-row:1;
    width:100%;
    min-height:23px;
    padding:3px 2px;
    font-size:9px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__index-row{
    grid-column:1;
    grid-row:2;
    gap:2px;
    width:100%;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__index{font-size:14px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__change{max-width:54px;font-size:7px}
  .page-ynews .front-ai-cost__provider-board>.front-ai-cost__comparison-condition{
    display:flex;
    gap:3px;
    align-items:baseline;
    margin-top:6px;
    font-size:8px;
    white-space:nowrap;
  }
}

/* Final order: index | judgement | chart. Keep this block last. */
.page-ynews .front-ai-cost--compact-current .front-ai-cost__panel{grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,3fr)}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header{grid-column:1/-1;grid-row:1;display:flex;min-height:0;padding:9px 14px;flex-direction:row;align-items:center;justify-content:space-between;text-align:left}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2{justify-content:flex-start;font-size:20px;white-space:nowrap}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__eyebrow{display:block;margin-bottom:1px;font-size:8px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current{grid-column:1;grid-row:2;display:flex;min-height:58px;padding:4px 6px;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-left:0}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current-heading{display:block;width:auto}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__label{display:block;font-size:9px;text-align:center}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index-row{display:flex;width:auto;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index{font-size:25px;text-align:center}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__change{max-width:none;font-size:9px;text-align:center}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement{grid-column:2;grid-row:2;display:grid;min-width:0;min-height:58px;padding:4px 6px;border-left:1px solid #dce3ed;place-items:center}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement .front-ai-cost__level{position:static;grid-column:auto;grid-row:auto;align-self:center;justify-self:center;width:min(150px,88%);min-height:32px;margin:0;padding:4px 8px;border-radius:6px;font-size:18px;text-align:center}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{grid-column:3;grid-row:2;min-height:58px;padding:4px 6px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head{gap:2px}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head strong{font-size:9px;white-space:nowrap}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head span{font-size:6px;white-space:nowrap}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart{height:34px}
.page-ynews .front-ai-cost__provider-board{min-width:0}
.page-ynews .front-ai-cost__provider-footer{position:relative;z-index:31;display:flex;width:100%;min-width:0;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.page-ynews .front-ai-cost__provider-footer .front-ai-cost__comparison-condition{overflow:hidden;flex:1 1 auto;min-width:0;margin:0;text-overflow:ellipsis;white-space:nowrap}
.page-ynews .front-ai-cost__provider-footer .front-ai-cost__details-button{flex:0 0 auto;align-self:auto;margin:0}
html.theme-night .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement{border-color:#343c48;background:#171b21}
@media(max-width:760px){
  .page-ynews .front-ai-cost.front-ai-cost--compact-current{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow:hidden}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__panel{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header>div{min-width:0}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header{padding:7px 9px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2{font-size:16px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header h2 i{font-size:16px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__eyebrow{display:block;font-size:7px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__current,.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement,.page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{min-height:54px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__current{padding:3px 2px;gap:1px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__label{font-size:7px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__index{font-size:18px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__change{font-size:6px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement{padding:3px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement .front-ai-cost__level{width:88%;min-height:26px;padding:3px;border-radius:6px;font-size:11px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-card{padding:3px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head strong{font-size:7px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart-head span{font-size:5px}
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__chart{height:31px}
  .page-ynews .front-ai-cost__provider-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;margin-top:5px}
  .page-ynews .front-ai-cost__provider-footer .front-ai-cost__comparison-condition{font-size:7px;white-space:nowrap}
  .page-ynews .front-ai-cost__provider-footer .front-ai-cost__details-button{position:static;display:inline-flex;grid-column:2;grid-row:1;min-width:0;padding:4px 8px;font-size:8px}
}

/* Absolute final alignment: index | judgement | chart. Older experiments must not override this. */
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

/* Keep the detail link and comparison condition in the title block, right aligned. */
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header{
  position:relative;
  padding-right:220px;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action{
  position:absolute;
  top:7px;
  bottom:6px;
  right:14px;
  display:flex;
  width:auto;
  margin:0;
  flex-direction:column;
  align-items:flex-end;
  gap:0;
  transform:none;
  text-align:right;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__details-button{
  align-self:flex-end;
  width:auto!important;
  min-width:0;
  margin:0;
  padding:6px 10px 6px 12px;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__comparison-condition{
  display:flex;
  width:auto;
  margin:auto 0 0;
  flex-direction:row;
  align-items:baseline;
  justify-content:flex-end;
  gap:2px;
  color:#7f8999;
  font-size:7px;
  line-height:1.15;
  white-space:nowrap;
  text-align:right;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__comparison-condition span,
.page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__comparison-condition strong{
  font-size:7px;
  letter-spacing:0;
}
@media(max-width:760px){
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header{
    padding-right:158px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action{
    top:6px;
    bottom:6px;
    right:9px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__details-button{
    width:auto!important;
    min-width:0;
    padding:4px 7px 4px 9px;
    font-size:8px;
  }
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__comparison-condition,
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__comparison-condition span,
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__header-action .front-ai-cost__comparison-condition strong{
    font-size:6px;
  }
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__current-heading,
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index-row{
  display:flex!important;
  width:100%!important;
  margin:0 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__index,
.page-ynews .front-ai-cost--compact-current .front-ai-cost__change{
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:0 auto!important;
  justify-self:center!important;
  text-align:center!important;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement{
  grid-template-rows:auto auto!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
  text-align:center!important;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement-label{
  display:block;
  align-self:end;
  justify-self:center;
  margin:0 0 2px;
  color:#18243a;
  font-size:10px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.04em;
  text-align:center;
  white-space:nowrap;
}
.page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement .front-ai-cost__level{
  position:static!important;
  grid-column:auto!important;
  grid-row:auto!important;
  align-self:center!important;
  justify-self:center!important;
  margin:0 auto!important;
  text-align:center!important;
}
@media(max-width:760px){
  .page-ynews .front-ai-cost--compact-current .front-ai-cost__judgement-label{
    margin-bottom:2px;
    font-size:8px;
  }
}
