/* RacqSense Mobile V2. All new rules are mobile-only; desktop layout untouched. */
@media(max-width:900px){
  #mobileBottomNav.mobileBottomNav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0;
    padding-bottom:calc(6px + env(safe-area-inset-bottom,0px));
  }
  #mobileBottomNav.mobileBottomNav button{min-height:52px;font-size:11px}
  #mobileBottomNav.mobileBottomNav button b{font-size:23px}
  #home:has(.racqV2){width:100%;max-width:none}
  #home .racqV2{
    --v2lime:#c7ff33;--v2panel:#0d2a20;--v2line:#2d5946;
    color:#f0f7f1;max-width:620px;margin:0 auto;padding-bottom:6px;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif
  }
  #home .racqV2 *{box-sizing:border-box}
  #home .racqV2Head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:45px;margin-bottom:9px}
  #home .racqV2Brand{font-size:18px;font-weight:900;letter-spacing:-.035em}
  #home .racqV2Brand span{font-size:10px;color:var(--v2lime);vertical-align:super;margin-left:2px}
  #home .racqV2Menu,#home .racqV2Back{
    border:1px solid #3a624c;border-radius:9px;background:#102b20;color:#f1f9ed;
    font-size:12px;font-weight:800;min-height:36px;padding:7px 10px;cursor:pointer
  }
  #home .racqV2Back{background:transparent;margin-right:auto}
  #home .racqV2Back + .racqV2Brand{font-size:14px}
  #home .racqV2Hero{
    min-height:280px;border:1px solid #235d53;border-radius:19px;overflow:hidden;position:relative;
    background-image:linear-gradient(90deg,rgba(2,16,23,.90) 0%,rgba(2,16,23,.56) 53%,rgba(2,16,23,.06) 95%),var(--racq-v2-banner);
    background-size:cover;background-position:61% center;display:flex;align-items:center;padding:18px 17px
  }
  #home .racqV2HeroText{position:relative;z-index:1;width:69%;max-width:280px}
  #home .racqV2Eyebrow{display:block;font-weight:900;font-size:10px;line-height:1.28;letter-spacing:.09em;color:var(--v2lime);max-width:195px}
  #home .racqV2Hello{font-size:13px;font-weight:800;color:white;margin:20px 0 7px}
  #home .racqV2Hero h1{font-size:clamp(28px,7.9vw,37px);font-weight:950;line-height:1.02;letter-spacing:-.05em;margin:11px 0 0;text-shadow:0 2px 10px rgba(0,0,0,.3)}
  #home .racqV2Hero h1 em{font-style:normal;color:var(--v2lime)}
  #home .racqV2Status{
    display:flex;align-items:center;gap:12px;border:1px solid #365f42;border-radius:14px;
    background:linear-gradient(125deg,#123928,#0a241c);padding:14px;margin-top:11px
  }
  #home .racqV2Status>span{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;background:var(--v2lime);color:#102315;border-radius:50%;font-size:19px;font-weight:900}
  #home .racqV2Status strong{font-size:15px;display:block;line-height:1.3}
  #home .racqV2Status small{display:block;font-size:12px;color:#c7d8ce;line-height:1.38;margin-top:3px}
  #home .racqV2Button{
    display:flex;align-items:center;justify-content:center;text-align:center;width:100%;min-height:47px;
    border:1px solid #658e48;border-radius:12px;background:#10291f;color:#e9f6ec;
    font-weight:850;font-size:14px;line-height:1.25;padding:10px 12px;cursor:pointer;margin-top:10px;
  }
  #home .racqV2Button.racqV2Primary{background:var(--v2lime);border-color:var(--v2lime);color:#102310}
  #home .racqV2Button:focus-visible,
  #home .racqV2Menu:focus-visible,
  #home .racqV2Back:focus-visible,
  #home .racqV2Link:focus-visible,
  #home .racqV2EquipmentRow:focus-visible,
  #home .racqV2Category:focus-visible{outline:2px solid var(--v2lime);outline-offset:2px}
  #home .racqV2Panel{
    border:1px solid var(--v2line);background:linear-gradient(140deg,#103127,#081e19);
    border-radius:17px;padding:15px 13px
  }
  #home .racqV2Panel>h1{font-size:20px;font-weight:900;margin:0 0 5px;line-height:1.2;letter-spacing:-.025em}
  #home .racqV2Panel .racqV2Sub{font-size:12px;line-height:1.4;color:#bbd1c3;margin:0 0 14px}
  #home .racqV2Foot{display:block;color:#b0c5b8;font-size:11px;line-height:1.45;margin:10px 2px 6px}
  #home .racqV2EquipmentList{display:grid;gap:7px}
  #home .racqV2EquipmentRow{
    display:flex;align-items:center;min-height:68px;width:100%;gap:12px;
    padding:6px 9px;border:1px solid #2d604c;border-radius:11px;
    background:#09291f;color:#f5f8f3;cursor:pointer;text-align:left;
  }
  #home .racqV2EquipmentRow img{
    width:72px;height:57px;object-fit:contain;flex:0 0 72px;
    background:#102c22;border-radius:7px
  }
  #home .racqV2EquipmentText{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
  #home .racqV2EquipmentText b{font-size:12px;font-weight:850}
  #home .racqV2EquipmentText .racqV2Clamp{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    line-clamp:2;overflow:hidden;font-size:12px;line-height:1.32;overflow-wrap:anywhere
  }
  #home .racqV2EquipmentRow.racqV2Expanded .racqV2Clamp{
    display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible
  }
  #home .racqV2Chevron{color:var(--v2lime);font-size:17px}
  #home .racqV2Expanded .racqV2Chevron{transform:rotate(180deg)}
  #home .racqV2Goals{display:grid;gap:9px}
  #home .racqV2GoalRow{
    display:grid;grid-template-columns:minmax(73px,auto) minmax(0,1fr) 20px;
    gap:10px;align-items:center;min-height:50px;padding:11px;
    border:1px solid #2b5444;border-radius:10px;background:rgba(3,23,19,.55)
  }
  #home .racqV2GoalName{font-size:13px;font-weight:800}
  #home .racqV2Track{height:10px;border-radius:20px;background:#214537;overflow:hidden}
  #home .racqV2Track i{display:block;background:var(--v2lime);height:100%;border-radius:inherit}
  #home .racqV2GoalRow b{color:#fff;text-align:right;font-size:16px}
  #home .racqV2Link{
    display:block;width:100%;text-align:center;margin:12px 0 17px;border:0;
    background:transparent;color:var(--v2lime);text-decoration:underline;
    text-underline-offset:3px;font-weight:800;font-size:12px;padding:4px;cursor:pointer
  }
  #home .racqV2Recommendation{border-color:#a9d92c}
  #home .racqV2Recommendation h2{font-size:20px;font-weight:900;line-height:1.2;margin:14px 0 7px}
  #home .racqV2Highlight{font-size:15px;color:var(--v2lime);font-weight:800;line-height:1.4;margin:0 0 12px}
  #home .racqV2Score{
    margin:12px auto;width:106px;height:106px;border-radius:50%;
    background:radial-gradient(closest-side,#102820 79%,transparent 82%),conic-gradient(var(--v2lime) var(--v2-score),#355346 0);
    display:flex;flex-direction:column;align-items:center;justify-content:center
  }
  #home .racqV2Score strong{font-size:32px;line-height:1.1}
  #home .racqV2Score span{font-size:11px;line-height:1.1}
  #home .racqV2Reason{text-align:center;margin:12px 0;color:#e0efe2;font-size:13px;line-height:1.5}
  #home .racqV2Disclosure{margin:10px 2px 14px;font-size:12px;line-height:1.5;color:#d4e6d6;text-align:center}
  #home .racqV2Racket{
    border:1px solid #315f4d;border-radius:13px;background:#08261d;
    padding:11px;margin-bottom:10px
  }
  #home .racqV2RacketTop{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px}
  #home .racqV2RacketArt{height:123px;display:grid;place-items:center;background:#09271e;border-radius:10px}
  #home .racqV2RacketArt .racketSvg{height:113px;width:auto;max-width:100%}
  #home .racqV2Racket h2{font-size:15px;margin:2px 0 7px;line-height:1.25}
  #home .racqV2Racket ul{margin:0;padding:0;list-style:none;display:grid;gap:5px}
  #home .racqV2Racket li{font-size:11px;line-height:1.35;color:#d8eadd;overflow-wrap:anywhere}
  #home .racqV2Racket li:before{content:"✓ ";color:var(--v2lime);font-weight:900}
  #home .racqV2Racket>.racqV2Button{min-height:39px;font-size:12px;margin-top:8px}
  #home .racqV2Empty{font-size:13px}
  #home .racqV2Categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  #home .racqV2Category{
    display:flex;flex-direction:column;gap:7px;text-align:left;overflow:hidden;
    background:#0a2a20;border:1px solid #37654e;border-radius:11px;
    padding:7px;color:white;font-weight:800;cursor:pointer
  }
  #home .racqV2Category img{width:100%;height:124px;object-fit:cover;object-position:center;border-radius:7px}
  #home .racqV2Category strong{padding:2px 4px 6px;font-size:13px}
}

