/* YELLA Fishing v1.2.29 — Responsive Ocean Comments.
   Presentation only: the existing Supabase comments, likes, reports, moderation,
   dismissal gestures, focus handling and submission remain in the v191 module. */

#yella-comments-overlay-v191 {
  color: #f1f7f8;
}
#yella-comments-overlay-v191 .yella-comment-scrim-v191 {
  background: rgba(0, 12, 18, .79);
  backdrop-filter: blur(3px);
}
html[data-yella-theme="dark"] body #yella-comments-overlay-v191 .yella-comments-sheet-v191,
body #yella-comments-overlay-v191 .yella-comments-sheet-v191 {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 610px);
  height: min(87dvh, 870px);
  max-height: 100dvh;
  min-height: 0;
  padding: 0 22px max(18px,env(safe-area-inset-bottom));
  gap: 0;
  border: 1px solid rgba(87,149,166,.43);
  border-radius: 25px 25px 0 0;
  color: #f3f8f9 !important;
  background-color: #001820 !important;
  background-image: linear-gradient(180deg,rgba(0,24,32,.04),rgba(0,24,32,.12) 28%,rgba(0,24,32,.29) 72%,rgba(0,24,32,.08)),url('./assets/yella-ocean-waves-v1103.webp') !important;
  background-position: center,center center !important;
  background-size: cover,cover !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 -18px 55px rgba(0,9,17,.6), inset 0 0 30px rgba(0,27,38,.25);
  overflow: hidden;
  overscroll-behavior: contain;
  isolation: isolate;
}
#yella-comments-overlay-v191 .yella-comment-drag-v1107 {
  display: flex;
  flex: 0 0 30px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 12px 0 7px;
  justify-content: center;
  align-items: center;
  cursor: grab;
}
#yella-comments-overlay-v191 .yella-comment-drag-v1107 span {
  width: 48px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: #9ab4bf;
  opacity: .82;
}
#yella-comments-overlay-v191 .yella-comments-sheet-v191 > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 72px;
  flex-shrink: 0;
  margin: 0;
  padding: 0 0 13px;
  border-bottom: 1px solid rgba(159,195,203,.3);
  background: transparent;
}
#yella-comments-overlay-v191 .yella-comments-sheet-v191 > header > div:first-child {min-width: 0;}
#yella-comments-overlay-v191 #yella-comments-title-v191 {
  margin: 0;
  padding: 0;
  color: #f8fcfc !important;
  font-family: 'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size: clamp(19px,3.8vw,25px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}
