.comment-box{margin-top:28px}.comment-box>p,.comment-list>p{font-size:13px;color:var(--muted)}.comment-form{display:block;max-width:none;border:0;border-radius:0;background:none;overflow:visible;margin:16px 0}.comment-form label{display:block;font-size:13px}.comment-form textarea{display:block;width:100%;padding:13px;margin:8px 0 10px;border:1px solid var(--border);border-radius:10px;background:var(--soft);color:var(--text);font:inherit;resize:vertical}.comment-form button{width:auto;border:0;font-size:13px;padding:10px 16px;background:var(--accent);color:white;border-radius:20px}.comment-item{border-bottom:1px solid var(--border);padding:18px 0;overflow-wrap:anywhere}.comment-item strong{font-size:13px}.comment-item small{display:inline-block;color:var(--muted);font-size:11px;margin-left:10px}.comment-item p,.moderation-row p{white-space:pre-wrap;overflow-wrap:anywhere}.comment-pending{display:block;color:var(--accent);font-size:11px;margin-top:5px}.comment-message{font-size:12px;color:var(--muted)}.admin-comments{margin-top:25px}.admin-comments select{max-width:300px}.admin-comments button{background:var(--soft);color:var(--text);border:1px solid var(--border);padding:8px 13px;border-radius:8px;margin:6px}.moderation-row{border-bottom:1px solid var(--border);padding:18px 0}.moderation-row strong,.moderation-row small{display:block}.moderation-row small{color:var(--muted)}.moderation-row a{color:var(--accent);font-size:12px;margin-right:12px}

