.sekundochku {
  --ink: #19273e;
  --muted: #52677d;
  --blue: #176be8;
  --blue-dark: #0b52bd;
  --blue-soft: #e8f2ff;
  --line: #d9e2eb;
  --paper: #fff;
  --radius: 13px;
  box-sizing: border-box;
  min-height: 100svh;
  padding: 24px 28px 28px;
  background: #f8f6f1;
  color: var(--ink);
  font: 16px/1.5 "Segoe UI Variable", "Segoe UI", ui-sans-serif, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sekundochku *, .sekundochku *::before, .sekundochku *::after { box-sizing: border-box; }
.sekundochku [hidden] { display: none !important; }
.sekundochku :is(h1,h2), .sekundochku h2, .sekundochku h3, .sekundochku p { margin: 0; }
.sekundochku button, .sekundochku select, .sekundochku input { font: inherit; }
.sekundochku button { min-height: 44px; cursor: pointer; color: inherit; }
.sekundochku button:disabled { cursor: default; }
.sekundochku a { color: var(--blue-dark); text-underline-offset: 3px; }
.sekundochku button:focus-visible, .sekundochku a:focus-visible, .sekundochku select:focus-visible, .sekundochku input:focus-visible, .sekundochku [tabindex]:focus-visible { outline: 3px solid #176be8; outline-offset: 3px; }
.sekundochku .icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sekundochku .icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sekundochku .laptop { position: relative; width: min(1420px, 100%); margin: 0 auto; }
.sekundochku .screen-frame { position: relative; padding: 25px 15px 15px; border: 2px solid #8d9299; border-radius: 28px 28px 8px 8px; background: #242931; box-shadow: 0 1px 0 2px #b7bbc0, 0 20px 48px #293c5315; }
.sekundochku .camera { position: absolute; top: 9px; left: calc(50% - 4px); width: 8px; height: 8px; border: 2px solid #151b24; border-radius: 50%; background: #35465d; box-shadow: 0 0 0 2px #363b45; }
.sekundochku .laptop-screen { overflow: hidden; border: 1px solid #d7e3e9; border-radius: 8px; background: radial-gradient(ellipse at 94% 98%, #eef1df 0%, transparent 44%), radial-gradient(ellipse at 4% 34%, #eef5f9 0%, transparent 37%), linear-gradient(134deg, #dceef7 0%, #e5f2f8 52%, #d7edf4 100%); }
.sekundochku .laptop-base { position: relative; height: 15px; margin: 0 -12px; border: 1px solid #aeb2b6; border-top: 2px solid #c9cdd0; border-radius: 2px 2px 60% 60% / 2px 2px 12px 12px; background: linear-gradient(#dadbdd, #aeb3b8 70%, #7e858b); box-shadow: 0 7px 8px #34405218; }
.sekundochku .laptop-base::before { content: ""; position: absolute; top: -2px; left: 42%; width: 16%; height: 6px; border-radius: 0 0 7px 7px; background: #b0b4b9; box-shadow: inset 0 1px 2px #7a8187; }
.sekundochku .system-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 7px 20px; border-bottom: 1px solid #c7dce7; background: #eef7fbbb; }
.sekundochku .system-title { display: flex; align-items: center; gap: 16px; min-width: 0; font-size: 14px; }
.sekundochku .system-title strong { font-weight: 700; white-space: nowrap; }
.sekundochku .system-divider { height: 15px; width: 1px; background: #9baab9; }
.sekundochku #mode-label { color: #45566e; }
.sekundochku .system-symbols { display: flex; align-items: center; gap: 16px; }
.sekundochku .system-symbols svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; }
.sekundochku .start-view { padding: 52px clamp(24px, 5vw, 78px) 62px; }
.sekundochku .start-content { display: grid; grid-template-columns: 1fr 0.92fr; align-items: center; gap: clamp(30px, 6vw, 85px); min-height: 460px; }
.sekundochku .eyebrow { margin-bottom: 12px; color: #566c81; font-size: 13px; font-weight: 600; letter-spacing: 0.045em; }
.sekundochku .start-copy :is(h1,h2) { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 730; }
.sekundochku .start-description { max-width: 430px; margin: 24px 0 28px; font-size: 19px; line-height: 1.6; }
.sekundochku .start-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.sekundochku .primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 50px; padding: 12px 21px; border: 1px solid transparent; border-radius: 9px; background: var(--blue); color: #fff; font-size: 16px; line-height: 1.4; font-weight: 600; box-shadow: 0 2px 3px #0b52bd18; transition: background 140ms ease, box-shadow 140ms ease; }
.sekundochku .primary-button:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 3px 7px #0b52bd24; }
.sekundochku .primary-button:disabled { color: #6b7d91; background: #e3eaf0; border-color: #d7e0e9; box-shadow: none; }
.sekundochku .text-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 7px 3px; border: 0; border-radius: 4px; background: transparent; color: var(--blue-dark); font-size: 14px; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.sekundochku .text-button:hover:not(:disabled) { color: #083f91; }
.sekundochku .text-button:disabled { color: #7b8797; text-decoration: none; }
.sekundochku .secondary-button, .sekundochku .reply-button { min-height: 46px; padding: 10px 14px; border: 1px solid #a8b8ca; border-radius: 7px; background: #fff; color: var(--ink); line-height: 1.45; font-weight: 500; transition: background 140ms ease, border-color 140ms ease; }
.sekundochku .secondary-button:hover:not(:disabled), .sekundochku .reply-button:hover:not(:disabled) { border-color: #7f9abb; background: #f3f8ff; }
.sekundochku .secondary-button:disabled, .sekundochku .reply-button:disabled { opacity: 0.55; }
.sekundochku .reality-note { color: var(--muted); font-size: 12px; line-height: 1.5; }
.sekundochku .start-copy .reality-note { max-width: 360px; margin-top: 22px; }
.sekundochku .start-preview { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sekundochku .preview-document { overflow: hidden; border: 1px solid #b9cedd; border-radius: 12px; background: #fff; box-shadow: 0 14px 32px #456b8c1a; }
.sekundochku .preview-window-title { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; background: #f2f6fa; font-size: 14px; font-weight: 600; }
.sekundochku .preview-window-title .icon { color: var(--blue); }
.sekundochku .preview-dots { margin-left: auto; letter-spacing: 2px; color: #758398; }
.sekundochku .preview-paper { padding: 26px 30px 34px; }
.sekundochku .draft-label { color: #68788c; font-size: 13px; }
.sekundochku .preview-paper h2 { margin: 10px 0 20px; font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; }
.sekundochku .preview-paper p { color: #43546b; font-size: 16px; line-height: 1.6; }
.sekundochku .unfinished-line { height: 28px; margin-top: 22px; border-bottom: 1px solid #d2dfeb; }
.sekundochku .decorative-cursor { display: block; height: 18px; width: 2px; background: #354f73; animation: sekundochku-cursor-blink 1.15s step-end infinite; }
.sekundochku .preview-ending { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }
.sekundochku .preview-incoming { display: grid; grid-template-columns: 40px minmax(0, 1fr) 7px; align-items: start; gap: 12px; width: 100%; padding: 16px; border: 1px solid #c5d9e9; border-radius: 12px; background: #ffffffed; box-shadow: 0 9px 24px #3558791f; }
.sekundochku .preview-incoming strong { font-size: 14px; }
.sekundochku .preview-incoming p { margin-top: 3px; font-size: 13px; line-height: 1.45; color: #42546d; }
.sekundochku .preview-incoming .unread-dot { margin-top: 9px; }
.sekundochku .noscript-note { margin-top: 20px; color: var(--muted); }
.sekundochku .work-view { padding: 0 20px; }
.sekundochku .work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.sekundochku .task-instruction { font-size: 14px; font-weight: 600; line-height: 1.45; }
.sekundochku .task-instruction span { margin: 0 4px; color: var(--muted); }
.sekundochku .game-controls { display: flex; gap: 3px; }
.sekundochku .icon-button { display: grid; place-items: center; width: 44px; min-width: 44px; padding: 8px; border: 0; border-radius: 7px; background: transparent; color: #51667c; }
.sekundochku .icon-button:hover { background: #ffffff8c; }
.sekundochku .icon-button .icon { width: 18px; height: 18px; }
.sekundochku .work-layout { display: grid; grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr); gap: 16px; height: clamp(470px, calc(100svh - 250px), 790px); }
.sekundochku .window { min-width: 0; overflow: hidden; border: 1px solid #b9d0df; border-radius: var(--radius); background: var(--paper); box-shadow: 0 4px 12px #3f719b12; }
.sekundochku .window.is-active { border-color: #83b0dd; }
.sekundochku .window-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; min-height: 50px; padding: 11px 17px; border-bottom: 1px solid #edf1f5; background: linear-gradient(110deg, #f4f7fa, #f1f5f8); }
.sekundochku .window-titlebar h2 { display: flex; align-items: center; gap: 11px; font-size: 16px; line-height: 1.3; font-weight: 650; }
.sekundochku .window-icon { color: var(--blue); }
.sekundochku .window-decoration svg { display: block; width: 52px; height: 20px; fill: none; stroke: #425068; stroke-width: 1.3; }
.sekundochku .document-panel { display: flex; flex-direction: column; }
.sekundochku .document-scroll { position: relative; flex: 1; min-height: 0; overflow: auto; padding: 17px 28px 18px; scroll-behavior: auto; scrollbar-width: thin; scrollbar-color: #c5ceda #f7f9fb; overscroll-behavior: contain; }
.sekundochku .document-masthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.sekundochku .compact-link { font-size: 12px; }
.sekundochku .document-title { max-width: 620px; margin: 0 0 10px; font-size: clamp(29px, 2.5vw, 36px); line-height: 1.17; letter-spacing: -0.025em; font-weight: 720; }
.sekundochku .source-note { margin-bottom: 23px; color: #6d7b8e; font-size: 12px; line-height: 1.55; }
.sekundochku .source-note span { color: #7a8696; }
.sekundochku .source-note a { font-weight: 500; }
.sekundochku .story p { position: relative; margin-bottom: 18px; font-size: 17.5px; line-height: 1.58; }
.sekundochku .paragraph-marker { display: inline-block; position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
.sekundochku .title-choice { display: flex; align-items: start; flex-direction: column; gap: 7px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sekundochku .title-choice label { color: #5b6c82; font-size: 13px; font-weight: 600; }
.sekundochku .title-choice select { width: 100%; min-height: 46px; padding: 9px 36px 9px 11px; border: 1px solid #bdcbd9; border-radius: 6px; background: #fff; color: var(--ink); font-size: 14px; }
.sekundochku .ending-options { min-width: 0; margin: 26px 0 0; padding: 0; border: 0; }
.sekundochku .ending-options legend { margin-bottom: 10px; padding: 0; font-size: 18px; line-height: 1.45; font-weight: 650; }
.sekundochku .ending-option { display: flex; align-items: start; gap: 12px; min-height: 51px; margin: 2px -8px; padding: 12px 8px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 15px; line-height: 1.5; }
.sekundochku .ending-option:hover { background: #f6f9fc; }
.sekundochku .ending-option:has(input:checked) { background: #f1f7ff; border-color: #d1e3fd; }
.sekundochku .ending-option input { flex: none; width: 21px; height: 21px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.sekundochku .publish-area { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.sekundochku .publish-area p { flex: 1 1 140px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.sekundochku .document-footer { display: flex; justify-content: flex-end; margin-top: 5px; }
.sekundochku .inbox-panel { display: flex; flex-direction: column; }
.sekundochku .inbox-status { flex: none; min-height: 31px; padding: 7px 18px 2px; color: var(--muted); font-size: 11px; }
.sekundochku .inbox-list { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: auto; padding: 2px 10px 8px; scrollbar-width: thin; scrollbar-color: #c5ceda #fff; overscroll-behavior: contain; }
.sekundochku .inbox-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 7px; align-items: start; gap: 11px; min-width: 0; width: 100%; min-height: 80px; padding: 12px 11px; border: 0; border-bottom: 1px solid #edf1f5; border-radius: 0; background: #fff; text-align: left; }
.sekundochku .inbox-row:last-child { border-bottom-color: transparent; }
.sekundochku .inbox-row:hover { background: #f4f8fc; border-radius: 9px; }
.sekundochku .inbox-row.is-active { border-bottom-color: transparent; border-radius: 9px; background: var(--blue-soft); box-shadow: inset 3px 0 var(--blue); }
.sekundochku .avatar { display: grid; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #d8e8fe; color: #28446d; font-size: 18px; line-height: 1; font-weight: 600; }
.sekundochku .inbox-row:nth-child(1) .avatar, .sekundochku .preview-avatar { background: #ffdfc9; color: #654331; }
.sekundochku .inbox-row:nth-child(2) .avatar { background: #d1ede3; color: #31574b; }
.sekundochku .sender { display: block; margin-bottom: 3px; font-size: 14px; line-height: 1.3; font-weight: 650; }
.sekundochku .preview { display: block; overflow-wrap: anywhere; color: #485b75; font-size: 12.5px; line-height: 1.4; }
.sekundochku .unread-dot { display: block; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #176be8; }
.sekundochku .inbox-row:not(.is-unread) .unread-dot { background: #b9c9dc; }
.sekundochku .details-region { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0 18px; border-top: 1px solid #dbe4ec; }
.sekundochku .inbox-hint { display: flex; flex: 1; min-height: 140px; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 20px 0; color: var(--muted); text-align: center; font-size: 13px; line-height: 1.6; }
.sekundochku .hint-icon { width: 32px; height: 32px; fill: none; stroke: #aac3da; stroke-width: 1.4; }
.sekundochku .message-details { min-width: 0; min-height: 0; padding: 12px 0 8px; overflow: auto; scrollbar-width: thin; scrollbar-color: #c5ceda #fff; overscroll-behavior: contain; }
.sekundochku .details-region > .message-details { flex: 1; }
.sekundochku .message-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sekundochku .message-header h3, .sekundochku .message-header strong { font-size: 15px; line-height: 1.4; font-weight: 650; }
.sekundochku .message-header .text-button { flex: none; font-size: 12px; }
.sekundochku .message-context { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 400; }
.sekundochku .message-bubble { margin: 10px 0 14px; padding: 14px 15px; border-radius: 9px 9px 9px 2px; background: #f0f3f7; color: #253852; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.sekundochku .message-bubble p + p { margin-top: 10px; }
.sekundochku .quoted-screenshot { margin: 12px 0; padding: 16px; border: 1px solid #d8e2ed; border-radius: 8px; background: repeating-linear-gradient(#f8fafc, #f8fafc 26px, #edf2f7 27px); color: #40536e; font-size: 14px; line-height: 1.6; box-shadow: 0 2px 4px #24395707; }
.sekundochku .quoted-screenshot p { margin: 0; }
.sekundochku .quoted-screenshot .chat-text { white-space: pre-line; }
.sekundochku .reply-actions { display: flex; align-items: stretch; flex-direction: column; gap: 8px; margin-top: 14px; }
.sekundochku .reply-actions .text-button { align-self: flex-start; text-align: left; justify-content: flex-start; }
.sekundochku .reply-button { width: 100%; font-size: 13px; }
.sekundochku .file-attachment { display: flex; align-items: center; gap: 11px; margin: 12px 0; padding: 11px 13px; border: 1px solid #d4e0ec; border-radius: 8px; background: #fbfdff; color: #405774; font-size: 13px; }
.sekundochku .file-attachment .icon { color: var(--blue); }
.sekundochku .sent-reply { margin: 16px 0 8px 18px; padding: 12px 15px; border-radius: 9px 9px 2px 9px; background: #e5f0ff; color: #234d83; font-size: 14px; line-height: 1.5; }
.sekundochku .success-message { margin: 12px 0; padding: 12px 14px; border: 1px solid #d7e8df; border-radius: 8px; background: #f0f8f3; color: #385c49; font-size: 14px; line-height: 1.55; }
.sekundochku .mobile-return, .sekundochku .mobile-tabs { display: none; }
.sekundochku .desktop-dock { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 67px; gap: 12px; }
.sekundochku .dock-icons { display: flex; grid-column: 2; align-items: center; gap: 9px; padding: 5px 10px; border: 1px solid #ffffffb5; border-radius: 13px; background: #f4f8f9a6; box-shadow: 0 3px 6px #52789614; }
.sekundochku .dock-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--blue); box-shadow: 0 2px 4px #5780a523; }
.sekundochku .dock-chat { color: #fff; background: var(--blue); }
.sekundochku .dock-icon .icon { width: 23px; height: 23px; }
.sekundochku .desk-file { display: flex; grid-column: 3; align-items: center; justify-self: end; gap: 7px; color: #536a82; font-size: 11px; }
.sekundochku .desk-file .icon { width: 26px; height: 28px; padding: 3px; border-radius: 3px; background: #fff; color: #7993ae; box-shadow: 0 2px 4px #44688914; }
.sekundochku .result-view { max-height: calc(100svh - 141px); padding: 26px 26px 32px; overflow: auto; scrollbar-width: thin; scrollbar-color: #b8cbdc #e6f1f6; }
.sekundochku .result-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sekundochku .result-heading .eyebrow { margin-bottom: 5px; }
.sekundochku .result-heading :is(h1,h2) { max-width: 680px; font-size: clamp(26px, 2.7vw, 36px); line-height: 1.2; letter-spacing: -0.025em; }
.sekundochku .published-label { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 12px; border: 1px solid #cfe1d8; border-radius: 20px; background: #f4fcf7; color: #426c55; font-size: 12px; }
.sekundochku .published-label .icon { width: 16px; height: 16px; }
.sekundochku .result-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.sekundochku .published-note { padding: 24px 26px 28px; font-size: 16px; line-height: 1.6; }
.sekundochku .published-note h2, .sekundochku .published-note h3 { margin-bottom: 20px; font-size: 28px; line-height: 1.2; letter-spacing: -0.025em; }
.sekundochku .published-note p { margin-bottom: 16px; }
.sekundochku .published-note p:last-child { margin-bottom: 0; }
.sekundochku .published-note .source-note { font-size: 12px; }
.sekundochku .published-note .ending, .sekundochku .published-note .published-ending { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.sekundochku .result-aside { min-width: 0; }
.sekundochku .result-evidence h2, .sekundochku .route-section h2, .sekundochku .result-inbox h2 { font-size: 17px; line-height: 1.4; font-weight: 650; }
.sekundochku .result-artifacts { display: grid; gap: 12px; margin-top: 12px; }
.sekundochku .artifact { padding: 18px; border: 1px solid #c9dce8; border-radius: 10px; background: #ffffffdf; color: #38516b; font-size: 14px; line-height: 1.6; }
.sekundochku .artifact h3 { margin-bottom: 8px; font-size: 13px; color: #61758a; font-weight: 500; }
.sekundochku .artifact p + p { margin-top: 8px; }
.sekundochku .artifact-quote { display: block; margin: 8px 0 12px; color: #223f60; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.3; font-weight: 650; letter-spacing: -0.02em; }
.sekundochku .artifact.artifact-quote { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: normal; }
.sekundochku .artifact-quote blockquote { margin: 8px 0 12px; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.3; font-weight: 650; letter-spacing: -0.02em; }
.sekundochku .route-section { margin-top: 24px; }
.sekundochku .route-description { margin-top: 5px; color: #687c91; font-size: 12px; }
.sekundochku .result-route { margin: 14px 0 0 4px; padding: 0; }
.sekundochku .route-event { position: relative; min-height: 38px; padding: 3px 0 14px 17px; border-left: 1px solid #bdd0df; list-style: none; color: #486079; font-size: 12px; line-height: 1.5; }
.sekundochku .route-event::before { content: ""; position: absolute; top: 7px; left: -3px; width: 5px; height: 5px; border-radius: 50%; background: #81a6c8; }
.sekundochku .route-event:last-child { border-left-color: transparent; }
.sekundochku .route-time { display: inline-block; margin-right: 8px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.sekundochku .result-reflection { margin: 26px 0; padding: 22px 24px; border-radius: 12px; background: #f9fcffdf; }
.sekundochku .result-summary { color: #3c566e; font-size: 15px; line-height: 1.6; }
.sekundochku .result-summary:empty { display: none; }
.sekundochku .result-summary p + p { margin-top: 7px; }
.sekundochku #result-question { max-width: 720px; margin-top: 12px; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.28; letter-spacing: -0.02em; font-weight: 650; }
.sekundochku .result-summary:empty + #result-question { margin-top: 0; }
.sekundochku .result-inbox { margin-bottom: 26px; }
.sekundochku .result-inbox-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 780px; margin-top: 12px; }
.sekundochku .archived-chat { min-width: 0; border: 1px solid #c7d9e6; border-radius: 8px; background: #ffffffb8; }
.sekundochku .archived-chat > summary { min-height: 48px; padding: 13px 16px; color: #38516b; font-size: 14px; line-height: 1.5; cursor: pointer; }
.sekundochku .archived-chat .message-details { overflow: visible; padding: 14px 16px; border-top: 1px solid #dce6ee; }
.sekundochku .result-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 15px; }
.sekundochku .result-footer .reality-note { max-width: 410px; text-align: right; }
.sekundochku .pause-view { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 24px; background: #283e5899; backdrop-filter: blur(3px); }
.sekundochku .pause-card { width: min(420px, 100%); padding: 34px 32px; border: 1px solid #d4e2ee; border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 20px 70px #11284435; }
.sekundochku .pause-icon { width: 36px; height: 36px; margin-bottom: 14px; fill: none; stroke: #176be8; stroke-width: 1.7; stroke-linecap: round; }
.sekundochku .pause-card h2 { margin-bottom: 12px; font-size: 28px; letter-spacing: -0.025em; }
.sekundochku .pause-card p { margin-bottom: 22px; color: #637890; font-size: 15px; line-height: 1.65; }
.sekundochku .pause-card .primary-button { width: 100%; }
.sekundochku .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes sekundochku-cursor-blink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }

@media (max-width: 1100px) {
  .sekundochku { padding: 18px; }
  .sekundochku .work-view { padding-right: 14px; padding-left: 14px; }
  .sekundochku .work-layout { gap: 12px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .sekundochku .document-scroll { padding-right: 22px; padding-left: 22px; }
  .sekundochku .inbox-row { grid-template-columns: 36px minmax(0, 1fr) 6px; gap: 8px; padding-right: 8px; padding-left: 8px; }
  .sekundochku .inbox-row .avatar { width: 36px; height: 36px; font-size: 16px; }
  .sekundochku .inbox-row { min-height: 85px; }
  .sekundochku .preview { font-size: 12px; }
  .sekundochku .window-decoration svg { width: 40px; }
  .sekundochku .details-region { margin-right: 14px; margin-left: 14px; }
  .sekundochku .message-bubble { padding: 12px; font-size: 14px; }
  .sekundochku .reply-button { font-size: 12.5px; }
  .sekundochku .result-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 800px) {
  .sekundochku { padding: 0; background: #eaf3f8; }
  .sekundochku .screen-frame { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .sekundochku .camera, .sekundochku .laptop-base, .sekundochku .system-symbols, .sekundochku .window-decoration { display: none; }
  .sekundochku .laptop-screen { min-height: 100svh; border: 0; border-radius: 0; }
  .sekundochku .system-bar { min-height: 46px; padding: 7px 16px; }
  .sekundochku .system-title { gap: 10px; font-size: 12px; }
  .sekundochku .system-divider { height: 12px; }
  .sekundochku #mode-label { font-size: 11px; }
  .sekundochku .start-view { padding: 36px 24px 28px; }
  .sekundochku .start-content { grid-template-columns: 1fr; gap: 36px; min-height: auto; }
  .sekundochku .start-copy { max-width: 540px; margin: 0 auto; }
  .sekundochku .start-copy :is(h1,h2) { font-size: clamp(40px, 9.5vw, 57px); }
  .sekundochku .start-description { margin-top: 21px; margin-bottom: 24px; font-size: 17px; }
  .sekundochku .start-actions { align-items: stretch; }
  .sekundochku .start-actions .text-button { align-self: center; }
  .sekundochku .start-copy .reality-note { margin-top: 14px; text-align: center; }
  .sekundochku .start-preview { width: min(440px, 100%); margin: 0 auto; }
  .sekundochku .preview-paper { padding: 22px; }
  .sekundochku .preview-paper h2 { font-size: 25px; }
  .sekundochku .work-view { padding: 0 10px; }
  .sekundochku .work-toolbar { min-height: 55px; gap: 4px; }
  .sekundochku .task-instruction { max-width: calc(100% - 90px); font-size: 12px; }
  .sekundochku .task-instruction span { margin: 0 1px; }
  .sekundochku .game-controls { gap: 0; }
  .sekundochku .work-layout { display: flex; height: calc(100svh - 184px); min-height: 360px; gap: 0; }
  .sekundochku .window { width: 100%; border-radius: 10px; }
  .sekundochku .window-titlebar { min-height: 49px; padding: 10px 15px; }
  .sekundochku .window-titlebar h2 { font-size: 15px; }
  .sekundochku .document-panel { display: flex; }
  .sekundochku .inbox-panel { display: none; }
  .sekundochku[data-mobile-pane="chat"] .document-panel { display: none; }
  .sekundochku[data-mobile-pane="chat"] .inbox-panel { display: flex; }
  .sekundochku .document-scroll { padding: 13px 19px 20px; }
  .sekundochku .document-masthead { gap: 5px; }
  .sekundochku .compact-link { font-size: 11px; }
  .sekundochku .document-title { margin-bottom: 11px; font-size: 30px; }
  .sekundochku .source-note { margin-bottom: 22px; font-size: 11px; }
  .sekundochku .story p { margin-bottom: 19px; font-size: 17px; line-height: 1.62; }
  .sekundochku .title-choice select { font-size: 12px; }
  .sekundochku .ending-options legend { font-size: 17px; }
  .sekundochku .ending-option { gap: 10px; min-height: 55px; font-size: 14px; }
  .sekundochku .publish-area { flex-direction: column; align-items: stretch; gap: 9px; margin-top: 20px; }
  .sekundochku .publish-area p { flex: initial; text-align: center; }
  .sekundochku .document-footer { justify-content: center; margin-top: 10px; }
  .sekundochku .mobile-return { display: inline-flex; min-height: 44px; margin: -8px 0; font-size: 13px; }
  .sekundochku .mobile-return .icon { width: 17px; height: 17px; }
  .sekundochku .inbox-panel .inbox-list, .sekundochku .inbox-panel .inbox-status { display: none; }
  .sekundochku .details-region { margin: 0 18px; border-top: 0; }
  .sekundochku .message-details { padding: 18px 0 12px; }
  .sekundochku .message-header { margin-bottom: 12px; }
  .sekundochku .message-header h3, .sekundochku .message-header strong { font-size: 16px; }
  .sekundochku .message-context { font-size: 12px; }
  .sekundochku .message-bubble { padding: 15px; font-size: 16px; line-height: 1.6; }
  .sekundochku .quoted-screenshot { padding: 17px; font-size: 15px; }
  .sekundochku .reply-actions { gap: 10px; margin-top: 19px; }
  .sekundochku .reply-button { min-height: 48px; padding: 12px; font-size: 14px; }
  .sekundochku .reply-actions .text-button { font-size: 13px; }
  .sekundochku .desktop-dock { display: none; }
  .sekundochku .mobile-tabs { display: flex; align-items: stretch; gap: 4px; min-height: 65px; margin: 8px 0 10px; padding: 5px; border: 1px solid #cfdee9; border-radius: 11px; background: #f6fafd; }
  .sekundochku .mobile-tabs:empty { display: none; }
  .sekundochku .mobile-tab { display: flex; justify-content: center; align-items: center; flex-direction: column; flex: 1 1 0; gap: 2px; min-width: 0; min-height: 49px; padding: 4px 3px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
  .sekundochku .mobile-tab .icon { width: 19px; height: 19px; }
  .sekundochku .mobile-tab .avatar { width: 21px; height: 21px; font-size: 10px; }
  .sekundochku .mobile-tab .unread-dot { width: 5px; height: 5px; margin-top: 0; }
  .sekundochku .mobile-tab .sender { margin: 0; font-size: 10px; }
  .sekundochku .mobile-tab .preview { display: none; }
  .sekundochku .mobile-tab.is-active { background: #e4efff; color: var(--blue-dark); }
  .sekundochku .mobile-tab.is-unread { color: #245ba5; }
  .sekundochku .mobile-tab:disabled { opacity: 0.5; }
  .sekundochku .result-view { max-height: none; padding: 24px 15px 30px; overflow: visible; }
  .sekundochku .result-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 18px; }
  .sekundochku .result-heading :is(h1,h2) { font-size: 30px; }
  .sekundochku .result-grid { grid-template-columns: 1fr; gap: 24px; }
  .sekundochku .published-note { padding: 22px 20px; font-size: 16px; line-height: 1.65; }
  .sekundochku .published-note h2, .sekundochku .published-note h3 { font-size: 27px; }
  .sekundochku .result-aside { padding: 0 4px; }
  .sekundochku .artifact-quote { font-size: 23px; }
  .sekundochku .artifact-quote blockquote { font-size: 23px; }
  .sekundochku .route-event { font-size: 13px; }
  .sekundochku .result-reflection { margin: 24px 0; padding: 20px 18px; }
  .sekundochku #result-question { font-size: 25px; }
  .sekundochku .result-inbox-list { flex-direction: column; }
  .sekundochku .result-inbox-list .inbox-row { flex: initial; width: 100%; min-height: 74px; grid-template-columns: 36px minmax(0, 1fr) 7px; }
  .sekundochku .result-inbox-list .preview { font-size: 12px; }
  .sekundochku .result-message-details { padding: 18px; }
  .sekundochku .result-footer { align-items: stretch; flex-direction: column; gap: 14px; }
  .sekundochku .result-footer .reality-note { max-width: none; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sekundochku *, .sekundochku *::before, .sekundochku *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Editor's working notes and the conversation that follows each reply. */
.sekundochku .editor-board {
  min-width: 0;
  margin: 28px 0 24px;
  padding: 18px 20px 20px;
  border-left: 3px solid #b7cee9;
  border-radius: 0 9px 9px 0;
  background: #f5f8fc;
}
.sekundochku .editor-board > h2,
.sekundochku .editor-board > h3 {
  margin-bottom: 7px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 650;
}
.sekundochku .editor-step {
  min-width: 0;
  margin: 0;
  padding: 19px 0 14px;
  border: 0;
  border-top: 1px solid #dce5ef;
}
.sekundochku .editor-step:first-of-type { border-top: 0; }
.sekundochku .editor-step:last-child { padding-bottom: 0; }
.sekundochku .editor-step fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.sekundochku .editor-step legend {
  max-width: 100%;
  margin-bottom: 9px;
  padding: 0;
  color: #314d6d;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.sekundochku .editor-choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 48px;
  margin: 3px -8px;
  padding: 11px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #334d69;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.sekundochku .editor-choice:hover { background: #edf3fb; }
.sekundochku .editor-choice:has(input:checked) {
  border-color: #cddff5;
  background: #e8f1fe;
}
.sekundochku .editor-choice input[type="radio"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.sekundochku .editor-choice > span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.sekundochku .editor-choice:has(input:disabled),
.sekundochku .editor-choice input:disabled { cursor: default; }
.sekundochku .editor-note {
  margin: 7px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.sekundochku .editor-progress {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid #c8d9e9;
  border-radius: 5px;
  background: #f8fcff;
  color: #516e8c;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sekundochku .work-toolbar:has(.editor-progress) .game-controls { flex-shrink: 0; }
.sekundochku .editor-applied {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: #4e705c;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.sekundochku .chat-message {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: fit-content;
  max-width: calc(100% - 16px);
  min-width: 0;
  margin: 13px 0;
}
.sekundochku .chat-author {
  display: block;
  margin: 0 2px 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
}
.sekundochku .chat-text {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 9px 9px 9px 2px;
  background: #eff3f7;
  color: #293f5b;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.sekundochku .chat-text p + p { margin-top: 9px; }
.sekundochku .chat-message.is-self {
  align-items: flex-end;
  margin-left: auto;
}
.sekundochku .chat-message.is-self .chat-text {
  border-radius: 9px 9px 2px 9px;
  background: #e5f0ff;
  color: #234d83;
}
.sekundochku .chat-message.is-self .chat-author { text-align: right; }
.sekundochku .chat-time {
  display: block;
  margin: 4px 2px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.sekundochku button.chat-choice,
.sekundochku .chat-choice > button,
.sekundochku button.file-choice,
.sekundochku .file-choice > button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #a8b8ca;
  border-radius: 7px;
  background: #fff;
  color: #304862;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  font-weight: 500;
  overflow-wrap: anywhere;
  transition: background 140ms ease, border-color 140ms ease;
}
.sekundochku button.chat-choice:hover:not(:disabled),
.sekundochku .chat-choice > button:hover:not(:disabled),
.sekundochku button.file-choice:hover:not(:disabled),
.sekundochku .file-choice > button:hover:not(:disabled) {
  border-color: #7f9abb;
  background: #f3f8ff;
}
.sekundochku button.chat-choice:disabled,
.sekundochku .chat-choice > button:disabled,
.sekundochku button.file-choice:disabled,
.sekundochku .file-choice > button:disabled {
  border-color: #d3dde8;
  background: #f7f9fb;
  color: #748399;
}
.sekundochku .file-choice-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}
.sekundochku .chat-finished {
  margin: 17px 0 8px;
  padding-top: 11px;
  border-top: 1px solid #e4eaf1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.sekundochku .chat-continuation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin: 12px 0 6px;
  padding: 8px 11px;
  border: 1px solid #cedff5;
  border-radius: 6px;
  background: #eff6ff;
  color: #3e6593;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 800px) {
  .sekundochku .editor-board { margin: 26px 0 24px; padding: 17px 13px 19px; }
  .sekundochku .editor-step { padding-top: 20px; padding-bottom: 16px; }
  .sekundochku .editor-step legend { font-size: 15px; }
  .sekundochku .editor-choice { gap: 9px; min-height: 51px; padding: 12px 7px; font-size: 14px; }
  .sekundochku .editor-note { font-size: 12px; }
  .sekundochku .editor-progress { min-height: 23px; padding: 2px 6px; font-size: 10px; }
  .sekundochku .chat-message { max-width: calc(100% - 12px); margin: 16px 0; }
  .sekundochku .chat-author { margin-bottom: 5px; font-size: 12px; }
  .sekundochku .chat-text { padding: 13px 14px; font-size: 16px; line-height: 1.6; }
  .sekundochku .chat-time { font-size: 11px; }
  .sekundochku button.chat-choice,
  .sekundochku .chat-choice > button,
  .sekundochku button.file-choice,
  .sekundochku .file-choice > button { min-height: 50px; padding: 12px 13px; font-size: 14px; }
  .sekundochku .file-choice-meta { font-size: 12px; }
  .sekundochku .chat-finished { font-size: 13px; }
  .sekundochku .chat-continuation { padding: 10px 12px; font-size: 13px; }
}

/* The three-day campaign keeps work, contacts and the open conversation separate. */
.sekundochku .system-status { display: flex; flex: none; align-items: center; gap: 20px; }
.sekundochku #day-label { min-width: 0; color: #526b81; font-size: 12px; line-height: 1.4; }
.sekundochku .game-clock { color: #30475f; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sekundochku .start-rules { max-width: 420px; margin: -9px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.sekundochku .start-description { margin-bottom: 23px; }
.sekundochku .preview-paper, .sekundochku .preview-incoming { overflow-wrap: anywhere; }
.sekundochku .work-toolbar { min-height: 72px; }
.sekundochku .toolbar-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.sekundochku .task-instruction { min-width: 0; font-size: 13px; }
.sekundochku .task-instruction #task-instruction { margin: 0; color: var(--ink); }
.sekundochku .task-instruction .editor-progress { margin-left: 7px; }
.sekundochku .day-progress { display: flex; align-items: center; flex: none; gap: 4px; }
.sekundochku .day-step { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 30px; padding: 4px 8px; border: 1px solid #c6d8e5; border-radius: 6px; color: var(--muted); background: #edf6fa; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sekundochku .day-step.is-active { border-color: #9ec2ef; background: #e8f2ff; color: #1057b3; }
.sekundochku .day-step.is-complete { border-color: #c6ded3; background: #f0f8f3; color: #466e57; }
.sekundochku .game-controls { align-items: center; flex: none; gap: 4px; }
.sekundochku .end-day-button { min-width: 44px; min-height: 44px; padding: 8px 12px; border-color: #b4c9da; background: #ffffff99; font-size: 12px; }
.sekundochku .day-task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; flex: none; min-width: 0; max-height: 164px; padding: 12px 14px; overflow: auto; border-bottom: 1px solid #e1e9f1; background: #f9fbfd; scrollbar-width: thin; scrollbar-color: #c5ceda #f9fbfd; }
.sekundochku .day-task-list:empty { display: none; }
.sekundochku .task-button, .sekundochku button.day-task { display: flex; align-items: flex-start; flex-direction: column; justify-content: space-between; gap: 5px; width: 100%; min-width: 0; min-height: 65px; padding: 9px 10px; border: 1px solid #d0dde8; border-radius: 7px; background: #fff; color: #455d77; text-align: left; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.sekundochku .task-button:hover:not(:disabled), .sekundochku button.day-task:hover:not(:disabled) { border-color: #99b7d7; background: #f4f8ff; }
.sekundochku .task-button.is-active, .sekundochku .day-task.is-active { border-color: #94bcec; background: #eaf3ff; color: #185dac; box-shadow: inset 0 2px #176be8; }
.sekundochku .task-button.is-complete, .sekundochku .day-task.is-complete { border-color: #c5ddd0; color: #4c6f5a; }
.sekundochku .task-button strong, .sekundochku .task-button .task-title, .sekundochku .day-task strong { min-width: 0; font-size: 12px; font-weight: 650; }
.sekundochku .task-button small, .sekundochku .task-button .task-status, .sekundochku .day-task small { color: var(--muted); font-size: 10px; font-weight: 400; }
.sekundochku .task-button.is-complete small, .sekundochku .task-button.is-complete .task-status { color: #4c775e; }
.sekundochku .task-button.is-carried small { color: #795b36; }
.sekundochku .task-brief { margin: 8px 0 20px; padding: 11px 13px; border-left: 2px solid #c8d9ed; background: #f5f8fc; color: #58728c; font-size: 13px; line-height: 1.65; }
.sekundochku .task-brief p + p { margin-top: 8px; }
.sekundochku .task-completed { margin: 20px 0; padding: 17px 18px; border: 1px solid #d2e4d9; border-radius: 8px; background: #f3faf5; color: #456851; font-size: 14px; line-height: 1.6; }
.sekundochku .task-completed h3 { margin-bottom: 7px; font-size: 16px; }
.sekundochku .document-title { overflow-wrap: anywhere; }
.sekundochku .story { overflow-wrap: anywhere; }
.sekundochku .mobile-inbox-view { display: flex; flex-direction: column; flex: 0 0 30%; min-height: 130px; max-height: 260px; overflow: hidden; }
.sekundochku .inbox-row { flex-shrink: 0; min-height: 77px; }
.sekundochku .inbox-row .sender { overflow-wrap: anywhere; }
.sekundochku .inbox-row .preview { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sekundochku .inbox-row .row-meta, .sekundochku .inbox-row .contact-role { color: var(--muted); font-size: 10px; line-height: 1.4; }
.sekundochku .inbox-row .avatar { flex: none; }
.sekundochku .chat-notice { margin: 13px 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.sekundochku .choice-cost { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 400; }
.sekundochku .message-details .reply-actions { padding-bottom: 10px; }
.sekundochku .message-details:has(.message-header) { padding-top: 0; }
.sekundochku .message-details .message-header { position: sticky; z-index: 2; top: 0; padding-top: 12px; padding-bottom: 7px; border-bottom: 1px solid #edf2f7; background: #fff; }
.sekundochku .desktop-dock { min-height: 54px; }
.sekundochku .day-end-view { max-height: calc(100svh - 150px); padding: 40px clamp(22px, 4vw, 55px) 38px; overflow: auto; scrollbar-width: thin; scrollbar-color: #b8cbdc #e6f1f6; }
.sekundochku .day-end-header { max-width: 730px; margin-bottom: 25px; }
.sekundochku .day-end-header :is(h1,h2) { margin-bottom: 14px; font-size: clamp(29px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -0.03em; }
.sekundochku .day-end-summary { color: #52708a; font-size: 17px; line-height: 1.6; }
.sekundochku .day-end-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.sekundochku .day-end-content { padding: 21px 23px; color: #435e77; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.sekundochku .day-end-content > p + p { margin-top: 10px; }
.sekundochku .day-end-content h3 { margin: 16px 0 6px; color: #283f58; font-size: 15px; }
.sekundochku .day-end-content h3:first-child { margin-top: 0; }
.sekundochku .day-end-content ul { margin: 0; padding-left: 20px; }
.sekundochku .day-end-content li { margin: 8px 0; }
.sekundochku .day-end-content .day-fact, .sekundochku .day-end-content .task-summary { padding: 12px 0; border-bottom: 1px solid #e7edf3; }
.sekundochku .day-end-content .day-fact:last-child, .sekundochku .day-end-content .task-summary:last-child { border-bottom: 0; }
.sekundochku .day-end-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 27px; }
.sekundochku .day-end-footer .reality-note { max-width: 370px; }
.sekundochku .campaign-day { margin: 24px 0; padding: 0 0 20px; border-bottom: 1px solid #dfe7ef; list-style: none; }
.sekundochku .campaign-day:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.sekundochku .campaign-day h3 { margin-bottom: 12px; font-size: 20px; }
.sekundochku .campaign-day > strong { display: block; margin-bottom: 14px; color: #2d4964; font-size: 16px; }
.sekundochku .campaign-day .day-fact { margin: 11px 0; color: #4a6680; font-size: 13px; line-height: 1.6; }
.sekundochku .work-result { padding: 18px 0 22px; border-bottom: 1px solid #e1e9f1; }
.sekundochku .work-result:first-child { padding-top: 0; }
.sekundochku .work-result:last-child { padding-bottom: 0; border-bottom: 0; }
.sekundochku .published-note .work-result h3 { margin: 7px 0 16px; font-size: 23px; line-height: 1.3; }
.sekundochku .work-result h4 { margin: 0 0 8px; font-size: 15px; }
.sekundochku .work-result p { color: #526b83; font-size: 15px; }
.sekundochku .work-result .draft-label { margin-bottom: 5px; font-size: 12px; }
.sekundochku .result-artifact { min-width: 0; padding: 17px 18px; border: 1px solid #c9dce8; border-radius: 9px; background: #ffffffdf; color: #3b5873; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.sekundochku .result-artifact > strong { display: block; margin-bottom: 6px; color: #2a4663; font-size: 15px; }
.sekundochku .result-artifact > p { color: var(--muted); font-size: 12px; }
.sekundochku .result-artifact details { margin-top: 7px; }
.sekundochku .result-artifact summary { display: list-item; min-height: 44px; padding: 11px 0 8px; color: var(--blue-dark); cursor: pointer; font-size: 13px; }
.sekundochku .result-artifact summary:focus-visible { outline: 3px solid #176be8; outline-offset: 3px; border-radius: 3px; }
.sekundochku .result-artifact details p { margin: 13px 0; }

@media (min-width: 801px) and (max-width: 1100px) {
  .sekundochku .toolbar-main { gap: 12px; }
  .sekundochku .day-progress { gap: 3px; }
  .sekundochku .day-step { min-width: 30px; padding-right: 6px; padding-left: 6px; }
  .sekundochku .task-instruction { max-width: 400px; font-size: 12px; }
  .sekundochku .day-task-list { gap: 5px; padding: 10px; }
  .sekundochku .task-button { padding: 8px; }
  .sekundochku .task-button strong { font-size: 11px; }
  .sekundochku .mobile-inbox-view { flex-basis: 28%; }
  .sekundochku .inbox-row { min-height: 80px; }
  .sekundochku .document-title { font-size: 30px; }
}

@media (max-width: 800px) {
  .sekundochku .system-bar { gap: 10px; }
  .sekundochku .system-title { gap: 9px; }
  .sekundochku .system-divider { display: none; }
  .sekundochku #day-label { max-width: 17ch; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .sekundochku .system-status { gap: 0; }
  .sekundochku .game-clock { font-size: 12px; }
  .sekundochku .start-rules { margin: -5px 0 24px; font-size: 13px; }
  .sekundochku .start-preview { gap: 13px; }
  .sekundochku .preview-incoming { padding: 16px; }
  .sekundochku .work-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 8px; min-height: 93px; padding: 9px 2px 7px; }
  .sekundochku .toolbar-main { display: contents; }
  .sekundochku .day-progress { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .sekundochku .day-step { min-width: 43px; min-height: 26px; padding: 2px 8px; font-size: 11px; }
  .sekundochku .task-instruction { grid-column: 1; grid-row: 2; max-width: none; font-size: 11px; line-height: 1.5; }
  .sekundochku .task-instruction .editor-progress { margin-left: 3px; }
  .sekundochku .game-controls { grid-column: 2; grid-row: 2; gap: 0; }
  .sekundochku .end-day-button { min-height: 44px; padding: 7px 9px; font-size: 11px; }
  .sekundochku .icon-button { width: 44px; min-width: 44px; min-height: 44px; }
  .sekundochku .work-layout { height: calc(100svh - 229px); min-height: 340px; }
  .sekundochku .day-task-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; max-height: 165px; padding: 10px; }
  .sekundochku .task-button, .sekundochku button.day-task { min-height: 68px; padding: 8px; font-size: 11px; }
  .sekundochku .task-button strong, .sekundochku .task-button .task-title, .sekundochku .day-task strong { font-size: 11px; }
  .sekundochku .task-button small, .sekundochku .task-button .task-status, .sekundochku .day-task small { font-size: 10px; }
  .sekundochku .document-title { font-size: 29px; }
  .sekundochku .task-brief { margin-bottom: 19px; font-size: 13px; }
  .sekundochku[data-mobile-pane="inbox"] .document-panel { display: none; }
  .sekundochku[data-mobile-pane="inbox"] .inbox-panel { display: flex; }
  .sekundochku .mobile-inbox-view { display: none; }
  .sekundochku[data-mobile-pane="inbox"] .mobile-inbox-view { display: flex; flex: 1; min-height: 0; max-height: none; }
  .sekundochku[data-mobile-pane="inbox"] .inbox-panel .inbox-list { display: flex; height: auto; padding: 3px 8px 12px; }
  .sekundochku[data-mobile-pane="inbox"] .inbox-panel .inbox-status { display: block; padding: 11px 18px 7px; }
  .sekundochku[data-mobile-pane="inbox"] .details-region { display: none; }
  .sekundochku[data-mobile-pane="chat"] .details-region { display: flex; }
  .sekundochku[data-mobile-pane="chat"] .mobile-inbox-view { display: none; }
  .sekundochku[data-mobile-pane="inbox"] .inbox-row { grid-template-columns: 42px minmax(0, 1fr) 7px; gap: 12px; min-height: 88px; padding: 13px 12px; }
  .sekundochku[data-mobile-pane="inbox"] .inbox-row .avatar { width: 42px; height: 42px; font-size: 18px; }
  .sekundochku[data-mobile-pane="inbox"] .inbox-row .sender { font-size: 15px; }
  .sekundochku[data-mobile-pane="inbox"] .inbox-row .preview { font-size: 14px; line-height: 1.45; }
  .sekundochku .mobile-tabs { gap: 5px; min-height: 64px; }
  .sekundochku .mobile-tab { flex-direction: row; gap: 8px; min-height: 48px; font-size: 13px; }
  .sekundochku .mobile-tab .icon { width: 20px; height: 20px; }
  .sekundochku .mobile-tab .unread-dot { width: 6px; height: 6px; }
  .sekundochku .choice-cost { font-size: 12px; }
  .sekundochku .message-details .message-header { padding-top: 15px; }
  .sekundochku .day-end-view { max-height: none; padding: 31px 16px 35px; overflow: visible; }
  .sekundochku .day-end-header { margin-bottom: 21px; }
  .sekundochku .day-end-header :is(h1,h2) { font-size: 32px; }
  .sekundochku .day-end-summary { font-size: 16px; }
  .sekundochku .day-end-grid { grid-template-columns: 1fr; gap: 17px; }
  .sekundochku .day-end-content { padding: 20px; font-size: 14px; }
  .sekundochku .day-end-footer { align-items: stretch; flex-direction: column; gap: 15px; }
  .sekundochku .day-end-footer .reality-note { max-width: none; text-align: center; }
}

@media (max-width: 380px) {
  .sekundochku .start-copy :is(h1,h2) { font-size: 32px; }
  .sekundochku #day-label { max-width: 11ch; }
  .sekundochku .task-instruction { font-size: 10px; }
  .sekundochku .day-task-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sekundochku .day-end-recap { margin: 0 0 17px; color: #344f68; font-size: 19px; line-height: 1.6; }
.sekundochku .impact-facts { margin-bottom: 19px; }
.sekundochku .impact-fact { display: flex; flex-direction: column; gap: 3px; margin: 10px 0; padding: 10px 12px; border-left: 2px solid #cfad71; background: #fff9ec; color: #695739; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.sekundochku .impact-fact > span { color: #79603b; font-size: 11px; font-variant-numeric: tabular-nums; }
.sekundochku .conversation-time { display: block; margin: 4px 0 5px; color: #526b81; font-size: 12px; line-height: 1.5; }
.sekundochku .day-history { margin-top: 18px; border-top: 1px solid #cddce6; }
.sekundochku .day-history > summary { display: list-item; min-height: 44px; padding: 12px 0; color: #275479; cursor: pointer; font-size: 14px; font-weight: 600; }
.sekundochku .day-history-content { padding: 8px 0 0; }
.sekundochku .day-commitments { margin: 20px 0 0; }
.sekundochku .day-commitments p { margin: 9px 0; }
.sekundochku .result-story p { max-width: 740px; margin: 15px auto 0; color: #49647e; font-size: 16px; line-height: 1.7; }
@media (max-width: 800px) {
  .sekundochku .day-end-recap { font-size: 17px; }
  .sekundochku .result-story p { font-size: 15px; text-align: left; }
}

/* V9: the next decision comes before the reference and the full document. */
.sekundochku .document-masthead { margin-bottom: 7px; }
.sekundochku .document-title { margin-bottom: 10px; font-size: clamp(24px, 2.5vw, 32px); }
.sekundochku .task-description { margin: 0 0 7px; color: #4c637a; font-size: 14px; line-height: 1.55; }
.sekundochku .task-reference, .sekundochku .document-preview { margin: 8px 0 15px; color: #4c637a; font-size: 13px; line-height: 1.6; }
.sekundochku .task-reference > summary, .sekundochku .document-preview > summary { min-height: 44px; padding: 10px 0; color: #1761ba; cursor: pointer; }
.sekundochku .task-reference ul { margin: 4px 0 12px; padding-left: 19px; }
.sekundochku .task-reference li + li { margin-top: 8px; }
.sekundochku .document-preview { margin-top: 21px; border-top: 1px solid #dce6ef; }
.sekundochku .document-preview .story p { margin: 14px 0; font-size: 15px; line-height: 1.7; }
.sekundochku .opening-choice { padding: 12px 0; }
.sekundochku .opening-choice h2 { max-width: 24ch; margin: 8px 0 15px; color: #17324e; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
.sekundochku .opening-choice > p:not(.eyebrow) { max-width: 54ch; color: #4a637c; font-size: 15px; line-height: 1.6; }
.sekundochku .opening-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.sekundochku .opening-action { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 65px; padding: 15px 17px; border: 1px solid #b7cfe6; border-radius: 9px; background: #f5f9ff; color: #1c4d80; text-align: left; font-size: 15px; line-height: 1.45; }
.sekundochku .opening-action:hover { border-color: #176be8; background: #eaf3ff; }
.sekundochku .opening-action span { flex: none; color: var(--muted); font-size: 12px; font-weight: 400; }
.sekundochku .unread-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 6px; background: #176be8; color: #fff; font-size: 12px; font-weight: 650; }
.sekundochku .result-heading :is(h1,h2) { font-size: 23px; }
.sekundochku .result-reflection { padding: 24px; margin: 0 0 23px; text-align: left; }
.sekundochku .result-reflection #result-question { margin: 0 0 16px; font-size: clamp(25px, 3vw, 36px); line-height: 1.2; }
.sekundochku .result-story p { max-width: 760px; margin: 13px 0 0; }
.sekundochku .result-conflict { max-width: 760px; margin: 19px 0 0; padding-top: 16px; border-top: 1px solid #dbe6ee; color: #264560; font-size: 16px; line-height: 1.6; font-weight: 600; }
.sekundochku .result-work-quality { max-width: 760px; margin: 14px 0 0; color: #334f68; font-size: 15px; line-height: 1.6; font-weight: 600; }
.sekundochku .save-status { margin: 0; padding: 11px 20px; border-bottom: 1px solid #dbc9a4; background: #fff7e7; color: #635034; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.sekundochku .result-reflection .result-summary { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid #dbe6ee; color: var(--muted); font-size: 12px; line-height: 1.5; }
.sekundochku .result-archive { margin: 27px 0 0; border-top: 1px solid #cddce6; }
.sekundochku .result-archive > summary { padding: 19px 0; min-height: 54px; color: #275479; cursor: pointer; font-size: 15px; font-weight: 600; }
.sekundochku .archive-content { padding: 10px 0 0; }
.sekundochku summary:focus-visible { outline: 3px solid #176be8; outline-offset: 3px; border-radius: 3px; }
@media (max-width: 800px) {
  .sekundochku .document-scroll { padding: 16px 17px 23px; }
  .sekundochku .document-title { font-size: 25px; }
  .sekundochku .editor-board { margin-top: 12px; padding-top: 12px; }
  .sekundochku .editor-step:first-of-type { padding-top: 5px; }
  .sekundochku .editor-step legend .choice-cost { display: inline; margin-left: 6px; white-space: nowrap; }
  .sekundochku .opening-choice { padding-top: 3px; }
  .sekundochku .opening-choice h2 { font-size: 25px; }
  .sekundochku .opening-choice > p:not(.eyebrow) { font-size: 14px; }
  .sekundochku .opening-actions { margin-top: 17px; }
  .sekundochku .opening-action { gap: 8px; min-height: 66px; padding: 13px 12px; font-size: 14px; }
  .sekundochku .result-heading { gap: 12px; margin-bottom: 15px; }
  .sekundochku .result-heading :is(h1,h2) { font-size: 21px; }
  .sekundochku .result-reflection { padding: 19px 17px; }
  .sekundochku .result-reflection #result-question { font-size: 27px; }
  .sekundochku .result-conflict { font-size: 15px; }
  .sekundochku .result-archive > summary { font-size: 14px; }
}

@media (max-width: 800px) and (max-height: 700px) {
  .sekundochku .document-scroll { padding-top: 12px; }
  .sekundochku .opening-choice { padding: 0; }
  .sekundochku .opening-choice .eyebrow { display: none; }
  .sekundochku .opening-choice h2 { margin: 0 0 9px; font-size: 22px; }
  .sekundochku .opening-choice > p:not(.eyebrow) { font-size: 13px; line-height: 1.45; }
  .sekundochku .opening-actions { gap: 4px; margin-top: 9px; }
  .sekundochku .opening-action { min-height: 50px; padding: 9px 10px; font-size: 13px; }
  .sekundochku .opening-action span { font-size: 11px; }
}
