/* SOJANG Figma 08 (1440px) / 09 (390px) book overview, index, reviews.
   Uses existing server-rendered book metadata and authenticated API events.
   This file loads AFTER earlier R01 experiments; scope all rules to /book. */
body:has(.sj-figma-0809){background:#fcf8f2}
main.sj-figma-0809{
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
  background:#fcf8f2!important;color:#342d39!important;
  font-family:"Noto Sans KR","Apple SD Gothic Neo",sans-serif!important;
  overflow:visible!important;
}
.sj-figma-0809 *{box-sizing:border-box}
.sj-figma-0809 .sj-book-overview-band{background:#fcf8f2;width:100%;padding:24px 24px 46px}
.sj-figma-0809 .sj-book-overview-inner,
.sj-figma-0809 .sj-book-section-inner{
  width:100%;max-width:1200px;margin:0 auto;
}
.sj-figma-0809 .detail-breadcrumb{
  margin:0 0 40px!important;padding:0!important;
  color:#625865!important;font:400 12px/22px "Noto Sans KR",sans-serif!important;
}
.sj-figma-0809 .detail-breadcrumb a{color:#625865!important;text-decoration:none}
.sj-figma-0809 .sj-detail-hero{
  display:grid!important;grid-template-columns:244px minmax(0,1fr)!important;
  gap:48px!important;width:100%!important;max-width:none!important;
  min-height:415px!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;align-items:start!important;
}
.sj-figma-0809 .detail-cover-col{display:block!important;width:244px!important;min-width:0}
.sj-figma-0809 .large-cover{
  box-sizing:border-box!important;position:relative!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:244px!important;height:329px!important;min-height:329px!important;max-width:100%!important;
  padding:28px 24px!important;overflow:hidden!important;
  background:#efe5e9!important;background-image:none!important;
  border:1px solid #ecdee5!important;border-radius:4px!important;
  box-shadow:none!important;color:#342d39!important;
}
.sj-figma-0809 .large-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sj-figma-0809 .large-cover .cover-small{font:400 12px/1.7 "Noto Sans KR",sans-serif;color:#625865;letter-spacing:0;margin:0}
.sj-figma-0809 .large-cover .cover-title{
  font:600 24px/1.6 "Noto Serif KR",serif!important;color:#342d39!important;
  margin:auto 0 0!important;word-break:keep-all;max-width:100%;
}
.sj-figma-0809 .large-cover .cover-rule{height:1px;width:100%;background:#a66585;margin:17px 0 18px}
.sj-figma-0809 .large-cover .cover-author{font:400 14px/1.5 "Noto Sans KR",sans-serif;color:#625865;margin:0}
.sj-figma-0809 .detail-content{display:block!important;min-width:0!important;padding:0!important;max-width:none!important}
.sj-figma-0809 .sj-detail-heading{margin:0 0 16px}
.sj-figma-0809 .sj-book-meta{
  display:block!important;margin:0 0 11px!important;
  font:500 12px/22px "Noto Sans KR",sans-serif!important;
  letter-spacing:0!important;color:#784963!important;
}
.sj-figma-0809 .detail-content h1{
  font:600 34px/1.5 "Noto Serif KR",serif!important;
  letter-spacing:0!important;color:#342d39!important;word-break:keep-all;
  margin:0 0 9px!important;
}
.sj-figma-0809 .detail-author{
  margin:0!important;padding:0!important;display:inline-flex!important;gap:5px;
  font:400 14px/28px "Noto Sans KR",sans-serif!important;color:#625865!important;
  text-decoration:none;
}
.sj-figma-0809 .sj-detail-description{min-height:140px;max-width:908px;margin:0 0 18px}
.sj-figma-0809 .sj-detail-description .detail-synopsis{
  display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;
  white-space:pre-line!important;max-width:none!important;
  font:400 14px/1.85 "Noto Sans KR",sans-serif!important;color:#342d39!important;
  margin:0!important;letter-spacing:0;
}
.sj-figma-0809 .parody-disclosure{margin:10px 0 0;color:#7f6678;font-size:12px}
.sj-figma-0809 .sj-detail-tags{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  gap:12px!important;margin:0 0 18px!important;padding:0!important;
}
.sj-figma-0809 .sj-detail-tags a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:96px;min-height:44px;max-width:100%;
  padding:8px 17px!important;
  font:400 13px/1.5 "Noto Sans KR",sans-serif!important;
  color:#625865!important;background:#fffefc!important;
  border:1px solid #d9cfd5!important;border-radius:999px!important;
  text-decoration:none!important;
}
.sj-figma-0809 .sj-detail-tags a:hover{border-color:#a67793!important;color:#784963!important}
.sj-figma-0809 .sj-detail-metrics{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  gap:18px!important;min-height:22px!important;
  margin:0 0 20px!important;padding:0!important;border:0!important;
}
.sj-figma-0809 .sj-detail-metrics>div{
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  border:0!important;margin:0!important;padding:0!important;color:#625865!important;
  font:400 12px/22px "Noto Sans KR",sans-serif!important;
}
.sj-figma-0809 .sj-detail-metrics>div::before{display:none!important;content:none!important}
.sj-figma-0809 .sj-detail-metrics img{width:16px!important;height:16px!important;object-fit:contain;flex:0 0 auto}
.sj-figma-0809 .sj-detail-metrics span,.sj-figma-0809 .sj-detail-metrics b{
  font:400 12px/22px "Noto Sans KR",sans-serif!important;color:#625865!important;
}
.sj-figma-0809 .sj-detail-buttons{
  width:100%!important;display:flex!important;align-items:center!important;
  flex-wrap:wrap!important;justify-content:flex-start!important;gap:16px!important;
  padding:0!important;margin:0!important;
}
.sj-figma-0809 .sj-book-first-read{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:200px!important;min-width:0!important;height:48px!important;min-height:48px!important;
  padding:12px 18px!important;margin:0!important;
  border:1px solid #784963!important;border-radius:6px!important;
  background:#784963!important;color:#fffefc!important;
  font:600 14px/1.55 "Noto Sans KR",sans-serif!important;
  text-decoration:none!important;box-shadow:0 2px 3px #60455416!important;
}
.sj-figma-0809 .sj-book-first-read:hover{background:#63374f!important}
.sj-figma-0809 .sj-reaction-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;min-height:44px!important;height:44px!important;min-width:0!important;
  padding:9px 15px!important;margin:0!important;
  background:#fffefc!important;border:1px solid #d9cfd5!important;
  border-radius:10px!important;color:#342d39!important;
  font:500 14px/1.4 "Noto Sans KR",sans-serif!important;
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.sj-figma-0809 .sj-reaction-subscribe{width:176px!important;height:48px!important;min-height:48px!important}
.sj-figma-0809 .sj-reaction-like{width:140px!important}
.sj-figma-0809 .sj-reaction-button::before{
  content:"";display:block!important;width:21px!important;height:21px!important;
  background:transparent center/contain no-repeat!important;flex:0 0 21px!important;
  margin:0!important;mask:none!important;
}
.sj-figma-0809 .sj-reaction-subscribe::before{
 background-image:url('/static/figma/reaction-subscribe-default.png')!important;
}
.sj-figma-0809 .sj-reaction-like::before{
 background-image:url('/static/figma/reaction-like-default.png')!important;
}
.sj-figma-0809 .sj-reaction-button:hover:not(:disabled){
 background:#faf4f7!important;border-color:#d9cfd5!important;
}
.sj-figma-0809 .sj-reaction-subscribe:hover:not(:disabled):not([aria-pressed="true"])::before{
 background-image:url('/static/figma/reaction-subscribe-hover.png')!important;
}
.sj-figma-0809 .sj-reaction-button[aria-pressed="true"]{
 background:#f4e7ec!important;border:1px solid #d9cfd5!important;
 color:#784963!important;font-weight:700!important;
}
.sj-figma-0809 .sj-reaction-subscribe[aria-pressed="true"]::before{
 background-image:url('/static/figma/reaction-subscribe-selected.png')!important;
}
.sj-figma-0809 .sj-reaction-like[aria-pressed="true"]::before{
 background-image:url('/static/figma/reaction-like-selected.png')!important;
}
.sj-figma-0809 .sj-reaction-button:disabled{
 opacity:.34!important;cursor:not-allowed!important;background:#fffefc!important;color:#342d39!important;
}
.sj-figma-0809 .sj-reaction-button:focus-visible{
 outline:3px solid #a67793;outline-offset:3px;
}
.sj-figma-0809 .sj-detail-report{
 min-height:40px;max-width:130px;margin-left:auto!important;
 padding:8px 12px!important;border:0!important;background:transparent!important;
 color:#625865;font:400 13px/1.5 "Noto Sans KR",sans-serif;cursor:pointer;
}
.sj-figma-0809 .sj-detail-report:hover{text-decoration:underline}
.sj-figma-0809 .sj-detail-utility{
 display:flex!important;gap:16px!important;margin:13px 0 0!important;
 align-items:center!important;flex-wrap:wrap;
 font:400 12px/1.5 "Noto Sans KR",sans-serif;
}
.sj-figma-0809 .sj-detail-utility a{color:#784963;text-decoration:none}
.sj-figma-0809 .sj-detail-utility a:hover{text-decoration:underline}
/* Episode index = 08's white 1200px list, with notice BELOW the rows. */
.sj-figma-0809 .sj-book-episodes-band{background:#fff;min-height:424px;padding:28px 24px 24px;width:100%}
.sj-figma-0809 .sj-book-episodes-heading{margin:0 0 14px!important}
.sj-figma-0809 .sj-book-episodes-heading h2{
 font:600 28px/1.55 "Noto Serif KR",serif!important;color:#342d39;margin:0 0 6px!important;
}
.sj-figma-0809 .sj-episode-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important;min-height:29px}
.sj-figma-0809 .sj-episode-toolbar a{
 font:400 13px/22px "Noto Sans KR",sans-serif!important;color:#625865!important;text-decoration:none;
}
.sj-figma-0809 #sjEpisodeSort{
 width:122px;min-width:122px;min-height:28px!important;height:30px!important;
 font:400 13px/22px "Noto Sans KR",sans-serif!important;
 padding:3px 4px!important;background:#fff!important;color:#625865!important;
 border:0!important;border-radius:0!important;text-align:right;cursor:pointer;
}
.sj-figma-0809 .sj-episode-list{display:grid!important;gap:16px!important;margin:0 0 16px!important}
.sj-figma-0809 .sj-episode-list .new-episode{
 display:grid!important;grid-template-columns:48px minmax(0,1fr) 24px!important;align-items:center!important;
 gap:24px!important;width:100%!important;min-height:88px!important;padding:16px 24px!important;
 color:#342d39!important;background:#fffefc!important;
 border:1px solid #d9cfd5!important;border-radius:8px!important;
 box-shadow:0 3px 6px rgba(96,69,84,.06)!important;text-decoration:none!important;
}
.sj-figma-0809 .sj-episode-list .new-episode:hover{border-color:#ab8097!important;background:#fef9fa!important}
.sj-figma-0809 .sj-episode-list .sj-episode-number{
 width:48px!important;flex:0 0 auto!important;font:400 16px/28px "Noto Sans KR",sans-serif!important;
 color:#784963!important;text-align:left;
}
.sj-figma-0809 .sj-episode-content{min-width:0}
.sj-figma-0809 .sj-episode-list .sj-episode-content b{
 display:block;font:700 20px/30px "Noto Sans KR",sans-serif!important;color:#342d39!important;
}
.sj-figma-0809 .sj-episode-list .sj-episode-content small{
 display:block;font:500 14px/22px "Noto Sans KR",sans-serif!important;color:#625865!important;margin:0!important;
}
.sj-figma-0809 .sj-episode-list .episode-chevron{color:#784963!important;font-size:18px!important;text-align:right}
.sj-figma-0809 .sj-author-notice{
 display:flex!important;align-items:center!important;gap:22px!important;flex-wrap:wrap;
 min-height:64px!important;border:0!important;border-radius:10px!important;
 margin:0!important;padding:16px!important;background:#fbf7f2!important;
}
.sj-figma-0809 .sj-author-notice h3{
 font:500 13px/1.6 "Noto Sans KR",sans-serif!important;color:#784963!important;
 flex:0 0 auto;margin:0!important;
}
.sj-figma-0809 .sj-author-notice>p,.sj-figma-0809 .sj-author-notice article p{
 margin:0!important;font:400 13px/1.6 "Noto Sans KR",sans-serif!important;color:#625865!important;
}
.sj-figma-0809 .sj-author-notice article b{font-size:13px;color:#342d39}
.sj-figma-0809 .sj-author-notice>a{margin-left:auto;color:#784963;font-size:12px}
/* Figma review section and original illustration */
.sj-figma-0809 .sj-book-reviews-band{background:#fcf8f2;padding:26px 24px 38px;min-height:294px}
.sj-figma-0809 .sj-book-reviews-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px}
.sj-figma-0809 .sj-book-reviews-heading h2{
 margin:0;font:600 28px/1.5 "Noto Serif KR",serif!important;color:#342d39;
}
.sj-figma-0809 .sj-review-heading-action{
 min-width:160px;min-height:48px;padding:12px 18px;
 background:#fffefc;border:1px solid #ad92a2;border-radius:6px;
 color:#784963;font:600 13px/1.5 "Noto Sans KR",sans-serif;cursor:pointer;
}
.sj-figma-0809 .sj-review-empty{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 width:100%;min-height:160px!important;max-height:none!important;margin:0!important;
 padding:21px 24px!important;border:0!important;border-radius:10px!important;
 background:#f4e7ec!important;color:#342d39!important;
}
.sj-figma-0809 .sj-review-empty[hidden]{display:none!important}
.sj-figma-0809 .sj-review-empty>div{max-width:820px}
.sj-figma-0809 .sj-review-empty h3{font:700 18px/1.6 "Noto Sans KR",sans-serif;margin:0 0 13px;color:#342d39}
.sj-figma-0809 .sj-review-empty p{font:400 13px/1.7 "Noto Sans KR",sans-serif;margin:0 0 14px;color:#625865}
.sj-figma-0809 .sj-review-empty button{
 border:0;background:transparent;padding:0;color:#784963;cursor:pointer;
 font:500 13px "Noto Sans KR",sans-serif;
}
.sj-figma-0809 .sj-review-empty img{width:140px;height:140px;object-fit:contain;flex:0 0 auto}
.sj-figma-0809 .review-list:empty,.sj-figma-0809 .review-feature:empty{display:none}
.sj-figma-0809 .review-list,.sj-figma-0809 .review-feature{margin-bottom:12px}
.sj-figma-0809 .sj-book-related{width:100%;background:#fcf8f2;padding:10px 24px 20px}
.sj-figma-0809 .sj-book-related>summary{
 max-width:1200px;margin:0 auto;cursor:pointer;color:#784963;font-size:12px;padding:12px 0;
}
.sj-figma-0809 .sj-recommend-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sj-figma-0809 .sj-recommend-card{display:grid;grid-template-columns:80px 1fr;gap:12px;padding:10px;background:#fffefc;border:1px solid #e2d4dd;border-radius:8px;text-decoration:none;color:#342d39}
.sj-figma-0809 .sj-recommend-cover{width:80px;height:115px;overflow:hidden;background:#f2e9ee;padding:7px}
.sj-figma-0809 .sj-recommend-cover img{width:100%;height:100%;object-fit:cover}
.sj-figma-0809 .sj-recommend-cover strong{font:600 12px/1.5 "Noto Serif KR",serif}
.sj-figma-0809 .sj-recommend-card h3{font:600 15px/1.5 "Noto Serif KR",serif;margin:5px 0}
.sj-figma-0809 .sj-recommend-card p{color:#625865;font-size:12px}
/* Figma 09: book cover and title share the first row; rest full-width. */
@media(max-width:700px){
 body:has(.sj-figma-0809){background:#fcf8f2}
 .sj-figma-0809 .sj-book-overview-band{padding:24px 24px 30px!important}
 .sj-figma-0809 .detail-breadcrumb{font-size:12px!important;margin:0 0 32px!important}
 .sj-figma-0809 .sj-detail-hero{
   display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;
   grid-template-areas:"cover header" "description description" "tags tags" "metrics metrics" "actions actions" "utility utility"!important;
   gap:0 20px!important;align-items:start!important;min-height:0!important;
   padding:0!important;margin:0!important;
 }
 .sj-figma-0809 .detail-cover-col{grid-area:cover!important;width:120px!important;min-width:120px!important}
 .sj-figma-0809 .large-cover{
   width:120px!important;max-width:120px!important;height:162px!important;min-height:162px!important;
   padding:14px 12px!important;box-shadow:none!important;
 }
 .sj-figma-0809 .large-cover .cover-small{font-size:8px!important}
 .sj-figma-0809 .large-cover .cover-title{font-size:13px!important;line-height:1.55!important}
 .sj-figma-0809 .large-cover .cover-rule{margin:7px 0!important}
 .sj-figma-0809 .large-cover .cover-author{font-size:10px!important}
 .sj-figma-0809 .detail-content{display:contents!important}
 .sj-figma-0809 .sj-detail-heading{grid-area:header!important;margin:0!important;min-width:0!important;padding-top:0}
 .sj-figma-0809 .sj-book-meta{font-size:11px!important;line-height:1.5!important;margin:0 0 12px!important}
 .sj-figma-0809 .detail-content h1{
   margin:0 0 20px!important;font:600 20px/1.5 "Noto Serif KR",serif!important;
   overflow-wrap:anywhere;
 }
 .sj-figma-0809 .detail-author{font-size:12px!important}
 .sj-figma-0809 .sj-detail-description{grid-area:description!important;margin:26px 0 19px!important;min-height:0!important}
 .sj-figma-0809 .sj-detail-description .detail-synopsis{
   font:400 13px/1.7 "Noto Sans KR",sans-serif!important;color:#342d39!important;
 }
 .sj-figma-0809 .sj-detail-tags{grid-area:tags!important;margin:0 0 18px!important;gap:12px!important}
 .sj-figma-0809 .sj-detail-tags a{
   min-width:96px!important;min-height:44px!important;
   padding:10px 12px!important;font-size:12px!important;
 }
 .sj-figma-0809 .sj-detail-metrics{grid-area:metrics!important;gap:10px!important;margin:0 0 20px!important}
 .sj-figma-0809 .sj-detail-metrics>div{gap:4px!important}
 .sj-figma-0809 .sj-detail-metrics img{width:14px!important;height:14px!important}
 .sj-figma-0809 .sj-detail-metrics span,.sj-figma-0809 .sj-detail-metrics b{font-size:11px!important}
 .sj-figma-0809 .sj-detail-buttons{
   grid-area:actions!important;display:grid!important;
   grid-template-columns:72px 100px 77px minmax(0,1fr)!important;
   align-items:center!important;gap:4px!important;width:100%!important;
   margin:0!important;justify-content:stretch!important;
 }
 .sj-figma-0809 .sj-book-first-read{
   width:100%!important;min-height:48px!important;height:48px!important;
   padding:8px 4px!important;font-size:12px!important;white-space:nowrap;
 }
 .sj-figma-0809 .sj-reaction-button{
   width:100%!important;min-width:0!important;max-width:none!important;
   height:48px!important;min-height:48px!important;
   font-size:11px!important;gap:4px!important;padding:7px 4px!important;
   white-space:nowrap;
 }
 .sj-figma-0809 .sj-reaction-button::before{width:21px!important;height:21px!important;flex-basis:21px!important}
 .sj-figma-0809 .sj-detail-report{
   margin:0!important;max-width:none!important;width:100%!important;
   height:48px!important;min-height:48px!important;
   padding:8px 2px!important;
   border:1px solid #d9cfd5!important;border-radius:8px!important;
   background:#fffefc!important;font-size:11px!important;text-align:center;
 }
 .sj-figma-0809 .sj-detail-utility{grid-area:utility!important;margin:10px 0 0!important;gap:12px!important;font-size:11px!important}
 .sj-figma-0809 .sj-book-episodes-band{padding:28px 24px 26px!important}
 .sj-figma-0809 .sj-book-episodes-heading h2{font-size:24px!important;margin:0 0 11px!important}
 .sj-figma-0809 .sj-episode-toolbar a,.sj-figma-0809 #sjEpisodeSort{font-size:12px!important}
 .sj-figma-0809 .sj-episode-list{gap:16px!important;margin:16px 0!important}
 .sj-figma-0809 .sj-episode-list .new-episode{
   grid-template-columns:36px minmax(0,1fr) 20px!important;
   gap:12px!important;min-height:96px!important;padding:18px 16px!important;
 }
 .sj-figma-0809 .sj-episode-list .sj-episode-number{width:36px!important;font-size:14px!important}
 .sj-figma-0809 .sj-episode-list .sj-episode-content b{font:500 16px/28px "Noto Sans KR",sans-serif!important}
 .sj-figma-0809 .sj-episode-list .sj-episode-content small{font-size:12px!important;line-height:22px!important}
 .sj-figma-0809 .sj-author-notice{min-height:90px!important;align-items:flex-start!important;flex-direction:column!important;gap:12px!important;padding:15px!important}
 .sj-figma-0809 .sj-author-notice h3{font-size:12px!important}
 .sj-figma-0809 .sj-author-notice>p{font-size:12px!important}
 .sj-figma-0809 .sj-book-reviews-band{padding:26px 24px 35px!important;min-height:326px}
 .sj-figma-0809 .sj-book-reviews-heading{align-items:flex-start!important;gap:8px}
 .sj-figma-0809 .sj-book-reviews-heading h2{font-size:23px!important}
 .sj-figma-0809 .sj-review-heading-action{display:none!important}
 .sj-figma-0809 .sj-review-empty{min-height:200px!important;padding:20px 16px!important}
 .sj-figma-0809 .sj-review-empty h3{font-size:16px!important;line-height:1.6!important}
 .sj-figma-0809 .sj-review-empty p{font-size:12px!important;line-height:1.75!important}
 .sj-figma-0809 .sj-review-empty img{display:none!important}
 .sj-figma-0809 .sj-recommend-list{grid-template-columns:1fr!important}
}
@media(max-width:360px){
 .sj-figma-0809 .sj-book-overview-band,
 .sj-figma-0809 .sj-book-episodes-band,
 .sj-figma-0809 .sj-book-reviews-band{padding-left:16px!important;padding-right:16px!important}
 .sj-figma-0809 .sj-detail-hero{grid-template-columns:100px minmax(0,1fr)!important;column-gap:12px!important}
 .sj-figma-0809 .detail-cover-col,.sj-figma-0809 .large-cover{width:100px!important;min-width:100px!important}
 .sj-figma-0809 .sj-detail-buttons{grid-template-columns:1fr 1.25fr 1fr 1fr!important}
 .sj-figma-0809 .sj-reaction-button::before{width:17px!important;height:17px!important;flex-basis:17px!important}
}

/* 08 Desktop navigation: 1200px reading column and the original 96px bar.
   Preserve sign-in, admin, search and profile links; only refine geometry. */
body:has(.sj-figma-0809)>.topbar{
 height:96px!important;min-height:96px!important;
 background:#fffefc!important;border-bottom:1px solid #e6dbe2!important;
}
body:has(.sj-figma-0809)>.topbar .nav-inner.wrap{
 width:calc(100% - 48px)!important;max-width:1200px!important;
 margin:0 auto!important;height:100%!important;gap:36px!important;
}
body:has(.sj-figma-0809)>.topbar .brand{min-width:166px!important}
body:has(.sj-figma-0809)>.topbar .nav-links a:first-child{
 color:#784963!important;
}
body:has(.sj-figma-0809)>.topbar .header-search{
 border-radius:8px!important;background:#fffefc!important;
 border:1px solid #d9cfd5!important;height:48px!important;
}
@media(max-width:700px){
 /* The Figma 09 reference shows the guest navigation at 390px.  Signed-in
    accounts retain their actual profile/staff controls instead of hiding them. */
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar{
   height:168px!important;min-height:168px!important;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .nav-inner.wrap{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-rows:66px 48px 38px!important;
   row-gap:0!important;column-gap:12px!important;
   width:calc(100% - 48px)!important;
   max-width:none!important;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .brand{
   grid-column:1!important;grid-row:1!important;
   min-width:0!important;align-self:center;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .nav-right{display:contents!important}
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .nav-right>.text-link{
   display:flex!important;grid-column:2!important;grid-row:1!important;
   align-self:center!important;justify-self:end!important;
   font-size:13px!important;color:#625865!important;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .nav-right>.button{
   display:none!important;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .header-search{
   display:flex!important;grid-column:1/3!important;grid-row:2!important;
   width:100%!important;min-width:0!important;max-width:none!important;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .nav-links{
   display:flex!important;grid-column:1/3!important;grid-row:3!important;
   height:38px!important;width:100%!important;
   align-items:center!important;gap:18px!important;
   overflow-x:auto!important;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .nav-links a{
   display:inline-flex!important;white-space:nowrap!important;height:36px!important;
   padding:3px!important;border:0!important;background:transparent!important;
   font-size:12px!important;color:#625865!important;
 }
 body:not([data-signed-in="1"]):has(.sj-figma-0809)>.topbar .nav-links a:first-child{
   border-bottom:2px solid #784963!important;border-radius:0!important;
 }
 body[data-signed-in="1"]:has(.sj-figma-0809)>.topbar{
   height:75px!important;min-height:75px!important;
 }
 body[data-signed-in="1"]:has(.sj-figma-0809)>.topbar .nav-inner.wrap{
   max-width:none!important;width:calc(100% - 32px)!important;
   gap:8px!important;
 }
 body[data-signed-in="1"]:has(.sj-figma-0809)>.topbar .brand{min-width:90px!important}
}

/* Later Figma 05 reaction states must beat legacy #likeButton/#subscribeButton
   rules (IDs override the class-only rules above, even across stylesheets). */
.sj-figma-0809 #likeButton.sj-reaction-button,
.sj-figma-0809 #subscribeButton.sj-reaction-button{
 background:#fffefc!important;
 border:1px solid #d9cfd5!important;
 color:#342d39!important;
 border-radius:10px!important;
}
.sj-figma-0809 #likeButton.sj-reaction-button::before{
 content:""!important;
 background:transparent url('/static/figma/reaction-like-default.png') center/contain no-repeat!important;
}
.sj-figma-0809 #subscribeButton.sj-reaction-button::before{
 content:""!important;
 background:transparent url('/static/figma/reaction-subscribe-default.png') center/contain no-repeat!important;
}
.sj-figma-0809 #likeButton.sj-reaction-button:hover:not(:disabled),
.sj-figma-0809 #subscribeButton.sj-reaction-button:hover:not(:disabled){
 background:#faf4f7!important;
}
.sj-figma-0809 #subscribeButton.sj-reaction-button:hover:not(:disabled):not([aria-pressed="true"])::before{
 background:transparent url('/static/figma/reaction-subscribe-hover.png') center/contain no-repeat!important;
}
.sj-figma-0809 #likeButton.sj-reaction-button[aria-pressed="true"],
.sj-figma-0809 #subscribeButton.sj-reaction-button[aria-pressed="true"]{
 background:#f4e7ec!important;
 border-color:#d9cfd5!important;
 color:#784963!important;
 font-weight:700!important;
}
.sj-figma-0809 #likeButton.sj-reaction-button[aria-pressed="true"]::before{
 background:transparent url('/static/figma/reaction-like-selected.png') center/contain no-repeat!important;
}
.sj-figma-0809 #subscribeButton.sj-reaction-button[aria-pressed="true"]::before{
 background:transparent url('/static/figma/reaction-subscribe-selected.png') center/contain no-repeat!important;
}
.sj-figma-0809 #likeButton.sj-reaction-button:disabled,
.sj-figma-0809 #subscribeButton.sj-reaction-button:disabled{
 opacity:.34!important;background:#fffefc!important;color:#342d39!important;
}
