/* ==== assets/yamforge-growth-v1.css ==== */
.gr-nav{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px;align-items:center;justify-content:flex-start}.gr-nav a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:11px;background:var(--panel);font-size:13px;font-weight:650}.gr-nav a[aria-current=page]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.gr-nav svg,.gr-card h2 svg,.gr-card summary svg{width:20px;height:20px;vertical-align:middle}.gr-card{padding:22px;margin:14px 0;border:1px solid var(--line);border-radius:17px;background:var(--panel);box-shadow:0 4px 15px #00000004}.gr-card h2{font-size:19px;letter-spacing:-.3px;margin:12px 0}.gr-card h3{font-size:16px;margin:8px 0 14px}.gr-card p{font-size:14px;line-height:1.7}.gr-card summary{font-weight:700;cursor:pointer}.gr-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}.gr-tiles>.gr-card{margin:0}.gr-tiles label{margin:12px 0}.gr-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.gr-toolbar label{flex:1;min-width:180px;margin:0}.gr-toolbar button{min-height:46px}.gr-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--accent) 12%,var(--panel));color:var(--accent)}.gr-icon svg{width:24px;height:24px}.gr-value{font-size:32px;font-weight:800;display:block;margin:14px 0;line-height:1.2}.gr-value small{font-size:15px;color:var(--muted)}.gr-card progress,.gr-goal-mini progress{width:100%;height:8px;accent-color:var(--accent)}.gr-collection{display:flex;align-items:flex-start;flex-direction:column;gap:8px}.gr-collection .button{margin-top:auto}.gr-collection small{color:var(--muted)}.gr-reason{display:block;padding:8px 3px 18px;color:var(--muted);font-size:12px}.gr-goal-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.gr-goal-mini a{padding:13px;border:1px solid var(--line);border-radius:12px;display:grid;gap:9px}.gr-goal-mini span{font-size:12px;color:var(--muted)}.gr-prizes{display:flex;gap:12px;flex-wrap:wrap}.gr-prizes span{padding:14px 20px;background:var(--soft);border:1px solid var(--line);border-radius:12px;font-weight:750}.gr-saved>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.gr-saved form{margin:0}.gr-heading{display:flex;align-items:center;gap:15px;padding:0;border:0;justify-content:flex-start}.gr-heading h2{margin:0;font-size:25px}.gr-heading p{margin:6px 0}.gr-economy{padding:24px}.gr-table{overflow-x:auto;margin:14px 0}.gr-table table{width:100%;border-collapse:collapse;font-size:13px}.gr-table th,.gr-table td{text-align:left;border-bottom:1px solid var(--line);padding:12px;white-space:nowrap}.gr-table th{color:var(--muted);background:var(--soft)}.gr-chart{padding:20px;margin:16px 0;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.gr-chart svg{display:block;width:100%;height:auto;min-height:140px}.gr-axis{fill:none;stroke:var(--line);stroke-width:1}.gr-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.gr-line-0{stroke:var(--accent)}.gr-line-1{stroke:#48a993;stroke-dasharray:7 3}.gr-line-2{stroke:#d5a251;stroke-dasharray:2 5}.gr-chart text{fill:var(--muted);font-size:12px}.gr-legend{display:flex;gap:20px;flex-wrap:wrap;margin:12px 0;font-size:12px}.gr-key:before{content:'';display:inline-block;width:17px;height:3px;background:var(--accent);margin:0 8px 3px 0}.gr-key-1:before{background:#48a993}.gr-key-2:before{background:#d5a251}.gr-economy pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.gr-economy .gr-nav{margin-left:0}.gr-chart details{font-size:13px}@media(max-width:650px){.gr-card,.gr-chart,.gr-economy{padding:15px}.gr-goal-mini{grid-template-columns:repeat(2,minmax(0,1fr))}.gr-heading{align-items:flex-start}.gr-nav a{font-size:12px;padding:9px}.gr-value{font-size:27px}}

.yf-console-page .gr-economy{--panel:var(--yf-console-panel);--ink:var(--yf-console-ink);--muted:var(--yf-console-muted);--line:var(--yf-console-line);--accent:var(--yf-console-violet);--soft:var(--yf-console-soft);--field:var(--yf-console-panel);--on-accent:#fff;color:var(--ink)}
.yf-console-page .gr-economy :is(input,textarea,select){background:var(--field);border:1px solid var(--line);color:var(--ink);border-radius:10px;padding:11px}
.yf-console-page .gr-economy .check-label{display:flex;align-items:center;gap:10px}.yf-console-page .gr-economy .check-label input{width:auto;margin:0}

.gr-card progress,.gr-goal-mini progress{appearance:none;-webkit-appearance:none;border:0;border-radius:999px;background:var(--soft);overflow:hidden;display:block;margin:16px 0}
.gr-card progress::-webkit-progress-bar,.gr-goal-mini progress::-webkit-progress-bar{background:var(--soft);border-radius:999px}
.gr-card progress::-webkit-progress-value,.gr-goal-mini progress::-webkit-progress-value{background:var(--accent);border-radius:999px}
.gr-card progress::-moz-progress-bar,.gr-goal-mini progress::-moz-progress-bar{background:var(--accent);border-radius:999px}

.gr-feed-item{break-inside:avoid;display:inline-block;width:100%;margin-bottom:16px;vertical-align:top}.gr-feed-item .card{margin-bottom:0}.gr-feed-item .gr-reason{padding:9px 4px 2px}
.gr-feed-grid{columns:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.gr-feed-grid>.gr-feed-item{display:block;margin:0;width:100%}
@media(max-width:1050px){.gr-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.gr-feed-grid{grid-template-columns:minmax(0,1fr)}}
/* ==== assets/yamforge-ranks-v1.css ==== */
.fr-nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.fr-nav a,.fr-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink);text-decoration:none;font-size:14px;font-weight:650}.fr-nav a[aria-current]{background:var(--accent);color:var(--accent-ink,#fff);border-color:var(--accent)}.fr-nav svg{width:19px;height:19px}.fr-badge{color:var(--accent);background:var(--soft);font-size:12px;padding:5px 9px;line-height:1.35}.fr-badge svg{width:18px;height:18px;flex:none}.fr-hero{display:flex;align-items:center;gap:24px;padding:28px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(120deg,var(--soft),var(--panel));margin:22px 0}.fr-hero h2{font-size:32px;margin:6px 0}.fr-hero small,.fr-hero p,.fr-tier p,.fr-panel p,.fr-info p{color:var(--muted);line-height:1.65}.fr-hero p{margin:0}.fr-hero p span{margin:0 8px}.fr-emblem{display:grid;place-items:center;flex:none;width:72px;height:72px;border-radius:22px;color:var(--accent);border:1px solid var(--line);background:var(--panel);box-shadow:inset 0 -5px 0 color-mix(in srgb,var(--accent) 10%,transparent)}.fr-emblem svg{width:38px;height:38px}.fr-next{margin-inline-start:auto;min-width:220px;max-width:340px;flex:1}.fr-next strong{display:block;line-height:1.5}.fr-next progress{width:100%;height:9px;accent-color:var(--accent);margin:12px 0 6px}.fr-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fr-tier{display:flex;flex-wrap:wrap;align-items:center;gap:14px;background:var(--panel);border:1px solid var(--line);padding:20px;border-radius:18px}.fr-tier .fr-emblem{width:56px;height:56px;border-radius:17px}.fr-tier .fr-emblem svg{width:29px;height:29px}.fr-tier h2{font-size:19px;margin:0}.fr-tier p{margin:5px 0 0;font-size:13px}.fr-status{padding:5px 9px;background:var(--soft);border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted)}.fr-current{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent)}.fr-current .fr-status{color:var(--accent)}.fr-info,.fr-panel{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--panel);margin:22px 0}.fr-info h2,.fr-panel h2{font-size:22px;margin:0 0 10px}.fr-panel-head{display:flex;align-items:center;gap:24px}.fr-panel-head>div:first-child{flex:1}.fr-position{display:grid;text-align:center;gap:5px;min-width:120px;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--soft);color:var(--accent)}.fr-position strong{font-size:32px}.fr-position small{color:var(--muted)}.fr-table{overflow-x:auto;border:1px solid var(--line);border-radius:14px}.fr-table table{width:100%;border-collapse:collapse;min-width:560px}.fr-table th,.fr-table td{text-align:start;padding:16px;border-bottom:1px solid var(--line)}.fr-table th{background:var(--soft);color:var(--muted);font-size:12px;letter-spacing:.5px}.fr-table tr:last-child td{border-bottom:0}.fr-table td{font-size:15px}.fr-table a{color:var(--accent);font-weight:650}.fr-you{background:var(--soft)}.fr-place{display:inline-flex;align-items:center;gap:8px;font-weight:750}.fr-place svg{width:20px;height:20px}.fr-podium{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--accent)}.fr-place-1{box-shadow:inset 3px 0 0 #c49b3c}.fr-place-2{box-shadow:inset 3px 0 0 #8c9bb5}.fr-place-3{box-shadow:inset 3px 0 0 #b37a58}.fr-consent{display:flex;align-items:center;gap:12px;font-weight:650}.fr-consent input{width:19px;height:19px;accent-color:var(--accent);flex:none}.fr-empty{text-align:center;padding:30px}.fr-empty>svg{width:38px;height:38px;color:var(--accent)}.fr-tier-legend,.fr-tier-grandmaster{background:linear-gradient(135deg,var(--soft),var(--panel));border-color:var(--accent)}.fr-tier-master svg,.fr-tier-legend svg{filter:drop-shadow(0 3px 5px color-mix(in srgb,var(--accent) 25%,transparent))}#account-menu-panel .account-identity-badges .fr-badge{font-size:11px;padding:4px 7px;border-radius:7px}#account-menu-panel .account-identity-badges .fr-badge svg{width:15px;height:15px}.fr-badge:hover,.fr-nav a:hover{border-color:var(--accent)}
@media(max-width:1000px){.fr-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}.fr-hero{flex-wrap:wrap}.fr-next{flex-basis:100%;max-width:none;margin-inline-start:0}}
@media(max-width:600px){.fr-tiers{grid-template-columns:1fr}.fr-hero{padding:20px;gap:16px}.fr-hero h2{font-size:26px}.fr-hero>.fr-emblem{width:58px;height:58px}.fr-info,.fr-panel{padding:16px}.fr-panel-head{flex-direction:column;align-items:stretch}.fr-position{display:flex;align-items:center;justify-content:space-between}.fr-position strong{font-size:24px}.fr-nav a{font-size:13px}.fr-next{min-width:0}}
/* ==== assets/yamforge-policy-v1.css ==== */
.pf-wrap{max-width:1250px;margin:0 auto}.pf-nav{display:flex;flex-wrap:wrap;gap:9px;margin:5px 0 22px}.pf-nav a{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink);padding:11px 14px;text-decoration:none;font-size:14px;font-weight:650}.pf-nav svg{width:18px;height:18px;flex:none}.pf-nav a[aria-current]{color:var(--accent);border-color:var(--accent);background:var(--soft)}.pf-hero{position:static;top:auto;z-index:auto;display:flex;align-items:flex-start;gap:22px;padding:30px;min-height:0;margin:0 0 24px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(130deg,var(--soft),var(--panel));box-shadow:none;backdrop-filter:none}.pf-hero small{font-size:11px;letter-spacing:2px;color:var(--accent);font-weight:750}.pf-hero h1{font-size:clamp(28px,3vw,42px);margin:8px 0 10px;line-height:1.15}.pf-hero p{margin:0 0 14px;max-width:70ch;color:var(--muted);line-height:1.7}.pf-icon{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:var(--soft);color:var(--accent)}.pf-icon svg{width:23px;height:23px}.pf-hero>.pf-icon{width:60px;height:60px;border-radius:18px;background:var(--panel)}.pf-hero>.pf-icon svg{width:32px;height:32px}.pf-date{display:inline-block;font-size:12px;color:var(--muted)}.pf-document{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start}.pf-toc{position:sticky;top:110px;display:grid;gap:7px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.pf-toc strong{font-size:12px;color:var(--muted);margin-bottom:7px}.pf-toc a{font-size:13px;line-height:1.5;padding:9px;border-radius:8px;color:var(--ink);text-decoration:none}.pf-toc a:hover{background:var(--soft);color:var(--accent)}.pf-body{display:grid;gap:18px;min-width:0}.pf-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--panel);scroll-margin-top:120px}.pf-card-title{display:flex;align-items:center;gap:14px;margin-bottom:14px}.pf-card h2,.pf-contact h2{font-size:21px;line-height:1.35;margin:0}.pf-card-title h2{flex:1}.pf-number{font-size:12px;font-weight:750;color:var(--muted)}.pf-card p,.pf-contact p{font-size:15px;line-height:1.85;color:var(--muted);max-width:78ch;margin:12px 0 0;overflow-wrap:anywhere}.pf-contact{display:flex;gap:16px;align-items:flex-start;padding:24px;background:var(--soft);border:1px solid var(--line);border-radius:18px}.pf-contact a{display:inline-block;margin-top:12px;color:var(--accent);overflow-wrap:anywhere}.pf-settings{max-width:900px;margin:auto}.pf-settings fieldset{border:0;padding:0;margin:0;min-width:0}.pf-setting{display:flex;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid var(--line)}.pf-setting>div{flex:1;min-width:0}.pf-setting h3,.pf-setting label{display:block;font-size:16px;line-height:1.5;margin:0;font-weight:700}.pf-setting p{font-size:14px;margin:6px 0 0}.pf-setting input{width:21px;height:21px;accent-color:var(--accent);flex:none}.pf-tag{font-size:11px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--muted)}.pf-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.pf-actions button{min-height:42px}.pf-settings [data-pf-status]{min-height:24px;color:var(--accent);font-weight:650}.yf-site-footer{flex-wrap:wrap;gap:16px 24px;align-items:center}.pf-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;flex-basis:100%;order:8;border-top:1px solid var(--line);padding-top:18px}.pf-footer-links a{display:inline-flex;align-items:center;gap:7px;padding:6px 0;font-size:13px;color:var(--muted);text-decoration:none}.pf-footer-links svg{width:16px;height:16px;color:var(--accent)}.pf-footer-links a:hover,.pf-footer-links a[aria-current]{color:var(--accent)}
@media(max-width:850px){.pf-document{grid-template-columns:1fr}.pf-toc{position:static;display:flex;flex-wrap:wrap;gap:5px}.pf-toc strong{flex-basis:100%}.pf-toc a{font-size:12px;padding:6px 8px}.pf-hero{padding:22px}}
@media(max-width:520px){.pf-hero{gap:14px;padding:20px}.pf-hero>.pf-icon{width:42px;height:42px}.pf-hero>.pf-icon svg{width:24px;height:24px}.pf-card,.pf-contact{padding:18px}.pf-card h2,.pf-contact h2{font-size:19px}.pf-card-title{gap:10px}.pf-setting{flex-wrap:wrap;gap:12px}.pf-setting>.pf-icon{width:34px;height:34px}.pf-setting>div{flex-basis:65%}.pf-nav a{font-size:12px;padding:9px 11px}.pf-footer-links{justify-content:flex-start;gap:7px 16px}}