.comment-reply-button { appearance: none; background: transparent; color: inherit; border: 0; border-radius: .6rem; padding: .55rem .7rem; cursor: pointer; font: inherit; }
.comment-reply-button:hover, .comment-reply-button:focus-visible { background: color-mix(in srgb, currentColor 12%, transparent); }
.comment-replies { margin-inline-start: .65rem; padding-inline-start: .65rem; border-inline-start: 2px solid color-mix(in srgb, currentColor 22%, transparent); }
.comment-reply-form { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .5rem; }
.comment-reply-form textarea { flex-basis: 100%; color: inherit; background: transparent; border: 1px solid #777; border-radius: .5rem; padding: .5rem; font: inherit; }
.comment-reply-form p { flex-basis: 100%; margin: 0; }
.comment-notifications { width: min(90vw, 32rem); max-height: 75vh; overflow: auto; padding: 1rem; border: 1px solid #888; border-radius: 1rem; background: #fff; color: #161616; }
.dark .comment-notifications { background: #191919; color: #eee; }
.comment-notifications::backdrop { background: #0007; }
.comment-notifications a { display: block; color: inherit; padding: .8rem; border-bottom: 1px solid #8885; overflow-wrap: anywhere; }
.comment-notifications a.comment-unread { font-weight: 700; border-inline-start: 3px solid #287a56; }


/* Inline reply composer v2 */
:is(.comment-box,.short-comments-sheet) article > .comment-reply-button,
.short-comments-sheet .short-comment-content > .comment-reply-button {
  width:auto; min-height:36px; margin:2px 0; padding:0 10px;
  background:transparent; color:inherit; border:0; border-radius:18px;
  font-size:13px; font-weight:600; line-height:1.2;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-button[hidden] {
  display:none;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-button:hover {
  background:color-mix(in srgb,currentColor 10%,transparent);
}
:is(.comment-box,.short-comments-sheet) form.comment-reply-form {
  display:grid; grid-template-columns:minmax(0,1fr); gap:8px;
  width:100%; max-width:none; margin:8px 0 12px; padding:0;
  border:0; border-radius:0; background:transparent;
  box-shadow:none; overflow:visible; color:inherit;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-form textarea {
  box-sizing:border-box; display:block; width:100%; min-width:0;
  min-height:44px; margin:0; padding:8px 0;
  border:0; border-bottom:1px solid; border-radius:0;
  border-color:color-mix(in srgb,currentColor 35%,transparent);
  background:transparent; color:inherit; box-shadow:none;
  font:inherit; font-size:16px; line-height:1.4; resize:vertical;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-form textarea:focus {
  outline:none; border-bottom-color:currentColor;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-form textarea::placeholder {
  color:inherit; opacity:.62;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-actions {
  display:flex; justify-content:flex-end; gap:8px; min-width:0;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-actions > button {
  width:auto; min-width:0; min-height:40px; margin:0; padding:0 14px;
  border:0; border-radius:20px; background:transparent; color:inherit;
  font-family:inherit; font-size:13px; font-weight:600; white-space:nowrap;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-actions > button:hover {
  background:color-mix(in srgb,currentColor 10%,transparent);
}
:is(.comment-box,.short-comments-sheet) .comment-reply-actions > button[type=submit] {
  background:#16776d; color:#fff;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-actions > button:disabled {
  opacity:.45; cursor:default;
}
:is(.comment-box,.short-comments-sheet) .comment-reply-form > p:empty {
  display:none;
}


/* Notification header v3 */
body header .comment-header-account {
  grid-area:account;
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
}
body header button.comment-notification-bell {
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 44px;
  width:44px;
  height:44px;
  padding:0;
  margin:0;
  border:0;
  border-radius:50%;
  color:var(--text);
  background:transparent;
  cursor:pointer;
}
body header button.comment-notification-bell:hover {
  background:var(--soft);
}
body header button.comment-notification-bell svg {
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body header .comment-notification-count {
  position:absolute;
  top:1px;
  right:0;
  min-width:17px;
  padding:2px 4px;
  border-radius:12px;
  background:#b91c1c;
  color:#fff;
  font:700 10px/1.15 system-ui,sans-serif;
  text-align:center;
}
body header button.comment-notification-bell[hidden],
body header .comment-notification-count[hidden] {
  display:none;
}
@media (max-width:750px) {
  body header .comment-header-account { gap:0; }
  body header .comment-header-account #account.account {
    max-width:clamp(58px, 20vw, 110px);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}


/* Comment reactions and desktop panel v4 */
:is(.comment-box,dialog.short-comments-sheet) button.comment-heart,
:is(.comment-box,dialog.short-comments-sheet) .comment-emoji-bar > button {
  width:auto; min-width:36px; min-height:36px; padding:0 8px;
  border:0; border-radius:18px; background:transparent;
  color:inherit; font:inherit; line-height:1; cursor:pointer;
}
:is(.comment-box,dialog.short-comments-sheet) button.comment-heart {
  font-size:16px; white-space:nowrap;
}
:is(.comment-box,dialog.short-comments-sheet) button.comment-heart[aria-pressed="true"] {
  color:#e14c72;
}
:is(.comment-box,dialog.short-comments-sheet) button.comment-heart:hover,
:is(.comment-box,dialog.short-comments-sheet) .comment-emoji-bar > button:hover {
  background:color-mix(in srgb,currentColor 12%,transparent);
}
.comment-heart-feedback { font-size:12px; }
.comment-heart-feedback:empty { display:none; }
.comment-emoji-bar {
  display:flex; flex-wrap:wrap; gap:2px; flex-basis:100%;
}
dialog.short-comments-sheet form.short-comment-form .comment-emoji-bar {
  grid-column:2/-1;
}
@media (min-width:900px) {
  body.shorts-flow-page:has(dialog.short-comments-sheet[open]) main {
    box-sizing:border-box;
    padding-right:calc(clamp(300px, 34vw, 440px) + 24px);
  }
  body.shorts-flow-page dialog.short-comments-sheet[open] {
    inset:88px 12px 12px auto;
    width:clamp(300px, 34vw, 440px); max-width:none;
    height:auto; min-height:0; max-height:none;
    margin:0; border-radius:16px;
  }
  body.shorts-flow-page dialog.short-comments-sheet::backdrop {
    background:transparent;
  }
  body.shorts-flow-page dialog.short-comments-sheet .short-comments-handle {
    display:none;
  }
}


/* Notification cards v2 */
dialog.comment-notifications {
  box-sizing:border-box; width:min(calc(100% - 24px),460px);
  max-height:min(76dvh,620px); margin:auto; padding:0;
  border:1px solid var(--border,#ddd); border-radius:18px;
  background:var(--bg,#fff); color:var(--text,#161616);
  box-shadow:0 18px 56px #0004;
}
dialog.comment-notifications[open] {display:flex; flex-direction:column; overflow:hidden}
dialog.comment-notifications .notification-heading {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px; border-bottom:1px solid var(--border,#ddd);
}
dialog.comment-notifications .notification-heading h2 {margin:0; font-size:18px}
dialog.comment-notifications .notification-heading button {
  width:42px; height:42px; padding:0; border:0; border-radius:50%;
  color:inherit; background:var(--soft,#eee); font:24px/1 system-ui; cursor:pointer;
}
dialog.comment-notifications .notification-list {min-height:0; overflow:auto; padding:8px}
dialog.comment-notifications .notification-list > p {margin:12px}
dialog.comment-notifications a.notification-card {
  display:grid; grid-template-columns:38px minmax(0,1fr) 8px;
  align-items:start; gap:10px; padding:12px; margin:2px 0;
  border:0; border-radius:12px; color:inherit;
  text-decoration:none; font-weight:400;
}
dialog.comment-notifications a.notification-card:hover,
dialog.comment-notifications a.notification-card:focus-visible,
dialog.comment-notifications a.notification-card.comment-unread {
  background:var(--soft,#f2f4f4);
}
.notification-glyph {
  display:grid; place-items:center; width:38px; height:38px;
  border-radius:50%; background:#dff3ed; color:#166657; font-size:19px;
}
.notification-copy {display:grid; gap:5px; min-width:0; overflow-wrap:anywhere}
.notification-action {font-size:14px; line-height:1.35}
.notification-excerpt {font-size:13px; line-height:1.45}
.notification-context,.notification-meta {font-size:12px; line-height:1.4; opacity:.78}
.notification-dot {width:8px; height:8px; margin-top:6px; border-radius:50%; background:#168777}


/* Shared mobile header and search filters v1 */
.mk-search-filters {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  margin:0 0 12px;
}
.mk-search-filters button {
  min-height:40px; padding:6px 14px; border:1px solid var(--border,#d7dfdb);
  border-radius:12px; background:var(--soft,#edf3f0); color:var(--text,#182525);
  font:600 13px/1.2 system-ui,sans-serif; cursor:pointer;
}
.mk-search-filters button[aria-pressed="true"] {
  background:#155e52; border-color:#155e52; color:#fff;
}
body.forum-page header.mk-shared-header #searchform {
  display:flex; align-items:center; flex:1 1 220px; min-width:0; max-width:440px;
  height:42px; margin:0; padding:0; overflow:hidden;
  border:1px solid #dce6dd; border-radius:24px; background:#fff;
}
body.forum-page header.mk-shared-header #searchform input {
  flex:1; width:100%; min-width:0; padding:0 12px; border:0;
  background:transparent; color:#182525; font:16px system-ui,sans-serif;
}
body.forum-page header.mk-shared-header #searchform button {
  width:44px; min-height:40px; flex:none; border:0;
  background:#edf3f0; color:#182525; font:22px system-ui,sans-serif; cursor:pointer;
}
body.forum-page header.mk-shared-header #searchform:focus-within {
  outline:2px solid #16776d;
}
body.forum-page header.mk-shared-header .comment-notification-bell {
  color:#182525;
}
@media(max-width:750px) {
  body header.mk-shared-header,
  body header.mk-shared-header:has(.language-switch),
  body.shorts-flow-page header.mk-shared-header {
    display:grid;
    grid-template-areas:"brand theme account language" "search search search search";
    grid-template-columns:minmax(0,1fr) auto auto auto;
    grid-template-rows:44px 44px; height:112px; gap:4px;
    box-sizing:border-box; padding:8px 12px;
  }
  body header.mk-shared-header .brand {grid-area:brand; min-width:0; gap:5px}
  body header.mk-shared-header .brand > span:not(.logo) {
    min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  body header.mk-shared-header .brand small {display:none}
  body header.mk-shared-header #theme {display:grid; grid-area:theme; place-items:center}
  body header.mk-shared-header .comment-header-account {grid-area:account}
  body header.mk-shared-header .language-switch {grid-area:language}
  body header.mk-shared-header #searchform,
  body.shorts-flow-page header.mk-shared-header #searchform,
  body.forum-page header.mk-shared-header #searchform {
    display:flex; grid-area:search; width:100%; max-width:none; min-width:0; margin:0;
  }
  body.shorts-flow-page:has(header.mk-shared-header) main {padding-top:112px}
  body.shorts-flow-page:has(header.mk-shared-header) .shorts-flow {
    height:calc(100dvh - 176px - env(safe-area-inset-bottom,0px));
  }
  body.forum-page header.mk-shared-header {
    height:auto;
    grid-template-areas:"brand theme account language" "search search search search" "nav nav nav nav";
    grid-template-rows:44px 44px auto;
  }
  body.forum-page header.mk-shared-header nav {
    grid-area:nav; margin:0; padding:4px 0 2px;
  }
  body.forum-page header.mk-shared-header nav a[aria-current=page]:after {display:none}
}


/* Video card topics v1 */
.card .mk-card-topic,
.short-card .mk-card-topic {
  display:inline-block;
  max-width:100%;
  padding:3px 7px;
  margin:0 0 5px;
  border-radius:6px;
  background:var(--soft,#edf3f0);
  color:var(--text,#182525);
  font:600 11px/1.35 system-ui,sans-serif;
  overflow-wrap:anywhere;
}
.short-card .mk-card-topic {margin-top:8px}
.card .mk-card-topic + h3,
.short-card .mk-card-topic + h3 {margin-top:0}


/* Continue watching v1 */
.mk-resume-video {
  min-height:42px; margin:8px 0; padding:6px 14px;
  border:1px solid var(--border,#d7dfdb); border-radius:12px;
  background:var(--soft,#edf3f0); color:var(--text,#182525);
  font:600 13px/1.2 system-ui,sans-serif; cursor:pointer;
}
.mk-continue-watching {margin:20px 0 24px}
.mk-continue-watching h2 {margin:0 0 10px; font-size:19px}
.mk-continue-watching ul {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));
  gap:8px; margin:0; padding:0; list-style:none;
}
.mk-continue-watching a {
  display:grid; gap:5px; min-height:64px; padding:10px 12px;
  border:1px solid var(--border,#d7dfdb); border-radius:12px;
  background:var(--soft,#edf3f0); color:var(--text,#182525);
  text-decoration:none; overflow-wrap:anywhere;
}
.mk-continue-watching strong {font-size:13px; line-height:1.35}
.mk-continue-watching span {font-size:12px; opacity:.78}