@media(max-width:900px){
  #home .racqV2AllRadar{margin:4px 0 14px;border:1px solid #2b5644;border-radius:11px;background:#08231c;padding:10px 2px}
  #home .racqV2AllRadar svg{display:block;width:100%;height:auto}
  #home .racqV2AllRadar svg text{font-size:9px;fill:#e0ebde;font-weight:700}
  #home .racqV2AllScores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #home .racqV2AllScores>div{display:flex;gap:5px;justify-content:space-between;align-items:center;border:1px solid #335843;border-radius:8px;padding:7px 8px;font-size:11px}
  #home .racqV2AllScores b{color:var(--v2lime)}
}

@media(max-width:360px){
  #home .racqV2Hero{min-height:260px}
  #home .racqV2Hero h1{font-size:27px}
  #home .racqV2GoalRow{grid-template-columns:70px minmax(0,1fr) 20px;gap:7px}
  #home .racqV2EquipmentRow img{width:62px;flex-basis:62px}
}


/* Approved empty-onboarding state: no dashboard notices above the wordmark. */
@media(max-width:900px){
  .main:has(#home.active .racqV2){padding-top:10px;padding-bottom:91px}
  #home:has(.racqV2)>.cloudSyncPanel{display:none!important}
  #home .racqV2Hero{min-height:245px;padding:14px 16px}
  #home .racqV2Hero h1{font-size:clamp(27px,7.5vw,34px)}
  #home .racqV2Hello{margin:13px 0 6px}
  #home .racqV2Status{border-color:#365f42;background:linear-gradient(125deg,#123928,#0a241c)}
  #home .racqV2Status>span{background:var(--v2lime);color:#102315}
  #home .racqV2Status:not(:has(+.racqV2Button)) {margin-bottom:0}
  #home .racqV2ProfileFirst{padding:19px 16px}
  #home .racqV2ProfileFirst p{font-size:14px;line-height:1.5;color:#d6e6db;margin:12px 0 16px}
  #mobileBottomNav.mobileBottomNav button.active{color:#c7ff33}

  /* Sync remains available only inside the existing menu, and only after
     a profile exists. This must not obscure the original landing photo. */
  #nav .racqCloudMenuPanel{
    margin:12px 0!important;padding:12px!important;
    background:#102c23;border:1px solid #365a49;border-radius:12px;
    display:block;color:#edf8ef;font-size:12px;line-height:1.4;
  }
  #nav .racqCloudMenuPanel b{font-size:12px;color:#e4f6e0}
  #nav .racqCloudMenuPanel p{margin:6px 0;font-size:11px;line-height:1.45;color:#c3dacd}
  #nav .racqCloudMenuPanel small{display:block;font-size:11px;line-height:1.45}
  #nav .racqCloudMenuPanel .cloudSyncActions{display:grid;gap:7px;margin-top:8px}
  #nav .racqCloudMenuPanel .cloudSyncActions:empty{display:none}
  #nav .racqCloudMenuPanel .cloudSyncActions button{
    width:100%;font-size:11px;min-height:35px;padding:8px;
    white-space:normal;text-align:center
  }
}
@media(max-width:360px){
  #home .racqV2Hero{min-height:234px}
}