.yf-ownership-title{display:flex;align-items:center;gap:10px}.yf-ownership-title>svg{width:23px;height:23px;color:var(--accent)}.yf-ownership-title h3{margin:0;flex:1}.yf-owner-card{display:flex;gap:14px;align-items:center;padding:16px;margin:16px 0;background:var(--soft);border:1px solid var(--line);border-radius:14px}.yf-owner-card>div{display:grid;gap:5px}.yf-owner-card a{font-size:20px;font-weight:750;color:var(--accent);overflow-wrap:anywhere}.yf-owner-card small,.yf-owner-card span,.yf-owner-privacy{color:var(--muted);font-size:12px}.yf-ownership form{display:grid;gap:14px;max-width:560px;margin:18px 0}.yf-ownership .fr-consent{font-size:13px}

/* Yamkage footer: support links belong inside the same premium footer card. */
.yf-site-footer.yf-footer-card{display:flex;flex-direction:column;align-items:stretch;gap:0;max-width:calc(100% - 36px);margin:28px auto 26px;padding:0 22px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 10px 32px rgba(35,27,70,.055);overflow:hidden}
.yf-footer-card .yf-footer-main{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;width:100%;padding:19px 0}
.yf-footer-card .yf-footer-main>.yf-brand{flex-shrink:0}
.yf-footer-card .yf-footer-main>span{margin-right:auto}
.yf-footer-card .yf-footer-main form{margin:0}
.yf-footer-card .pf-footer-links{order:initial;flex-basis:auto;width:100%;margin:0;padding:14px 0 16px;border-top:1px solid var(--line);justify-content:flex-start;gap:8px 24px}
.yf-footer-card .pf-footer-links a{padding:6px 0;white-space:nowrap;transition:color .18s ease}
@media(max-width:760px){.yf-site-footer.yf-footer-card{max-width:calc(100% - 24px);padding:0 16px}.yf-footer-card .yf-footer-main{gap:12px}.yf-footer-card .yf-footer-main>span{flex-basis:100%;margin-right:0}.yf-footer-card .pf-footer-links{gap:6px 16px}}

