.writing-front .front-top{position:sticky;top:0;z-index:35;grid-template-columns:minmax(84px,1fr) auto minmax(84px,1fr);isolation:isolate}
.writing-front .front-top::before{content:"";position:absolute;inset:0 -10px;background:#fff;z-index:-1}
.writing-front .front-message{justify-self:end}
.front-free-words{justify-self:start;display:inline-flex;gap:4px;align-items:center;padding:6px 8px;border-radius:14px;background:var(--writing-accent-soft);color:var(--writing-accent-text);font-size:12px;font-weight:750;white-space:nowrap;text-decoration:none;line-height:1}
.front-free-words svg{flex:none}
.front-free-words:hover{background:#ff6b3524}
.writing-front .front-search-link{align-items:center;text-decoration:none;margin-top:4px;color:#65646c;background:#f5f5f6;border:0;box-shadow:none}
.front-search-placeholder{min-width:0;flex:1;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.front-action-pill{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:3px;min-width:54px;min-height:26px;padding:0 11px;border:0;border-radius:999px;background:var(--primary-color);box-shadow:none;color:#fff;font:inherit;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}
button.front-action-pill{cursor:pointer}
.front-search-link:hover .front-action-pill,button.front-action-pill:not(:disabled):hover{background:var(--primary-dark)}
button.front-action-pill:disabled{opacity:.55;cursor:default}
.front-banner{position:relative;aspect-ratio:4/1;border-radius:14px 14px 0 0;overflow:hidden;background:#f8f5f3;touch-action:pan-y}
.front-banner-art,.front-banner-art img{display:block;width:100%;height:100%;object-fit:cover}
.front-banner-art .front-banner-ambient{display:none}
.front-banner .front-dots{border-radius:12px;padding:4px 7px;background:#21212744}
.front-daily-inspiration{margin-bottom:13px}
.front-shortcuts .front-shortcut{box-shadow:none;background:linear-gradient(140deg,var(--writing-accent-soft),#fff8f3)}
.front-shortcuts .front-shortcut:nth-child(2){background:linear-gradient(140deg,#f7f1ff,#fbf7ff)}
.front-recommend .front-search-link { margin-bottom: 8px }
.front-recommend-module { margin-bottom: 10px; background: #fff }
.front-feature-shortcuts { gap: 16px; margin-bottom: 0 }
.front-feature-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    min-height: clamp(112px, 12vw, 129px);
    padding: clamp(10px, 2.3vw, 13px) 4px;
    color: #191719;
    text-decoration: none;
}
.front-feature-card h2 { margin: 0 }
.front-feature-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 19px;
    font-size: clamp(13px, 3.6vw, 18px);
    font-weight: 750;
    line-height: 1.25;
    color: inherit;
    text-decoration: none;
}
.front-feature-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 19px;
    height: 19px;
    border-radius: 6px;
    background: var(--writing-accent-soft);
    color: var(--writing-accent-text);
}
.front-feature-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round }
.front-feature-arrow { margin-inline-start: auto; color: var(--primary-dark); font-size: 17px; font-weight: 600; line-height: .8 }
.front-feature-editor { gap: 8px }
.front-feature-editor-copy,.front-feature-topic {
    display: grid;
    align-content: space-between;
    flex: 1;
    gap: 4px;
    padding: 3px 1px 0;
}
.front-feature-editor-copy { justify-items: start; align-items: end; padding: 0; gap: 6px }
.front-feature-editor-art { display: block; width: min(88%, 160px); height: auto }
.front-feature-editor-art[hidden],.front-feature-editor-art:not([hidden]) + .front-feature-editor-lead { display: none }
.front-feature-editor-lead {
    margin: 0;
    color: #6d5043;
    font-size: clamp(12px, 3.15vw, 15px);
    font-weight: 550;
    line-height: 1.3;
}
.front-feature-editor-lead strong {
    display: block;
    margin-top: 3px;
    color: #2c1d18;
    font-size: clamp(13px, 3.7vw, 17px);
    font-weight: 800;
    line-height: 1.2;
}
.front-feature-editor-lead strong span {
    background: linear-gradient(transparent 64%, #ffddc5 64%);
    border-radius: 2px;
}
.front-feature-editor-tag {
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--writing-accent-soft);
    color: var(--writing-accent-text);
    font-size: clamp(10px, 2.6vw, 12px);
    font-weight: 600;
    line-height: 1.25;
}
.front-feature-topic p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: clamp(13px, 3.55vw, 19px);
    font-weight: 750;
    line-height: 1.35;
}
.front-feature-topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; font-size: clamp(10px, 2.55vw, 12px) }
.front-feature-topic-meta .front-topic-badge { padding: 1px 5px; font-weight: 650; line-height: 1.25 }
.front-feature-meta { flex: none; color: #686167; font-size: clamp(10px, 2.55vw, 12px); white-space: nowrap }
.writing-front .front-feature-card:focus-visible { outline: 2px solid var(--primary-color); outline-offset: -2px }
.front-feature-card:active { opacity: .75 }
.daily-inspiration-content{display:grid;gap:6px;min-width:0}
.daily-inspiration-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 8px 0 0}
.daily-inspiration-body{padding:8px 10px;background:#f5f5f6;border-radius:10px}
.front-oc .discover-page > .discover-tabs,.front-oc .discover-page > .discover-top-bar{border-bottom:0}
.front-feed-end{min-height:1px;text-align:center;color:#68676e;font-size:13px}
.front-feed-end:not(:empty){padding:12px 0}
.front-circle .writing-grid { display: block }
.circle-stream { background: white }
.front-call-feed {
    display: flex;
    align-items: center;
    gap: clamp(8px,2.5vw,14px);
    min-width: 0;
    margin: 6px 0 9px;
    padding: 11px 12px;
    border-radius: 10px;
    background: linear-gradient(145deg,#fff2e7,#fff9f5 72%);
    color: #2d211e;
    text-decoration: none;
}
.front-call-feed:hover { background: #fff0e6; color: #2d211e; text-decoration: none }
.front-call-feed:focus-visible { outline: 2px solid #e26a3a; outline-offset: 2px }
.front-call-feed-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 9px; background: #ffe8da; color: #a24222 }
.front-call-feed-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.front-call-feed-content { flex: 1; min-width: 0 }
.front-call-feed-meta { display: flex; align-items: center; gap: 4px 9px; flex-wrap: wrap; margin-bottom: 3px; color: #6f625b; font-size: 11px; line-height: 1.35 }
.front-call-feed-meta span { color: #963e23; font-weight: 700 }
.front-call-feed-meta .front-call-feed-source { color: #6f625b; font-weight: 500 }
.front-call-feed-meta time { font-variant-numeric: tabular-nums }
.front-call-feed h2 { font-size: clamp(15px,3.9vw,18px); font-weight: 730; line-height: 1.4; margin: 0; overflow-wrap: anywhere }
.front-call-feed p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 2px 0 0; color: #6a5b54; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere }
.front-call-feed-arrow { flex: 0 0 auto; color: #a34525; font-size: 20px; line-height: 1 }
.circle-feed-row { display: block; padding: clamp(12px, 3.25vw, 18px) clamp(6px, 2vw, 12px); border-bottom: 1px solid #eeeceb; color: #202025; text-decoration: none }
.circle-feed-row.is-pinned { border-bottom-color: #f2e7df; background: linear-gradient(105deg,#fff3eb,#fff9f5 55%,#fffdfb); border-radius: 8px 8px 0 0 }
.circle-feed-row.has-answer .circle-feed-excerpt { padding-left: 8px; border-left: 2px solid #f0d7ca }
.circle-feed-row { position: relative }
.circle-feed-row-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit }
.circle-feed-row-hit:focus-visible { outline: 2px solid var(--primary-color); outline-offset: -2px }
.circle-feed-author { display: inline-flex; align-items: center; min-width: 0; gap: 5px; text-decoration: none; color: inherit }
.circle-feed-row a:is(.circle-feed-author,.circle-feed-heading) { position: relative; z-index: 2 }
.circle-feed-author:hover { color: var(--writing-accent-text) }
.circle-feed-link { display: block; color: #202025; text-decoration: none }
.circle-feed-link:focus-visible { outline-offset: -3px }
.circle-feed-main { display: flex; align-items: center; gap: clamp(10px, 3vw, 16px); min-width: 0 }
.circle-feed-copy { flex: 1; min-width: 0 }
.circle-feed-byline,.circle-feed-meta,.circle-feed-measure,.circle-feed-meters { display: flex; align-items: center }
.circle-feed-pin { display: inline-flex; align-items: center; gap: 4px; margin-inline-end: 7px; color: var(--writing-accent-text); font-size: .73em; font-weight: 700; vertical-align: .10em; white-space: nowrap }
.circle-feed-pin svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round }
.circle-feed-kind { flex: none; padding: 2px 5px; border-radius: 4px; background: #f5f1ef; color: #675b56; font-size: 10px; font-weight: 650; line-height: 1.2; white-space: nowrap }
.circle-feed-heading,.circle-feed-copy .circle-feed-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere }
.writing-shell .circle-feed-title { margin: 0 0 6px; color: #202025; font-size: clamp(16px, 4.4vw, 21px); line-height: 1.4; font-weight: 750 }
.circle-feed-heading { color: inherit; text-decoration: none }
a.circle-feed-heading:hover { color: var(--writing-accent-text) }
.circle-feed-topic-count { color: #7a747c; font-weight: 500; font-variant-numeric: tabular-nums }
.circle-feed-byline { min-width: 0; gap: 6px; min-height: 17px; margin-bottom: 4px; color: #66636b; font-size: 11px; line-height: 1.3 }
.circle-feed-byline img { flex: none; width: 16px; height: 16px; border-radius: 50%; object-fit: cover }
.circle-feed-row.has-answer .circle-feed-byline { min-height: 21px; margin-bottom: 5px }
.circle-feed-row.has-answer .circle-feed-byline img { width: 21px; height: 21px; box-shadow: 0 0 0 1px #ede8e5 }
.circle-feed-byline-kind { flex: none; margin-inline-start: -2px; color: #77717a }
.circle-feed-byline-dot { flex: none; color: #a6a1a4 }
.circle-feed-byline img[hidden],.circle-feed-cover[hidden] { display: none }
.circle-feed-writer { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 650 }
.circle-feed-byline time { flex: none; color: #77737b; white-space: nowrap; font-variant-numeric: tabular-nums }
.circle-feed-copy .circle-feed-excerpt { margin: 0; color: #53515a; font-size: clamp(13px, 3.4vw, 14.5px); line-height: 1.5 }
.circle-feed-cover { position: relative; flex: 0 0 clamp(76px, 23vw, 132px); aspect-ratio: 4/3; margin: 0; border-radius: 8px; overflow: hidden; background: #f4f1f2 }
.circle-feed-cover img { display: block; width: 100%; height: 100%; object-fit: cover }
.circle-feed-cover span { position: absolute; inset: auto 4px 4px auto; padding: 2px 5px; border-radius: 5px; background: #242128ce; color: white; font-size: 10px }
.circle-feed-meta { align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 8px; min-width: 0; color: #6f6a73; font-size: 11px; line-height: 1.3 }
.circle-feed-meters { flex-wrap: wrap; min-width: 0; gap: 5px clamp(8px, 2.4vw, 13px) }
.circle-feed-measure { gap: 3px; white-space: nowrap; font-variant-numeric: tabular-nums }
.circle-feed-measure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.circle-feed-count-label { color: #736e77 }
.writing-front .writing-tag.front-help-badge { background: #fff2e3; color: #9b521c }
.circle-feed-bounty { color: #9b521c }
.circle-feed-read { flex: none; color: var(--writing-accent-text); font-weight: 650; white-space: nowrap }
.circle-feed-read>span { margin-inline-start: 2px; font-size: 14px; line-height: .8 }
@media(max-width:340px){.circle-feed-main.has-cover .circle-feed-byline{flex-wrap:wrap}}
.front-recommend .front-card { position: relative; margin-bottom: 0; padding: 13px 3px; border-radius: 0; background: transparent; box-shadow: none }
.writing-front .front-home-pin { display:inline-flex; align-items:center; flex:none; gap:3px; color:var(--writing-accent-text); font-weight:700; white-space:nowrap }
.front-home-pin svg { width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round }
.front-oc-context { display:flex; align-items:center; gap:8px; font-size:11px }
.writing-front .front-oc-context .front-home-pin { color:#ffe2cd }
.front-card-hit { position:absolute; inset:0; z-index:1; border-radius:inherit }
.front-card-author { display:inline-flex; align-items:center; min-width:0; max-width:45%; gap:5px; color:inherit; text-decoration:none }
.front-card-author img { flex:none }
.front-card-author img[hidden] { display:none }
.front-card-author span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.front-card a:is(.front-card-author,.front-article-author) { position:relative; z-index:2; color:inherit; text-decoration:none }
.front-card a:is(.front-card-author,.front-article-author):hover { color:var(--writing-accent-text) }
.front-recommend .writing-list > .front-card:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 3px;
    height: 1px;
    background: #f0eeec;
    pointer-events: none;
}
.front-recommend .front-card h2 { margin:0 0 3px; font-weight:750 }
.front-recommend .front-card p { margin:0 }
.front-recommend .front-card-meta { gap:4px 7px; margin-top:7px }
.front-feed-type { display:inline-flex; align-items:center; color:#615a58; font-weight:600; white-space:nowrap }
.front-feed-type:not(:last-child)::after { content:""; align-self:center; width:3px; height:3px; margin-inline-start:7px; border-radius:50%; background:#c8bfba }
.front-topic-arrow { flex:none; width:16px; height:16px; margin-inline-end:4px; fill:none; stroke:#928782; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round }
.front-card-article { flex-wrap: wrap; row-gap: 7px }
.front-card-article h2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 0; overflow: hidden; overflow-wrap: anywhere }
.front-article-meta {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 19px;
    align-items: center;
    gap: clamp(5px, 1.8vw, 10px);
    color: #6c6c73;
    font-size: clamp(10px, 2.6vw, 12px);
    line-height: 1.25;
    white-space: nowrap;
}
.front-article-author,.front-article-tags,.front-article-stats,.front-article-stats>span { display: flex; min-width: 0; align-items: center }
.front-article-author { max-width: 26%; gap: 4px }
.front-article-author img { flex: none; width: 17px; height: 17px; border-radius: 50%; object-fit: cover }
.front-article-author img[hidden] { display: none }
.front-article-author span,.front-article-tags .writing-tag { min-width: 0; overflow: hidden; text-overflow: ellipsis }
.front-article-tags { gap:7px; overflow:hidden }
.writing-front .front-article-tags .writing-tag { max-width:7em; padding:0; background:transparent; color:inherit; font-size:inherit; line-height:1.3; font-weight:500 }
.front-article-more-tags { flex: none; color: #746760 }
.front-article-stats { flex: none; gap: clamp(5px, 1.8vw, 9px); margin-inline-start: auto; color: #5e5d65 }
.front-article-stats>span { gap: 2px; font-variant-numeric: tabular-nums }
.front-article-stats svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.writing-front .front-oc-card.spotlight-character{aspect-ratio:auto;min-height:126px;min-height:clamp(126px,36vw,214px);border-radius:12px;background:#392d41;box-shadow:none}
.writing-front .front-oc-card.spotlight-character img{top:0;right:0;left:auto;width:57%;object-position:center top}
.writing-front .front-oc-card.spotlight-character>div{padding:12px clamp(12px,3vw,26px);background:linear-gradient(90deg,#392d41 40%,#392d41e8 50%,#392d4170 63%,#392d4100 76%)}
.writing-front .front-oc-card.spotlight-character h2{max-width:57%}
.writing-front .front-oc-card.spotlight-character p{max-width:55%;-webkit-line-clamp:2;line-height:1.4;text-shadow:0 1px 3px #221d32}
.writing-front .front-floating-compose{position:fixed;display:grid;place-items:center;width:50px;height:50px;right:max(22px,calc((100vw - 1220px)/2));bottom:28px;z-index:34;padding:0;margin:0;color:white;background:linear-gradient(150deg,var(--primary-color),var(--primary-dark));border:1px solid #ffffff6b;border-radius:50%;box-shadow:0 5px 16px #ff6b3545}
.writing-front .front-floating-compose:hover{background:var(--primary-dark)}
.search-list-circle{max-width:790px;margin:0 auto}
.search-circle-result{display:block;box-sizing:border-box;width:100%;text-align:left;cursor:pointer;border:1px solid #f0ebea;background:#fff;border-radius:12px;padding:12px;margin:0 0 8px;color:#202025;break-inside:avoid}
.search-circle-result em{font-size:11px;font-style:normal;color:var(--writing-accent-text);background:var(--writing-accent-soft);padding:3px 8px;border-radius:20px}
.search-circle-result strong{display:block;margin:7px 0 4px;font-size:15px;line-height:1.4}
.search-circle-result p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#626168;font-size:13px;line-height:1.45;margin:0 0 5px}
.search-circle-result small{color:#77747a}
.search-circle-empty{padding:44px 16px;color:#65616a;text-align:center;font-size:14px}
@media(max-width:1023px){
  .writing-front .front-floating-compose{right:16px;bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  .front-recommend .front-daily-inspiration{margin-bottom:8px}
  .front-oc .discover-page > .discover-tabs,.front-oc .discover-search-section > .discover-search{margin-inline:0}
  .front-oc .discover-page > .discover-tabs{padding-block:5px}
  .front-oc .discover-search-section{padding-block:5px 8px}
  .front-oc .discover-banner{margin-bottom:8px}
  .front-oc .discover-page > .discover-body,.front-oc .discover-body-recommend .feed-list-recommend{padding-inline:0}
}
@media(max-width:760px){
  .writing-front .front-top{gap:4px;grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr)}
  .front-free-words{font-size:10.5px;gap:3px;padding:5px 6px}
  .front-free-words svg{width:12px;height:12px}
  .front-search-placeholder{font-size:13px}
}
@media(max-width:350px){.writing-front .front-top{grid-template-columns:minmax(62px,1fr) auto minmax(62px,1fr)}.writing-front .writing-tabs{gap:12px}.front-free-words svg{display:none}}