#yella-comments-overlay-v191 .yella-comments-header-actions-v195 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
#yella-comments-overlay-v191 .yella-comment-review-v195 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 0;
  gap: 6px;
  padding: 8px 10px;
  color: #c5d8e0 !important;
  background: rgba(0,29,42,.32) !important;
  border: 1px solid rgba(132,180,199,.35) !important;
  border-radius: 11px !important;
  font: 700 11px/1.2 'DM Sans',system-ui,sans-serif;
  white-space: nowrap;
}
#yella-comments-overlay-v191 .yella-comment-review-v195[hidden],
#yella-comments-overlay-v191 .yella-comments-form-v191[hidden],
#yella-comments-overlay-v191 .yella-comment-report-panel-v195[hidden] { display: none !important; }
#yella-comments-overlay-v191 .yella-comment-review-v195 svg { flex: 0 0 auto; width: 16px; height: 16px; }
#yella-comments-overlay-v191 .yella-comment-review-v195:hover { background: rgba(22,75,87,.6) !important; }
#yella-comments-overlay-v191 .yella-comments-close-v191 {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  min-width: 35px !important;
  min-height: 35px !important;
  margin: 0;
  padding: 5px;
  color: #f0f6f8 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50%;
  box-shadow: none !important;
}
#yella-comments-overlay-v191 .yella-comments-close-v191 svg { width: 23px; height: 23px; }
#yella-comments-overlay-v191 .yella-comments-close-v191:hover { background: rgba(255,255,255,.08) !important; }
#yella-comments-overlay-v191 .yella-comments-list-v191 {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 0;
  color: #e6f3f6;
  overscroll-behavior-y: contain;
  scrollbar-color: rgba(127,164,178,.5) transparent;
}
#yella-comments-overlay-v191 .yella-comments-list-v191.yella-comments-is-empty-v1229 {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* v1.2.31: use the approved artwork itself for the empty comment state. */
#yella-comments-overlay-v191 .yella-comments-empty-v191 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 18px 6px;
}
#yella-comments-overlay-v191 .yella-comments-empty-art-v1231 {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 700px) {
  #yella-comments-overlay-v191 .yella-comments-empty-v191 { padding: 14px 4px; }
  #yella-comments-overlay-v191 .yella-comments-empty-art-v1231 { width: min(100%, 320px); }
}
#yella-comments-overlay-v191 .yella-comment-item-v191 {
  border-bottom: 1px solid rgba(135,182,194,.15) !important;
  color: #eef5f7;
}
#yella-comments-overlay-v191 .yella-comment-meta-v191 a { color: #f6f9fa !important; }
#yella-comments-overlay-v191 .yella-comment-meta-v191 time { color: #9ebbc8 !important; }
#yella-comments-overlay-v191 .yella-comment-item-v191 p { color: #e3edf0 !important; }
#yella-comments-overlay-v191 .yella-comment-report-panel-v195:not([hidden]) { order: 2; flex-shrink: 0; }
#yella-comments-overlay-v191 .yella-comments-status-v191 {
  order: 3;
  flex: 0 0 auto;
  min-height: 0;
  margin: 0;
  padding: 2px 0;
  color: #f3d48a !important;
  font-size: 12px;
  line-height: 1.5;
}
#yella-comments-overlay-v191 .yella-comments-status-v191:empty { display: none !important; }
#yella-comments-overlay-v191 .yella-comments-form-v191 {
  order: 4;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  align-items: stretch;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(159,195,203,.32);
  background: transparent;
}
#yella-comments-overlay-v191 .yella-comments-form-v191 > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
#yella-comments-overlay-v191 .yella-comments-input-wrap-v1229 {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 0 13px;
  gap: 10px;
  border: 1px solid rgba(121,175,194,.38);
  border-radius: 18px;
  background: rgba(0,29,42,.42);
  box-shadow: inset 0 1px 6px rgba(0,10,18,.23);
}
#yella-comments-overlay-v191 .yella-comments-input-wrap-v1229:focus-within {
  border-color: #ddb447;
  box-shadow: 0 0 0 2px rgba(241,195,75,.13);
}
#yella-comments-overlay-v191 .yella-comments-input-icon-v1229 {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  color: #b0c5cf;
}
#yella-comments-overlay-v191 .yella-comments-input-icon-v1229 svg { width: 23px; height: 23px; }
html[data-yella-theme="dark"] body #yella-comments-overlay-v191 .yella-comments-input-wrap-v1229 textarea,
body #yella-comments-overlay-v191 .yella-comments-input-wrap-v1229 textarea {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 54px;
  min-height: 54px;
  max-height: 110px;
  margin: 0;
  padding: 17px 0 10px;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #f6fafb !important;
  font: 500 16px/1.45 'DM Sans',system-ui,sans-serif;
  resize: none;
}
#yella-comments-overlay-v191 .yella-comments-input-wrap-v1229 textarea::placeholder { color: #9bb3be; opacity: 1; }
#yella-comments-overlay-v191 .yella-comments-form-row-v191 { margin: 0; display: flex; align-items: stretch; }
#yella-comments-overlay-v191 .yella-comments-form-row-v191 small { display: none; }
#yella-comments-overlay-v191 .yella-comments-form-row-v191 button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 104px;
  min-height: 58px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #e7b74d !important;
  border-radius: 17px !important;
  background: linear-gradient(135deg,#f8d781,#e1a640) !important;
  box-shadow: 0 5px 18px rgba(0,12,17,.23) !important;
  color: #071c28 !important;
  font: 850 16px/1 'DM Sans',system-ui,sans-serif;
  letter-spacing: -.02em;
  text-shadow: none;
}
#yella-comments-overlay-v191 .yella-comments-form-row-v191 button:hover:enabled { background: linear-gradient(135deg,#ffe39c,#ebb94a) !important; }
#yella-comments-overlay-v191 .yella-comments-form-row-v191 button svg { width: 19px; height: 19px; flex: 0 0 19px; }
#yella-comments-overlay-v191 .yella-comments-form-row-v191 button:disabled { opacity: .52; cursor: not-allowed; }
#yella-comments-overlay-v191 :is(button,textarea):focus-visible { outline: 2px solid #f6ca55 !important; outline-offset: 2px !important; }
#yella-comments-overlay-v191 .yella-comments-input-wrap-v1229 textarea:focus-visible { outline: none !important; }

