.daily-view {
  --daily-night: #0b0d0f;
  --daily-surface: #15181c;
  --daily-surface-2: #1b1f23;
  --daily-paper: #f4f7f5;
  --daily-muted: #9ba2a5;
  --daily-quiet: #6f777b;
  --daily-line: #2b3034;
  --daily-coral: #ff6b5e;
  --daily-mint: #70d7c7;
  --daily-sun: #f7c65d;
  --daily-danger: #ff8177;
  color: var(--daily-paper);
  background: var(--daily-night);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  letter-spacing: 0;
}

.daily-view.is-active {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

body[data-active-view="daily"] .site-header {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #2b3034;
  background: rgba(11, 13, 15, .96);
  backdrop-filter: blur(16px);
}

.daily-view *,
.daily-dialog *,
.daily-lightbox *,
.daily-toast * { letter-spacing: 0; }

.daily-view button,
.daily-view input,
.daily-view textarea,
.daily-dialog button,
.daily-dialog input { font: inherit; }

.daily-view button,
.daily-dialog button,
.daily-lightbox button { cursor: pointer; }

.daily-view :focus-visible,
.daily-dialog :focus-visible,
.daily-lightbox :focus-visible {
  outline: 2px solid var(--daily-mint, #70d7c7);
  outline-offset: 3px;
}

.daily-auth {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 83px;
  overflow: hidden;
  isolation: isolate;
}

.daily-auth::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(7, 9, 10, .5);
  pointer-events: none;
}

.daily-auth-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.daily-auth-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: calc(100vh - 83px);
  min-height: calc(100dvh - 83px);
  padding: 48px 6vw 48px;
}

.daily-auth-message { max-width: 710px; padding: 36px 0; }
.daily-auth-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--daily-sun); font: 700 11px/1 Consolas, monospace; }
.daily-auth-eyebrow::before { width: 28px; height: 2px; content: ""; background: var(--daily-sun); }
.daily-auth-message h1 { max-width: 690px; margin: 0; font-family: STSong, SimSun, ui-serif, serif; font-size: 62px; font-weight: 700; line-height: 1.13; text-wrap: balance; }
.daily-auth-message > p:last-child { max-width: 560px; margin: 24px 0 0; color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.8; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.daily-auth-date { display: flex; align-items: center; gap: 14px; width: max-content; margin: 0; color: rgba(255, 255, 255, .78); font: 11px/1 Consolas, monospace; }
.daily-auth-date i { width: 8px; height: 8px; border-radius: 50%; background: var(--daily-coral); box-shadow: 0 0 0 5px rgba(255, 107, 94, .16); }

.daily-login-zone {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 83px);
  min-height: calc(100dvh - 83px);
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 12, 14, .9);
  backdrop-filter: blur(16px);
}

.daily-login-panel { width: 100%; max-width: 354px; margin: 0 auto; }
.daily-login-heading { margin-bottom: 32px; }
.daily-login-heading span { color: var(--daily-mint); font: 700 11px/1 Consolas, monospace; }
.daily-login-heading h2 { margin: 12px 0 10px; font-family: STSong, SimSun, ui-serif, serif; font-size: 38px; line-height: 1.2; }
.daily-login-heading p { margin: 0; color: var(--daily-muted); font-size: 13px; line-height: 1.65; }
.daily-field { display: block; margin-top: 18px; }
.daily-field > span:first-child { display: block; margin-bottom: 8px; color: #d9dedd; font-size: 12px; font-weight: 700; }
.daily-field input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--daily-line); border-radius: 5px; outline: 0; color: var(--daily-paper); background: rgba(255, 255, 255, .035); }
.daily-field input:focus { border-color: var(--daily-mint); background: rgba(112, 215, 199, .055); }
.daily-password-control { position: relative; display: block; }
.daily-password-control input { padding-right: 48px; }
.daily-password-control button { position: absolute; top: 4px; right: 4px; display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 0; border-radius: 4px; color: var(--daily-muted); background: transparent; }
.daily-login-options { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 16px 0 24px; }
.daily-login-options label { display: inline-flex; align-items: center; gap: 8px; color: var(--daily-muted); font-size: 12px; cursor: pointer; }
.daily-login-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--daily-mint); }
.daily-login-options button { padding: 4px 0; border: 0; color: var(--daily-sun); background: transparent; font-size: 12px; }
.daily-login-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 48px; border: 0; border-radius: 5px; color: #15120b; background: var(--daily-sun); font-size: 14px; font-weight: 900; }
.daily-login-submit:disabled { cursor: wait; opacity: .58; }
.daily-login-status { min-height: 20px; margin: 11px 0 0; color: var(--daily-danger); font-size: 12px; line-height: 1.5; }
.daily-manage-entry { display: block; margin: 10px auto 0; padding: 7px; border: 0; color: var(--daily-quiet); background: transparent; font-size: 11px; }
.daily-manage-entry:hover { color: var(--daily-mint); }

