/* /trade/chart: the explanation page is plain server HTML; the TradingView tool (moved from
   the home page) stays hidden until CHART ON adds home-page + home-chart-mode to <body>,
   which switches on the existing full-screen chart layout from site.css / site-menu.css. */
body:not(.home-chart-mode) .multi-chart-stage{display:none}
/* Owner 2026-11-21: with the chart ON, the whole page guide follows below the charts; only
   its hero (CHART ON, image) and the closing CHART ON call are left out there. */
body.home-chart-mode .multi-chart-tool~.pp :is(.pp-crumbs,.pp-hero,.pp-final){display:none}
/* No news bar on this page, so the chart reserves no space for one. */
body.multi-chart-page{--home-chart-news-height:0px}
.multi-chart-page .multi-chart-stage{background:#02070c}

.pp button.pp-cta{border:0;font-family:var(--pp-body);cursor:pointer}
/* CHART ON uses the shared glowing gold .pp-cta from public-pages.css (owner 2026-11-21). */
.multi-chart-text p{max-width:860px;margin:0 0 16px;color:var(--pp-text)}
.multi-chart-note{max-width:860px;margin:0 0 18px;color:var(--pp-text)}
.multi-chart-pairs,.multi-chart-list{max-width:860px;margin:0 0 20px;padding:0;list-style:none;display:grid;gap:12px}
.multi-chart-pairs li{padding:16px 18px;border:1px solid var(--pp-line);border-left:2px solid var(--pp-gold);border-radius:4px;background:var(--pp-panel)}
.multi-chart-pairs strong{display:block;color:var(--pp-ink);font-size:16px}
.multi-chart-pairs span{display:block;margin-top:6px;color:var(--pp-text);font-size:14px;line-height:1.8}
.multi-chart-list li{position:relative;padding-left:20px;color:var(--pp-text)}
.multi-chart-list li::before{content:"";position:absolute;left:2px;top:.8em;width:7px;height:7px;border-radius:50%;background:var(--pp-gold)}
.multi-chart-table-wrap{max-width:100%;margin:0 0 18px;overflow-x:auto;border:1px solid var(--pp-line);border-radius:4px}
.multi-chart-table{width:100%;min-width:560px;border-collapse:collapse;font-size:14px}
.multi-chart-table th,.multi-chart-table td{padding:10px 14px;border-bottom:1px solid var(--pp-line);text-align:left;vertical-align:top}
.multi-chart-table thead th{color:var(--pp-gold);font-family:var(--pp-display);font-size:12px;letter-spacing:.08em;background:var(--pp-panel)}
.multi-chart-table tbody th{color:var(--pp-ink);white-space:nowrap}
.multi-chart-table td{color:var(--pp-text)}
.multi-chart-table td:first-child{white-space:nowrap}
.multi-chart-table tbody tr:last-child>*{border-bottom:0}
.multi-chart-table code{color:var(--pp-muted);font-size:12.5px;white-space:nowrap}
.multi-chart-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.multi-chart-steps li{padding:20px;border:1px solid var(--pp-line);border-radius:4px;background:var(--pp-panel)}
.multi-chart-steps b{display:block;color:var(--pp-gold);font-family:var(--pp-display);font-size:11px;letter-spacing:.2em}
.multi-chart-steps strong{display:block;margin-top:8px;color:var(--pp-ink);font-size:17px;line-height:1.5}
.multi-chart-steps span{display:block;margin-top:8px;color:var(--pp-text);font-size:14px;line-height:1.8}
.multi-chart-credit{font-size:13px;color:var(--pp-muted)!important}
.multi-chart-credit a{color:var(--pp-gold-hi)}
@media(max-width:900px){.multi-chart-steps{grid-template-columns:minmax(0,1fr)}}

/* Owner 2026-11-21, pattern A (AdSense-safe guide column, every layout 1/2/4/4W/6/6W/8W):
   - The charts keep one fixed screen (the stage is 100dvh); wheel/swipe on them drive the charts.
   - The guide (.multi-chart-side) never scrolls inside itself: no overflow auto/scroll, no
     sticky/fixed. >=1200px it sits right of the charts with the same top and height (24 px gap
     plus a rule); <=1199px it follows below the charts in normal page flow.
   - Its slot keeps room for one ad unit after approval (empty now: no label, no border).
   - The full page guide (.pp) follows below the charts in normal page scroll. */
.multi-chart-side{display:none}
.multi-chart-side h2{margin:0 0 10px;color:#f3d48a;font:800 15px/1.4 'Noto Sans JP',sans-serif}
.multi-chart-side h2 small{display:block;margin-bottom:2px;color:#8fa3ab;font:700 10px/1.4 Manrope,sans-serif;letter-spacing:.18em}
/* Owner 2026-11-21: LATEST BLOG — three articles (category, date, title, a two-line summary). */
.multi-chart-latest{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.multi-chart-latest li{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}
.multi-chart-latest-meta{margin:0 0 3px;display:flex;align-items:center;gap:8px;color:#8fa3ab;font:500 11px/1.4 'Noto Sans JP',sans-serif}
.multi-chart-latest-meta span{padding:1px 6px;border:1px solid rgba(215,173,83,.5);border-radius:3px;color:#e1bd68}
.multi-chart-latest-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#eef3f5;font:700 13px/1.45 'Noto Sans JP',sans-serif;text-decoration:none}
.multi-chart-latest-title:hover,.multi-chart-latest-title:focus-visible{color:#f3d48a;text-decoration:underline}
.multi-chart-latest-excerpt{margin:3px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#a9b9bf;font:400 12px/1.5 'Noto Sans JP',sans-serif}
.multi-chart-latest-empty{color:#a9b9bf;font-size:12px}
.multi-chart-side .multi-chart-side-note{margin:8px 0 0;color:#8fa3ab;font:400 11.5px/1.5 'Noto Sans JP',sans-serif}
.multi-chart-side-note a{color:#e1bd68}
.multi-chart-latest-all{display:inline-block;margin-top:10px;color:#e1bd68;font:700 12px/1.4 'Noto Sans JP',sans-serif;text-decoration:none}
.multi-chart-latest-all:hover,.multi-chart-latest-all:focus-visible{text-decoration:underline}
/* At least 24 px between the links and the (future) ad slot, against mistaken clicks. */
.multi-chart-side-text{margin-bottom:24px}
/* The guide's link jumps to the page guide below; keep its heading clear of the fixed header. */
body.home-chart-mode #multi-chart-what{scroll-margin-top:120px}
/* The page itself scrolls again on this page (home-chart-focus.css locks it for the old home chart). */
html:has(>body.multi-chart-page.home-page.home-chart-mode){overflow-x:hidden;overflow-y:auto;overscroll-behavior:auto}
body.multi-chart-page.home-page.home-chart-mode{overflow:visible;overflow-x:hidden}
@media (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 /* Phone landscape keeps the full-screen fixed chart, so the page stays locked there. */
 html:has(>body.multi-chart-page.home-page.home-chart-mode){overflow:hidden}
}
body.multi-chart-page.home-chart-mode .multi-chart-tool{position:relative}
body.multi-chart-page.home-chart-mode .multi-chart-side{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;overflow:visible;background:#02070c}
body.multi-chart-page.home-chart-mode .multi-chart-side-slot{flex:none;min-height:250px}
/* Beside the charts (.multi-chart-side-beside, set by the chart script): 1200px and wider, and on
   any mouse-driven screen 640px and wider, so browser zoom (which narrows the CSS width) never
   drops the guide below the charts (owner 2026-11-21). One grid row: the stage (one screen)
   spans it, the guide sits in the right quarter from the chart area's top (--multi-chart-top).
   A guide taller than the charts grows the row downwards; nothing is clipped or scrolled. */
/* Owner 2026-11-21: the guide column is 25 % but never wider than 360px (room for a 300px ad
   unit); on bigger screens the charts take the extra width. */
body.multi-chart-page.home-chart-mode.multi-chart-side-beside .multi-chart-tool{display:grid;grid-template-columns:minmax(0,1fr) min(calc((100% - 24px) / 4), 360px);column-gap:24px}
body.multi-chart-page.home-chart-mode.multi-chart-side-beside .multi-chart-stage{grid-column:1 / -1;grid-row:1;align-self:start}
body.multi-chart-page.home-chart-mode.multi-chart-side-beside .home-tradingview-chart{right:calc(min(calc((100% - 24px) / 4), 360px) + 24px)}
body.multi-chart-page.home-chart-mode.multi-chart-side-beside .multi-chart-side{grid-column:2;grid-row:1;align-self:start;position:relative;z-index:2;margin-top:var(--multi-chart-top,90px);min-height:calc(var(--multi-chart-screen-h,100dvh) - var(--multi-chart-top,90px));padding:16px 20px 16px 24px;border-left:1px solid rgba(215,173,83,.45)}
body.multi-chart-page.home-chart-mode.multi-chart-side-beside .multi-chart-side-slot{margin-top:auto}
@media(max-width:1199px){
 body.multi-chart-page.home-chart-mode.multi-chart-side-beside .multi-chart-side{padding:12px 12px 12px 16px}
}
@media(min-width:640px) and (max-height:800px){
 body.multi-chart-page.home-chart-mode .multi-chart-side-slot{min-height:200px}
}
/* Owner 2026-11-21: 12-13px type; a little smaller up to 1440px (also when zoomed in). */
@media(max-width:1440px){
 .multi-chart-latest-title{font-size:12.5px}
 .multi-chart-latest-excerpt{font-size:11.5px;line-height:1.45}
}
/* Below the charts (phones, tablets): the guide follows them in the page. */
body.multi-chart-page.home-chart-mode:not(.multi-chart-side-beside) .multi-chart-side{padding:24px 16px 32px;border-top:1px solid rgba(215,173,83,.45)}
/* Owner 2026-11-21: with a mouse, the wheel over the charts (TradingView's tool bars included)
   never moves the page. A scroll from inside a chart iframe chains to the nearest scroll
   container, so the chart area is one (1 px of overflow) that keeps the scroll to itself.
   Touch keeps chaining so phones and tablets can still reach the guide below. */
@media (hover:hover) and (pointer:fine){
 body.multi-chart-page.home-chart-mode .home-tradingview-chart{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
 body.multi-chart-page.home-chart-mode .home-tradingview-chart::-webkit-scrollbar{display:none}
 body.multi-chart-page.home-chart-mode .home-tradingview-chart::after{content:"";position:absolute;left:0;top:100%;width:1px;height:1px;pointer-events:none}
}
/* Owner 2026-11-21: with 3M and Y the toolbar (~900px) no longer fits in the header between the
   brand and the account/menu below 1560px, so there it takes its own row under the header
   (the layout the site already uses for 780-1099px) instead of being cut off. */
@media(min-width:1100px) and (max-width:1559px){
 body.multi-chart-page.home-page.home-chart-mode .home-chart-controls{
  top:90px!important;left:0!important;right:0!important;height:52px;min-height:52px;
  padding:6px 22px;background:#080d12;border-top:1px solid #ffffff16;border-bottom:1px solid #ffffff25;
  flex-wrap:nowrap;overflow:visible;
 }
 body.multi-chart-page.home-page.home-chart-mode .home-tradingview-chart{top:142px!important}
}
/* "12画面 W" needs a little more room than "8画面 W" in the layout select. */
body.multi-chart-page.home-page .home-chart-layout-control{width:140px;flex:0 0 140px}
/* Shorter screens (<=800px tall): tighter list spacing so three articles, the 24 px gap and a
   200 px ad slot still fit beside the charts. */
@media(min-width:640px) and (max-height:800px){
 .multi-chart-side h2{margin-bottom:6px;font-size:14px}
 .multi-chart-side h2 small{display:inline;margin:0 8px 0 0}
 .multi-chart-latest{gap:7px}
 .multi-chart-latest li{padding-bottom:7px}
 .multi-chart-latest-excerpt{margin-top:2px;line-height:1.4}
 .multi-chart-latest-all{margin-top:6px}
 body.multi-chart-page.home-chart-mode.multi-chart-side-beside .multi-chart-side{padding-top:12px;padding-bottom:12px}
}
@media(min-width:640px) and (max-height:800px){
 .multi-chart-latest{gap:5px}
 .multi-chart-latest li{padding-bottom:5px}
 .multi-chart-side .multi-chart-side-note{margin-top:5px;font-size:11px;line-height:1.4}
}
@media(min-width:640px) and (max-width:1440px) and (max-height:800px){
 /* Keep the heading on one line in the narrow column. */
 .multi-chart-side h2 small{display:none}
}
/* Owner 2026-11-21: browser zoom must not enlarge the chart screen. While the chart is ON the
   chart script undoes the page zoom (html zoom = 1 / browser zoom); viewport units are scaled by
   zoom, so the one-screen stage uses --multi-chart-screen-h (the real screen height) instead. */
body.multi-chart-page.home-page.home-chart-mode .multi-chart-stage{height:var(--multi-chart-screen-h,100dvh)}
/* Zoomed in far (200 %+ on a 1080p screen) the CSS viewport becomes "phone landscape" sized
   (<=500px tall), which switches on the phone's full-screen chart (no header, no toolbar, fixed
   chart). With the zoom undone on a computer, keep the normal chart page instead. */
@media (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 html.multi-chart-zoom-undone:has(>body.multi-chart-page.home-page.home-chart-mode){overflow-x:hidden;overflow-y:auto}
 html.multi-chart-zoom-undone body.multi-chart-page.home-page.home-chart-mode .site-header.site-header--menu-only{display:flex!important}
 html.multi-chart-zoom-undone body.multi-chart-page.home-page.home-chart-mode .home-chart-controls{display:flex!important}
 html.multi-chart-zoom-undone body.multi-chart-page.home-page.home-chart-mode .home-tradingview-chart{position:absolute;inset:162px 0 0 0!important;width:auto;height:auto}
 html.multi-chart-zoom-undone body.multi-chart-page.home-page.home-chart-mode.multi-chart-side-beside .home-tradingview-chart{inset:162px calc(min(calc((100% - 24px) / 4), 360px) + 24px) 0 0!important}
}
@media (orientation:landscape) and (max-height:500px) and (min-width:780px) and (max-width:1100px){
 html.multi-chart-zoom-undone body.multi-chart-page.home-page.home-chart-mode .home-tradingview-chart{top:142px!important}
}

/* Owner 2026-11-21: with the zoom undone the header and toolbar keep the real screen's layout
   (the breakpoints only see the zoomed CSS width). Values = the 100 % layout at that width. */
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .site-header{display:flex!important;height:90px!important;padding-inline:var(--multi-chart-header-pad,2.2vw)!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .site-header .brand{max-width:270px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .site-header .brand img{width:54px!important;height:54px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .site-header .brand>span,html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .site-header .brand em{font-size:17px!important;line-height:20.4px!important;letter-spacing:.425px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .site-header .nav-toggle{width:64px!important;height:64px!important;flex:0 0 64px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .site-header .sign-in{padding:8px 13px!important;font-size:13px!important;line-height:16.25px!important;letter-spacing:.26px!important;max-width:320px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-controls{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-market-controls{flex:0 0 auto!important;width:auto!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode :is(.home-chart-switch,.home-indicator-button){height:42px!important;min-height:42px!important;padding-inline:11px!important;font-size:12px!important;line-height:12px!important;justify-content:normal!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode :is(.home-chart-switch,.home-indicator-button)>span{display:block!important;font-size:12px!important;line-height:12px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-layout-control{height:38px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-layout-select{height:40px!important;width:140px!important;font-size:12px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-symbol-select{height:40px!important;padding-inline:5px!important;flex:0 1 auto!important;min-width:0!important;max-width:none!important;font-size:12px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-intervals button{height:40px!important;font-size:12px!important;line-height:12px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-tradingview-chart{position:absolute!important}
html.multi-chart-zoom-undone.multi-chart-zoom-header body.multi-chart-page.home-page.home-chart-mode .home-chart-controls{top:19px!important;left:310px!important;right:300px!important;height:56px!important;min-height:56px!important;padding:6px 0!important;gap:7px!important;background:transparent!important;border:0!important;overflow-x:auto!important}
html.multi-chart-zoom-undone.multi-chart-zoom-header body.multi-chart-page.home-page.home-chart-mode .home-chart-market-controls{gap:5px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-header body.multi-chart-page.home-page.home-chart-mode .home-chart-symbol-select{width:132px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-header body.multi-chart-page.home-page.home-chart-mode .home-chart-intervals{gap:3px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-header body.multi-chart-page.home-page.home-chart-mode .home-chart-intervals button{padding-inline:6px!important;min-width:30px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-header body.multi-chart-page.home-page.home-chart-mode .home-tradingview-chart{top:90px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-row body.multi-chart-page.home-page.home-chart-mode .home-chart-controls{top:90px!important;left:0!important;right:0!important;height:52px!important;min-height:52px!important;padding:6px 22px!important;gap:4px!important;background:#080d12!important;border:0!important;border-top:1px solid #ffffff16!important;border-bottom:1px solid #ffffff25!important;overflow:visible!important}
html.multi-chart-zoom-undone.multi-chart-zoom-row body.multi-chart-page.home-page.home-chart-mode .home-chart-market-controls{gap:4px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-row body.multi-chart-page.home-page.home-chart-mode .home-chart-symbol-select{width:108px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-row body.multi-chart-page.home-page.home-chart-mode .home-chart-intervals{gap:1px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-row body.multi-chart-page.home-page.home-chart-mode .home-chart-intervals button{padding-inline:3px!important;min-width:26px!important}
html.multi-chart-zoom-undone.multi-chart-zoom-row body.multi-chart-page.home-page.home-chart-mode .home-tradingview-chart{top:142px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-focus-bar{padding-inline:10px!important;gap:10px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-focus-bar span:not(.home-chart-focus-action){flex:0 1 auto!important;font-size:13px!important;letter-spacing:.78px!important;line-height:15.6px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-tradingview-widgets{gap:2px!important}
html.multi-chart-zoom-undone:is(.multi-chart-zoom-header,.multi-chart-zoom-row) body.multi-chart-page.home-page.home-chart-mode .home-chart-wide-pager button{font-size:20px!important;line-height:20px!important}

/* Hero image: same file and frame as the home CHART / 01 card (home-feature-cards.css), no inner box. */
.pp .multi-chart-visual{padding:0;overflow:hidden;border-color:rgba(255,255,255,.29);border-radius:12px;background:transparent;box-shadow:0 16px 40px rgba(0,0,0,.36)}
.pp .multi-chart-visual img{border-radius:0}
.pp .multi-chart-visual::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(145deg,rgba(255,255,255,.1),transparent 34%,rgba(255,220,146,.035) 75%,transparent);box-shadow:inset 0 1px rgba(255,231,171,.34),inset 0 -1px rgba(236,192,103,.22)}
@media(max-width:779px){.pp .multi-chart-visual{border-radius:8px}}
