/*
Theme Name: JILI123PH Reference Edition
Theme URI: https://jili123ph.org/
Author: JILI123PH
Description: An independent 18-page gaming journal with native WordPress editorial feeds and mobile-first imagery.
Version: 5.7.1
Requires at least: 6.6
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: jili123ph-guide
*/
:root{--bg:#0b1022;--panel:#151e36;--panel2:#1b2642;--ink:#f4f5fc;--muted:#bdc9e0;--line:#384762;--gold:#f4cf83;--cyan:#a9e9ef;--violet:#b9a9f5;--header-height:85px;--dock-height:80px;--adminbar-offset:0px;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + var(--adminbar-offset) + 24px)}body#top{margin:0;padding-top:var(--header-height);padding-bottom:calc(var(--dock-height) + 38px);font:16px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:radial-gradient(ellipse at 4% 2%,#1a385366,transparent 35%),radial-gradient(ellipse at 94% 26%,#39245a66,transparent 40%),var(--bg);color:var(--ink);overflow-wrap:anywhere}body::before{content:"";position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#b4ccff15 1px,transparent 1px);background-size:42px 42px;z-index:-1}a{color:var(--cyan);text-underline-offset:4px}a:hover{color:#fff}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}figure{margin:0}h1,h2,h3,h4,p{margin:0 0 1em}h1,h2,h3,h4{line-height:1.13;letter-spacing:-.035em}h1{font-size:clamp(2.4rem,5vw,4.6rem)}h2{font-size:clamp(1.5rem,3vw,2.35rem)}h3{font-size:1.25rem}p{color:var(--muted)}:focus-visible{outline:3px solid var(--cyan);outline-offset:5px}button{color:var(--ink)}.container{width:min(1280px,calc(100% - 80px));margin-inline:auto}.eyebrow{display:block;font-size:.66rem;font-weight:750;letter-spacing:.16em;line-height:1.6;color:var(--cyan);margin-bottom:16px}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;left:14px;top:12px;z-index:10001;background:#fff;color:#111;padding:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:.87rem;font-weight:750;line-height:1.4}.primary{background:linear-gradient(110deg,#ffe2a3,#dfb356);color:#251d18}.primary:hover{color:#19131c;background:#ffe3a2}.outline{border-color:#697b9c;color:#edf4ff;background:#1c2944}.outline:hover{background:#283b57}.site-header{position:fixed;top:var(--adminbar-offset);left:0;right:0;z-index:70;background:#0c1327f5;border-bottom:1px solid #63789845;backdrop-filter:blur(20px);box-shadow:0 8px 24px #02071630}.site-header .container{width:min(1344px,calc(100% - 48px))}.header-inner{display:flex;align-items:center;gap:24px;min-height:84px}.brand{display:inline-flex;gap:10px;align-items:center;flex-shrink:0;text-decoration:none;color:#fff}.brand-mark{height:42px;width:42px;display:flex;align-items:center;justify-content:center;position:relative;background:linear-gradient(145deg,#f2d18c,#bc8d3c);border-radius:12px;font-size:30px;font-weight:900;color:#162136;line-height:1}.brand-mark>span{position:absolute;bottom:5px;right:5px;font-size:8px;letter-spacing:-.02em;color:#101c31}.brand-word{font-size:17px;font-weight:850;letter-spacing:.025em;line-height:1.3}.brand-word small{display:block;font-size:7.5px;letter-spacing:.18em;color:#b4c6df;margin-top:5px}.desktop-nav{display:flex;gap:4px;align-items:center;justify-content:center;flex:1}.desktop-nav>a,.more-menu>summary{padding:10px 9px;white-space:nowrap;font-size:.76rem;font-weight:650;color:#d0def1;text-decoration:none;border:1px solid transparent;border-radius:8px;min-height:44px;display:flex;align-items:center;gap:9px}.desktop-nav>a[aria-current]{background:#273a54;color:#ffe0a0;border-color:#6d84a1}.desktop-nav>a:hover,.more-menu>summary:hover{background:#23334c;color:#fff}.header-latest{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 15px;border:1px solid #687b97;border-radius:9px;white-space:nowrap;font-size:.75rem;text-decoration:none;color:#f8dc9d}.mobile-menu{display:none}.more-menu{position:relative}.more-menu>summary,.mobile-menu>summary{cursor:pointer;list-style:none}.more-menu>summary::-webkit-details-marker,.mobile-menu>summary::-webkit-details-marker{display:none}.more-menu nav{position:absolute;top:calc(100% + 12px);right:0;width:310px;max-height:calc(100dvh - var(--header-height) - var(--dock-height) - 48px);overflow:auto;padding:10px;background:#17243c;border:1px solid #6b809e;border-radius:13px;box-shadow:0 12px 45px #0009}.more-menu nav>a{display:block;padding:9px 12px;color:#dae7f8;font-size:.82rem;text-decoration:none;border-radius:7px;min-height:44px}.more-menu nav>a:hover,.more-menu nav>a[aria-current]{background:#2d4260;color:#fff}.homepage{padding-top:42px}.editorial-hero{display:grid;grid-template-columns:1fr 1.04fr;gap:54px;align-items:center;margin:18px 0 68px}.hero-copy h1{font-size:clamp(2.6rem,4.7vw,4.5rem);max-width:13ch;margin-bottom:23px}.hero-lede{font-size:1.06rem;line-height:1.8;max-width:48ch;margin-bottom:28px}.hero-actions{display:flex;flex-wrap:wrap;gap:11px}.hero-note{margin:22px 0 0;font-size:.75rem;color:#9fb2d2}.hero-art{position:relative;border-radius:22px;overflow:hidden;border:1px solid #8ba8c05e;background:#1d2b43;box-shadow:0 10px 70px #217a9a20}.hero-art img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.hero-art figcaption{font-size:.64rem;line-height:1.6;color:#c1d0e5;padding:11px 15px;border-top:1px solid #728ba33b;background:#0d1729}.home-content>.content-section{margin:0 0 64px}.content-section>h2{margin-bottom:19px}.home-content>.content-section>p{max-width:78ch}.journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0 5px}.journal-card{display:flex;flex-direction:column;min-width:0;color:var(--ink);background:linear-gradient(145deg,#182a42,#161b34);border:1px solid #586f8b77;border-radius:16px;overflow:hidden;text-decoration:none;transition:border-color .18s,box-shadow .18s}.journal-card:hover{color:#fff;border-color:#a8d8e0;box-shadow:0 8px 27px #0d769c20}.journal-card>img,.journal-card>a>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#0c152a}.card-copy{padding:22px;display:flex;flex:1;flex-direction:column}.card-copy .eyebrow{font-size:.59rem;margin-bottom:11px}.card-copy h3{font-size:1.3rem;line-height:1.2;margin-bottom:13px}.card-copy p{font-size:.86rem;line-height:1.8;flex:1;margin-bottom:18px}.card-link{display:flex;justify-content:space-between;align-items:center;color:#f5d594;font-size:.78rem;font-weight:700}.post-card>a{display:flex;flex-direction:column;flex:1;text-decoration:none;color:inherit}.empty-journal{margin:28px 0;padding:30px;border:1px solid #536e87;border-radius:17px;background:linear-gradient(110deg,#1b3449,#27233f)}.empty-journal h3{font-size:1.5rem}.empty-journal p{max-width:72ch}.empty-journal>a{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:.85rem}.inner-page{padding-top:28px}.breadcrumb{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#a5b7d2;font-size:.74rem;margin-bottom:35px}.breadcrumb>a{text-decoration:none}.page-masthead{display:grid;grid-template-columns:1.1fr 1fr;gap:55px;align-items:center;padding-bottom:42px;margin-bottom:42px;border-bottom:1px solid #63738f50}.page-masthead h1{font-size:clamp(2.5rem,4vw,4rem);margin-bottom:22px}.lede{font-size:1.04rem;line-height:1.8;max-width:52ch;margin-bottom:21px}.byline{font-size:.73rem;line-height:1.8;color:#adc1dc;margin:0}.byline>a{color:#c9dceb}.page-cover{min-width:0;border-radius:17px;overflow:hidden;border:1px solid #7389a66b;background:#17243c}.page-cover img{width:100%;height:auto;object-fit:contain;aspect-ratio:3/2}.page-cover figcaption{font-size:.61rem;line-height:1.6;padding:10px 13px;margin:0;color:#b4c6df}.article-content{max-width:880px;font-size:1rem;line-height:1.85}.article-content>p{max-width:78ch}.content-section{margin-bottom:34px}.article-content h2{font-size:1.55rem;line-height:1.2;margin:0 0 18px}.article-content h3{font-size:1.2rem}.article-content ul,.article-content ol{padding-left:24px;margin:0 0 24px}.article-content li{padding-left:5px;margin-bottom:12px;color:var(--muted)}.article-content strong{color:#eef3fc}.article-content img{max-width:100%;height:auto}.layout-news .article-content,.layout-timeline .article-content{max-width:none}.layout-news .article-content>p,.layout-timeline .article-content>p{max-width:78ch}.layout-news .content-section,.layout-timeline .content-section{max-width:100%}.layout-bento .article-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:none}.layout-bento .article-content>p{grid-column:1/-1}.layout-bento .content-section{padding:28px;background:#18233bcc;border:1px solid #546883;border-radius:16px;margin:0}.layout-bento .content-section:last-child,.layout-bento .content-section:has(.article-feed),.layout-bento .content-section:has(.empty-journal){grid-column:1/-1}.layout-split-reverse .page-masthead>div{order:2}.layout-split-reverse .page-masthead{grid-template-columns:1fr 1.1fr}.layout-contact .article-content{max-width:960px}.layout-reading .article-content,.layout-faq .article-content{margin-inline:auto;max-width:820px}.layout-comparison .article-content{max-width:1000px}.step-list{list-style:none;counter-reset:guide;padding-left:0!important}.step-list>li{counter-increment:guide;position:relative;padding:20px 24px 20px 65px!important;background:#19293f;border:1px solid #536a87;border-radius:12px;margin-bottom:14px}.step-list>li::before{content:counter(guide,decimal-leading-zero);position:absolute;left:20px;top:19px;color:var(--gold);font-size:.9rem;font-weight:800}.table-scroll{width:100%;overflow-x:auto;margin:24px 0 30px;border:1px solid #61738f;border-radius:12px}.table-scroll table{width:100%;border-collapse:collapse;min-width:440px;font-size:.88rem;line-height:1.8}.table-scroll th{text-align:left;background:#25364f;color:#f3dcab;font-weight:700}.table-scroll th,.table-scroll td{padding:16px 18px;vertical-align:top;border-bottom:1px solid #50658070}.table-scroll td{color:#ccdaec}.table-scroll tr:last-child td{border-bottom:0}.table-scroll td:first-child{width:29%;color:#eef3fc}.faq-item{margin:0 0 14px;border:1px solid #63789a;border-radius:12px;background:#19253d;overflow:hidden}.faq-item summary{padding:20px 24px;cursor:pointer;font-weight:650;color:#edf4ff;line-height:1.6;min-height:56px}.faq-item p{padding:0 24px 22px;margin:0;font-size:.94rem}.related{margin:58px 0 30px;padding-top:32px;border-top:1px solid #61718e50}.related h2{font-size:1.9rem}.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.related-grid .journal-card h3{font-size:1.1rem}.related-grid .card-copy{padding:19px}.related-grid .card-copy p{font-size:.79rem}.back-home{background:#22364c;border-color:#7690ae;color:#f2f6ff;min-height:48px;margin:10px 0 20px}.back-home:hover{background:#304c64}.site-footer{margin-top:65px;padding:48px 0 15px;border-top:1px solid #60769766;background:#0b1428df}.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:40px}.footer-top>div{min-width:0}.footer-title{display:inline-block;font-size:1.5rem;font-weight:850;text-decoration:none;color:#f4dfb0;line-height:1.3}.footer-title>span{display:block;font-size:.6rem;color:#b5c7df;letter-spacing:.18em;margin-top:7px}.footer-brand-area p{font-size:.85rem;max-width:31ch;margin-top:20px}.footer-top>div>a:not(.footer-title){display:block;font-size:.8rem;line-height:1.6;min-height:40px;padding:7px 0;text-decoration:none;color:#bfcee3}.footer-top h2{font-size:.92rem;line-height:1.5;margin-bottom:16px;color:#f1d9a7;letter-spacing:0}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:35px;padding-top:18px;border-top:1px solid #576b874d;font-size:.72rem;color:#a9bbd4}.footer-bottom>a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}.bottom-dock{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(2,minmax(0,288px));justify-content:center;gap:14px;padding:15px 24px;background:#100e1df5;border-top:1px solid #80719455;box-shadow:0 -8px 30px #02061555;backdrop-filter:blur(20px)}.bottom-dock>a{display:flex;align-items:center;justify-content:center;gap:24px;min-height:48px;border:1px solid #ffe7a84d;border-radius:10px;background:linear-gradient(110deg,#f9dfa0,#dca94c);color:#241b10;text-decoration:none;font-size:.9rem;font-weight:750;line-height:1.4;padding:10px 16px}.bottom-dock>a:last-child{background:linear-gradient(110deg,#a7192a,#d43c40);border-color:#ff929566;color:#fff}.bottom-dock>a:hover{filter:brightness(1.12)}.post-cover{border-radius:18px;overflow:hidden;border:1px solid #7185a0;margin:28px 0 38px}.post-cover img{width:100%;height:auto;object-fit:contain}.post-cover figcaption{padding:10px 14px;font-size:.75rem;color:var(--muted)}.article-heading{max-width:1000px}.article-heading h1{font-size:clamp(2.1rem,4vw,3.5rem)}.single-article .article-content{margin:auto}.single-article .byline{margin-top:25px}.pagination ul{display:flex;gap:10px;list-style:none;padding:0}.pagination a,.pagination .current{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:#24364f;border:1px solid #617b97;border-radius:7px;text-decoration:none}.pagination .current{color:var(--gold)}
@media(min-width:960px) and (max-width:1199px){.container{width:calc(100% - 64px)}.header-inner{gap:16px}.desktop-nav>a,.more-menu>summary{font-size:.68rem;padding:9px 6px}.header-latest{display:none}.editorial-hero,.page-masthead{gap:32px}.hero-copy h1{font-size:3.1rem}.footer-top{gap:24px}}
@media(max-width:959px){:root{--header-height:77px;--dock-height:calc(64px + env(safe-area-inset-bottom))}.container{width:calc(100% - 40px)}.site-header .container{width:calc(100% - 32px)}.header-inner{min-height:76px;gap:12px}.desktop-nav{display:none}.header-latest{margin-left:auto;font-size:.7rem;min-height:42px;padding:9px 12px}.mobile-menu{display:block;position:static}.mobile-menu>summary{display:flex;gap:8px;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:1px solid #788eaa;border-radius:9px;color:#f1f4fc;font-size:.75rem;font-weight:650}.mobile-menu nav{position:absolute;top:100%;left:16px;right:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;background:#14253c;border:1px solid #7990af;border-radius:0 0 14px 14px;max-height:calc(100dvh - var(--header-height) - var(--adminbar-offset) - var(--dock-height) - 18px);overflow:auto;box-shadow:0 15px 35px #0008}.mobile-menu nav>a{display:flex;align-items:center;padding:12px;min-height:44px;text-decoration:none;font-size:.8rem;border-radius:8px;color:#e7effa}.mobile-menu nav>a:hover,.mobile-menu nav>a[aria-current]{background:#304560;color:#ffe0a1}.homepage{padding-top:28px}.editorial-hero{grid-template-columns:1fr;gap:28px;margin:8px 0 45px}.hero-copy h1{max-width:18ch;font-size:clamp(2.5rem,6vw,3.8rem)}.hero-lede{max-width:64ch}.hero-art{max-width:760px;width:100%}.hero-art img{width:100%;height:auto;object-fit:contain}.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-content>.content-section{margin-bottom:45px}.page-masthead,.layout-split-reverse .page-masthead{grid-template-columns:1fr;gap:28px}.layout-split-reverse .page-masthead>div{order:0}.page-masthead>div{min-width:0}.page-masthead h1{font-size:clamp(2.3rem,5vw,3.5rem);max-width:23ch}.page-cover{width:100%;max-width:760px}.page-cover img{width:100%;height:auto;object-fit:contain}.article-content{font-size:1rem}.footer-top{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.footer-brand-area{grid-column:1/-1}.footer-brand-area p{max-width:60ch}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-dock{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:8px 16px calc(8px + env(safe-area-inset-bottom))}.bottom-dock>a{min-height:48px;font-size:.84rem;gap:16px}.layout-bento .article-content{gap:16px}.layout-bento .content-section{padding:23px}.hero-art figcaption,.page-cover figcaption{font-size:.66rem}}
@media(max-width:600px){.container{width:calc(100% - 32px)}.header-inner{min-height:72px;gap:9px}.brand{gap:8px}.brand-mark{width:34px;height:36px;border-radius:9px;font-size:27px}.brand-word{font-size:14px}.brand-word small{font-size:6.2px}.header-latest{display:none}.mobile-menu{margin-left:auto}.mobile-menu>summary{padding:9px 12px}.mobile-menu nav{grid-template-columns:1fr}.mobile-menu nav>a{font-size:.86rem}.hero-copy h1{font-size:2.6rem;line-height:1.06}.hero-lede{font-size:1rem}.hero-actions{gap:9px}.hero-actions .button{font-size:.78rem;padding:12px 15px}.hero-note{font-size:.73rem;max-width:36ch}.editorial-hero{gap:25px;margin-bottom:39px}.hero-art{border-radius:16px}.hero-art figcaption{padding:10px 12px}.journal-grid,.related-grid{grid-template-columns:1fr;gap:18px}.card-copy{padding:22px}.card-copy h3{font-size:1.45rem}.card-copy p{font-size:.91rem}.card-copy .eyebrow{font-size:.64rem}.home-content>.content-section>h2{font-size:1.9rem}.home-content>.content-section>p{font-size:.96rem}.breadcrumb{font-size:.7rem;margin-bottom:26px}.inner-page{padding-top:23px}.page-masthead{padding-bottom:28px;margin-bottom:30px;gap:24px}.page-masthead h1{font-size:2.55rem}.lede{font-size:1rem}.byline{font-size:.74rem}.page-cover{border-radius:14px}.article-content h2{font-size:1.5rem}.content-section{margin-bottom:30px}.layout-bento .article-content{display:block}.layout-bento .content-section{padding:23px 20px;margin-bottom:17px}.empty-journal{padding:25px 21px}.table-scroll th,.table-scroll td{padding:14px;font-size:.87rem}.step-list>li{padding-right:18px!important}.faq-item summary{padding:18px 20px;font-size:.95rem}.faq-item p{padding:0 20px 20px}.related{margin-top:42px}.related h2{font-size:1.7rem}.footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.footer-top>div:last-child{grid-column:1/-1}.footer-top>div:last-child>a{display:inline-flex;width:calc(50% - 8px);vertical-align:top;padding-right:10px}.footer-top>div>a:not(.footer-title){font-size:.77rem;min-height:44px}.footer-brand-area p{font-size:.87rem}.footer-bottom{font-size:.7rem;gap:10px}.site-footer{margin-top:45px;padding-top:35px}.bottom-dock{padding-left:12px;padding-right:12px}.bottom-dock>a{font-size:.8rem;gap:13px}.back-home{max-width:100%;font-size:.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.journal-card{transition:none}}
/* Vector arrows avoid reliance on optional system-font glyphs. */
.hero-actions .button>span,.card-link>span,.header-latest>span,.bottom-dock>a>span,.empty-journal>a>span{display:inline-block;flex-shrink:0;width:15px;height:15px;font-size:0;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center/contain no-repeat}

/* 5.3 Reference layout: charcoal, ice-blue and pink; no external UI dependencies. */
:root{--bg:#18181b;--panel:#24242b;--panel2:#30303a;--ink:#f5f5fa;--muted:#c2c4d1;--ice:#7dd3fc;--purple:#f9a8d4;--line:#494954}
body{background:radial-gradient(ellipse at 7% 0%,#1b43684d,transparent 35%),radial-gradient(ellipse at 95% 18%,#75326040,transparent 36%),#18181b}
.site-header{background:#18181bf2;border-bottom:1px solid #61616e66}
.brand-mark{background:linear-gradient(140deg,#7dd3fc,#f9a8d4);color:#15151b}.brand-word small{color:#c4bfce}
.editorial-hero{padding:35px 0 45px;border-bottom:1px solid #54546066}
.hero-copy h1{background:linear-gradient(115deg,#fff 10%,#bae6fd 55%,#f9a8d4);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero-art{border-radius:46% 54% 44% 56% / 38% 40% 60% 62%;border:1px solid #9ba2b466;background:#25252d;box-shadow:0 18px 65px #0005}
.hero-art figcaption{background:#24242be8;text-align:center;padding:14px 32px}
.journal-card{background:linear-gradient(135deg,#2c2c35,#24242b);border-color:#525260;box-shadow:0 10px 30px #0002}
.journal-card:hover{border-color:#7dd3fc;box-shadow:0 12px 30px #38bdf81a;transform:translateY(-3px)}
.journal-card img{aspect-ratio:16/10;object-fit:cover}.page-cover{border-radius:30px 70px 30px 70px;border-color:#787887}
.empty-journal{background:linear-gradient(110deg,#1f3545,#3c293b);border-color:#6c6678}
.layout-bento .content-section,.faq-item{background:#27272f;border-color:#51515e}
.related{border-top-color:#565662}.site-footer{background:#121215;border-top:1px solid #494951}.mobile-menu nav,.more-menu nav{background:#24242bf7}
.desktop-nav a:hover,.more-menu summary:hover{background:#34303e;color:#f9a8d4}.bottom-dock{background:#111115f5}
@media(max-width:959px){.hero-art{border-radius:26px}.page-cover{border-radius:22px}.editorial-hero{padding:10px 0 30px}}
@media(max-width:600px){.journal-card img{object-fit:contain;aspect-ratio:auto}.hero-copy h1{font-size:clamp(2.1rem,9vw,2.8rem)}.hero-art figcaption{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep illustration captions outside the decorative image mask. */
.hero-art{border-radius:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.hero-art img{border-radius:46% 54% 44% 56% / 38% 40% 60% 62%;border:1px solid #9ba2b466;box-shadow:0 18px 65px #0005}
.hero-art figcaption{background:transparent;padding:18px 10px;text-align:center}
@media(max-width:959px){.hero-art img{border-radius:24px}}
/* Philippine visual edition: image-led purple/blue; text remains HTML. */
.ph-home-heading{max-width:1000px;margin:16px 0 28px}.ph-home-heading h1{font-size:clamp(2rem,4vw,3.7rem);max-width:25ch}.ph-home-heading p{max-width:70ch}.ph-carousel{position:relative;margin-bottom:50px}.ph-slides{border:1px solid #7b76b46b;border-radius:22px;overflow:hidden;background:#0b1633}.ph-slide{position:relative;margin:0}.ph-slide img{width:100%;height:auto;aspect-ratio:2.39;object-fit:contain}.ph-slide figcaption{position:absolute;left:4%;top:40%;transform:translateY(-50%);max-width:32%;font-size:clamp(1.2rem,3.1vw,2.8rem);font-weight:800;line-height:1.15;color:white;text-shadow:0 3px 15px #001b41}.ph-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;flex-wrap:wrap}.ph-controls button{min-width:44px;min-height:44px;border:1px solid #8b82c5;border-radius:9px;background:#242247;color:#fff;padding:8px 12px}.ph-dots{display:flex;gap:7px}.ph-dots button[aria-pressed=true]{background:#b8c3ff;color:#11152b}.ph-art-note{font-size:.72rem;text-align:center;margin:13px 0;color:#c1c7e3}.ph-game-gallery{margin:45px 0}.ph-game-gallery>p{max-width:80ch}.ph-game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.ph-game-card{min-width:0;border:1px solid #62608c;border-radius:16px;overflow:hidden;background:#1b1c38}.ph-game-card img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}.ph-game-card>div{padding:16px}.ph-game-card h3{font-size:1.05rem;margin:0 0 8px}.ph-game-card small{font-size:.7rem;color:#bec5df}
@media(max-width:959px){.ph-game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ph-slide figcaption{font-size:clamp(1rem,3.4vw,1.9rem)}}
@media(max-width:600px){.ph-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ph-game-card>div{padding:13px}.ph-game-card h3{font-size:.9rem}.ph-game-card small{font-size:.64rem}.ph-slide figcaption{position:static;transform:none;max-width:none;font-size:1.15rem;background:#151a35;padding:16px}.ph-slides{border-radius:16px}.ph-home-heading h1{font-size:2.1rem}.ph-carousel{margin-bottom:30px}}
body#top{background:radial-gradient(ellipse at 5% 2%,#20498270,transparent 36%),radial-gradient(ellipse at 95% 20%,#642f8a55,transparent 42%),#0e1330}.site-header{background:#10152df5}.site-footer{background:#0b1025}.ph-game-card{background:linear-gradient(140deg,#24244b,#171c36)}
/* Saved 5.2.x homepage compatibility; page content stays in WordPress. */
.legacy-slide-copy{position:absolute;left:4%;top:50%;transform:translateY(-50%);max-width:37%;color:#fff}.legacy-slide-copy h2{font-size:clamp(1.3rem,2.7vw,2.8rem)}.legacy-slide-copy p{color:#edf1ff;font-size:.9rem}.legacy-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:30px 0}.legacy-quick-grid a{border:1px solid #676d9d;background:#20264b;padding:22px;border-radius:14px;text-decoration:none}.legacy-quick-grid strong,.legacy-quick-grid small{display:block}.legacy-quick-grid small{color:#c5cde5;margin-top:8px;font-size:.78rem}.line-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.line-grid article,.line-grid>div{border:1px solid #626d98;background:#1c2445;padding:24px;border-radius:16px}.line-grid .button{width:100%;margin-top:15px}.game-grid,.games-section{margin:30px 0}.home-content>.content-section{margin:35px 0}.home-content .mobile-feature{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:35px 0;align-items:center}.home-content .mobile-feature img{width:100%;height:auto;border-radius:18px}.home-content .home-faq{margin:35px 0}.home-content details{border:1px solid #647397;border-radius:12px;padding:18px;margin:12px 0}.home-content summary{cursor:pointer;font-weight:700;min-height:44px}
@media(max-width:959px){.legacy-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-slide-copy{max-width:42%}.legacy-slide-copy p{font-size:.75rem}.legacy-slide-copy .button{font-size:.73rem;padding:9px 12px}}
@media(max-width:600px){.legacy-slide-copy{position:static;transform:none;max-width:none;padding:22px;background:#151b38}.legacy-slide-copy h2{font-size:1.5rem}.legacy-slide-copy p{font-size:.9rem}.line-grid{grid-template-columns:1fr}.home-content .mobile-feature{grid-template-columns:1fr}.legacy-quick-grid{gap:12px}.legacy-quick-grid a{padding:18px}}

/* User-approved emerald/gold JILI123PH logo; preserve original proportions. */
:root{--header-height:112px}.header-inner{min-height:112px}.brand{display:flex;width:144px;flex:0 0 144px;align-items:center}.brand img.jph-brand-logo{display:block;width:144px;height:auto;max-width:100%;object-fit:contain}.footer-title img.jph-brand-logo{width:180px;height:auto;max-width:100%;object-fit:contain}.footer-brand-area .footer-title{display:inline-block}
@media(max-width:959px){:root{--header-height:104px}.header-inner{min-height:104px}.brand{width:132px;flex-basis:132px}.brand img.jph-brand-logo{width:132px}}
@media(max-width:600px){:root{--header-height:96px}.header-inner{min-height:96px}.brand{width:112px;flex-basis:112px}.brand img.jph-brand-logo{width:112px}}
.publisher-notice{border-top:1px solid #61739466;padding:24px 0 8px;margin-top:28px}.publisher-notice strong{font-size:.82rem;color:#f1dda3}.publisher-notice p{font-size:.78rem;max-width:85ch;margin:12px 0}.page-toc{border-block:1px solid #697ea45c;padding:18px 0;margin:0 0 28px}.page-toc p{font-weight:750;margin-bottom:12px;color:#e9eefe;font-size:.85rem}.page-toc ul{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:0}.page-toc a{font-size:.82rem;display:inline-flex;align-items:center;min-height:44px}.layout-steps .article-content>ol{padding-left:25px}.layout-comparison .table-scroll{margin:25px 0;overflow:auto}.layout-catalogue .article-content{max-width:none}.layout-catalogue .ph-game-grid{margin:28px 0}.layout-contact .article-content{max-width:850px}.layout-split-reverse .page-masthead>div{order:2}.article-content>section>ul,.article-content>section>ol{padding-left:24px}.article-content>section li{margin-bottom:12px}.legacy-slide-copy .button{font-size:.82rem}.home-content .ph-game-grid{margin:25px 0}.home-content .line-grid article h3{font-size:1.35rem}
@media(max-width:959px){.layout-split-reverse .page-masthead>div{order:0}.page-toc ul{display:block}.page-toc a{font-size:.87rem}.publisher-notice p{font-size:.77rem}}
/* Keep the first viewport focused on the page purpose and illustrated entry. */
.ph-home-heading{max-width:1100px;margin:10px 0 22px}.ph-home-heading h1{font-size:clamp(1.9rem,3.4vw,2.8rem);max-width:36ch;margin-bottom:20px}.ph-home-heading p{margin-bottom:14px}
@media(max-width:600px){.ph-home-heading h1{font-size:1.9rem;max-width:none}}
.legacy-slide-copy .button>span,.line-grid .button>span{display:inline-block;flex-shrink:0;width:15px;height:15px;font-size:0;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center/contain no-repeat}

/* Desktop core navigation only; secondary pages remain in footer/mobile navigation. */
.community-links{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 7px}.community-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:92px;padding:9px 12px;border:1px solid #788ab0;border-radius:9px;background:linear-gradient(120deg,#173f54,#272b55);color:#f1f6ff;text-decoration:none;font-size:.8rem;font-weight:650}.community-links a:hover,.community-links a:focus-visible{border-color:#a9e9ef;background:#28485b}.community-note{display:block;color:var(--muted);font-size:.7rem;line-height:1.5}

/* Visible native links, no modal, animation or external widget dependency. */
.social-rail{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(var(--dock-height) + env(safe-area-inset-bottom) + 24px);z-index:60;display:flex;flex-direction:column;gap:10px;max-width:138px}
.social-rail-link{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 12px 8px 8px;border:1px solid #8ba8cf;border-radius:12px;background:#142c47;color:#fff;text-decoration:none;font-size:.79rem;font-weight:700;box-shadow:0 4px 15px #0004}
.social-rail-link:hover{background:#244666;color:#fff}.social-rail-link:focus-visible{outline:3px solid #a9e9ef;outline-offset:3px}
.social-rail-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 30px;height:30px;border-radius:50%;background:#087ba5;color:white;font-size:.8rem;line-height:1}
.social-rail-facebook .social-rail-symbol{background:#2359b4;font-size:1.4rem}
@media(max-width:1100px){.social-rail{right:max(8px,env(safe-area-inset-right));gap:8px}.social-rail-link{width:46px;min-height:46px;padding:7px;justify-content:center}.social-rail-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body:has(.mobile-menu[open]) .social-rail{visibility:hidden}}
@media print{.social-rail{display:none!important}}

/* Task-based editorial layouts; layout classes never change saved content. */
.connection-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.connection-reference-grid figcaption{font-size:.75rem;color:var(--muted)}@media(max-width:700px){.connection-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.article-content{min-width:0}.article-content>.content-section{margin-bottom:32px}.article-content p{max-width:76ch}.layout-reading .article-content{max-width:820px}.layout-comparison .article-content{max-width:100%}.layout-comparison .table-scroll{border:1px solid var(--line);border-radius:12px}.editorial-steps{list-style:none;counter-reset:editorial-step;padding:0;margin:24px 0}.editorial-steps>li{counter-increment:editorial-step;position:relative;padding:18px 20px 18px 60px;margin:0 0 12px;border-left:2px solid var(--cyan);background:#17243c;border-radius:0 12px 12px 0}.editorial-steps>li::before{content:counter(editorial-step);position:absolute;left:18px;top:18px;font-weight:800;color:var(--cyan)}.layout-contact .article-content{max-width:920px}.home-content .line-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-content .line-grid article{min-width:0;border:1px solid var(--line);border-radius:14px;padding:22px;background:#17243c}.home-content .line-grid article p{font-size:.87rem}.home-content .faq-item p{max-width:none}.home-content>.content-section{margin-bottom:42px}.layout-faq .article-content{max-width:900px}.table-scroll table{width:100%;border-collapse:collapse}.table-scroll th{text-align:left}.table-scroll{overflow-x:auto}.article-content .faq-item summary{line-height:1.5}.content-section>h2{line-height:1.25}
@media(max-width:700px){.home-content .line-grid{grid-template-columns:1fr}.editorial-steps>li{padding:16px 16px 16px 48px}.editorial-steps>li::before{left:14px;top:16px}.article-content>.content-section,.home-content>.content-section{margin-bottom:30px}}

/* 5.7: homepage visual language throughout mixed editorial layouts. */
:root{--bg:#0b1028;--panel:#15213c;--panel2:#1c2746;--ink:#f5f4fb;--muted:#c5cee2;--line:#53617f;--gold:#f4cf83;--cyan:#b5e9ed;--violet:#baa9f4}
body#top{background:radial-gradient(ellipse at 5% 4%,#17456b55,transparent 38%),radial-gradient(ellipse at 96% 30%,#64308038,transparent 42%),var(--bg)}
.page-masthead{padding-bottom:30px;border-bottom:1px solid #d7b57355}.page-masthead h1{color:#f6dfae;text-wrap:balance}.page-masthead .lede{color:#d0d8e9;max-width:58ch}.page-cover{border:1px solid #bda47585;box-shadow:0 12px 36px #03071955;border-radius:18px;overflow:hidden;background:#122139}.page-cover img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center}.page-cover figcaption{background:#111c34;color:#c5cee2;border-top:1px solid #bda47555}
.article-content{color:#e2e6f1}.article-content>p:first-child{font-size:1.06rem;line-height:1.9;color:#e1e6f4;margin-bottom:30px}.article-content h2,.home-content>.content-section>h2{color:#f5d99e}.article-content h3{color:#e5dafb}.article-content p,.article-content li{line-height:1.85}.article-content strong{color:#f5e1b9}.article-content a:not(.button){color:#b5e9ed;text-decoration-thickness:1px}.article-content .source-reference{color:#d1c4e7}.page-toc{background:linear-gradient(115deg,#17325188,#2b204588);border:1px solid #bca07166;border-radius:12px;padding:16px 20px}.page-toc p{color:#f5d99e}
.layout-reading .article-content>.content-section{border-top:1px solid #7b6c8d55;padding-top:25px}.layout-reading .article-content>.content-section:first-of-type{border-top:0;padding-top:0}.layout-steps .editorial-steps>li{background:linear-gradient(115deg,#172d49,#211e3b);border-left-color:#e4c17c}.layout-steps .editorial-steps>li::before{color:#f5d99e}.table-scroll{border:1px solid #a48b656e;border-radius:12px;background:#101b31}.table-scroll th{background:#25314b;color:#f5d99e;font-weight:700}.table-scroll td{color:#d0d8e9;border-color:#63708c55}.table-scroll tbody tr:nth-child(even){background:#24304755}.faq-item{background:linear-gradient(115deg,#172841,#221e3b);border:1px solid #9d8a696e;border-radius:12px}.faq-item summary{color:#f4dba7}.faq-item p{color:#cdd7e8}.layout-contact .content-section:first-of-type{padding:22px;border:1px solid #a58c686e;border-radius:14px;background:linear-gradient(115deg,#172b45,#251f3d)}.layout-contact .table-scroll{margin-bottom:0}.connection-reference-grid figure{background:#14233b;border:1px solid #9c8b6c66;border-radius:10px;overflow:hidden}.connection-reference-grid figcaption{padding:8px 10px;color:#c5cee2}.connection-reference-grid img{object-fit:contain;background:#f5f5f5}.back-home{border-color:#b99c65;color:#f3d59b;background:#1d2842}.publisher-notice{border-top-color:#aa8c5e66}.site-footer{background:#0d152b;border-top-color:#a18c6355}.footer-top h2{color:#f4d79f}.community-links a{background:linear-gradient(115deg,#153447,#292044);border-color:#a58c67}.social-rail-link{background:linear-gradient(115deg,#143749,#292044);border-color:#c1a16d}.social-rail-link:hover{background:#29445b}
@media(max-width:700px){.page-masthead{gap:23px;padding-bottom:24px}.page-masthead h1{font-size:clamp(2rem,9vw,3rem)}.page-cover{border-radius:14px}.article-content>p:first-child{font-size:1rem;line-height:1.85}.article-content h2{font-size:1.5rem;line-height:1.3}.layout-contact .content-section:first-of-type{padding:17px}.table-scroll th,.table-scroll td{min-width:120px}.page-toc{padding:14px 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Editorial purpose controls presentation; saved page content remains unchanged. */
.inner-page .article-content{font-size:1rem;line-height:1.85}.inner-page .article-content p{margin-bottom:1.25em}.inner-page .article-content h2{margin-top:0;margin-bottom:18px}.inner-page .article-content h3{line-height:1.35;margin-top:26px;margin-bottom:12px}.inner-page .article-content ul,.inner-page .article-content ol{padding-left:24px}.inner-page .article-content li{margin-bottom:12px}.layout-reading .article-content{max-width:78ch;margin-inline:auto}.layout-reading .article-content>.content-section{background:transparent;border-radius:0;box-shadow:none}.layout-reading .article-content strong{font-weight:700}.layout-steps .article-content{max-width:960px}.layout-steps .editorial-steps>li strong{display:block;margin-bottom:6px}.layout-comparison .article-content{max-width:none}.layout-comparison .table-scroll th{padding:16px;line-height:1.5}.layout-comparison .table-scroll td{padding:16px;vertical-align:top;line-height:1.75}.layout-comparison .table-scroll th:first-child{width:25%}.layout-catalogue .article-content>p{max-width:80ch}.layout-catalogue .ph-game-card h3{margin:0 0 8px;line-height:1.35}.layout-faq .article-content{max-width:900px;margin-inline:auto}.layout-faq .faq-item summary{min-height:48px;padding:19px 22px;line-height:1.55}.layout-faq .faq-item p{padding:0 22px 20px;margin:0}.layout-contact .article-content{max-width:960px}.editorial-responsible .article-content>p:first-child{border-left:3px solid #b5e9ed;padding-left:20px}.editorial-privacy .article-content,.editorial-terms .article-content,.editorial-disclaimer .article-content{font-size:1rem;letter-spacing:0}.editorial-hub .home-content>.content-section>p{max-width:80ch}.editorial-support .connection-reference-grid{margin-top:22px}.table-scroll td a,.article-content li a{overflow-wrap:anywhere}
@media(max-width:700px){.inner-page .article-content{font-size:1rem;line-height:1.8}.layout-comparison .table-scroll th,.layout-comparison .table-scroll td{padding:13px}.layout-faq .faq-item summary{padding:17px}.layout-faq .faq-item p{padding:0 17px 18px}.editorial-responsible .article-content>p:first-child{padding-left:15px}.inner-page .article-content h3{font-size:1.15rem}}