/* Mobile V2 onboarding: retain all data fields and staged logic but make the
   club-player profile genuinely phone-sized; desktop styling is untouched. */
@media(max-width:900px){
  #match.rjProfileStage.active>.profileMobileHead.mobileBrandRow{
    display:flex;align-items:center;justify-content:space-between;
    margin:0 0 14px;min-height:43px;gap:12px;
  }
  #match.rjProfileStage.active>.profileMobileHead .mobileWordmark{
    font-size:25px;line-height:1.12;font-weight:950;
  }
  #match.rjProfileStage.active>.profileMobileHead .mobileBack{
    width:39px;height:39px;font-size:26px;
  }
  #match.rjProfileStage.active>.rjStageHead{margin:0 0 12px}
  #match.rjProfileStage .rjStageHead h1{
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:-1px!important;overflow:hidden!important;
    clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
  }
  #match.rjProfileStage .rjSteps{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;margin:0 0 10px;
  }
  #match.rjProfileStage .rjStep{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    min-width:0;min-height:55px;gap:4px;line-height:1.1;
    text-align:center;padding:6px 2px;border-radius:10px;
    font-size:10px;font-weight:800;white-space:normal;
  }
  #match.rjProfileStage .rjStep b{
    width:20px;height:20px;flex:0 0 20px;font-size:11px;
  }
  #match.rjProfileStage .rjStageHead>p{
    font-size:12px;line-height:1.45;margin:0;
    color:#c5d5ca;
  }
  #match.rjProfileStage>.playerPathSummary{margin:0 0 12px}
  #match.rjProfileStage>.card{
    padding:14px 12px;border-radius:16px;
  }
  #match.rjProfileStage>.card>.formGrid{gap:10px}
  #match.rjProfileStage .formGrid>.field{
    padding:11px;border-radius:12px;
  }
  #match.rjProfileStage .formGrid>.field label{margin-bottom:6px}
  #match.rjProfileStage .formGrid>.field input,
  #match.rjProfileStage .formGrid>.field select,
  #match.rjProfileStage .formGrid>.field textarea{
    min-height:44px;padding:10px 11px;
  }
  #match.rjProfileStage .profileScopeHead .sectionTitle{
    font-size:22px;line-height:1.25;
  }
  #match.rjProfileStage .profileScopeHead{margin:2px 0 0}
}
@media(max-width:360px){
  #match.rjProfileStage .rjStep{font-size:9px}
  #match.rjProfileStage .rjSteps{gap:3px}
}


