/* Member workspace. Neutral surfaces; brand colour is reserved for primary actions. */
body.portal-v2 { background: #0a0a0a; }
body.portal-v2 .player-main { max-width: 1370px; padding-top: 36px; }
body.portal-v2 .app-rail { background: #0d0d0d; }
body.portal-v2 .hub-wordmark { font-size: 10px; letter-spacing: 1.5px; }
body.portal-v2 .app-rail nav a { font-size: 13px; min-height: 44px; }
body.portal-v2 .hub-tabs > a[data-view=redeem] { color: #b1b1b1; }
body.portal-v2 .hub-tabs > a[data-view=redeem][aria-current=page] { color: #efefef; }
.portal-nav-art { display: block; width: 24px; height: 24px; border-radius: 6px; overflow: hidden; flex: 0 0 24px; border: 1px solid #353535; }
body.portal-v2 .portal-nav-art .product-art { width: 24px; height: 24px; min-height: 0; aspect-ratio: 1; border: 0; }
body.portal-v2 .portal-nav-art img { width: 100%; height: 100%; object-fit: cover; padding: 0; transform: none; }
.portal-nav-art .product-placeholder { padding: 2px; }
.portal-nav-art .product-placeholder > span { font-size: 8px; }
.portal-nav-art .product-placeholder > small { display: none; }
.portal-welcome { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.portal-welcome .eyebrow { color: #929292; font-size: 10px; letter-spacing: 1.6px; }
body.portal-v2 .portal-welcome h1 { font: 500 clamp(30px,3vw,42px)/1.2 'Space Grotesk',Inter,sans-serif; letter-spacing: -1.6px; margin: 13px 0 10px; overflow-wrap: anywhere; }
.portal-title-dot { color: #9b9b9b; }
.portal-welcome p { color: #a4a4a4; font-size: 13px; line-height: 1.7; }
.portal-account-chip { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; border: 1px solid #333333; border-radius: 30px; background: #141414; padding: 10px 13px; color: #bfbfbf; font-size: 11px; }
.portal-account-chip .icon { width: 16px; height: 16px; color: #a9a9a9; }
.portal-account-chip .icon:last-child { width: 12px; }
.portal-activation { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 28px; padding: 28px; border: 1px solid #464646; border-radius: 16px; background: radial-gradient(ellipse at 0 0,#5a5a5a1a,transparent 75%),linear-gradient(115deg,#161616,#161616); margin-bottom: 36px; box-shadow: inset 0 1px 0 #ffffff05; }
.portal-activation-copy { display: flex; align-items: center; gap: 18px; }
.portal-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 47px; height: 47px; flex: 0 0 47px; border: 1px solid #5c5c5c; border-radius: 13px; background: linear-gradient(135deg,#61616123,#75757516); color: #b7b7b7; }
.portal-feature-icon > .icon { width: 23px; height: 23px; }
body.portal-v2 .portal-activation-copy h2 { font: 500 22px/1.25 'Space Grotesk',Inter,sans-serif; letter-spacing: -.6px; }
.portal-activation-copy p { color: #aaaaaa; font-size: 12px; line-height: 1.8; margin-top: 7px; }
.portal-redeem-form { min-width: 0; }
.portal-redeem-form > label { display: block; font-size: 10px; color: #b0b0b0; margin-bottom: 9px; }
.portal-key-input { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 15px; background: #0a0a0a; border: 1px solid #4d4d4d; border-radius: 11px; min-width: 0; }
.portal-key-input > .icon { width: 17px; height: 17px; color: #868686; flex: 0 0 17px; }
body.portal-v2 .portal-key-input input { min-width: 0; width: 100%; flex: 1; border: 0; background: transparent; box-shadow: none; padding: 10px 0; color: #ededed; font: 12px Inter,sans-serif; outline-offset: 1px; }
.portal-key-input input::placeholder { color: #8b8b8b; }
body.portal-v2 .portal-key-input .button { min-height: 41px; padding: 11px 14px; font-size: 12px; white-space: nowrap; flex: 0 0 auto; }
.portal-key-input:focus-within { border-color: #9a9a9a; }
.portal-library-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
body.portal-v2 .portal-library-heading h2 { display: flex; align-items: center; gap: 11px; font: 500 24px/1.3 'Space Grotesk',Inter,sans-serif; letter-spacing: -.7px; }
.portal-library-heading h2 > span { font: 500 11px Inter,sans-serif; color: #b5b5b5; background: #1e1e1e; border: 1px solid #3b3b3b; border-radius: 7px; padding: 4px 8px; }
.portal-library-heading p { color: #949494; font-size: 12px; margin-top: 7px; line-height: 1.7; }
.portal-library-heading > .quiet-link { font-size: 12px; white-space: nowrap; }
.portal-product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px; }
.portal-product { display: grid; grid-template-columns: 145px minmax(0,1fr); min-width: 0; border: 1px solid #323232; border-radius: 14px; overflow: hidden; background: #131313; transition: border-color .2s; }
.portal-product:hover { border-color: #6a6a6a; }
.portal-product-image { display: block; min-width: 0; background: #0c0c0c; border-right: 1px solid #323232; }
body.portal-v2 .portal-product-image .product-art { height: 100%; min-height: 200px; aspect-ratio: auto; border: 0; background: #0c0c0c; }
body.portal-v2 .portal-product-image .product-art img { padding: 0; transform: none; width: 100%; height: 100%; object-fit: cover; }
.portal-product-image .product-placeholder { padding: 12px; }
.portal-product-image .product-placeholder > span { font-size: 23px; }
.portal-product-image .product-placeholder > small { font-size: 7px; letter-spacing: 1px; }
.portal-product-info { padding: 23px; display: flex; flex-direction: column; min-width: 0; }
.portal-product-name { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
body.portal-v2 .portal-product-name h3 { font: 500 25px/1.2 'Space Grotesk',Inter,sans-serif; letter-spacing: -.8px; overflow-wrap: anywhere; }
.portal-owned { font-size: 10px; color: #a3a3a3; display: inline-flex; align-items: center; gap: 5px; }
.portal-owned .icon { width: 12px; height: 12px; color: #acacac; }
.portal-product-info > p { font-size: 12px; line-height: 1.8; color: #9b9b9b; margin: 15px 0 21px; }
.portal-product-actions { margin-top: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
body.portal-v2 .portal-product-actions > .button { font-size: 11px; min-height: 39px; padding: 10px 12px; background: #222222; border: 1px solid #484848; color: #dadada; }
body.portal-v2 .portal-product-actions > .button:hover { background: #2d2d2d; border-color: #808080; }
.portal-download { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #bababa; }
.portal-download .icon { width: 14px; height: 14px; }
.portal-download-pending { font-size: 10px; color: #898989; }
.portal-first-product { display: flex; align-items: center; gap: 24px; border: 1px solid #323232; border-radius: 15px; padding: 32px; background: #111111; margin-bottom: 34px; }
.portal-empty-symbol { position: relative; display: grid; place-items: center; width: 66px; height: 66px; flex: 0 0 66px; border: 1px solid #434343; border-radius: 17px; background: #1c1c1c; color: #a1a1a1; transform: rotate(-5deg); }
.portal-empty-symbol > .icon { width: 30px; height: 30px; }
.portal-empty-symbol > span { position: absolute; right: -6px; bottom: -5px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--nebel-action-gradient); color: white; border: 2px solid #111111; }
.portal-empty-symbol > span .icon { width: 13px; height: 13px; }
body.portal-v2 .portal-first-product h3 { font: 500 21px/1.3 'Space Grotesk',Inter,sans-serif; letter-spacing: -.5px; }
.portal-first-product p { font-size: 13px; line-height: 1.8; color: #a4a4a4; max-width: 470px; margin-top: 9px; }
body.portal-v2 .portal-first-product > .button { margin-left: auto; flex-shrink: 0; white-space: nowrap; font-size: 12px; background: #1e1e1e; border-color: #494949; }
.portal-bottom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.portal-updates { min-width: 0; padding-top: 6px; }
.portal-section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
body.portal-v2 .portal-section-title h2 { font: 500 20px 'Space Grotesk',Inter,sans-serif; letter-spacing: -.4px; }
.portal-section-title .quiet-link { font-size: 11px; }
.portal-update { border-bottom: 1px solid #2b2b2b; }
.portal-update > summary { display: flex; align-items: center; gap: 15px; padding: 18px 0; cursor: pointer; list-style: none; }
.portal-update > summary::-webkit-details-marker { display: none; }
.portal-update-icon { flex: 0 0 35px; height: 35px; display: grid; place-items: center; border: 1px solid #373737; background: #161616; border-radius: 9px; color: #a3a3a3; }
.portal-update-icon .icon { width: 16px; height: 16px; }
.portal-update summary > span:nth-child(2) { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.portal-update time { font-size: 10px; color: #8b8b8b; }
.portal-update strong { font-size: 13px; line-height: 1.5; color: #cecece; font-weight: 500; }
.portal-update summary > .icon { margin-left: auto; width: 15px; height: 15px; flex: 0 0 15px; color: #818181; }
.portal-update[open] summary > .icon { transform: rotate(45deg); }
.portal-update > p { margin: 0 0 20px 50px; font-size: 12px; line-height: 1.85; color: #9f9f9f; overflow-wrap: anywhere; }
.portal-no-updates { font-size: 13px; line-height: 1.8; color: #949494; padding-block: 22px; }
.portal-help { border: 1px solid #353535; border-radius: 15px; padding: 26px; background: linear-gradient(125deg,#181818,#171717); }
.portal-help-icon { color: #aeaeae; }
.portal-help-icon .icon { width: 28px; height: 28px; }
body.portal-v2 .portal-help h2 { font: 500 23px 'Space Grotesk',Inter,sans-serif; letter-spacing: -.5px; margin: 14px 0 10px; }
.portal-help p { font-size: 13px; line-height: 1.8; color: #a5a5a5; }
body.portal-v2 .portal-help .button { margin-top: 22px; background: #ffffff07; border-color: #5a5a5a; font-size: 12px; }
.portal-help-note { display: block; margin-top: 17px; font-size: 10px; color: #8a8a8a; line-height: 1.7; }
.portal-redeem-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.portal-redeem-card { padding: 36px; border: 1px solid #4c4c4c; border-radius: 18px; background: radial-gradient(ellipse at 0 0,#48484824,transparent 65%),#131313; }
body.portal-v2 .portal-redeem-card h3 { font: 500 30px 'Space Grotesk',Inter,sans-serif; letter-spacing: -1px; margin-top: 22px; }
.portal-redeem-card > p { font-size: 13px; line-height: 1.9; color: #a6a6a6; margin: 14px 0 29px; }
.portal-redeem-account { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #919191; margin-top: 22px; }
.portal-redeem-account .icon { width: 17px; height: 17px; }
.portal-redeem-account strong { color: #bcbcbc; font-weight: 500; overflow-wrap: anywhere; }
.portal-redeem-guide { padding: 24px 0; }
body.portal-v2 .portal-redeem-guide h3 { font-size: 17px; font-weight: 500; }
.portal-redeem-guide ol { list-style: none; padding: 0; margin: 25px 0; counter-reset: activation; }
.portal-redeem-guide li { position: relative; padding: 0 0 25px 42px; counter-increment: activation; }
.portal-redeem-guide li:before { content: counter(activation); position: absolute; top: -2px; left: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid #3a3a3a; background: #191919; color: #a5a5a5; font-size: 11px; }
.portal-redeem-guide strong { font-size: 13px; font-weight: 500; color: #cbcbcb; }
.portal-redeem-guide p { color: #919191; font-size: 12px; line-height: 1.8; margin-top: 7px; }
.portal-redeem-guide > .quiet-link { font-size: 12px; }
body.portal-v2 .library-heading h2 { font: 500 38px/1.2 'Space Grotesk',Inter,sans-serif; letter-spacing: -1.5px; }
body.portal-v2 .product-detail-hero { grid-template-columns: .85fr 1.3fr; border-radius: 18px; border-color: #393939; background: linear-gradient(120deg,#121212,#151515); }
body.portal-v2 .product-detail-copy { padding: 34px; }
body.portal-v2 .product-detail-copy h2 { font: 500 38px 'Space Grotesk',Inter,sans-serif; letter-spacing: -1px; }
body.portal-v2 .product-detail-copy > p { color: #a8a8a8; }
body.portal-v2 .product-detail-copy .button-primary { min-width: 210px; justify-content: space-between; }
body.portal-v2 .product-detail-hero .art-large img { transform: none; padding: 0; object-fit: contain; }
body.portal-v2 .member-key { border-radius: 13px; background: #131313; border-color: #353535; }
body.portal-v2 .key-value { border-color: #3d3d3d; background: #0b0b0b; padding: 12px; }
body.portal-v2 .key-foot { font-size: 11px; color: #9e9e9e; }
body.portal-v2 .settings-card { background: #131313; border-color: #343434; }
body.portal-v2 .settings-profile .avatar { background: linear-gradient(130deg,#434343,#505050); border-color: #6a6a6a; }
body.portal-v2 .settings-card dl > div { border-color: #2e2e2e; font-size: 12px; padding-block: 18px; }
body.portal-v2 .settings-card dt { color: #939393; }
/* One sign-in composition rather than a floating card beside another panel. */
body.login-v2 .access-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; margin: 42px auto 50px; border: 1px solid #383838; border-radius: 22px; overflow: hidden; background: #111111; align-items: stretch; }
body.login-v2 .access-preview { min-height: 540px; position: relative; padding: 34px; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; background: #111111; }
body.login-v2 .access-preview > .section-overline { position: absolute; z-index: 2; top: 30px; left: 34px; color: #dfdfdf; }
body.login-v2 .access-preview > h2 { position: relative; z-index: 2; font-size: clamp(40px,4.3vw,60px); margin: 0 0 24px; letter-spacing: -2.8px; color: #ffffff; text-shadow: 0 3px 30px #00000066; pointer-events: none; }
body.login-v2 .access-preview > h2 > span { color: #bebebe; }
body.login-v2 .access-film { position: absolute; z-index: 0; inset: 0; margin: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
body.login-v2 .access-film > video { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
body.login-v2 .access-film:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#11111160,transparent 32%,#0d0d0d9c 65%,#0f0f0fec); pointer-events: none; }
body.login-v2 .access-film-label { display: none; }
body.login-v2 .cinema-toggle { top: 23px; right: 24px; bottom: auto; z-index: 3; }
body.login-v2 .access-entry { padding: 42px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #333333; background: radial-gradient(ellipse at 100% 0,#49494916,transparent 65%),#111111; }
body.login-v2 .access-card { border: 0; background: none; padding: 0; box-shadow: none; border-radius: 0; }
body.login-v2 .access-card-heading { margin-bottom: 26px; }
body.login-v2 .access-card > h1 { font-size: 39px; letter-spacing: -1.6px; }
body.login-v2 .access-card > .access-intro { max-width: 320px; line-height: 1.8; color: #a7a7a7; }
body.login-v2 .access-discord { margin-top: 28px; }
body.login-v2 .access-card-support { margin-top: 27px; padding-top: 24px; }
body.login-v2 .access-back { font-size: 11px; margin-top: 25px; }
/* Shop refinements bring the products closer to the top of the page. */
body.shop-v2 .catalogue-heading { background: transparent; border: 0; border-bottom: 1px solid #2c2c2c; border-radius: 0; padding: 10px 0 30px; margin-bottom: 24px; }
body.shop-v2 .catalogue-heading h1 { font-size: 55px; letter-spacing: -2px; }
body.shop-v2 .catalogue-heading .section-overline { color: #9c9c9c; }
body.shop-v2 .catalogue-heading p { color: #a0a0a0; }
body.shop-v2 .collection-toolbar { padding-bottom: 14px; }
body.shop-v2 .nebel-product-card { border-radius: 17px; background: #121212; border-color: #353535; box-shadow: none; }
body.shop-v2 .nebel-card-media { margin: 10px 10px 0; width: calc(100% - 20px); border: 1px solid #353535; border-radius: 10px; }
body.shop-v2 .nebel-card-art { aspect-ratio: 16/9; }
body.shop-v2 .nebel-card-content { padding: 24px; }
body.shop-v2 .nebel-card-title h2 { font-size: 28px; }
body.shop-v2 .nebel-card-content > p { color: #a0a0a0; }
body.shop-v2 .nebel-card-footer { flex-wrap: wrap; gap: 15px; border-color: #323232; }
body.shop-v2 .nebel-card-footer > .button { margin-left: auto; }
body.shop-v2 .catalogue-support { margin-top: 40px; }
@media(min-width:1500px) { .portal-product { grid-template-columns: 190px minmax(0,1fr); } }
@media(max-width:1200px) {
  .portal-activation { grid-template-columns: 1fr; gap: 21px; }
  .portal-product { grid-template-columns: 120px minmax(0,1fr); }
  .portal-product-info { padding: 20px; }
  .portal-product-actions { gap: 11px; }
  .portal-welcome { align-items: flex-start; }
  .portal-account-chip { margin-top: 20px; }
  .portal-first-product { gap: 22px; padding: 26px; }
  .portal-first-product > .button { align-self: center; }
  body.login-v2 .access-entry { padding: 32px; }
}
@media(max-width:1000px) {
  body.portal-v2 .app-rail .hub-tabs > a[data-view] { order: 0; }
  body.portal-v2 .app-rail .hub-tabs { margin-bottom: 0; }
  body.portal-v2 .app-rail nav a { font-size: 12px; }
  .portal-account-chip { display: none; }
  .portal-product-list { gap: 15px; }
  .portal-bottom { grid-template-columns: 1.4fr 1fr; }
}
@media(max-width:800px) {
  .portal-product-list { grid-template-columns: 1fr; }
  .portal-product { grid-template-columns: 160px minmax(0,1fr); }
  .portal-first-product { flex-wrap: wrap; }
  .portal-first-product > div:nth-child(2) { flex: 1; }
  body.portal-v2 .portal-first-product > .button { margin-left: 90px; }
  .portal-bottom, .portal-redeem-layout { grid-template-columns: 1fr; }
  .portal-help { padding: 24px; }
  .portal-redeem-guide { padding-top: 0; }
  body.portal-v2 .product-detail-hero { grid-template-columns: 1fr; }
  body.portal-v2 .product-detail-hero .art-large { min-height: 220px; max-height: 300px; border: 0; border-bottom: 1px solid #363636; }
  body.login-v2 .access-layout { grid-template-columns: .9fr 1fr; }
  body.login-v2 .access-preview { min-height: 490px; padding: 24px; }
  body.login-v2 .access-preview > h2 { font-size: 43px; }
  body.login-v2 .access-entry { padding: 27px; }
  body.login-v2 .access-card > h1 { font-size: 33px; }
}
@media(max-width:650px) {
  body.portal-v2 .player-main { padding-top: 26px; }
  .portal-welcome { margin-bottom: 23px; }
  body.portal-v2 .portal-welcome h1 { font-size: 32px; letter-spacing: -1.3px; }
  .portal-welcome p { font-size: 12px; }
  .portal-activation { padding: 22px; gap: 20px; border-radius: 14px; margin-bottom: 29px; }
  .portal-activation-copy { gap: 13px; }
  .portal-feature-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; }
  body.portal-v2 .portal-activation-copy h2 { font-size: 21px; }
  .portal-activation-copy p { font-size: 11px; }
  .portal-key-input { display: grid; grid-template-columns: 17px minmax(0,1fr); padding: 8px 10px 10px; gap: 6px 9px; }
  body.portal-v2 .portal-key-input input { min-height: 38px; font-size: 12px; }
  body.portal-v2 .portal-key-input .button { grid-column: 1/-1; justify-content: space-between; min-height: 42px; }
  .portal-library-heading { align-items: flex-start; }
  body.portal-v2 .portal-library-heading h2 { font-size: 23px; }
  .portal-library-heading p { max-width: 210px; font-size: 11px; }
  .portal-library-heading > .quiet-link { font-size: 11px; margin-top: 6px; gap: 6px; }
  .portal-product { grid-template-columns: 100px minmax(0,1fr); }
  .portal-product-info { padding: 18px; }
  body.portal-v2 .portal-product-name h3 { font-size: 23px; }
  .portal-product-info > p { font-size: 11px; line-height: 1.75; margin-block: 12px 17px; }
  .portal-product-actions { gap: 13px; }
  .portal-first-product { gap: 18px; padding: 24px; }
  .portal-empty-symbol { width: 45px; height: 45px; flex-basis: 45px; border-radius: 12px; }
  .portal-empty-symbol > .icon { width: 23px; height: 23px; }
  body.portal-v2 .portal-first-product h3 { font-size: 19px; }
  .portal-first-product p { font-size: 12px; }
  body.portal-v2 .portal-first-product > .button { width: 100%; margin-left: 0; justify-content: space-between; }
  .portal-update > p { margin-left: 0; }
  .portal-update strong { font-size: 12px; }
  .portal-help { padding: 24px; }
  .portal-help-note { font-size: 10px; }
  .portal-redeem-card { padding: 25px; }
  body.portal-v2 .portal-redeem-card h3 { font-size: 27px; }
  body.portal-v2 .library-heading h2 { font-size: 32px; }
  body.portal-v2 .product-detail-copy { padding: 25px; }
  body.portal-v2 .product-detail-copy h2 { font-size: 32px; }
  body.login-v2 .access-layout { display: flex; flex-direction: column; gap: 0; margin-block: 25px 35px; border-radius: 17px; }
  body.login-v2 .access-preview { order: 2; min-height: 220px; width: 100%; padding: 24px; border-top: 1px solid #343434; }
  body.login-v2 .access-preview > h2 { font-size: 32px; letter-spacing: -1.6px; margin-bottom: 0; }
  body.login-v2 .access-preview > .section-overline { top: 24px; left: 24px; font-size: 9px; }
  body.login-v2 .access-preview > h2 > br { display: block; }
  body.login-v2 .access-preview > h2 > span:before { content: none; }
  body.login-v2 .access-entry { order: 1; padding: 26px; border: 0; }
  body.login-v2 .access-card > h1 { font-size: 33px; }
  body.login-v2 .access-discord { margin-top: 23px; }
  body.login-v2 .access-card-heading { margin-bottom: 22px; }
  body.login-v2 .access-back { margin-top: 20px; }
  body.login-v2 .access-film { max-height: none; }
  body.shop-v2 .catalogue-heading { padding: 0 0 26px; gap: 16px; }
  body.shop-v2 .catalogue-heading h1 { font-size: 42px; }
  body.shop-v2 .catalogue-heading p { font-size: 12px; }
  body.shop-v2 .nebel-card-content { padding: 22px; }
}
@media(prefers-reduced-motion:reduce) { .portal-product { transition: none; } }
/* Four stable destinations on phones; products remain accessible from the library. */
@media(max-width:650px) {
  body.portal-v2 .app-rail { position: fixed; inset: auto 0 0; width: 100%; padding: 8px 10px max(8px,env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #383838; background: #111111f5; backdrop-filter: blur(18px); z-index: 45; overflow: visible; }
  body.portal-v2 .app-rail .hub-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; overflow: visible; padding: 0; }
  body.portal-v2 .app-rail .hub-tabs > a { display: none; }
  body.portal-v2 .app-rail .hub-tabs > :is(a[data-view=overview],a[data-view=redeem],a[data-view=licenses],a[data-view=settings]) { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 53px; font-size: 10px; padding: 7px 2px; white-space: nowrap; border-radius: 9px; }
  body.portal-v2 .app-rail .hub-tabs > a .icon { width: 18px!important; height: 18px; }
  body.portal-v2 .app-rail .hub-tabs .nav-count { display: none; }
  body.portal-v2 .player-main { padding-bottom: 82px; }
  body.portal-v2 .toast { bottom: 90px; }
}

/* Neutral account surfaces also replace inherited accents from the legacy theme. */
body.portal-v2 { background: #090909; color: #eeeeee; }
body.portal-v2 .app-rail, body.portal-v2 .sitebar { background: #0d0d0d; border-color: #272727; }
body.portal-v2 .app-rail nav a { color: #a6a6a6; }
body.portal-v2 .app-rail nav a[aria-current=page] { background: #202020; border-color: #3b3b3b; color: #fff; box-shadow: none; }
body.portal-v2 .app-rail nav a .icon, body.portal-v2 .hub-tabs > a[data-view=redeem], body.portal-v2 .app-rail nav a[aria-current=page] .icon { color: #b5b5b5; }
body.portal-v2 .nav-count { background: #292929; color: #aaa; }
body.portal-v2 .avatar { background: #222; border-color: #444; color: #ddd; }
body.portal-v2 .sitebar :is(.support-link,.hub-wordmark), body.portal-v2 .workspace-footer { color: #929292; }
body.portal-v2 .workspace-footer a { color: #c3c3c3; }
body.portal-v2 .member-key .status-pill:not(.status-expired):not(.status-banned) { color: #c6c6c6; background: #202020; border-color: #414141; }
body.portal-v2 .portal-account-chip, body.portal-v2 .portal-feature-icon, body.portal-v2 .portal-empty-symbol, body.portal-v2 .portal-help, body.portal-v2 .portal-product, body.portal-v2 .member-key, body.portal-v2 .panel, body.portal-v2 .settings-card { background: #111111; border-color: #303030; color: #ededed; box-shadow: none; }
body.portal-v2 .portal-help-icon, body.portal-v2 .portal-account-chip .icon, body.portal-v2 .portal-title-dot, body.portal-v2 .library-heading h2>span, body.portal-v2 .portal-download { color: #bebebe; }
body.portal-v2 .portal-help, body.portal-v2 .portal-first-product { border-radius: 11px; }
body.portal-v2 .portal-empty-symbol { transform: none; border-radius: 12px; }
body.portal-v2 .portal-empty-symbol > span { background: #ededed; color: #111; }
body.portal-v2 .product-detail-hero, body.portal-v2 .product-detail-copy, body.portal-v2 .settings-profile .avatar { background: #111; border-color: #333; }
body.portal-v2 .product-access-note, body.portal-v2 .product-detail-copy .text-link, body.portal-v2 .settings-card p, body.portal-v2 .account-row span, body.portal-v2 .discord-profile-note { color: #a3a3a3; }
body.portal-v2 .product-setup-notes p, body.portal-v2 .setup-card p, body.portal-v2 .driver-strip p, body.portal-v2 .account-row strong { color: #bcbcbc; }
body.portal-v2 .driver-strip { background: #141414; border-color: #333; }
body.portal-v2 .button:not(.button-primary), body.portal-v2 .portal-product-actions>.button, body.portal-v2 .portal-first-product>.button, body.portal-v2 .portal-help .button { background: #1b1b1b; border-color: #3a3a3a; color: #e5e5e5; }
body.portal-v2 .button:not(.button-primary):hover, body.portal-v2 .portal-product-actions>.button:hover { background: #252525; border-color: #666; }
body.portal-v2 .quiet-link, body.portal-v2 .text-link, body.portal-v2 .portal-owned { color: #b8b8b8; }
body.portal-v2 .workspace-footer, body.portal-v2 .portal-nav-art, body.portal-v2 .product-detail-hero .art-large, body.portal-v2 .product-detail-hero .art-large img { border-color: #303030; }
body.portal-v2 :is(input,select) { background: #0c0c0c; border-color: #3b3b3b; color: #f0f0f0; }
body.portal-v2 :is(input,select,button,a):focus-visible { outline-color: #aaa; }
.portal-key-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; margin: 0 0 30px; border-block: 1px solid #292929; font-size: 13px; }
.portal-key-shortcut > span, .portal-key-shortcut > a { display: inline-flex; align-items: center; gap: 10px; }
.portal-key-shortcut > span { color: #aaa; }
.portal-key-shortcut > a { color: #e4e4e4; }
.portal-key-shortcut .icon { width: 16px; height: 16px; }
.portal-key-shortcut > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.redeem-simple { max-width: 650px; border: 1px solid #303030; border-radius: 12px; background: #111; padding: 30px; }
.simple-key-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.simple-key-form > label { grid-column: 1/-1; font-size: 13px; font-weight: 500; color: #dedede; margin-bottom: 2px; }
body.portal-v2 .simple-key-form input { width: 100%; min-width: 0; min-height: 49px; padding: 14px; border: 1px solid #454545; border-radius: 7px; background: #090909; color: #fff; font: 13px Inter,sans-serif; }
.simple-key-form input::placeholder { color: #777; }
.redeem-submit { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid #eee; border-radius: 7px; background: #eee; color: #111; padding: 13px 17px; font: 600 12px Inter,sans-serif; cursor: pointer; }
.redeem-submit:hover { background: #fff; }
.redeem-submit .icon { width: 16px; height: 16px; }
.redeem-submit:disabled { opacity: .55; cursor: wait; }
.redeem-account-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; border-top: 1px solid #2a2a2a; padding-top: 20px; font-size: 11px; color: #909090; }
.redeem-account-line .icon { width: 15px; height: 15px; }
.redeem-account-line strong { font-weight: 500; color: #c3c3c3; overflow-wrap: anywhere; }
.redeem-account-line a { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #bdbdbd; }
.redeem-help-line { max-width: 650px; padding: 22px 0; }
.redeem-help-line p { font-size: 12px; line-height: 1.8; color: #999; }
.redeem-help-line a { display: inline-flex; align-items: center; gap: 8px; color: #b9b9b9; margin-top: 20px; font-size: 12px; }
.redeem-help-line .icon { width: 13px; height: 13px; }

/* Sign-in: no promotional panel, only the account action and support. */
body.auth-page { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: #090909; color: #efefef; font-family: Inter,sans-serif; -webkit-font-smoothing: antialiased; }
.auth-header, .auth-footer { width: calc(100% - 80px); max-width: 1280px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-header { height: 100px; border-bottom: 1px solid #252525; }
.auth-header .nebel-brand { font-size: 22px; }
.auth-header > a:last-child, .auth-footer > a { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #a1a1a1; }
.auth-header > a:last-child .icon, .auth-footer .icon { width: 15px; height: 15px; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 65px 24px 85px; }
.auth-form { width: 100%; max-width: 390px; }
.auth-emblem { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: #171717; border: 1px solid #373737; color: #e8e8e8; margin-bottom: 26px; }
.auth-emblem .icon { width: 28px; height: 28px; }
.auth-form h1 { font: 500 34px/1.2 'Space Grotesk',Inter,sans-serif; letter-spacing: -1.4px; margin: 0 0 14px; }
.auth-description { font-size: 14px; line-height: 1.8; color: #a0a0a0; margin: 0 0 30px; }
.auth-connect { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; background: #f0f0f0; color: #111; border: 1px solid #fff; border-radius: 8px; min-height: 52px; padding: 15px; font: 600 14px Inter,sans-serif; cursor: pointer; }
.auth-connect:hover { background: #fff; }
.auth-connect .icon:first-child { width: 21px; height: 21px; }
.auth-connect .icon:last-child:not(:first-child) { width: 16px; height: 16px; margin-left: auto; }
.auth-connect:disabled { cursor: not-allowed; opacity: .5; }
.auth-first-time, .auth-unavailable { font-size: 12px; line-height: 1.9; color: #8e8e8e; margin-top: 18px; }
.auth-help { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid #2b2b2b; margin-top: 32px; padding-top: 23px; font-size: 12px; color: #919191; }
.auth-help a { color: #ccc; display: inline-flex; align-items: center; gap: 8px; }
.auth-help .icon { width: 13px; height: 13px; }
.auth-footer { padding-block: 25px; border-top: 1px solid #252525; font-size: 11px; color: #737373; }
.auth-page :is(a,button):focus-visible { outline: 2px solid #aaa; outline-offset: 5px; }

/* Shop: image-led catalogue on a neutral canvas, without stacked card outlines. */
body.shop-plain { background: #090909; color: #eee; }
body.shop-plain .store-header { background: #090909; border-bottom-color: #262626; }
body.shop-plain .store-nav > nav > a { color: #aaa; }
body.shop-plain .store-nav > nav > a[aria-current=page] { color: #fff; }
body.shop-plain .store-nav .button-small { background: #1b1b1b; border-color: #393939; color: #eee; }
.plain-store { width: calc(100% - 80px); max-width: 1200px; margin: 0 auto; padding: 50px 0 60px; }
.plain-shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.plain-shop-heading h1 { font: 500 42px/1.1 'Space Grotesk',Inter,sans-serif; letter-spacing: -1.8px; margin: 0 0 11px; }
.plain-shop-heading p { color: #999; font-size: 13px; line-height: 1.8; }
.plain-search { display: flex; gap: 10px; align-items: center; width: 265px; border: 1px solid #363636; border-radius: 7px; padding: 12px 14px; background: #111; }
.plain-search .icon { width: 16px; height: 16px; color: #828282; flex-shrink: 0; }
.plain-search input { border: 0; color: #ddd; background: transparent; width: 100%; min-width: 0; font: 12px Inter,sans-serif; padding: 0; }
.plain-search input:focus { outline: 0; }
.plain-search:focus-within { outline: 2px solid #888; outline-offset: 2px; }
.plain-toolbar { border-bottom: 1px solid #303030; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.plain-filters { display: flex; gap: 28px; }
.plain-filters button { background: transparent; color: #919191; border: 0; border-bottom: 2px solid transparent; padding: 13px 0 15px; font: 500 12px Inter,sans-serif; cursor: pointer; }
.plain-filters button[aria-pressed=true] { color: #f4f4f4; border-bottom-color: #ededed; }
.plain-filters button:hover { color: #fff; }
.plain-toolbar > span { font-size: 11px; color: #858585; white-space: nowrap; }
.plain-catalogue { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 30px; }
.plain-product { min-width: 0; }
.plain-product[hidden] { display: none; }
.plain-product-image { position: relative; width: 100%; aspect-ratio: 16/9; display: block; padding: 0; border: 1px solid #303030; border-radius: 10px; overflow: hidden; background: #111; cursor: pointer; }
.plain-product-image > img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.plain-product-image > .product-placeholder { position: absolute; inset: 0; background-color: #171717; background-image: none; }
.plain-product-image > .product-placeholder > span { color: #ddd; }
.plain-product-image > .product-placeholder > small { color: #888; }
.plain-product-image:hover { border-color: #6b6b6b; }
.plain-product-image:hover > img { transform: scale(1.025); }
.plain-preview-label { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 6px; background: #111e; color: #ededed; border: 1px solid #ffffff30; font-size: 11px; }
.plain-preview-label .icon { width: 13px; height: 13px; }
.plain-product-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 21px; }
.plain-product-title h2 { font: 500 27px/1.2 'Space Grotesk',Inter,sans-serif; letter-spacing: -.8px; overflow-wrap: anywhere; }
.plain-availability { font-size: 10px; padding: 5px 8px; border: 1px solid #363636; color: #adadad; border-radius: 5px; white-space: nowrap; }
.plain-product-description { font-size: 13px; line-height: 1.85; color: #989898; margin-top: 10px; min-height: 46px; }
.plain-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 15px; margin-top: 14px; border-top: 1px solid #282828; }
.plain-product-bottom > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.plain-product-bottom strong { font-size: 18px; font-weight: 500; }
.plain-product-bottom > div > span { font-size: 11px; color: #909090; }
.plain-product-buy, .plain-product-preview { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 11px 15px; min-height: 40px; border-radius: 6px; font: 500 12px Inter,sans-serif; cursor: pointer; flex-shrink: 0; }
.plain-product-buy { background: linear-gradient(110deg,#6859db,#1987b7); border: 1px solid #6f83b1; color: #fff; }
.plain-product-buy:hover { filter: brightness(1.13); }
.plain-product-preview { background: #171717; border: 1px solid #363636; color: #c4c4c4; }
.plain-product-preview:hover { background: #232323; border-color: #666; }
.plain-product-bottom .icon { width: 15px; height: 15px; }
.plain-shop-help { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 52px; padding-block: 26px; border-block: 1px solid #292929; font-size: 13px; color: #999; }
.plain-shop-help > span, .plain-shop-help > a { display: inline-flex; align-items: center; gap: 10px; }
.plain-shop-help > a { color: #ccc; }
.plain-shop-help .icon { width: 17px; height: 17px; }
.plain-no-results { padding: 60px 20px; text-align: center; color: #aaa; }
body.shop-plain .collection-preview-dialog { background: #101010; border-color: #444; }
body.shop-plain .collection-preview-dialog :is(.dialog-heading,.collection-preview-footer) { border-color: #303030; }
body.shop-plain .collection-preview-dialog .section-overline, body.shop-plain .collection-preview-footer > p, body.shop-plain .collection-preview-footer > span { color: #aaa; }
body.shop-plain .store-footer { border-color: #303030; }
body.shop-plain :is(a,button):focus-visible { outline-color: #aaa; }
@media(max-width:700px) {
  .plain-store { width: calc(100% - 36px); padding-top: 30px; }
  .plain-shop-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 14px; }
  .plain-shop-heading h1 { font-size: 36px; }
  .plain-search { width: 100%; }
  .plain-toolbar { gap: 12px; margin-bottom: 24px; }
  .plain-filters { gap: 19px; }
  .plain-filters button { font-size: 11px; }
  .plain-toolbar > span { font-size: 10px; }
  .plain-catalogue { grid-template-columns: 1fr; gap: 35px; }
  .plain-product-title h2 { font-size: 25px; }
  .plain-product-description { min-height: 0; font-size: 12px; }
  .plain-shop-help { font-size: 11px; gap: 12px; margin-top: 35px; }
  .auth-header, .auth-footer { width: calc(100% - 40px); }
  .auth-header { height: 82px; }
  .auth-main { padding: 45px 26px 65px; }
  .auth-form h1 { font-size: 31px; }
  .auth-description { font-size: 13px; }
  .auth-header .nebel-brand { font-size: 20px; }
  .auth-header > a:last-child { font-size: 11px; }
  .portal-key-shortcut { font-size: 11px; gap: 12px; margin-bottom: 26px; }
  .portal-key-shortcut .icon { width: 14px; height: 14px; }
  .redeem-simple { padding: 23px; }
  .simple-key-form { grid-template-columns: 1fr; }
  .redeem-submit { justify-content: space-between; min-height: 46px; }
  .redeem-account-line a { margin-left: 0; width: 100%; margin-top: 10px; }
}
@media(prefers-reduced-motion:reduce) { .plain-product-image > img { transition: none; }.plain-product-image:hover > img { transform: none; } }
