body.lrg-renewed {
    --lrg-line: #dce6ef;
    --lrg-ink: #172d48;
    --lrg-muted: #47617c;
    background: #f0f5fa;
}

.lrg-renewed .lrg-title { padding-block: clamp(1.65rem, 3.5vw, 2.5rem); }
.lrg-renewed .lrg-title h1 { font-size: clamp(1.64rem, 3.5vw, 2.75rem); }
.lrg-title-art { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 1.45rem); }
.lrg-hero-cover {
    flex: 0 0 clamp(58px, 11vw, 96px);
    inline-size: clamp(58px, 11vw, 96px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #ffffff69;
    border-radius: 8px;
    background: #245081;
}
.lrg-renewed .lrg-hero-cover > img,
.lrg-renewed .lrg-tiles .lrg-tile-art > img {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    max-inline-size: none;
    max-block-size: none;
    object-fit: cover;
    object-position: 50% 48%;
}
.lrg-renewed .lrg-hero-cover > .lrg-art-langrisser-ii-md,
.lrg-renewed .lrg-tiles .lrg-tile-art > .lrg-art-langrisser-ii-md { object-position: 50% 24%; }
.lrg-renewed .lrg-hero-cover > .lrg-art-langrisser-v,
.lrg-renewed .lrg-tiles .lrg-tile-art > .lrg-art-langrisser-v { object-position: 36% 50%; }
.lrg-renewed .lrg-tile-art {
    --lrg-icon-size: 50px;
    inline-size: var(--lrg-icon-size);
    block-size: var(--lrg-icon-size);
    flex: 0 0 var(--lrg-icon-size);
    border-radius: 6px;
}
.lrg-renewed .lrg-tile-copy strong { color: #124b85; }
.lrg-renewed .lrg-tile-copy small { color: var(--lrg-muted); }

.lrg-renewed .lrg-overview .lrg-content {
    padding: 0;
    background: transparent;
    border: 0;
}
.lrg-renewed .lrg-overview .lrg-content > :not(.lrg-chapters) { max-width: none; margin-inline: 0; }
.lrg-renewed .lrg-overview .lrg-content > .lrg-chapters + * { margin-top: 1.25rem; }
.lrg-renewed .lrg-chapters {
    padding: 1.15rem clamp(.9rem, 4vw, 1.7rem) 1.35rem;
    border: 1px solid var(--lrg-line);
    border-radius: 8px;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem 2rem;
}
.lrg-renewed .lrg-chapters-head, .lrg-renewed .lrg-chapters > .lrg-empty { grid-column: 1 / -1; }
.lrg-renewed .lrg-chapters-head { padding-bottom:.75rem; }
.lrg-renewed .lrg-chapter-group { margin: 0; min-width: 0; }
.lrg-renewed .lrg-chapter-group :is(h3, summary) {
    padding: .6rem 0;
    margin: 0;
    font-size: .96rem;
    font-weight: 660;
    color: #1c3855;
    border-bottom: 1px solid #dce6ef;
}
.lrg-renewed .lrg-chapter-group summary { cursor: pointer; }
.lrg-renewed .lrg-chapter-group summary span { margin-inline-start: .4rem; color: #58708a; font-size: .83em; font-weight: 500; }
.lrg-renewed .lrg-chapter-group ul { display: block; }
.lrg-renewed .lrg-chapter-group li a { font-size: .92rem; padding: .58rem .1rem; }
.lrg-renewed .lrg-chapter-group li { border-bottom-color: #eef2f7; }
.lrg-renewed .lrg-chapter-group li span { padding-inline-end: .15rem; }
.lrg-section-copy {
    min-width: 0;
    padding: clamp(1rem, 4vw, 2.15rem);
    background: #fff;
    border: 1px solid var(--lrg-line);
    border-radius: 8px;
}
.lrg-section-copy > :is(p, h2, h3, ul, ol, .wp-block-image, .lrg-prose-group) {
    max-width: 770px;
    margin-inline: auto !important;
}
.lrg-section-copy > :first-child { margin-top: 0 !important; }
.lrg-renewed .lrg-reading { column-gap: clamp(1rem, 3vw, 2.35rem); }
.lrg-renewed .lrg-reading .lrg-content {
    padding: clamp(1rem, 4.3vw, 2.45rem);
    line-height: 1.72;
}
.lrg-renewed .lrg-reading .lrg-content > :first-child { margin-top: 0; }
.lrg-renewed .lrg-content h2:not(.lrg-chapters h2) { margin: 1.9em 0 .58em; font-size: 1.43rem; }
.lrg-renewed .lrg-content h2[id] { scroll-margin-top: 4rem; }
.lrg-renewed .lrg-content .wp-block-image {
    border: 0;
    margin-block: 1.2rem;
}
.lrg-renewed .lrg-content .wp-block-image img {
    height: auto;
    vertical-align: middle;
    object-fit: contain;
    border-radius: 3px;
}
.lrg-prose-group {
    margin-block: 1rem 1.9rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--lrg-line);
}
.lrg-renewed .lrg-content .lrg-prose-group > h2:first-child { margin-top: 0; }
.lrg-prose-group .wp-block-image { max-width: 780px; }
.lrg-picture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr));
    align-items: start;
    gap: .8rem;
    margin-block: 1.2rem;
}
.lrg-renewed .lrg-picture-grid > .wp-block-image { margin: 0; }
.lrg-renewed .lrg-picture-grid img { width: 100%; max-height: 230px; }
.lrg-content .lrg-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.1rem;
    padding: .55rem 0;
    list-style: none;
    border-bottom: 1px solid var(--lrg-line);
    font-size: .91rem;
}
.lrg-content .lrg-battle-notes {
    padding: .7rem 1rem .7rem 2rem;
    margin: .8rem 0;
    border-inline-start: 3px solid #8eb7d9;
    background: #f3f8fc;
}
.lrg-credits {
    margin: 1.4rem 0 0;
    padding: .8rem 0 0;
    color: #546d87;
    border-top: 1px solid #e2ebf2;
    font-size: .81rem;
    line-height: 1.55;
}
.lrg-renewed .lrg-credits p { margin: .15rem 0 .4rem; }
.lrg-renewed .lrg-source { margin-top: 1rem !important; }