/* Step 2 mobile equipment: one compact selection aid, not three reminders.
   Preserve model selection, warning accessibility, and all original desktop art. */
@media(max-width:900px){
  #rjequipment .rjPage{padding-bottom:92px}
  #rjequipment .rjPage>.rjSteps{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;margin:0 0 13px;
  }
  #rjequipment .rjPage>.rjSteps>.rjStep{
    display:flex;flex-direction:column;justify-content:center;align-items:center;
    text-align:center;gap:4px;min-width:0;min-height:53px;
    padding:6px 2px;border-radius:10px;font-size:10px;line-height:1.1;
  }
  #rjequipment .rjPage>.rjSteps>.rjStep b{
    width:20px;height:20px;flex:0 0 20px;font-size:11px;
  }
  #rjequipment .rjStageHead{margin:0 0 14px}
  #rjequipment .rjStageHead h1{font-size:clamp(25px,7vw,30px);line-height:1.12;margin:6px 0 8px}
  #rjequipment .rjStageHead>p{font-size:12px;line-height:1.45;margin:0}
  #rjequipment .rjPage>.pilotCard{padding:13px 11px}
  #rjequipment .rjFormGrid{gap:11px}
  #rjequipment .rjRacketGroup{gap:7px;padding:10px}
  #rjequipment .rjRacketSelects{gap:7px}
  #rjequipment .rjRacketSelects label{gap:5px}
  #rjequipment .rjRacketSelects select{min-height:39px;padding:8px 10px}
  #rjequipment .rjRacketGroup #rj_racket{min-height:41px;padding:9px 11px}
  #rjequipment .rjRacketStatus{gap:3px;padding:9px 10px;line-height:1.4}
  /* Experienced players already see the model requirement in the status
     box. Hide its duplicate paragraph; beginners keep their opt-out help. */
  #rjequipment .rjRacketGroup:not(:has(.rjUnknownChoice))>.rjUnknownHelp{display:none}
}
@media(max-width:360px){
  #rjequipment .rjPage>.rjSteps{gap:3px}
  #rjequipment .rjPage>.rjSteps>.rjStep{font-size:9px}
}


