.help-launcher{position:fixed;z-index:170;right:22px;bottom:24px;display:flex;align-items:center;gap:9px;min-height:48px;padding:11px 17px;border:1px solid #d8bc7b80;border-radius:30px;background:#20251a;color:#f4dfac;box-shadow:0 8px 30px #0006;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}.help-launcher svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.identity-app .help-launcher{bottom:calc(106px + env(safe-area-inset-bottom,0px))}.has-music-dock .help-launcher{bottom:calc(105px + env(safe-area-inset-bottom,0px))}.identity-app.has-music-dock .help-launcher{bottom:calc(175px + env(safe-area-inset-bottom,0px))}.help-launcher:focus-visible,.help-assistant :is(button,a,input):focus-visible{outline:2px solid #f3d594;outline-offset:4px}
.help-assistant{box-sizing:border-box;width:min(440px,calc(100vw - 28px));height:min(680px,calc(100dvh - 34px));max-height:calc(100dvh - 34px);margin:auto 20px 18px auto;padding:0;border:1px solid #d9be7d66;border-radius:23px;background:#151912;color:#eeeadf;box-shadow:0 24px 100px #0009;font:400 15px/1.55 system-ui,sans-serif;overflow:hidden}.help-assistant[open]{display:flex;flex-direction:column}.help-assistant::backdrop{background:#05080588}.help-assistant *{box-sizing:border-box}.help-assistant .help-assistant-header{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #d9be7d22;background:#20251b}.help-assistant-header small{text-transform:uppercase;letter-spacing:.12em;color:#d9be7d;font-size:10px}.help-assistant-header h2{font:500 24px/1.2 Georgia,serif;letter-spacing:0;margin:5px 0 0;color:#f1e9d7}.help-assistant .help-close{flex:none;background:transparent;border:1px solid #d9be7d44;color:#e9d6ab;border-radius:12px;padding:10px;min-height:44px;font:inherit;cursor:pointer}.help-assistant-privacy{flex:none;margin:0;padding:10px 20px;font-size:12px;line-height:1.5;color:#b8bfaf;background:#12160f}.help-conversation{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-color:#a48e5c #151912;padding:16px 18px}.help-message{margin-bottom:14px;padding:13px 14px;background:#252b20;border:1px solid #d9be7d22;border-radius:5px 17px 17px 17px;overflow-wrap:anywhere}.help-message p{margin:0 0 10px;font-size:14px;line-height:1.65;color:#e3e5da}.help-message p:last-child{margin-bottom:0}.help-message h3{font:600 15px/1.5 system-ui,sans-serif;margin:0 0 9px;letter-spacing:0;color:#f2dab0}.help-message-user{margin-left:28px;border-radius:17px 5px 17px 17px;background:#3a3524}.help-choices{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.help-assistant button.help-choice{font:inherit;font-size:13px;line-height:1.45;color:#e6d3aa;background:#151912;border:1px solid #bfa56a55;border-radius:12px;padding:10px 11px;min-height:42px;text-align:left;white-space:normal;cursor:pointer}.help-assistant button.help-choice:hover{border-color:#e1c382;background:#343b29}.help-message a{color:#f0d597;text-underline-offset:3px}.help-open-section{display:inline-block;margin-top:12px;font-weight:600}.help-assistant-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 18px;border-top:1px solid #d9be7d22}.help-assistant-footer>a{color:#e8d7af;font-size:12px;text-decoration:underline;text-underline-offset:3px}.help-question-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 9px;padding:10px 18px 18px;background:#20251b}.help-question-form label{grid-column:1/-1;font-size:12px;color:#cbcdbf}.help-question-form input{display:block;min-width:0;width:100%;padding:12px;border:1px solid #d9be7d55;border-radius:12px;background:#11150e;color:#f5f1e7;font:16px/1.3 system-ui}.help-question-form>button{border:0;border-radius:12px;background:#e2c786;color:#1b2015;padding:12px;font:600 13px/1.4 system-ui;cursor:pointer;min-height:46px}.help-tour-count{display:inline-block;font-size:12px;letter-spacing:.08em;color:#d1b87e;margin-bottom:12px}.help-tour-controls{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.help-tour-controls>button:last-child{margin-left:auto}.help-tutorial-intro{padding:24px;border:1px solid #d9be7d55;border-radius:20px;background:linear-gradient(120deg,#303822,#181d15);margin:24px 0}.help-tutorial-intro h2{font:500 28px/1.3 Georgia,serif;color:#eed9aa;margin:0 0 10px}.help-tutorial-intro p{max-width:65ch}.help-tutorial-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
@media(min-width:1100px){.identity-app .help-launcher{bottom:24px}.identity-app.has-music-dock .help-launcher{bottom:105px}}@media(max-width:600px){.help-launcher{right:14px;padding:10px 13px}.help-assistant{margin:16px auto;width:calc(100vw - 24px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);border-radius:20px}.help-assistant .help-assistant-header{padding:14px 15px}.help-assistant-privacy{padding:9px 15px}.help-conversation{padding:14px 12px}.help-assistant-footer{padding:9px 12px}.help-question-form{padding:10px 12px 14px}.help-message-user{margin-left:18px}}@media(prefers-reduced-motion:no-preference){.help-assistant[open]{animation:help-arrive .16s ease-out}@keyframes help-arrive{from{opacity:.4;transform:translateY(10px)}to{opacity:1;transform:none}}}
.help-launcher{font-family:system-ui,sans-serif;font-size:14px;font-weight:600;line-height:1.4}
.help-page-tools{display:flex;justify-content:flex-end;margin:12px 0}body:has(#help-assistant[open]){overflow:hidden}

.help-launcher{touch-action:none;user-select:none;cursor:grab}.help-launcher.is-dragging{cursor:grabbing}

.help-tour{padding:clamp(14px,4vw,21px);border:1px solid #a9c99066;background:radial-gradient(ellipse at top right,#334733,#202b20 65%);border-radius:17px}
.help-tour-count{color:#c7e1b7;margin-bottom:6px}
.help-tour-progress{display:block;width:100%;height:6px;margin:0 0 18px;accent-color:#b9dd9f}
.help-tour h3{font:500 25px/1.15 Georgia,serif;color:#f3e8c9}
.help-video-guide{display:grid;gap:18px;scroll-margin-top:80px}
.help-video-guide .help-tutorial-actions{margin-bottom:0}
.help-video-guide video{display:block;width:100%;height:auto;aspect-ratio:16/9;border:1px solid #d9be7d55;border-radius:14px;background:#101611}
.help-video-transcript{padding:12px 14px;border:1px solid #d9be7d55;border-radius:12px}
.help-video-transcript summary{cursor:pointer;font-weight:600;color:#f2deb2}
.help-video-transcript li+li{margin-top:.5em}
@media(prefers-reduced-motion:no-preference){.help-tour{animation:help-arrive .25s ease-out}}
.help-video-language{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#f2deb2;font-weight:600}
.help-video-language select{min-height:42px;padding:6px 28px 6px 10px;color:#eee8d7;background:#21281e;border:1px solid #d9be7d66;border-radius:9px;font:inherit}
.help-video-credit{margin:0;font-size:.78rem}

.help-face {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-antenna { fill: #b6dc96; stroke: #b6dc96; }
.help-assistant-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }

.help-assistant-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border: 1px solid #c2da9470;
  border-radius: 16px;
  background: radial-gradient(circle at 40% 25%, #455b35, #213020 78%);
  color: #f1d79f;
  box-shadow: inset 0 1px #f4ebc72b;
}

.help-assistant-avatar .help-face { width: 30px; height: 30px; }
.help-assistant-name h2 { margin: 0; }

.help-assistant-name small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #c8dfb8;
  line-height: 1.25;
}

.help-assistant-name small::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b6dc96;
}

.help-assistant .help-topic-card {
  background: linear-gradient(135deg, #293827, #202a20);
  border-color: #b4ce8d48;
}

.help-topic-card .help-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.help-assistant .help-topic-card button.help-choice { background: #182018; color: #e6edd7; }
.help-assistant .help-topic-card button.help-choice:hover { background: #344530; border-color: #c4dc9d; }

@media (max-width: 365px) {
  .help-assistant-identity { gap: 8px; }
  .help-assistant-avatar { width: 40px; height: 40px; border-radius: 13px; }
  .help-assistant-avatar .help-face { width: 25px; height: 25px; }
  .help-assistant-name h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: no-preference) {
  .help-launcher:not(.is-dragging):not([aria-expanded="true"]) .help-face {
    animation: help-face-float 4.8s ease-in-out infinite;
  }

  .help-assistant[open] .help-eyes {
    transform-box: fill-box;
    transform-origin: center;
    animation: help-face-blink 6.1s ease-in-out infinite;
  }

  .help-assistant[open] .help-antenna,
  .help-assistant[open] .help-assistant-name small::before {
    animation: help-signal 4.2s ease-in-out infinite;
  }

  .help-assistant:has(.help-question-form:focus-within) .help-assistant-avatar {
    border-color: #d2e9a6;
    box-shadow: 0 0 18px #b6dc9633, inset 0 1px #f4ebc72b;
  }

  .help-assistant-avatar { transition: border-color .2s ease, box-shadow .2s ease; }
  .help-message:not(.help-tour) { animation: help-message-in .23s ease-out both; }
}

@keyframes help-face-float {
  0%, 68%, 100% { transform: translateY(0); }
  79% { transform: translateY(-2px) rotate(-7deg); }
  88% { transform: translateY(-1px) rotate(3deg); }
}

@keyframes help-face-blink {
  0%, 45%, 49%, 79%, 83%, 100% { transform: scaleY(1); }
  47%, 81% { transform: scaleY(.13); }
}

@keyframes help-signal { 50% { opacity: .6; } }
@keyframes help-message-in { from { opacity: .45; transform: translateY(5px); } }

/* The expanded player fills the available corner. Restore Help when it is minimised. */
body:has(#music-dock:not(.is-minimised)) .help-launcher[aria-expanded="false"] { visibility: hidden; }

.help-assistant[data-expression="curious"] .help-assistant-avatar .help-face { transform: rotate(-9deg); }
.help-assistant[data-expression="happy"] .help-assistant-avatar { background-color:#38533c; }
.help-assistant[data-expression="listening"] .help-assistant-avatar .help-antenna { fill:#e9ce90; }
@media (prefers-reduced-motion: no-preference) {
 .help-assistant-avatar .help-face { transition: transform .18s ease-out; }
 .help-assistant[data-expression="happy"] .help-assistant-avatar .help-face { animation: help-nod .45s ease-out; }
 @keyframes help-nod { 40% { transform: translateY(2px) rotate(6deg); } }
}

/* Match the app's account cards and segmented appearance control. */
dialog.help-assistant {
 background: #171816;
 border-color: #5c5241;
 color: #f6edde;
}
.help-assistant .help-assistant-header { background: #201f1c; }
.help-assistant .help-assistant-privacy { background: #171816; color: #c7beb0; }
.help-assistant .help-message { background: #232725; border-color: #474840; }
.help-assistant .help-message-user { background: #393226; }
.help-assistant .help-assistant-footer {
 display: grid;
 grid-template-columns: repeat(2,minmax(0,1fr));
 gap: .35rem;
 background: #191a18;
}
.help-assistant-footer > a { grid-column: 1 / -1; justify-self: center; }
.help-assistant .help-assistant-footer .help-choice {
 min-width: 0;
 text-align: center;
 border-radius: .8rem;
}
.help-assistant .help-assistant-footer .help-choice[aria-pressed="true"] {
 color: #211b11;
 background: #e9cb91;
 border-color: #e9cb91;
 font-weight: 700;
}
@media (max-width: 600px) {
 dialog.help-assistant {
  inset: 0;
  margin: auto;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 0;
  padding: env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);
 }
}

@media (prefers-reduced-motion: no-preference) {
 .help-assistant[open] .help-assistant-avatar { animation: tp-greeting .55s ease-out; }
 .help-assistant[data-expression="listening"] .help-assistant-avatar .help-face { transform: rotate(7deg); }
 @keyframes tp-greeting { 30% { transform: rotate(-9deg); } 65% { transform: rotate(5deg); } }
}

.help-assistant[data-expression="guide"] .help-assistant-avatar { background-color:#443824; }
@media (prefers-reduced-motion: no-preference) {
 .help-assistant[data-expression="listening"] .help-eyes { transform: translateY(1px); }
 .help-assistant[data-expression="answer"] .help-antenna { animation: tp-answer-signal .45s ease-in-out 2; }
 @keyframes tp-answer-signal { 50% { opacity:.45; } }
 .help-choice:active { transform: scale(.97); }
}

#help-launcher {overflow:visible;width:max-content;height:52px;max-width:calc(100% - 16px);min-width:52px;gap:5px;padding:0 12px 0 8px;justify-content:center;border-radius:26px;background:radial-gradient(circle at 35% 25%,#43523a,#19271e 78%);}
#help-launcher .help-face {width:34px;height:34px;flex:none;}
.robot-tip {position:absolute;z-index:1;box-sizing:border-box;inset:auto;width:max-content;max-width:min(18rem,calc(100% - 16px));white-space:normal;overflow-wrap:anywhere;padding:10px 14px;border:1px solid #aa9261;border-radius:15px;background:#22291f;color:#fff0d3;box-shadow:0 5px 16px #0005;text-align:start;font:500 14px/1.4 system-ui;pointer-events:none;}
body:has(#help-assistant[open]) .robot-tip {visibility:hidden;}
.robot-tip[hidden]{display:none}
@media(prefers-reduced-motion:no-preference){
 #help-launcher.is-tipping .help-face {animation:tp-robot-wave .75s ease-in-out 2;}
 .robot-tip:not([hidden]) {animation:help-message-in .22s ease-out;}
 @keyframes tp-robot-wave {25%{transform:translateY(-3px) rotate(-10deg)}65%{transform:rotate(8deg)}}
}

.robot-help-label {font:650 .8rem/1.1 system-ui;color:#f4dfac;}

dialog.help-assistant {
 width:min(380px,calc(100% - 20px));height:auto;max-height:min(540px,86dvh);
 inset:auto 0 0 auto;margin:0 10px max(10px,env(safe-area-inset-bottom)) 0;
 padding:0;border:1px solid #70644a;border-radius:20px;
}
.help-assistant .help-assistant-header {padding:9px 14px;background:linear-gradient(115deg,#293329,#211f1b);}
.help-assistant .help-assistant-avatar {width:36px;height:36px;border-radius:12px;}
.help-assistant .help-assistant-header h2 {font-size:20px;margin:0;}
.help-assistant .help-close {width:44px;height:44px;padding:0;border:0;font-size:24px;}
.help-assistant .help-assistant-privacy {padding:5px 13px;font-size:11px;}
.help-assistant .help-conversation {flex:0 1 auto;padding:8px 12px;min-height:0;}
.help-assistant .help-message {margin:0 0 5px;padding:9px 11px;}
.help-assistant .help-message p {line-height:1.45;}
.help-assistant .help-assistant-footer {grid-template-columns:1fr 1fr auto;padding:5px 12px;}
.help-assistant .help-assistant-footer>a {grid-column:auto;align-self:center;text-align:center;}
.help-assistant .help-question-form {padding:8px 12px;gap:4px 6px;}
.help-assistant .help-question-form label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.help-assistant .help-question-form input {padding:8px;}
@media(max-height:420px){dialog.help-assistant{max-height:96dvh}.help-assistant .help-assistant-privacy{display:none}}

.help-assistant .help-voice-toggle {margin-inline-start:auto;min-height:40px;padding:4px 10px;border:1px solid #82775e;border-radius:12px;color:#f4dfac;background:transparent;font:600 13px system-ui;cursor:pointer;}
.help-assistant .help-voice-toggle[aria-pressed="true"] {background:#344537;color:#e3f2df;border-color:#839b7e;}
.help-assistant .help-voice-status {padding:4px 13px;color:#efdcb5;}
.help-assistant .help-album-link {display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:6px;padding:2px 15px;background:#e9cb91;color:#211b11;border-radius:20px;text-decoration:none;font-weight:700;}

.help-assistant .help-music-card dl {display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin:0;}
.help-assistant .help-music-card dt {color:#c1cbbb;font:600 .85rem/1.35 system-ui;}
.help-assistant .help-music-card dd {margin:0;overflow-wrap:anywhere;font-weight:650;}
.help-assistant .help-music-card dd+dt {margin-top:8px;}

.help-voice-toggle svg {display:none}
@media (max-width:600px) {
  dialog.help-assistant {
    box-sizing:border-box; inset:auto 0 0; margin:0 auto;
    width:100%; max-width:32rem; height:min(34rem,100%); max-height:100%;
    padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
    border-radius:20px 20px 0 0;
  }
  .help-assistant .help-conversation {flex:1 1 0; overflow-y:auto}
  .help-assistant .help-assistant-header {gap:6px; padding:7px 12px}
  .help-assistant .help-assistant-name h2 {font-size:1.2rem; overflow-wrap:anywhere}
  .help-assistant .help-assistant-identity {gap:8px}
  .help-assistant .help-voice-toggle {flex:none; display:grid; place-items:center; width:44px; height:44px; padding:0}
  .help-voice-toggle .help-voice-label {display:none}
  .help-voice-toggle svg {display:block; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
  .help-voice-toggle[aria-pressed="true"] .voice-off, .help-voice-toggle[aria-pressed="false"] .voice-on {display:none}
  .help-assistant .help-assistant-footer {grid-template-columns:repeat(2,minmax(0,1fr)); padding:5px 12px}
  .help-assistant .help-assistant-footer > a {grid-column:1/-1; min-height:32px; display:grid; place-items:center; justify-self:center}
  .help-assistant .help-question-form {grid-template-columns:minmax(0,1fr) fit-content(45%)}
  .help-question-form > button, .help-assistant-footer > button {overflow-wrap:anywhere}
}
@media (max-width:600px) and (max-height:440px) {
  .help-assistant .help-assistant-footer {display:flex; flex-wrap:wrap}
  .help-assistant .help-assistant-footer > * {flex:1 1 auto}
}

#help-launcher, #help-launcher .robot-help-label {opacity:1; color:#f4dfac}
#help-launcher .robot-help-label {display:block; flex:none; white-space:nowrap}
#help-launcher.is-dragging {touch-action:none; cursor:grabbing}
.help-menu-location .menu-in-sidebar {display:none}
@media (min-width:1100px) {
  .help-menu-location .menu-in-bar {display:none}
  .help-menu-location .menu-in-sidebar {display:inline}
}
@media (min-width:601px) {
  #help-launcher {width:max-content; max-width:95%; flex-wrap:nowrap}
  dialog.help-assistant {max-height:min(36rem,calc(100% - 20px)); max-width:calc(100% - 20px)}
  .help-assistant .help-conversation {flex:1 1 auto; min-height:0; overflow-y:auto}
}

.help-assistant .help-conversation {background:#151d1b;padding-inline:clamp(.65rem,2vw,1rem);scroll-padding-block:.65rem}
.help-assistant .help-message {
  width:fit-content;max-width:100%;box-sizing:border-box;margin:0 auto .55rem 0;
  padding:.65rem .85rem;border:1px solid #71887966;background:#242f2a;border-radius:5px 15px 15px;
}
.help-assistant .help-message-user {
  margin-inline:auto 0;max-width:90%;border-color:#a38d5d88;background:#3a3327;border-radius:15px 5px 15px 15px;
}
.help-assistant .help-message p {font-size:1rem;line-height:1.5;color:#f1ecdf}
.help-assistant .help-message p:last-child {margin-bottom:0}
.help-assistant .help-question-form {border-top:1px solid #8a88694d}
.help-assistant .help-question-form input:focus-visible {outline:2px solid #f2d194;outline-offset:-2px}
@media(max-height:500px) {
  .help-assistant .help-message {padding:.45rem .65rem;margin-block-end:.3rem}
}

.help-daily-points {margin:.65rem 0; max-width:26rem}
.help-daily-points > div {display:flex; align-items:baseline; justify-content:space-between; gap:1rem; padding:.25rem 0}
.help-daily-points > div:last-child {border-top:1px solid currentColor; font-weight:700}
.help-daily-points dd {margin:0; font-variant-numeric:tabular-nums}