/* Footer alignment hotfix: preserve original horizontal header layout. */
body .yf-site-footer.yf-footer-card{display:block;box-sizing:border-box;width:min(1250px,calc(100% - 36px));max-width:1250px;margin:28px auto 26px;padding:0 22px}
body .yf-site-footer.yf-footer-card .yf-footer-main{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:100%;gap:14px;padding:18px 0}
body .yf-site-footer.yf-footer-card .yf-footer-main>.yf-brand{flex:0 0 auto}
body .yf-site-footer.yf-footer-card .yf-footer-main>span{flex:1 1 auto;min-width:0;margin:0}
body .yf-site-footer.yf-footer-card .yf-footer-main>form,body .yf-site-footer.yf-footer-card .yf-footer-main>.ex-accessibility-footer{flex:0 0 auto;margin:0}
body .yf-site-footer.yf-footer-card .yf-footer-main .yi-language-picker,body .yf-site-footer.yf-footer-card .yf-footer-main select{max-width:190px}
body .yf-site-footer.yf-footer-card .pf-footer-links{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;width:100%;margin:0;padding:14px 0 16px;border-top:1px solid var(--line)}
@media(max-width:900px){body .yf-site-footer.yf-footer-card .yf-footer-main{flex-wrap:wrap}body .yf-site-footer.yf-footer-card .yf-footer-main>span{flex-basis:calc(100% - 220px)}}
@media(max-width:520px){body .yf-site-footer.yf-footer-card{width:calc(100% - 24px);padding:0 14px}body .yf-site-footer.yf-footer-card .yf-footer-main>span{flex-basis:100%}body .yf-site-footer.yf-footer-card .pf-footer-links{justify-content:flex-start}}