/* Development goals editor (guided step 3 only): the four principal sliders
   come first. Eleven saved values still exist and are saved unchanged. */
@media(max-width:900px){
  #goals.rjMobileGoalStage>.mobileBrandRow{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    min-height:42px;margin:0 0 12px;
  }
  #goals.rjMobileGoalStage>.mobileBrandRow .mobileWordmark{
    font-size:25px;line-height:1.15;font-weight:950;
  }
  #goals.rjMobileGoalStage>.rjStageHead{margin:0 0 11px}
  #goals.rjMobileGoalStage .rjSteps{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;margin:0 0 9px;
  }
  #goals.rjMobileGoalStage .rjStep{
    display:flex;align-items:center;justify-content:center;flex-direction:column;
    min-width:0;min-height:55px;padding:6px 2px;border-radius:10px;
    text-align:center;gap:4px;font-size:10px;line-height:1.1;
  }
  #goals.rjMobileGoalStage .rjStep b{width:20px;height:20px;flex:0 0 20px;font-size:11px}
  #goals.rjMobileGoalStage .rjStageHead h1{
    position:absolute!important;width:1px!important;height:1px!important;
    margin:-1px!important;overflow:hidden!important;padding:0!important;
    clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
  }
  #goals.rjMobileGoalStage .rjStageHead>p{
    color:#c5d8ca;font-size:13px;line-height:1.45;margin:0;
  }
  #goals.rjMobileGoalStage>.mobileScreen>.mobileBrandRow{display:none!important}
  #goals.rjMobileGoalStage .rjGoalContext{
    margin:0 0 9px!important;padding:10px 12px!important;border-radius:11px;
    font-size:12px;line-height:1.4;color:#e1f1db;
  }
  #goals.rjMobileGoalStage .mobileScreen{min-height:0;padding-bottom:95px}
  #goals.rjMobileGoalStage .mobileScreen>.card{padding:12px;border-radius:14px}
  #goals.rjMobileGoalStage .mobileScreen .card .formGrid{gap:9px}
  #goals.rjMobileGoalStage .mobileScreen .formGrid>.field{
    padding:11px 12px;border-radius:11px;
  }
  #goals.rjMobileGoalStage .mobileScreen .formGrid>.field label{
    margin-bottom:5px;font-size:13px;
  }
  #goals.rjMobileGoalStage .mobileScreen .formGrid>.field input[type="range"]{
    accent-color:#c7ff33;min-height:25px;width:100%;cursor:pointer;
  }
  #goals.rjMobileGoalStage .rjGoalAdditional,
  #goals.rjMobileGoalStage .rjGoalDeadline{
    grid-column:1/-1;border:1px solid #345a48;border-radius:11px;
    background:#0b2720;overflow:hidden;
  }
  #goals.rjMobileGoalStage .rjGoalAdditional>summary,
  #goals.rjMobileGoalStage .rjGoalDeadline>summary{
    padding:12px 14px;color:#dfff9f;font-size:13px;font-weight:850;
    cursor:pointer;list-style:revert;
  }
  #goals.rjMobileGoalStage .rjGoalAdditional>.field,
  #goals.rjMobileGoalStage .rjGoalDeadline>.field{
    margin:7px 10px 10px;padding:10px 11px;
  }
  #goals.rjMobileGoalStage .rjGoalDeadline>.field{border:0;background:transparent}
  #goals.rjMobileGoalStage .rjGoalDeadline .small{font-size:11px;line-height:1.45}
  #goals.rjMobileGoalStage .mobileScreen .actions{display:grid;gap:8px}
  #goals.rjMobileGoalStage .mobileScreen .actions .btn.primary{width:100%}
}
@media(max-width:360px){
  #goals.rjMobileGoalStage .rjSteps{gap:3px}
  #goals.rjMobileGoalStage .rjStep{font-size:9px}
}


