/* Unique hub chrome. Native Studio paint and draft handlers remain the host's. */
.profile-achievement-journey { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; width:100%; min-height:88px; margin:20px 0; padding:0; border:1px solid #6487b3; background:#6487b3; color:#fff; font:22px/1.2 ForcedSquare,sans-serif; box-sizing:border-box; }
.profile-achievement-journey>button { display:flex; align-items:center; gap:14px; width:100%; min-width:0; min-height:88px; padding:18px 20px; border:0; border-bottom:3px solid #7ee7ff; background:linear-gradient(110deg,#2b4483,#1a2c5b); color:#fff; font:inherit; text-align:left; cursor:pointer; }
.profile-achievement-journey>button[data-ph-launch=studio] { border-bottom-color:#ffda83; }
.profile-achievement-journey>button:hover { background:#355187; }
.profile-achievement-journey>button:focus-visible { outline:3px solid #ffda83; outline-offset:3px; position:relative; z-index:1; }
.profile-achievement-journey strong { font-weight:normal; }
.profile-achievement-journey small { display:block; margin-top:6px; color:#bed7f3; font:14px/1.3 'Trebuchet MS',sans-serif; }
.ph-entry-mark { color:#7ee7ff; font-size:36px; }
.ph-entry-arrow { margin-left:auto; color:#7ee7ff; font-size:28px; }
.profile-achievement-journey>button>span { min-width:0; }
.profile-achievement-journey strong { overflow-wrap:anywhere; }
dialog.profile-hub { position:fixed; inset:0; width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; overflow:hidden; box-sizing:border-box; color:#f3f8ff; background:#1d2e61; font:14px/1.45 'Trebuchet MS',sans-serif; color-scheme:dark; }
.profile-hub[open] { display:flex; flex-direction:column; }
.profile-hub::backdrop { background:#14214a; }
.profile-hub *, .profile-hub *::before, .profile-hub *::after { box-sizing:border-box; }
.profile-hub [hidden] { display:none!important; }
.profile-hub :is(button,input,a,summary,[tabindex]):focus-visible { outline:3px solid #ffda83!important; outline-offset:3px; }
.ph-header { display:flex; align-items:center; gap:20px; flex:none; padding:20px 32px; background:linear-gradient(100deg,#30477e,#23366b 72%); border-bottom:1px solid #5477a6; }
.ph-brand { display:flex; align-items:center; justify-content:center; color:#7ee7ff; width:58px; height:58px; flex:none; border:1px solid #6289b6; background:#1d315e; }
.ph-brand svg { width:44px; height:44px; }
.ph-heading { min-width:0; }
.ph-heading p { margin:0 0 4px; color:#8adff7; font:12px/1.35 ForcedSquare,sans-serif; letter-spacing:2px; }
.ph-heading h2 { margin:0; color:white; font:normal clamp(26px,3vw,40px)/1.1 ForcedSquare,sans-serif; }
.ph-close { display:flex; align-items:center; gap:20px; margin-left:auto; padding:10px 16px; min-height:46px; border:1px solid #8aa6cc; background:#293e71; color:white; font:20px ForcedSquare,sans-serif; cursor:pointer; }
.ph-close span { color:#9bbada; font:28px/1 sans-serif; }
.ph-close:hover { background:#39558e; }
.ph-tabbar { display:flex; align-items:stretch; flex:none; gap:0; min-height:56px; padding:0 32px; border-bottom:1px solid #6081af; background:#182951; }
.ph-tabbar>[role=tab] { min-width:170px; min-height:56px; margin:0; padding:12px 24px; border:0; border-bottom:4px solid transparent; background:transparent; color:#b9cfea; font:21px ForcedSquare,sans-serif; cursor:pointer; }
.ph-tabbar>[role=tab][aria-selected=true] { color:#fff; border-bottom-color:#7ee7ff; background:#2c467f; }
.ph-tabbar>[role=tab]:hover { color:#fff; background:#263d70; }
.ph-tab-hint { display:flex; align-items:center; margin-left:auto; color:#a8c4e5; font:14px 'Trebuchet MS',sans-serif; }
.ph-panel { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-color:#6c98c8 #17264f; scroll-padding:18px; }
.ph-panel>[data-ph-journal][aria-busy=true] { padding:40px; color:#7ee7ff; }
.ph-studio-panel { padding:20px 32px 32px; background:linear-gradient(120deg,#263d74,#192a56); }
.ph-studio-note { margin:0 0 18px; color:#c8ddf5; font:14px/1.5 'Trebuchet MS',sans-serif; }
.profile-hub .profile-customizer { margin:0!important; border:0!important; border-left:0!important; box-shadow:none!important; background:transparent!important; font-family:ForcedSquare,sans-serif; }
.profile-hub .profile-customizer>summary, .profile-hub .profile-customizer .studio-close-bottom { display:none!important; }
.profile-hub .profile-customizer>.profile-customizer-body { display:grid; grid-template-columns:minmax(260px,.72fr) minmax(0,1.7fr)!important; gap:24px!important; padding:0!important; background:transparent; }
.profile-hub .profile-customizer-preview { position:sticky!important; top:0!important; align-self:start; }
@media (min-width:851px) and (min-height:501px) {
  .profile-hub .profile-customizer .profile-customizer-preview {
    top:0!important;
    min-height:0;
    height:var(--ph-preview-height,auto);
    padding:14px!important;
    gap:10px!important;
    max-height:none!important;
    overflow:visible;
    box-sizing:border-box;
  }
}
.profile-hub .profile-customizer .studio-tabs { position:sticky; top:-1px; z-index:3; }
.profile-hub [data-hub-reward-target] { outline:3px solid #ffda83!important; outline-offset:3px; box-shadow:0 0 0 6px #ffda8324!important; }
.profile-hub .profile-customizer .profile-cosmetic-choice[data-hub-reward-target]::after { content:'REWARD'; position:absolute; right:4px; top:4px; padding:3px 5px; background:#ffda83; color:#182344; font:10px ForcedSquare,sans-serif; }
.profile-hub .profile-customizer-controls { min-width:0; }

/* Journal: path rail, progression lanes, and an actual cosmetic reward inspector. */
.aj.aj :is(p,span,small,div,summary,strong,li),.profile-hub .ph-heading p { font-family:ForcedSquare,sans-serif!important; font-style:normal!important; }
.aj { --aj-cyan:#7ee7ff; --aj-amber:#ffda83; --aj-muted:#b9cfea; --aj-line:#5276a4; min-width:0; width:100%; padding:24px 28px; color:#f3f8ff; background:linear-gradient(120deg,#293e76,#1a2c58 75%); font:18px/1.35 ForcedSquare,sans-serif; box-sizing:border-box; }
.aj *, .aj *::before, .aj *::after { box-sizing:border-box; }
.aj [hidden] { display:none!important; }
.aj h2,.aj h3,.aj p { margin:0; font-weight:normal; }
.aj button { color:inherit; cursor:pointer; font:inherit; min-height:44px; overflow-wrap:anywhere; }
.aj button:focus-visible,.aj input:focus-visible { outline:3px solid var(--aj-amber); outline-offset:3px; position:relative; z-index:2; }
.aj-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid var(--aj-line); }
.aj-kicker { color:var(--aj-cyan); font-size:12px; letter-spacing:1px; }
.aj h2 { font:normal clamp(30px,4vw,46px)/1.1 ForcedSquare,sans-serif; margin-top:6px; }
.aj-head>button { border:1px solid #7398c5; background:#2c457d; padding:10px 20px; }
.aj[data-aj-embedded]>.aj-head { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); margin:0; padding:0; border:0; }
.aj[data-aj-embedded]>.aj-head button { display:none; }
.aj-summary { display:flex; align-items:center; gap:18px; margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid #456494; }
.aj-summary>strong { color:var(--aj-cyan); font:normal 42px/1 ForcedSquare,sans-serif; white-space:nowrap; }
.aj-summary>strong span { font-size:22px; color:#a7c4e8; }
.aj-summary>div { font-size:20px; }
.aj-summary>div>p { margin-top:5px; color:var(--aj-muted); font:13px/1.4 'Trebuchet MS',sans-serif; }
.aj-summary .aj-notice { margin-left:auto; max-width:310px; color:var(--aj-muted); font:13px/1.5 'Trebuchet MS',sans-serif; }
.aj-workspace { display:grid; grid-template-columns:190px minmax(0,1fr); align-items:start; gap:28px; }
.aj-paths { position:sticky; top:20px; display:flex; flex-direction:column; gap:6px; min-width:0; }
.aj-paths>.aj-kicker { padding:0 10px 12px; font-size:11px; color:#a6c0e1; }
.aj-paths>button { display:flex; align-items:center; gap:10px; width:100%; min-height:52px; padding:12px 10px; border:1px solid transparent; border-left:3px solid transparent; background:transparent; text-align:left; color:#c7d9f2; font-size:18px; }
.aj-paths>button svg { flex:none; width:21px; height:21px; color:#7aabd5; }
.aj-paths>button small { margin-left:auto; color:#a4c4e5; font:12px 'Trebuchet MS',sans-serif; }
.aj-paths>button:hover { background:#314c83; }
.aj-paths>button[aria-pressed=true] { border-color:#466b9b; border-left-color:var(--aj-cyan); background:#354f87; color:white; }
.aj-paths>button[aria-pressed=true] svg { color:var(--aj-cyan); }
.aj-content { min-width:0; }
.aj-tools { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:12px; padding-bottom:20px; }
.aj-filters { display:flex; gap:4px; padding:3px; background:#17284f; border:1px solid #4a6c9c; }
.aj-filters button { min-width:94px; padding:9px 12px; border:0; background:transparent; color:#bed3ef; font-size:16px; }
.aj-filters button[aria-pressed=true] { background:var(--aj-cyan); color:#142449; }
.aj-filters button:hover:not([aria-pressed=true]) { background:#304c82; color:white; }
.aj-search { min-width:180px; max-width:270px; flex:1; }
.aj-search input { width:100%; min-height:46px; padding:10px 12px; border:1px solid #587ca7; border-radius:0; background:#1a2c55; color:white; font:14px 'Trebuchet MS',sans-serif; }
.aj-search input::placeholder { color:#a4bedf; opacity:1; }
.aj-layout { display:grid; grid-template-columns:minmax(260px,1fr) minmax(240px,.85fr); align-items:start; gap:26px; }
.aj-tree { display:grid; gap:24px; min-width:0; }
.aj-branch { min-width:0; }
.aj-branch>header { display:flex; align-items:center; gap:10px; padding-bottom:14px; color:var(--aj-cyan); }
.aj-branch>header svg { width:25px; height:25px; flex:none; }
.aj-branch>header h3 { font:normal 25px/1 ForcedSquare,sans-serif; color:white; }
.aj-branch>header>span { margin-left:auto; color:#b7d1ed; font:13px 'Trebuchet MS',sans-serif; }
.aj-branch-note { padding:0 0 16px; color:var(--aj-muted); font:12px/1.4 'Trebuchet MS',sans-serif; }
.aj-branch ol { display:grid; gap:10px; list-style:none; padding:0 0 0 20px; margin:0 0 0 10px; border-left:2px solid #567ba7; }
.aj-branch li { position:relative; min-width:0; }
.aj-branch li::before { content:''; position:absolute; width:22px; left:-22px; top:25px; border-top:2px solid #567ba7; pointer-events:none; }
.aj-branch li>button { display:flex; flex-direction:column; align-items:stretch; gap:8px; width:100%; padding:13px 15px; border:1px solid #4a6c9b; border-left:3px solid #7097bf; background:#2a4275; text-align:left; }
.aj-branch li>button:hover { background:#354f85; }
.aj-branch li>button[aria-pressed=true] { border-color:var(--aj-cyan); border-left:3px solid var(--aj-cyan); background:#334f85; }
.aj-branch li[data-aj-earned=true]>button { border-left-color:var(--aj-amber); }
.aj-node-top { display:flex; justify-content:space-between; flex-wrap:wrap; gap:5px 10px; color:#b4cbea; font:10px/1.3 'Trebuchet MS',sans-serif; text-transform:uppercase; letter-spacing:.5px; }
.aj-branch li[data-aj-earned=true] .aj-node-top>span:last-child { color:var(--aj-amber); }
.aj-branch li>button>strong { font:normal 20px/1.2 ForcedSquare,sans-serif; }
.aj-progress { display:flex; flex-direction:column; gap:5px; color:var(--aj-cyan); font:12px/1.3 'Trebuchet MS',sans-serif; }
.aj progress { appearance:none; border:0; border-radius:0; height:4px; width:100%; accent-color:var(--aj-cyan); background:#14254c; }
.aj progress::-webkit-progress-bar { background:#14254c; }
.aj progress::-webkit-progress-value { background:var(--aj-cyan); }
.aj progress::-moz-progress-bar { background:var(--aj-cyan); }
.aj-node-reward { color:#bcd4ef; font:12px/1.3 'Trebuchet MS',sans-serif; }
.aj-mobile-prompt { display:none; color:#7ee7ff; font:12px 'Trebuchet MS',sans-serif; }
.aj-detail { position:sticky; top:20px; min-width:0; padding:20px; border-top:3px solid var(--aj-amber); background:#182b54; box-shadow:0 10px 30px #0a15341c; }
.aj-detail h3 { margin:12px 0; font:normal 27px/1.15 ForcedSquare,sans-serif; }
.aj-detail p { color:#bfd5ef; font:13px/1.5 'Trebuchet MS',sans-serif; margin-bottom:14px; overflow-wrap:anywhere; }
.aj-detail .aj-kicker { color:var(--aj-amber); font:12px/1.3 ForcedSquare,sans-serif; letter-spacing:1px; }
.aj-detail .aj-detail-rewardtext { font-size:12px; }
.aj-detail .aj-local { padding-left:10px; border-left:2px solid var(--aj-cyan); }
.aj-rewards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:330px; overflow:auto; padding:4px; margin:0 -4px 16px; scrollbar-color:#6b93c2 #15274d; }
.aj .aj-reward { position:relative; display:flex; flex-direction:column; align-items:stretch; gap:6px; width:100%; min-height:114px!important; padding:8px!important; border:1px solid #5577a6!important; border-radius:0; background:#2b4372!important; box-shadow:none; text-align:left; }
.aj .aj-reward:hover { outline:1px solid var(--aj-cyan); }
.aj-reward-swatch { display:block; min-width:0; width:100%; height:40px; overflow:hidden; background:#314e87; }
.aj .aj-reward .profile-cosmetic-preview { display:flex; width:100%; min-height:40px; align-items:center; justify-content:center; font:18px ForcedSquare,sans-serif; }
.aj .aj-reward .profile-cosmetic-preview i { display:block; width:100%; min-height:40px; }
.aj-reward-category { color:#9ec7e9; font:10px/1.2 'Trebuchet MS',sans-serif; text-transform:uppercase; letter-spacing:.6px; }
.aj-reward-label { color:white; font:13px/1.25 'Trebuchet MS',sans-serif; }
.aj-detail .aj-preview-note { font-size:12px; }
.aj-more { margin:0 0 14px; color:#abc6e5; font:12px/1.4 'Trebuchet MS',sans-serif; }
.aj-more summary { cursor:pointer; min-height:30px; padding:4px 0; }
.aj-more[open]>p { margin:6px 0 0; font-size:12px; }
.aj [data-aj-known=false] progress { visibility:hidden; }
.aj .aj-explore { width:100%; min-height:46px; padding:10px 12px; border:1px solid #5579a8; background:#2e477a; color:white; font:18px ForcedSquare,sans-serif; text-align:left; }
.aj-empty-filter,.aj-empty { padding:20px; border-left:2px solid var(--aj-cyan); background:#203761; color:var(--aj-muted); font:15px/1.4 'Trebuchet MS',sans-serif; }
.aj-footer { margin-top:22px!important; padding-top:12px; border-top:1px solid #456797; color:#9cbddd; font:12px/1.3 'Trebuchet MS',sans-serif; }
.aj-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
/* Native profile resets must not turn hub prose or reward labels into serif text. */
.profile-hub .ph-tab-hint,
.profile-hub .ph-studio-note,
.profile-hub .aj p,
.profile-hub .aj-reward-label,
.profile-hub .aj-reward-category,
.profile-hub .aj-node-top,
.profile-hub .aj-node-reward,
.profile-hub .aj-progress,
.profile-hub .aj-more,
.profile-hub .aj-search input { font-family:ForcedSquare,sans-serif!important; }
.profile-hub .aj-summary>div>p,
.profile-hub .aj .aj-notice,
.profile-hub .aj-detail p { font-size:13px; line-height:1.45; }
.profile-hub .aj-reward-label { font-size:14px; line-height:1.4; }
/* Studio helpers use the loaded native game font, including short landscape. */
.profile-hub .ph-studio-note,
.profile-hub .profile-customizer-preview>header small,
.profile-hub .profile-customizer-actions [role=status],
.profile-hub .profile-cosmetic-group>p,
.profile-hub .studio-tab-help { font-family:ForcedSquare,sans-serif!important;font-style:normal!important;font-size:14px;line-height:1.4; }
.profile-hub .ph-tabbar [role=tab] span { font-style:normal!important; }
.profile-hub .ph-tab-hint { font-size:14px; line-height:1.45; }
.profile-hub .aj .aj-kicker { font-family:ForcedSquare,sans-serif!important; }
@media (min-width:1600px) { .aj { padding:30px 48px; } .aj-layout { grid-template-columns:minmax(320px,1.2fr) minmax(300px,.85fr); } .aj-rewards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:1100px) { .aj { padding:20px; } .aj-workspace { grid-template-columns:158px minmax(0,1fr); gap:20px; } .aj-paths>button { font-size:16px; gap:8px; padding:10px 7px; } .aj-layout { grid-template-columns:minmax(0,1fr) minmax(220px,.85fr); gap:18px; } .aj-detail { padding:16px; } .profile-hub .profile-customizer>.profile-customizer-body { grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr)!important; gap:18px!important; } }
@media (max-width:850px) { .aj-workspace { grid-template-columns:1fr; gap:18px; } .aj-paths { position:static; flex-direction:row; overflow:auto; padding:3px; gap:4px; scrollbar-width:thin; } .aj-paths>.aj-kicker { display:none; } .aj-paths>button { flex:0 0 auto; width:auto; min-height:46px; padding:9px 12px; border-left:0; border-bottom:3px solid transparent; font-size:17px; } .aj-paths>button[aria-pressed=true] { border-bottom-color:var(--aj-cyan); border-left:0; } .aj-paths>button small { display:none; } .aj-summary .aj-notice { max-width:230px; } .ph-studio-panel { padding:18px; } .profile-hub .profile-customizer>.profile-customizer-body { grid-template-columns:minmax(0,1fr)!important; } .profile-hub .profile-customizer-preview { position:static!important; } }
@media (max-width:660px) { .ph-header { padding:14px 12px; gap:12px; } .ph-brand { width:38px; height:42px; } .ph-brand svg { width:32px; height:32px; } .ph-heading p { font-size:10px; letter-spacing:1px; } .ph-heading h2 { font-size:22px; } .ph-close { padding:8px 10px; min-height:44px; font-size:17px; gap:8px; } .ph-close span { display:none; } .ph-tabbar { min-height:50px; padding:0 12px; } .ph-tabbar>[role=tab] { flex:1; min-width:0; min-height:50px; padding:10px 14px; font-size:19px; } .ph-tab-hint { display:none; } .aj { padding:16px 12px; } .aj-head { gap:12px; } .aj-summary { flex-wrap:wrap; gap:12px; padding-bottom:16px; margin-bottom:16px; } .aj-summary>strong { font-size:36px; } .aj-summary>div { font-size:18px; } .aj-summary .aj-notice { width:100%; max-width:none; margin-left:0; font-size:12px; } .aj-layout { display:flex; flex-direction:column; gap:16px; } .aj-tree,.aj-detail { width:100%; } .aj-tools { gap:10px; padding-bottom:18px; } .aj-filters { width:100%; } .aj-filters button { flex:1; min-width:0; } .aj-search { max-width:none; width:100%; } .aj-paths>button { font-size:16px; } .aj-detail { position:static; padding:16px; } .aj-branch li>.aj-detail { margin-top:10px; } .aj-branch li:has(>.aj-detail)>button { height:auto; } .aj-rewards { max-height:290px; } .ph-studio-panel { padding:12px; } .ph-studio-note { font-size:12px; } .profile-hub .profile-customizer>.profile-customizer-body { padding:0!important; } .profile-achievement-journey { padding:14px; font-size:19px; gap:12px; } }
@media (max-height:500px) and (orientation:landscape) { .ph-header { padding:8px 20px; gap:12px; } .ph-brand { width:36px; height:36px; } .ph-brand svg { width:30px; height:30px; } .ph-heading p { display:none; } .ph-heading h2 { font-size:25px; } .ph-tabbar { min-height:46px; padding:0 20px; } .ph-tabbar>[role=tab] { min-height:46px; padding:8px 20px; font-size:18px; } .aj { padding:16px 20px; } .aj-summary { margin-bottom:14px; padding-bottom:12px; } .aj-summary>strong { font-size:30px; } .aj-detail { top:8px; } .profile-hub .profile-customizer-preview { position:static!important; } }
@media (max-width:660px), (max-height:500px) and (orientation:landscape) {
  .profile-hub .profile-customizer-preview { padding:12px!important; gap:10px!important; }
  .profile-hub .profile-customizer-preview>header { padding-bottom:8px; margin-bottom:0; }
  .profile-hub .profile-customizer-preview>header b { font-size:18px!important; }
  .profile-hub .profile-customizer-preview>header small { display:none!important; }
  .profile-hub .profile-customizer-preview .profile-row-showcase { display:none!important; }
  .profile-hub .profile-customizer-preview .profile-preview-stage { min-height:76px!important; padding:4px!important; margin:0!important; }
  .profile-hub .profile-customizer-preview .profile-preview-stage>.overall-car-model { height:68px!important; width:82px!important; min-height:68px!important; }
  .profile-hub .profile-customizer-preview .profile-preview-stage>span>b { font-size:20px!important; }
  .profile-hub .profile-customizer-preview .profile-customizer-actions { padding-top:8px; display:grid!important; grid-template-columns:1fr 1fr!important; gap:8px!important; }
  .profile-hub .profile-customizer-preview .profile-customizer-actions>[role=status] { grid-column:1/-1!important; font-size:12px!important; margin:0; }
  .profile-hub .profile-customizer-preview .profile-customizer-actions>button { min-height:44px!important; padding:8px!important; font-size:16px!important; }
}
@media (max-width:660px) {
  .aj-mobile-prompt { display:block; }
  .profile-achievement-journey { padding:0; gap:1px; }
  .profile-achievement-journey>button { padding:12px 10px; gap:0; min-height:80px; }
  .profile-achievement-journey>button strong { font-size:16px; }
  .profile-achievement-journey>button small { font-size:11px; }
  .profile-achievement-journey .ph-entry-mark { display:none; }
}
@media (min-width:661px) and (max-height:500px) and (orientation:landscape) {
  .profile-hub .profile-customizer>.profile-customizer-body { grid-template-columns:minmax(230px,.8fr) minmax(0,1.3fr)!important; }
}
@media (prefers-reduced-motion:no-preference) { .profile-hub[open] .ph-heading { animation:ph-enter .18s ease-out; } @keyframes ph-enter { from {opacity:0;transform:translateX(-8px);} to {opacity:1;transform:none;} } }

/* A joined native launcher and progression lanes, not a dashboard of cards. */
@media(max-width:660px){
  .aj-paths { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:5px; }
  .aj-paths>button { width:100%;min-width:0;white-space:normal;text-align:left; }
  .aj-paths>.aj-kicker { grid-column:1/-1; }
}
.profile-achievement-journey { gap:0; border:1px solid #7395bf; border-bottom:3px solid var(--profile-accent,#7ee7ff); background:linear-gradient(110deg,color-mix(in srgb,var(--profile-a,var(--cosmetic-a,#253d72)) 50%,#253d72),color-mix(in srgb,var(--profile-b,var(--cosmetic-b,#1a2c5b)) 50%,#1a2c5b)); }
.profile-achievement-journey>button { border:0; background:transparent; gap:16px; }
.profile-achievement-journey>button+button { border-left:1px solid #7395bf; }
.profile-achievement-journey>button[data-ph-launch=studio] { border-bottom:0; }
.profile-achievement-journey .ph-entry-mark { display:flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; border:0; background:transparent; color:var(--profile-accent,#7ee7ff); }
.ph-entry-mark svg { width:28px; height:28px; }
.ph-entry-chevron { margin-left:auto; color:#a5d9f3; font:28px/1 ForcedSquare,sans-serif; }
.ph-tabbar>[role=tab] { display:flex; align-items:center; justify-content:center; gap:10px; }
.ph-tabbar>[role=tab] svg { width:24px; height:24px; flex:none; color:#87d9ef; }
.ph-brand svg { width:36px; height:36px; }
/* Keep hub chrome neutral; profile paint belongs only inside Studio previews. */
dialog.profile-hub { background:#203363; }
.profile-hub .ph-header { background:#29394d; }
.profile-hub .ph-studio-panel { background:transparent; }
.aj-layout { display:block; }
.aj-tree { gap:30px; }
.aj-branch>header { padding-bottom:18px; border-bottom:1px solid #5878a3; margin-bottom:0; }
.aj-branch>header h3 { font-size:29px; }
.aj-branch-note { padding:12px 0 0; }
.aj-lane { min-width:0; padding-top:20px; margin-top:0; border-bottom:1px solid #46658e; padding-bottom:20px; }
.aj-lane-head { display:flex; align-items:center; gap:12px; margin:0 0 14px; }
.aj-lane-mark { display:flex; align-items:center; justify-content:center; width:36px; height:36px; color:#94b9dd; border:1px solid #4d6e9a; flex:none; }
.aj-lane-mark svg { width:22px; height:22px; }
.aj-lane-head p { font:10px/1.3 'Trebuchet MS',sans-serif; color:#adc8e5; letter-spacing:.7px; }
.aj-lane-head h4 { margin:4px 0 0; color:#f4f8ff; font:normal 23px/1.15 ForcedSquare,sans-serif; }
.aj-lane-count { margin-left:auto; color:#bad0eb; white-space:nowrap; font:12px/1.4 'Trebuchet MS',sans-serif; }
.aj-branch .aj-tier-list { display:flex; gap:0; min-width:0; padding:4px; margin:0; border:0; overflow-x:auto; scrollbar-color:#7a9bc3 #1c315e; }
.aj-branch .aj-tier-list>li { flex:1 0 190px; min-width:0; padding-top:12px; }
.aj-branch .aj-tier-list>li::before { left:0; top:3px; width:100%; border-color:#6d92bb; }
.aj-branch .aj-tier-list>li::after { content:''; position:absolute; width:8px; height:8px; left:14px; top:0; border:2px solid #8eb3d7; background:#203761; }
.aj-branch .aj-tier-list>li[data-aj-earned=true]::after { border-color:#ffda83; background:#ffda83; }
.aj-branch .aj-tier-list>li>button { height:100%; min-height:152px; padding:14px 16px; border:0; border-left:2px solid #6688b0; background:#263f70; gap:10px; }
.aj-branch .aj-tier-list>li>button[aria-pressed=true] { background:#345486; box-shadow:inset 0 -3px #7ee7ff; border-color:#7ee7ff; }
.aj-branch .aj-tier-list>li>button>strong { font-size:19px; }
.aj-lane[data-aj-single=true] .aj-tier-list>li { flex-basis:100%; }
.aj-lane[data-aj-single=true] .aj-tier-list>li>button { display:grid; grid-template-columns:minmax(180px,1.4fr) minmax(130px,1fr) minmax(90px,.55fr); align-items:center; min-height:94px; gap:12px 20px; }
.aj-lane[data-aj-single=true] .aj-node-top { grid-column:1/-1; }
.aj-lane[data-aj-single=true] .aj-node-reward { text-align:right; }
.aj-node-reward .aj-mobile-prompt { display:block; margin-top:5px; }
.aj-lane>.aj-detail { position:static; margin:0 4px; width:calc(100% - 8px); padding:20px; border-top:1px solid #7191b6; box-shadow:none; background:#192f58; }
.aj-detail>[data-aj-detail] { display:grid; grid-template-columns:minmax(210px,.85fr) minmax(0,1.5fr); gap:24px; align-items:start; }
.aj-inspector-info,.aj-inspector-rewards { min-width:0; }
.aj-inspector-info h3 { font-size:25px; margin:10px 0 12px; }
.aj-inspector-info .aj-explore { margin-top:12px; }
.aj-rewards { grid-template-columns:repeat(3,minmax(0,1fr)); max-height:300px; margin-bottom:12px; }
.aj .aj-reward { min-height:106px!important; }
.aj-personal-note { padding:12px 16px; border-left:2px solid #577da8; background:#203b66; }
.profile-hub .aj-lane-head p { font-size:10px; }
@media(max-width:1100px) {
  .aj-workspace { grid-template-columns:155px minmax(0,1fr); gap:20px; }
  .aj-detail>[data-aj-detail] { grid-template-columns:minmax(170px,.8fr) minmax(0,1.25fr); gap:18px; }
  .aj-rewards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .aj-lane[data-aj-single=true] .aj-tier-list>li>button { grid-template-columns:minmax(140px,1fr) minmax(110px,.8fr); }
  .aj-lane[data-aj-single=true] .aj-node-reward { grid-column:1/-1; text-align:left; }
}
@media(max-width:850px) {
  .aj-workspace { grid-template-columns:1fr; }
  .aj-lane-count { font-size:11px; }
}
@media(max-width:660px) {
  .profile-achievement-journey .ph-entry-mark { display:flex; width:28px; height:32px; flex-basis:28px; border:0; background:transparent; }
  .ph-entry-mark svg { width:24px; height:24px; }
  .profile-achievement-journey>button { gap:8px; padding:12px 10px; }
  .profile-achievement-journey>button strong { font-size:15px; }
  .ph-entry-chevron { display:none; }
  .ph-tabbar>[role=tab] { gap:7px; padding-inline:10px; font-size:18px; }
  .ph-tabbar>[role=tab] svg { width:20px; height:20px; }
  .aj-branch>header h3 { font-size:26px; }
  .aj-lane { padding-top:18px; padding-bottom:18px; }
  .aj-lane-head { flex-wrap:wrap; gap:8px; }
  .aj-lane-head h4 { font-size:21px; }
  .aj-lane-head p { font-size:9px!important; }
  .aj-lane-count { margin-left:auto; }
  .aj-branch .aj-tier-list { flex-direction:column; gap:0; overflow:visible; padding:0 0 0 13px; margin-left:8px; border-left:2px solid #6283ac; }
  .aj-branch .aj-tier-list>li { flex:0 1 auto; padding-top:0; margin-bottom:8px; }
  .aj-branch .aj-tier-list>li::before { left:-15px; top:23px; width:15px; }
  .aj-branch .aj-tier-list>li::after { left:-18px; top:20px; }
  .aj-branch .aj-tier-list>li>button,.aj-lane[data-aj-single=true] .aj-tier-list>li>button { display:flex; align-items:stretch; text-align:left; min-height:0; padding:12px; gap:9px; }
  .aj-lane[data-aj-single=true] .aj-node-reward { text-align:left; }
  .aj-detail>[data-aj-detail] { display:block; }
  .aj-inspector-info { margin-bottom:18px; }
  .aj-lane .aj-detail { border-top:2px solid #ffda83; padding:16px; }
  .aj-rewards { max-height:270px; }
}
@media(min-width:661px) and (max-height:500px) and (orientation:landscape) {
  .aj-summary { padding-bottom:8px; margin-bottom:10px; }
  .aj-summary>div { font-size:16px; }
  .aj-summary>div>p { font-size:12px!important; line-height:1.3!important; }
  .aj-summary .aj-notice { display:none; }
  .aj-workspace { grid-template-columns:142px minmax(0,1fr); gap:16px; }
  .aj-paths { flex-direction:column; overflow:visible; padding:0; gap:3px; }
  .aj-paths>button { width:100%; min-height:44px; padding:7px 8px; font-size:16px; border:0; border-left:3px solid transparent; }
  .aj-paths>button[aria-pressed=true] { border-left-color:#7ee7ff; border-bottom:0; }
  .aj-paths>button svg { width:18px; height:18px; }
  .aj-tools { padding-bottom:12px; gap:8px; }
  .aj-search { min-width:150px; }
  .aj-filters button { min-width:80px; padding-inline:8px; font-size:15px; }
  .aj-branch>header { display:none; }
  .aj-lane { padding-top:8px; padding-bottom:12px; }
  .aj-lane-head { margin-bottom:8px; gap:8px; }
  .aj-lane-head h4 { font-size:21px; }
  .aj-lane-mark { width:30px; height:30px; }
  .aj-lane[data-aj-single=true] .aj-tier-list>li>button { min-height:86px; padding:10px 12px; }
}

/* Opaque reading surfaces never inherit the equipped profile pattern. */
.aj.aj { --aj-cyan:#7ee7ff; --aj-amber:#ffda83; --aj-muted:#d1dce8; --aj-line:#617083; background:#203363; color:#f5f7fa; font-size:20px; }
.aj.aj .aj-summary,.aj.aj .aj-tools,.aj.aj .aj-paths { background:#203363; }
.aj.aj .aj-paths>button { font-size:19px; }
.aj.aj .aj-paths>button[aria-pressed=true] { background:#304b83; }
.aj.aj .aj-branch .aj-tier-list>li>button { background:#294475; }
.aj.aj .aj-branch .aj-tier-list>li>button:hover { background:#354f85; }
.aj.aj .aj-branch .aj-tier-list>li>button[aria-pressed=true] { background:#304b83; box-shadow:inset 0 -3px #b9d9ee; }
.aj.aj .aj-branch .aj-tier-list>li>button>strong { font-size:24px; line-height:1.3; }
.aj.aj .aj-node-top,.aj.aj .aj-node-reward,.aj.aj .aj-progress,.aj.aj .aj-lane-count,.aj.aj .aj-mobile-prompt { font-size:16px; line-height:1.45; color:#d5e0ec; }
.aj.aj .aj-lane-head p,.aj.aj .aj-kicker { font-size:14px!important; line-height:1.4; letter-spacing:.4px; }
.aj.aj .aj-lane-head h4 { font-size:27px; line-height:1.3; }
.aj.aj .aj-detail { background:#192e58; border-color:#758fac; }
.aj.aj .aj-inspector-info h3 { font-size:30px; line-height:1.25; }
.aj.aj .aj-detail p,.aj.aj .aj-more,.aj.aj .aj-more[open]>p,.aj.aj .aj-summary>div>p,.aj.aj .aj-notice,.aj.aj .aj-branch-note,.aj.aj .aj-footer { font-size:17px!important; line-height:1.5!important; color:#dce5ef; }
.aj.aj .aj-more summary { min-height:44px; padding:10px 0; color:#f5f7fa; font-size:18px; }
.aj.aj .aj-goal-count { padding:12px 0; border-block:1px solid #617083; }
.aj.aj .aj-personal-note { background:#2b394b; }
.aj.aj .aj-reward-category { font-size:14px; line-height:1.4; }
.aj.aj .aj-reward-label { font-size:18px; line-height:1.4; }
.aj.aj .aj-rewards { max-height:none; }
.aj.aj [data-aj-close],.profile-hub .ph-close { min-width:88px; min-height:48px; padding:10px 16px; border:2px solid #a7b9cc; border-radius:3px; background:#33465c; color:#fff; font:20px/1.2 ForcedSquare,sans-serif; box-shadow:0 2px 0 #101b29; }
.aj.aj [data-aj-close]:hover,.profile-hub .ph-close:hover { background:#465f7b; border-color:#e1edf7; }
.aj.aj [data-aj-close]:active,.profile-hub .ph-close:active { background:#253548; box-shadow:none; }
.aj.aj [data-aj-close]:focus-visible,.profile-hub .ph-close:focus-visible { outline:3px solid #f0d49b!important; outline-offset:3px; }
@media(max-width:660px) {
  .aj.aj .aj-lane-head h4 { font-size:24px; }
  .aj.aj .aj-lane-count { white-space:normal; }
  .aj.aj .aj-inspector-info h3 { font-size:27px; }
}

/* Native blue reading surfaces; only thin rules inherit equipped cosmetic accents. */
.aj.aj { --aj-cosmetic-accent:var(--profile-accent,var(--fx-accent,#7ee7ff)); --aj-subtle-accent:color-mix(in srgb,var(--aj-cosmetic-accent) 35%,#6486b3); }
.profile-hub .aj,.aj.aj { background-image:none; }
.aj.aj .aj-branch>header,.aj.aj .aj-lane { border-color:var(--aj-subtle-accent); }
.aj.aj .aj-branch .aj-tier-list { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px;overflow:visible; }
.aj.aj .aj-branch .aj-tier-list>li { padding-top:0; }
.aj.aj .aj-branch .aj-tier-list>li::before,.aj.aj .aj-branch .aj-tier-list>li::after { display:none; }
.aj.aj .aj-branch .aj-tier-list>li>button { display:flex;align-items:stretch;text-align:left;min-height:170px;padding:18px;gap:12px;border:1px solid #5679a8;border-left:3px solid var(--aj-subtle-accent); }
.aj.aj .aj-branch .aj-tier-list>li>button[aria-pressed=true] { background:#355488;box-shadow:inset 0 -3px var(--aj-subtle-accent); }
.aj.aj .aj-node-reward { display:flex;flex-wrap:wrap;align-items:start;gap:8px;color:#e6effb; }
.aj.aj .aj-node-reward>span:not(.aj-mobile-prompt) { flex:1;min-width:0; }
.aj.aj [data-aj-reward-icon] { width:24px;height:24px;flex:none;color:#c6dced; }
.aj.aj .aj-reward-category { display:flex;align-items:center;gap:6px; }
.aj.aj .aj-sort { display:flex;align-items:center;gap:8px;font-size:17px; }
.aj.aj select { min-width:0;min-height:44px;padding:8px;border:1px solid #7596bd;background:#192e58;color:white;font:18px ForcedSquare,sans-serif; }
.aj.aj select:focus-visible { outline:3px solid #f0d49b;outline-offset:3px; }
.aj-device-progress { padding:14px 16px;margin-bottom:16px;background:#1a2c52;border-left:3px solid var(--aj-subtle-accent); }
.aj-device-progress summary { cursor:pointer;min-height:44px;font-size:19px; }
.aj-device-progress p,.aj-next-steps small { font-size:16px;line-height:1.5;color:#c6d9ef; }
.aj-device-progress dl { display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0 0; }
.aj-device-progress dl>div { border-top:1px solid #567298;padding-top:8px; }
.aj-device-progress dt { font-size:16px;color:#c6d9ef; }
.aj-device-progress dd { margin:4px 0 0;font-size:24px;color:#fff; }
.aj-next-steps { display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:20px; }
.aj.aj .aj-next-steps button { min-height:44px;padding:8px 12px;border:1px solid #7596bd;background:#294475;font-size:18px; }
.aj-next-steps small { flex-basis:100%; }
@media(max-width:660px){.aj.aj .aj-tier-list{margin-left:0;padding-left:0;border-left:0}.aj.aj .aj-sort{width:100%}.aj.aj .aj-sort select{flex:1}.aj.aj .aj-branch .aj-tier-list>li>button{min-height:150px}.aj-next-steps>span{flex-basis:100%}}

.profile-hub { --aj-cosmetic-accent:var(--profile-accent,var(--fx-accent,#7ee7ff)); }
dialog.profile-hub { background:#1d2e61; }
.profile-hub .ph-header { background:#2c4277; }
.profile-achievement-journey { background:#243b70;border-bottom-color:color-mix(in srgb,var(--profile-accent,#7ee7ff) 35%,#8ca8cf); }

.aj.aj .aj-branch .aj-tier-list>li>button { height:auto; }
.aj.aj .aj-node-reward { text-align:left; }
.aj.aj .aj-node-reward .aj-mobile-prompt { flex-basis:100%; }
.aj.aj .aj-summary,.aj.aj .aj-tools,.aj.aj .aj-paths { background:#203363; }

.aj.aj .aj-reward-swatch { position:relative; }
.aj.aj .aj-reward-swatch>[data-aj-reward-icon] { position:absolute;top:8px;left:calc(50% - 12px);color:#d8e9ff; }

.aj-local-tools { margin-bottom:16px;border-block:1px solid var(--aj-subtle-accent); }
.aj-local-tools>summary { min-height:44px;padding:10px 0;cursor:pointer;font-size:18px;color:#c6d9ef; }
.aj-local-tools[open]>summary { margin-bottom:10px; }
@media(min-width:661px) and (max-height:500px) and (orientation:landscape){.aj.aj .aj-summary{display:none}.aj-local-tools{margin-bottom:8px}.aj.aj .aj-sort{font-size:15px}.aj.aj .aj-sort select{font-size:16px}}

@media(min-width:661px) and (max-height:500px) and (orientation:landscape){.aj.aj .aj-sort-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.aj.aj .aj-sort{gap:0}.aj.aj .aj-sort select{width:145px}}

.aj-recommendations{grid-column:1/-1;border-top:1px solid var(--aj-subtle-accent);padding-top:16px;margin-top:12px}.aj-recommendations h4{font-size:23px;margin:0 0 10px}.aj-recommendations ol{padding:0;list-style:none;display:grid;gap:10px}.aj.aj .aj-recommendations button{width:100%;min-height:44px;padding:10px;border:1px solid #7596bd;background:#294475;color:white;text-align:left;font-size:18px}.aj-recommendations button:disabled{opacity:.7;cursor:default}

.aj-lane-head>div{min-width:0}

.aj.aj [data-aj-source="currency"][data-aj-known="false"] .aj-progress progress{display:none}

.aj-coin-bonus{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:16px;margin-bottom:16px;border:2px solid #f6d47b;background:#182d50;color:#ffe29b}.aj-coin-bonus svg{width:32px;height:32px}.aj-coin-bonus strong{font-size:25px}.aj-coin-bonus span,.aj-coin-bonus button{grid-column:1/-1}.aj-coin-bonus button{min-height:44px;background:#ffe29b;color:#14274b;border:0;font:20px ForcedSquare,sans-serif}

/* Keep all three destinations stable while their modules initialize. */
.profile-achievement-journey>button:disabled{cursor:wait;color:#c0cce1;opacity:.65}
.profile-achievement-journey>button[data-ph-launch=shop]{border-bottom-color:#7ee7ff}
@media(max-width:520px){.profile-achievement-journey{grid-template-columns:repeat(3,minmax(0,1fr));font-size:17px}.profile-achievement-journey>button{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:12px 4px}.profile-achievement-journey small,.profile-achievement-journey .ph-entry-chevron{display:none}.profile-achievement-journey .ph-entry-mark{display:flex}}

/* Expanded actions stay on the same quiet surface as the goal cards. */
.aj.aj .aj-coin-bonus{border:1px solid #7596bd;color:#e6effb;padding:12px;gap:8px}
.aj.aj .aj-coin-bonus strong{font-size:21px}
.aj.aj .aj-coin-bonus button,.aj.aj .aj-explore{background:#294475;color:#f5f7fa;border:1px solid #7596bd;box-shadow:none}
.aj.aj .aj-coin-bonus button:hover,.aj.aj .aj-explore:hover{background:#354f85}

/* Keep all three destinations together; the hint consumes only remaining space. */
dialog.profile-hub .ph-tabbar>[data-ph-shop]{display:flex;align-items:center;justify-content:center;gap:12px;min-width:170px;min-height:56px;margin:0;padding:12px 24px;border:0;border-bottom:4px solid transparent;background:transparent;color:#b9cfea;font:21px ForcedSquare,sans-serif;cursor:pointer}
dialog.profile-hub .ph-tabbar>[data-ph-shop] svg{width:24px;height:24px;color:#7ee7ff;flex:none}
dialog.profile-hub .ph-tabbar>[data-ph-shop]:hover{background:#263d70;color:#fff}
dialog.profile-hub .ph-tabbar>[data-ph-shop]:disabled{opacity:.6;cursor:wait}
@media(max-width:660px){dialog.profile-hub .ph-tabbar>[data-ph-shop]{flex:1;min-width:0;min-height:50px;padding:10px 12px;font-size:19px;gap:6px}}

/* Keep the goal and progress dominant; rewards use a quieter, separate line. */
.aj.aj .aj-node-reward { margin-top:auto;padding-top:9px;border-top:1px solid #5877a1; }
.aj.aj .aj-node-reward [data-aj-reward-icon] { width:20px;height:20px;color:#ffda83; }
.aj.aj .aj-goal-count { font-variant-numeric:tabular-nums; }
.aj.aj .aj-branch .aj-tier-list>li>button[aria-pressed=true] { border-left-color:#b9e9f7; }
@media(max-width:480px){.aj.aj .aj-branch .aj-tier-list>li>button{gap:8px;padding:12px}.aj.aj .aj-branch .aj-tier-list>li>button>strong{font-size:24px}}