/* Footer v10: explicit identity/actions groups; no inherited flex conflicts. */
body .yf-site-footer.yf-footer-card{display:block!important;box-sizing:border-box;width:min(1250px,calc(100% - 36px));max-width:1250px;margin:28px auto 26px;padding:0 22px;border:1px solid var(--line);border-radius:18px;background:var(--panel);overflow:visible}
body .yf-site-footer.yf-footer-card>.yf-footer-main{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:18px 0!important;width:100%;box-sizing:border-box}
body .yf-site-footer .yf-footer-identity{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 auto}
body .yf-site-footer .yf-footer-identity>.yf-brand{display:inline-flex;align-items:center;flex:0 0 auto}
body .yf-site-footer .yf-footer-identity>span{color:var(--muted);font-size:12px;white-space:normal}
body .yf-site-footer .yf-footer-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:14px;flex:0 0 auto;min-width:0}
body .yf-site-footer .yf-footer-actions form{margin:0!important;flex:0 0 auto}
body .yf-site-footer .yf-footer-actions>.ex-accessibility-footer{white-space:nowrap;flex:0 0 auto}
body .yf-site-footer .yf-footer-actions .yi-language-picker{width:auto;max-width:200px}
body .yf-site-footer .yf-footer-actions select{max-width:200px}
body .yf-site-footer.yf-footer-card>.pf-footer-links{display:flex!important;flex-flow:row wrap!important;justify-content:center!important;align-items:center!important;gap:8px 20px;border-top:1px solid var(--line);padding:14px 0 16px;margin:0;width:100%;box-sizing:border-box}
@media(max-width:850px){body .yf-site-footer.yf-footer-card>.yf-footer-main{flex-wrap:wrap!important}body .yf-site-footer .yf-footer-identity{flex-basis:100%}body .yf-site-footer .yf-footer-actions{width:100%;justify-content:flex-start!important;flex-wrap:wrap!important}}
@media(max-width:520px){body .yf-site-footer.yf-footer-card{width:calc(100% - 24px);padding:0 14px}body .yf-site-footer .yf-footer-identity{flex-wrap:wrap}body .yf-site-footer.yf-footer-card>.pf-footer-links{justify-content:flex-start!important}}

