/*
Theme Name: Pi Network Journal
Description: pinetwork.jp向けの日本語情報サイト。Pi Network Updaterと連携する独自テーマ。
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: pi-network-journal
*/
:root{--ink:#24222b;--purple:#54247e;--deep:#341650;--gold:#ffd58c;--muted:#656270;--line:#e3e1e8;--pale:#f5f4f8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.85;background:#fff}a{color:inherit;text-decoration:none}a:hover{color:var(--purple)}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b17ddb;outline-offset:5px}h1,h2,h3,p{margin-top:0}h2{font-size:clamp(27px,3vw,40px);line-height:1.55;letter-spacing:.02em}h3{line-height:1.6}img{max-width:100%;height:auto}.site-header{min-height:100px;padding:20px 4.5%;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:13px;line-height:1.2;font-size:25px;font-weight:700;letter-spacing:-.03em}.brand small{display:block;font-size:10px;letter-spacing:.16em;margin-top:8px;font-weight:600}.brand-mark{width:46px;height:46px;display:grid;place-items:center;background:var(--purple);color:var(--gold);border-radius:50%;font:bold 40px Georgia}.site-header nav{display:flex;gap:34px;font-weight:700;font-size:14px}.site-header nav a:last-child{color:var(--purple)}.menu-toggle{display:none}.skip{position:absolute;left:10px;top:-100px;background:white;padding:10px;z-index:50}.skip:focus{top:5px}.hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:560px}.hero-copy{padding:75px 8% 50px 9%}.eyebrow{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.15em;font-weight:700;color:var(--purple);margin-bottom:22px}.hero h1{font-size:clamp(36px,4.2vw,62px);line-height:1.55;letter-spacing:.025em;margin-bottom:25px}.hero-intro{font-size:16px;line-height:2.1;color:var(--muted)}.button{display:inline-flex;gap:50px;align-items:center;background:var(--purple);color:#fff;padding:15px 25px;border-radius:3px;margin-top:16px;font-weight:700;font-size:14px}.button:hover{background:var(--deep);color:#fff}.hero-foot{font-size:12px;color:var(--muted);margin-top:24px;margin-bottom:0}.hero-panel{background:var(--purple);color:#fff;position:relative;overflow:hidden;padding:32px 40px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#341650 0%,#653390 80%,#76489c 100%)}.panel-top,.panel-bottom{display:flex;justify-content:space-between;gap:20px;position:relative;z-index:1}.panel-top{font:11px Arial;letter-spacing:.13em;opacity:.85}.pi-type{text-align:center;font:italic 340px/.85 Georgia,serif;color:var(--gold);margin:-10px 0 5px;letter-spacing:-.08em}.panel-bottom p{font-size:20px;font-weight:600;line-height:1.7;margin:0}.panel-bottom>span{font:11px/1.6 Arial;letter-spacing:.14em;align-self:end}.notice{padding:22px 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:35px;font-size:14px}.notice-label{font:700 12px Arial;color:var(--purple);letter-spacing:.12em}.notice a{display:flex;flex:1;justify-content:space-between;gap:15px}.section{padding:76px 5%;max-width:1500px;margin:auto}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:32px}.section-heading .eyebrow{margin-bottom:12px}.section-heading h2{margin-bottom:0}.section-heading>p{font-size:14px;color:var(--muted);margin:0}.text-link{font-weight:700;font-size:14px;border-bottom:1px solid var(--line);padding-bottom:7px}.market-section{background:#faf9fc;max-width:none}.market-card{background:#fff;display:grid;grid-template-columns:360px 1fr;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 35px #33154e05}.quote-summary{padding:30px;border-right:1px solid var(--line)}.coin-heading{display:flex;gap:12px;align-items:center}.coin-icon{font:30px Georgia;background:var(--purple);color:var(--gold);width:40px;height:40px;display:grid;place-items:center;border-radius:50%}.coin-heading h3{margin:0;font-size:22px}.coin-heading h3 span{font-size:12px;color:var(--muted);font-weight:400}.currency{margin-left:auto;display:flex;gap:3px;background:var(--pale);border-radius:5px;padding:3px}.currency button{border:0;padding:4px 9px;background:none;font-size:12px;border-radius:3px}.currency button[aria-pressed=true]{background:#fff;color:var(--purple);box-shadow:0 1px 4px #0001}.price{font:600 46px/1.3 Arial,sans-serif;letter-spacing:-.04em;margin:25px 0 7px}.muted{color:var(--muted);font-size:12px}.positive{color:#127647}.negative{color:#b73448}.market-stats{font-size:14px;margin-top:30px}.market-stats>div{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line);gap:15px}.market-stats dt{color:var(--muted)}.market-stats dd{margin:0;font-weight:700}.source{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:0}.market-status{font-size:12px;margin-bottom:10px;color:var(--muted)}.chart-panel{padding:30px;min-width:0}.chart-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.chart-heading h3{font-size:15px}.chart-heading>span{font-size:12px;color:var(--muted)}.price-chart{height:260px;position:relative}.price-chart svg{width:100%;height:100%;overflow:visible}.chart-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:var(--muted);background:repeating-linear-gradient(0deg,transparent,transparent 64px,#eceaf1 65px)}.chart-empty p{font-size:14px;max-width:350px;padding:15px;background:#fff}.chart-empty-symbol{font-size:40px;color:#977baa}.about{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding-top:100px;padding-bottom:100px}.about-copy>p{line-height:2.2;font-size:17px}.about-facts{display:flex;gap:65px;margin-top:35px}.about-facts strong{display:block;font:500 32px Arial;color:var(--purple)}.about-facts span{display:block;font-size:12px;margin-top:10px;color:var(--muted)}.guides{background:var(--pale);max-width:none}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.guide-card{padding:30px;background:#fff;border-top:3px solid var(--purple);transition:transform .2s,box-shadow .2s}.guide-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #34165012}.guide-top{display:flex;justify-content:space-between;color:var(--purple);font:24px Arial;margin-bottom:30px}.guide-card h3{font-size:21px;margin-bottom:15px}.guide-card p{font-size:14px;color:var(--muted);margin-bottom:28px}.guide-bottom{font-size:13px;font-weight:700}.news-row{display:grid;grid-template-columns:100px 76px 1fr 25px;gap:20px;align-items:start;padding:25px 0;border-top:1px solid var(--line);font-size:14px}.news-row:last-child{border-bottom:1px solid var(--line)}.news-row time{font:13px/2 Arial;color:var(--muted)}.tag{background:var(--pale);color:var(--purple);font-size:11px;text-align:center;padding:3px 5px}.news-row small{display:block;font-size:13px;color:var(--muted);margin-top:7px}.archive{padding-top:25px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.archive-item{padding:24px;border:1px solid var(--line)}.archive-item time{font:12px Arial;color:var(--muted)}.archive-item h3{font-size:17px;margin:15px 0}.archive-item>span{font-size:13px;color:var(--purple)}.faq{display:grid;grid-template-columns:1fr 1.7fr;gap:50px;padding-top:35px}.faq details{border-bottom:1px solid var(--line);padding:22px 0}.faq summary{cursor:pointer;font-size:15px;font-weight:700}.faq details p{font-size:14px;color:var(--muted);margin:15px 0 0}.site-footer{padding:55px 5% 25px;background:#271535;color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:30px}.site-footer .brand-mark{background:#ffffff15}.site-footer>div>p{font-size:14px;margin-top:22px;color:#d2c5de}.site-footer>div:nth-child(2){display:flex;justify-content:flex-end;align-items:start;flex-wrap:wrap;gap:25px;font-size:13px}.site-footer a:hover{color:var(--gold)}.footer-note{grid-column:1/-1;font-size:11px;line-height:1.9;color:#c6bad2;border-top:1px solid #ffffff26;padding-top:25px;margin-bottom:0}.article-shell{max-width:900px;padding:65px 24px;margin:auto;min-height:60vh}.article-shell article{margin-bottom:60px}.article-shell h1{font-size:32px;line-height:1.6}.article-shell a{text-decoration:underline}.article-shell time{font-size:13px;color:var(--muted)}.article-shell iframe{max-width:100%}.preview-bar{background:#fff2d4;color:#5e4820;font-size:12px;text-align:center;padding:7px 15px}.chart-tooltip{font-size:12px;color:var(--muted)}
@media(min-width:1500px){.hero-copy{padding-left:max(9%,calc((100vw - 1350px)/2))}.hero{max-height:690px}.section,.notice{padding-left:max(5%,calc((100vw - 1350px)/2));padding-right:max(5%,calc((100vw - 1350px)/2))}}
@media(max-width:900px){.site-header nav{gap:18px;font-size:13px}.brand{font-size:21px}.hero-copy{padding:55px 7%}.hero h1{font-size:36px}.hero-panel{padding:30px}.pi-type{font-size:270px}.panel-bottom p{font-size:17px}.market-card{grid-template-columns:310px 1fr}.quote-summary,.chart-panel{padding:24px}.about{gap:35px}.guide-card{padding:22px}.guide-card h3{font-size:18px}}
@media(max-width:650px){html{scroll-padding-top:20px}.site-header{padding:17px 5%;min-height:82px;flex-wrap:wrap;gap:15px}.brand{font-size:21px}.brand small{font-size:8px}.brand-mark{width:38px;height:38px;font-size:33px}.menu-toggle{display:block;background:white;border:1px solid var(--line);font-size:12px;padding:6px 10px;border-radius:4px}.site-header nav{display:none;width:100%;flex-wrap:wrap;padding:15px 0;gap:20px}.site-header nav.open{display:flex}.hero{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:43px 6% 35px}.eyebrow{font-size:10px}.hero h1{font-size:36px;margin-bottom:20px}.hero-intro{font-size:14px}.hero-foot{font-size:11px}.hero-panel{min-height:285px;padding:24px 6%}.pi-type{font-size:185px;line-height:.8;position:absolute;right:8%;top:65px}.panel-bottom{margin-top:120px}.panel-bottom>span{display:none}.panel-bottom p{font-size:17px}.notice{padding:20px 6%;gap:18px;font-size:12px;align-items:start}.section{padding:48px 6%}.section-heading{display:block;margin-bottom:25px}.section-heading .text-link{display:inline-block;margin-top:18px}.section-heading>p{margin-top:15px;font-size:13px}h2{font-size:28px}.market-card{display:block}.quote-summary{border-right:0;border-bottom:1px solid var(--line)}.price{font-size:44px}.chart-panel{padding:24px 20px}.chart-heading>span{font-size:10px}.price-chart{height:210px}.about{display:block}.about-copy>p{font-size:15px}.about-facts{gap:40px}.guide-grid{grid-template-columns:1fr;gap:16px}.guide-card{padding:25px}.guide-top{margin-bottom:20px}.guide-card h3{font-size:21px}.guide-card p{margin-bottom:18px}.news-row{grid-template-columns:95px 1fr 20px;gap:10px;padding:22px 0}.news-row>span:nth-child(3){grid-column:1/3;grid-row:2}.news-row>span:last-child{grid-column:3;grid-row:2}.tag{justify-self:start;padding:2px 10px}.archive-grid{grid-template-columns:1fr}.faq{display:block}.site-footer{display:block;padding:40px 6% 25px}.site-footer>div:nth-child(2){justify-content:start;margin:35px 0}.footer-note{font-size:11px}body{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Supplied Pi Network mark, clipped to the circular emblem. */
.brand-mark,.coin-icon{overflow:hidden;flex-shrink:0;position:relative;background:#48246b}.brand-mark img,.coin-icon img{width:111%;height:111%;max-width:none;object-fit:cover;position:absolute;left:-5.5%;top:-2%}.pi-type{width:295px;height:295px;border-radius:50%;overflow:hidden;position:relative;align-self:center;margin:15px auto;letter-spacing:normal;flex-shrink:0;background:#48246b}.pi-type img{position:absolute;max-width:none;width:111%;height:111%;left:-5.5%;top:-2%;object-fit:cover}@media(max-width:900px){.pi-type{width:245px;height:245px}}@media(max-width:650px){.pi-type{position:absolute;width:160px;height:160px;right:6%;top:55px;margin:0}.panel-bottom p{max-width:52%;font-size:15px}}
@media(max-width:650px){.hero h1{font-size:clamp(27px,8vw,36px)}}

.chart-panel{min-width:0}.price-chart.tradingview-widget-container{height:390px;display:block;width:100%}.tradingview-widget-container__widget{height:calc(100% - 32px);width:100%}.tradingview-widget-copyright{font-size:12px;text-align:center;line-height:32px}.tradingview-widget-copyright a{color:#2962ff}.chart-heading{flex-wrap:wrap;gap:8px}

.registration-invite{padding:32px;background:#f5f1fa;border:1px solid #ddd0e9;border-radius:12px;margin:28px 0}.registration-invite h2{font-size:27px}.invitation-label{margin-bottom:0;font-size:13px}.invitation-code{font-size:36px;font-weight:700;letter-spacing:.06em;color:#54247e;margin-bottom:12px;user-select:all}.copy-invite{padding:9px 18px;border:1px solid #54247e;border-radius:5px;background:white;color:#54247e}.copy-invite-status{min-height:1.8em;font-size:13px;margin:8px 0}.registration-invite .button{text-decoration:none;color:white}.registration-note{padding:16px;border-left:3px solid #b99acd;font-size:14px}.site-header nav{flex-wrap:wrap}@media(max-width:650px){.registration-invite{padding:22px}.registration-invite h2{font-size:23px}.invitation-code{font-size:30px}}
