body.otd-app-route { background: #f7f7f7; }
body.otd-app-route .otd-main { min-height: 100vh; }

.otd-login-shell { min-height: 100vh; display: grid; grid-template-columns: 42% 58%; background: #fff; }
.otd-login-art { position: relative; overflow: hidden; background: #171717; }
.otd-login-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, transparent 0 46%, rgba(255,255,255,.10) 47% 58%, transparent 59%),
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.10), transparent 25%),
    radial-gradient(circle at 75% 78%, rgba(255,255,255,.06), transparent 32%),
    linear-gradient(180deg, #242424, #080808);
  transform: scale(1.08);
}
.otd-login-art__brand { position: absolute; z-index: 2; top: 42px; left: 44px; color: #fff; font-size: 27px; font-weight: 700; letter-spacing: -.035em; }
.otd-login-art__copy { position: absolute; z-index: 2; left: 44px; right: 44px; bottom: 52px; color: #fff; }
.otd-login-art__copy span { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.otd-login-art__copy h2 { max-width: 520px; margin: 18px 0 0; font-family: var(--otd-font-display); font-size: clamp(40px, 5vw, 78px); line-height: .98; font-weight: 500; letter-spacing: -.035em; }
.otd-login-panel { display: flex; align-items: center; justify-content: center; padding: 60px 8vw; }
.otd-login-card { width: min(470px, 100%); }
.otd-login-card__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.otd-login-card h1 { margin: 18px 0 10px; font-size: clamp(42px, 5vw, 68px); font-weight: 600; line-height: .98; letter-spacing: -.04em; }
.otd-login-card > p { margin: 0 0 34px; color: var(--otd-muted); line-height: 1.6; }
.otd-login-form label { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 500; }
.otd-login-form input[type="text"], .otd-login-form input[type="password"] { width: 100%; min-height: 54px; margin-top: 8px; padding: 0 16px; border: 1px solid var(--otd-line); border-radius: 12px; background: #fbfaf8; }
.otd-login-form .login-remember { font-size: 13px; font-weight: 500; }
.otd-login-form .login-submit input { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: #111111; color: #fff; font-weight: 600; cursor: pointer; }
.otd-login-links { display: flex; justify-content: space-between; gap: 18px; margin-top: 20px; color: var(--otd-muted); font-size: 13px; }
.otd-login-legal { margin-top: 54px; color: #99958e; font-size: 11px; line-height: 1.7; }
.otd-login-alert { margin-bottom: 18px; padding: 13px 15px; border: 1px solid #e6e6e6; border-radius: 12px; background: #f7f7f7; color: #4e4e4e; font-size: 13px; }

.otd-app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0,1fr); }
.otd-app-nav { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--otd-line); background: #fff; z-index: 30; }
.otd-app-nav__brand { display: flex; align-items: center; min-height: 82px; padding: 0 24px; border-bottom: 1px solid var(--otd-line); font-size: 25px; font-weight: 700; letter-spacing: -.035em; }
.otd-app-nav__scroll { overflow: auto; padding: 20px 14px; }
.otd-nav-label { display: block; margin: 22px 12px 8px; color: #9a9a9a; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.otd-nav-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; margin: 3px 0; border-radius: 11px; color: #5f5f5f; font-size: 14px; font-weight: 500; letter-spacing: -.006em; }
.otd-nav-link:hover, .otd-nav-link.is-active { background: #f3f3f3; color: var(--otd-ink); }
.otd-nav-link.is-active::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #111111; }
.otd-nav-icon { width: 19px; text-align: center; font-size: 17px; }
.otd-app-user { margin-top: auto; padding: 14px; border-top: 1px solid var(--otd-line); }
.otd-user-card { display: grid; grid-template-columns: 40px 1fr 26px; align-items: center; gap: 10px; }
.otd-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #ededed; }
.otd-user-card strong { display: block; font-size: 13px; }
.otd-user-card span { color: var(--otd-muted); font-size: 11px; }

.otd-app-main { min-width: 0; }
.otd-app-topbar { position: sticky; top: 0; z-index: 20; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 34px; border-bottom: 1px solid var(--otd-line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.otd-mobile-menu { display: none; width: 42px; height: 42px; border: 1px solid var(--otd-line); border-radius: 12px; background: #fff; }
.otd-topbar-title strong { display: block; font-size: 16px; }
.otd-topbar-title span { color: var(--otd-muted); font-size: 12px; }
.otd-topbar-actions { display: flex; align-items: center; gap: 10px; }
.otd-icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--otd-line); border-radius: 50%; background: #fff; cursor: pointer; }
.otd-app-content { padding: 36px; }
.otd-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.otd-page-head h1 { margin: 5px 0 0; font-size: clamp(34px, 4vw, 56px); font-weight: 600; letter-spacing: -.038em; line-height: 1; }
.otd-page-head p { margin: 8px 0 0; color: var(--otd-muted); }
.otd-page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.otd-notice { margin-bottom: 22px; padding: 14px 16px; border: 1px solid #e4e4e4; border-radius: 13px; background: #f7f7f7; color: #4e4e4e; font-size: 13px; }
.otd-notice--error { border-color: #dddddd; background: #fafafa; color: #4e4e4e; }
.otd-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.otd-card { border: 1px solid var(--otd-line); border-radius: var(--otd-radius); background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.otd-stat { min-height: 156px; padding: 22px; }
.otd-stat__top { display: flex; align-items: center; justify-content: space-between; color: var(--otd-muted); font-size: 12px; }
.otd-stat__value { margin-top: 28px; font-size: 33px; font-weight: 500; letter-spacing: -.03em; }
.otd-stat__delta { margin-top: 8px; font-size: 11px; color: #6b6b6b; }
.otd-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .75fr); gap: 14px; margin-top: 14px; }
.otd-panel { padding: 24px; }
.otd-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.otd-panel-head h2 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.018em; }
.otd-panel-head a { color: var(--otd-muted); font-size: 12px; }
/* Premium internal analytics: dark metric matrix + line/area graph. */
.otd-analytics-panel { overflow: hidden; padding: 0; border-color: #252525; background: #101010; color: #fff; box-shadow: 0 22px 55px rgba(0,0,0,.14); }
.otd-analytics-head { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid #292929; background: #111; }
.otd-analytics-eyebrow { display: block; margin-bottom: 5px; color: #8d8d8d; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.otd-analytics-head h2 { margin: 0; color: #fff; font-size: 19px; font-weight: 500; letter-spacing: -.018em; }
.otd-analytics-head__meta { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.otd-analytics-period, .otd-analytics-preview { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border: 1px solid #333; border-radius: 999px; color: #aaa; background: #181818; font-size: 9px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.otd-analytics-preview { border-color: rgba(255,106,42,.32); color: #ff8b58; background: rgba(255,106,42,.08); }
.otd-analytics-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-bottom: 1px solid #292929; background: #121212; }
.otd-analytics-metric { min-height: 88px; padding: 16px 20px; border-right: 1px solid #292929; border-bottom: 1px solid #292929; background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); }
.otd-analytics-metric:nth-child(3n) { border-right: 0; }
.otd-analytics-metric:nth-last-child(-n+3) { border-bottom: 0; }
.otd-analytics-metric__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #8c8c8c; font-size: 10px; }
.otd-analytics-metric__top small { font-size: 9px; font-weight: 500; white-space: nowrap; }
.otd-analytics-metric__top small.is-positive { color: #42d69d; }
.otd-analytics-metric__top small.is-neutral { color: #ff8b58; }
.otd-analytics-metric > strong { display: block; margin-top: 10px; color: #f7f7f7; font-size: 21px; font-weight: 400; letter-spacing: -.02em; }
.otd-line-chart { position: relative; min-height: 330px; padding: 8px 18px 15px; background: radial-gradient(circle at 62% 15%, rgba(255,106,42,.08), transparent 28%), #101010; }
.otd-line-chart svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 340; min-height: 240px; max-height: 340px; overflow: visible; }
.otd-chart-gridline { stroke: #292929; stroke-width: 1; vector-effect: non-scaling-stroke; }
.otd-chart-axis-label { fill: #777; font-size: 11px; }
.otd-chart-area { fill: url(#otdAnalyticsArea); }
.otd-chart-line { fill: none; stroke: #ff6425; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: url(#otdAnalyticsGlow); }
.otd-chart-point { fill: #ff6425; stroke: #101010; stroke-width: 2; opacity: .32; vector-effect: non-scaling-stroke; }
.otd-chart-point.is-active { opacity: 1; }
.otd-chart-tooltip rect { fill: #2b2523; stroke: #45352f; stroke-width: 1; }
.otd-chart-tooltip text { fill: #c8bbb5; font-size: 12px; }
.otd-chart-tooltip .otd-chart-tooltip__value { fill: #fff; font-size: 18px; font-weight: 500; }
.otd-chart-dates { display: flex; justify-content: space-between; gap: 12px; padding: 0 20px 0 44px; color: #656565; font-size: 9px; }
.otd-chart-empty-copy { position: absolute; left: 50%; bottom: 50px; transform: translateX(-50%); width: min(430px,80%); padding: 11px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; color: #aaa; background: rgba(18,18,18,.78); backdrop-filter: blur(7px); text-align: center; font-size: 10px; line-height: 1.5; }
.otd-analytics-note { margin: 0; padding: 14px 22px 18px; border-top: 1px solid #292929; color: #777; background: #101010; font-size: 10px; line-height: 1.55; }
.otd-activity { display: grid; gap: 4px; }
.otd-activity-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid #efefef; }
.otd-activity-item:last-child { border-bottom: 0; }
.otd-activity-dot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f2f2f2; }
.otd-activity-item strong { display: block; font-size: 13px; }
.otd-activity-item span { color: var(--otd-muted); font-size: 11px; }

.otd-table-card { overflow: hidden; }
.otd-list-row { display: grid; grid-template-columns: 58px minmax(180px, 1.4fr) repeat(3, minmax(90px,.5fr)) 38px; align-items: center; gap: 14px; min-height: 84px; padding: 12px 18px; border-bottom: 1px solid var(--otd-line); background: #fff; }
.otd-list-row:last-child { border-bottom: 0; }
.otd-list-row--campaign { grid-template-columns: 68px minmax(190px,1.4fr) minmax(110px,.5fr) minmax(110px,.5fr) 110px; }
.otd-list-row__image { width: 58px; height: 58px; object-fit: cover; border-radius: 11px; background: #f0f0f0; }
.otd-list-row__title strong { display: block; font-size: 14px; }
.otd-list-row__title span, .otd-list-cell span { color: var(--otd-muted); font-size: 11px; }
.otd-list-cell strong { display: block; font-size: 12px; }
.otd-status { display: inline-flex; align-items: center; width: fit-content; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #f2f2f2; color: #4f4f4f; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .055em; }
.otd-status--publish, .otd-status--confirmed, .otd-status--active { background: #ededed; color: #111111; }
.otd-status--pending, .otd-status--draft { background: #f5f5f5; color: #5d5d5d; }

.otd-form-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr); gap: 16px; align-items: start; }
.otd-form-card { padding: 26px; }
.otd-field { display: block; margin-bottom: 20px; }
.otd-field > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; }
.otd-field small { display: block; margin-top: 7px; color: var(--otd-muted); line-height: 1.4; }
.otd-field input[type="text"], .otd-field input[type="url"], .otd-field input[type="email"], .otd-field input[type="number"], .otd-field input[type="date"], .otd-field textarea, .otd-field select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--otd-line); border-radius: 11px; background: #fafafa; outline: none; }
.otd-field textarea { min-height: 150px; resize: vertical; }
.otd-field input:focus, .otd-field textarea:focus, .otd-field select:focus { border-color: #a7a299; box-shadow: 0 0 0 3px rgba(0,0,0,.035); }
.otd-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.otd-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 300px; overflow: auto; padding: 8px; border: 1px solid var(--otd-line); border-radius: 12px; }
.otd-check-item { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 7px 9px; border-radius: 8px; background: #f6f6f6; font-size: 12px; }
.otd-image-upload { min-height: 230px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #d5d5d5; border-radius: 15px; background: #f7f7f7; text-align: center; }
.otd-image-upload img { width: 100%; max-height: 360px; object-fit: cover; }
.otd-side-note { padding: 22px; }
.otd-side-note h3 { margin-top: 0; font-size: 16px; }
.otd-side-note p, .otd-side-note li { color: var(--otd-muted); font-size: 12px; line-height: 1.65; }
.otd-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 10px; }

.otd-empty { padding: 70px 24px; text-align: center; }
.otd-empty strong { display: block; margin-bottom: 10px; font-size: 22px; }
.otd-empty p { max-width: 520px; margin: 0 auto 20px; color: var(--otd-muted); line-height: 1.6; }

.otd-public-profile { background: #fff; }
.otd-profile-cover { position: relative; min-height: 370px; background: linear-gradient(135deg,#f0f0f0,#1a1a1a); overflow: hidden; }
.otd-profile-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.otd-profile-header { width: min(1180px, 92vw); margin: -66px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: end; gap: 24px; }
.otd-profile-avatar { display:block; width:132px; height:132px; min-width:132px; min-height:132px; aspect-ratio:1/1; border:6px solid #fff; border-radius:50%; object-fit:cover; object-position:center; background:#eeeae4; flex:0 0 auto; }
.otd-profile-identity { padding-bottom: 8px; }
.otd-profile-identity h1 { margin: 0; font-size: clamp(36px,5vw,62px); font-weight: 600; letter-spacing: -.038em; }
.otd-profile-identity p { margin:0; color:var(--otd-muted); max-width:650px; line-height:1.5; }
.otd-profile-bio-row { display:flex; align-items:center; gap:12px; min-width:0; margin-top:7px; }
.otd-profile-bio { min-width:0; flex:0 1 auto; }
.otd-profile-bio-row .otd-profile-edit-trigger { flex:0 0 auto; margin:0; }
.otd-profile-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.otd-profile-socials a { padding: 7px 11px; border: 1px solid var(--otd-line); border-radius: 999px; font-size: 11px; }
.otd-profile-actions { grid-column:2; display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-start; padding:4px 0 8px; }
.otd-profile-actions:empty { display:none; }
.otd-profile-tabs { width: min(1180px, 92vw); margin: 20px auto 0; display: grid; grid-template-columns: repeat(var(--otd-profile-tab-count, 4), minmax(0,1fr)); gap: 0; border-bottom: 1px solid var(--otd-line); align-items: stretch; }
.otd-profile-tabs a { min-height: 58px; padding: 12px 0 14px; color: var(--otd-muted); display: flex; align-items: center; justify-content: center; position: relative; transition: color .2s ease, background-color .2s ease; }
.otd-profile-tabs a:hover { color: var(--otd-ink); background: #fbfbfb; }
.otd-profile-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background-color .2s ease; }
.otd-profile-tabs a.is-active { color: var(--otd-ink); }
.otd-profile-tabs a.is-active::after { background: var(--otd-ink); }
.otd-tab-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.otd-tab-icon svg { width: 24px; height: 24px; display: block; }
.otd-profile-content { width: min(1180px, 92vw); margin: 0 auto; padding: 46px 0 90px; }
.otd-profile-content--private { padding-top: 34px; }
.otd-profile-content--private .otd-page-head { margin-bottom: 24px; }
.otd-private-profile-form { margin-top: 0; }
.otd-profile-content h2 { margin: 0 0 24px; font-size: 32px; font-weight: 500; letter-spacing: -.025em; }
.otd-public-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.otd-public-card { overflow: hidden; border: 1px solid var(--otd-line); border-radius: 16px; background: #fff; }
.otd-public-card__media { aspect-ratio: 4/5; background: #f0f0f0; overflow: hidden; }
.otd-public-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.otd-public-card:hover img { transform: scale(1.025); }
.otd-public-card__body { padding: 17px; }
.otd-public-card__body span { color: var(--otd-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.otd-public-card__body h3 { margin: 9px 0 7px; font-size: 18px; font-weight: 500; letter-spacing: -.014em; }
.otd-public-card__body p { color: var(--otd-muted); font-size: 12px; line-height: 1.5; }
.otd-price { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; font-weight: 600; }
.otd-product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.otd-product-tags a { padding: 7px 9px; border-radius: 999px; background: #f3f3f3; font-size: 10px; }
.otd-diary-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.otd-diary-card { min-height: 380px; display: flex; align-items: end; position: relative; overflow: hidden; border-radius: 18px; background: #191919; color: #fff; }
.otd-diary-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.otd-diary-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.78)); }
.otd-diary-card__body { position: relative; z-index: 2; padding: 28px; }
.otd-diary-card h3 { margin: 10px 0 0; max-width: 520px; font-family: var(--otd-font-display); font-size: 34px; font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }

.otd-single-story { background: #fff; }
.otd-story-hero { width: min(1300px, 94vw); margin: 28px auto 0; min-height: 68vh; display: grid; place-items: end start; padding: 6vw; border-radius: 22px; background: #1b1b1b; color: #fff; position: relative; overflow: hidden; }
.otd-story-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.otd-story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent,rgba(0,0,0,.75)); }
.otd-story-hero__copy { position: relative; z-index: 2; max-width: 850px; }
.otd-story-hero__copy span { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.otd-story-hero h1 { margin: 18px 0; font-family: var(--otd-font-display); font-size: clamp(48px,7vw,96px); font-weight: 500; line-height: .97; letter-spacing: -.035em; }
.otd-story-body { width: min(760px, 88vw); margin: 70px auto 100px; font-family: var(--otd-font-sans); font-size: 19px; font-weight: 400; line-height: 1.75; letter-spacing: -.006em; }
.otd-story-products { width: min(1100px, 92vw); margin: 0 auto 100px; padding-top: 50px; border-top: 1px solid var(--otd-line); }

@media (max-width: 1100px) {
  .otd-stat-grid { grid-template-columns: repeat(2,1fr); }
  .otd-dashboard-grid { grid-template-columns: 1fr; }
  .otd-public-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 880px) {
  .otd-analytics-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .otd-analytics-metric:nth-child(3n) { border-right: 1px solid #292929; }
  .otd-analytics-metric:nth-child(2n) { border-right: 0; }
  .otd-analytics-metric:nth-last-child(-n+3) { border-bottom: 1px solid #292929; }
  .otd-analytics-metric:nth-last-child(-n+2) { border-bottom: 0; }
  .otd-login-shell { grid-template-columns: 1fr; }
  .otd-login-art { min-height: 300px; }
  .otd-login-art__copy h2 { font-size: 44px; }
  .otd-login-panel { padding: 60px 24px; }
  .otd-app-shell { grid-template-columns: 1fr; }
  .otd-app-nav { position: fixed; left: -260px; width: 244px; transition: left .22s ease; box-shadow: var(--otd-shadow); }
  .otd-app-shell.is-nav-open .otd-app-nav { left: 0; }
  .otd-mobile-menu { display: grid; place-items: center; }
  .otd-app-topbar { padding: 0 18px; }
  .otd-app-content { padding: 24px 18px 50px; }
  .otd-form-layout { grid-template-columns: 1fr; }
  .otd-profile-header { grid-template-columns: 112px minmax(0,1fr); }
  .otd-profile-avatar { width:112px; height:112px; min-width:112px; min-height:112px; }
  .otd-profile-actions { grid-column:2; }
  .otd-diary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .otd-analytics-head { align-items: flex-start; flex-direction: column; padding: 18px; }
  .otd-analytics-head__meta { justify-content: flex-start; }
  .otd-analytics-metric { min-height: 78px; padding: 14px; }
  .otd-analytics-metric > strong { font-size: 18px; }
  .otd-line-chart { min-height: 270px; padding: 4px 8px 12px; }
  .otd-line-chart svg { min-height: 220px; max-height: 260px; }
  .otd-chart-dates { padding-left: 38px; font-size: 8px; }
  .otd-page-head { align-items: flex-start; flex-direction: column; }
  .otd-stat-grid { grid-template-columns: 1fr 1fr; }
  .otd-stat { min-height: 130px; padding: 17px; }
  .otd-stat__value { margin-top: 18px; font-size: 26px; }
  .otd-list-row, .otd-list-row--campaign { grid-template-columns: 50px 1fr 34px; min-height: 75px; padding: 10px 12px; }
  .otd-list-row__image { width: 50px; height: 50px; }
  .otd-list-cell { display: none; }
  .otd-field-grid { grid-template-columns: 1fr; }
  .otd-check-grid { grid-template-columns: 1fr; }
  .otd-public-grid { grid-template-columns: 1fr; }
  .otd-profile-cover { min-height: 250px; }
  .otd-profile-header { margin-top:-54px; grid-template-columns:104px minmax(0,1fr); gap:14px; }
  .otd-profile-avatar { width:104px; height:104px; min-width:104px; min-height:104px; }
  .otd-profile-identity h1 { font-size: 34px; }
  .otd-profile-identity p { font-size:13px; }
  .otd-profile-bio-row { gap:9px; margin-top:6px; }
  .otd-profile-tabs { margin-top:16px; width: min(1180px, 94vw); }
  .otd-profile-tabs a { min-height: 54px; padding: 11px 0 13px; }
  .otd-tab-icon, .otd-tab-icon svg { width: 22px; height: 22px; }
}


/* Typography refinement — matches the clean Die Grotesk-style reference. */
.otd-app-shell, .otd-login-shell, .otd-public-profile, .otd-single-story {
  font-family: var(--otd-font-sans);
}
.otd-app-shell h1, .otd-app-shell h2, .otd-app-shell h3,
.otd-login-shell h1, .otd-login-shell h2,
.otd-public-profile h1, .otd-public-profile h2, .otd-public-profile h3,
.otd-single-story h1, .otd-single-story h2, .otd-single-story h3 {
  font-family: var(--otd-font-display);
}
.otd-line-chart text {
  font-family: var(--otd-font-sans);
}


/* 0.4.0 monochrome palette overrides */
.otd-topbar-actions .otd-btn--accent, .otd-page-actions .otd-btn--accent { background: #111111; border-color: #111111; color: #ffffff; }
.otd-topbar-actions .otd-btn--light, .otd-page-actions .otd-btn--light { background: #ffffff; border-color: #d9d9d9; color: #111111; }
.otd-stat__delta, .otd-list-cell em, .otd-list-row__title span, .otd-activity-item span { color: #6b6b6b; }
.otd-check-grid { background: #ffffff; }
.otd-card { box-shadow: 0 1px 0 rgba(0,0,0,.015); }

/* 0.5.0 — interactive all-time daily analytics */
.otd-analytics-preview {
  border-color: #3a3a3a;
  color: #d6d6d6;
  background: #1a1a1a;
}
.otd-analytics-metric__top small.is-positive,
.otd-analytics-metric__top small.is-neutral {
  color: #cfcfcf;
}
.otd-live-chart {
  min-height: 0;
  padding: 0;
  background: #101010;
}
.otd-chart-stage {
  position: relative;
  min-height: 340px;
  padding: 8px 18px 0;
  background: radial-gradient(circle at 62% 12%, rgba(255,255,255,.05), transparent 30%), #101010;
}
.otd-live-chart__svg {
  display: block;
  width: 100%;
  height: 340px;
  min-height: 340px;
  max-height: none;
  overflow: visible;
  touch-action: none;
}
.otd-chart-gridline {
  stroke: #2b2b2b;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.otd-chart-axis-label,
.otd-chart-date-label {
  fill: #767676;
  font-family: var(--otd-font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -.01em;
}
.otd-chart-area {
  pointer-events: none;
}
.otd-chart-line {
  fill: none;
  stroke: #f7f7f7;
  stroke-width: 2.15;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  animation: otd-chart-draw .75s ease both;
}
.otd-chart-focus-line {
  stroke: rgba(255,255,255,.25);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.otd-chart-focus-point {
  fill: #fff;
  stroke: #111;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.otd-chart-overlay {
  cursor: crosshair;
  outline: none;
}
.otd-chart-overlay:focus-visible {
  stroke: rgba(255,255,255,.35);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.otd-live-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 145px;
  padding: 11px 13px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  color: #111;
  background: rgba(255,255,255,.97);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  transform: translate(12px, calc(-100% - 12px));
  pointer-events: none;
}
.otd-live-tooltip.is-left {
  transform: translate(calc(-100% - 12px), calc(-100% - 12px));
}
.otd-live-tooltip.is-low {
  transform: translate(12px, 12px);
}
.otd-live-tooltip.is-left.is-low {
  transform: translate(calc(-100% - 12px), 12px);
}
.otd-live-tooltip span,
.otd-live-tooltip small {
  display: block;
  color: #6f6f6f;
  font-size: 9px;
  line-height: 1.35;
}
.otd-live-tooltip strong {
  display: block;
  margin: 4px 0 1px;
  color: #111;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.otd-chart-empty-copy {
  bottom: 56px;
  border-color: rgba(255,255,255,.12);
  color: #b7b7b7;
  background: rgba(17,17,17,.88);
  pointer-events: none;
}
.otd-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 22px 16px;
  border-top: 1px solid #292929;
  color: #777;
  background: #101010;
  font-size: 9px;
  line-height: 1.5;
}
.otd-chart-footer strong {
  color: #aaa;
  font-weight: 500;
}
.otd-live-chart.has-chart-error .otd-chart-stage::after {
  content: "The analytics chart could not be loaded.";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #aaa;
  font-size: 12px;
}
@keyframes otd-chart-draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}
@media (max-width: 650px) {
  .otd-chart-stage {
    min-height: 280px;
    padding: 4px 8px 0;
  }
  .otd-live-chart__svg {
    height: 280px;
    min-height: 280px;
    max-height: none;
  }
  .otd-chart-axis-label,
  .otd-chart-date-label {
    font-size: 9px;
  }
  .otd-chart-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-inline: 16px;
  }
  .otd-live-tooltip {
    min-width: 128px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .otd-chart-line { animation: none; }
}


/* otDiary 0.7.0 — creator verification by application. */
.otd-verified-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  vertical-align: middle;
}
.otd-verified-name > span:first-child {
  min-width: 0;
}
.otd-verified-badge {
  display: inline-block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  object-fit: contain;
  vertical-align: -3px;
}
.otd-verified-badge--sidebar {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
}
.otd-verified-name--card {
  gap: 5px;
}
.otd-verified-name--story {
  gap: 5px;
}
.otd-sidebar-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 146px;
}
.otd-profile-identity h1 .otd-verified-name {
  align-items: center;
}
.otd-profile-identity h1 .otd-verified-badge {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}
.otd-story-author .otd-verified-name {
  display: inline-flex;
}

.otd-verification-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 14px;
}
.otd-verification-status,
.otd-verification-guide {
  min-height: 230px;
  padding: 28px;
}
.otd-verification-status {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}
.otd-verification-status__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #f2f2f2;
  color: #777;
  font-size: 25px;
  font-weight: 700;
}
.otd-verification-status.is-approved .otd-verification-status__icon {
  border-color: #d8e8f8;
  background: #eef6fd;
}
.otd-verification-status__icon .otd-verified-badge--large {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
.otd-verification-status h2,
.otd-verification-guide h3,
.otd-verification-form h2 {
  margin: 10px 0 10px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.otd-verification-status h2 {
  font-size: clamp(28px, 3vw, 42px);
}
.otd-verification-status p,
.otd-verification-guide p,
.otd-verification-guide li,
.otd-form-intro p {
  color: var(--otd-muted);
  line-height: 1.65;
}
.otd-verification-status small {
  display: block;
  margin-top: 18px;
  color: #858585;
}
.otd-verification-guide ul {
  margin: 18px 0 0;
  padding-left: 19px;
}
.otd-verification-guide li + li {
  margin-top: 9px;
}
.otd-verification-message {
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #f5f5f5;
}
.otd-verification-message strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}
.otd-verification-message p {
  margin: 0;
  color: #333;
}
.otd-verification-form {
  margin-top: 14px;
}
.otd-form-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--otd-line);
}
.otd-form-intro p {
  width: min(420px, 100%);
  margin: 0;
}
.otd-declaration {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--otd-line);
  border-radius: 12px;
  background: #fafafa;
  color: #3c3c3c;
  font-size: 13px;
  line-height: 1.55;
}
.otd-declaration input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex: 0 0 17px;
}

@media (max-width: 900px) {
  .otd-verification-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .otd-verification-status,
  .otd-verification-guide {
    padding: 20px;
  }
  .otd-verification-status {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }
  .otd-verification-status__icon {
    width: 46px;
    height: 46px;
  }
  .otd-verification-status__icon .otd-verified-badge--large {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }
  .otd-form-intro {
    flex-direction: column;
    gap: 12px;
  }
}


/* Invitation-only creator registration */
.otd-signup-shell .otd-login-panel {
  align-items: flex-start;
  min-width: 0;
  overflow-y: auto;
}
.otd-signup-card {
  width: min(760px, 100%);
  padding: 44px 0 70px;
}
.otd-signup-card > p { max-width: 680px; }
.otd-login-alert--error {
  border-color: #d8d8d8;
  background: #f1f1f1;
  color: #202020;
}
.otd-invite-confirmation {
  display: grid;
  gap: 5px;
  margin: 0 0 30px;
  padding: 16px 18px;
  border: 1px solid var(--otd-line);
  border-radius: 13px;
  background: #f7f7f7;
}
.otd-invite-confirmation span {
  color: var(--otd-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.otd-invite-confirmation strong {
  font-size: 17px;
  letter-spacing: .06em;
}
.otd-invite-confirmation small { color: var(--otd-muted); }
.otd-signup-section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 17px;
  padding-top: 28px;
  border-top: 1px solid var(--otd-line);
}
.otd-invite-confirmation + .otd-signup-form .otd-signup-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.otd-signup-section h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.otd-signup-section p {
  max-width: 370px;
  margin: 0;
  color: var(--otd-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
.otd-signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.otd-signup-form label,
.otd-code-form label {
  display: block;
  color: #282828;
  font-size: 12px;
  font-weight: 500;
}
.otd-signup-form input[type="text"],
.otd-signup-form input[type="email"],
.otd-signup-form input[type="tel"],
.otd-signup-form input[type="url"],
.otd-signup-form input[type="password"],
.otd-signup-form select,
.otd-signup-form textarea,
.otd-code-form input[type="text"] {
  width: 100%;
  min-height: 51px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--otd-line);
  border-radius: 11px;
  background: #fafafa;
  color: var(--otd-ink);
  outline: none;
}
.otd-signup-form textarea {
  min-height: 125px;
  resize: vertical;
}
.otd-signup-form input[readonly] {
  background: #f1f1f1;
  color: #626262;
}
.otd-signup-form input:focus,
.otd-signup-form select:focus,
.otd-signup-form textarea:focus,
.otd-code-form input:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgba(0,0,0,.045);
}
.otd-signup-form label small,
.otd-signup-full small {
  display: block;
  margin-top: 6px;
  color: var(--otd-muted);
  font-size: 11px;
  line-height: 1.4;
}
.otd-signup-full {
  margin-top: 16px;
}
.otd-signup-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  margin-top: 25px;
  padding: 16px;
  border: 1px solid var(--otd-line);
  border-radius: 12px;
  background: #f8f8f8;
  line-height: 1.55;
}
.otd-signup-consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex: 0 0 17px;
}
.otd-signup-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.otd-signup-submit:hover { background: #303030; }

@media (max-width: 760px) {
  .otd-signup-card { padding: 10px 0 44px; }
  .otd-signup-grid { grid-template-columns: 1fr; }
  .otd-signup-section {
    display: block;
  }
  .otd-signup-section p {
    margin-top: 7px;
    text-align: left;
  }
}


/* otDiary 1.2.0 — four verification levels and interactive badge cards. */
.otd-verification-badge-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  isolation: isolate;
}
.otd-verification-badge-trigger {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  cursor: help;
  outline: none;
}
.otd-verification-badge-trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(17,17,17,.16);
}
.otd-verification-popover {
  position: absolute;
  z-index: 1200;
  left: 50%;
  bottom: calc(100% + 14px);
  display: grid;
  width: min(330px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid #343434;
  border-radius: 16px;
  background: #191919;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.98);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  text-align: left;
  white-space: normal;
}
.otd-verification-popover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-right: 1px solid #343434;
  border-bottom: 1px solid #343434;
  background: #191919;
  transform: translate(-50%, -6px) rotate(45deg);
}
.otd-verification-badge-wrap:hover .otd-verification-popover,
.otd-verification-badge-wrap:focus-within .otd-verification-popover,
.otd-verification-badge-wrap.is-open .otd-verification-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.otd-verification-popover__hero {
  display: grid;
  justify-items: center;
  text-align: center;
}
.otd-verification-popover__hero img {
  width: 82px;
  height: 82px;
  margin-bottom: 13px;
  object-fit: contain;
}
.otd-verification-popover__hero .otd-kicker {
  color: #999;
  font-size: 10px;
}
.otd-verification-popover__hero strong {
  margin-top: 6px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.035em;
}
.otd-verification-popover__description {
  display: block;
  margin: 11px 0 17px;
  color: #d5d5d5;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.otd-verification-popover__criteria {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #333;
  border-radius: 11px;
  background: #111;
}
.otd-verification-popover__criteria small {
  color: #8f8f8f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.otd-verification-popover__criteria span {
  color: #f2f2f2;
  font-size: 13px;
  line-height: 1.48;
}
.otd-verification-popover__footer {
  display: block;
  margin-top: 15px;
  color: #8d8d8d;
  font-size: 11px;
  text-align: center;
}
.otd-verification-status__icon .otd-verification-popover {
  left: 0;
  transform: translate(0, 8px) scale(.98);
}
.otd-verification-status__icon .otd-verification-popover::after {
  left: 28px;
}
.otd-verification-status__icon .otd-verification-badge-wrap:hover .otd-verification-popover,
.otd-verification-status__icon .otd-verification-badge-wrap:focus-within .otd-verification-popover,
.otd-verification-status__icon .otd-verification-badge-wrap.is-open .otd-verification-popover {
  transform: translate(0, 0) scale(1);
}
.otd-awarded-tier {
  display: grid;
  gap: 3px;
  margin-top: 15px;
  padding: 13px 15px;
  border: 1px solid var(--otd-line);
  border-radius: 11px;
  background: #fafafa;
}
.otd-awarded-tier strong { font-size: 14px; }
.otd-awarded-tier span { color: var(--otd-muted); font-size: 13px; line-height: 1.45; }
.otd-verification-tier-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.otd-verification-tier-row {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--otd-line);
  border-radius: 11px;
  background: #fafafa;
}
.otd-verification-tier-row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.otd-verification-tier-row div { display: grid; gap: 3px; }
.otd-verification-tier-row strong { font-size: 13px; }
.otd-verification-tier-row span { color: var(--otd-muted); font-size: 11px; line-height: 1.42; }
.otd-verification-disclaimer { margin-top: 15px; font-size: 12px; }

@media (max-width: 650px) {
  .otd-verification-popover {
    position: fixed;
    z-index: 1500;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(340px, calc(100vw - 28px));
    transform: translate(-50%, calc(-50% + 8px)) scale(.98);
  }
  .otd-verification-popover::after { display: none; }
  .otd-verification-badge-wrap:hover .otd-verification-popover,
  .otd-verification-badge-wrap:focus-within .otd-verification-popover,
  .otd-verification-badge-wrap.is-open .otd-verification-popover,
  .otd-verification-status__icon .otd-verification-badge-wrap:hover .otd-verification-popover,
  .otd-verification-status__icon .otd-verification-badge-wrap:focus-within .otd-verification-popover,
  .otd-verification-status__icon .otd-verification-badge-wrap.is-open .otd-verification-popover {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Let verification cards extend beyond creator directory cards without clipping. */
.otd-public-card { overflow: visible; }
.otd-public-card__media { border-radius: 16px 16px 0 0; }
.otd-public-card__body { border-radius: 0 0 16px 16px; background: #fff; }
.otd-sidebar-name .otd-verification-popover {
  left: 0;
  transform: translate(0, 8px) scale(.98);
}
.otd-sidebar-name .otd-verification-popover::after { left: 15px; }
.otd-sidebar-name .otd-verification-badge-wrap:hover .otd-verification-popover,
.otd-sidebar-name .otd-verification-badge-wrap:focus-within .otd-verification-popover,
.otd-sidebar-name .otd-verification-badge-wrap.is-open .otd-verification-popover {
  transform: translate(0, 0) scale(1);
}
@media (max-width: 650px) {
  .otd-sidebar-name .otd-verification-popover,
  .otd-sidebar-name .otd-verification-badge-wrap:hover .otd-verification-popover,
  .otd-sidebar-name .otd-verification-badge-wrap:focus-within .otd-verification-popover,
  .otd-sidebar-name .otd-verification-badge-wrap.is-open .otd-verification-popover {
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
  }
}


/* otDiary 1.2.1 — compact, viewport-safe verification popover. */
.otd-verification-popover {
  position: fixed;
  z-index: 100000;
  inset: auto;
  width: min(276px, calc(100vw - 24px));
  max-height: min(360px, calc(100vh - 24px));
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(20,20,20,.98);
  box-shadow: 0 16px 44px rgba(0,0,0,.25);
  transform: translateY(5px) scale(.985);
  text-align: left;
  font-family: var(--otd-font-sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.01em;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}
.otd-verification-popover::after { display: none; }
.otd-verification-badge-wrap:hover .otd-verification-popover,
.otd-verification-badge-wrap:focus-within .otd-verification-popover,
.otd-verification-badge-wrap.is-open .otd-verification-popover,
.otd-verification-status__icon .otd-verification-badge-wrap:hover .otd-verification-popover,
.otd-verification-status__icon .otd-verification-badge-wrap:focus-within .otd-verification-popover,
.otd-verification-status__icon .otd-verification-badge-wrap.is-open .otd-verification-popover,
.otd-sidebar-name .otd-verification-badge-wrap:hover .otd-verification-popover,
.otd-sidebar-name .otd-verification-badge-wrap:focus-within .otd-verification-popover,
.otd-sidebar-name .otd-verification-badge-wrap.is-open .otd-verification-popover {
  transform: translateY(0) scale(1);
}
.otd-verification-popover__hero {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  grid-template-areas: "badge kicker" "badge title";
  column-gap: 11px;
  align-items: center;
  justify-items: stretch;
  text-align: left;
}
.otd-verification-popover__hero img {
  grid-area: badge;
  width: 44px;
  height: 44px;
  margin: 0;
  object-fit: contain;
}
.otd-verification-popover__hero .otd-kicker {
  grid-area: kicker;
  align-self: end;
  color: #9c9c9c;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.otd-verification-popover__hero strong {
  grid-area: title;
  align-self: start;
  display: block;
  margin: 2px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-transform: none;
}
.otd-verification-popover__description {
  display: block;
  margin: 12px 0;
  color: #d7d7d7;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -.005em;
  text-align: left;
  text-transform: none;
}
.otd-verification-popover__criteria {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}
.otd-verification-popover__criteria small {
  display: block;
  color: #9c9c9c;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.otd-verification-popover__criteria span {
  display: block;
  color: #f4f4f4;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
  text-transform: none;
}
.otd-verification-popover__footer {
  display: block;
  margin-top: 10px;
  color: #898989;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: right;
  text-transform: none;
}
@media (max-width: 650px) {
  .otd-verification-popover {
    width: min(272px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 15px;
  }
}

/* otDiary 1.3.0 — creator readers and followers. */
.otd-stat-grid--audience {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.otd-profile-audience {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin-top: 12px;
  color: #555;
  font-size: 13px;
  line-height: 1.35;
}
.otd-profile-audience span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.otd-profile-audience strong {
  color: var(--otd-ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.otd-profile-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.otd-follow-form {
  display: inline-flex;
  margin: 0;
}
.otd-follow-form .otd-btn.is-following {
  background: #fff;
  color: var(--otd-ink);
  border-color: #cfcfcf;
}
.otd-private-audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--otd-line);
  border-radius: 12px;
  background: #fafafa;
}
.otd-private-audience > div {
  min-width: 0;
  padding: 16px 14px;
  text-align: left;
}
.otd-private-audience > div + div {
  border-left: 1px solid var(--otd-line);
}
.otd-private-audience strong,
.otd-private-audience span {
  display: block;
}
.otd-private-audience strong {
  color: var(--otd-ink);
  font-size: 25px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -.035em;
}
.otd-private-audience span {
  margin-top: 7px;
  color: var(--otd-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  .otd-stat-grid--audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .otd-profile-audience {
    gap: 6px 14px;
    margin-top: 9px;
    font-size: 11px;
  }
  .otd-profile-audience strong {
    font-size: 13px;
  }
  .otd-profile-actions {
    justify-content: flex-start;
  }
  .otd-profile-actions .otd-btn {
    min-height: 41px;
    padding-inline: 15px;
  }
}


/* Feed image reliability — 1.3.1 */
.otd-public-card__media { display: flex; width: 100%; align-items: center; justify-content: center; }
.otd-public-card__media img { display: block; }
.otd-media-missing { width: 100%; height: 100%; min-height: 260px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #f2f2f2; color: #4f4f4f; }
.otd-media-missing strong { color: #111; font-size: 15px; letter-spacing: -.01em; text-transform: none; }
.otd-media-missing small { max-width: 220px; margin-top: 7px; color: #777; font-size: 11px; line-height: 1.45; }
.otd-row-action { display: inline-flex; width: max-content; margin-top: 6px; padding: 5px 8px; border: 1px solid #d8d8d8; border-radius: 999px; color: #111; font-size: 10px; font-weight: 600; }
.otd-row-action:hover { background: #111; border-color: #111; color: #fff; }


/* Visual Feed grid — 1.4.0 */
.otd-feed-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  margin-top: 24px;
}
.otd-feed-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ededed;
}
.otd-feed-tile__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #ededed;
}
.otd-feed-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .32s ease;
}
.otd-feed-tile:hover .otd-feed-tile__media img,
.otd-feed-tile:focus-within .otd-feed-tile__media img {
  transform: scale(1.025);
}
.otd-feed-tile__overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  min-height: 46%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 28px 14px 13px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.72) 100%);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.otd-feed-tile:hover .otd-feed-tile__overlay,
.otd-feed-tile:focus-within .otd-feed-tile__overlay {
  opacity: 1;
  transform: translateY(0);
}
.otd-feed-tile__overlay strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.otd-feed-tile__overlay small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255,255,255,.8);
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.otd-feed-tile__missing {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px;
  text-align: center;
  background: #f1f1f1;
  color: #555;
}
.otd-feed-tile__missing strong { color: #111; font-size: 12px; }
.otd-feed-tile__missing small { max-width: 150px; font-size: 9px; line-height: 1.4; }
.otd-feed-tile__status {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 4;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #111;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.otd-feed-tile__actions {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 5;
  display: flex;
  gap: 5px;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .18s ease, transform .18s ease;
}
.otd-feed-tile:hover .otd-feed-tile__actions,
.otd-feed-tile:focus-within .otd-feed-tile__actions {
  opacity: 1;
  transform: translateY(0);
}
.otd-feed-tile__actions a {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  background: rgba(17,17,17,.78);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.otd-feed-grid--manager {
  margin-top: 14px;
  padding: 0;
}
.otd-profile-content > .otd-feed-grid {
  margin-top: 28px;
}
@media (max-width: 980px) {
  .otd-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .otd-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
  .otd-feed-tile__overlay { opacity: 0; }
  .otd-feed-tile__actions { opacity: 1; transform: none; }
  .otd-feed-tile__actions a { padding: 4px 6px; font-size: 8px; }
  .otd-feed-tile__status { padding: 4px 6px; font-size: 8px; }
}

/* Centered shoppable Feed viewer — 1.9.2
   Instagram-style 4:5 post with connected products underneath. */
body.otd-feed-viewer-open {
  overflow: hidden;
}
.otd-feed-viewer[hidden] {
  display: none !important;
}
.otd-feed-viewer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding:
    max(12px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.otd-feed-viewer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.otd-feed-viewer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(16, 16, 16, .22);
  backdrop-filter: blur(25px) saturate(.78);
  -webkit-backdrop-filter: blur(25px) saturate(.78);
  cursor: zoom-out;
}
.otd-feed-viewer__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 94vw);
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 4px;
  outline: none;
  background: transparent;
  scrollbar-width: none;
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
  overscroll-behavior: contain;
}
.otd-feed-viewer__dialog::-webkit-scrollbar {
  display: none;
}
.otd-feed-viewer.is-open .otd-feed-viewer__dialog {
  transform: translateY(0) scale(1);
}
.otd-feed-viewer__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.otd-feed-viewer__post {
  position: relative;
  display: block;
  width: min(430px, 88vw);
  aspect-ratio: 4 / 5;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 34px);
  background: rgba(255,255,255,.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}
.otd-feed-viewer__post > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  background: transparent;
}
.otd-feed-viewer__post.is-image-missing {
  display: grid;
  min-height: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(20px);
}
.otd-feed-viewer__meta {
  position: absolute;
  inset: auto 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: calc(100% - 28px);
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 15px;
  background: rgba(16,16,16,.34);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.otd-feed-viewer__meta > span {
  color: rgba(255,255,255,.74);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.otd-feed-viewer__meta strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.otd-feed-viewer__meta p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.otd-feed-viewer__products {
  width: min(430px, 88vw);
  min-width: 0;
}
.otd-feed-viewer__product-rail {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding: 2px 2px 5px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.otd-feed-viewer__product-rail::-webkit-scrollbar {
  display: none;
}
.otd-feed-viewer__product {
  position: relative;
  display: grid;
  flex: 0 0 calc((100% - 30px) / 4);
  width: calc((100% - 30px) / 4);
  max-width: 100px;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 22px;
  background: rgba(255,255,255,.16);
  color: #111;
  box-shadow: 0 15px 36px rgba(0,0,0,.11);
  backdrop-filter: blur(20px) saturate(.92);
  -webkit-backdrop-filter: blur(20px) saturate(.92);
  scroll-snap-align: center;
  transition: transform .18s ease, background .18s ease;
}
.otd-feed-viewer__product:hover,
.otd-feed-viewer__product:focus-visible {
  transform: translateY(-3px) scale(1.015);
  background: rgba(255,255,255,.29);
  outline: none;
}
.otd-feed-viewer__product img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
  background: transparent;
}
.otd-feed-viewer__product-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 10px;
  text-align: center;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
}
.otd-feed-viewer__product-info {
  position: absolute;
  inset: auto 6px 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  max-width: calc(100% - 12px);
  padding: 6px 7px;
  border-radius: 10px;
  background: rgba(16,16,16,.52);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(10px);
}
.otd-feed-viewer__product:hover .otd-feed-viewer__product-info,
.otd-feed-viewer__product:focus-visible .otd-feed-viewer__product-info {
  opacity: 1;
  transform: translateY(0);
}
.otd-feed-viewer__product-info strong {
  overflow: hidden;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.otd-feed-viewer__product-info small {
  flex: 0 0 auto;
  color: rgba(255,255,255,.76);
  font-size: 7px;
}
.otd-feed-viewer__close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 50%;
  background: rgba(17,17,17,.78);
  color: #fff;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.otd-feed-viewer__close:hover,
.otd-feed-viewer__close:focus-visible {
  background: #111;
  outline: 2px solid rgba(255,255,255,.72);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .otd-feed-viewer {
    align-items: center;
  }
  .otd-feed-viewer__dialog {
    width: min(94vw, 430px);
    max-height: calc(100dvh - 20px);
  }
  .otd-feed-viewer__stage {
    gap: 9px;
  }
  .otd-feed-viewer__post,
  .otd-feed-viewer__products {
    width: min(390px, 88vw);
  }
  .otd-feed-viewer__post {
    border-radius: 24px;
  }
  .otd-feed-viewer__product-rail {
    justify-content: flex-start;
    gap: 8px;
  }
  .otd-feed-viewer__product {
    flex-basis: calc((100% - 24px) / 4);
    width: calc((100% - 24px) / 4);
    min-width: 68px;
    border-radius: 17px;
  }
  .otd-feed-viewer__product-info {
    display: none;
  }
  .otd-feed-viewer__meta {
    inset: auto 10px 10px;
    max-width: calc(100% - 20px);
    padding: 9px 11px;
    border-radius: 13px;
  }
  .otd-feed-viewer__meta p {
    display: none;
  }
  .otd-feed-viewer__close {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 430px) {
  .otd-feed-viewer__post,
  .otd-feed-viewer__products {
    width: min(360px, 90vw);
  }
  .otd-feed-viewer__product {
    min-width: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .otd-feed-viewer,
  .otd-feed-viewer__dialog,
  .otd-feed-viewer__product {
    transition: none;
  }
}

/* otDiary 1.5.3 — mobile verification bottom sheet. */
@media (max-width: 650px) {
  .otd-verification-badge-wrap.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, .48);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
  }

  .otd-verification-popover,
  .otd-sidebar-name .otd-verification-popover,
  .otd-verification-status__icon .otd-verification-popover {
    position: fixed !important;
    z-index: 99999;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none;
    max-height: min(76vh, 680px);
    margin: 0;
    padding: 32px 24px calc(30px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 0;
    border-radius: 34px 34px 0 0;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(0,0,0,.18);
    color: #111;
    text-align: center;
    transform: translateY(104%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s cubic-bezier(.22,.72,.2,1), visibility 0s linear .28s;
  }

  .otd-verification-badge-wrap.is-open .otd-verification-popover,
  .otd-verification-status__icon .otd-verification-badge-wrap.is-open .otd-verification-popover,
  .otd-sidebar-name .otd-verification-badge-wrap.is-open .otd-verification-popover {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .otd-verification-popover__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
  }

  .otd-verification-popover__hero img {
    width: clamp(132px, 38vw, 190px);
    height: clamp(132px, 38vw, 190px);
    margin: 0 auto 22px;
    object-fit: contain;
  }

  .otd-verification-popover__hero .otd-kicker {
    display: none;
  }

  .otd-verification-popover__hero strong {
    margin: 0;
    color: #151515;
    font-size: clamp(25px, 7vw, 34px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-align: center;
  }

  .otd-verification-popover__description {
    margin: 20px auto 0;
    max-width: 640px;
    color: #777;
    font-size: clamp(17px, 4.6vw, 21px);
    line-height: 1.34;
    text-align: center;
  }

  .otd-verification-popover__criteria {
    display: block;
    margin: 9px auto 0;
    padding: 0;
    max-width: 650px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
  }

  .otd-verification-popover__criteria small {
    display: none;
  }

  .otd-verification-popover__criteria span {
    color: #777;
    font-size: clamp(17px, 4.6vw, 21px);
    line-height: 1.34;
    text-align: center;
  }

  .otd-verification-popover__footer {
    display: none;
  }

  body.otd-verification-sheet-open {
    overflow: hidden;
    touch-action: none;
  }
}


/* otDiary 1.7.0 — niches and interest matching */
.otd-niche-picker{display:grid;gap:18px;margin:18px 0}.otd-niche-picker em{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.08em;background:#111;color:#fff;border-radius:999px;padding:4px 7px;margin-left:6px}.otd-niche-options{border:0;padding:0;margin:0}.otd-niche-options legend{font-weight:700;margin-bottom:10px}.otd-niche-options legend small{font-weight:400;color:var(--otd-muted);margin-left:8px}.otd-niche-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.otd-niche-grid label{position:relative}.otd-niche-grid input{position:absolute;opacity:0;pointer-events:none}.otd-niche-grid span,.otd-niche-badges span{display:flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #d8d8d8;border-radius:999px;background:#fff;padding:8px 12px;font-size:12px;font-weight:650;text-align:center}.otd-niche-grid input:checked+span{background:#111;color:#fff;border-color:#111}.otd-niche-grid input:disabled+span{opacity:.35}.otd-niche-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.otd-niche-badges span{min-height:30px;padding:5px 10px;font-size:11px}.otd-niche-badges span.is-primary{background:#111;color:#fff;border-color:#111}.otd-business-niche-filter{display:flex;justify-content:flex-end;margin:0 0 22px}.otd-business-niche-filter label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700}.otd-business-niche-filter select{min-width:220px;border:1px solid #d8d8d8;border-radius:999px;background:#fff;padding:10px 14px}.otd-public-card .otd-niche-badges{margin-top:10px}.otd-public-card .otd-niche-badges span{font-size:10px;padding:4px 8px;min-height:26px}
@media(max-width:760px){.otd-niche-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.otd-business-niche-filter{justify-content:stretch}.otd-business-niche-filter label{width:100%;flex-direction:column;align-items:stretch}.otd-business-niche-filter select{width:100%}}

/* otDiary 1.8.1 — iPhone verification glass sheet, viewport-safe. */
@media (max-width: 650px) {
  /* Retire the persistent app dock while the verification sheet is open so it
     cannot cover the badge description or intercept taps. */
  body.otd-verification-sheet-open .otd-floating-nav,
  body.otd-verification-sheet-open .otd-floating-nav.has-creator-create {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 28px));
    transition: opacity .2s ease, transform .28s cubic-bezier(.22,.72,.2,1), visibility 0s linear .28s;
  }

  body.otd-verification-sheet-open .otd-quick-create__menu {
    display: none !important;
  }

  .otd-verification-badge-wrap.is-open::before {
    background: rgba(20, 22, 25, .34);
    backdrop-filter: blur(12px) saturate(125%);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
  }

  .otd-verification-popover,
  .otd-sidebar-name .otd-verification-popover,
  .otd-verification-status__icon .otd-verification-popover {
    left: 12px !important;
    right: 12px !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - max(34px, env(safe-area-inset-top)) - max(28px, env(safe-area-inset-bottom)));
    padding: 30px 22px calc(25px + env(safe-area-inset-bottom));
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 34px;
    background:
      linear-gradient(145deg, rgba(255,255,255,.58), rgba(255,255,255,.22) 48%, rgba(244,246,249,.35)),
      rgba(238, 240, 244, .24);
    box-shadow:
      0 24px 70px rgba(0,0,0,.24),
      inset 0 1px 0 rgba(255,255,255,.82),
      inset 0 -1px 0 rgba(255,255,255,.18);
    backdrop-filter: blur(38px) saturate(185%);
    -webkit-backdrop-filter: blur(38px) saturate(185%);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    color: #111;
  }

  .otd-verification-popover::-webkit-scrollbar {
    display: none;
  }

  /* A subtle Apple-like grabber reinforces that this is a temporary sheet. */
  .otd-verification-popover::before {
    content: "";
    display: block;
    width: 42px;
    height: 5px;
    margin: -12px auto 22px;
    border-radius: 999px;
    background: rgba(25,25,25,.22);
  }

  .otd-verification-popover__hero img {
    width: clamp(104px, 31vw, 146px);
    height: clamp(104px, 31vw, 146px);
    margin-bottom: 18px;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.12));
  }

  .otd-verification-popover__hero strong {
    font-size: clamp(27px, 7.2vw, 36px);
    color: #101010;
  }

  .otd-verification-popover__description {
    margin-top: 16px;
    max-width: 34rem;
    color: rgba(20,20,20,.66);
    font-size: clamp(16px, 4.35vw, 20px);
    line-height: 1.36;
  }

  .otd-verification-popover__criteria {
    margin-top: 10px;
    max-width: 34rem;
  }

  .otd-verification-popover__criteria span {
    color: rgba(20,20,20,.66);
    font-size: clamp(16px, 4.35vw, 20px);
    line-height: 1.36;
  }

  body.otd-verification-sheet-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 390px) {
  .otd-verification-popover,
  .otd-sidebar-name .otd-verification-popover,
  .otd-verification-status__icon .otd-verification-popover {
    left: 8px !important;
    right: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 30px;
  }
}


/* otDiary 1.9.3 — shoppable glass shelf.
   Replaces the post title/date bar with individual connected-product tiles. */
.otd-feed-viewer__meta {
  display: none !important;
}

.otd-feed-viewer__stage {
  position: relative;
  gap: 0;
  padding-bottom: 54px;
}

.otd-feed-viewer__post {
  z-index: 1;
}

/* Products sit across the lower edge of the photo, like objects on a table. */
.otd-feed-viewer__products {
  position: relative;
  z-index: 3;
  width: min(460px, 92vw);
  margin-top: -54px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 27px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.28),
      rgba(255,255,255,.12)
    );
  box-shadow:
    0 24px 55px rgba(0,0,0,.17),
    inset 0 1px 0 rgba(255,255,255,.55);
  backdrop-filter: blur(25px) saturate(1.08);
  -webkit-backdrop-filter: blur(25px) saturate(1.08);
}

.otd-feed-viewer__products[hidden] {
  display: none !important;
}

.otd-feed-viewer__product-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  justify-content: center;
  gap: 10px;
  overflow: visible;
  padding: 0;
}

/* Fine horizontal highlight makes the glass base read as a shelf/table. */
.otd-feed-viewer__products::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.82) 15%,
    rgba(255,255,255,.82) 85%,
    transparent
  );
  pointer-events: none;
}

.otd-feed-viewer__product {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  min-width: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.63);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255,255,255,.48),
      rgba(255,255,255,.18) 58%,
      rgba(255,255,255,.10)
    );
  box-shadow:
    0 13px 28px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.66);
  backdrop-filter: blur(18px) saturate(.96);
  -webkit-backdrop-filter: blur(18px) saturate(.96);
  transform-origin: center bottom;
}

.otd-feed-viewer__product:hover,
.otd-feed-viewer__product:focus-visible {
  z-index: 4;
  transform: translateY(-6px) scale(1.035);
  background: rgba(255,255,255,.34);
}

.otd-feed-viewer__product img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(0,0,0,.12));
}

.otd-feed-viewer__product-info {
  inset: auto 5px 5px;
  max-width: calc(100% - 10px);
  padding: 5px 6px;
  border-radius: 9px;
}

.otd-feed-viewer__product-info strong {
  font-size: 7.5px;
}

.otd-feed-viewer__product-info small {
  font-size: 7px;
}

@media (max-width: 760px) {
  .otd-feed-viewer__stage {
    padding-bottom: 42px;
  }

  .otd-feed-viewer__products {
    width: min(400px, 92vw);
    margin-top: -44px;
    padding: 10px 11px 12px;
    border-radius: 23px;
  }

  .otd-feed-viewer__product-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .otd-feed-viewer__product {
    min-width: 0;
    border-radius: 16px;
  }
}

@media (max-width: 430px) {
  .otd-feed-viewer__products {
    width: min(365px, 94vw);
    margin-top: -38px;
    padding: 9px 9px 11px;
    border-radius: 21px;
  }

  .otd-feed-viewer__product-rail {
    gap: 6px;
  }

  .otd-feed-viewer__product {
    border-radius: 14px;
  }
}


/* otDiary 1.9.16 — keep Shop in profile navigation, remove duplicate profile action. */
.otd-public-profile .otd-profile-actions > a[href*="tab=shop"],
.otd-public-profile .otd-profile-actions > [data-tab="shop"],
.otd-public-profile .otd-profile-actions > [data-section="shop"],
.otd-public-profile .otd-profile-actions > [data-action="shop"] {
  display: none !important;
}


/* otDiary 1.9.24 — editorial Collection detail inspired by the supplied vertical reference. */
.otd-collection-detail-shell {
  width: 100%;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 72px) 18px 72px;
  background: #fff;
}

.otd-collection-detail {
  width: min(100%, 560px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 34px;
  background: #f7f7f7;
  box-shadow: 0 24px 60px rgba(0,0,0,.08);
}

.otd-collection-hero {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  overflow: hidden;
  background: #2b2928;
  color: #fff;
}

.otd-collection-hero.no-cover {
  min-height: 430px;
  background: linear-gradient(145deg, #171717, #4b4541);
}

.otd-collection-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.otd-collection-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.06) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.82) 100%);
  pointer-events: none;
}

.otd-collection-back {
  position: absolute;
  z-index: 3;
  top: calc(20px + env(safe-area-inset-top, 0px));
  left: 20px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20,20,20,.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .18s ease, background .18s ease;
}

.otd-collection-back:hover,
.otd-collection-back:focus-visible {
  transform: translateX(-2px);
  background: rgba(20,20,20,.68);
  outline: none;
}

.otd-collection-back svg { width: 24px; height: 24px; }

.otd-collection-hero__copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 36px);
  right: clamp(24px, 5vw, 36px);
  bottom: clamp(28px, 5vw, 42px);
  display: grid;
  gap: 13px;
}

.otd-collection-hero__copy h1 {
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(34px, 8vw, 58px);
  line-height: .98;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.otd-collection-hero__copy p {
  margin: 0;
  max-width: 36ch;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.45;
}

.otd-collection-creator {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.otd-collection-creator__avatar {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex: 0 0 30px;
  border: 1px solid rgba(255,255,255,.45);
}

.otd-collection-products {
  padding: 14px;
  background: #f7f7f7;
}

.otd-collection-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.otd-collection-product {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto;
  gap: 8px;
  min-height: 270px;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  color: #111;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.otd-collection-product:hover,
.otd-collection-product:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  outline: none;
}

.otd-collection-product__brand {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.otd-collection-product__media {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.otd-collection-product__media img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 280px;
  object-fit: contain;
}

.otd-collection-product__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.otd-collection-product__meta strong {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
}

.otd-collection-product__meta small {
  font-size: 10px;
  line-height: 1.2;
  color: #333;
  white-space: nowrap;
}

.otd-collection-products__empty {
  padding: 42px 18px;
  text-align: center;
}

@media (max-width: 640px) {
  .otd-collection-detail-shell {
    padding: 0 0 calc(84px + env(safe-area-inset-bottom, 0px));
    background: #f7f7f7;
  }

  .otd-collection-detail {
    width: 100%;
    border-radius: 0 0 28px 28px;
    box-shadow: none;
  }

  .otd-collection-hero {
    min-height: min(76svh, 690px);
  }

  .otd-collection-back {
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 14px;
    width: 46px;
    height: 46px;
  }

  .otd-collection-hero__copy {
    left: 22px;
    right: 22px;
    bottom: 26px;
  }

  .otd-collection-hero__copy h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .otd-collection-products {
    padding: 9px;
  }

  .otd-collection-products__grid {
    gap: 8px;
  }

  .otd-collection-product {
    min-height: 240px;
    grid-template-rows: auto minmax(145px, 1fr) auto;
    padding: 9px;
    border-radius: 16px;
  }

  .otd-collection-product__media img {
    min-height: 145px;
    max-height: 235px;
  }

  .otd-collection-product__meta {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* otDiary 1.9.25 — Collection hero title uses native OT Diary type with liquid/wet-glass lettering. */
.otd-collection-hero__copy {
  gap: 11px;
}

.otd-collection-hero__copy h1 {
  max-width: 13ch;
  font-family: var(--otd-font-sans);
  font-size: clamp(34px, 7.2vw, 56px);
  font-weight: 650;
  line-height: .96;
  letter-spacing: -.045em;
  text-transform: none;
  color: rgba(255,255,255,.88);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.78) 38%,
      rgba(245,248,250,.60) 64%,
      rgba(255,255,255,.92) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .35px rgba(255,255,255,.38);
  text-shadow:
    0 1px 0 rgba(255,255,255,.28),
    0 7px 24px rgba(0,0,0,.26),
    0 0 18px rgba(255,255,255,.10);
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.12));
}

/* Creator identity intentionally removed from Collection detail. */
.otd-collection-creator,
.otd-collection-creator__avatar {
  display: none !important;
}

@media (max-width: 720px) {
  .otd-collection-hero__copy h1 {
    font-size: clamp(32px, 10.4vw, 48px);
    letter-spacing: -.048em;
  }
}


/* otDiary 1.9.26 — thinner, clearer liquid-glass Collection title matched to the floating navigation typography. */
.otd-collection-hero__copy h1 {
  max-width: 14ch;
  font-family: var(--otd-font-sans);
  font-size: clamp(32px, 6.6vw, 52px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.038em;
  color: rgba(255,255,255,.52);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.78) 0%,
      rgba(255,255,255,.42) 28%,
      rgba(232,238,242,.24) 56%,
      rgba(255,255,255,.56) 77%,
      rgba(255,255,255,.36) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .22px rgba(255,255,255,.24);
  text-shadow:
    0 1px 0 rgba(255,255,255,.16),
    0 5px 18px rgba(0,0,0,.20),
    0 0 10px rgba(255,255,255,.07);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.12));
}

/* Fine wet-glass highlight: visible on dark or bright cover photography without turning the letters solid white. */
.otd-collection-hero__copy h1::selection {
  -webkit-text-fill-color: #111;
  background: rgba(255,255,255,.82);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .otd-collection-hero__copy h1 {
    opacity: .92;
  }
}

@media (max-width: 720px) {
  .otd-collection-hero__copy h1 {
    font-size: clamp(30px, 9.2vw, 44px);
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -.04em;
  }
}


/* otDiary 1.9.56 — Instagram-inspired segmented mobile pull-to-refresh. */
@media (max-width: 900px) and (pointer: coarse) {
  body.otd-ptr-capable {
    --otd-ptr-safe-top: env(safe-area-inset-top, 0px);
  }

  body.otd-ptr-capable .otd-main {
    --otd-ptr-shift: 0px;
  }

  body.otd-ptr-pulling .otd-main {
    transform: translate3d(0, var(--otd-ptr-shift), 0) !important;
    will-change: transform;
  }

  body.otd-ptr-settling .otd-main {
    transition: transform .24s cubic-bezier(.22,.78,.28,1) !important;
  }
}

.otd-pull-refresh {
  --otd-ptr-pull: 0px;
  position: fixed;
  z-index: 2147482500;
  top: calc(env(safe-area-inset-top, 0px) + 54px);
  left: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, calc(-18px + min(28px, var(--otd-ptr-pull) * .18)), 0) scale(.88);
  transition: opacity .12s ease, transform .18s cubic-bezier(.22,.78,.28,1);
  will-change: opacity, transform;
}

.otd-pull-refresh.is-visible {
  opacity: 1;
  transform: translate3d(-50%, calc(min(28px, var(--otd-ptr-pull) * .18)), 0) scale(1);
}

.otd-pull-refresh__spinner {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
}

.otd-pull-refresh__spinner i {
  --otd-ptr-i: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.7px;
  height: 7.2px;
  margin-left: -1.35px;
  margin-top: -3.6px;
  border-radius: 999px;
  background: #636b75;
  opacity: .14;
  transform-origin: 1.35px 3.6px;
  transform: rotate(calc(var(--otd-ptr-i) * 30deg)) translateY(-9px);
  transition: opacity .08s linear, background .12s ease;
}

.otd-pull-refresh.is-armed .otd-pull-refresh__spinner i {
  background: #3f464f;
}

.otd-pull-refresh.is-refreshing .otd-pull-refresh__spinner i {
  animation: otd-ptr-segment-pulse .96s linear infinite;
  animation-delay: calc(var(--otd-ptr-i) * -0.08s);
}

@keyframes otd-ptr-segment-pulse {
  0%   { opacity: 1; }
  18%  { opacity: .72; }
  42%  { opacity: .34; }
  72%, 100% { opacity: .13; }
}

@media (min-width: 901px), (hover: hover) and (pointer: fine) {
  .otd-pull-refresh { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.otd-ptr-settling .otd-main,
  .otd-pull-refresh,
  .otd-pull-refresh__spinner i {
    transition: none !important;
  }
  .otd-pull-refresh.is-refreshing .otd-pull-refresh__spinner i {
    animation-duration: 1.4s;
  }
}

/* otDiary 1.9.35 — restore vertical rhythm after adding public social links.
   The identity block moves down as a unit, while bio/audience/social links
   gain stable spacing so future links do not visually pull the name upward. */
.otd-public-profile .otd-profile-header {
  margin-top: -34px;
}

.otd-public-profile .otd-profile-identity {
  padding-top: 4px;
  padding-bottom: 8px;
}

.otd-public-profile .otd-profile-bio-row {
  margin-top: 12px;
}

.otd-public-profile .otd-profile-audience {
  margin-top: 17px;
}

.otd-public-profile .otd-profile-socials {
  margin-top: 16px;
}

@media (max-width: 650px) {
  .otd-public-profile .otd-profile-header {
    margin-top: -32px;
  }

  .otd-public-profile .otd-profile-identity {
    padding-top: 3px;
  }

  .otd-public-profile .otd-profile-bio-row {
    margin-top: 10px;
  }

  .otd-public-profile .otd-profile-audience {
    margin-top: 14px;
  }

  .otd-public-profile .otd-profile-socials {
    margin-top: 13px;
  }
}


/* otDiary 1.9.36 — normalize vertical rhythm in public creator identity.
   Name, biography and audience are treated as one compact information block;
   social links keep a slightly larger separation below the metrics. */
.otd-public-profile .otd-profile-identity {
  padding-top: 2px;
  padding-bottom: 4px;
}

.otd-public-profile .otd-profile-identity h1 {
  margin-bottom: 0;
  line-height: 1.02;
}

.otd-public-profile .otd-profile-bio-row {
  margin-top: 6px;
}

.otd-public-profile .otd-profile-bio-row p,
.otd-public-profile .otd-profile-identity > p {
  line-height: 1.42;
}

.otd-public-profile .otd-profile-audience {
  margin-top: 8px;
}

.otd-public-profile .otd-profile-socials {
  margin-top: 10px;
}

@media (max-width: 650px) {
  .otd-public-profile .otd-profile-identity {
    padding-top: 2px;
    padding-bottom: 3px;
  }

  .otd-public-profile .otd-profile-bio-row {
    margin-top: 5px;
  }

  .otd-public-profile .otd-profile-audience {
    margin-top: 7px;
  }

  .otd-public-profile .otd-profile-socials {
    margin-top: 9px;
  }
}


/* otDiary 1.9.37 — mobile public profile mirrors the approved desktop rhythm.
   The avatar is vertically centered with the creator identity instead of
   bottom-aligning beneath the creator name. */
.otd-public-profile .otd-profile-header {
  align-items: center;
}

.otd-public-profile .otd-profile-avatar {
  align-self: center;
}

/* Keep the approved desktop internal rhythm. */
.otd-public-profile .otd-profile-identity {
  padding-top: 2px;
  padding-bottom: 4px;
}

.otd-public-profile .otd-profile-bio-row {
  margin-top: 6px;
}

.otd-public-profile .otd-profile-audience {
  margin-top: 8px;
}

.otd-public-profile .otd-profile-socials {
  margin-top: 10px;
}

@media (max-width: 650px) {
  .otd-public-profile .otd-profile-header {
    width: min(1180px, 94vw);
    margin-top: -34px;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .otd-public-profile .otd-profile-avatar {
    width: 104px;
    height: 104px;
    min-width: 104px;
    min-height: 104px;
    align-self: center;
  }

  .otd-public-profile .otd-profile-identity {
    min-width: 0;
    padding-top: 2px;
    padding-bottom: 4px;
  }

  .otd-public-profile .otd-profile-identity h1 {
    margin: 0;
    font-size: clamp(30px, 9vw, 34px);
    line-height: 1.02;
  }

  .otd-public-profile .otd-profile-bio-row {
    margin-top: 6px;
    gap: 9px;
    align-items: flex-start;
  }

  .otd-public-profile .otd-profile-identity p,
  .otd-public-profile .otd-profile-bio-row p {
    font-size: 13px;
    line-height: 1.42;
  }

  .otd-public-profile .otd-profile-audience {
    margin-top: 8px;
  }

  .otd-public-profile .otd-profile-socials {
    margin-top: 10px;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .otd-public-profile .otd-profile-header {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .otd-public-profile .otd-profile-avatar {
    width: 92px;
    height: 92px;
    min-width: 92px;
    min-height: 92px;
  }

  .otd-public-profile .otd-profile-identity h1 {
    font-size: clamp(28px, 8.6vw, 33px);
  }
}


/* otDiary 1.9.38 — align creator avatar with the creator-name line.
   Previous layout centered the avatar against the whole identity stack,
   which placed it too low once bio, audience and social links were present. */
.otd-public-profile .otd-profile-header {
  align-items: start;
}

.otd-public-profile .otd-profile-avatar {
  align-self: start;
  margin-top: -30px;
}

@media (max-width: 650px) {
  .otd-public-profile .otd-profile-header {
    align-items: start;
  }

  .otd-public-profile .otd-profile-avatar {
    align-self: start;
    margin-top: -27px;
  }
}

@media (max-width: 430px) {
  .otd-public-profile .otd-profile-avatar {
    margin-top: -25px;
  }
}



/* otDiary 1.9.40 — compact public profile action pills. */
.otd-public-profile .otd-profile-socials {
  align-items: center;
}
.otd-public-profile .otd-profile-socials .otd-profile-social-link,
.otd-public-profile .otd-profile-socials .otd-profile-edit-trigger--social {
  box-sizing: border-box;
  width: auto !important;
  min-width: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.otd-public-profile .otd-profile-socials .otd-profile-edit-trigger--social svg,
.otd-public-profile .otd-profile-socials .otd-profile-social-link .otd-profile-link-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
@media (max-width: 650px) {
  .otd-public-profile .otd-profile-socials .otd-profile-social-link,
  .otd-public-profile .otd-profile-socials .otd-profile-edit-trigger--social {
    height: 31px !important;
    min-height: 31px !important;
    padding: 0 10px !important;
    gap: 6px;
  }
}


/* 1.9.43 — metric-specific Analytics + date-range controls */
.otd-analytics-metric {
  appearance: none;
  width: 100%;
  margin: 0;
  border-top: 0;
  border-left: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.otd-analytics-metric:hover,
.otd-analytics-metric.is-active {
  background: rgba(255,255,255,.055);
}
.otd-analytics-metric.is-active {
  box-shadow: inset 0 -2px 0 rgba(255,255,255,.88);
}
.otd-analytics-metric:focus-visible,
.otd-analytics-overview:focus-visible,
.otd-analytics-range button:focus-visible,
.otd-analytics-custom-range input:focus-visible {
  outline: 2px solid rgba(255,255,255,.78);
  outline-offset: -2px;
}
.otd-analytics-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 18px;
  border-bottom: 1px solid #292929;
  background: #101010;
}
.otd-analytics-overview,
.otd-analytics-range button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #343434;
  border-radius: 999px;
  color: #8d8d8d;
  background: #171717;
  font: inherit;
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
}
.otd-analytics-overview.is-active,
.otd-analytics-range button.is-active {
  border-color: #e5e5e5;
  color: #111;
  background: #f4f4f4;
}
.otd-analytics-range {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.otd-analytics-custom-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.otd-analytics-custom-range[hidden] { display: none !important; }
.otd-analytics-custom-range label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #767676;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.otd-analytics-custom-range input {
  min-height: 30px;
  padding: 3px 8px;
  border: 1px solid #343434;
  border-radius: 8px;
  color: #d7d7d7;
  color-scheme: dark;
  background: #171717;
  font: inherit;
  font-size: 9px;
}
.otd-chart-empty-copy[hidden] { display: none !important; }
@media (max-width: 720px) {
  .otd-analytics-toolbar { align-items: flex-start; padding: 10px 12px; }
  .otd-analytics-range { width: 100%; order: 3; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .otd-analytics-range::-webkit-scrollbar { display: none; }
  .otd-analytics-custom-range { width: 100%; margin-left: 0; order: 4; }
  .otd-analytics-custom-range label { flex: 1; }
  .otd-analytics-custom-range input { width: 100%; }
}


/* Connected Socials — unified single-row workspace treatment. */
.otd-social-connections-list {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}
.otd-social-api-row {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.otd-social-api-row .otd-sc-shell,
.otd-social-api-row .otd-sc-workspace-instagram,
.otd-social-api-row .otd-sc-instagram-reset-shell {
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.otd-social-link-row {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(280px, 1.55fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  margin: 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--otd-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}
.otd-social-link-row__label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.otd-social-link-row__label strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.otd-social-link-row__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  color: #111;
  background: #fff;
  font-size: 13px;
  line-height: 1;
}
.otd-social-link-row__field {
  min-width: 0;
}
.otd-social-link-row__field input {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  outline: 0;
  background: #f7f7f7;
  color: #111;
  box-shadow: inset 0 0 0 1px #ececec;
}
.otd-social-link-row__field input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 1px #a8a8a8, 0 0 0 3px rgba(0,0,0,.035);
}
.otd-social-link-row__save {
  min-width: 88px;
  min-height: 44px;
}
.otd-social-link-row--unavailable .otd-social-link-row__field {
  color: var(--otd-muted);
  font-size: 12px;
}

/* Page headers inside the creator workspace are title-only. */
.otd-app-content .otd-page-head {
  margin-bottom: 24px;
}
.otd-app-content .otd-page-head p {
  display: none !important;
}

@media (max-width: 760px) {
  .otd-social-link-row {
    grid-template-columns: 1fr auto;
    gap: 9px 10px;
    padding: 11px 12px;
  }
  .otd-social-link-row__label {
    grid-column: 1 / -1;
  }
  .otd-social-link-row__field {
    grid-column: 1;
  }
  .otd-social-link-row__save {
    grid-column: 2;
    min-width: 76px;
  }
}


/* otDiary 1.9.58 — mobile verification badge typography cleanup. */
@media (max-width: 650px) {
  .otd-verification-popover__hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  .otd-verification-popover__hero img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .otd-verification-popover__hero strong {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    justify-self: center !important;
    align-self: center !important;
    color: #fff !important;
    font-weight: 760 !important;
  }

  .otd-verification-popover__description {
    color: rgba(255,255,255,.78) !important;
    text-align: center !important;
  }

  .otd-verification-popover__criteria,
  .otd-verification-popover__criteria span {
    width: auto !important;
    max-width: 34rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    text-decoration: none !important;
  }

  .otd-verification-popover__criteria {
    margin-top: 14px !important;
    text-align: center !important;
  }

  .otd-verification-popover__criteria::before,
  .otd-verification-popover__criteria::after,
  .otd-verification-popover__criteria span::before,
  .otd-verification-popover__criteria span::after {
    display: none !important;
    content: none !important;
  }

  .otd-verification-popover__criteria small {
    display: none !important;
  }

  .otd-verification-popover__criteria span {
    display: block !important;
    color: #fff !important;
    font-size: clamp(16px, 4.35vw, 20px) !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    letter-spacing: -.01em !important;
    text-align: center !important;
  }
}


/* otDiary 1.9.60 — remove the remaining verification criteria inner tile on mobile. */
@media (max-width: 650px) {
  body .otd-verification-popover .otd-verification-popover__criteria {
    display: contents !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
  }
  body .otd-verification-popover .otd-verification-popover__criteria small {
    display: none !important;
  }
  body .otd-verification-popover .otd-verification-popover__criteria > span {
    display: block !important;
    width: min(34rem, 100%) !important;
    margin: 14px auto 0 !important;
    padding: 0 !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    text-align: center !important;
  }
}


/* otDiary 1.9.65 — stable mobile app viewport. */
@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}


/* otDiary 1.9.66 — native app keeps website sitemap/legal footer on the web only. */
html.otd-native-app .otd-fpm-sitemap,
html.otd-native-app .otd-site-footer,
body.otd-native-app .otd-fpm-sitemap,
body.otd-native-app .otd-site-footer{display:none!important}

/* 1.10.53 — verification details are intentional, never hover-triggered.
 * The badge remains clickable/keyboard-accessible, but hovering a creator name
 * or verification badge cannot reveal the information card. */
.otd-verification-badge-wrap:not(.is-open) .otd-verification-popover,
.otd-verification-badge-wrap:not(.is-open):hover .otd-verification-popover,
.otd-verification-badge-wrap:not(.is-open):focus-within .otd-verification-popover {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.otd-verification-badge-wrap.is-open .otd-verification-popover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.otd-verification-badge-trigger {
  cursor: pointer !important;
}



/* ========================================================================== */
/* otDiary Theme 1.10.67 — canonical verification identity owner              */
/* The badge is identity art, never a glass control. Popovers never affect    */
/* surrounding creator-name geometry while closed.                            */
/* ========================================================================== */
[data-otd-verification-badge].otd-verification-badge-wrap{
  --otd-verification-size:.92em;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 var(--otd-verification-size)!important;
  width:var(--otd-verification-size)!important;
  height:var(--otd-verification-size)!important;
  min-width:var(--otd-verification-size)!important;
  min-height:var(--otd-verification-size)!important;
  max-width:var(--otd-verification-size)!important;
  max-height:var(--otd-verification-size)!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  line-height:0!important;
  vertical-align:middle!important;
  isolation:auto!important;
}
[data-otd-verification-badge] > .otd-verification-badge-trigger{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  transform:none!important;
  line-height:0!important;
}
[data-otd-verification-badge] > .otd-verification-badge-trigger:focus,
[data-otd-verification-badge] > .otd-verification-badge-trigger:focus-visible,
[data-otd-verification-badge] > .otd-verification-badge-trigger:hover{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  transform:none!important;
}
[data-otd-verification-badge] > .otd-verification-badge-trigger > .otd-verified-badge{
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  object-fit:contain!important;
  transform:none!important;
  vertical-align:middle!important;
}

/* Context scale: proportional to the actual name treatment, not one global 19px. */
.otd-social-feed-card__name [data-otd-verification-badge]{--otd-verification-size:12px}
.otd-home-suggested__identity strong [data-otd-verification-badge]{--otd-verification-size:12px}
.otd-home-curated-creators__copy strong [data-otd-verification-badge]{--otd-verification-size:12px}
.otd-discover-creator-name [data-otd-verification-badge]{--otd-verification-size:14px}
.otd-sidebar-name [data-otd-verification-badge]{--otd-verification-size:14px}
.otd-settings-pro__identity h2 [data-otd-verification-badge]{--otd-verification-size:16px}
.otd-profile-name-row > [data-otd-verification-badge]{--otd-verification-size:20px}
.otd-curated-creator-card__identity [data-otd-verification-badge]{--otd-verification-size:16px}
.otd-brand-creators strong [data-otd-verification-badge]{--otd-verification-size:12px}
.otd-subscriber-following__name [data-otd-verification-badge]{--otd-verification-size:13px}

/* A closed popover has zero rendering/layout footprint everywhere. */
[data-otd-verification-badge] > .otd-verification-popover{
  position:fixed!important;
  z-index:100000!important;
  margin:0!important;
}
[data-otd-verification-badge]:not(.is-open) > .otd-verification-popover{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
[data-otd-verification-badge].is-open > .otd-verification-popover{
  display:grid!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

@media(max-width:767px){
  .otd-social-feed-card__name [data-otd-verification-badge]{--otd-verification-size:11px}
  .otd-profile-name-row > [data-otd-verification-badge]{--otd-verification-size:18px}
  .otd-curated-creator-card__identity [data-otd-verification-badge]{--otd-verification-size:15px}
}
