/* SHRD installed experience: retain the existing galaxy and motion beneath a compact glass bar. */
.shrd-pwa-page{position:relative;z-index:4;width:min(1120px,calc(100% - 2.5rem));margin:2rem auto 4rem;color:#f9f5cb}
.shrd-pwa-intro{max-width:54rem;margin:0 0 2rem}.shrd-pwa-intro h1{font-family:Fraunces,Georgia,serif;line-height:1.12;font-size:clamp(2.25rem,5vw,3.9rem);margin:.6rem 0 1rem}.shrd-pwa-intro p{line-height:1.7}
.shrd-pwa-layout{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;align-items:start}.shrd-pwa-panel{position:relative;border:1px solid rgba(246,219,92,.32);border-radius:1.2rem;background:rgba(30,8,43,.87);padding:1.5rem;box-shadow:0 12px 32px rgba(12,2,18,.25);color:#f9f5cb}.shrd-pwa-panel h2{font-family:Fraunces,Georgia,serif;font-size:1.65rem;line-height:1.25;margin:.2rem 0 .8rem}.shrd-pwa-panel p{line-height:1.65;margin:.8rem 0}.shrd-pwa-panel a{color:#f6db5c;text-decoration:underline;text-underline-offset:.2em}.shrd-pwa-step{display:flex;align-items:center;justify-content:center;width:1.8rem;height:1.8rem;border-radius:50%;background:#f6db5c;color:#2b0d36;font-weight:900;margin-bottom:.7rem}.shrd-pwa-select-label{display:block;margin:1rem 0 .4rem;font-weight:700}.shrd-pwa-panel select{display:block;width:100%;min-height:44px;border:1px solid rgba(246,219,92,.45);border-radius:.65rem;background:#2d103b;color:#fff7d2;padding:.65rem;font:inherit}.shrd-pwa-install-steps{padding-left:1.4rem;margin:1.1rem 0}.shrd-pwa-install-steps li{padding-left:.2rem;margin:.7rem 0;line-height:1.6}.shrd-pwa-small{font-size:.9rem;color:#dfd0e5}.shrd-pwa-topics{margin:1rem 0;padding:0;border:0;min-width:0}.shrd-pwa-topics legend{font-weight:700;margin-bottom:.65rem}.shrd-pwa-topic{display:flex;align-items:flex-start;gap:.8rem;padding:.85rem .75rem;margin:.5rem 0;border:1px solid rgba(246,219,92,.2);border-radius:.7rem;background:rgba(74,24,84,.25);cursor:pointer}.shrd-pwa-topic input{width:1.2rem;height:1.2rem;min-width:1.2rem;margin:.2rem 0 0;accent-color:#f6db5c}.shrd-pwa-topic strong,.shrd-pwa-topic small{display:block}.shrd-pwa-topic small{color:#e0d0e5;line-height:1.5;margin-top:.25rem}.shrd-pwa-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:1rem 0}.shrd-pwa-actions .button{min-height:44px;white-space:normal;text-align:center}.shrd-pwa-actions [hidden],.shrd-pwa-panel [hidden],.shrd-app-update[hidden]{display:none!important}.shrd-pwa-feedback{min-height:1.6em;font-weight:700;color:#ffe991}.shrd-pwa-feedback.is-error{color:#ffd0da}.shrd-pwa-notification-state{padding:.65rem .8rem;border-radius:.65rem;background:rgba(246,219,92,.08);border-left:3px solid #f6db5c}.shrd-pwa-details{margin-top:1.25rem}.shrd-pwa-page :focus-visible,.shrd-app-bottom-nav :focus-visible,.shrd-app-update :focus-visible{outline:3px solid #ffe991;outline-offset:3px}
.shrd-app-bottom-nav{display:none}.shrd-app-update{position:fixed;z-index:10020;left:50%;bottom:1rem;transform:translateX(-50%);width:min(38rem,calc(100% - 2rem));padding:1rem 1.15rem;border:1px solid rgba(246,219,92,.48);border-radius:1rem;background:rgba(35,7,45,.96);color:#fff5ce;box-shadow:0 8px 34px rgba(0,0,0,.35);backdrop-filter:blur(18px) saturate(1.15)}.shrd-app-update p{margin:0 0 .75rem;line-height:1.5}.shrd-app-update button{margin-right:.5rem;min-height:44px}.shrd-app-update [role=status]{display:block;margin-top:.5rem}
@media(max-width:768px){.shrd-pwa-page{width:calc(100% - 1.5rem);margin-top:1.25rem}.shrd-pwa-layout{grid-template-columns:1fr;gap:1rem}.shrd-pwa-panel{padding:1.1rem;border-radius:1rem}.shrd-pwa-intro{margin-bottom:1.4rem}.shrd-pwa-actions .button{flex:1 1 100%}.shrd-pwa-panel h2{font-size:1.5rem}html.shrd-installed-app body.shrd-experience{padding-bottom:calc(54px + env(safe-area-inset-bottom,0px))}html.shrd-installed-app .shrd-app-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;z-index:1000;bottom:0;left:0;right:0;min-height:48px;padding:2px max(5px,env(safe-area-inset-right,0px)) calc(2px + env(safe-area-inset-bottom,0px)) max(5px,env(safe-area-inset-left,0px));background:linear-gradient(110deg,rgba(39,7,49,.78),rgba(51,11,62,.78));border-top:1px solid rgba(246,219,92,.28);box-shadow:0 -3px 18px rgba(16,3,23,.2);-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15)}.shrd-app-bottom-nav a{display:flex;min-width:0;min-height:44px;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:2px;color:#e8ddeb;text-decoration:none;border-radius:.6rem;font-family:Lato,Arial,sans-serif;font-size:.63rem;line-height:1.1}.shrd-app-bottom-nav svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shrd-app-bottom-nav a[aria-current=page]{color:#ffe991;background:rgba(136,48,151,.2)}html.shrd-installed-app .shrd-app-update{bottom:calc(60px + env(safe-area-inset-bottom,0px))}html.shrd-installed-app #back-to-top{bottom:calc(62px + env(safe-area-inset-bottom,0px))}html.shrd-installed-app .cookie-banner{bottom:calc(52px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-transparency:reduce){.shrd-app-bottom-nav,.shrd-app-update{background:#270b34!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(forced-colors:active){.shrd-app-bottom-nav,.shrd-pwa-panel,.shrd-app-update{border:1px solid CanvasText;background:Canvas;color:CanvasText}}


/* Make the app the primary navigation action, with a visible compact-header entry. */
body.shrd-experience .tw-app-topbar .shrd-get-app-link {
 display:inline-flex;align-items:center;justify-content:center;gap:.45em;
 box-sizing:border-box;min-height:44px;padding:.6rem 1.05rem;border:1px solid rgba(255,239,151,.85);
 border-radius:.65rem;background:linear-gradient(112deg,#fff1a0,#f6db5c 48%,#e9c43d);
 color:#2b0d36;font-weight:900;font-size:.94rem;line-height:1.2;white-space:nowrap;
 text-decoration:none;flex-shrink:0;box-shadow:0 4px 17px rgba(246,219,92,.22);
}
body.shrd-experience .tw-app-topbar .shrd-get-app-link:hover {
 background:linear-gradient(112deg,#fff6bd,#ffe677 48%,#f6d453);color:#23072d;
}
body.shrd-experience .tw-app-topbar .shrd-get-app-link:focus-visible {
 outline:3px solid #fff7d2;outline-offset:3px;
}
.shrd-app-action-icon {width:1.1em;height:1.1em;flex:0 0 auto}
body.shrd-experience .tw-app-topbar .shrd-nav-connect {
 background:transparent;border-color:transparent;box-shadow:none;color:#f9f5cb;font-weight:600;padding-inline:1rem;
}
body.shrd-experience .tw-app-topbar .shrd-nav-connect:hover,
body.shrd-experience .tw-app-topbar .shrd-nav-connect:focus-visible {
 background:rgba(136,48,151,.22);border-color:rgba(246,219,92,.44);color:#ffe991;
}
body.shrd-experience .tw-app-topbar .shrd-app-header-shortcut {display:none;width:auto}
body.shrd-experience .tw-app-topbar:not(.is-wide-nav):not(.is-menu-open) .shrd-app-header-shortcut {display:inline-flex}
body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-brand {
 min-width:0;flex:1 1 7rem;white-space:normal;
}
body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-topbar-inner {flex-wrap:wrap}
body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .shrd-nav-wordmark {min-width:0;overflow-wrap:anywhere}
body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-menu-toggle {flex:0 0 auto}
.shrd-app-action-notice {
 position:fixed;right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom));z-index:3400;
 box-sizing:border-box;width:min(28rem,calc(100% - 2rem));padding:1rem;
 border:1px solid rgba(246,219,92,.6);border-radius:1rem;
 background:rgba(39,7,49,.97);backdrop-filter:blur(18px);color:#fff7d2;box-shadow:0 8px 28px rgba(12,2,18,.4);
}
.shrd-app-action-notice[hidden] {display:none}
.shrd-app-action-notice p {margin:0 0 .75rem;line-height:1.5}
.shrd-app-action-notice button {
 min-height:44px;padding:.45rem 1rem;border:1px solid #f6db5c;border-radius:.6rem;
 background:transparent;color:#fff7d2;font:inherit;font-weight:700;cursor:pointer;
}
.shrd-app-action-notice button:focus-visible {outline:3px solid #fff7d2;outline-offset:3px}
@media(max-width:680px) {
 body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-topbar-inner {gap:.45rem}
 body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-brand {gap:.45rem}
 body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .shrd-nav-logo {width:44px;height:44px}
 body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .shrd-nav-wordmark {font-size:1rem}
 body.shrd-experience .tw-app-topbar .shrd-app-header-shortcut {font-size:.8rem;padding-inline:.6rem}
 body.shrd-experience .tw-app-topbar .shrd-app-header-shortcut .shrd-app-action-icon {display:none}
 body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-menu-toggle {font-size:.8rem;padding-inline:.6rem}
}
@media(max-width:380px) {
 body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .shrd-nav-wordmark small {display:none}
}

body.is-mobile-menu-open .shrd-app-action-notice {display:none}

/* Let larger reading text keep the brand legible and the two actions within the viewport. */
html.shrd-large-text body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-topbar-inner {
 flex-wrap:wrap;
}
html.shrd-large-text body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .tw-app-brand {
 flex:1 1 100%;width:100%;
}
html.shrd-large-text body.shrd-experience .tw-app-topbar:not(.is-wide-nav) .shrd-app-header-shortcut {
 flex:1 1 0;min-width:0;max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere;
}

/* Installed apps use their Settings destination instead of the browser install action. */
html.shrd-installed-app [data-pwa-app-action],
[data-pwa-app-action][hidden] {display:none!important}
@media(display-mode:standalone) {
 [data-pwa-app-action] {display:none!important}
}
