@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root{
  color-scheme:dark;
  --bg:#07111f;
  --top:#0a1929;
  --surface:#0b1b2c;
  --surface-2:#0e2236;
  --line:#20394e;
  --text:#eef5fb;
  --muted:#9aafc2;
  --muted-2:#71889c;
  --accent:#12aee0;
  --accent-soft:#56c7e8;
  --warning:#d5b46e;
  --max:1180px;
  --font-base:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
  --font-mono:"IBM Plex Mono",Consolas,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-base);line-height:1.75}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.section-wrap,.site-header{width:min(calc(100% - 48px),var(--max));margin-inline:auto}
.topline{min-height:34px;position:relative;display:flex;align-items:center;justify-content:center;gap:10px;padding:7px 24px;color:#a9c0d2;background:var(--top);border-bottom:1px solid #1b354b;font-size:.72rem}
.topline-mark,.note-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgb(41 188 231 / .11)}
.topline-code{position:absolute;left:max(24px,calc((100% - 1180px)/2));color:#6e8da7;font:500 .63rem var(--font-mono);letter-spacing:.08em}
.site-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid #1c3449}
.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0;color:var(--text)}
.brand-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid #2b6885;border-radius:11px 3px 11px 3px;color:#50c8ec;background:#0d273b;font:600 1.32rem var(--font-mono);box-shadow:inset 0 0 0 4px rgb(41 188 231 / .04)}
.brand-text{display:grid;gap:3px}
.brand-text strong{font:700 .98rem var(--font-mono);letter-spacing:.035em}
.brand-text small{color:#7997ad;font:500 .58rem var(--font-mono);letter-spacing:.1em}
.main-nav{display:flex;align-items:center;gap:clamp(18px,3vw,38px)}
.main-nav a{color:#a9bdcd;font-size:.88rem;transition:color 160ms ease}
.main-nav a:hover,.text-link:hover{color:var(--accent)}
.header-link,.text-link,.back-top,.owner-link{display:inline-flex;align-items:center;gap:9px;color:var(--accent-soft);font-weight:600;font-size:.83rem}
.header-link{padding:11px 15px;border:1px solid #28536c;border-radius:4px}
.header-link:hover,.back-top:hover{background:#0e2c42}
.menu-toggle{display:none;border:1px solid var(--line);background:transparent;color:var(--text);padding:8px 12px}
.hero{min-height:590px;padding:76px 0 84px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);align-items:center;gap:clamp(44px,8vw,112px)}
.eyebrow,.section-index,.panel-label,.panel-index,.panel-eyebrow{display:inline-flex;align-items:center;color:#64c9e7;font:500 .68rem var(--font-mono);letter-spacing:.07em}
.eyebrow{gap:12px;margin:0 0 24px;font-family:var(--font-base);font-size:.82rem;letter-spacing:0}
.eyebrow-line{width:28px;height:1px;background:#38bce4}
.hero h1{max-width:690px;margin:0;color:#f1f6fb;font:700 clamp(2.55rem,5.2vw,4.55rem)/1.35 var(--font-base);letter-spacing:-.045em}
.hero h1 span{display:block;color:#62cae9}
.hero-lead{max-width:600px;margin:22px 0 0;color:#a8bac9;font-size:1.06rem;line-height:2.05}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:32px}
.primary-action{display:inline-flex;align-items:center;gap:13px;padding:14px 20px;color:#061721;background:var(--accent);border:1px solid var(--accent);border-radius:4px;font-size:.88rem;font-weight:700;transition:background 160ms ease,transform 160ms ease}
.primary-action:hover{background:#62d2f1;transform:translateY(-2px)}
.secondary-action{color:#b3c6d4;font-size:.86rem}
.secondary-action:hover{color:#58c6e7}
.promise-line{display:flex;flex-wrap:wrap;gap:22px;margin-top:42px;padding-top:21px;border-top:1px solid #1c3449}
.promise-line span{display:inline-flex;align-items:center;gap:7px;color:#90a8bb;font-size:.76rem}
.promise-symbol{color:var(--accent-soft);font-style:normal;font-size:1rem}
.feature-panel{position:relative;padding:21px;border:1px solid #26435b;background:var(--surface);box-shadow:0 8px 24px rgb(0 0 0 / .2),0 18px 44px rgb(0 0 0 / .16)}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid #21394e}
.panel-label{color:#9ab1c4;font-size:.61rem}
.panel-index{color:#4fc2e5;font-size:.61rem}
.signal-visual{height:260px;position:relative;display:grid;place-items:center;overflow:hidden;border-bottom:1px solid #21394e;background-color:#0b1b2b;background-image:linear-gradient(#173047 1px,transparent 1px),linear-gradient(90deg,#173047 1px,transparent 1px);background-size:34px 34px}
.signal-orbit{width:190px;height:190px;border:1px solid #2d7795;border-radius:50%;box-shadow:0 0 0 22px rgb(41 188 231 / .045),0 0 0 45px rgb(41 188 231 / .025)}
.signal-core{position:absolute;width:76px;height:76px;display:grid;place-items:center;border:1px solid #48c3e8;border-radius:13px 4px 13px 4px;color:#58c9e9;background:#0d2b40;box-shadow:0 0 36px rgb(41 188 231 / .15);font:600 1.3rem var(--font-mono)}
.signal-tag,.signal-small{position:absolute;color:#6e9ab0;font:500 .58rem var(--font-mono);letter-spacing:.12em}
.signal-tag{bottom:22px;left:19px}
.signal-small{top:20px;right:19px}
.panel-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-top:20px}
.panel-eyebrow{color:#56c6e7;font-family:var(--font-base);letter-spacing:0}
.panel-bottom h2{max-width:310px;margin:7px 0 0;color:#eaf2f8;font-size:1.04rem;line-height:1.8}
.panel-bottom>a{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;color:#53c5e7;border:1px solid #28536c;border-radius:4px;font-size:1.2rem}
.route-section,.library-section,.guides-section .section-wrap,.standards-section,.closing-band,.site-footer{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.route-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(40px,8vw,112px);padding:64px 0 90px;border-top:1px solid #1c3449}
.section-index{color:#6390a8;font-size:.64rem}
.section-intro h2,.library-header h2,.guides-intro h2,.standards-heading h2,.closing-band h2{margin:15px 0 10px;color:#edf5fb;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.45;font-weight:700;letter-spacing:-.035em}
.section-intro p,.library-header p,.guides-intro p,.standards-heading p,.closing-band p{max-width:440px;margin:0;color:#99adbf;line-height:1.95;font-size:.91rem}
.route-list{border-top:1px solid #274056}
.route-item{min-height:87px;display:grid;grid-template-columns:38px 44px minmax(0,1fr) 25px;align-items:center;gap:15px;padding:14px 3px;border-bottom:1px solid #20394e;transition:background 160ms ease,padding 160ms ease}
.route-item:hover{padding-inline:10px;background:#0b1d2e}
.route-number,.catalog-number,.guide-number{color:#65859d;font:500 .68rem var(--font-mono)}
.route-icon{width:40px;height:40px;display:grid;place-items:center;color:#51c5e7;background:#102a3e;border:1px solid #234b65;border-radius:5px;font:600 .76rem var(--font-mono)}
.route-text{display:grid;gap:5px}
.route-text strong{color:#e2edf5;font-size:.97rem}
.route-text small{color:#829bb0;font-size:.76rem}
.route-arrow{color:#5d859d;transition:transform 160ms ease,color 160ms ease}
.route-item:hover .route-arrow{color:#5bc9e9;transform:translate(-3px,-3px)}
.library-section{padding:78px 0 86px;border-top:1px solid #1c3449}
.library-header{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:32px}
.library-header p{max-width:630px}
.library-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.library-note{display:inline-flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #27465d;color:#a8bdcc;font-size:.73rem;white-space:nowrap}
.note-dot{width:6px;height:6px;flex-basis:6px;background:var(--warning);box-shadow:none}
.outline-button{border:1px solid #315671;background:#0d2031;color:#b7cbd9;padding:9px 13px;font-size:.75rem}
.outline-button:hover{color:#eef7fc;border-color:#4b91b1}
.download-notice{margin:-10px 0 22px;padding:12px 14px;color:#b9d9e8;background:#0b2638;border-right:2px solid #36bde5;font-size:.78rem;line-height:1.8}
.library-tools{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}
.search-wrap{display:flex;align-items:center;gap:10px;width:min(320px,100%);min-height:42px;padding:0 12px;color:#6f9ab0;border:1px solid #29465b;background:#0a1929;border-radius:4px}
.search-wrap input{width:100%;min-width:0;height:40px;color:#eaf2f8;background:transparent;border:0;outline:0;font-family:var(--font-base);font-size:.82rem}
.search-wrap input::placeholder{color:#6f8497}
.filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.filter-button{border:1px solid #29465b;background:transparent;color:#8fa8bc;padding:7px 12px;font-size:.72rem;transition:border-color 140ms ease,color 140ms ease}
.filter-button:hover,.filter-button.active{border-color:#12aee0;color:#63cce9}
.catalog{border-top:1px solid #2a4359}
.catalog-row{min-height:116px;display:grid;grid-template-columns:38px 48px minmax(0,1fr) 90px 24px;align-items:center;gap:17px;padding:18px 4px;border-bottom:1px solid #1d354a;transition:background 160ms ease}
.catalog-row:hover{background:#0b1c2c}
.catalog-icon{width:44px;height:44px;display:grid;place-items:center;color:#55c6e7;border:1px solid #2b536c;background:#0d263a;border-radius:5px;font:600 .78rem var(--font-mono)}
.catalog-main{min-width:0}
.catalog-meta{display:flex;flex-wrap:wrap;gap:13px;color:#6b9eb7;font:500 .62rem var(--font-mono)}
.catalog-meta span+span{color:#71889c}
.catalog-main h3{margin:6px 0 4px;color:#e4eef5;font-size:1rem;font-weight:600}
.catalog-main p{margin:0;color:#8fa5b7;font-size:.79rem;line-height:1.8}
.catalog-action{display:inline-flex;align-items:center;gap:7px;margin-top:10px;color:#55c7e9;font-size:.76rem;font-weight:600}
.catalog-action:hover{color:#8addf3;text-decoration:underline;text-underline-offset:3px}
.catalog-status{justify-self:start;color:#d6b36c;border:1px solid #6a5734;padding:6px 9px;font-size:.67rem;white-space:nowrap}
.catalog-arrow{color:#547b94}
.empty-state{padding:34px 20px;text-align:center;color:#9bb0c0;font-size:.83rem}
.catalog-foot{display:flex;justify-content:space-between;gap:20px;padding-top:14px;color:#6e879b;font-size:.68rem}
.catalog-foot span:last-child{font:500 .6rem var(--font-mono);letter-spacing:.08em}
.guides-section{padding:78px 0 92px;border-block:1px solid #1c3449;background:#091827}
.guides-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(40px,8vw,112px)}
.guides-intro p{margin-bottom:22px}
.text-link{font-size:.82rem}
.guide-list{border-top:1px solid #29465c}
.guide-row{min-height:91px;display:grid;grid-template-columns:38px minmax(0,1fr) 72px 18px;align-items:center;gap:14px;border-bottom:1px solid #21394e}
.guide-title{display:grid;gap:5px}
.guide-title span{color:#6aa2bb;font:500 .62rem var(--font-mono)}
.guide-title h3{margin:0;color:#e1ebf2;font-size:.89rem;font-weight:500}
.guide-description{margin:0;color:#8da3b5;font-size:.72rem;line-height:1.7}
.guide-time{color:#d5b46e;font-size:.68rem}
.guide-action{color:#55c7e9;font-size:.68rem}
.guide-row>span:last-child{color:#5a819a}
.standards-section{padding:66px 0 76px;border-top:1px solid #1c3449}
.standards-heading{max-width:700px;margin-bottom:34px}
.standard-steps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #2a455b;border-bottom:1px solid #2a455b}
.standard-steps article{position:relative;min-height:190px;padding:25px 24px 24px;display:grid;align-content:start;justify-items:start;gap:12px}
.standard-steps article+article{border-right:1px solid #243e54}
.step-number{position:absolute;top:24px;left:24px;color:#5f7f96;font:500 .66rem var(--font-mono)}
.step-icon{color:#5cc7e8;font-size:1.2rem}
.standard-steps strong{color:#e6f0f6;font-size:.95rem}
.standard-steps p{max-width:260px;margin:0;color:#8da3b5;font-size:.78rem;line-height:1.9}
.closing-band{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px;margin-bottom:62px;border:1px solid #28506a;background:#0c2032}
.closing-band h2{margin:10px 0 5px;font-size:clamp(1.45rem,2.5vw,2rem)}
.closing-band p{font-size:.82rem}
.closing-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.back-top{flex-shrink:0;padding:12px 15px;border:1px solid #32617d;border-radius:3px}
.owner-link{color:#829db1;font-size:.72rem}
.owner-link:hover{color:var(--accent)}
.site-footer{min-height:116px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 0;border-top:1px solid #1c3449}
.footer-brand .brand-mark{width:36px;height:36px;font-size:1.08rem}
.footer-brand .brand-text strong{font-size:.83rem}
.footer-brand .brand-text small{font-size:.52rem}
.site-footer p{margin:0;color:#839bad;font-size:.75rem}
.footer-copy{color:#607b91;font-size:.65rem}
.support-dialog{width:min(500px,calc(100% - 28px));max-width:500px;padding:0;border:1px solid #2b536d;background:#0c1d2e;color:#edf5fb}
.support-dialog::backdrop{background:rgb(2 8 14 / .78);backdrop-filter:blur(3px)}
.support-dialog-content{position:relative;padding:30px}
.dialog-close{position:absolute;top:12px;left:14px;width:32px;height:32px;border:1px solid #35546b;background:#10283b;color:#d6e5ee;font-size:1.4rem;line-height:1}
.dialog-eyebrow{color:#59c8e9;font:500 .62rem var(--font-mono);letter-spacing:.08em}
.support-dialog h2{margin:10px 0;color:#f0f6fb;font-size:1.25rem;line-height:1.6}
.support-dialog p{color:#a8bdcc;font-size:.88rem;line-height:1.9}
.dialog-actions{display:grid;gap:10px;margin-top:18px}
.youtube-action,.continue-action{min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:.87rem;font-weight:700}
.youtube-action{color:#041721;background:#12aee0;border:1px solid #12aee0}
.youtube-action:hover{background:#65d2ef}
.continue-action{color:#d6e5ee;border:1px solid #35546b;background:#10283b}
.continue-action:hover{background:#17364d}
.dialog-footer{margin-top:18px;padding-top:13px;border-top:1px solid #203b52;color:#829db1;font-size:.72rem}

.admin-body{min-height:100vh}
.admin-header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.admin-main{padding-block:44px 90px;min-height:calc(100vh - 150px)}
.admin-header .text-link{font-size:.78rem}
.login-panel{max-width:460px;margin:50px auto;border:1px solid var(--line);background:var(--surface);padding:32px}
.login-panel h1,.admin-title-row h1{font-size:32px;margin:0 0 8px}
.login-panel>p:not(.eyebrow){color:var(--muted);font-size:.85rem}
.admin-form label{display:grid;gap:7px;color:var(--muted);font-size:12px;margin-bottom:14px}
.admin-form input,.admin-form textarea,.admin-form select{width:100%;background:#081522;border:1px solid var(--line);color:var(--text);padding:10px 11px;outline:none;border-radius:0}
.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{border-color:#168aa8}
.admin-form select{min-height:42px}
.admin-form input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px;border:1px solid transparent;font-weight:700;font-size:.8rem}
.button-primary{background:var(--accent);color:#041522}
.button-primary:hover{background:#73e6ef}
.button-quiet{background:transparent;border-color:var(--line);color:var(--text)}
.button-quiet:hover{border-color:var(--accent);color:var(--accent)}
.form-message{color:var(--accent);font-size:12px;min-height:20px}
.admin-intro{margin:42px auto 28px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.admin-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.admin-title-row h1{font-size:clamp(28px,4vw,42px);line-height:1.3}
.admin-title-row p{color:var(--muted);max-width:690px;line-height:1.8;font-size:.85rem}
.eyebrow-mono,.panel-index{color:#29bce7;font:500 11px var(--font-mono);letter-spacing:.1em}
.secure-badge{display:flex;gap:9px;align-items:center;flex:0 0 auto;color:#a8d9e8;border:1px solid #22516a;background:#0b2130;padding:12px 15px;font-size:.8rem}
.admin-tabs{display:flex;gap:8px;margin:0 auto 18px;border-bottom:1px solid var(--line)}
.admin-tab{padding:12px 16px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8fa8bc;font:inherit;font-size:.8rem}
.admin-tab:hover,.admin-tab.active{color:var(--text);border-bottom-color:var(--accent)}
.admin-workspace{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(420px,1.1fr);gap:18px;align-items:start}
.admin-list-panel,.admin-editor-panel{min-width:0;background:#0b1a2b;border:1px solid var(--line);padding:22px}
.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:16px}
.panel-title h2{margin:5px 0 0;font-size:19px}
.admin-items{display:flex;flex-direction:column;gap:7px}
.admin-item{display:flex;align-items:center;gap:5px;border:1px solid transparent;padding:5px 8px;background:#0e2032}
.admin-item:hover,.admin-item.selected{border-color:#26728a;background:#112b3f}
.admin-item-main{min-width:0;flex:1;display:flex;align-items:center;gap:12px;border:0;color:inherit;text-align:right;background:transparent;cursor:pointer;padding:7px 0;font:inherit}
.admin-item-number{flex:0 0 32px;color:#29bce7;font:12px var(--font-mono)}
.admin-item-text{min-width:0;display:flex;flex-direction:column;gap:4px}
.admin-item-text strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.admin-item-text small{color:#89a1b6;font-size:11px}
.admin-item-visibility{color:#77b5cb;flex:0 0 auto}
.delete-button{width:32px;height:32px;border:0;background:transparent;color:#db8585}
.delete-button:hover{color:#ffaaaa}
.admin-state{color:#8fa8bc;text-align:center;padding:24px 12px;font-size:13px}
.editor-form{display:flex;flex-direction:column;gap:14px}
.editor-form label{display:flex;flex-direction:column;gap:7px;color:#b8cbd9;font-size:12px}
.editor-form input,.editor-form textarea,.editor-form select{width:100%;box-sizing:border-box}
.editor-form select{appearance:auto;border:1px solid #29465f;background:#0e2032;color:var(--text);padding:11px 12px;min-height:42px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.visibility-toggle{flex-direction:row!important;align-items:center;gap:10px!important}
.visibility-toggle input{flex:0 0 16px}
.form-actions{display:flex;flex-wrap:wrap;gap:9px;padding-top:5px}
.form-hint{color:#71899f;font-size:11px;line-height:1.7;margin:0}
.notice,.error{border:1px solid;border-radius:5px;padding:10px 12px;margin:0;font-size:12px}
.notice{color:#a4e8ff;border-color:#0d6da8;background:#081726}
.error{color:#ffb6b6;border-color:#713f48;background:#2b1821}
.admin-footer{max-width:1180px;margin:34px auto 0;padding-top:16px;border-top:1px solid var(--line);color:#627b91;text-align:center;font:10px var(--font-mono)}

@media(max-width:900px){
  .topline-code{display:none}
  .hero{grid-template-columns:1fr .8fr;gap:34px;min-height:auto;padding:66px 0}
  .hero h1{font-size:clamp(2.35rem,5vw,3.6rem)}
  .route-section,.guides-layout{gap:42px}
  .library-header{align-items:flex-start;flex-direction:column}
  .library-tools{align-items:flex-start;flex-direction:column}
  .search-wrap{width:100%}
  .admin-workspace{grid-template-columns:1fr}
  .admin-intro{align-items:flex-start;flex-direction:column}
}
@media(max-width:850px){
  .catalog-row{grid-template-columns:34px 42px minmax(0,1fr) 80px 18px;gap:12px}
  .admin-list-panel,.admin-editor-panel{padding:18px}
}
@media(max-width:680px){
  .topline{font-size:.65rem;text-align:center}
  .site-header{width:calc(100% - 32px);min-height:76px}
  .main-nav{display:none;position:absolute;top:109px;right:16px;left:16px;z-index:10;flex-direction:column;align-items:stretch;gap:13px;padding:18px;background:var(--surface);border:1px solid var(--line)}
  .main-nav.open{display:flex}
  .menu-toggle{display:block;margin-right:auto}
  .header-link{display:none}
  .brand-mark{width:37px;height:37px}
  .brand-text strong{font-size:.82rem}
  .brand-text small{font-size:.5rem}
  .hero,.route-section,.library-section,.guides-section .section-wrap,.standards-section,.closing-band,.site-footer{width:calc(100% - 32px)}
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:34px;padding:52px 0 60px}
  .hero h1{font-size:clamp(2.3rem,10vw,3.2rem);line-height:1.38}
  .hero-lead{margin-top:17px;font-size:.94rem}
  .promise-line{gap:12px 18px;margin-top:30px}
  .promise-line span{font-size:.68rem}
  .feature-panel{padding:15px}
  .signal-visual{height:220px}
  .route-section,.guides-layout{grid-template-columns:1fr;gap:26px;padding:55px 0 62px}
  .route-item{grid-template-columns:26px 39px minmax(0,1fr) 20px;gap:10px;min-height:82px}
  .route-text strong{font-size:.88rem}
  .route-text small{font-size:.68rem;line-height:1.65}
  .library-section{padding:58px 0 62px}
  .library-note{white-space:normal}
  .library-actions{align-items:stretch;flex-direction:column;width:100%}
  .outline-button{width:100%}
  .filters{gap:6px}
  .filter-button{font-size:.7rem;padding:6px 9px}
  .catalog-row{grid-template-columns:25px 36px minmax(0,1fr) 15px;gap:9px;padding:15px 0}
  .catalog-icon{width:34px;height:34px}
  .catalog-main h3{font-size:.88rem}
  .catalog-main p{font-size:.71rem}
  .catalog-status{display:none}
  .catalog-meta{font-size:.56rem;gap:8px}
  .catalog-foot{flex-direction:column;gap:6px;font-size:.63rem}
  .guide-row{grid-template-columns:25px minmax(0,1fr) 48px 12px;gap:8px}
  .guide-title h3{font-size:.78rem;line-height:1.7}
  .guide-description{font-size:.66rem}
  .guide-time{font-size:.6rem}
  .standards-section{padding:56px 0}
  .standard-steps{grid-template-columns:1fr}
  .standard-steps article{min-height:150px;padding:21px 18px}
  .standard-steps article+article{border-right:0;border-top:1px solid #243e54}
  .step-number{top:20px;left:18px}
  .closing-band{align-items:flex-start;flex-direction:column;padding:28px 21px;margin-bottom:42px}
  .site-footer{align-items:flex-start;flex-direction:column;padding:23px 0;gap:12px}
  .support-dialog-content{padding:25px 20px}
  .admin-header{height:auto;min-height:72px;align-items:flex-start;flex-direction:column;padding-block:15px}
  .admin-main{padding-block:30px 60px}
  .login-panel{margin:20px auto;padding:22px}
  .admin-title-row{align-items:flex-start;flex-direction:column}
  .admin-title-row h1{font-size:27px}
  .admin-list-panel,.admin-editor-panel{padding:16px}
  .admin-item{align-items:flex-start}
  .field-grid{grid-template-columns:1fr}
  .admin-tab{padding:11px 9px;font-size:.72rem}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .primary-action,.route-item,.route-arrow,.main-nav a{transition:none}
}

@media(max-width:620px){
  .catalog-row{grid-template-columns:25px 36px minmax(0,1fr) 15px;gap:9px}
  .admin-workspace{grid-template-columns:minmax(0,1fr)}
  .field-grid{grid-template-columns:minmax(0,1fr)}
}


/* Three official platform links per game, app, or AI tool */
.catalog-platforms{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px}
.catalog-platforms-label{flex-basis:100%;color:#8fa5b7;font-size:.68rem}
.catalog-platform-link{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid #294b63;border-radius:7px;background:#0c1b2b;color:#8addf3;font-size:.72rem;font-weight:600;text-decoration:none;transition:border-color .18s ease,background .18s ease}
.catalog-platform-link:hover{border-color:#55c7e9;background:#10263a;color:#b8efff}
.catalog-platform-link.is-disabled{border-color:#243649;background:#0a1623;color:#72869a;cursor:not-allowed}
.platform-links-editor{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid #263e54;border-radius:10px;background:#0a1725}
.platform-links-title{margin:0;color:#d5e5ef;font-size:13px;font-weight:700}


/* Clear, honest public states and readable editorial guide page */
.library-empty{margin-top:18px;padding:28px 30px;border:1px solid #29465b;border-right:3px solid var(--accent);background:#0a1a29}
.library-empty strong{display:block;margin-bottom:7px;color:#e7f1f7;font-size:1rem}
.library-empty p{margin:0;color:#9bb0c0;font-size:.84rem;line-height:1.9}
.guide-article-page{width:min(850px,calc(100% - 40px));margin:0 auto}\n.guide-article-body{padding:56px 0 90px}
.guide-article-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.guide-article-top .brand-text small{font-family:var(--font-base);font-size:.68rem;letter-spacing:0}
.guide-article-kicker{margin:34px 0 10px;color:var(--accent-soft);font-size:.78rem}
.guide-article-page h1{margin:0;color:var(--text);font-size:clamp(2rem,5vw,3.2rem);line-height:1.45}
.guide-article-lead{max-width:720px;margin:18px 0 32px;color:#a9bdcc;font-size:1.02rem;line-height:2}
.guide-article-content{display:grid;gap:18px}
.guide-article-step{padding:20px 22px;border:1px solid #20394e;background:#0a1928}
.guide-article-step h2{margin:0 0 8px;color:#e8f2f7;font-size:1.05rem}
.guide-article-step p{margin:0;color:#9bb0c0;font-size:.88rem;line-height:2}
.guide-article-note{margin:28px 0;padding:18px 20px;border-right:3px solid var(--warning);background:#171b20;color:#c9d0d6;font-size:.84rem;line-height:1.9}
.guide-article-back{display:inline-flex;margin-top:24px;padding:11px 15px;border:1px solid #315671;color:var(--accent-soft);font-size:.82rem}
@media(max-width:620px){
  .library-empty{padding:21px 17px}
  .guide-article-body{padding:34px 0 60px}
  .guide-article-top{align-items:flex-start;flex-direction:column}
  .guide-article-step{padding:17px}
}


/* Guide metadata, safety-tool links, and the next-reading panel */
.guide-article-meta{display:flex;flex-wrap:wrap;gap:9px 22px;margin:-14px 0 30px;padding:12px 0;border-block:1px solid #20394e;color:#829db1;font-size:.72rem}
.guide-article-step a{color:var(--accent-soft);text-decoration:underline;text-underline-offset:3px}
.guide-article-step a:hover{color:#b8efff}
.guide-article-step code{padding:2px 6px;border:1px solid #375267;background:#0b2132;color:#f0d89f;font-family:var(--font-mono);font-size:.85em;direction:ltr;unicode-bidi:isolate}
.guide-next{margin:28px 0;padding:22px 24px;border:1px solid #2c4b61;background:#0b1c2b}
.guide-next h2{margin:5px 0 8px;color:#e8f2f7;font-size:1.12rem;line-height:1.7}
.guide-next p{margin:0;color:#9bb0c0;font-size:.84rem;line-height:1.9}
.guide-next .guide-article-back{margin-top:16px}
@media(max-width:620px){
  .guide-article-meta{gap:6px 14px;margin-top:-8px}
  .guide-next{padding:18px}
}


/* ZENOX HUB light catalogue redesign — inspired by the user's reference video */
.ref-body{margin:0;min-height:100vh;background:#f5f6f8;color:#171b2b;font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif}
.ref-body a{color:inherit;text-decoration:none}
.ref-body button,.ref-body input{font:inherit}
.ref-header{position:relative;z-index:20;width:min(1180px,calc(100% - 42px));min-height:86px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:25px}
.ref-brand{display:inline-flex;align-items:center;gap:10px;justify-self:start}
.ref-brand-mark{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#35c4d2;color:#fff;font:800 1.15rem Arial,sans-serif;box-shadow:0 7px 18px #35c4d238}
.ref-brand-name{font:800 1rem Arial,sans-serif;letter-spacing:.02em;color:#17213b}
.ref-navigation{display:flex;align-items:center;justify-content:center;gap:29px}
.ref-navigation>a,.ref-dropdown summary{color:#26366b;font-size:.86rem;font-weight:600;cursor:pointer;list-style:none}
.ref-dropdown summary::-webkit-details-marker{display:none}
.ref-dropdown summary span{margin-right:4px;color:#36bacb}
.ref-dropdown{position:relative}
.ref-dropdown-menu{position:absolute;top:calc(100% + 15px);right:-17px;min-width:190px;padding:9px;border:1px solid #e6eaf0;border-radius:15px;background:#fff;box-shadow:0 16px 35px #273c5a18;display:grid;gap:3px}
.ref-dropdown-menu a{padding:10px 12px;border-radius:9px;color:#34415f;font-size:.8rem}
.ref-dropdown-menu a:hover{background:#eafafb;color:#167f91}
.ref-search-button{justify-self:end;width:43px;height:43px;border:0;border-radius:50%;display:grid;place-items:center;background:#38c3d2;color:#fff;font-size:1.65rem;line-height:1;box-shadow:0 9px 22px #36c2d333;cursor:pointer}
.ref-menu-toggle{display:none}
.ref-search-panel{width:min(650px,calc(100% - 42px));margin:0 auto 16px;padding:14px 18px;border:1px solid #e4e9ef;border-radius:16px;background:#fff;box-shadow:0 12px 28px #263e5d12}
.ref-search-panel[hidden]{display:none}
.ref-search-panel label{display:block;margin-bottom:7px;color:#536179;font-size:.76rem}
.ref-search-panel input{width:100%;height:42px;padding:0 13px;border:1px solid #dce4eb;border-radius:9px;background:#fbfcfd;color:#18213a;outline:0}
.ref-search-panel input:focus{border-color:#3abfce;box-shadow:0 0 0 3px #3abfce20}
.ref-main{width:min(1180px,calc(100% - 42px));margin:0 auto}
.ref-hero{position:relative;min-height:360px;margin:18px 0 48px;display:flex;align-items:center;overflow:hidden;isolation:isolate}
.ref-hero-blob{position:absolute;z-index:-1;top:28px;right:26%;width:min(650px,68%);height:290px;border-radius:47% 35% 42% 27% / 28% 33% 55% 48%;background:linear-gradient(135deg,#52d0d8,#39bfcd);transform:rotate(-4deg);box-shadow:18px 14px 0 #d9f3f4}
.ref-hero-content{position:relative;z-index:1;width:min(590px,60%);margin-right:0;margin-left:auto;padding:30px 36px 30px 0;text-align:right}
.ref-breadcrumb{margin:0 0 24px;color:#728197;font-size:.74rem}
.ref-breadcrumb span{margin-inline:7px;color:#2cabb9}
.ref-kicker,.ref-section-kicker{margin:0 0 10px;color:#258f9d;font-size:.78rem;font-weight:700}
.ref-hero h1{margin:0 0 12px;color:#fff;font-size:clamp(2rem,4.8vw,3.35rem);line-height:1.35;font-weight:800}
.ref-hero h1 span{color:#fff}
.ref-hero-copy{max-width:470px;margin:0;color:#f5ffff;font-size:.92rem;line-height:2}
.ref-hero-link{display:inline-flex;align-items:center;gap:12px;margin-top:22px;padding:11px 18px;border:1px solid #ffffff9c;border-radius:30px;color:#fff;font-size:.8rem;font-weight:700;transition:background .18s ease,color .18s ease}
.ref-hero-link:hover{background:#fff;color:#178b9b}
.ref-hero-orbit{position:absolute;left:8%;top:94px;width:165px;height:165px;display:grid;place-items:center;border:1px solid #45c4d4;border-radius:50%;background:#ffffff6e;color:#219cab;font:800 2.2rem Arial,sans-serif;box-shadow:inset 0 0 0 17px #ffffff80,0 20px 50px #43c2d324}
.ref-section{padding:16px 0 48px}
.ref-section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}
.ref-section-heading h2{margin:0;color:#202a42;font-size:1.65rem;font-weight:800}
.ref-section-heading>p{max-width:500px;margin:0;color:#7a8799;font-size:.8rem;line-height:1.9}
.ref-text-link{color:#258f9d;font-size:.8rem;font-weight:700;white-space:nowrap}
.ref-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.ref-category-card{min-height:164px;padding:20px 13px 17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;border:1px solid #edf0f4;border-radius:17px;background:#fff;text-align:center;box-shadow:0 7px 22px #2b3d5908;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.ref-category-card:hover{transform:translateY(-5px);border-color:#bcecf0;box-shadow:0 16px 35px #2aabb51a}
.ref-category-card strong{color:#25304b;font-size:.88rem}
.ref-category-card small{color:#95a1b1;font:500 .68rem Arial,sans-serif}
.ref-category-symbol{width:65px;height:65px;display:grid;place-items:center;border-radius:16px;color:#fff;font:800 .9rem Arial,sans-serif;box-shadow:0 9px 22px #1a30421a}
.symbol-game{background:linear-gradient(145deg,#3dc3cf,#73d8d9)}
.symbol-pc{background:linear-gradient(145deg,#5669c9,#929bea)}
.symbol-android{background:linear-gradient(145deg,#32b7e7,#9ce3fa)}
.symbol-iphone{background:linear-gradient(145deg,#626e86,#aab5c8)}
.symbol-software{background:linear-gradient(145deg,#edaa58,#f1ce7e)}
.symbol-ai{background:linear-gradient(145deg,#8569d6,#b49aef)}
.ref-guides-section{padding-top:10px;padding-bottom:72px}
.ref-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.ref-guide-card{overflow:hidden;border:1px solid #e9edf2;border-radius:18px;background:#fff;box-shadow:0 8px 24px #263e5a0a;transition:transform .2s ease,box-shadow .2s ease}
.ref-guide-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #263e5a15}
.ref-guide-card[hidden],.ref-category-card[hidden]{display:none}
.ref-guide-art{height:158px;display:grid;place-items:center;overflow:hidden}
.ref-guide-art>span{width:94px;height:94px;display:grid;place-items:center;border:1px solid #ffffffa8;border-radius:29px;background:#ffffffaa;color:#fff;font:700 2.6rem Arial,sans-serif;box-shadow:0 15px 30px #1d38451c;transform:rotate(-8deg)}
.art-shield{background:radial-gradient(circle at 30% 25%,#baf3ed,transparent 36%),linear-gradient(135deg,#3bc2d0,#91e0d6)}
.art-shield>span{background:#21aebc}
.art-permissions{background:radial-gradient(circle at 70% 35%,#e3d9ff,transparent 35%),linear-gradient(135deg,#7b72d2,#b9b0ed)}
.art-permissions>span{background:#6f63c5;letter-spacing:4px;font-size:1.3rem}
.ref-guide-card-body{padding:17px 18px 19px}
.ref-guide-category{color:#2b9aa8;font-size:.7rem;font-weight:700}
.ref-guide-card h3{min-height:52px;margin:8px 0;color:#202a42;font-size:.98rem;line-height:1.65}
.ref-guide-card p{min-height:48px;margin:0 0 15px;color:#788699;font-size:.78rem;line-height:1.8}
.ref-guide-card a{display:inline-flex;align-items:center;gap:7px;color:#218f9c;font-size:.78rem;font-weight:700}
.ref-search-empty{margin:20px 0;padding:20px;border:1px solid #e8edf2;border-radius:13px;background:#fff;color:#778398;text-align:center;font-size:.82rem}
.ref-search-empty[hidden]{display:none}
.ref-about{position:relative;min-height:235px;margin:0 0 60px;padding:35px 40px;display:flex;align-items:center;overflow:hidden;isolation:isolate;border:1px solid #d9f0f0;border-radius:24px;background:#eefafa}
.ref-about-blob{position:absolute;z-index:-1;left:-70px;top:-110px;width:350px;height:350px;border-radius:50%;background:#d9f5f4}
.ref-about-content{max-width:690px}
.ref-about h2{margin:0 0 10px;color:#23304a;font-size:1.5rem;line-height:1.6}
.ref-about p:not(.ref-section-kicker){margin:0;color:#697b8d;font-size:.85rem;line-height:1.9}
.ref-about a{display:inline-flex;margin-top:18px;padding:10px 16px;border-radius:30px;background:#2eb7c5;color:#fff;font-size:.78rem;font-weight:700}
.ref-footer{width:min(1180px,calc(100% - 42px));min-height:95px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid #e2e8ee}
.ref-footer nav{display:flex;flex-wrap:wrap;gap:19px}
.ref-footer nav a,.ref-footer>span{color:#8491a2;font-size:.72rem}
.ref-footer nav a:hover{color:#238e9d}
.ref-back-top{position:fixed;bottom:25px;left:25px;z-index:15;width:44px;height:44px;border:0;border-radius:50%;background:#37bfcd;color:#fff;font-size:1.35rem;box-shadow:0 9px 24px #32b8c84d;cursor:pointer}
.ref-category-page{min-height:calc(100vh - 180px)}
.ref-category-hero{min-height:315px;margin-top:14px}
.ref-category-hero .ref-hero-content{width:min(620px,65%)}
.ref-category-empty{max-width:750px;margin:10px auto 70px;padding:40px 25px;border:1px solid #e9edf2;border-radius:20px;background:#fff;text-align:center;box-shadow:0 8px 25px #263e5a0a}
.ref-empty-symbol{width:75px;height:75px;margin:0 auto 19px;display:grid;place-items:center;border-radius:22px;background:#dff7f7;color:#219dab;font:800 1.3rem Arial,sans-serif}
.ref-category-empty h2{margin:0 0 9px;color:#25304a;font-size:1.2rem}
.ref-category-empty p{max-width:530px;margin:0 auto;color:#7c8999;font-size:.82rem;line-height:1.9}
.ref-category-empty a{display:inline-flex;margin-top:20px;padding:10px 17px;border-radius:30px;background:#36bdcb;color:white;font-size:.8rem;font-weight:700}
@media(max-width:1000px){
  .ref-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ref-hero-orbit{left:3%;width:125px;height:125px}
}
@media(max-width:760px){
  .ref-header{min-height:76px;grid-template-columns:1fr auto auto;gap:12px}
  .ref-menu-toggle{display:inline-flex;justify-self:center;padding:8px 12px;border:1px solid #e1e8ed;border-radius:10px;background:#fff;color:#40506b;font-size:.77rem}
  .ref-navigation{display:none;position:absolute;top:68px;right:0;left:0;padding:16px;align-items:stretch;flex-direction:column;gap:16px;border:1px solid #e8edf2;border-radius:15px;background:#fff;box-shadow:0 14px 30px #22374d17}
  .ref-navigation.is-open{display:flex}
  .ref-dropdown-menu{position:static;margin-top:8px;box-shadow:none;background:#f8fbfc}
  .ref-hero{min-height:330px;margin-top:5px}
  .ref-hero-blob{right:7%;width:85%;height:270px}
  .ref-hero-content{width:75%;padding-right:18px}
  .ref-hero-orbit{left:1%;top:30px;width:85px;height:85px;font-size:1.3rem}
  .ref-section-heading{align-items:flex-start;flex-direction:column}
  .ref-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .ref-category-card{min-height:145px}
  .ref-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ref-guide-art{height:125px}
  .ref-about{padding:26px 22px}
  .ref-footer{padding:22px 0;align-items:flex-start;flex-direction:column}
}
@media(max-width:460px){
  .ref-header,.ref-main,.ref-footer{width:calc(100% - 28px)}
  .ref-brand-mark{width:35px;height:35px}
  .ref-brand-name{font-size:.85rem}
  .ref-search-button{width:38px;height:38px}
  .ref-hero{min-height:295px;margin-bottom:25px}
  .ref-hero-blob{right:2%;width:96%;height:255px}
  .ref-hero-content{width:93%;padding-right:14px}
  .ref-hero h1{font-size:2rem}
  .ref-hero-copy{font-size:.8rem}
  .ref-hero-orbit{display:none}
  .ref-category-card{min-height:130px;padding:14px 7px}
  .ref-category-symbol{width:54px;height:54px}
  .ref-category-card strong{font-size:.78rem}
  .ref-guide-grid{grid-template-columns:1fr}
  .ref-guide-card{display:grid;grid-template-columns:115px minmax(0,1fr)}
  .ref-guide-art{height:100%;min-height:185px}
  .ref-guide-card-body{padding:13px}
  .ref-guide-card h3,.ref-guide-card p{min-height:0}
  .ref-about h2{font-size:1.2rem}
  .ref-footer nav{gap:12px}
}
@media(prefers-reduced-motion:reduce){
  .ref-category-card,.ref-guide-card{transition:none}
}


/* Accessibility refinements: contrast, clear controls, and 44px+ targets */
.ref-header{
  grid-template-columns:auto minmax(0,1fr) minmax(235px,270px);
  gap:20px;
}
.ref-navigation{gap:clamp(10px,1.5vw,20px)}
.ref-navigation>a,
.ref-dropdown summary{
  min-height:48px;
  padding:0 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  color:#26366b;
  font-size:.84rem;
  white-space:nowrap;
  transition:background .18s ease,color .18s ease;
}
.ref-navigation>a:hover,
.ref-dropdown summary:hover,
.ref-dropdown[open]>summary{
  background:#e9f8f9;
  color:#116d7a;
}
.ref-dropdown summary::-webkit-details-marker{display:none}
.ref-dropdown-chevron{
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#dff5f6;
  color:#147b88;
  font-size:1.05rem;
  font-weight:800;
  line-height:1;
  transition:transform .18s ease,background .18s ease;
}
.ref-dropdown[open] .ref-dropdown-chevron{transform:rotate(180deg);background:#cceff1}
.ref-dropdown-menu{top:calc(100% + 4px);right:0;min-width:205px;padding:8px;gap:4px}
.ref-dropdown-menu a{
  min-height:44px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  border-radius:9px;
  color:#34415f;
}
.ref-search-box{
  min-width:0;
  min-height:48px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 12px;
  border:1px solid #dce4eb;
  border-radius:999px;
  background:#fff;
  box-shadow:0 5px 18px #263e5a09;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.ref-search-box:focus-within{
  border-color:#159baa;
  box-shadow:0 0 0 3px #2eb8c61f,0 5px 18px #263e5a09;
}
.ref-search-icon{flex:0 0 auto;color:#218c99;font-size:1.45rem;line-height:1}
.ref-search-box input{
  width:100%;
  min-width:0;
  min-height:46px;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  color:#1d2b42;
  font-size:.78rem;
}
.ref-search-box input::placeholder{color:#758397;opacity:1}
.ref-search-clear{
  flex:0 0 44px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:#edf6f7;
  color:#25576a;
  font-size:1.25rem;
  cursor:pointer;
}
.ref-search-clear[hidden]{display:none}
.ref-visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Keep every word of the hero inside the turquoise surface and use dark text. */
.ref-hero{min-height:380px}
.ref-hero-blob{
  top:24px;
  right:2%;
  width:96%;
  height:320px;
  background:linear-gradient(135deg,#52d0d8 0%,#39bfcd 100%);
}
.ref-hero-content{
  width:min(690px,70%);
  margin-right:0;
  margin-left:auto;
  padding:34px 40px 34px 24px;
}
.ref-hero .ref-breadcrumb{color:#23465a}
.ref-hero .ref-breadcrumb span{color:#153f53}
.ref-hero .ref-kicker,.ref-category-hero .ref-kicker{color:#123d50}
.ref-hero h1,.ref-hero h1 span{color:#10283f}
.ref-hero-copy{color:#10283f;font-weight:500}
.ref-hero-link{
  min-height:48px;
  padding:11px 20px;
  border:1px solid #10283f;
  background:#10283f;
  color:#fff;
}
.ref-hero-link:hover,
.ref-hero-link:focus-visible{background:#fff;color:#10283f;border-color:#10283f}
.ref-hero-orbit{pointer-events:none}
.ref-category-hero .ref-hero-content{width:min(690px,70%)}
.ref-category-hero .ref-hero-copy{color:#10283f}

/* Keyboard, hover, and touch feedback with clear focus visibility. */
.ref-body a:focus-visible,
.ref-body button:focus-visible,
.ref-body summary:focus-visible,
.ref-body input:focus-visible{
  outline:3px solid #145d9a;
  outline-offset:3px;
}
.ref-category-card,
.ref-guide-card a,
.ref-about a,
.ref-text-link{
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease;
}
.ref-category-card:focus-visible,
.ref-guide-card a:focus-visible,
.ref-about a:focus-visible{outline:3px solid #145d9a;outline-offset:3px}
.ref-back-top{
  width:48px;
  height:48px;
  min-width:48px;
  min-height:48px;
  display:grid;
  place-items:center;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.ref-back-top:hover{transform:translateY(-3px);background:#178e9c;box-shadow:0 12px 26px #32b8c866}
.ref-search-clear:hover{background:#d8eff1}
.ref-guide-card a{min-height:44px;padding:4px 0}
.ref-about a{min-height:46px;padding:12px 18px}
.ref-hero-link{min-width:48px}

@media(max-width:1000px){
  .ref-header{grid-template-columns:auto minmax(0,1fr) 230px;gap:12px}
  .ref-navigation{gap:7px}
  .ref-navigation>a,.ref-dropdown summary{padding:0 6px;font-size:.78rem}
}
@media(max-width:760px){
  .ref-header{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    gap:10px 12px;
    padding:12px 0;
  }
  .ref-menu-toggle{
    min-width:48px;
    min-height:48px;
    padding:10px 14px;
    align-items:center;
    justify-content:center;
    cursor:pointer;
  }
  .ref-navigation{
    top:70px;
    gap:7px;
  }
  .ref-navigation>a,.ref-dropdown summary{min-height:48px;justify-content:flex-start;font-size:.86rem}
  .ref-dropdown-menu{margin-top:4px}
  .ref-search-box{grid-column:1/-1;grid-row:2;width:100%}
  .ref-hero{min-height:340px}
  .ref-hero-blob{right:2%;width:96%;height:300px;top:18px}
  .ref-hero-content{width:92%;padding:28px 18px}
  .ref-hero-orbit{left:1%;top:18px;width:82px;height:82px}
}
@media(max-width:460px){
  .ref-search-box{min-height:50px}
  .ref-search-box input{min-height:48px}
  .ref-hero{min-height:315px}
  .ref-hero-blob{right:2%;width:96%;height:285px}
  .ref-hero-content{width:100%;padding:26px 15px}
  .ref-hero h1{font-size:1.8rem}
  .ref-hero-copy{max-width:100%;font-size:.82rem}
  .ref-hero-orbit{display:none}
  .ref-back-top{bottom:18px;left:18px}
}
@media(prefers-reduced-motion:reduce){
  .ref-navigation>a,.ref-dropdown-chevron,.ref-search-box,.ref-back-top,
  .ref-category-card,.ref-guide-card a,.ref-about a{transition:none}
}

.ref-footer nav a{min-height:44px;display:inline-flex;align-items:center;padding:0 5px}
.ref-guide-card a{min-height:48px}

@media(max-width:760px){
  .ref-category-hero .ref-hero-content{width:92%}
}
@media(max-width:460px){
  .ref-category-hero .ref-hero-content{width:100%}
}


/* Keep secondary text and icon controls readable against their surfaces. */
.ref-brand-mark{color:#10283f}
.ref-search-icon{color:#176d79}
.ref-search-box input::placeholder{color:#5a6b80;opacity:1}
.ref-category-symbol{color:#15354b}
.symbol-game{background:linear-gradient(145deg,#b9eef0,#89dbe0)}
.symbol-pc{background:linear-gradient(145deg,#d8defa,#b3bef4)}
.symbol-android{background:linear-gradient(145deg,#e0f4fc,#c6edfa)}
.symbol-iphone{background:linear-gradient(145deg,#e1e8f2,#bdc9db)}
.symbol-software{background:linear-gradient(145deg,#fae5c6,#f4d59d)}
.symbol-ai{background:linear-gradient(145deg,#e8defc,#cbb9f3)}
.ref-category-card small{color:#5f6f84}
.ref-section-heading>p{color:#5c6c82}
.ref-section-kicker,.ref-kicker{color:#176d79}
.ref-guide-category{color:#176d79}
.ref-guide-card p{color:#5e6f84}
.ref-guide-card a,.ref-text-link{color:#176d79}
.ref-search-empty{color:#5a6b80}
.ref-about p:not(.ref-section-kicker){color:#536579}
.ref-about a{background:#12606b;color:#fff}
.ref-about a:hover{background:#0d4e58;color:#fff}
.ref-footer nav a,.ref-footer>span{color:#5e6d80}
.ref-back-top{background:#12606b;color:#fff}
.ref-back-top:hover{background:#0d4e58}
.art-shield>span{background:#11717b;color:#fff}
.art-permissions>span{background:#5142a8;color:#fff}


/* Breadcrumbs for detailed guide articles */
.guide-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 22px;color:#6b7f96;font-size:.74rem;line-height:1.7}
.guide-breadcrumb a{color:#078bc9;text-decoration:none;transition:color 180ms ease}
.guide-breadcrumb a:hover{color:#075d93;text-decoration:underline}
.guide-breadcrumb span[aria-current="page"]{color:#516980}