.lrg-renewed .lrg-side {
    position: sticky;
    top: 44px;
    background: transparent;
    border: 0;
}
.lrg-renewed .lrg-side-title {
    border-bottom: 1px solid #d6e2ed;
    padding: .35rem 0 .8rem;
    margin-bottom: .6rem;
}
.lrg-renewed .lrg-side :is(.lrg-on-page, .lrg-side-details) { padding-block: .2rem; }
.lrg-renewed .lrg-side .lrg-side-details summary,
.lrg-renewed .lrg-on-page p {
    padding: .3rem 0;
    margin: 0 0 .18rem;
    color: #38546e;
    font-size: .9rem;
    font-weight: 700;
}
.lrg-renewed .lrg-side ul { padding-inline: 0; max-height: 46vh; }
.lrg-renewed .lrg-side li a { padding: .35rem .46rem; line-height: 1.4; }
.lrg-renewed .lrg-on-page { padding-bottom: .65rem !important; border-bottom: 1px solid #d6e2ed; margin-bottom: .45rem; }

.lrg-renewed .lrg-content .wp-block-table {
    margin-block: 1.25rem 1.6rem;
    border: 1px solid var(--lrg-line);
    border-radius: 5px;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
    overflow-x: auto;
}
.lrg-renewed .wp-block-table:focus-visible { outline: 2px solid #2477b4; outline-offset: 3px; }
.lrg-renewed .lrg-content .wp-block-table table {
    min-width: 100%;
    margin: 0;
    font-size: .91rem;
    line-height: 1.52;
    color: var(--lrg-ink);
    border: 0;
}
.lrg-renewed .lrg-content .lrg-wide table { min-width: 36rem; }
.lrg-renewed .lrg-content .wp-block-table :is(td,th) {
    min-width: 3.25rem;
    padding: .57rem .72rem;
    border: 0;
    border-bottom: 1px solid #e5edf4;
    overflow-wrap: anywhere;
    vertical-align: top;
}
.lrg-renewed .lrg-content .wp-block-table :is(td,th):last-child { min-width: 6rem; }
.lrg-renewed .lrg-content .wp-block-table tbody tr:last-child > * { border-bottom: 0; }
.lrg-renewed .lrg-content .wp-block-table thead th { background: #e7f1f9; color: #193f64; text-align: start; }
.lrg-renewed .lrg-content .wp-block-table tbody th {
    text-align: start;
    color: #294c6f;
    background: #f4f8fc;
}
.lrg-renewed .lrg-content .lrg-facts tbody th { width: 24%; }
.lrg-renewed .lrg-content .wp-block-table td { background: #fff; }
.lrg-renewed .lrg-content .wp-block-table tr:nth-child(even) td { background: #f8fafd; }
.lrg-renewed .lrg-content .wp-block-table :is(td,th) img { max-width: min(100%, 112px); }

@media (max-width: 760px) {
    .lrg-renewed .lrg-side { position: static; border: 1px solid #dbe5ee; padding: .3rem .7rem; border-radius: 7px; }
    .lrg-renewed .lrg-side .lrg-on-page ul { display: flex; flex-wrap: wrap; gap: .3rem; max-height: 7.5rem; }
    .lrg-renewed .lrg-side .lrg-on-page li a { background:#e7f0f8; }
    .lrg-renewed .lrg-side .lrg-on-page { padding-bottom: .35rem !important; }
    .lrg-renewed .lrg-content .lrg-comparison table { min-width: 27rem; }
}
@media (max-width: 530px) {
    .lrg-renewed .lrg-tile-art { --lrg-icon-size: 38px; }
    .lrg-renewed .lrg-chapters { grid-template-columns: minmax(0,1fr); gap: .6rem; }
    .lrg-renewed .lrg-content .wp-block-table :is(td,th) { padding: .48rem .52rem; }
    .lrg-renewed .lrg-content .lrg-facts tbody th { min-width: 5.35rem; }
}

.lrg-new-layout .lrg-tiles {grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,24px)}
.lrg-new-layout .lrg-tiles a {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;gap:0;padding:0;overflow:hidden;border-radius:9px;box-sizing:border-box}
.lrg-new-layout .lrg-tiles .lrg-tile-art {grid-column:1/-1;width:100%;height:auto;aspect-ratio:16/9;border-radius:0;background:#dbe9f3;border-bottom:1px solid #d1e0ec}
.lrg-new-layout .lrg-tiles .lrg-tile-art img {width:100%;height:100%;object-fit:contain;object-position:center}
.lrg-new-layout .lrg-tiles .lrg-tile-copy {padding:.85rem .3rem .95rem 1rem;align-self:center}
.lrg-new-layout .lrg-tiles .lrg-tile-copy strong {font-size:1.04rem;line-height:1.38}
.lrg-new-layout .lrg-tiles .lrg-tile-copy small {font-size:.79rem}
.lrg-new-layout .lrg-arrow {padding:0 1rem;align-self:center}
.lrg-new-layout .lrg-collection {margin-top:clamp(24px,4vw,43px)}
.lrg-new-layout .lrg-chapter-group li a {display:block}
.lrg-new-layout .lrg-reading .lrg-content {max-inline-size:100%;box-sizing:border-box}
.lrg-new-layout .lrg-content .wp-block-table {max-inline-size:100%;margin-inline:0}
.lrg-new-layout .lrg-content .wp-block-table p {margin:0 0 .55em}
.lrg-new-layout .lrg-content .wp-block-table p:last-child {margin-bottom:0}
.lrg-new-layout .lrg-content .lrg-facts th {width:clamp(5.2rem,25%,12rem)}
.lrg-new-layout .lrg-content .wp-block-table a {text-decoration-skip-ink:auto}
.lrg-new-layout .lrg-content :is(.wp-block-image,.wp-block-video) img {max-width:100%}
.lrg-new-layout .lrg-content figure.alignwide,.lrg-new-layout .lrg-content figure.alignfull {width:auto;max-width:100%;margin-inline:0}
@media (max-width:780px) {
    .lrg-new-layout .lrg-tiles {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:465px) {
    .lrg-new-layout .lrg-tiles {grid-template-columns:minmax(0,1fr)}
    .lrg-new-layout .lrg-tiles .lrg-tile-art {aspect-ratio:16/8.5}
}
.lrg-new-layout #lrg-mobile .lrg-tiles {grid-template-columns:minmax(0,1fr)}
.lrg-new-layout #lrg-mobile .lrg-tiles a {grid-template-columns:minmax(110px,31%) minmax(0,1fr) auto;grid-template-rows:1fr;max-width:650px}
.lrg-new-layout #lrg-mobile .lrg-tile-art {grid-column:auto;aspect-ratio:16/8.9;border-bottom:0}
.lrg-new-layout #lrg-mobile .lrg-tile-copy {padding-block:1rem}
