/* GUIDE V6 PRO — unified guide/news/media system */
/* Lục Địa Xưa Guide V5 — unified with public website */
:root {
    --g5-bg: #0a0a0c;
    --g5-panel: #121218;
    --g5-panel-2: #18181f;
    --g5-line: rgba(232,197,106,.22);
    --g5-line-soft: rgba(255,255,255,.08);
    --g5-gold: #e8c56a;
    --g5-gold-2: #f5e6b0;
    --g5-text: #f0eee8;
    --g5-muted: #9a968c;
    --g5-radius: 8px;
    --g5-shadow: 0 20px 55px rgba(0,0,0,.28);
}
.guide-v5 {
    margin: 0;
    background: radial-gradient(900px 420px at 50% 0,rgba(232,197,106,.055),transparent 68%),var(--g5-bg);
    color: var(--g5-text);
    font-family: 'Be Vietnam Pro','Segoe UI',Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.guide-v5 * {
    box-sizing: border-box;
}
.guide-v5 img {
    display: block;
    max-width: 100%;
}
.guide-v5 a {
    color: inherit;
}
.guide-embed {
    min-height: 100vh;
    overflow: auto;
}
.g5-shell {
    width: min(1180px,calc(100% - 28px));
    margin: 0 auto;
    padding: calc(var(--nav-h,70px) + 24px) 0 54px;
}
.guide-embed .g5-shell {
    width: min(1180px,calc(100% - 16px));
    padding: 8px 0 20px;
}
.g5-topbar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 9px 11px;
    border: 1px solid var(--g5-line);
    border-radius: var(--g5-radius);
    background: rgba(15,15,19,.96);
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.guide-embed .g5-topbar {
    position: sticky;
    top: 6px;
    z-index: 20;
    backdrop-filter: blur(12px);
}
.g5-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 224px;
    text-decoration: none;
}
.g5-brand img {
    width: 56px;
    height: 42px;
    object-fit: contain;
}
.g5-brand b {
    display: block;
    color: var(--g5-gold-2);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}
