/* 老板账号：音乐厅左下角收成一块萨友交流区 */
body.yk-responsive-lounge.space-lounge #loungeView > .yk-lounge-left-stack.yk-community-on,
body.yk-responsive-lounge.space-lounge #loungeView > .yk-lounge-left-stack.yk-community-on:has([data-expanded="true"]) {
  display: flex !important;
  flex-direction: column !important;
  align-self: end !important;
  height: var(--yk-community-h, auto) !important;
  max-height: var(--yk-community-h, none) !important;
  margin-bottom: var(--yk-community-gap, 0px) !important;
}

.yk-community {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  padding: 14px 14px 12px;
  border: 1px solid #d6be7755;
  border-radius: 24px;
  background: #0a2116cc;
  box-shadow: 0 12px 30px #0002;
  color: #f6ead0;
}

.yk-community-tabs {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.yk-community-tab {
  flex: 1 1 0;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid #d6be7777;
  background: transparent;
  color: #f6ead0;
  font-size: 14px;
  cursor: pointer;
}

.yk-community-fold {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d6be7777;
  background: transparent;
  color: #e6c56a;
  font-size: 14px;
  cursor: pointer;
}

.yk-community-tab[aria-selected="true"] {
  background: #e6c56a;
  border-color: #e6c56a;
  color: #1c1408;
  font-weight: 650;
}

.yk-community-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.yk-community-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.yk-community-panel[hidden] {
  display: none !important;
}

body.yk-responsive-lounge.space-lounge #loungeView .yk-community .nature-comment-head,
body.yk-responsive-lounge.space-lounge #loungeView .yk-community .yk-fix-notice-head {
  display: none !important;
}

.yk-community .nature-comment-wall,
.yk-community .yk-fix-notice-wall {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative !important;
  inset: auto !important;
}

body.yk-responsive-lounge.space-lounge #loungeView .yk-community .nature-comment-viewport,
body.yk-responsive-lounge.space-lounge #loungeView .yk-community .yk-fix-notice-viewport,
body.yk-responsive-lounge.space-lounge #loungeView .yk-community .yk-fix-notice-wall[data-expanded="false"] .yk-fix-notice-viewport,
body.yk-responsive-lounge.space-lounge #loungeView .yk-community .yk-fix-notice-wall[data-expanded="true"] .yk-fix-notice-viewport {
  flex: 1 1 auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

body.yk-responsive-lounge.space-lounge #loungeView .yk-community .nature-comment-viewport,
body.yk-responsive-lounge.space-lounge #loungeView .yk-community .yk-fix-notice-viewport {
  overflow: hidden !important;
}
body.yk-responsive-lounge.space-lounge #loungeView .yk-community .nature-comment-viewport.is-manual {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

body.yk-responsive-lounge.space-lounge #loungeView .yk-community .nature-comment-track {
  animation: ykSaxStream 720s linear infinite !important;
}

body.yk-responsive-lounge.space-lounge #loungeView .yk-community .yk-fix-notice-track.is-scrolling {
  animation: ykFixStream calc(var(--fix-count, 4) * 5s) linear infinite !important;
}

body.yk-responsive-lounge.space-lounge #loungeView .yk-community .nature-comment-track:hover,
body.yk-responsive-lounge.space-lounge #loungeView .yk-community .yk-fix-notice-track.is-scrolling:hover {
  animation-play-state: paused !important;
}

.yk-ask {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yk-ask-hint {
  margin: 0;
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.4;
  color: #e6d4a1;
}

.yk-ask-bar {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.yk-ask-mine,
.yk-ask-submit,
.yk-ask-vote {
  border: 1px solid #d6be7777;
  background: transparent;
  color: #f6ead0;
  border-radius: 999px;
  min-height: 32px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 13px;
}

.yk-ask-mine[aria-pressed="true"],
.yk-ask-submit {
  background: #e6c56a;
  border-color: #e6c56a;
  color: #1c1408;
}

.yk-ask-list {
  flex: 1 1 0;
  min-height: 0;
  height: 180px;
  max-height: 46%;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  display: block;
  position: relative;
}

.yk-community.is-open .yk-ask-list {
  height: auto;
  max-height: calc(100% - 132px);
}

.yk-ask {
  min-height: 0;
}

.yk-ask-track.is-scrolling {
  animation: ykAskStream calc(var(--ask-count, 4) * 5s) linear infinite;
}

.yk-ask-track.is-scrolling:hover {
  animation-play-state: paused;
}

@keyframes ykAskStream {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.yk-ask-empty {
  margin: 8px 0;
  color: #e6d4a1;
  font-size: 14px;
}

.yk-ask-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 4px;
  border-bottom: 1px solid #d6be7733;
}

.yk-ask-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6c56a;
  color: #1c1408;
  font-size: 12px;
  font-weight: 700;
}

.yk-ask-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yk-ask-title {
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yk-ask-meta {
  font-size: 12px;
  color: #e6d4a1cc;
}

.yk-ask-status {
  align-self: flex-start;
  margin-top: 2px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.yk-ask-status.is-doing {
  background: #e6c56a;
  color: #1c1408;
}

.yk-ask-status.is-done {
  background: #2f6b4f;
  color: #f4fff6;
}

.yk-ask-vote.is-on,
.yk-ask-vote:disabled {
  opacity: 0.7;
  cursor: default;
}

.yk-ask-count {
  min-width: 1.5em;
  text-align: right;
  color: #f0a0b0;
  font-weight: 700;
}

.yk-ask-form {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.yk-ask-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #d6be7777;
  background: #ffffff14;
  color: #f6ead0;
  padding: 0 12px;
  font-size: 14px;
}

.yk-ask-form input::placeholder {
  color: #e6d4a199;
}

.yk-community .nature-comment-real {
  flex: 0 0 auto;
  max-height: 46%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.yk-community .nature-comment-real[hidden] {
  display: none !important;
}
