/* Nova Terra — warm, responsive skin. Loaded last in this theme only. */
html:not([data-theme="dark"]) body.nova-terra-shell{--app-accent:#873d3e!important;--nova-link-color:#783235!important;--surface:#fffaf6;--solid:#fff8f3;--line:#ecdcd3;--soft:#f9ede7;--text:#1d1c27;--muted:#918a91;background:linear-gradient(125deg,#fff9f4 0%,#f6e7df 55%,#eee0da 100%)!important;color:#171c2b}
body.nova-terra-shell{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.nova-terra-shell .app-content{min-height:calc(100vh - 110px)}
body.nova-terra-shell .app-header{background:rgba(255,250,246,.94)!important;border:0!important;box-shadow:0 8px 25px #70443116!important;backdrop-filter:blur(18px)}
body.nova-terra-shell .app-header-inner{max-width:1260px!important;padding-inline:20px!important}
body.nova-terra-shell .app-title{color:#151c29!important;font-weight:800!important}
body.nova-terra-shell .app-brand-name{font-weight:800!important;letter-spacing:-.04em}
body.nova-terra-shell .app-logo{background:linear-gradient(145deg,#f4b1a1,#994342)!important;color:white!important;box-shadow:none!important}
body.nova-terra-shell .app-icon-button{background:transparent!important;color:#5c2529!important;box-shadow:none!important;border:0!important}
body.nova-terra-shell .terra-notification{position:relative}
body.nova-terra-shell .terra-notification b{position:absolute;right:0;top:0;min-width:19px;height:19px;display:grid;place-items:center;border-radius:20px;background:#f33c4c;color:#fff;font-size:10px}
body.nova-terra-shell .app-user-avatar{border-radius:50%!important;box-shadow:0 0 0 3px #fff,0 5px 15px #77483a30}
body.nova-terra-shell .app-user-avatar img{border-radius:50%!important;object-fit:cover}
body.nova-terra-shell .mobile-menu{background:linear-gradient(155deg,#fffaf6,#f7ebe5 68%,#e2c8b8)!important;border:1px solid #fff9f2!important;border-radius:27px!important;box-shadow:0 20px 70px #4c261e55!important;color:#182031!important}
body.nova-terra-shell .drawer-profile{background:transparent!important;border:0!important}
body.nova-terra-shell .drawer-user{color:#151c29!important}
body.nova-terra-shell .drawer-avatar{border-radius:50%!important}
body.nova-terra-shell .drawer-avatar img{border-radius:50%!important}
body.nova-terra-shell .terra-drawer-nav{display:grid!important;gap:3px!important;overflow:auto!important}
body.nova-terra-shell .terra-drawer-nav>a,body.nova-terra-shell .terra-drawer-nav>button{display:flex!important;align-items:center!important;gap:16px!important;border:0!important;border-radius:13px!important;padding:11px 16px!important;min-height:45px!important;width:100%!important;text-align:left!important;background:transparent!important;color:#1c2433!important;font-size:15px!important;font-weight:650!important;box-sizing:border-box;text-decoration:none!important;cursor:pointer}
body.nova-terra-shell .terra-drawer-nav>a.active,body.nova-terra-shell .terra-drawer-nav>a:hover{background:linear-gradient(100deg,#f8e3d7,#f4d9d5)!important;color:#622326!important}
body.nova-terra-shell .terra-drawer-nav .drawer-rulavi-icon{display:grid!important;place-items:center;width:25px!important;height:25px!important;flex:none;color:#763a3a!important;font-style:normal;font-size:22px}
body.nova-terra-shell .terra-drawer-nav .drawer-rulavi-icon svg{width:21px;height:21px;fill:none!important;stroke:currentColor!important;stroke-width:1.7}
body.nova-terra-shell .terra-menu-badge{margin-left:auto;padding:3px 7px;background:#fa4255;color:white;border-radius:99px;font-size:11px}
body.nova-terra-shell .terra-bottom-nav{background:rgba(255,249,245,.96)!important;box-shadow:0 -8px 28px #65382d1b!important;border:0!important;border-radius:25px 25px 0 0!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:center!important;padding:8px 9px calc(8px + env(safe-area-inset-bottom))!important}
body.nova-terra-shell .terra-bottom-nav>a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:0!important;color:#555865!important;font-size:11px!important;text-decoration:none!important;position:relative}
body.nova-terra-shell .terra-bottom-nav>a.active{color:#713031!important}
body.nova-terra-shell .terra-bottom-nav a i{display:grid;place-items:center;width:27px;height:27px;font-style:normal;font-size:24px}
body.nova-terra-shell .terra-bottom-nav a i svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
body.nova-terra-shell .terra-bottom-nav .terra-create-action i{width:48px;height:48px;margin-top:-27px;border:4px solid #f3d4cb;border-radius:50%;background:linear-gradient(145deg,#ad5757,#643031);box-shadow:0 8px 18px #6f333652;color:white;font-size:29px}
body.nova-terra-shell .terra-bottom-nav .terra-create-action span{font-size:10px}
body.nova-terra-shell .app-content .btn.primary,body.nova-terra-shell .app-content button.primary{background:linear-gradient(115deg,#a34f50,#6d3032)!important;color:white!important;border:0!important}
body.nova-terra-shell .app-content :is(.panel,.card,.profile-card,.settings-card,.nova-track,.post-card){border-color:#eadcd4!important;box-shadow:0 10px 26px #71402f0c}
/* Home */
body.nova-terra-shell .terra-home{width:min(1110px,calc(100% - 30px));margin:18px auto 140px;display:grid;gap:19px}
body.nova-terra-shell .terra-hero{min-height:320px;display:flex;align-items:center;position:relative;overflow:hidden;border-radius:25px;background:#442923 url('../img/music-hero.webp') center/cover no-repeat;box-shadow:0 18px 35px #63372f38;color:#fff}
body.nova-terra-shell .terra-hero-copy{padding:34px 44px;position:relative;z-index:1;text-shadow:0 2px 14px #170b0b88}
body.nova-terra-shell .terra-hero h1{font-family:cursive;font-size:clamp(38px,5vw,72px);font-style:italic;font-weight:500;line-height:.98;margin:0 0 22px;color:#fff}
body.nova-terra-shell .terra-hero p{font-size:17px;line-height:1.35;margin:0 0 18px}
body.nova-terra-shell .terra-hero a{display:inline-flex;align-items:center;gap:15px;padding:12px 20px;border-radius:50px;background:#f4e5dc;color:#653135!important;font-weight:750;text-decoration:none!important;text-shadow:none}
body.nova-terra-shell .terra-hero-dots{position:absolute;bottom:16px;right:18px;display:flex;gap:5px}
body.nova-terra-shell .terra-hero-dots i{width:7px;height:7px;border-radius:50%;background:#ffffff8c}
body.nova-terra-shell .terra-hero-dots i:first-child{background:white}
body.nova-terra-shell .terra-quick{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
body.nova-terra-shell .terra-quick a{display:grid;justify-items:center;align-content:center;gap:7px;min-height:100px;background:#fff9f5;color:#171d2b!important;border-radius:19px;text-decoration:none!important;box-shadow:0 8px 21px #7f544516;font-size:13px;font-weight:700}
body.nova-terra-shell .terra-quick a.selected{color:#fff!important;background:linear-gradient(130deg,#e67b79,#77383b)}
body.nova-terra-shell .terra-quick i{font-style:normal;font-size:29px;color:#884348}
body.nova-terra-shell .terra-quick a.selected i{color:#fff}
body.nova-terra-shell .terra-search{display:flex;gap:10px}
body.nova-terra-shell .terra-search label{display:flex;align-items:center;gap:11px;flex:1;min-width:0;padding:0 18px;border-radius:17px;background:#fff9f5;box-shadow:0 6px 16px #79443615;color:#8c4446}
body.nova-terra-shell .terra-search label span{font-size:28px}
body.nova-terra-shell .terra-search input{border:0!important;outline:0!important;box-shadow:none!important;width:100%;min-width:0;background:transparent!important;color:#252739;padding:15px 0}
body.nova-terra-shell .terra-search button{width:53px;border:0;border-radius:17px;background:#f1ddd5;color:#803d40;font-size:23px}
body.nova-terra-shell .terra-genres{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:none}
body.nova-terra-shell .terra-genres a{flex:none;padding:9px 17px;border-radius:99px;background:#f2e7e0;color:#30303c!important;text-decoration:none!important;font-size:12px;font-weight:700}
body.nova-terra-shell .terra-genres a.active{color:white!important;background:linear-gradient(130deg,#a65558,#5f3036)}
body.nova-terra-shell .terra-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
body.nova-terra-shell .terra-feature{min-height:124px;position:relative;display:grid;grid-template-columns:48px 1fr;align-content:start;column-gap:10px;padding:17px;border-radius:19px;background:linear-gradient(120deg,#fff8f3,#f2ddd4);box-shadow:0 8px 20px #7d47341c;text-decoration:none!important;color:#1c2331!important;overflow:hidden}
body.nova-terra-shell .terra-feature:nth-child(2){background:linear-gradient(120deg,#e6f5f5,#f4e2d7)}
body.nova-terra-shell .terra-feature:nth-child(3){background:linear-gradient(120deg,#fff0e7,#efd1bf)}
body.nova-terra-shell .terra-feature i{grid-row:span 2;display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#f3445c;color:white;font-style:normal;font-size:28px}
body.nova-terra-shell .terra-feature.upload i{background:#2dbed3}body.nova-terra-shell .terra-feature.popular i{background:#ff7756}
body.nova-terra-shell .terra-feature b{font-size:17px;line-height:1.2}body.nova-terra-shell .terra-feature small{grid-column:1/-1;align-self:end;color:#6c5b5d;margin-top:15px;font-size:12px}body.nova-terra-shell .terra-feature>span{position:absolute;right:15px;top:13px;color:#7a393a}
body.nova-terra-shell .terra-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px}
body.nova-terra-shell .terra-section-title h2{font-size:24px;color:#131b2b;letter-spacing:-.04em;margin:0}
body.nova-terra-shell .terra-section-title a{font-size:14px;font-weight:750;color:#7c3538!important;text-decoration:none!important}
body.nova-terra-shell .terra-album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;background:transparent!important;border:0!important}
body.nova-terra-shell .terra-album{display:block!important;min-width:0;padding:0!important;border-radius:16px!important;overflow:hidden;background:#fffaf6!important}
body.nova-terra-shell .terra-album-art{height:155px;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,#391c35,#ca837b);color:#fff;font-size:55px}
body.nova-terra-shell .terra-album-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
body.nova-terra-shell .terra-album-art .nova-track-play{position:relative;z-index:1;width:43px;height:43px;border:0;border-radius:50%;background:#fff;color:#803e4a;font-size:17px;box-shadow:0 4px 20px #1f1327a0}
body.nova-terra-shell .terra-album-info{display:grid;gap:2px;padding:10px 11px;color:#182132}
body.nova-terra-shell .terra-album-info b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
body.nova-terra-shell .terra-album-info small{font-size:12px;color:#7c808f}
body.nova-terra-shell .terra-album-info span{font-size:11px;color:#a46067;margin-top:4px}
body.nova-terra-shell .terra-community-feed{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
body.nova-terra-shell .terra-community-feed article,body.nova-terra-shell .terra-empty{padding:18px;border-radius:17px;background:#fffaf6;box-shadow:0 6px 20px #7c463210;min-width:0}
body.nova-terra-shell .terra-community-feed p{overflow-wrap:anywhere;color:#3b3a43}body.nova-terra-shell .terra-community-feed small{color:#96909a}
/* Music section */
body.nova-terra-shell .app-content .terra-music-page{max-width:1080px!important;margin:0 auto!important;padding:16px 20px 130px!important;color:#161b2b!important}
body.nova-terra-shell .terra-music-hero{min-height:210px;background:linear-gradient(90deg,#2b1412c0,#2b141200),url('../img/music-microphone.webp') center/cover;border-radius:22px;color:#fff;display:flex;align-items:flex-start;padding:25px;box-sizing:border-box}
body.nova-terra-shell .terra-music-hero a{color:#fff!important;text-decoration:none!important;font-size:24px}
body.nova-terra-shell .terra-music-hero h1{font-size:34px;margin:12px 0 5px;color:#fff}
body.nova-terra-shell .terra-music-hero p{color:#f8dcd4;margin:0}
body.nova-terra-shell .terra-music-page .music-search{display:flex!important;margin:16px 0 12px!important}
body.nova-terra-shell .terra-music-page .music-search label,body.nova-terra-shell .terra-music-page .music-search button{background:#fffaf6!important;border:0!important;border-radius:16px!important;box-shadow:0 5px 15px #7e4d3917!important;color:#783c3c!important}
body.nova-terra-shell .terra-music-page .music-tabs{display:flex!important;overflow-x:auto!important;background:transparent!important;padding:3px 0 12px!important}
body.nova-terra-shell .terra-music-page .music-tabs a{background:#f4e6de!important;color:#353544!important;border:0!important;border-radius:99px!important;flex:none!important;font-size:13px!important;padding:10px 15px!important}
body.nova-terra-shell .terra-music-page .music-tabs a.active{background:linear-gradient(120deg,#a45052,#653034)!important;color:#fff!important}
body.nova-terra-shell .terra-music-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:5px 0 22px}
body.nova-terra-shell .terra-music-actions a{display:flex;gap:8px;align-items:center;justify-content:center;min-height:68px;padding:10px;border-radius:17px;background:linear-gradient(125deg,#fff5ee,#f2dcd2);box-shadow:0 5px 16px #884e4114;color:#793b3c!important;text-decoration:none!important;font-weight:750;text-align:center}
body.nova-terra-shell .terra-music-page .music-list-heading h2{color:#191b2a!important}
body.nova-terra-shell .terra-music-page .nova-track{background:#fffaf7!important;border:1px solid #f6ebe5!important;box-shadow:0 7px 17px #77514312!important}
body.nova-terra-shell .terra-music-page .music-track-art{background:linear-gradient(140deg,#452025,#b96658)!important}
body.nova-terra-shell .terra-music-page .music-track-art .nova-track-play{color:#80393d!important;border-color:#a75b5f!important}
body.nova-terra-shell .terra-music-page .music-track-genre{background:#f5e8e3;color:#85494c}
body.nova-terra-shell .app-content .music-upload-page .music-upload-card{background:#fff9f5!important}
body.nova-terra-shell .app-content .music-upload-page .music-drop{border-color:#cb9f9e!important;color:#8f494b!important}
body.nova-terra-shell .app-content .music-upload-page .music-wizard-submit{background:#873d40!important}
/* Fullscreen and mini player */
body.nova-terra-shell .nova-music-player:not(.is-collapsed){background:linear-gradient(180deg,#1d1015dd,#4b272aeb 68%,#181016f5),url('../img/sunset-player.webp') center/cover!important;color:#fff!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-now-card{background:transparent!important;box-shadow:none!important;border:0!important;color:white!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-now-heading h2{color:#fff!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-now-heading p{color:#ebc5c0!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-now-top{display:grid!important;justify-items:center!important;gap:13px!important;text-align:center!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-player-art{width:min(64vw,300px)!important;height:min(64vw,300px)!important;border-radius:25px!important;box-shadow:0 17px 45px #12070da8!important;grid-row:auto!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-player-meta{max-width:90%!important;text-align:center!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-player-title{color:#fff!important;font-size:24px!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-player-artist{color:#ead1ca!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-player-toggle{background:linear-gradient(140deg,#e27372,#923d42)!important;box-shadow:0 0 0 7px #e0707044,0 8px 25px #ed707277!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) :is(.nova-player-timeline,.nova-player-controls,.nova-player-volume,.nova-now-actions,.nova-now-queue-title){color:#fff!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) input[type=range]{accent-color:#f08380!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-queue-row{background:#fff4ee1c!important;color:#fff!important}
body.nova-terra-shell .nova-music-player.is-collapsed{background:#492a31!important}
body.nova-terra-shell #novaMusicPlayer[hidden]{display:none!important}
/* Profile */
body.nova-terra-shell .studio-profile .studio-cover{background:linear-gradient(90deg,#5c2d2b55,#c17c6966),url('../img/sunset-player.webp') center 42%/cover!important;border-radius:0 0 22px 22px!important}
body.nova-terra-shell .studio-profile .studio-cover.has-user-cover{background-image:linear-gradient(#43211c33,#43211c33),var(--studio-user-cover)!important}
body.nova-terra-shell .studio-profile .studio-avatar{box-shadow:0 0 0 6px #fff8f3,0 8px 22px #582f2f2e!important}
body.nova-terra-shell .studio-profile .studio-edit{background:#f5e8e1!important;color:#703e3e!important;border-radius:13px!important}
body.nova-terra-shell .studio-profile .studio-stats{background:#fffaf7!important;border-radius:18px!important;box-shadow:0 9px 22px #673b3113!important}
body.nova-terra-shell .studio-profile .studio-stats a.selected{color:#8e3e40!important;background:#f6e4db!important}
body.nova-terra-shell .studio-profile-actions .btn.primary{background:linear-gradient(110deg,#a45a53,#6f383a)!important}
body.nova-terra-shell .profile-wall,body.nova-terra-shell .profile-wallet-card{background:#fffaf6!important;border-radius:20px!important}
@media(max-width:650px){
 body.nova-terra-shell .app-header-inner{padding-inline:14px!important}
 body.nova-terra-shell .app-brand-tagline,body.nova-terra-shell .nova-language-menu{display:none!important}
 body.nova-terra-shell .terra-home{width:calc(100% - 22px);gap:14px;margin-top:11px}
 body.nova-terra-shell .terra-hero{min-height:205px;border-radius:20px;background-position:61% center}
 body.nova-terra-shell .terra-hero-copy{padding:20px 22px;max-width:54%}
 body.nova-terra-shell .terra-hero h1{font-size:36px;margin-bottom:12px}
 body.nova-terra-shell .terra-hero p{font-size:12px;margin-bottom:13px}
 body.nova-terra-shell .terra-hero a{font-size:11px;padding:9px 13px}
 body.nova-terra-shell .terra-quick{grid-template-columns:repeat(6,minmax(75px,1fr));gap:8px;overflow-x:auto;padding-bottom:5px;scrollbar-width:none}
 body.nova-terra-shell .terra-quick a{min-height:76px;font-size:10px;border-radius:15px}
 body.nova-terra-shell .terra-quick i{font-size:23px}
 body.nova-terra-shell .terra-search input{font-size:12px}
 body.nova-terra-shell .terra-genres a{padding:8px 12px;font-size:11px}
 body.nova-terra-shell .terra-feature-grid{gap:8px}
 body.nova-terra-shell .terra-feature{display:flex;flex-direction:column;gap:6px;min-height:119px;padding:12px 10px;border-radius:14px}
 body.nova-terra-shell .terra-feature i{width:35px;height:35px;font-size:22px}
 body.nova-terra-shell .terra-feature b{font-size:12px}
 body.nova-terra-shell .terra-feature small{font-size:10px;line-height:1.25;margin-top:auto}
 body.nova-terra-shell .terra-section-title h2{font-size:20px}
 body.nova-terra-shell .terra-album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.nova-terra-shell .terra-album-art{height:135px}
 body.nova-terra-shell .terra-community-feed{grid-template-columns:1fr}
 body.nova-terra-shell .terra-music-hero{min-height:150px}
 body.nova-terra-shell .terra-music-actions a{font-size:11px;min-height:56px;padding:8px}
 body.nova-terra-shell .nova-music-player:not(.is-collapsed){top:0!important;bottom:0!important;padding:18px 16px 100px!important;overflow-y:auto!important}
 body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-player-art{width:min(59vw,260px)!important;height:min(59vw,260px)!important}
 body.nova-terra-shell .mobile-menu{top:34px!important;left:16px!important;right:16px!important;bottom:24px!important;overflow:auto!important}
}
html[data-theme="dark"] body.nova-terra-shell{background:#1e1519!important;color:#f6e6e0}
html[data-theme="dark"] body.nova-terra-shell .terra-home :is(.terra-quick a,.terra-album,.terra-community-feed article),html[data-theme="dark"] body.nova-terra-shell .terra-music-page .nova-track{background:#332329!important;color:#f8e7e1!important}

body.nova-terra-shell .terra-bell svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-now-heading button{background:#ffffff27!important;color:#fff!important;box-shadow:none!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-now-actions :is(a,button){background:#ffffff20!important;color:#fff!important;border:1px solid #ffffff25!important}
body.nova-terra-shell .nova-music-player:not(.is-collapsed) .nova-now-queue-title label{color:#efd7d0!important}
/* Terra palette is applied after module styles, including styles emitted by views. */
html:not([data-theme="dark"]) body.nova-terra-shell {
  --app-accent:#914649!important;
  --nova-link-color:#81383c!important;
  --primary:#914649!important;
  --primary-dark:#713438!important;
  --accent:#914649!important;
  --accent-strong:#713438!important;
  --accent-soft:#f5e5de!important;
}
body.nova-terra-shell .mobile-menu {
  position:fixed!important;
  left:0!important;
  right:auto!important;
  top:var(--drawer-header-height,76px)!important;
  bottom:0!important;
  width:min(390px,88vw)!important;
  height:calc(100dvh - var(--drawer-header-height,76px))!important;
  max-height:calc(100dvh - var(--drawer-header-height,76px))!important;
  margin:0!important;
  border-left:0!important;
  border-radius:0 25px 25px 0!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
@supports not (height:100dvh) {
  body.nova-terra-shell .mobile-menu {height:calc(100vh - var(--drawer-header-height,76px))!important;max-height:calc(100vh - var(--drawer-header-height,76px))!important}
}
body.nova-terra-shell .app-content :is(
  .profile-editor-tabs .active,.profile-editor-tabs [aria-selected="true"],
  .fh-primary,.fh-tabs .active,.games-tabs .active,.game-main-button,
  .chat-enter,.chat-send,.chat-save,.member-tool-primary,
  .btn.primary,.btn-primary,.button-primary,.social-profile-tabs .active
) {background:linear-gradient(125deg,#ad605b,#78383b)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 9px 20px #7d3a3826!important}
body.nova-terra-shell .app-content :is(
  .profile-upload-button,.avatar-frame-picker .active,.fh-cat-icon,
  .fh-topic-icon,.fh-badge,.chat-menu-grid a i,.chat-menu-grid button i,
  .chat-active-avatar,.games-hero-pills,.social-profile-tabs a:not(.active)
) {color:#914649!important;border-color:#e9c8bf!important}
body.nova-terra-shell .app-content :is(.fh-badge,.profile-upload-button,.avatar-frame-picker .active) {background:#f5e5de!important}
body.nova-terra-shell .app-content :is(.games-hero,.chat-hero) {background:linear-gradient(135deg,#673436,#a95c56 58%,#df9c84)!important}
body.nova-terra-shell .app-content :is(.games-hero,.chat-hero) :is(h1,h2,p,small,strong) {color:#fff!important}
body.nova-terra-shell .app-content :is(.games-tabs .active,.fh-tabs .active,.profile-editor-tabs .active) :is(i,svg) {color:currentColor!important}
body.nova-terra-shell .app-content :is(a,button,input,textarea,select):focus-visible {outline-color:#a75a56!important}

/* Use independent icon and label elements: legacy Social hides i/span inside .bottom-nav. */
body.nova-terra-shell nav.terra-bottom-nav {
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;
  z-index:125!important;width:100%!important;height:78px!important;min-height:78px!important;
  margin:0!important;transform:none!important;box-sizing:border-box!important;
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:center!important;padding:7px 7px calc(7px + env(safe-area-inset-bottom))!important;
  background:#fffaf6f7!important;border:0!important;border-top:1px solid #eddcd3!important;
  border-radius:20px 20px 0 0!important;box-shadow:0 -8px 24px #53352b20!important;
}
body.nova-terra-shell nav.terra-bottom-nav>a {
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:4px!important;min-width:0!important;
  height:60px!important;max-width:none!important;padding:3px 1px!important;
  color:#664c52!important;text-align:center!important;text-decoration:none!important;
  background:transparent!important;border-radius:14px!important;
  visibility:visible!important;opacity:1!important;
}
body.nova-terra-shell nav.terra-bottom-nav>a.active {color:#883e41!important;background:#f6e8e0!important}
body.nova-terra-shell nav.terra-bottom-nav>a .terra-nav-icon {
  display:grid!important;place-items:center!important;width:28px!important;height:28px!important;
  flex:none!important;visibility:visible!important;opacity:1!important;
  color:inherit!important;font-size:25px!important;line-height:1!important;
}
body.nova-terra-shell nav.terra-bottom-nav>a .terra-nav-icon svg {
  display:block!important;width:25px!important;height:25px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  visibility:visible!important;opacity:1!important;
}
body.nova-terra-shell nav.terra-bottom-nav>a .terra-nav-label {
  display:block!important;visibility:visible!important;opacity:1!important;
  max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;color:inherit!important;font-size:10px!important;
  font-weight:700!important;line-height:1.2!important;
}
body.nova-terra-shell nav.terra-bottom-nav>a.terra-create-action .terra-nav-icon {
  width:47px!important;height:47px!important;margin-top:-18px!important;
  border:4px solid #f3d4cb!important;border-radius:50%!important;
  background:linear-gradient(145deg,#ad5757,#643031)!important;
  box-shadow:0 8px 18px #6f333652!important;color:#fff!important;
  font-size:27px!important;
}
@media (min-width:901px) {
  body.nova-terra-shell nav.terra-bottom-nav {
    left:50%!important;right:auto!important;bottom:18px!important;
    width:min(650px,calc(100% - 40px))!important;
    transform:translateX(-50%)!important;border:1px solid #eddcd3!important;
    border-radius:22px!important;
  }
}

/* Text over photography must stay readable in both appearance modes. */
body.nova-terra-shell .app-content .terra-hero {
  background-image:linear-gradient(90deg,rgba(24,12,16,.76) 0%,rgba(24,12,16,.38) 48%,transparent 78%),url('../img/music-hero.webp')!important;
}
body.nova-terra-shell .app-content .terra-music-hero {
  background-image:linear-gradient(90deg,rgba(23,10,9,.82) 0%,rgba(23,10,9,.36) 55%,transparent 95%),url('../img/music-microphone.webp')!important;
}
body.nova-terra-shell .app-content :is(.terra-hero,.terra-music-hero) h1,
body.nova-terra-shell .app-content :is(.terra-hero,.terra-music-hero) p,
body.nova-terra-shell .app-content .studio-cover-brand,
body.nova-terra-shell .app-content .studio-cover-brand small {
  color:#fff!important;text-shadow:0 2px 12px rgba(18,8,12,.9)!important;
}
body.nova-terra-shell .app-content .studio-cover-brand svg {fill:#fff!important;stroke:#fff!important;filter:drop-shadow(0 2px 5px #18090bbb)}
body.nova-terra-shell .app-content .studio-profile .studio-cover {
  background-image:linear-gradient(90deg,rgba(25,11,18,.7),rgba(25,11,18,.2) 63%,transparent),url('../img/sunset-player.webp')!important;
}
body.nova-terra-shell .app-content .studio-profile .studio-cover.has-user-cover {
  background-image:linear-gradient(90deg,rgba(25,11,18,.72),rgba(25,11,18,.22) 65%,transparent),var(--studio-user-cover)!important;
}

/* The appearance control lives immediately above the administration link. */
body.nova-terra-shell .drawer-footer .terra-drawer-theme {
  display:flex!important;align-items:center!important;gap:12px!important;
  width:100%!important;min-height:56px!important;margin:0 0 12px!important;
  padding:9px 12px!important;border:1px solid #e9d5cd!important;
  border-radius:17px!important;background:#fff7f2!important;
  color:#793a3d!important;box-shadow:0 5px 15px #77413812!important;
  font-family:inherit!important;font-size:14px!important;font-weight:700!important;
  line-height:1.2!important;text-align:left!important;cursor:pointer!important;
}
body.nova-terra-shell .drawer-footer .terra-theme-glyph {
  width:38px;height:38px;display:grid;place-items:center;flex:none;
  border-radius:12px;background:#f2ddd6;color:#873f43;
}
body.nova-terra-shell .drawer-footer .terra-theme-glyph svg {
  width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
body.nova-terra-shell .drawer-footer .terra-theme-copy {flex:1;white-space:nowrap}
body.nova-terra-shell .drawer-footer .terra-theme-switch {
  width:38px;height:22px;padding:2px;box-sizing:border-box;flex:none;
  border-radius:15px;background:#ddc3bb;transition:background .2s;
}
body.nova-terra-shell .drawer-footer .terra-theme-switch:after {
  content:"";display:block;width:18px;height:18px;border-radius:50%;
  background:#fff;box-shadow:0 1px 4px #4b24272c;transition:transform .2s;
}
html[data-theme="light"] body.nova-terra-shell .drawer-footer .terra-theme-sun,
html[data-theme="dark"] body.nova-terra-shell .drawer-footer .terra-theme-moon {display:none}
html[data-theme="dark"] body.nova-terra-shell .drawer-footer .terra-drawer-theme {
  background:#39282c!important;border-color:#63484a!important;color:#fceee8!important;
}
html[data-theme="dark"] body.nova-terra-shell .drawer-footer .terra-theme-glyph {background:#654043;color:#ffe6ca}
html[data-theme="dark"] body.nova-terra-shell .drawer-footer .terra-theme-switch {background:#a85c5b}
html[data-theme="dark"] body.nova-terra-shell .drawer-footer .terra-theme-switch:after {transform:translateX(16px)}

/* The whole drawer keeps its original scroll; reserve room below Exit for the fixed bottom bar. */
@media (max-width:900px) {
  body.nova-terra-shell .mobile-menu .terra-drawer-nav {overflow:visible!important}
  body.nova-terra-shell .mobile-menu .drawer-footer {
    padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;
  }
}

/* Terra dark palette must override its light-only component colors. */
html[data-theme="dark"] body.nova-terra-shell{--app-surface:#30272e;--app-accent-soft:#433039;--app-line:#604a55;--nova-link-color:#efb6c1!important}
html[data-theme="dark"] body.nova-terra-shell .app-header{background:#282938!important}
html[data-theme="dark"] body.nova-terra-shell .app-title,html[data-theme="dark"] body.nova-terra-shell .app-icon-button{color:#fff!important}
html[data-theme="dark"] body.nova-terra-shell .app-content :is(.terra-section-title h2,.terra-music-page .music-list-heading h2,.terra-album-info,.terra-community-feed p,.nova-track-info b,.nova-track-info small,.studio-profile .profile-subtitle,.studio-profile .profile-handle,.studio-profile .profile-bio,.studio-profile .profile-meta,.studio-profile .profile-stats strong){color:#f5e9ec!important}
html[data-theme="dark"] body.nova-terra-shell .app-content :is(.terra-community-feed small,.terra-album-info small,.terra-album-info span,.music-track-stats,.studio-profile .profile-meta small){color:#c9b8c0!important}
html[data-theme="dark"] body.nova-terra-shell .app-content :is(.terra-community-feed article,.terra-empty,.terra-album,.terra-music-page .nova-track,.music-upload-card,.music-upload-section,.nova-stories-strip,.post-card,.profile-card,.card,.panel){background:#30272e!important;border-color:#634c54!important;color:#f5e9ec!important}
html[data-theme="dark"] body.nova-terra-shell .app-content :is(.terra-quick a,.terra-feature,.terra-genres a,.terra-music-actions a,.terra-music-page .music-tabs a,.terra-music-page .music-search label,.terra-music-page .music-search button,.music-drop){background:#382d35!important;color:#f4e7eb!important;border-color:#604a55!important}
html[data-theme="dark"] body.nova-terra-shell .app-content :is(.terra-quick a.selected,.terra-genres a.active,.terra-music-page .music-tabs a.active){background:#86444d!important;color:#fff!important}
html[data-theme="dark"] body.nova-terra-shell .app-content :is(.terra-quick i,.terra-feature small,.terra-feature>span,.music-track-genre,.terra-music-actions a){color:#f0c2cb!important}
html[data-theme="dark"] body.nova-terra-shell .app-content .terra-search input{color:#f6e8ec!important}
html[data-theme="dark"] body.nova-terra-shell .terra-bottom-nav{background:#292a3b!important;border-color:#75535c!important}
html[data-theme="dark"] body.nova-terra-shell .terra-bottom-nav>a{color:#eddae0!important}
html[data-theme="dark"] body.nova-terra-shell .terra-bottom-nav>a.active{color:#fff!important;background:#6d444f!important}