/* Full-width footer card: preserve two-row layout and responsive gutters. */
body .yf-site-footer.yf-footer-card {
  width: calc(100% - 48px) !important;
  max-width: none !important;
  margin-left: 24px !important;
  margin-right: 24px !important;
}
@media (max-width: 600px) {
  body .yf-site-footer.yf-footer-card {
    width: calc(100% - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
}

/* Footer edge-to-edge, aligned with the site header; no floating card or bottom gap. */
html body .yf-site-footer.yf-footer-card {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 28px 0 0 !important;
  padding: 0 clamp(18px, 4vw, 80px) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body .yf-site-footer.yf-footer-card > .yf-footer-main,
html body .yf-site-footer.yf-footer-card > .pf-footer-links {
  max-width: none !important;
}
@media (max-width: 600px) {
  html body .yf-site-footer.yf-footer-card {
    width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 0 16px !important;
  }
}

/* Yamkage footer: viewport breakout (not just 100% of its padded parent). */
html { overflow-x: clip; }
html body .yf-site-footer.yf-footer-card {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  box-sizing: border-box !important;
  margin: 28px 0 0 !important;
  padding: 0 clamp(18px, 4vw, 80px) !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body .yf-site-footer.yf-footer-card > .yf-footer-main {
  width: 100% !important;
  max-width: none !important;
}
html body .yf-site-footer.yf-footer-card > .pf-footer-links {
  width: 100% !important;
  max-width: none !important;
}
@media (max-width: 600px) {
  html body .yf-site-footer.yf-footer-card {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Footer legal links: improved readability on both light and dark themes. */
html body .yf-site-footer.yf-footer-card > .pf-footer-links a {
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 550;
  gap: 9px;
  padding: 9px 2px;
}
html body .yf-site-footer.yf-footer-card > .pf-footer-links svg {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 19px;
}
html body .yf-site-footer.yf-footer-card > .pf-footer-links {
  column-gap: 24px !important;
  row-gap: 6px !important;
}
@media (max-width: 600px) {
  html body .yf-site-footer.yf-footer-card > .pf-footer-links a {font-size: 14px !important;}
  html body .yf-site-footer.yf-footer-card > .pf-footer-links svg {width: 18px !important;height: 18px !important;flex-basis:18px;}
}