.g5-brand small {
    display: block;
    margin-top: 3px;
    color: #76746e;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}
.g5-tabs {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 3px;
    justify-content: flex-end;
}
.g5-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #aaa79f;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: .18s ease;
}
.g5-tabs a:hover {
    color: var(--g5-gold-2);
    background: rgba(232,197,106,.07);
}
.g5-tabs a.is-on {
    color: #211a09;
    background: linear-gradient(180deg,#f5e6b0,#d7ad4e);
    border-color: #e9ca7b;
}
.g5-close {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(232,197,106,.28);
    border-radius: 6px;
    background: #17140e;
    color: #edce82;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.g5-pagehead {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 2px 17px;
}
.g5-pagehead>div>span,.g5-article-head>span,.g5-equip-head span,.g5-upgrade-copy>span,.g5-boss-copy>span {
    display: block;
    color: var(--g5-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.g5-pagehead h1 {
    margin: 5px 0 3px;
    color: #f4f1e9;
    font-size: clamp(24px,3vw,34px);
    font-weight: 800;
    line-height: 1.15;
}
.g5-pagehead p {
    margin: 0;
    color: var(--g5-muted);
    font-size: 12px;
    line-height: 1.55;
}
.g5-search {
    display: flex;
    width: min(340px,100%);
}
.g5-search input {
    min-width: 0;
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #35343a;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: #0d0d11;
    color: #fff;
    font: 500 12px/1.2 inherit;
    outline: none;
}
.g5-search input:focus {
    border-color: #806b3b;
}
.g5-search button {
    height: 40px;
    padding: 0 15px;
    border: 1px solid #a88439;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(180deg,#e8c56a,#b4872d);
    color: #201707;
    font-weight: 800;
}
/* shared news-like composition */
.g5-news-layout {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr);
    gap: 14px;
    align-items: start;
}
.g5-list-panel,.g5-article,.g5-panel {
    border: 1px solid var(--g5-line-soft);
    border-top-color: var(--g5-line);
    border-radius: var(--g5-radius);
    background: linear-gradient(145deg,rgba(20,20,26,.98),rgba(10,10,14,.98));
    box-shadow: var(--g5-shadow);
}
.g5-list-panel {
    padding: 8px;
    max-height: calc(100vh - 168px);
    overflow: auto;
    position: sticky;
    top: 88px;
}
.guide-embed .g5-list-panel {
    top: 60px;
}
.g5-list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 8px 11px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.g5-list-title b {
    font-size: 11px;
    color: #e5d5ad;
}
.g5-list-title span {
    font-size: 9px;
    color: #74716a;
}
.g5-guide-row,.g5-content-row {
    display: grid;
    align-items: center;
    gap: 10px;
    margin: 3px 0;
    padding: 9px;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    transition: .16s ease;
}
.g5-guide-row {
    grid-template-columns: 34px 1fr;
}
.g5-guide-row:hover,.g5-guide-row.is-on,.g5-content-row:hover,.g5-content-row.is-on {
    background: rgba(232,197,106,.065);
    border-color: rgba(232,197,106,.22);
}
.g5-row-no {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #343139;
    border-radius: 5px;
    background: #0a0a0d;
    color: #a58a4e;
    font-size: 9px;
    font-weight: 800;
}
.g5-row-copy,.g5-content-row>span:last-child {
    min-width: 0;
}
.g5-row-copy b,.g5-content-row b {
    display: block;
    color: #ddd9d0;
    font-size: 11px;
    line-height: 1.4;
}
.g5-row-copy small,.g5-content-row small {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    color: #77746e;
    font-size: 9px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.g5-guide-row.is-on b,.g5-content-row.is-on b {
    color: var(--g5-gold-2);
}
.g5-content-row {
    grid-template-columns: 76px 1fr;
}
.g5-thumb {
    display: grid;
    place-items: center;
    width: 76px;
    height: 54px;
    overflow: hidden;
    border: 1px solid #302f34;
    border-radius: 5px;
    background: #08080b;
}
.g5-thumb img {
    width: 100%;
    height: 100%;
    padding: 2px;
    object-fit: contain;
    object-position: center;
}
.g5-thumb i {
    color: #665b42;
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
}
.g5-article {
    min-width: 0;
    padding: 22px;
}
.g5-article-head {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.g5-article-head h2,.g5-upgrade-copy h2,.g5-boss-copy h2 {
    margin: 5px 0 6px;
    color: #f3efe6;
    font-size: clamp(22px,2.6vw,31px);
    font-weight: 800;
    line-height: 1.2;
}
.g5-article-head p,.g5-upgrade-copy p,.g5-boss-copy p {
    margin: 0;
    color: #a6a198;
    font-size: 12px;
    line-height: 1.65;
}
.g5-date {
    display: block;
    margin: 3px 0 8px;
    color: #77736a;
    font-size: 10px;
}
.g5-section {
    margin-top: 18px;
}
.g5-section h3 {
    margin: 0 0 10px;
    color: #ddc27f;
    font-size: 12px;
    font-weight: 800;
}
.g5-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.g5-section-head span {
    color: #77746f;
    font-size: 9px;
}
.g5-key-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
}
.g5-key-grid>div {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 7px;
    align-items: start;
    padding: 9px 10px;
    border: 1px solid #29282e;
    border-radius: 6px;
    background: #0d0d11;
}
.g5-key-grid i {
    color: #d9b659;
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
}
.g5-key-grid span {
    color: #c7c2b9;
    font-size: 11px;
    line-height: 1.5;
}
.g5-step-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.g5-step-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 9px;
    align-items: start;
    padding: 9px 10px;
    border: 1px solid #29282e;
    border-radius: 6px;
    background: #0d0d11;
}
.g5-step-list li>b {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #211a0e;
    color: #e6bf62;
    font-size: 10px;
}
.g5-step-list li>span {
    color: #c3beb6;
    font-size: 11px;
    line-height: 1.52;
}
.g5-step-list li strong {
    display: block;
    color: #e7e2d9;
    font-size: 11px;
}
.g5-step-list li small {
    display: block;
    margin-top: 3px;
    color: #8d8982;
    font-size: 10px;
    line-height: 1.5;
}
.g5-step-list--event {
    grid-template-columns: 1fr 1fr;
}
.g5-command-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
}
.g5-command-grid>div {
    display: grid;
    grid-template-columns: minmax(95px,auto) 1fr;
    gap: 9px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #29282e;
    border-radius: 6px;
    background: #0d0d11;
}
.g5-command-grid code {
    color: #e7c56c;
    font: 700 10px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;
    word-break: break-word;
}
.g5-command-grid span {
    color: #aaa59d;
    font-size: 10px;
    line-height: 1.45;
}
.g5-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 10px 12px;
    border-left: 3px solid #b88d34;
    background: #17140e;
    border-radius: 0 6px 6px 0;
}
.g5-note b {
    flex: 0 0 auto;
    color: #e6c979;
    font-size: 10px;
}
.g5-note span {
    color: #bcb7ae;
    font-size: 10px;
    line-height: 1.55;
}
.g5-more {
    display: inline-block;
    margin-top: 15px;
    color: #dfbb61;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}
/* equipment — compact cards, larger item art */
.g5-panel {
    padding: 18px;
}
.g5-filter-block {
    display: grid;
    grid-template-columns: 105px minmax(0,1fr);
    gap: 9px 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.g5-filter-label {
    display: flex;
    align-items: center;
    color: #8e897f;
    font-size: 10px;
    font-weight: 700;
}
.g5-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.g5-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 10px;
    border: 1px solid #343239;
    border-radius: 5px;
    background: #0d0d11;
    color: #aaa59d;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}
.g5-pills a:hover,.g5-pills a.is-on {
    border-color: #8d7136;
    background: #201a0d;
    color: #edcf82;
}
.g5-pills a.is-on {
    box-shadow: inset 0 0 0 1px rgba(232,197,106,.08);
}
.g5-equip-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0 5px;
}
.g5-equip-head h2 {
    margin: 4px 0 3px;
    color: #f2eee5;
    font-size: 23px;
    font-weight: 800;
}
.g5-equip-head p {
    margin: 0;
    color: #8f8a82;
    font-size: 10px;
    line-height: 1.5;
}
.g5-equip-head>strong {
    flex: 0 0 auto;
    color: #a99059;
    font-size: 10px;
    font-weight: 700;
}
.g5-item-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px;
    margin-top: 12px;
}
.g5-item-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #28272d;
    border-radius: 6px;
    background: #0d0d11;
    transition: .16s ease;
}
.g5-item-card:hover {
    border-color: rgba(232,197,106,.36);
    transform: translateY(-2px);
}
.g5-item-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1/1;
    background: radial-gradient(circle at 50% 42%,#202029 0,#0a0a0d 69%);
    overflow: hidden;
}
.g5-item-media img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
    object-position: center;
    transform: scale(1.08);
}
.g5-item-copy {
    padding: 7px 8px 8px;
}
.g5-item-copy h3 {
    min-height: 29px;
    margin: 0;
    color: #dfdbd3;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.45;
}
.g5-item-copy p {
    margin: 4px 0 0;
    color: #887858;
    font-size: 8px;
    line-height: 1.35;
}
/* recipe */
.g5-upgrade-hero {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 20px;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.g5-target-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1/1;
    overflow: hidden;
    border: 1px solid #2b2a30;
    border-radius: 7px;
    background: radial-gradient(circle,#21212a 0,#09090c 70%);
}
.g5-target-media img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
    object-position: center;
}
.g5-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 7px;
    padding: 7px 10px;
    border: 1px solid #6d552b;
    border-radius: 5px;
    background: #18130b;
    color: #a79670;
    font-size: 10px;
}
.g5-success b {
    color: #f0cd77;
    font-size: 16px;
}
.g5-material-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
}
.g5-material {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 8px;
    align-items: center;
    padding: 7px;
    border: 1px solid #29282e;
    border-radius: 6px;
    background: #0d0d11;
}
.g5-material-media {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 5px;
    background: #08080b;
}
.g5-material-media img {
    width: 100%;
    height: 100%;
    padding: 3px;
    object-fit: contain;
}
.g5-material b {
    display: block;
    color: #d8d3cb;
    font-size: 9px;
    line-height: 1.4;
}
.g5-material strong {
    display: block;
    margin-top: 3px;
    color: #e5bf62;
    font-size: 10px;
}
/* normalized media */
.g5-hero-media {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16/7;
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid #2c2b31;
    border-radius: 7px;
    background: radial-gradient(circle at 50% 50%,#202028 0,#09090c 70%);
}
.g5-hero-media img {
    width: 100%;
    height: 100%;
    padding: 3px;
    object-fit: contain;
    object-position: center;
}
.g5-facts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
    margin-top: 14px;
}
.g5-facts>div {
    padding: 9px 10px;
    border: 1px solid #29282e;
    border-radius: 6px;
    background: #0d0d11;
}
.g5-facts span {
    display: block;
    color: #7f7b74;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.g5-facts b {
    display: block;
    margin-top: 4px;
    color: #dec480;
    font-size: 10px;
    line-height: 1.45;
}
.g5-reward-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
}
.g5-reward-grid>div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid #29282e;
    border-radius: 6px;
    background: #0d0d11;
}
.g5-reward-media {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 5px;
    background: #08080b;
}
.g5-reward-media img {
    width: 100%;
    height: 100%;
    padding: 3px;
    object-fit: contain;
}
.g5-reward-grid b {
    font-size: 10px;
    color: #ddd8d0;
}
.g5-reward-grid small {
    display: block;
    margin-top: 2px;
    color: #7f7b74;
    font-size: 9px;
}
.g5-boss-hero {
    display: grid;
    grid-template-columns: 260px minmax(0,1fr);
    gap: 22px;
    align-items: center;
}
.g5-boss-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1/1;
    overflow: hidden;
    border: 1px solid #2c2b31;
    border-radius: 8px;
    background: radial-gradient(circle,#202129 0,#09090c 70%);
}
.g5-boss-media img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
    object-position: center;
}
.g5-facts--boss {
    grid-template-columns: 1fr;
    margin-top: 13px;
}
.g5-rich {
    margin-top: 16px;
    color: #c7c2b9;
    font-size: 12px;
    line-height: 1.75;
}
.g5-rich h2,.g5-rich h3 {
    margin: 22px 0 9px;
    color: #e0c47c;
    font-family: inherit;
}
.g5-rich p {
    margin: 8px 0;
}
.g5-rich img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    margin: 16px auto;
    padding: 3px;
    border: 1px solid #2d2b31;
    border-radius: 6px;
    background: #09090c;
    object-fit: contain;
}
.g5-rich figure {
    margin: 16px 0;
}
.g5-rich table {
    display: block;
    width: 100%;
    overflow: auto;
    border-collapse: collapse;
}
.g5-rich th,.g5-rich td {
    padding: 8px 10px;
    border: 1px solid #343238;
}
.g5-rich th {
    background: #1a160e;
    color: #e3c474;
}
.g5-rich blockquote {
    margin: 14px 0;
    padding: 10px 12px;
    border-left: 3px solid #b88d34;
    background: #17140e;
}
.g5-empty {
    padding: 18px;
    color: #817d76;
    font-size: 11px;
}
@media(max-width:1120px) {
    .g5-item-grid {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
    .g5-material-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}
@media(max-width:920px) {
    .g5-topbar {
        flex-wrap: wrap;
    }
    .g5-brand {
        min-width: 0;
    }
    .g5-tabs {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        overflow: auto;
    }
    .g5-tabs a {
        flex: 0 0 auto;
    }
    .g5-news-layout {
        grid-template-columns: 260px minmax(0,1fr);
    }
    .g5-item-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
    .g5-upgrade-hero {
        grid-template-columns: 185px minmax(0,1fr);
    }
    .g5-boss-hero {
        grid-template-columns: 220px minmax(0,1fr);
    }
    .g5-material-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media(max-width:760px) {
    .g5-shell {
        width: min(100% - 18px,1180px);
        padding-top: calc(var(--nav-h,70px) + 15px);
    }
    .guide-embed .g5-shell {
        width: min(100% - 10px,1180px);
        padding-top: 5px;
    }
    .g5-pagehead {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding-top: 18px;
    }
    .g5-search {
        width: 100%;
    }
    .g5-news-layout {
        grid-template-columns: 1fr;
    }
    .g5-list-panel {
        position: static;
        display: flex;
        gap: 5px;
        max-height: none;
        overflow: auto;
    }
    .g5-list-title {
        display: none;
    }
    .g5-guide-row,.g5-content-row {
        flex: 0 0 230px;
    }
    .g5-content-row {
        grid-template-columns: 70px 1fr;
    }
    .g5-article {
        padding: 16px;
    }
    .g5-filter-block {
        grid-template-columns: 1fr;
    }
    .g5-filter-label {
        margin-top: 3px;
    }
    .g5-item-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .g5-step-list,.g5-step-list--event,.g5-key-grid,.g5-command-grid {
        grid-template-columns: 1fr;
    }
    .g5-upgrade-hero,.g5-boss-hero {
        grid-template-columns: 1fr;
    }
    .g5-target-media,.g5-boss-media {
        width: min(260px,100%);
        margin: 0 auto;
    }
    .g5-facts {
        grid-template-columns: 1fr 1fr;
    }
    .g5-reward-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .g5-hero-media {
        aspect-ratio: 16/9;
    }
}
@media(max-width:520px) {
    .g5-shell {
        width: min(100% - 12px,1180px);
    }
    .g5-topbar {
        padding: 7px;
    }
    .g5-brand img {
        width: 46px;
        height: 35px;
    }
    .g5-brand b {
        font-size: 12px;
    }
    .g5-brand small {
        font-size: 7px;
    }
    .g5-tabs {
        gap: 3px;
    }
    .g5-tabs a {
        min-height: 34px;
        padding: 0 9px;
        font-size: 9px;
    }
    .g5-close {
        position: absolute;
        right: 7px;
        top: 7px;
    }
    .guide-embed .g5-brand {
        padding-right: 45px;
    }
    .g5-pagehead h1 {
        font-size: 25px;
    }
    .g5-item-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px;
    }
    .g5-item-copy h3 {
        font-size: 9px;
    }
    .g5-material-grid,.g5-reward-grid {
        grid-template-columns: 1fr;
    }
    .g5-facts {
        grid-template-columns: 1fr;
    }
    .g5-article-head h2,.g5-upgrade-copy h2,.g5-boss-copy h2 {
        font-size: 22px;
    }
    .g5-rich table {
        min-width: 520px;
    }
    .g5-guide-row,.g5-content-row {
        flex-basis: 210px;
    }
}
@media(max-width:350px) {
    .g5-item-grid {
        grid-template-columns: 1fr;
    }
}
@media(prefers-reduced-motion:reduce) {
    .guide-v5 * {
        transition: none!important;
        scroll-behavior: auto!important;
    }
}
.g5-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.g5-mini-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid #302e34;
    border-radius: 5px;
    background: #0d0d11;
    color: #aaa59c;
    font-size: 9.5px;
    line-height: 1.4;
}
.g5-rich ul {
    list-style: disc!important;
    padding-left: 1.25rem!important;
}
.g5-rich ol {
    list-style: decimal!important;
    padding-left: 1.4rem!important;
}
.g5-rich li {
    margin: 5px 0;
}
/* V5 readability pass */
.g5-brand small {
    font-size: 9px;
}
.g5-pagehead>div>span,.g5-article-head>span,.g5-equip-head span,.g5-upgrade-copy>span,.g5-boss-copy>span {
    font-size: 10px;
}
.g5-list-title b {
    font-size: 12px;
}
.g5-list-title span {
    font-size: 10px;
}
.g5-row-copy b,.g5-content-row b {
    font-size: 12px;
}
.g5-row-copy small,.g5-content-row small {
    font-size: 10px;
}
.g5-key-grid span {
    font-size: 11.5px;
}
.g5-step-list li>span {
    font-size: 11.5px;
}
.g5-step-list li strong {
    font-size: 11.5px;
}
.g5-step-list li small {
    font-size: 10.5px;
}
.g5-command-grid code,.g5-command-grid span {
    font-size: 10.5px;
}
.g5-equip-head p {
    font-size: 11px;
}
.g5-equip-head>strong {
    font-size: 11px;
}
.g5-item-copy h3 {
    font-size: 10.5px;
}
.g5-item-copy p {
    font-size: 9px;
}
.g5-material b {
    font-size: 10px;
}
.g5-material strong {
    font-size: 11px;
}
.g5-facts span {
    font-size: 9px;
}
.g5-facts b {
    font-size: 11px;
}
.g5-reward-grid b {
    font-size: 10.5px;
}
.g5-reward-grid small {
    font-size: 9.5px;
}
.g5-mini-list span {
    font-size: 10px;
}
/* =========================================================
   GUIDE V6 — catalog/news visual normalization
   ========================================================= */
