/* Page-local ocean scene. Shared navigation, avatar and orb artwork remain in talk-ui.css. */
.free-talk-page {
  --free-ink: #142d54;
  --free-muted: #526e92;
  --free-gutter: clamp(28px, 3.6vw, 72px);
}
.free-talk-page .chat-main {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 100% 35%, #c5e3fa80, transparent 57%), linear-gradient(125deg, #f9fbff, #eaf4ff 70%, #dfedfc);
  color: var(--free-ink);
}
.free-talk-page .free-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 0 0 auto;
  padding: 25px var(--free-gutter) 18px;
  font-size: 19px;
  font-weight: 650;
}
.free-brand > a { color: #0c2054; font-size: 31px; font-weight: 800; letter-spacing: -1.8px; text-decoration: none; }
.free-brand > span { padding-left: 28px; border-left: 1px solid #8aa6c5; }
.free-brand > span > span { color: var(--free-muted); }
.free-talk-page .free-ocean { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.free-dolphin { position: absolute; width: clamp(320px, 32vw, 660px); height: auto; right: -6%; top: 18%; opacity: .72; filter: drop-shadow(0 15px 35px #69b4ee26); }
.free-waves { position: absolute; bottom: 0; width: 100%; height: 36%; }
.free-talk-page .chat-main > .conversation { position: relative; z-index: 1; background: transparent; }
.free-talk-page .free-topic-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 78%;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%);
  filter: saturate(.55);
  opacity: 0;
  transition: opacity 240ms ease;
}
.free-talk-page .chat-layout:not(.is-choosing) .free-topic-backdrop { opacity: .24; }
html.dark .free-talk-page .chat-layout:not(.is-choosing) .free-topic-backdrop { opacity: .16; }
@media (max-width: 900px) {
  .free-talk-page .free-topic-backdrop { width: 100%; }
  .free-talk-page .chat-layout:not(.is-choosing) .free-topic-backdrop { opacity: .16; }
}
@media (prefers-reduced-motion: reduce) {
  .free-talk-page .free-topic-backdrop { transition: none; }
}
.free-talk-page .chat-layout.is-choosing .chat-title,
.free-talk-page .chat-layout.is-choosing .history-toggle { display: none; }
.free-talk-page .chat-layout.is-choosing .practice-workspace {
  width: auto;
  min-height: 100%;
  margin: 0 var(--free-gutter);
  padding: clamp(24px, 4.5vh, 54px) 0 22px;
  justify-content: flex-start;
}
.free-talk-page .topic-inline { width: 100%; max-width: none; margin: 0; animation: none; }
.free-hero { margin-bottom: clamp(26px, 4.6vh, 50px); }
.free-eyebrow { margin: 0 0 19px; color: #397ab9; font-size: 12px; font-weight: 700; letter-spacing: .3em; }
.free-hero h1 { margin: 0; color: var(--free-ink); font-size: clamp(32px, 3.25vw, 61px); font-weight: 700; line-height: 1.16; letter-spacing: -.045em; }
.free-hero h1 span { color: #2154b9; }
.free-subtitle { margin: 16px 0 0; color: var(--free-muted); font-size: clamp(14px, 1.17vw, 20px); line-height: 1.7; }
.free-accent { display: block; width: 48px; height: 5px; margin-top: 25px; border-radius: 9px; background: #60aefa; }
.free-talk-page .topic-inline .topic-picker { width: min(100%, 890px); max-width: 80%; padding: 0; position: relative; }
.free-talk-page .topic-inline .topic-row { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto; gap: 22px; padding: 5px 0; overflow: visible; }
.free-topic-viewport { min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; mask-image: linear-gradient(90deg, #000 94%, transparent); }
.free-topic-viewport::-webkit-scrollbar { display: none; }
.free-topic-track { position: relative; display: flex; width: max-content; gap: 13px; padding: 4px 0 8px; }
/* Override the legacy shared chip reset only for photographic cards. */
.free-talk-page .topic-inline .free-topic-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(225px, 17vw, 280px);
  width: clamp(225px, 17vw, 280px);
  height: clamp(125px, 9vw, 140px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffffb3 !important;
  border-radius: 17px;
  background: #345878 !important;
  color: #fff !important;
  text-align: left;
  cursor: pointer;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.free-talk-page .topic-inline .free-topic-card > span { display: flex; }
.free-topic-photo { position: absolute; inset: 0; background: var(--topic-photo) center / cover; filter: saturate(.62); transition: transform 260ms ease; }
.free-topic-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #162f4f05 12%, #163d6580 58%, #12345cda); }
.free-topic-content { position: absolute; inset: auto 0 0; gap: 14px; align-items: center; padding: 17px 19px; }
.free-talk-page .topic-inline .free-topic-content > svg { width: 28px; height: 28px; flex: 0 0 28px; color: #fff !important; }
.free-topic-content > span { display: grid; gap: 4px; padding-left: 14px; border-left: 1px solid #ffffff78; }
.free-talk-page .topic-inline .free-topic-content strong { color: #fff !important; font-size: 17px; font-weight: 650; line-height: 1.2; }
.free-topic-content small { color: #f0f6ff; font-size: 12px; font-weight: 400; }
.free-talk-page .topic-inline .free-topic-card:hover:not(:disabled) { background: #345878 !important; transform: translateY(-3px); box-shadow: 0 7px 18px #294f7226; }
.free-topic-card:hover .free-topic-photo { transform: scale(1.045); }
.free-talk-page .topic-inline .free-topic-card.is-active { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #5595cc; }
.free-talk-page .topic-inline .free-topic-card.is-active::after { content: '✓'; position: absolute; top: 9px; right: 10px; display: grid; place-items: center; width: 22px; height: 22px; background: #fff; border-radius: 50%; color: #215590; font-size: 13px; }
.free-talk-page .topic-inline .free-topic-card:focus-visible { outline: 3px solid #2154b9 !important; outline-offset: -4px; }
.free-motion-toggle { display: block; margin: -24px 9px 5px auto; padding: 3px 6px; border: 0; border-radius: 5px; background: transparent; color: #526e92; font: inherit; font-size: 11px; cursor: pointer; }
.free-motion-toggle:hover { background: #dbeafb; }
.free-talk-page .free-start { display: flex; align-items: center; align-self: flex-start; gap: 42px; flex-shrink: 0; margin: clamp(20px, 3.8vh, 42px) 0 0 26px; padding: 8px 0; border: 0; background: transparent; color: var(--free-ink); font: inherit; text-align: left; cursor: pointer; }
.free-talk-page .free-start .chat-orb { display: block; flex: 0 0 116px; width: 116px; height: 116px; margin: 0; transition: filter 200ms ease; }
.free-start:hover .chat-orb { filter: drop-shadow(0 0 17px #a8c5fa80); }
.free-start-copy { display: grid; gap: 12px; padding-left: 32px; border-left: 1px solid #aac5e0; }
.free-start-copy strong { display: flex; gap: 24px; align-items: center; font-size: 23px; font-weight: 650; }
.free-start-copy small { color: var(--free-muted); font-size: 13px; }
.free-start:focus-visible { outline: 2px solid #397ab9; outline-offset: 8px; border-radius: 12px; }
.free-talk-page .chat-layout.is-choosing .composer:not(.text-mode) { display: none; }
.free-talk-page .chat-layout.is-choosing .voice-guidance { display: none; }
.free-talk-page .chat-layout.is-choosing .composer-hint { display: none; }
.free-talk-page .composer-area { background: transparent; }
.free-talk-page .chat-layout.is-choosing .composer-area { flex: 0 0 auto; }
.free-talk-page .chat-layout.is-choosing .composer-inner { padding-top: 0; padding-bottom: 10px; }
.free-talk-page .chat-layout.is-choosing .answer-options { margin: 0; }
.free-talk-page .chat-layout:not(.is-choosing) .free-ocean { opacity: .3; }
.free-talk-page .chat-layout:not(.is-choosing) .free-start { align-self: center; margin: 24px 0; }
.free-talk-page .chat-layout:not(.is-choosing) .free-start-copy { display: none; }
.free-talk-page .chat-layout:not(.is-choosing).is-opening .composer:not(.text-mode):not(:has(.is-recording)) .icon-command { width: 52px; min-height: 48px; padding: 12px; }
.free-talk-page .chat-layout:not(.is-choosing).is-opening .composer:not(.text-mode) .icon-command span { display: none; }
.free-talk-page [hidden] { display: none !important; }
html.dark .free-talk-page { --free-ink: #dceaff; --free-muted: #abc1dd; }
html.dark .free-talk-page .chat-main { background: radial-gradient(ellipse at 100% 40%, #1e4b6b80, transparent 60%), linear-gradient(125deg, #121b2a, #152b40); }
html.dark .free-brand > a { color: #dceaff; }
html.dark .free-eyebrow, html.dark .free-hero h1 span { color: #84b9ff; }
html.dark .free-dolphin { opacity: .35; }
html.dark .free-waves { opacity: .17; }
html.dark .free-motion-toggle { color: #abc1dd; }
html.dark .free-motion-toggle:hover { background: #233c57; }
@media (min-width: 1600px) {
  .free-talk-page .topic-inline .topic-picker { max-width: 77%; }
  .free-talk-page .chat-layout.is-choosing .practice-workspace { padding-top: 5.6vh; }
}
@media (max-height: 800px) and (min-width: 901px) {
  .free-talk-page .free-brand { padding-top: 20px; padding-bottom: 12px; }
  .free-talk-page .chat-layout.is-choosing .practice-workspace { padding-top: 26px; }
  .free-hero { margin-bottom: 30px; }
  .free-eyebrow { margin-bottom: 14px; }
  .free-accent { margin-top: 20px; }
  .free-talk-page .topic-inline .topic-row { gap: 12px; }
  .free-talk-page .free-start { margin-top: 20px; }
}
@media (max-width: 1100px) {
  .free-talk-page .topic-inline .topic-picker { max-width: 88%; }
  .free-dolphin { right: -14%; opacity: .45; }
}
@media (max-width: 900px) {
  .free-talk-page { --free-gutter: 24px; }
  .free-talk-page .free-brand { padding: 18px var(--free-gutter) 8px; gap: 16px; font-size: 14px; }
  .free-brand > a { font-size: 26px; }
  .free-brand > span { padding-left: 16px; }
  .free-talk-page .chat-layout.is-choosing .practice-workspace { padding-top: 30px; }
  .free-hero h1 { max-width: 640px; font-size: clamp(31px, 5.6vw, 47px); }
  .free-talk-page .topic-inline .topic-picker { max-width: 100%; }
  .free-dolphin { top: 22%; right: -20%; opacity: .25; }
  .free-talk-page .free-start { gap: 24px; margin-left: 8px; }
  .free-start-copy { padding-left: 22px; }
  .free-start-copy strong { font-size: 20px; }
  .free-talk-page .free-start .chat-orb { flex-basis: 90px; width: 90px; height: 90px; }
  .free-motion-toggle { min-height: 32px; margin-top: -26px; }
}
@media (max-width: 480px) {
  .free-talk-page { --free-gutter: 20px; }
  .free-eyebrow { font-size: 10px; }
  .free-subtitle { font-size: 13px; }
  .free-hero { margin-bottom: 30px; }
  .free-talk-page .topic-inline .topic-row { gap: 10px; }
  .free-talk-page .free-start { gap: 18px; margin-top: 18px; }
  .free-start-copy { gap: 8px; padding-left: 18px; }
  .free-start-copy strong { font-size: 18px; }
  .free-start-copy small { max-width: 165px; font-size: 12px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .free-talk-page .free-motion-toggle { display: none; }
  .free-talk-page .free-topic-photo, .free-talk-page .topic-inline .free-topic-card { transition: none; }
}
/* In-session recording uses the existing compact control; the landing entry is the original orb. */
.free-talk-page .composer:not(.text-mode) .icon-command { width: auto; min-height: 48px; padding: 12px 22px; font-size: 14px; }
.free-talk-page .composer:not(.text-mode) .icon-command::before { display: none; }
@media (min-width: 1600px) and (max-height: 950px) {
  .free-talk-page .chat-layout.is-choosing .practice-workspace { padding-top: 4.5vh; padding-bottom: 16px; }
  .free-talk-page .free-start { margin-top: 28px; }
}
@media (min-width: 901px) and (max-height: 800px) {
  .free-talk-page .chat-layout.is-choosing .practice-workspace { padding-bottom: 14px; }
  .free-talk-page .free-start .chat-orb { width: 96px; height: 96px; flex-basis: 96px; }
}
html.dark .free-dolphin {
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 90%, transparent);
  mask-composite: intersect;
}

/* Free Talk feedback panels; conversation cards live in /assets/conversation.53382c53c205aa52.css. */
.free-talk-page .feedback-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.free-talk-page .feedback-badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 22px; padding: 8px 12px; min-height: 36px; font: inherit; font-size: 12px; line-height: 1.2; font-weight: 650; cursor: pointer; transition: background 180ms, box-shadow 180ms, transform 180ms; }
.free-talk-page .feedback-badge .chat-icon { width: 16px; height: 16px; }
.free-talk-page .feedback-grammar { color: #c52c43; background: #ffe4e9; }
.free-talk-page .feedback-grammar .chat-icon { color: #ff405b; }
.free-talk-page .feedback-pronunciation { color: #183b60; background: #cff6fc; }
.free-talk-page .feedback-pronunciation .chat-icon { color: #16b6cf; }
.free-talk-page .feedback-expression { color: #482582; background: #eae2ff; }
.free-talk-page .feedback-expression .chat-icon { color: #7e3cff; }
.free-talk-page .feedback-badge:hover { transform: translateY(-1px); box-shadow: 0 3px 9px #41688d14; }
.free-talk-page .feedback-grammar[aria-pressed="true"] { background: #ffd3dd; box-shadow: inset 0 0 0 1px #f0a3b3; }
.free-talk-page .feedback-pronunciation[aria-pressed="true"] { background: #a9ecf6; box-shadow: inset 0 0 0 1px #74d6e7; }
.free-talk-page .feedback-expression[aria-pressed="true"] { color: #fff; background: linear-gradient(120deg,#914dff,#6835f1); box-shadow: 0 3px 9px #743cf333; }
.free-talk-page .feedback-expression[aria-pressed="true"] .chat-icon { color: #fff; }
.free-talk-page .chat-card-speaker { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; padding: 7px; border: 1px solid #e3efff; border-radius: 50%; background: #f7fbff; color: #2578ff; box-shadow: 0 2px 5px #437bb515; cursor: pointer; }
.free-talk-page .chat-card-speaker:disabled { opacity: .5; cursor: wait; }
.free-talk-page .chat-message-more { position: relative; margin: 0; }
.free-talk-page .chat-message-more > summary { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #e5edf6; border-radius: 50%; background: #ffffffbd; color: #26446d; cursor: pointer; list-style: none; }
.free-talk-page .chat-message-more > summary::-webkit-details-marker { display: none; }
.free-talk-page .chat-copy-action { position: absolute; z-index: 15; right: 0; top: calc(100% + 6px); display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 12px 16px; border: 1px solid #dce9f7; border-radius: 12px; background: #fff; color: #26446d; box-shadow: 0 8px 22px #274a7624; font-size: 13px; cursor: pointer; }
.free-talk-page .speech-correction-status { display: block; color: var(--chat-muted); font-size: 12px; margin-top: 10px; }
.free-talk-page .message-text .speech-correction.issue-grammar { color: #d7334c; text-decoration-style: wavy; }
.free-talk-page .message-text .speech-correction.issue-pronunciation { color: #2872a9; text-decoration-style: dashed; }
.free-talk-page .message-text .speech-correction.issue-pronunciation.issue-grammar { color: #d7334c; text-decoration-style: double; }
.free-talk-page .chat-feedback-panel { position: absolute; z-index: 12; right: 16px; top: 16px; bottom: var(--feedback-bottom,220px); width: min(360px, calc(100% - 32px)); display: flex; flex-direction: column; border: 1px solid #ffffffeb; border-radius: 24px; background: linear-gradient(155deg,rgba(255,255,255,.97),rgba(243,250,255,.98)); box-shadow: 0 8px 30px #336ca51a, inset 0 0 0 1px #d9eaff80; color: var(--chat-ink); overflow: hidden; }
.free-talk-page .chat-feedback-panel[hidden], .free-talk-page .feedback-practice[hidden] { display: none; }
.free-talk-page .feedback-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.free-talk-page .feedback-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 700; }
.free-talk-page .feedback-heading h2 .chat-icon { color: #8045ff; width: 22px; height: 22px; }
.free-talk-page .feedback-close { display: grid; place-items: center; border: 0; background: transparent; width: 36px; height: 36px; color: #647d9f; border-radius: 50%; cursor: pointer; }
.free-talk-page .feedback-close:hover { background: #e9f1fb; }
.free-talk-page .feedback-tabs { display: flex; padding: 0 12px; gap: 4px; border-bottom: 1px solid #e2ebf8; }
.free-talk-page .feedback-tabs button { flex: 1; position: relative; border: 0; background: transparent; padding: 12px 2px; color: #526888; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.free-talk-page .feedback-tabs button[aria-selected="true"] { color: #513095; background: linear-gradient(#eee6ff,#f5f0ff); border-radius: 14px 14px 0 0; }
.free-talk-page .feedback-tabs button[aria-selected="true"]::after { content: ''; position: absolute; bottom: 0; height: 3px; left: 15%; right: 15%; border-radius: 3px 3px 0 0; background: #8450ff; }
.free-talk-page .feedback-content { overflow-y: auto; min-height: 0; padding: 20px 18px; overflow-wrap: anywhere; line-height: 1.65; }
.free-talk-page .feedback-content h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 16px; font-size: 14px; font-weight: 700; }
.free-talk-page .feedback-content h3 .chat-icon { color: #eeaf27; }
.free-talk-page .feedback-content h4 { margin: 14px 0 7px; font-size: 12px; font-weight: 600; color: #6c80a0; }
.free-talk-page .feedback-original, .free-talk-page .feedback-replacement { padding: 13px 14px; border-radius: 14px; margin: 0; font-size: 14px; }
.free-talk-page .feedback-original { background: #ffedf0; color: #ad344a; border: 1px solid #ffe1e7; }
.free-talk-page .feedback-replacement { background: #eaf7f0; color: #287051; border: 1px solid #daf0e4; }
.free-talk-page .feedback-issue-expression .feedback-replacement { color: #422a74; background: #eee8ff; border-color: #e6ddfc; }
.free-talk-page .feedback-reason, .free-talk-page .feedback-muted { color: var(--chat-muted); font-size: 13px; }
.free-talk-page .feedback-reason .chat-icon { width: 15px; height: 15px; color: #5c85c5; margin-right: 6px; }
.free-talk-page .feedback-issue { padding-bottom: 20px; border-bottom: 1px solid #e3ecf8; margin-bottom: 18px; }
.free-talk-page .feedback-issue:last-child { margin-bottom: 0; border-bottom: 0; }
.free-talk-page .feedback-content button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; border: 1px solid #dce9fa; border-radius: 12px; padding: 8px 12px; color: #42699f; background: #edf5ff; font-size: 12px; cursor: pointer; }
.free-talk-page .feedback-content .feedback-practice-button { width: 100%; min-height: 42px; margin: 4px 0 10px; color: #fff; background: linear-gradient(110deg,#359bff,#286bff); border: 1px solid #ffffffb3; box-shadow: 0 3px 8px #438af029; font-weight: 600; }
.free-talk-page .feedback-content .feedback-copy-button { background: transparent; border-color: transparent; }
.free-talk-page .feedback-practice { padding: 0 2px 10px; }
.free-talk-page .feedback-word { display: flex; padding: 10px 12px; border-radius: 10px; background: #eaf7ff; font-size: 14px; }
.free-talk-page .feedback-badge:focus-visible, .free-talk-page .chat-feedback-panel button:focus-visible,
.free-talk-page .chat-card-speaker:focus-visible, .free-talk-page .chat-message-more > summary:focus-visible { outline: 2px solid #438af0; outline-offset: 3px; }
@media (min-width: 1360px) { .free-talk-page .chat-main.has-feedback { padding-right: 392px; } }
@media (max-width: 767px) {
  .free-talk-page .chat-feedback-panel { top: auto; max-height: 65%; right: 8px; width: calc(100% - 16px); }
  .free-talk-page .feedback-badges { gap: 6px; }
  .free-talk-page .feedback-badge { padding: 8px 9px; font-size: 11px; }
  .free-talk-page .feedback-badge .chat-icon { width: 14px; height: 14px; }
}
html.dark .free-talk-page .chat-feedback-panel { background: #182b40; border-color: #36506a; }
html.dark .free-talk-page .chat-copy-action { background: #203b55; color: #e5efff; border-color: #36506a; }
@media (prefers-reduced-motion: reduce) { .free-talk-page .feedback-badge { transition: none; } }