/* Product detail entered from "Passende neue Schläger" only. The existing
   desktop detail, underlying match math, and technical spec cards stay intact. */
@media(max-width:900px){
  #detail.racqV2CatalogDetail .detailIntro .scorePair,
  #detail.racqV2CatalogDetail .detailIntro .scorePair + .small{
    display:none!important;
  }
  #detail.racqV2CatalogDetail .racqV2DetailNote{
    font-size:12px;line-height:1.5;color:#c9ddcd;
    margin:14px 0 0;padding:11px 12px;
    border:1px solid #345b49;border-radius:10px;background:#10291f;
  }
  #detail.racqV2CatalogDetail .detailBack{
    margin:0 0 11px;
  }
  #detail.racqV2CatalogDetail .detailBack button{
    font-size:13px;min-height:41px;padding:9px 13px;
  }
}


/* Mobile V2 Schläger category: neutral technical catalog browsing, not
   another entry into personalized recommendation ranking. Desktop unaffected. */
@media(max-width:900px){
  #home .racqV2CatalogLabel{
    display:block;font-size:12px;font-weight:850;color:#dff0da;margin:5px 0 7px;
  }
  #home .racqV2CatalogSearch{
    display:block;width:100%;box-sizing:border-box;
    min-height:44px;padding:10px 12px;border-radius:10px;
    border:1px solid #709b7e;background:#071e18;color:#f6fff3;
    font-size:16px;outline:none;
  }
  #home .racqV2CatalogSearch:focus-visible{
    border-color:#c7ff33;box-shadow:0 0 0 2px #c7ff3340;
  }
  #home .racqV2CatalogCount{
    margin:12px 0 8px;font-size:12px;color:#bcd3c2;
  }
  #home .racqV2CatalogItem{
    display:grid;grid-template-columns:68px minmax(0,1fr);
    width:100%;align-items:center;gap:13px;text-align:left;
    background:#09291f;color:#f5fff5;cursor:pointer;
    border:1px solid #315f4a;border-radius:11px;
    min-height:92px;margin:0 0 8px;padding:8px 12px;
  }
  #home .racqV2CatalogItem:focus-visible{
    outline:2px solid #c7ff33;outline-offset:2px;
  }
  #home .racqV2CatalogArt{
    display:grid;place-items:center;min-height:72px;border-radius:9px;
    background:#082119;
  }
  #home .racqV2CatalogArt .racketSvg{
    display:block;width:48px;height:78px;max-width:100%;
  }
  #home .racqV2CatalogInfo{display:flex;flex-direction:column;gap:4px;min-width:0}
  #home .racqV2CatalogInfo strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
  #home .racqV2CatalogInfo small{font-size:11px;line-height:1.3;color:#c6d9cb}
  #home .racqV2CatalogInfo small:last-child{color:#d5fb94}
  #home .racqV2CatalogHero{
    display:grid;place-items:center;background:linear-gradient(150deg,#122f2a,#061d1a);
    border:1px solid #37624e;border-radius:12px;min-height:234px;padding:12px;
  }
  #home .racqV2CatalogHero .racketSvg{display:block;width:128px;height:228px}
  #home .racqV2CatalogSpecs{display:grid;gap:7px;margin-top:13px}
  #home .racqV2CatalogSpecs>div{
    display:flex;justify-content:space-between;align-items:center;
    gap:12px;background:#092820;border:1px solid #335b48;
    border-radius:9px;padding:10px 12px;font-size:12px;
  }
  #home .racqV2CatalogSpecs strong{text-align:right;overflow-wrap:anywhere}
}

