/* Returning-visitor experience. Hidden unless the head script marked this browser as returning. */
.chot-returning-home,.chot-sticky-cta{display:none}
.chot-returning .chot-returning-home{display:block;min-height:480px;padding:32px 0 24px;background:#fff;border-bottom:1px solid var(--chot-border)}
.chot-returning .chot-returning-home.is-ready{min-height:0}
.chot-returning .chot-returning-home.is-empty{display:none}
.chot-returning-home__shell{max-width:880px}
.chot-returning-home__loading{margin:0;color:var(--chot-muted);font-size:14px}

.chot-returning__hello{margin:0 0 20px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(24px,2.4vw,32px);line-height:1.35}
.chot-returning__block{margin:0 0 28px}
.chot-returning__label{margin:0 0 10px;font-size:13px;font-weight:700;letter-spacing:.04em;color:#c4566f}
.chot-returning__text{margin:0 0 12px;font-size:15px;line-height:1.8}
.chot-returning__count{font-size:13px;color:var(--chot-muted)}
.chot-returning__cta{margin:16px auto 0}
.chot-returning__first{margin:8px 0 0;text-align:center;font-size:14px}
.chot-returning__first a{color:var(--chot-muted)}

.chot-progress{display:block;height:6px;margin:6px 0;border-radius:99px;background:var(--chot-pink-soft);overflow:hidden}
.chot-progress__bar{display:block;height:100%;border-radius:inherit;background:var(--chot-pink)}

.chot-resume,.chot-next-step{display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:center;padding:12px;border:1px solid var(--chot-border);border-radius:18px;background:var(--chot-surface);color:inherit;text-decoration:none;box-shadow:0 8px 24px rgba(60,44,36,.06)}
.chot-resume:hover,.chot-next-step:hover{border-color:#dfcfc6}
.chot-resume__img,.chot-next-step__img{width:100%;aspect-ratio:1200/630;object-fit:cover;object-position:top center;border-radius:12px}
.chot-resume__body,.chot-next-step__body{display:grid;gap:4px;min-width:0}
.chot-resume__title,.chot-next-step__title{font-size:17px;font-weight:700;line-height:1.5}
.chot-resume__meta{font-size:12px;color:var(--chot-muted)}
.chot-next-step{border-color:#f0c4cf;background:var(--chot-pink-soft)}
.chot-next-step__excerpt{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.7;color:var(--chot-muted)}
.chot-next-step__more{font-size:14px;font-weight:700;color:#c4566f}

.chot-returning__bonus{padding:18px 18px 4px;border:2px solid #f0c4cf;border-radius:18px;background:#fff8fa}
.chot-returning__bonus-title{margin:0 0 6px;font-weight:700;color:#c4566f}

.chot-path{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.chot-path__item{display:flex;gap:10px;align-items:baseline;font-size:15px}
.chot-path__mark{flex:0 0 20px;height:20px;border:2px solid #e4b6c1;border-radius:6px;color:#fff;font-size:13px;line-height:16px;text-align:center}
.chot-path__item.is-read .chot-path__mark{background:var(--chot-pink);border-color:var(--chot-pink)}
.chot-preview .chot-returning-home::before{content:"プレビュー表示中（2回目以降の人の画面）";display:block;padding:8px 16px;background:#3b2f33;color:#fff;font-size:13px;text-align:center}
.chot-returning__pr{margin-left:6px;padding:0 6px;border-radius:4px;background:#eee;color:#777;font-size:11px;font-weight:400;vertical-align:1px}
.chot-path__item a{color:var(--chot-text);text-decoration:underline;text-decoration-color:#e4b6c1;text-underline-offset:3px}
.chot-path__item.is-read a{color:var(--chot-muted);text-decoration-color:var(--chot-border)}
.chot-returning-home .screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.chot-returning__group-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 10px}
.chot-returning__group-title{margin:0;font-size:18px}
.chot-rgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.chot-rgrid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.chot-rcard{display:grid;grid-template-rows:auto 1fr;overflow:hidden;border:1px solid var(--chot-border);border-radius:16px;background:var(--chot-surface);color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease}
.chot-rcard:hover,.chot-rcard:focus-visible{transform:translateY(-2px);border-color:#dfcfc6;outline:none}
.chot-rcard__media{position:relative;display:block;aspect-ratio:1200/630;overflow:hidden;background:var(--chot-pink-soft)}
.chot-rcard__flags{position:absolute;top:8px;left:8px;display:flex;gap:6px}
.chot-rcard__flags .chot-badge{box-shadow:0 2px 8px rgba(60,44,36,.18)}
.chot-rcard__flags .chot-badge--read{background:rgba(34,28,26,.88)}
.chot-rcard__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.chot-rcard__body{display:grid;align-content:start;gap:6px;padding:10px 12px 12px}
.chot-rcard__title{font-size:14px;font-weight:700;line-height:1.55}
.chot-rcard.is-read .chot-rcard__media{opacity:.6}
.chot-rcard__badges{display:flex;gap:6px}
.chot-badge{display:inline-block;padding:1px 8px;border-radius:99px;font-size:11px;font-weight:700;line-height:1.7}
.chot-badge--new{background:var(--chot-coral);color:#fff}
.chot-badge--read{background:#2b2522;color:#fff}

.chot-read-flag{position:absolute;top:8px;left:8px;z-index:1;display:flex}
.chot-read-flag .chot-badge{box-shadow:0 2px 8px rgba(60,44,36,.18);background:rgba(34,28,26,.88)}
.chot-top-latest-card__media{position:relative}
.chot-top-latest-card.is-read .chot-top-latest-card__img,.chot-latest-card.is-read .chot-latest-card__img{opacity:.6}
.chot-top-latest-card__body>.chot-badge,.chot-latest-card__body>.chot-badge{justify-self:start}
.chot-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.chot-push{padding:16px 18px;border:1px dashed var(--chot-border);border-radius:16px}
.chot-push__btn{padding:10px 20px;border:2px solid var(--chot-pink);border-radius:99px;background:#fff;color:#c4566f;font-weight:700;font-size:15px;cursor:pointer}
.chot-push__btn.is-on{background:var(--chot-pink-soft)}
.chot-push__btn:disabled{opacity:.6;cursor:wait}
.chot-push__status:empty{display:none}
.chot-push__status{margin:10px 0 0;font-size:13px}

.chot-next-read{margin:40px 0 0}
.chot-next-read__title{margin:0 0 14px;font-size:20px}

@media(max-width:820px){
  .chot-returning .chot-sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:45;display:flex;align-items:center;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:rgba(255,253,249,.96);box-shadow:0 -6px 20px rgba(80,50,40,.12);transform:translateY(110%);transition:transform .25s ease}
  .chot-returning .chot-sticky-cta.is-visible{transform:none}
  .chot-sticky-cta__btn{flex:1;min-height:52px;margin:0}
  .chot-sticky-cta__close{flex:0 0 36px;height:36px;border:0;border-radius:50%;background:#f1ecea;color:var(--chot-muted);font-size:18px;line-height:1;cursor:pointer}
  .chot-has-sticky .chot-back-to-top{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){.chot-returning .chot-sticky-cta{transition:none}}
@media(max-width:620px){
  .chot-returning .chot-returning-home{padding:24px 0 16px}
  .chot-resume,.chot-next-step{grid-template-columns:110px 1fr;gap:12px;padding:10px}
  .chot-resume__title,.chot-next-step__title{font-size:15px}
  .chot-rgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .chot-rgrid--three{grid-template-columns:1fr}
  .chot-rgrid--three .chot-rcard{grid-template-columns:110px 1fr;grid-template-rows:none}
  .chot-rgrid--three .chot-rcard__media{align-self:center}
  .chot-rcard__title{font-size:13px}
}

/* Bookmark (しおり): button just left of back-to-top, a dashed line at the saved spot, and a small toast. */
.chot-mark-btn{position:fixed;right:68px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:center;gap:6px;height:44px;padding:0 16px 0 12px;border:1px solid #f1c9d3;border-radius:999px;background:rgba(255,255,255,.96);color:var(--chot-pink);font-size:14px;font-weight:800;box-shadow:0 8px 20px rgba(80,50,40,.14);cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s ease,transform .15s ease}
.chot-mark-btn.is-visible{opacity:1;visibility:visible;pointer-events:auto}
.chot-mark-btn:hover{transform:translateY(-2px)}
.chot-mark-btn__icon{width:12px;height:16px;background:var(--chot-pink);clip-path:polygon(0 0,100% 0,100% 100%,50% 72%,0 100%)}
.chot-mark-ribbon{position:absolute;left:0;right:0;height:0;border-top:2px dashed var(--chot-pink);z-index:2;pointer-events:none}
.chot-mark-ribbon::before{content:"しおり";position:absolute;left:0;top:-2px;padding:2px 10px 4px;border-radius:0 0 8px 8px;background:var(--chot-pink);color:#fff;font-size:11px;font-weight:800;line-height:1.4}
.chot-mark-toast{position:fixed;left:50%;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:46;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;max-width:min(92vw,440px);padding:12px 16px;border-radius:16px;background:#3c2c24;color:#fff;font-size:14px;line-height:1.5;box-shadow:0 10px 28px rgba(40,25,20,.28);transform:translate(-50%,16px);opacity:0;visibility:hidden;transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.chot-mark-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.chot-mark-toast button{min-height:40px;padding:0 14px;border:0;border-radius:999px;font-size:14px;font-weight:800;cursor:pointer}
.chot-mark-toast__jump{background:var(--chot-pink);color:#fff}
.chot-mark-toast__remove{background:transparent;color:#f3dfe4;text-decoration:underline}
@media(max-width:820px){.chot-has-sticky .chot-mark-btn{bottom:calc(84px + env(safe-area-inset-bottom,0px))}.chot-has-sticky .chot-mark-toast{bottom:calc(140px + env(safe-area-inset-bottom,0px))}}
@media(max-width:520px){.chot-mark-btn{right:60px;height:40px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.chot-mark-btn,.chot-mark-toast{transition:none}}