.guide-v6 {
    margin: 0;
    background: radial-gradient(900px 420px at 50% 0,rgba(232,197,106,.055),transparent 68%),var(--g5-bg);
    color: var(--g5-text);
    font-family: 'Be Vietnam Pro','Segoe UI',Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.guide-v6 * {
    box-sizing: border-box;
}
.guide-v6 img {
    display: block;
    max-width: 100%;
}
.guide-v6 a {
    color: inherit;
}
.guide-v6 .g5-shell {
    width: min(1180px,calc(100% - 32px));
}
.guide-v6 .g5-pagehead {
    padding-top: 20px;
}
.guide-v6 .g5-list-panel,.guide-v6 .g5-article,.guide-v6 .g5-panel {
    background: linear-gradient(150deg,rgba(18,19,24,.985),rgba(9,10,14,.99));
    border-color: rgba(232,197,106,.17);
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.guide-v6 .g5-article {
    padding: 24px;
}
.guide-v6 .g5-article-head {
    padding: 4px 2px 18px;
}
.guide-v6 .g5-article-head h2 {
    font-size: clamp(24px,2.8vw,34px);
    letter-spacing: -.02em;
}
.guide-v6 .g5-section.g6-box-section {
    margin-top: 14px;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.075);
    border-left: 3px solid rgba(218,176,75,.62);
    border-radius: 7px;
    background: linear-gradient(145deg,rgba(22,22,28,.85),rgba(11,11,15,.88));
}
.guide-v6 .g5-section.g6-box-section>h3 {
    margin: 0 0 11px;
    color: #e7c671;
    font-size: 12px;
    letter-spacing: .02em;
}
.guide-v6 .g5-key-grid>div,.guide-v6 .g5-command-grid>div,.guide-v6 .g5-step-list li {
    background: #0d0e12;
    border-color: #292a31;
}
.guide-v6 .g5-guide-row,.guide-v6 .g5-content-row {
    padding: 10px;
}
.guide-v6 .g5-content-row {
    grid-template-columns: 82px minmax(0,1fr);
}
.guide-v6 .g5-thumb {
    width: 82px;
    height: 60px;
    border-color: #34323a;
    background: #08090c;
}
.guide-v6 .g5-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}
.guide-v6 .g5-hero-media {
    aspect-ratio: 16/8;
    max-height: 430px;
    background: #08090c;
}
.guide-v6 .g5-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}
/* Equipment: one category per page, all tiers stacked. */
.g6-category-nav {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}
.g6-category-nav a {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #34333a;
    border-radius: 6px;
    background: #0d0e12;
    color: #aaa69d;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}
.g6-category-nav a:hover,.g6-category-nav a.is-on {
    border-color: #8e7136;
    background: #211a0d;
    color: #f0cf78;
}
.g6-equipment-intro {
    padding: 17px 2px 4px;
}
.g6-equipment-intro span {
    display: block;
    color: #b8933e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}
.g6-equipment-intro h2 {
    margin: 4px 0 4px;
    color: #f1eee6;
    font-size: 25px;
}
.g6-equipment-intro p {
    margin: 0;
    color: #8f8a82;
    font-size: 11px;
    line-height: 1.55;
}
.g6-tier-stack {
    display: grid;
    gap: 14px;
    margin-top: 11px;
}
.g6-tier-section {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 8px;
    background: linear-gradient(145deg,rgba(18,18,23,.92),rgba(9,10,13,.92));
}
.g6-tier-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    padding: 0 1px 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.g6-tier-head span {
    display: block;
    color: #977b42;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.g6-tier-head h3 {
    margin: 2px 0 0;
    color: #e9e5dc;
    font-size: 16px;
}
.g6-tier-head strong {
    color: #9d885b;
    font-size: 9px;
    font-weight: 700;
}
.guide-v6 .g6-item-grid {
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px;
    margin: 0;
}
.guide-v6 .g6-item-card {
    border-color: #27282e;
    border-radius: 6px;
    background: #0b0c10;
    overflow: hidden;
    transform: none!important;
}
.guide-v6 .g6-item-media {
    height: 142px;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: radial-gradient(circle at 50% 45%,#202129 0,#090a0d 67%);
    overflow: hidden;
}
.guide-v6 .g6-item-media img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    max-width: 100%!important;
    max-height: 100%!important;
    padding: 7px!important;
    margin: auto!important;
    object-fit: contain!important;
    object-position: center!important;
    transform: none!important;
    box-sizing: border-box!important;
}
.guide-v6 .g6-item-copy {
    padding: 8px 8px 9px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.05);
}
.guide-v6 .g6-item-copy h3 {
    min-height: 0;
    margin: 0;
    color: #dfdcd4;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 700;
}
/* All visual frames: never crop content. */
.guide-v6 .g5-target-media,.guide-v6 .g5-boss-media,.guide-v6 .g5-material-media,.guide-v6 .g5-reward-media {
    background: radial-gradient(circle at 50% 45%,#1f2028 0,#08090c 70%);
    overflow: hidden;
}
.guide-v6 .g5-target-media img,.guide-v6 .g5-boss-media img,.guide-v6 .g5-material-media img,.guide-v6 .g5-reward-media img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    max-width: 100%!important;
    max-height: 100%!important;
    margin: auto!important;
    padding: 5px!important;
    box-sizing: border-box!important;
    object-fit: contain!important;
    object-position: center!important;
    transform: none!important;
}
.guide-v6 .g5-boss-media {
    min-height: 260px;
}
.guide-v6 .g5-boss-media img {
    padding: 12px!important;
}
.guide-v6 .g5-reward-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 9px;
}
.guide-v6 .g5-reward-grid>div {
    min-height: 82px;
    grid-template-columns: 66px minmax(0,1fr);
    padding: 8px 10px;
}
.guide-v6 .g5-reward-media {
    width: 66px;
    height: 66px;
}
.guide-v6 .g5-reward-grid b {
    font-size: 11px;
    line-height: 1.35;
}
.guide-v6 .g5-reward-grid small {
    font-size: 9.5px;
    line-height: 1.4;
}
.guide-v6 .g5-material-media {
    width: 64px;
    height: 64px;
}
.guide-v6 .g5-material {
    grid-template-columns: 64px minmax(0,1fr);
}
.guide-v6 .g5-boss-hero {
    grid-template-columns: 280px minmax(0,1fr);
    gap: 24px;
}
.guide-v6 .g5-facts>div {
    background: #0d0e12;
}
.guide-v6 .g5-rich img {
    width: auto!important;
    height: auto!important;
    max-width: 100%!important;
    max-height: 560px!important;
    object-fit: contain!important;
}
@media(max-width:1100px) {
    .guide-v6 .g6-item-grid {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
    .guide-v6 .g5-reward-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media(max-width:900px) {
    .guide-v6 .g6-item-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
    .guide-v6 .g5-boss-hero {
        grid-template-columns: 230px minmax(0,1fr);
    }
    .guide-v6 .g6-item-media {
        height: 138px;
    }
}
@media(max-width:700px) {
    .guide-v6 .g5-shell {
        width: min(100% - 16px,1180px);
    }
    .guide-v6 .g5-article {
        padding: 16px;
    }
    .guide-v6 .g6-item-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .guide-v6 .g6-item-media {
        height: 128px;
    }
    .guide-v6 .g5-boss-hero {
        grid-template-columns: 1fr;
    }
    .guide-v6 .g5-boss-media {
        width: min(320px,100%);
        margin: auto;
    }
    .guide-v6 .g5-reward-grid {
        grid-template-columns: 1fr;
    }
}
@media(max-width:480px) {
    .guide-v6 .g6-item-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
    }
    .guide-v6 .g6-item-media {
        height: 120px;
        padding: 8px;
    }
    .guide-v6 .g6-tier-section {
        padding: 10px;
    }
    .guide-v6 .g6-category-nav a {
        flex: 1 1 calc(50% - 7px);
    }
    .guide-v6 .g5-content-row {
        grid-template-columns: 72px minmax(0,1fr);
    }
    .guide-v6 .g5-thumb {
        width: 72px;
        height: 54px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .guide-v6 * {
        transition: none!important;
        scroll-behavior: auto!important;
    }
}
/* =========================================================
   GUIDE V7 — article-first basics, grouped sets, unified item media
   ========================================================= */
.guide-v7 .g7-guide-article {
    padding: 20px 22px 24px;
}
.guide-v7 .g7-guide-hero {
    margin: -4px -2px 18px;
    aspect-ratio: 16/7;
    background: #090a0d;
}
.guide-v7 .g7-guide-hero img {
    width: 100%!important;
    height: 100%!important;
    padding: 0!important;
    object-fit: contain!important;
    object-position: center!important;
    transform: none!important;
}
.guide-v7 .g7-article-block {
    margin-top: 18px;
    border: 1px solid #2d2c31;
    border-radius: 7px;
    background: linear-gradient(180deg,#111217,#0c0d11);
    overflow: hidden;
}
.guide-v7 .g7-article-block>h3,.guide-v7 .g7-article-block>.g5-section-head {
    margin: 0;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(232,197,106,.15);
    background: linear-gradient(180deg,rgba(232,197,106,.07),rgba(232,197,106,.025));
    color: #e6c978;
    font-size: 12px;
    font-weight: 800;
}
.guide-v7 .g7-info-rows {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.guide-v7 .g7-info-rows>div {
    min-height: 48px;
    padding: 10px 12px;
    border-right: 1px solid #27272c;
    border-bottom: 1px solid #27272c;
}
.guide-v7 .g7-info-rows>div:nth-child(2n) {
    border-right: 0;
}
.guide-v7 .g7-info-rows>div:nth-last-child(-n+2) {
    border-bottom: 0;
}
.guide-v7 .g7-info-rows b {
    display: block;
    color: #e1ddd4;
    font-size: 11px;
    line-height: 1.4;
}
.guide-v7 .g7-info-rows span {
    display: block;
    margin-top: 4px;
    color: #959088;
    font-size: 10.5px;
    line-height: 1.5;
}
.guide-v7 .g7-table-wrap {
    overflow: auto;
}
.guide-v7 .g7-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.guide-v7 .g7-guide-table th,.guide-v7 .g7-guide-table td {
    padding: 10px 12px;
    border: 0;
    border-right: 1px solid #302f34;
    border-bottom: 1px solid #302f34;
    text-align: left;
    vertical-align: top;
}
.guide-v7 .g7-guide-table th:last-child,.guide-v7 .g7-guide-table td:last-child {
    border-right: 0;
}
.guide-v7 .g7-guide-table tr:last-child td {
    border-bottom: 0;
}
.guide-v7 .g7-guide-table th {
    background: #18140c;
    color: #e4bf61;
    font-size: 10px;
    font-weight: 800;
}
.guide-v7 .g7-guide-table td {
    color: #c9c4bb;
    line-height: 1.5;
}
.guide-v7 .g7-guide-table td:first-child {
    color: #eee8db;
    font-weight: 800;
    white-space: nowrap;
}
.guide-v7 .g7-command-table {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.guide-v7 .g7-command-table>div {
    display: grid;
    grid-template-columns: minmax(110px,auto) 1fr;
    gap: 10px;
    padding: 10px 12px;
    border-right: 1px solid #29292e;
    border-bottom: 1px solid #29292e;
}
.guide-v7 .g7-command-table>div:nth-child(2n) {
    border-right: 0;
}
.guide-v7 .g7-command-table code {
    color: #efca70;
    font: 700 10.5px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;
}
.guide-v7 .g7-command-table span {
    color: #aaa59d;
    font-size: 10.5px;
    line-height: 1.5;
}
.guide-v7 .g7-article-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}
.guide-v7 .g7-article-steps li {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    align-items: start;
    padding: 11px 13px;
    border-bottom: 1px solid #29292e;
}
.guide-v7 .g7-article-steps li:last-child {
    border-bottom: 0;
}
.guide-v7 .g7-article-steps b {
    color: #e6bf62;
    font-size: 10.5px;
}
.guide-v7 .g7-article-steps span {
    color: #c6c1b8;
    font-size: 11px;
    line-height: 1.55;
}
.guide-v7 .g7-article-note {
    margin-top: 18px;
}
/* one media language everywhere: full item, never crop */
.guide-v7 .g7-item-frame {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    overflow: hidden!important;
    background: radial-gradient(circle at 50% 44%,#202129 0,#090a0d 69%)!important;
}
.guide-v7 .g7-item-frame img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    max-width: 100%!important;
    max-height: 100%!important;
    padding: 8px!important;
    margin: auto!important;
    box-sizing: border-box!important;
    object-fit: contain!important;
    object-position: center!important;
    transform: none!important;
}
/* Set equipment: one full set = one horizontal row */
.guide-v7 .g7-set-list {
    display: grid;
    gap: 9px;
    margin-top: 11px;
}
.guide-v7 .g7-set-row {
    display: grid;
    grid-template-columns: 150px minmax(0,1fr);
    gap: 12px;
    align-items: stretch;
    padding: 10px;
    border: 1px solid #292a30;
    border-radius: 7px;
    background: #0b0c10;
}
.guide-v7 .g7-set-row>header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    border-right: 1px solid rgba(232,197,106,.12);
}
.guide-v7 .g7-set-row>header span {
    color: #8f7a4c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}
.guide-v7 .g7-set-row>header h4 {
    margin: 4px 0 0;
    color: #eee9df;
    font-size: 14px;
    line-height: 1.3;
}
.guide-v7 .g7-set-pieces {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 7px;
}
.guide-v7 .g7-set-piece {
    min-width: 0;
    text-align: center;
    border: 1px solid #27282e;
    border-radius: 6px;
    background: #0d0e12;
    overflow: hidden;
}
.guide-v7 .g7-set-piece .g7-item-frame {
    height: 112px;
}
.guide-v7 .g7-set-piece b {
    display: block;
    padding: 6px 4px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #d7d2ca;
    font-size: 9.5px;
    font-weight: 700;
}
/* Upgrade: target and ingredients use the same proportions as equipment */
.guide-v7 .g7-upgrade-head {
    display: grid;
    grid-template-columns: 172px minmax(0,1fr);
    gap: 20px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.guide-v7 .g7-upgrade-target {
    min-width: 0;
    text-align: center;
}
.guide-v7 .g7-upgrade-target .g7-item-frame {
    height: 150px;
    border: 1px solid #2b2c32;
    border-radius: 7px;
}
.guide-v7 .g7-upgrade-target small {
    display: block;
    margin-top: 7px;
    color: #8e7b51;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}
.guide-v7 .g7-material-section {
    overflow: visible;
}
.guide-v7 .g7-material-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 8px;
    padding: 11px;
}
.guide-v7 .g7-material-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #292a30;
    border-radius: 6px;
    background: #0b0c10;
    text-align: center;
}
.guide-v7 .g7-material-card .g7-item-frame {
    height: 112px;
}
.guide-v7 .g7-material-card>div:last-child {
    padding: 7px 6px 8px;
    border-top: 1px solid rgba(255,255,255,.05);
}
.guide-v7 .g7-material-card b {
    display: block;
    color: #dcd7ce;
    font-size: 9.5px;
    line-height: 1.4;
}
.guide-v7 .g7-material-card strong {
    display: block;
    margin-top: 4px;
    color: #ebc763;
    font-size: 10.5px;
}
@media(max-width:980px) {
    .guide-v7 .g7-set-row {
        grid-template-columns: 120px minmax(0,1fr);
    }
    .guide-v7 .g7-set-piece .g7-item-frame {
        height: 100px;
    }
    .guide-v7 .g7-material-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}
@media(max-width:760px) {
    .guide-v7 .g7-info-rows,.guide-v7 .g7-command-table {
        grid-template-columns: 1fr;
    }
    .guide-v7 .g7-info-rows>div,.guide-v7 .g7-command-table>div {
        border-right: 0!important;
        border-bottom: 1px solid #29292e!important;
    }
    .guide-v7 .g7-info-rows>div:last-child,.guide-v7 .g7-command-table>div:last-child {
        border-bottom: 0!important;
    }
    .guide-v7 .g7-set-row {
        grid-template-columns: 1fr;
    }
    .guide-v7 .g7-set-row>header {
        border-right: 0;
        border-bottom: 1px solid rgba(232,197,106,.12);
    }
    .guide-v7 .g7-set-pieces {
        grid-template-columns: repeat(5,minmax(92px,1fr));
        overflow: auto;
        padding-bottom: 2px;
    }
    .guide-v7 .g7-material-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .guide-v7 .g7-upgrade-head {
        grid-template-columns: 150px minmax(0,1fr);
    }
}
@media(max-width:520px) {
    .guide-v7 .g7-guide-article {
        padding: 14px;
    }
    .guide-v7 .g7-guide-hero {
        margin: 0 0 14px;
        aspect-ratio: 16/9;
    }
    .guide-v7 .g7-guide-table {
        min-width: 560px;
    }
    .guide-v7 .g7-article-steps li {
        grid-template-columns: 64px 1fr;
    }
    .guide-v7 .g7-upgrade-head {
        grid-template-columns: 1fr;
    }
    .guide-v7 .g7-upgrade-target {
        width: 150px;
        margin: auto;
    }
    .guide-v7 .g7-material-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        padding: 8px;
    }
    .guide-v7 .g7-material-card .g7-item-frame {
        height: 105px;
    }
}
.guide-v7 .g7-set-piece.is-empty {
    opacity: .45;
}
.guide-v7 .g7-set-piece.is-empty .g7-item-frame span {
    color: #5b5b62;
    font-size: 18px;
    font-weight: 700;
}
.guide-v7 .g7-guide-hero {
    height: 300px;
    aspect-ratio: auto;
}
.guide-v7 .g7-basic-row .g5-thumb {
    background: #090a0d;
}
.guide-v7 .g7-basic-row .g5-thumb img {
    padding: 1px;
    object-fit: contain;
}
@media(max-width:760px) {
    .guide-v7 .g7-guide-hero {
        height: 240px;
    }
    .guide-v7 .g7-basic-row {
        flex: 0 0 250px;
    }
}
@media(max-width:520px) {
    .guide-v7 .g7-guide-hero {
        height: 190px;
    }
}
/* =========================================================
   GUIDE V8.1 — text-first Hướng dẫn / Tin tức
   Representative thumbnails and editorial hero images are intentionally removed.
   ========================================================= */
.g5-news-layout--text {
    grid-template-columns: minmax(270px,320px) minmax(0,1fr);
    gap: 16px;
}
.g5-news-layout--text .g5-list-panel {
    padding: 10px;
}
.g5-content-row--text {
    grid-template-columns: 44px minmax(0,1fr);
    gap: 11px;
    padding: 11px 10px;
}
.g5-text-marker {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(232,197,106,.19);
    border-radius: 6px;
    background: linear-gradient(145deg,#17140e,#0b0b0e);
    color: #caa650;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.g5-content-row--text:hover .g5-text-marker,.g5-content-row--text.is-on .g5-text-marker {
    border-color: rgba(232,197,106,.48);
    background: linear-gradient(145deg,#261f10,#111014);
    color: #f0d17e;
}
.g5-content-row--text b {
    font-size: 11.5px;
    line-height: 1.45;
}
.g5-content-row--text small {
    margin-top: 4px;
    color: #7f7b73;
    font-size: 9.5px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
}
.g5-article--text {
    padding-top: 24px;
}
.g5-article-head--editorial {
    padding: 2px 2px 20px;
}
.g5-editorial-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}
.g5-editorial-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(232,197,106,.22);
    border-radius: 999px;
    background: #17140e;
    color: #e1be65;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.g5-editorial-meta time {
    color: #77736a;
    font-size: 9.5px;
    font-variant-numeric: tabular-nums;
}
.g5-article-head--editorial h2 {
    max-width: 820px;
    margin-top: 0;
    font-size: clamp(24px,3vw,34px);
    line-height: 1.18;
}
.g5-article-head--editorial p {
    max-width: 820px;
    font-size: 12.5px;
    line-height: 1.72;
}
.g5-rich--editorial {
    max-width: 860px;
    margin-top: 20px;
    font-size: 12.5px;
    line-height: 1.82;
}
.g5-rich--editorial>h2:first-child,.g5-rich--editorial>h3:first-child {
    margin-top: 4px;
}
@media(max-width:920px) {
    .g5-news-layout--text {
        grid-template-columns: 250px minmax(0,1fr);
    }
}
@media(max-width:760px) {
    .g5-news-layout--text {
        grid-template-columns: 1fr;
    }
    .g5-news-layout--text .g5-list-panel {
        display: block;
        max-height: 300px;
        overflow: auto;
    }
    .g5-news-layout--text .g5-list-title {
        display: flex;
    }
    .g5-news-layout--text .g5-content-row--text {
        display: grid;
        grid-template-columns: 40px minmax(0,1fr);
        width: 100%;
        min-width: 0;
    }
    .g5-news-layout--text .g5-text-marker {
        width: 38px;
        height: 38px;
    }
    .g5-rich--editorial {
        max-width: none;
    }
}
/* =========================================================
   GUIDE V10 — staged equipment loading, real recipe items, boss frame
   ========================================================= */
.g8-equipment {
    overflow: visible;
}
.g8-equipment-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 2px 16px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.g8-equipment-intro>div:first-child {
    min-width: 0;
}
.g8-equipment-intro span {
    display: block;
    color: var(--g5-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}
.g8-equipment-intro h2 {
    margin: 5px 0 4px;
    color: #f2eee5;
    font-size: 24px;
    line-height: 1.2;
}
.g8-equipment-intro p {
    max-width: 720px;
    margin: 0;
    color: #969188;
    font-size: 11px;
    line-height: 1.6;
}
.g8-load-note {
    flex: 0 0 auto;
    max-width: 235px;
    padding: 10px 12px;
    border: 1px solid rgba(232,197,106,.18);
    border-radius: 7px;
    background: #0d0e12;
}
.g8-load-note b {
    display: block;
    color: #e3c26c;
    font-size: 9px;
    letter-spacing: .11em;
}
.g8-load-note span {
    display: block;
    margin-top: 3px;
    color: #77746e;
    font-size: 9px;
    line-height: 1.45;
}
.g8-tier-menu {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 8px;
    margin-top: 15px;
}
.g8-tier-card {
    display: flex;
    min-width: 0;
    min-height: 84px;
    flex-direction: column;
    justify-content: center;
    padding: 11px 12px;
    border: 1px solid #2b2c32;
    border-radius: 7px;
    background: linear-gradient(145deg,#0e0f13,#090a0d);
    text-decoration: none;
    transition: border-color .16s ease,background .16s ease,transform .16s ease;
}
.g8-tier-card:hover {
    border-color: rgba(232,197,106,.42);
    background: #15130e;
    transform: translateY(-1px);
}
.g8-tier-card.is-on {
    border-color: #9e7c35;
    background: linear-gradient(145deg,#211a0d,#100f0d);
    box-shadow: inset 0 0 0 1px rgba(232,197,106,.08);
}
.g8-tier-card span {
    overflow: hidden;
    color: #77746d;
    font-size: 8px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.g8-tier-card b {
    margin-top: 3px;
    color: #ece6da;
    font-size: 17px;
    line-height: 1.2;
}
.g8-tier-card small {
    margin-top: 5px;
    color: #a28a55;
    font-size: 9px;
}
.g8-select-hint {
    display: grid;
    grid-template-columns: 54px minmax(0,1fr);
    gap: 13px;
    align-items: center;
    margin-top: 14px;
    padding: 18px;
    border: 1px dashed rgba(232,197,106,.24);
    border-radius: 8px;
    background: linear-gradient(145deg,rgba(232,197,106,.035),rgba(255,255,255,.01));
}
.g8-select-hint>span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(232,197,106,.2);
    border-radius: 7px;
    background: #11100d;
    color: #d0a94f;
    font-size: 12px;
    font-weight: 800;
}
.g8-select-hint b {
    display: block;
    color: #e4dfd5;
    font-size: 12px;
}
.g8-select-hint p {
    margin: 5px 0 0;
    color: #8a867e;
    font-size: 10.5px;
    line-height: 1.6;
}
.g8-tier-result {
    margin-top: 14px;
}
.g8-result-head {
    padding: 12px 2px;
}
.g8-item-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 9px;
}
.g8-item-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #292a30;
    border-radius: 7px;
    background: #0b0c10;
    transition: border-color .16s ease,transform .16s ease;
}
.g8-item-card:hover {
    border-color: rgba(232,197,106,.35);
    transform: translateY(-1px);
}
.g8-item-media {
    display: grid;
    place-items: center;
    width: 100%;
    height: 142px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 44%,#202129 0,#090a0d 70%);
}
.g8-item-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}
.g8-item-media>span {
    color: #5b5b62;
    font-size: 18px;
    font-weight: 700;
}
.g8-item-copy {
    padding: 9px 10px 10px;
}
.g8-item-copy h3 {
    min-height: 34px;
    margin: 0;
    color: #e2ddd4;
    font-size: 10.5px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.g8-class-row,.g8-attr {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(255,255,255,.055);
}
.g8-class-row span,.g8-attr span,.g8-item-info span {
    display: block;
    color: #756f65;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.g8-class-row b,.g8-item-info b {
    display: block;
    margin-top: 3px;
    color: #cfb46f;
    font-size: 9px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.g8-attr p,.g8-item-info p {
    margin: 3px 0 0;
    color: #aaa59c;
    font-size: 9px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.g8-set-list {
    display: grid;
    gap: 9px;
}
.g8-set-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #292a30;
    border-radius: 7px;
    background: #0b0c10;
}
.g8-set-card>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #0e0f13;
}
.g8-set-card>header>div {
    min-width: 0;
}
.g8-set-card>header span {
    display: block;
    color: #887544;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}
.g8-set-card>header h4 {
    margin: 3px 0 0;
    color: #ebe5da;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.g8-set-card>header small {
    flex: 0 1 auto;
    max-width: 42%;
    color: #b99e5e;
    font-size: 8.5px;
    line-height: 1.45;
    text-align: right;
    overflow-wrap: anywhere;
}
.g8-set-pieces {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 1px;
    background: #23242a;
}
.g8-set-piece {
    min-width: 0;
    background: #0a0b0e;
    text-align: center;
}
.g8-set-piece .g8-item-media {
    height: 110px;
}
.g8-set-piece>b {
    display: block;
    min-height: 29px;
    padding: 7px 4px;
    color: #c9c3ba;
    font-size: 9px;
    line-height: 1.4;
}
.g8-set-piece.is-empty {
    opacity: .45;
}
.g8-item-info {
    display: grid;
    grid-template-columns: minmax(130px,.8fr) minmax(0,1.7fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.055);
}
.g8-item-info>div {
    min-width: 0;
    padding: 9px 11px;
}
.g8-item-info>div+div {
    border-left: 1px solid rgba(255,255,255,.055);
}
/* Upgrade page: no representative/banner image. Only real catalog item sprites. */
.g8-upgrade-head {
    padding: 2px 0 16px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.g8-upgrade-head .g5-upgrade-copy {
    max-width: 800px;
}
.g8-outcome-section {
    margin-top: 16px;
}
.g8-outcome-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    padding: 10px;
}
.g8-outcome-grid>article {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #292a30;
    border-radius: 6px;
    background: #0b0c10;
}
.g8-outcome-grid .g8-item-media {
    height: 122px;
}
.g8-outcome-grid>article>div:last-child {
    padding: 7px 8px;
    border-top: 1px solid rgba(255,255,255,.05);
}
.g8-outcome-grid b {
    display: block;
    color: #dbd5cb;
    font-size: 9.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.g8-outcome-grid small {
    display: block;
    margin-top: 3px;
    color: #9f874d;
    font-size: 8.5px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.g8-set-list--outcome {
    padding: 10px;
}
.g8-no-illustration {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(232,197,106,.16);
    border-radius: 6px;
    background: #11100d;
}
.g8-no-illustration b {
    flex: 0 0 auto;
    color: #ddbc67;
    font-size: 9.5px;
}
.g8-no-illustration span {
    color: #8f8a81;
    font-size: 9.5px;
    line-height: 1.55;
}
.g8-item-placeholder {
    background: #0d0e12!important;
}
.g8-item-placeholder span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 28px;
    border: 1px solid #34343a;
    border-radius: 5px;
    color: #66636a;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
}
/* Boss: one stable, contained frame. List is text-only so only selected boss art is requested. */
.g8-boss-hero {
    grid-template-columns: 250px minmax(0,1fr)!important;
    gap: 22px!important;
    align-items: center!important;
}
.g8-boss-media {
    width: 250px!important;
    height: 310px!important;
    min-height: 0!important;
    aspect-ratio: auto!important;
    margin: 0!important;
    border-radius: 8px!important;
    background: radial-gradient(ellipse at 50% 48%,#25252d 0,#0a0a0e 68%)!important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.g8-boss-media img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    max-width: 100%!important;
    max-height: 100%!important;
    padding: 14px!important;
    object-fit: contain!important;
    object-position: center bottom!important;
    transform: none!important;
}
.g8-boss-hero .g5-boss-copy {
    min-width: 0;
}
.g8-boss-hero .g5-boss-copy h2,.g8-boss-hero .g5-boss-copy p,.g8-boss-hero .g5-facts b {
    overflow-wrap: anywhere;
}
/* Defensive layout rules: avoid duplicated edges/text clipping in Guide/WebView. */
.g8-equipment *, .g8-outcome-section *, .g8-boss-hero * {
    min-width: 0;
}
.g5-content-row--text>span:last-child {
    min-width: 0;
}
.g5-content-row--text b,.g5-content-row--text small {
    overflow-wrap: anywhere;
}
.g5-list-panel {
    scrollbar-gutter: stable;
}
.g5-article,.g5-panel {
    overflow: visible;
}
@media(max-width:1020px) {
    .g8-tier-menu {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
    .g8-item-grid,.g8-outcome-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .g8-boss-hero {
        grid-template-columns: 220px minmax(0,1fr)!important;
    }
    .g8-boss-media {
        width: 220px!important;
        height: 285px!important;
    }
}
@media(max-width:760px) {
    .g8-equipment-intro {
        align-items: stretch;
        flex-direction: column;
    }
    .g8-load-note {
        max-width: none;
    }
    .g8-tier-menu {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .g8-item-grid,.g8-outcome-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .g8-set-pieces {
        grid-template-columns: repeat(5,minmax(88px,1fr));
        overflow-x: auto;
    }
    .g8-item-info {
        grid-template-columns: 1fr;
    }
    .g8-item-info>div+div {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.055);
    }
    .g8-boss-hero {
        grid-template-columns: 1fr!important;
    }
    .g8-boss-media {
        width: min(250px,100%)!important;
        height: 300px!important;
        margin: 0 auto!important;
    }
    .g8-select-hint {
        grid-template-columns: 44px minmax(0,1fr);
        padding: 14px;
    }
    .g8-select-hint>span {
        width: 42px;
        height: 42px;
    }
}
@media(max-width:520px) {
    .g8-tier-menu {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px;
    }
    .g8-tier-card {
        min-height: 74px;
        padding: 9px 10px;
    }
    .g8-item-grid,.g8-outcome-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px;
    }
    .g8-item-media {
        height: 116px;
    }
    .g8-outcome-grid .g8-item-media {
        height: 108px;
    }
    .g8-item-copy {
        padding: 8px;
    }
    .g8-item-copy h3 {
        font-size: 9.5px;
    }
    .g8-set-card>header {
        align-items: flex-start;
        flex-direction: column;
    }
    .g8-set-card>header small {
        max-width: none;
        text-align: left;
    }
    .g8-no-illustration {
        flex-direction: column;
        gap: 4px;
    }
}
/* =========================================================
   GUIDE V11 — equipment as a real two-level menu
   ========================================================= */
.g11-equipment {
    overflow: visible;
}
.g11-menu-shell,.g11-submenu-shell {
    display: grid;
    grid-template-columns: 170px minmax(0,1fr);
    gap: 12px;
    align-items: stretch;
    padding: 12px;
    border: 1px solid #292a31;
    border-radius: 8px;
    background: linear-gradient(145deg,#0d0e12,#090a0d);
}
.g11-submenu-shell {
    margin-top: 12px;
}
.g11-menu-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-right: 1px solid rgba(255,255,255,.06);
}
.g11-menu-title>span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid rgba(232,197,106,.24);
    border-radius: 6px;
    background: #15120c;
    color: #dbb65e;
    font-size: 10px;
    font-weight: 900;
}
.g11-menu-title b,.g11-menu-title small {
    display: block;
}
.g11-menu-title b {
    color: #e9e3d7;
    font-size: 11px;
}
.g11-menu-title small {
    margin-top: 3px;
    color: #77736b;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.g11-type-menu,.g11-tier-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: stretch;
}
.g11-type-menu a,.g11-tier-menu a {
    display: flex;
    min-width: 0;
    flex: 1 1 150px;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid #303138;
    border-radius: 7px;
    background: #0b0c10;
    color: #d8d4cc;
    text-decoration: none;
    transition: border-color .16s ease,background .16s ease,transform .16s ease;
}
.g11-tier-menu a {
    flex: 0 1 135px;
    min-height: 50px;
}
.g11-type-menu a:hover,.g11-tier-menu a:hover {
    border-color: rgba(232,197,106,.44);
    background: #14120e;
    transform: translateY(-1px);
}
.g11-type-menu a.is-on,.g11-tier-menu a.is-on {
    border-color: #9c7932;
    background: linear-gradient(145deg,#211a0d,#0f0e0c);
    box-shadow: inset 0 0 0 1px rgba(232,197,106,.07);
}
.g11-type-menu b,.g11-tier-menu b {
    display: block;
    color: #eee8dc;
    font-size: 11px;
    line-height: 1.3;
}
.g11-type-menu small,.g11-tier-menu small {
    display: block;
    margin-top: 4px;
    color: #9b8656;
    font-size: 8.5px;
    line-height: 1.25;
}
.g11-equipment-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 2px 13px;
    border-bottom: 1px solid var(--g5-line-soft);
}
.g11-equipment-head>div:first-child {
    min-width: 0;
}
.g11-equipment-head span {
    display: block;
    color: var(--g5-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}
.g11-equipment-head h2 {
    margin: 4px 0;
    color: #f2ede3;
    font-size: 24px;
    line-height: 1.2;
}
.g11-equipment-head p {
    max-width: 720px;
    margin: 0;
    color: #938f87;
    font-size: 10.5px;
    line-height: 1.55;
}
.g11-load-state {
    flex: 0 0 auto;
    padding: 9px 11px;
    border: 1px solid rgba(232,197,106,.17);
    border-radius: 7px;
    background: #0c0d10;
}
.g11-load-state b,.g11-load-state span {
    display: block;
}
.g11-load-state b {
    color: #d6b35c;
    font-size: 8px;
    letter-spacing: .12em;
}
.g11-load-state span {
    margin-top: 3px;
    color: #77736c;
    font-size: 8.5px;
}
.g11-select-hint {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    margin-top: 13px;
    padding: 15px;
    border: 1px dashed rgba(232,197,106,.25);
    border-radius: 8px;
    background: rgba(232,197,106,.025);
}
.g11-select-hint>span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #14120d;
    color: #d6b45f;
    font-size: 17px;
}
.g11-select-hint b {
    color: #e3ded5;
    font-size: 11px;
}
.g11-select-hint p {
    margin: 4px 0 0;
    color: #8b877f;
    font-size: 9.5px;
    line-height: 1.55;
}
.g11-select-hint strong {
    color: #c9a955;
}
.g11-result {
    margin-top: 13px;
}
.g11-result-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 2px;
}
.g11-result-head span {
    display: block;
    color: #8f7b4c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}
.g11-result-head h3 {
    margin: 3px 0 0;
    color: #eee8dc;
    font-size: 17px;
}
.g11-result-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.g11-result-tools>strong {
    color: #b39a5f;
    font-size: 9px;
}
.g11-result-tools form {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #303138;
    border-radius: 6px;
    background: #0a0b0e;
}
.g11-result-tools input {
    width: 205px;
    min-height: 34px;
    padding: 0 9px;
    border: 0;
    background: transparent;
    color: #e8e3da;
    font: inherit;
    font-size: 9px;
    outline: none;
}
.g11-result-tools button {
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-left: 1px solid #303138;
    background: #17130c;
    color: #d7b460;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}
.g11-item-list {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
}
.g11-item {
    display: grid;
    grid-template-columns: 105px minmax(0,1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #292a30;
    border-radius: 8px;
    background: #0b0c10;
    transition: border-color .16s ease,transform .16s ease;
}
.g11-item:hover {
    border-color: rgba(232,197,106,.35);
    transform: translateY(-1px);
}
.g11-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 112px;
    min-width: 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 48%,#202129 0,#090a0d 70%);
}
.g11-media img {
    display: block;
    width: 100%!important;
    height: 100%!important;
    max-width: 100%!important;
    max-height: 100%!important;
    padding: 9px!important;
    box-sizing: border-box!important;
    object-fit: contain!important;
    object-position: center!important;
    transform: none!important;
}
.g11-media>span {
    color: #66636a;
    font-size: 16px;
}
.g11-item-copy {
    min-width: 0;
    padding: 10px 11px;
}
.g11-item-copy h3 {
    margin: 0;
    color: #e4dfd7;
    font-size: 10.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.g11-class-block,.g11-attribute {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(255,255,255,.055);
}
.g11-class-block span,.g11-attribute span {
    display: block;
    color: #736e65;
    font-size: 7.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.g11-class-block b {
    display: block;
    margin-top: 3px;
    color: #d0b46d;
    font-size: 9px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.g11-attribute p {
    margin: 3px 0 0;
    color: #aaa59d;
    font-size: 8.8px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.g11-set-list {
    display: grid;
    gap: 8px;
}
.g11-set-card {
    overflow: hidden;
    border: 1px solid #292a30;
    border-radius: 8px;
    background: #0b0c10;
}
.g11-set-card>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #0e0f13;
}
.g11-set-card>header>div:first-child span {
    display: block;
    color: #887544;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}
.g11-set-card>header h4 {
    margin: 3px 0 0;
    color: #ebe5da;
    font-size: 12px;
}
.g11-set-card>header .g11-class-block {
    max-width: 48%;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
}
.g11-set-pieces {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 1px;
    background: #23242a;
}
.g11-set-piece {
    min-width: 0;
    background: #090a0d;
    text-align: center;
}
.g11-set-piece .g11-media {
    height: 104px;
}
.g11-set-piece>b {
    display: block;
    padding: 7px 4px;
    color: #c5c0b7;
    font-size: 8.8px;
}
.g11-set-piece.is-empty {
    opacity: .45;
}
.g11-set-card>.g11-attribute {
    margin: 0;
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,.055);
}
/* V11: every content image is fully visible. Decorative CSS backgrounds/video remain separate. */
.guide-page img:not([data-crop]) {
    object-fit: contain!important;
    object-position: center!important;
    transform: none!important;
    box-sizing: border-box!important;
    max-width: 100%!important;
    max-height: 100%!important;
}
@media(max-width:1020px) {
    .g11-item-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .g11-menu-shell,.g11-submenu-shell {
        grid-template-columns: 145px minmax(0,1fr);
    }
}
@media(max-width:760px) {
    .g11-menu-shell,.g11-submenu-shell {
        grid-template-columns: 1fr;
    }
    .g11-menu-title {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
        padding: 4px 2px 9px;
    }
    .g11-equipment-head {
        align-items: stretch;
        flex-direction: column;
    }
    .g11-load-state {
        align-self: flex-start;
    }
    .g11-type-menu a {
        flex-basis: calc(50% - 7px);
    }
    .g11-tier-menu a {
        flex: 1 1 calc(33.333% - 7px);
    }
    .g11-result-head {
        align-items: stretch;
        flex-direction: column;
    }
    .g11-result-tools {
        justify-content: space-between;
    }
    .g11-result-tools form {
        flex: 1;
    }
    .g11-result-tools input {
        width: 100%;
    }
    .g11-set-pieces {
        grid-template-columns: repeat(5,minmax(82px,1fr));
        overflow-x: auto;
    }
    .g11-set-card>header {
        align-items: flex-start;
        flex-direction: column;
    }
    .g11-set-card>header .g11-class-block {
        max-width: none;
        text-align: left;
    }
}
@media(max-width:540px) {
    .g11-item-list {
        grid-template-columns: 1fr;
    }
    .g11-item {
        grid-template-columns: 92px minmax(0,1fr);
    }
    .g11-media {
        height: 100px;
    }
    .g11-type-menu a {
        flex-basis: 100%;
    }
    .g11-tier-menu a {
        flex: 1 1 calc(50% - 7px);
    }
    .g11-select-hint {
        grid-template-columns: 34px minmax(0,1fr);
        padding: 12px;
    }
    .g11-select-hint>span {
        width: 32px;
        height: 32px;
    }
    .g11-result-tools {
        align-items: stretch;
        flex-direction: column;
    }
    .g11-result-tools form {
        width: 100%;
    }
}
/* =========================================================
   V12 HOTFIX — upgrade media must never crop + item taxonomy
   Every image in Chế tạo/Nâng cấp is boxed and centered.
   ========================================================= */
.guide-v7 .g5-detail--upgrade .g8-item-media,
.guide-v7 .g5-detail--upgrade .g7-item-frame,
.guide-v7 .g5-detail--upgrade .g5-target-media,
.guide-v7 .g5-detail--upgrade .g5-material-media,
.guide-v7 .g5-detail--upgrade .g5-reward-media {
    display: grid!important;
    place-items: center!important;
    overflow: hidden!important;
    box-sizing: border-box!important;
}
.guide-v7 .g5-detail--upgrade .g8-item-media img,
.guide-v7 .g5-detail--upgrade .g7-item-frame img,
.guide-v7 .g5-detail--upgrade .g5-target-media img,
.guide-v7 .g5-detail--upgrade .g5-material-media img,
.guide-v7 .g5-detail--upgrade .g5-reward-media img {
    display: block!important;
    width: 100%!important;
    height: 100%!important;
    min-width: 0!important;
    min-height: 0!important;
    max-width: 100%!important;
    max-height: 100%!important;
    margin: auto!important;
    box-sizing: border-box!important;
    object-fit: contain!important;
    object-position: center center!important;
    transform: none!important;
}
/* Keep enough breathing room so long/tall sprites never touch/cross the frame. */
.guide-v7 .g5-detail--upgrade .g8-item-media img {
    padding: 9px!important;
}
.guide-v7 .g5-detail--upgrade .g7-item-frame img {
    padding: 8px!important;
}
/* V5.5 — show complete equipment artwork (fix armor bottom clipping) */
.g11-set-piece .g11-media {
    height: 118px!important;
    overflow: visible!important;
    padding: 3px!important;
    box-sizing: border-box!important;
}
.g11-set-piece .g11-media img {
    display: block!important;
    width: auto!important;
    height: auto!important;
    max-width: 100%!important;
    max-height: 100%!important;
    padding: 0!important;
    margin: auto!important;
    object-fit: contain!important;
    object-position: center center!important;
    transform: none!important;
}
@media(max-width:760px) {
    .g11-set-piece .g11-media {
        height: 112px!important;
    }
}
