/* Home card title design v1: typography only; retain legacy title row geometry. */
.xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action {
    height: 20.5px; /* Existing 14px * 1.25 line + 1px/2px margins. */
}
.xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action > h3 {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html:not([data-theme="light"]) .xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action > h3 {
    color: #f4edd9;
}
/* Preserve the existing high-contrast text color of light themes. */
@media screen and (max-width: 720px) {
    .xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action > h3 { font-size: 18px; }
}
@media screen and (max-width: 414px) {
    .xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action { height: 22.3px; }
}
/* Mirror only the row sizes of the existing portrait layout guards. */
@media screen and (orientation: portrait) and (min-aspect-ratio: 9/17) and (max-aspect-ratio: 9/15) {
    .xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action { height: clamp(13.92px, 2.32vw, 20.88px); }
    .xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action > h3 { font-size: 18px; }
}
@media screen and (orientation: portrait) and (min-width: 760px) and (max-width: 820px) and (min-height: 1200px) and (max-height: 1500px) and (min-aspect-ratio: 1/2) and (max-aspect-ratio: 2/3) {
    .xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action { height: clamp(13.92px, 1.972vw, 18.56px); }
}
@media screen and (max-width: 414px) and (orientation: portrait) and (min-aspect-ratio: 9/17) and (max-aspect-ratio: 9/15) {
 .xl-home .xl-tool-card .xl-tool-copy .xl-tool-title-action > h3 { font-size: 16px; }
}