.daily-app { min-height: 100%; padding-top: 83px; background: var(--daily-night); }
.daily-appbar {
  position: sticky;
  z-index: 8;
  top: 83px;
  display: grid;
  grid-template-columns: 220px minmax(0, 720px) 240px;
  justify-content: center;
  min-height: 68px;
  border-bottom: 1px solid var(--daily-line);
  background: rgba(11, 13, 15, .96);
  backdrop-filter: blur(16px);
}

.daily-module-name { display: flex; align-items: center; gap: 10px; padding-right: 20px; border-right: 1px solid var(--daily-line); }
.daily-module-name > i { width: 7px; height: 7px; border-radius: 50%; background: var(--daily-coral); box-shadow: 0 0 0 5px rgba(255, 107, 94, .12); }
.daily-module-name strong, .daily-module-name small { display: block; }
.daily-module-name strong { font-size: 14px; }
.daily-module-name small { margin-top: 4px; color: var(--daily-quiet); font: 10px/1 Consolas, monospace; }
.daily-tabs { display: flex; align-items: center; gap: 4px; padding: 0 24px; border-right: 1px solid var(--daily-line); }
.daily-tabs button { min-width: 76px; height: 36px; padding: 0 12px; border: 0; border-radius: 4px; color: var(--daily-muted); background: transparent; font-size: 12px; }
.daily-tabs button.is-active { color: var(--daily-paper); background: var(--daily-surface-2); }
.daily-app-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-left: 18px; }
.daily-focus-composer { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 13px; border: 0; border-radius: 4px; color: #101412; background: var(--daily-mint); font-size: 12px; font-weight: 900; }
.daily-user-menu { position: relative; }
.daily-user-trigger { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid var(--daily-line); border-radius: 50%; color: #14110a; background: var(--daily-sun); font: 900 10px/1 Consolas, monospace; }
.daily-user-popover { position: absolute; top: 48px; right: 0; width: 180px; padding: 8px; border: 1px solid var(--daily-line); border-radius: 6px; background: #16191c; box-shadow: 0 18px 60px rgba(0, 0, 0, .48); }
.daily-user-popover p { margin: 4px 8px 10px; color: var(--daily-muted); font-size: 11px; }
.daily-user-popover button { width: 100%; min-height: 38px; padding: 0 9px; border: 0; border-radius: 4px; color: var(--daily-paper); background: transparent; text-align: left; font-size: 12px; }
.daily-user-popover button:hover { background: var(--daily-surface-2); }

.daily-shell { display: grid; grid-template-columns: 220px minmax(0, 720px) 240px; justify-content: center; min-height: calc(100vh - 151px); min-height: calc(100dvh - 151px); }
.daily-day-rail { position: sticky; top: 151px; align-self: start; height: calc(100vh - 151px); height: calc(100dvh - 151px); padding: 42px 30px 36px 0; border-right: 1px solid var(--daily-line); }
.daily-rail-label { margin: 0 0 22px; color: var(--daily-mint); font: 700 10px/1 Consolas, monospace; }
.daily-rail-date { display: flex; align-items: flex-start; gap: 10px; }
.daily-rail-date strong { font: 700 62px/.85 STSong, SimSun, ui-serif, serif; }
.daily-rail-date span { padding-top: 3px; color: var(--daily-muted); font: 11px/1.6 Consolas, monospace; }
.daily-time-rule { position: relative; height: 154px; margin: 28px 0 26px 13px; border-left: 1px solid var(--daily-line); }
.daily-time-rule i { position: absolute; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--daily-coral); box-shadow: 0 0 0 5px rgba(255, 107, 94, .12); }
.daily-time-rule i:nth-child(1) { top: 5px; }
.daily-time-rule i:nth-child(2) { top: 72px; background: var(--daily-sun); box-shadow: 0 0 0 5px rgba(247, 198, 93, .12); }
.daily-time-rule i:nth-child(3) { bottom: 5px; background: var(--daily-mint); box-shadow: 0 0 0 5px rgba(112, 215, 199, .12); }
.daily-rail-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 20px; border-top: 1px solid var(--daily-line); }
.daily-rail-stat strong { display: block; font: 700 19px/1 STSong, SimSun, ui-serif, serif; }
.daily-rail-stat small { display: block; margin-top: 7px; color: var(--daily-quiet); font-size: 10px; }
.daily-rail-note { margin: 28px 0 0; color: var(--daily-muted); font-size: 12px; line-height: 1.75; }

.daily-feed { min-width: 0; padding: 38px 34px 80px; border-right: 1px solid var(--daily-line); }
.daily-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.daily-feed-heading p { margin: 0 0 7px; color: var(--daily-coral); font: 700 10px/1 Consolas, monospace; }
.daily-feed-heading h2 { margin: 0; font: 700 36px/1.16 STSong, SimSun, ui-serif, serif; }
.daily-feed-heading small { color: var(--daily-quiet); font: 11px/1 Consolas, monospace; white-space: nowrap; }
.daily-composer { padding: 18px; border: 1px solid var(--daily-line); border-radius: 6px; background: var(--daily-surface); }
.daily-composer-top { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
.daily-avatar { display: grid; width: 38px; height: 38px; place-items: center; overflow: hidden; border-radius: 50%; color: #17120a; background: var(--daily-sun); font: 900 10px/1 Consolas, monospace; }
.daily-composer textarea { width: 100%; min-height: 76px; padding: 7px 0; resize: vertical; border: 0; outline: 0; color: var(--daily-paper); background: transparent; font-size: 14px; line-height: 1.7; }
.daily-composer textarea::placeholder { color: var(--daily-quiet); }
.daily-composer-preview { position: relative; margin: 14px 0 4px 50px; overflow: hidden; border-radius: 5px; background: #0d0f11; }
.daily-composer-preview img { display: block; width: 100%; max-height: 320px; object-fit: contain; }
.daily-composer-preview button { position: absolute; top: 9px; right: 9px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: white; background: rgba(7, 9, 10, .82); font-size: 20px; }
.daily-composer-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 13px 0 0 50px; padding-top: 13px; border-top: 1px solid var(--daily-line); }
.daily-composer-actions, .daily-mood-picker { display: flex; align-items: center; gap: 5px; }
.daily-composer-actions > button, .daily-mood-picker button { height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 4px; color: var(--daily-muted); background: transparent; font-size: 11px; }
.daily-composer-actions > button:hover, .daily-mood-picker button:hover { color: var(--daily-paper); background: var(--daily-surface-2); }
.daily-mood-picker button.is-active { border-color: rgba(247, 198, 93, .38); color: var(--daily-sun); background: rgba(247, 198, 93, .08); }
.daily-publish { height: 36px; padding: 0 15px; border: 0; border-radius: 4px; color: #16110b; background: var(--daily-sun); font-size: 12px; font-weight: 900; }
.daily-publish:disabled { cursor: wait; opacity: .58; }
.daily-composer-status { min-height: 18px; margin: 9px 0 0 50px; color: var(--daily-danger); font-size: 11px; }
.daily-feed-status { min-height: 18px; margin: 16px 0 0; color: var(--daily-muted); font-size: 12px; }
.daily-post-stream { margin-top: 8px; }
.daily-feed-post { position: relative; padding: 27px 0 29px 50px; border-top: 1px solid var(--daily-line); }
.daily-feed-post::before { position: absolute; top: 38px; left: 18px; width: 1px; height: calc(100% - 48px); content: ""; background: var(--daily-line); }
.daily-feed-post::after { position: absolute; top: 36px; left: 14px; width: 9px; height: 9px; content: ""; border-radius: 50%; background: var(--post-color, var(--daily-mint)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--post-color, var(--daily-mint)) 14%, transparent); }
.daily-post-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.daily-post-author { display: flex; align-items: center; gap: 10px; }
.daily-post-author .daily-avatar { width: 36px; height: 36px; }
.daily-post-author strong, .daily-post-author small { display: block; }
.daily-post-author strong { font-size: 13px; }
.daily-post-author small { margin-top: 4px; color: var(--daily-quiet); font: 10px/1 Consolas, monospace; }
.daily-post-mood { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 9px; border: 1px solid var(--daily-line); border-radius: 999px; color: var(--daily-muted); font-size: 10px; }
.daily-post-mood i { width: 6px; height: 6px; border-radius: 50%; background: var(--post-color, var(--daily-mint)); }
.daily-post-copy { margin: 18px 0; color: #e7ebea; font-size: 14px; line-height: 1.85; white-space: pre-line; }
.daily-post-photo { display: block; width: 100%; max-height: 470px; padding: 0; overflow: hidden; border: 0; border-radius: 5px; background: #101214; cursor: zoom-in; }
.daily-post-photo img { display: block; width: 100%; max-height: 470px; object-fit: contain; }
.daily-post-actions { display: flex; align-items: center; gap: 4px; margin-top: 15px; }
.daily-post-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 42px; height: 34px; padding: 0 10px; border: 0; border-radius: 4px; color: var(--daily-quiet); background: transparent; font-size: 11px; }
.daily-post-action:hover { color: var(--daily-paper); background: var(--daily-surface); }
.daily-post-action[aria-pressed="true"] { color: var(--daily-coral); }
.daily-comments { margin-top: 12px; padding: 12px 14px; border-left: 2px solid var(--daily-line); background: rgba(255, 255, 255, .025); }
.daily-comment-list { display: grid; gap: 10px; }
.daily-comment { margin: 0; color: var(--daily-muted); font-size: 11px; line-height: 1.65; }
.daily-comment b { color: var(--daily-paper); }
.daily-comment-form { display: flex; gap: 8px; margin-top: 11px; }
.daily-comment-form input { min-width: 0; flex: 1; height: 36px; padding: 0 11px; border: 1px solid var(--daily-line); border-radius: 4px; outline: 0; color: var(--daily-paper); background: var(--daily-night); font-size: 11px; }
.daily-comment-form input:focus { border-color: var(--daily-mint); }
.daily-comment-form button { width: 58px; border: 0; border-radius: 4px; color: #101412; background: var(--daily-mint); font-size: 11px; font-weight: 900; }
.daily-empty { margin: 0; padding: 56px 20px; border-top: 1px solid var(--daily-line); color: var(--daily-muted); text-align: center; font-size: 13px; }

.daily-side-panel { position: sticky; top: 151px; align-self: start; height: calc(100vh - 151px); height: calc(100dvh - 151px); padding: 42px 0 36px 28px; }
.daily-side-panel section + section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--daily-line); }
.daily-side-panel header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 18px; }
.daily-side-panel header strong { font-size: 12px; }
.daily-side-panel header small { color: var(--daily-quiet); font: 9px/1 Consolas, monospace; }
.daily-member-list { display: flex; align-items: center; }
.daily-member { display: grid; width: 36px; height: 36px; margin-left: -7px; place-items: center; border: 3px solid var(--daily-night); border-radius: 50%; color: #17120a; background: var(--daily-mint); font: 900 9px/1 Consolas, monospace; }
.daily-member:first-child { margin-left: 0; }
.daily-member:nth-child(2n) { background: var(--daily-sun); }
.daily-member:nth-child(3n) { background: var(--daily-coral); }
.daily-week-number { margin: 0; font: 700 44px/1 STSong, SimSun, ui-serif, serif; }
.daily-week-number span { color: var(--daily-coral); }
.daily-week-number b { font-weight: 700; }
.daily-week-caption { margin: 10px 0 0; color: var(--daily-muted); font-size: 11px; line-height: 1.7; }
.daily-topic-list { display: flex; flex-wrap: wrap; gap: 7px; }
.daily-topic-list span { min-height: 30px; padding: 6px 10px; border: 1px solid var(--daily-line); border-radius: 999px; color: var(--daily-muted); font-size: 10px; }
.daily-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.daily-dialog { width: min(430px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 1px solid #2b3034; border-radius: 6px; color: #f4f7f5; background: #16191c; box-shadow: 0 24px 90px rgba(0, 0, 0, .65); }
.daily-dialog::backdrop, .daily-lightbox::backdrop { background: rgba(4, 5, 6, .82); backdrop-filter: blur(6px); }
.daily-dialog-content { padding: 27px; }
.daily-dialog-symbol { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #f7c65d; background: rgba(247, 198, 93, .1); font-size: 22px; }
.daily-dialog-content h2 { margin: 20px 0 9px; font: 700 26px/1.2 STSong, SimSun, ui-serif, serif; }
.daily-dialog-content p { margin: 0; color: #9ba2a5; font-size: 13px; line-height: 1.75; }
.daily-dialog-content > div:last-child { display: flex; justify-content: flex-end; margin-top: 25px; }
.daily-dialog-content button { height: 38px; padding: 0 14px; border: 1px solid #f7c65d; border-radius: 4px; color: #17120a; background: #f7c65d; font-size: 12px; font-weight: 900; }

.daily-manager { width: min(780px, calc(100% - 32px)); }
.daily-manager-form { padding: 24px; }
.daily-manager-form > header { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid #2b3034; }
.daily-manager-form > header small { color: #70d7c7; font: 700 10px/1 Consolas, monospace; }
.daily-manager-form > header h2 { margin: 6px 0 0; font-size: 24px; }
.daily-manager-form > header button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid #2b3034; border-radius: 4px; color: #9ba2a5; background: transparent; font-size: 21px; }
.daily-manager-fields { display: grid; grid-template-columns: 1fr 1fr 1.35fr auto; gap: 12px; align-items: end; padding: 22px 0; }
.daily-manager-fields label { display: grid; gap: 7px; }
.daily-manager-fields label > span:first-child { color: #9ba2a5; font-size: 11px; }
.daily-manager-fields input { min-width: 0; width: 100%; height: 40px; padding: 0 10px; border: 1px solid #2b3034; border-radius: 4px; outline: 0; color: #f4f7f5; background: #0b0d0f; }
.daily-manager-fields input:focus { border-color: #70d7c7; }
.daily-generated-password { display: grid; grid-template-columns: 1fr auto; }
.daily-generated-password input { border-radius: 4px 0 0 4px; }
.daily-generated-password button { min-width: 52px; border: 1px solid #2b3034; border-left: 0; border-radius: 0 4px 4px 0; color: #f7c65d; background: #1b1f23; font-size: 11px; }
.daily-create-user { height: 40px; padding: 0 14px; border: 0; border-radius: 4px; color: #101412; background: #70d7c7; font-size: 12px; font-weight: 900; }
.daily-manager-status { min-height: 18px; margin: -8px 0 12px; color: #ff8177; font-size: 11px; }
.daily-user-list { border-top: 1px solid #2b3034; }
.daily-user-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #2b3034; }
.daily-user-row strong, .daily-user-row small { display: block; }
.daily-user-row small { margin-top: 4px; color: #6f777b; font-size: 10px; }
.daily-user-row span { color: #9ba2a5; font-size: 11px; }
.daily-user-row button { min-height: 34px; padding: 0 10px; border: 1px solid #2b3034; border-radius: 4px; color: #f4f7f5; background: transparent; font-size: 11px; }
.daily-user-row button.is-disabled { color: #70d7c7; }

.daily-lightbox { width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: #090a0b; }
.daily-lightbox img { display: block; width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); object-fit: contain; }
.daily-lightbox button { position: absolute; top: 12px; right: 12px; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; color: white; background: rgba(7, 9, 10, .82); font-size: 22px; }
.daily-toast { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px; border: 1px solid rgba(112, 215, 199, .35); border-radius: 5px; color: #f4f7f5; background: #16191c; box-shadow: 0 16px 50px rgba(0, 0, 0, .5); font-size: 12px; }
.daily-toast span { color: #70d7c7; }

@media (max-width: 1220px) {
  .daily-appbar, .daily-shell { grid-template-columns: 190px minmax(0, 660px) 190px; }
  .daily-day-rail { padding-left: 18px; }
  .daily-side-panel { padding-right: 18px; padding-left: 22px; }
}

@media (max-width: 1040px) {
  .daily-appbar { grid-template-columns: minmax(0, 1fr) auto auto; padding: 0 24px; }
  .daily-module-name { border-right: 0; }
  .daily-tabs { border-right: 0; }
  .daily-shell { grid-template-columns: minmax(0, 720px); }
  .daily-day-rail, .daily-side-panel { display: none; }
  .daily-feed { border-right: 0; }
}

@media (max-width: 720px) {
  body[data-active-view="daily"] .site-header { width: 100%; padding-right: 16px; padding-left: 16px; }
  .daily-auth { display: block; padding-top: 73px; overflow-y: auto; }
  .daily-auth::after { background: rgba(7, 9, 10, .62); }
  .daily-auth-photo { position: fixed; }
  .daily-auth-story { min-height: 46vh; padding: 46px 24px 34px; }
  .daily-auth-message { padding: 20px 0; }
  .daily-auth-message h1 { max-width: 470px; font-size: 40px; line-height: 1.16; }
  .daily-auth-message > p:last-child { margin-top: 18px; font-size: 13px; }
  .daily-login-zone { min-height: auto; padding: 34px 24px 44px; border-top: 1px solid rgba(255, 255, 255, .12); border-left: 0; background: rgba(10, 12, 14, .94); }
  .daily-login-panel { max-width: 470px; }
  .daily-login-heading { margin-bottom: 24px; }
  .daily-login-heading h2 { font-size: 32px; }
  .daily-app { padding-top: 73px; }
  .daily-appbar { top: 73px; grid-template-columns: minmax(0, 1fr) auto; min-height: 58px; padding: 0 16px; }
  .daily-module-name small { display: none; }
  .daily-tabs { order: 3; grid-column: 1 / -1; justify-content: center; margin: 0 -16px; padding: 5px 16px; border-top: 1px solid var(--daily-line); }
  .daily-tabs button { flex: 1; height: 32px; }
  .daily-app-actions { padding-left: 0; }
  .daily-shell { display: block; min-height: calc(100dvh - 179px); }
  .daily-feed { width: 100%; padding: 30px 16px 64px; }
  .daily-feed-heading { align-items: start; margin-bottom: 22px; }
  .daily-feed-heading h2 { font-size: 28px; }
  .daily-feed-heading small { padding-top: 5px; }
  .daily-composer { padding: 15px; }
  .daily-composer-preview { margin-left: 0; }
  .daily-composer-tools { align-items: flex-end; margin-left: 0; }
  .daily-composer-actions { flex-wrap: wrap; }
  .daily-mood-picker { width: 100%; }
  .daily-mood-picker button { flex: 1; }
  .daily-composer-status { margin-left: 0; }
  .daily-feed-post { padding-left: 34px; }
  .daily-feed-post::before { left: 8px; }
  .daily-feed-post::after { left: 4px; }
  .daily-post-header { align-items: flex-start; }
  .daily-post-copy { font-size: 13px; }
  .daily-manager-form { padding: 18px; }
  .daily-manager-fields { grid-template-columns: 1fr; }
  .daily-user-row { grid-template-columns: 1fr auto; }
  .daily-user-row > span { grid-column: 1 / -1; }
  .daily-toast { right: 16px; bottom: 16px; left: 16px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .daily-view *, .daily-dialog *, .daily-lightbox * { scroll-behavior: auto !important; transition: none !important; }
}