@media (max-width:700px) {
  html[data-yella-theme="dark"] body #yella-comments-overlay-v191 .yella-comments-sheet-v191,
  body #yella-comments-overlay-v191 .yella-comments-sheet-v191 {
    width: 100%;
    height: calc(100dvh - 6px);
    max-height: calc(100dvh - 6px);
    padding: 0 16px max(15px,env(safe-area-inset-bottom));
    border-radius: 23px 23px 0 0;
  }
  #yella-comments-overlay-v191 .yella-comments-sheet-v191 > header {min-height:72px;padding-bottom:12px;}
  #yella-comments-overlay-v191 #yella-comments-title-v191 {font-size:clamp(18px,5.4vw,23px)}
  #yella-comments-overlay-v191 .yella-comments-header-actions-v195 {gap:4px;}
  #yella-comments-overlay-v191 .yella-comment-review-v195 {min-height:38px;padding:7px 8px;font-size:10px;}
  #yella-comments-overlay-v191 .yella-comment-review-v195 svg {width:14px;height:14px;}
  #yella-comments-overlay-v191 .yella-comments-form-v191 {padding-top:12px;gap:9px;}
  #yella-comments-overlay-v191 .yella-comments-form-row-v191 button {min-width:93px;padding:0 14px;font-size:15px;}
  #yella-comments-overlay-v191 .yella-comments-input-wrap-v1229 {min-height:55px;border-radius:16px;}
  #yella-comments-overlay-v191 .yella-comments-form-row-v191 button {min-height:55px;border-radius:16px!important;}
}
@media(max-width:345px){
  #yella-comments-overlay-v191 .yella-comment-review-v195 { font-size: 0;gap:0; }
  #yella-comments-overlay-v191 .yella-comment-review-v195 svg { width:19px;height:19px; }
  #yella-comments-overlay-v191 .yella-comments-input-wrap-v1229 {gap:7px;padding:0 9px;}
  #yella-comments-overlay-v191 .yella-comments-form-row-v191 button {min-width:81px;padding:0 10px;gap:5px;}
}
@media(min-width:701px){
  html[data-yella-theme="dark"] body #yella-comments-overlay-v191,
  body #yella-comments-overlay-v191 {align-items:center;}
  html[data-yella-theme="dark"] body #yella-comments-overlay-v191 .yella-comments-sheet-v191,
  body #yella-comments-overlay-v191 .yella-comments-sheet-v191 {border-radius:24px;}
}
@media(prefers-reduced-motion:reduce){
  #yella-comments-overlay-v191 * {transition:none!important;animation:none!important;}
}


