/* Palette and character inspired by the supplied “Непаханое мнение” artwork. */
:root {
  --green: #17130f;
  --dark: #0b0a08;
  --lime: #f6a313;
  --ink: #18130e;
  --muted: #756655;
  --line: #dfcdb5;
  --paper: #f7efe2;
  --white: #fffdf8;
  --radius: 14px;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, #ffd88a55 0, transparent 24rem),
    linear-gradient(180deg, #fffaf1 0, var(--paper) 36rem);
}

a:hover { color: #b45b00; }
.topline { color: #ffda93; background: #0b0a08; border-bottom: 2px solid #f6a313; }
.topline span:last-child { color: #d9c3a7; }
header, nav, footer { background: #fffaf1; }
.brand { font-weight: 900; text-transform: uppercase; letter-spacing: -1.5px; }
.brandmark {
  color: #f6a313;
  background: #12100d;
  border: 2px solid #f6a313;
  border-radius: 50%;
  box-shadow: 3px 3px 0 #f6a313;
  transform: rotate(-2deg);
}
.branddot { color: #f6a313; }
.searchbox { background: #f6ead7; border-color: #d8c09e; box-shadow: inset 0 0 0 1px #fff8ed; }
.searchbox button { color: #f6a313; background: #17130f; border-color: #17130f; }
.header-help, .interview-nav { color: #a95000; }
.owner-mail { color: #17130f; font-size: 13px; font-weight: 800; white-space: nowrap; border-bottom: 2px solid #f6a313; }
nav { border-color: #d8c09e; }
nav a.active { color: #17130f; border-color: #f6a313; }

.page-head .eyebrow, .eyebrow { letter-spacing: 2.1px; }
.page-head h1 { position: relative; display: inline-block; }
.page-head h1::after {
  position: absolute;
  right: 8%;
  bottom: -8px;
  left: 0;
  height: 5px;
  content: "";
  background: #f6a313;
  border-radius: 50% 12% 45% 20%;
  transform: rotate(-1deg);
}

.chip { background: #fffaf1; border-color: #d8c09e; }
.chip.selected { color: #fffaf1; background: #17130f; border-color: #17130f; box-shadow: 3px 3px 0 #f6a313; }
.feature {
  background: #15120f;
  border: 1px solid #000;
  border-radius: 18px;
  box-shadow: 7px 7px 0 #f6a313;
}
.feature::after {
  position: absolute;
  top: -65px;
  right: -55px;
  width: 170px;
  height: 170px;
  content: "";
  border: 18px solid #f6a313;
  border-radius: 50%;
  opacity: .16;
}
.feature .eyebrow { color: #f6a313; }
.feature h2 { font-weight: 900; text-transform: uppercase; }
.feature p, .feature-foot { color: #dbc9b2; }
.round { color: #f6a313; border-color: #f6a313; }
.round:hover { color: #17130f; background: #f6a313; }

.side-card, .card, .system-mini, .form-card, .channels, .chat-box {
  background: #fffaf1;
  border-color: #d8c09e;
  box-shadow: 0 5px 0 #e9dbc7;
}
.side-card .eyebrow, .textlink, .section-head a { color: #a95000; }
.lime { background: #f6a313; border-color: #17130f; box-shadow: 5px 5px 0 #17130f; }
.lime .eyebrow, .lime .textlink { color: #17130f; }
.lime p { color: #4e3216; }
.system-mini:hover, .card:hover { border-color: #f6a313; box-shadow: 0 6px 0 #f6a313; }
.system-icon { color: #f6a313; background: #17130f; border-radius: 50%; box-shadow: 2px 2px 0 #f6a313; }
.tag { color: #6f3600; background: #ffe1a4; border: 1px solid #f5bd55; }
.news-row button:hover, .card-title:hover { color: #a95000; }
.interview-card { color: #fffaf1; background: #17130f; border-color: #17130f; box-shadow: 7px 7px 0 #f6a313; }
.interview-card .eyebrow { color: #f6a313; }
.interview-card p { color: #d8c8b5; }

.btn { color: #17130f; background: #f6a313; border-color: #17130f; box-shadow: 3px 3px 0 #17130f; }
.btn:hover { color: #f6a313; background: #17130f; border-color: #17130f; box-shadow: 3px 3px 0 #f6a313; }
.btn.secondary { color: #17130f; background: #fffaf1; border-color: #a9804c; }
.btn.light { color: #17130f; background: #f6a313; border-color: #17130f; }
.notice { color: #5f4a33; background: #fff2d8; border-left-color: #f6a313; }
.field, select, .toolbar input { background: #fffdf8; border-color: #cdb48f; }
.form-intro { background: #17130f; box-shadow: 7px 7px 0 #f6a313; }
.form-intro .eyebrow { color: #f6a313; }
.form-intro p { color: #d8c8b5; }
.channels button.selected { color: #17130f; background: #f6a313; }
.message { background: #ffe1a4; border: 1px solid #f5bd55; }
.contact-row a { color: #a95000; }
.empty-symbol { color: #c36500; }

footer { border-top: 4px solid #17130f; }
.footer-brand { color: #17130f; font-weight: 900; text-transform: uppercase; }
dialog { background: #fffaf1; box-shadow: 10px 10px 0 #f6a313, 0 20px 100px #09060280; }
dialog::backdrop { background: #17100bba; }
.close { color: #f6a313; background: #17130f; }
#toast { color: #fffaf1; background: #17130f; border: 2px solid #f6a313; }
.skip { background: #fffaf1; border: 2px solid #f6a313; }

@media (max-width: 720px) {
  .feature { box-shadow: 4px 5px 0 #f6a313; }
  .brandmark { box-shadow: 2px 2px 0 #f6a313; }
  .page-head h1::after { bottom: -5px; height: 4px; }
  .owner-mail { display: none; }
}

.footer-author { display: flex; align-items: center; gap: 16px; }
.footer-author p { font-size: 12px; line-height: 1.4; }
.footer-author b { color: #17130f; }
@media (max-width: 720px) { .footer-author { width: 100%; align-items: flex-start; } }

.feedback-layout { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.feedback-notice { margin-bottom: 26px; }
.feedback-notice b { color: #17130f; }
.feedback-feed-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.feedback-feed-head h2 { margin-top: 7px; }
.feedback-feed { display: grid; gap: 14px; }
.feedback-feed > .empty { padding: 55px 24px; background: #fffaf1; border: 1px dashed #cdb48f; border-radius: 14px; }
.feedback-item { position: relative; overflow: hidden; padding: 22px 24px; background: #fffaf1; border: 1px solid #d8c09e; border-radius: 14px; box-shadow: 0 5px 0 #e9dbc7; }
.feedback-item::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ""; background: #f6a313; }
.feedback-item.complaint::before { background: #b9502c; }
.feedback-item h3 { margin: 13px 0 9px; }
.feedback-item p { white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-item .meta { margin-top: 18px; }
.feedback-item .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.feedback-item-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: #756655; font-size: 12px; }
.feedback-kind { padding: 5px 9px; color: #17130f; background: #ffe1a4; border-radius: 5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.complaint .feedback-kind { color: #742810; background: #ffe0d4; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: normal !important; line-height: 1.45; }
.consent input { width: 19px; height: 19px; margin: 2px 0 0 !important; flex: 0 0 auto; accent-color: #f6a313; }
.feedback-result { min-height: 24px; padding: 11px 13px; border-radius: 8px; font-size: 14px; }
.feedback-result:empty { min-height: 0; padding: 0; }
.feedback-result.success { color: #315b2b; background: #e9f4e3; }
.feedback-result.error { color: #842a1b; background: #ffe7df; }
.feedback-result.pending { color: #6f3600; background: #fff2d8; }

@media (max-width: 900px) { .feedback-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feedback-feed-head { align-items: stretch; flex-direction: column; } .feedback-feed-head select { width: 100%; } }
.moderation-login { max-width: 760px; }

/* Непаханая карта дня */
.tarot-stage { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(320px, 1.1fr); gap: clamp(28px, 5vw, 76px); align-items: center; padding: clamp(24px, 4vw, 58px); overflow: hidden; color: #18341e; background: linear-gradient(145deg,#dff5ff,#fff4bd 62%,#c8e989); border: 2px solid #174e3d; border-radius: 20px; box-shadow: 8px 8px 0 #f6a313; }
.tarot-visual { position: relative; width: min(100%, 540px); margin: 0 auto; padding: 10px; background: #fff7d9; border: 3px solid #174e3d; border-radius: 22px; transform: rotate(-.5deg); box-shadow: 0 20px 55px #174e3d45; }
.tarot-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 3px solid #17130f; border-radius: 14px; }
.tarot-number,.tarot-name { position: absolute; left: 50%; z-index: 2; transform: translateX(-50%); padding: 6px 13px; color: #fffaf1; background: #17130f; border: 1px solid #f6a313; white-space: nowrap; letter-spacing: 1.4px; text-transform: uppercase; }
.tarot-number,.tarot-name { display: none; }
.tarot-number { top: 24px; font-size: 10px; }
.tarot-name { bottom: 24px; font-size: clamp(18px, 2.5vw, 27px); font-weight: 900; }
.tarot-reading { padding: clamp(12px,3vw,34px); background: #fffdf4e8; border: 2px solid #174e3d; border-radius: 18px; box-shadow: 5px 5px 0 #174e3d; }
.tarot-reading .eyebrow { color: #14763c; }
.tarot-reading h2 { margin: 18px 0 8px; font-size: clamp(38px, 6vw, 76px); line-height: .96; text-transform: uppercase; }
.tarot-symbol { color: #a95000; font-weight: 800; }
.tarot-copy { max-width: 700px; margin-top: 25px; color: #38523e; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.tarot-question { margin: 28px 0; padding: 19px 22px; color: #17130f; background: #f6a313; border-radius: 12px; box-shadow: 4px 4px 0 #fffaf1; }
.tarot-question small { display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1.2px; }
.tarot-question b { font-size: 18px; }
.tarot-reading .fine { margin-top: 20px; color: #617566; }
.tarot-deck { display: flex; gap: 14px; align-items: stretch; margin-top: 38px; overflow-x: auto; padding: 6px 6px 14px; }
.tarot-deck > span { min-width: 170px; align-self: center; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.tarot-thumb { min-width: 120px; padding: 8px; color: #17130f; background: #fffaf1; border: 1px solid #d8c09e; border-radius: 12px; text-align: left; }
.tarot-thumb img { display: block; width: 100%; height: 118px; object-fit: cover; object-position: center; border-radius: 7px; filter: saturate(.82); }
.tarot-thumb b { display: block; padding: 9px 3px 3px; }
.tarot-thumb.active { color: #fffaf1; background: #17130f; border-color: #f6a313; box-shadow: 4px 4px 0 #f6a313; }

/* Совет дня */
.advice-stage { display: grid; grid-template-columns: minmax(190px,.42fr) minmax(0,1.58fr); gap: clamp(26px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 70px); color: #fffaf1; background: #17130f; border: 1px solid #000; border-radius: 20px; box-shadow: 8px 8px 0 #f6a313; }
.advice-mark { aspect-ratio: 1; display: grid; place-content: center; text-align: center; background: #f6a313; color: #17130f; border: 8px solid #fffaf1; border-radius: 50%; box-shadow: 0 0 0 8px #f6a313, 12px 12px 0 #000; transform: rotate(-3deg); }
.advice-mark span { font-size: 12px; font-weight: 900; letter-spacing: 2px; }
.advice-mark b { font-size: clamp(56px, 9vw, 118px); line-height: .92; }
.advice-stage article h2 { max-width: 900px; margin: 22px 0 18px; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; text-transform: uppercase; }
.advice-stage article > p { max-width: 850px; color: #eadac5; font-size: clamp(17px, 2vw, 22px); line-height: 1.6; }
.advice-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.advice-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.advice-mini { padding: 19px; color: #17130f; background: #fffaf1; border: 1px solid #d8c09e; border-radius: 12px; text-align: left; box-shadow: 0 4px 0 #e9dbc7; }
.advice-mini span { display: block; margin-bottom: 8px; color: #a95000; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.advice-mini b { font-size: 16px; line-height: 1.3; }
.advice-mini.active { background: #ffe1a4; border-color: #f6a313; box-shadow: 4px 4px 0 #17130f; }

@media (max-width: 900px) { .tarot-stage,.advice-stage { grid-template-columns: 1fr; } .tarot-reading { text-align: center; } .tarot-question { text-align: left; } .advice-mark { width: min(62vw,280px); margin: 0 auto; } .advice-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .tarot-stage,.advice-stage { padding: 20px; box-shadow: 5px 5px 0 #f6a313; } .tarot-visual { width: 92%; } .tarot-deck > span { display: none; } .advice-list { grid-template-columns: 1fr; } .advice-actions .btn { width: 100%; } }

/* Календарь АПК */
.calendar-lead { display: grid; grid-template-columns: minmax(210px,.45fr) minmax(0,1.55fr); gap: 28px; align-items: center; padding: 26px 30px; color: #fffaf1; background: #17130f; border-radius: 18px; box-shadow: 7px 7px 0 #f6a313; }
.calendar-lead > div { display: flex; flex-direction: column; }
.calendar-lead .eyebrow { color: #f6a313; }
.calendar-lead b { margin-top: 5px; font-size: clamp(34px,5vw,58px); line-height: 1; }
.calendar-lead p { color: #e2d2bd; font-size: 16px; }
.calendar-toolbar { padding-top: 20px; }
.calendar-count { margin-bottom: 14px; }
.calendar-timeline { display: grid; gap: 18px; }
.calendar-event { display: grid; grid-template-columns: 112px minmax(0,1fr); overflow: hidden; background: #fffaf1; border: 1px solid #d8c09e; border-radius: 15px; box-shadow: 0 5px 0 #e9dbc7; }
.calendar-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; color: #fffaf1; background: #17130f; border-right: 4px solid #f6a313; text-align: center; }
.calendar-date span { font-size: 45px; font-weight: 900; line-height: 1; }
.calendar-date b { margin-top: 6px; color: #f6a313; font-size: 17px; text-transform: uppercase; }
.calendar-date small { margin-top: 4px; color: #cfbda5; }
.calendar-body { padding: 24px 28px; }
.calendar-body h2 { margin: 12px 0 19px; }
.calendar-status { padding: 5px 9px; color: #17130f; background: #f6a313; border-radius: 5px; font-weight: 900; text-transform: uppercase; letter-spacing: .6px; }
.kind-planned .calendar-status { background: #bfe5ff; }
.kind-effective .calendar-status { color: #fffaf1; background: #28633d; }
.kind-completed .calendar-status { background: #e5d6c2; }
.calendar-body dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0; }
.calendar-body dl > div { padding: 14px; background: #f8eddd; border-radius: 9px; }
.calendar-body dt { margin-bottom: 7px; color: #756655; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
.calendar-body dd { margin: 0; font-size: 14px; line-height: 1.5; }
.calendar-body .calendar-action { background: #fff0bf; }
.calendar-source { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 20px; color: #756655; font-size: 12px; }
.calendar-source .btn { flex: 0 0 auto; margin: 0; }
@media (max-width: 900px) { .calendar-body dl { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .calendar-lead { grid-template-columns: 1fr; padding: 23px; } .calendar-event { grid-template-columns: 1fr; } .calendar-date { min-height: auto; padding: 16px; flex-direction: row; gap: 8px; border-right: 0; border-bottom: 4px solid #f6a313; } .calendar-date span { font-size: 28px; } .calendar-date b,.calendar-date small { margin: 0; } .calendar-body { padding: 20px; } .calendar-source { align-items: stretch; flex-direction: column; } .calendar-source .btn { width: 100%; } }

/* Published interview */
.interview-release { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(0,1.1fr); margin-bottom: 42px; overflow: hidden; background: #fffaf1; border: 1px solid #d6c2a5; border-radius: 10px; box-shadow: 7px 7px 0 #f6a313; }
.interview-player { min-height: 320px; background: #17130f; }
.interview-player iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.interview-preview { position: relative; display: block; width: 100%; height: 100%; min-height: 320px; padding: 0; overflow: hidden; border: 0; background: #17130f; color: #fff; }
.interview-preview img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .2s ease; }
.interview-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,#000b); }
.interview-preview:hover img { transform: scale(1.025); }
.interview-play { position: absolute; z-index: 1; left: 50%; top: 47%; display: grid; place-items: center; width: 72px; height: 72px; padding-left: 5px; border: 3px solid #fff; border-radius: 50%; background: #17130fde; color: #f6a313; font-size: 28px; transform: translate(-50%,-50%); box-shadow: 0 8px 30px #0005; }
.interview-play-label { position: absolute; z-index: 1; left: 0; right: 0; bottom: 24px; font-weight: 700; font-size: 15px; text-align: center; }
.interview-release-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.interview-release-copy .eyebrow { color: #8b421f; }
.interview-release-copy h1 { max-width: 780px; margin: 18px 0; font-size: 40px; }
.interview-release-copy p { font-size: 17px; }
.interview-platforms { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.interview-platforms .btn { min-width: 150px; }
.interview-release-copy .interview-fallback { margin-top: 14px; font-size: 12px; color: #766b5f; }
@media (max-width: 1100px) { .interview-release-copy h1 { font-size: 34px; } }
@media (max-width: 720px) { .interview-release { grid-template-columns: 1fr; } .interview-player,.interview-player iframe,.interview-preview,.interview-preview img { min-height: 0; aspect-ratio: 16/9; } .interview-release-copy { padding: 25px; } .interview-release-copy h1 { font-size: 30px; } .interview-platforms .btn { flex: 1; min-width: 170px; } }