/* Saved setup editor: separate, legible main/cross tensions. */
.gearTensionGroup{border:0;min-width:0;margin:0;padding:0;grid-column:1/-1}
.gearTensionGroup legend{font-size:11px;color:#b5cdd1;margin-bottom:6px}
.gearTensionFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.gearTensionFields label{min-width:0}
.gearEditForm{scroll-margin-top:calc(76px + env(safe-area-inset-top,0px))}
#p_save:disabled{background:#27424c;color:#b9cbd0;border:1px solid #355661;opacity:.75;cursor:not-allowed;box-shadow:none}
#p_save:disabled:hover{transform:none}
.playSaveHint{display:block;width:100%;font-size:12px;color:#b5cdd1;line-height:1.4}
@media(max-width:900px){
  #gear>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}
  #gear>.actions .btn{min-width:0;width:100%;white-space:normal;font-size:13px;padding:10px 8px;min-height:46px;line-height:1.3}
  #gear>.actions .btn.primary{grid-column:1/-1}
  .gearItem .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .gearItem .actions .btn{min-width:0;width:100%;min-height:44px;padding:10px 8px;font-size:13px;line-height:1.25;white-space:normal}
  .gearItem .actions .small{grid-column:1/-1}
  .gearTensionFields{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Status messages must clear the fixed four-tab iPhone navigation. Previously
   .toast used bottom:24px / z-index:20, beneath mobileBottomNav (z-index:80),
   so "Feedback kopiert" was visible only as a fleeting green line. */
@media(max-width:900px){
  #toast.toast{
    left:16px;
    right:16px;
    bottom:calc(92px + env(safe-area-inset-bottom,0px));
    width:auto;
    max-width:none;
    z-index:120;
    text-align:center;
    line-height:1.4;
    padding:14px 18px;
    white-space:normal;
    overflow-wrap:anywhere;
    pointer-events:none;
  }
}

/* Feedback ratings: replace hard-to-see native iOS select spinners with
   a clear, high-contrast chevron. Other forms and desktop stay unchanged. */
@media(max-width:900px){
  #feedback select{
    -webkit-appearance:none;
    appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 7 6 6 6-6' fill='none' stroke='%23c7ff33' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 15px center;
    background-size:20px 20px;
    padding-right:50px;
    min-height:48px;
    cursor:pointer;
  }
  #feedback select:focus-visible{
    outline:2px solid #c7ff33;
    outline-offset:2px;
  }
}

/* Mobile menu: healthy cloud state stays compact; details are one tap away.
   Conflicts, offline states, and recovery actions retain the full panel. */
@media(max-width:900px){
  #nav .racqCloudMenuPanel.racqCloudCompact{
    padding:0!important;
    overflow:hidden;
  }
  #nav .racqCloudCompact .racqCloudDisclosure>summary{
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:wrap;gap:6px 12px;
    min-height:50px;padding:10px 12px;
    list-style:none;cursor:pointer;
  }
  #nav .racqCloudCompact .racqCloudDisclosure>summary::-webkit-details-marker{display:none}
  #nav .racqCloudCompact .racqCloudDisclosure>summary::marker{content:''}
  #nav .racqCloudCompact .racqCloudSummary{
    color:#c7ff33;font-size:12px;font-weight:850;line-height:1.35;
  }
  #nav .racqCloudCompact .racqCloudExpand{
    color:#bed8c7;font-size:11px;font-weight:700;white-space:nowrap;
  }
  #nav .racqCloudCompact .racqCloudExpand span{
    display:inline-block;margin-left:3px;transition:transform .15s ease;
  }
  #nav .racqCloudCompact details[open] .racqCloudExpand span{transform:rotate(180deg)}
  #nav .racqCloudCompact summary:focus-visible{
    outline:2px solid #c7ff33;outline-offset:-3px;border-radius:10px;
  }
  #nav .racqCloudCompact .racqCloudDetailBody{
    border-top:1px solid #365a49;padding:10px 12px 12px;
  }
  #nav .racqCloudCompact .racqCloudDetailBody b{font-size:12px}
}