/* v1.2.33 — Own-comment Edit + press/hold Delete actions. */
#yella-comments-overlay-v191 .yella-comment-item-v191 {
  overflow: visible;
  isolation: isolate;
}
#yella-comments-overlay-v191 .yella-comment-item-v191:has(.yella-comment-menu-v1233:not([hidden])){
  z-index: 10;
}
#yella-comments-overlay-v191 .yella-comment-body-v1233[hidden],
#yella-comments-overlay-v191 .yella-comment-own-actions-v1233[hidden],
#yella-comments-overlay-v191 .yella-comment-menu-v1233[hidden] {
  display:none !important;
}
#yella-comments-overlay-v191 .yella-comment-meta-v191 .yella-comment-more-v1233 {
  display:inline-grid;
  place-items:center;
  margin-left:auto;
  padding:2px;
  width:30px;
  min-width:30px;
  height:30px;
  min-height:30px;
  border:0;
  border-radius:9px;
  color:#b3cad4;
  background:transparent;
  box-shadow:none;
}
#yella-comments-overlay-v191 .yella-comment-more-v1233 svg{width:20px;height:20px}
#yella-comments-overlay-v191 .yella-comment-more-v1233:hover,
#yella-comments-overlay-v191 .yella-comment-more-v1233[aria-expanded="true"]{
  background:rgba(105,166,186,.13);
  color:#f7cf68;
}
#yella-comments-overlay-v191 .yella-comment-own-actions-v1233{
  display:flex;
  align-items:center;
  margin-top:5px;
}
#yella-comments-overlay-v191 .yella-comment-edit-v1233{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:0;
  padding:5px 0;
  min-height:28px;
  background:transparent;
  box-shadow:none;
  color:#95bdcc;
  font:600 12px/1.2 'DM Sans',system-ui,sans-serif;
}
#yella-comments-overlay-v191 .yella-comment-edit-v1233:hover{color:#f5c768}
#yella-comments-overlay-v191 .yella-comment-edit-v1233 svg{width:15px;height:15px}
#yella-comments-overlay-v191 .yella-comment-menu-v1233{
  position:absolute;
  z-index:30;
  top:calc(100% - 2px);
  right:10px;
  min-width:132px;
  padding:4px;
  border:1px solid rgba(126,177,196,.48);
  border-radius:11px;
  background:#092b37;
  box-shadow:0 12px 26px rgba(0,7,12,.48);
}
#yella-comments-overlay-v191 .yella-comment-menu-v1233:before{
  content:"";
  position:absolute;
  right:16px;top:-7px;
  width:12px;height:12px;
  transform:rotate(45deg);
  background:#092b37;
  border-left:1px solid rgba(126,177,196,.48);
  border-top:1px solid rgba(126,177,196,.48);
}
#yella-comments-overlay-v191 .yella-comment-menu-delete-v1233{
  display:flex;
  position:relative;
  z-index:1;
  width:100%;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:10px 12px;
  min-height:42px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#f6c55e;
  font:750 13px/1.2 'DM Sans',system-ui,sans-serif;
}
#yella-comments-overlay-v191 .yella-comment-menu-delete-v1233 svg{width:19px;height:19px;flex:none}
#yella-comments-overlay-v191 .yella-comment-menu-delete-v1233:hover{
  background:rgba(238,183,61,.13);
}
#yella-comments-overlay-v191 [data-yella-comment-own="true"] .yella-comment-body-v1233{
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
#yella-comments-overlay-v191 .yella-comment-edit-form-v1233{
  display:grid;
  gap:8px;
  padding:8px 0 4px;
}
#yella-comments-overlay-v191 .yella-comment-edit-form-v1233 textarea{
  display:block;
  resize:vertical;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:74px;
  max-height:150px;
  margin:0;
  padding:10px 12px;
  border:1px solid rgba(142,191,203,.46);
  border-radius:11px;
  outline:none;
  background:rgba(0,29,42,.76);
  color:#f5f9fb;
  font:500 14px/1.5 'DM Sans',system-ui,sans-serif;
  box-shadow:none;
}
#yella-comments-overlay-v191 .yella-comment-edit-form-v1233 textarea:focus{
  border-color:#e5b84e;
  box-shadow:0 0 0 1px rgba(229,184,78,.9), inset 0 0 0 1px rgba(229,184,78,.18);
}
#yella-comments-overlay-v191 .yella-comment-edit-controls-v1233{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
#yella-comments-overlay-v191 .yella-comment-edit-controls-v1233 button{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:36px;
  padding:7px 12px;
  border:1px solid rgba(143,185,196,.38);
  border-radius:9px;
  background:rgba(2,42,56,.77);
  color:#d4e4e9;
  font:750 12px/1.2 'DM Sans',system-ui,sans-serif;
}
#yella-comments-overlay-v191 .yella-comment-edit-controls-v1233 button[type="submit"]{
  background:linear-gradient(135deg,#f7d578,#e4ab42);
  color:#082330;
  border-color:#f1ca69;
}
#yella-comments-overlay-v191 .yella-comment-edit-controls-v1233 button:disabled{opacity:.6}
#yella-comments-overlay-v191 .yella-comment-edit-status-v1233{
  min-height:1em;
  color:#f3c672;
  font-size:11px;
}
@media (max-width:700px){
  #yella-comments-overlay-v191 .yella-comment-menu-v1233{right:8px}
  #yella-comments-overlay-v191 .yella-comment-menu-v1233:before{right:14px}
  #yella-comments-overlay-v191 .yella-comment-edit-v1233{min-height:32px}
}
