.ft-main {
  --ft-ink: #3e212b;
  --ft-berry: #812843;
  --ft-muted: #765c65;
  --ft-line: #e8d9dd;
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 44px 0 64px;
  color: var(--ft-ink);
  line-height: 1.5;
}
.ft-main *, .ft-main *::after, .ft-main *::before { box-sizing: border-box; }
.ft-main :is(p,h1,h2,h3,h4) { margin: 0; }
.ft-main a { color: var(--ft-berry); text-decoration: none; }
.ft-main a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-main :is(summary,a):focus-visible { outline: 3px solid #a03057; outline-offset: 3px; }
.ft-main [hidden] { display: none !important; }
.ft-intro,.ft-week-top,.ft-card-head,.ft-resource summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ft-intro { padding-bottom: 31px; border-bottom: 1px solid var(--ft-line); }
.ft-main .ft-kicker { color: var(--ft-berry); font-size: 11px; letter-spacing: .15em; font-weight: 700; }
.ft-kicker span,.ft-sep { color: #bfa3ad; padding: 0 .28em; }
.ft-main h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.2; margin: 10px 0; letter-spacing: -.04em; font-weight: 650; }
.ft-intro > div > p:last-child { color: var(--ft-muted); font-size: 15px; }
.ft-library-link,.ft-original { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 14px; border: 1px solid #d9bbc5; border-radius: 999px; font-size: 13px; font-weight: 600; background: white; flex-shrink: 0; }
.ft-library-link span,.ft-original span { line-height: 1; font-size: 16px; }
.ft-week { padding-top: 24px; }
.ft-week-top { margin-bottom: 13px; }
.ft-week-top h2 { font-size: 21px; font-weight: 650; letter-spacing: -.03em; }
.ft-week-top a { font-size: 13px; font-weight: 600; }
.ft-daynav { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; margin: 0 0 17px; }
.ft-daynav a { display: grid; grid-template-columns: 1fr; align-content: center; justify-items: start; min-width: 0; gap: 2px; padding: 12px 16px; background: #fff; color: var(--ft-ink); border: 1px solid var(--ft-line); border-radius: 12px; }
.ft-daynav a small { color: var(--ft-muted); font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.ft-daynav a b { font-size: 17px; font-weight: 650; }
.ft-daynav a span { color: var(--ft-muted); font-size: 12px; }
.ft-daynav a:hover { text-decoration: none; border-color: #bd8499; }
.ft-daynav a[aria-current] { border-color: var(--ft-berry); background: var(--ft-berry); color: white; }
.ft-daynav a[aria-current] :is(small,span) { color: #ffe7ef; }
.ft-day { scroll-margin-top: 90px; border: 1px solid var(--ft-line); background: white; border-radius: 18px; overflow: clip; margin-bottom: 16px; }
.ft-card-head { padding: 24px 32px; border-bottom: 1px solid var(--ft-line); background: linear-gradient(115deg, #fff4f3, #f7e4e7); }
.ft-card-head h3 { margin: 4px 0 0; font-size: clamp(24px,3vw,32px); letter-spacing: -.04em; font-weight: 650; }
.ft-english { font-family: Georgia, serif; font-size: 15px; color: var(--ft-muted); font-style: italic; }
.ft-col-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 65px 10px 32px; color: var(--ft-muted); font-size: 12px; border-bottom: 1px solid var(--ft-line); }
.ft-main summary { list-style: none; cursor: pointer; }
.ft-main summary::-webkit-details-marker { display: none; }
.ft-exercise + .ft-exercise,.ft-resource + .ft-resource { border-top: 1px solid var(--ft-line); }
.ft-exercise summary { display: grid; grid-template-columns: 24px 100px minmax(0,1fr) max-content 12px; align-items: center; gap: 20px; min-height: 85px; padding: 9px 32px; }
.ft-exercise summary:hover,.ft-resource summary:hover { background: #fff9fa; }
.ft-thumb { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; mix-blend-mode: multiply; }
.ft-order { font-size: 13px; font-family: Georgia,serif; font-style: italic; color: var(--ft-muted); }
.ft-name { display: grid; gap: 2px; }
.ft-name strong { font-size: 17px; line-height: 1.35; font-weight: 650; }
.ft-name small { color: var(--ft-muted); font-size: 13px; line-height: 1.4; }
.ft-dose { color: var(--ft-berry); font-size: 14px; font-weight: 650; }
.ft-chevron { display: block; width: 9px; height: 9px; border-right: 1.6px solid var(--ft-berry); border-bottom: 1.6px solid var(--ft-berry); transform: rotate(45deg) translateY(-2px); }
.ft-main details[open] > summary .ft-chevron { transform: rotate(225deg) translate(-1px,-1px); }
.ft-detail { border-top: 1px dashed var(--ft-line); padding: 24px 32px 30px; display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(18px,4vw,46px); align-items: start; }
.ft-figure img { display: block; width: 100%; height: auto; }
.ft-detail p,.ft-how ol { font-size: 14px; color: #5d454e; line-height: 1.65; }
.ft-detail p { margin: 10px 0 0; }
.ft-detail p strong { color: var(--ft-berry); margin-right: .3em; }
.ft-how h4 { color: var(--ft-berry); font-size: 16px; }
.ft-how ol { padding-left: 20px; margin: 7px 0 14px; }
.ft-how li + li { margin-top: 4px; }
.ft-library { padding-top: 22px; scroll-margin-top: 84px; }
.ft-library-box { border: 1px solid var(--ft-line); border-radius: 15px; background: #fff; overflow: clip; }
.ft-resource summary { justify-content: initial; padding: 16px 23px; }
.ft-resource summary b { font-size: 15px; font-weight: 650; }
.ft-resource summary > span { margin-left: auto; color: var(--ft-muted); font-size: 12px; }
.ft-resource ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 28px; list-style: none; padding: 0 23px 15px; margin: 0; }
.ft-resource li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--ft-line); font-size: 14px; }
@media (max-width: 740px) {
  .ft-main { width: calc(100% - 32px); padding: 26px 0 40px; }
  .ft-intro { padding-bottom: 22px; }
  .ft-daynav { gap: 4px; }
  .ft-daynav a { padding: 10px 2px; justify-items: center; border-radius: 8px; }
  .ft-daynav a span { display: none; }
  .ft-daynav a small { font-size: 9px; letter-spacing: .04em; }
  .ft-daynav a b { font-size: 14px; }
  .ft-exercise summary { grid-template-columns: 16px 72px minmax(0,1fr) max-content 9px; gap: 11px; padding: 10px 17px; min-height: 78px; }
  .ft-card-head { padding: 17px 20px; }
  .ft-col-head { padding: 8px 38px 8px 17px; }
  .ft-detail { padding: 16px 20px 23px; grid-template-columns: 1fr; gap: 14px; }
  .ft-figure img { max-width: 370px; margin: 0 auto; }
  .ft-resource ul { grid-template-columns: 1fr; }
}
@media (max-width: 510px) {
  .ft-intro { position: relative; }
  .ft-intro .ft-library-link { position: absolute; top: 0; right: 0; padding: 0; font-size: 12px; border: 0; border-radius: 0; background: transparent; }
  .ft-week { padding-top: 20px; }
  .ft-exercise summary { grid-template-columns: 57px minmax(0,1fr) 9px; grid-template-rows: auto auto; gap: 3px 10px; padding: 11px 15px; }
  .ft-order,.ft-col-head > span:last-child { display: none; }
  .ft-thumb { grid-row: 1/3; grid-column: 1; }
  .ft-name { grid-column: 2; grid-row: 1; }
  .ft-name strong { font-size: 15px; }
  .ft-name small { font-size: 12px; }
  .ft-dose { grid-column: 2; grid-row: 2; font-size: 12px; }
  .ft-exercise summary .ft-chevron { grid-column: 3; grid-row: 1/3; }
  .ft-original { font-size: 12px; padding: 7px 9px; gap: 4px; }
  .ft-card-head { gap: 8px; padding: 16px; }
}
@media (max-width: 355px) {
  .ft-main { width: calc(100% - 20px); }
  .ft-daynav { gap: 2px; }
  .ft-card-head { flex-wrap: wrap; }
}
.ft-readable > div { padding: 0 23px 20px; max-width: 820px; }
.ft-readable h3 { font-size: 16px; color: var(--ft-berry); }
.ft-readable ol { padding-inline-start: 22px; margin: 8px 0 18px; }
.ft-readable li, .ft-readable p { font-size: 14px; line-height: 1.75; }
.ft-readable li + li { margin-top: 4px; }
.ft-readable summary i { margin-left: auto; }
.ft-resource li a { gap: 12px; }
.ft-resource li a span:last-child { flex: none; }
.ft-daynav a b { line-height: 1.55; }
:lang(my) .ft-main { font-family: "Myanmar Text", "Noto Sans Myanmar", "Pyidaungsu", sans-serif; }
:lang(my) .ft-main :is(h1,h2,h3,h4,.ft-kicker) { letter-spacing: 0; line-height: 1.67; }
:lang(my) .ft-main .ft-name strong, :lang(my) .ft-main .ft-dose, :lang(my) .ft-main p, :lang(my) .ft-main li { line-height: 1.9; }
:lang(my) .ft-main .ft-daynav a { padding-inline: 8px; }
:lang(my) .ft-main .ft-daynav b { font-size: 15px; }
:lang(my) .ft-col-head { gap: 12px; }
@media (max-width: 740px) {
  :lang(my) .ft-daynav { grid-template-columns: repeat(4,minmax(0,1fr)); }
  :lang(my) .ft-daynav a { padding: 8px 2px; }
  .ft-card-head { flex-wrap: wrap; }
}
@media (max-width: 510px) {
  .ft-intro { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ft-intro .ft-library-link { position: static; }
  .ft-resource summary { gap: 9px; padding-inline: 15px; }
  .ft-resource summary b { min-width: 0; }
  .ft-resource summary > span { white-space: nowrap; }
  .ft-resource summary i { flex: none; }
  :lang(my) .ft-main h1 { font-size: 29px; }
  :lang(my) .ft-week-top { flex-wrap: wrap; gap: 6px; }
  :lang(my) .ft-week-top h2 { font-size: 18px; }
}
@media (max-width: 440px) {
  :lang(my) .ft-daynav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  :lang(my) .ft-main .ft-daynav a { padding-inline: 3px; }
}
