/* Notification details (design boards N1–N12). Scope layout to the opened notice. */
.huper-social[data-board="38d"] .soc-head {flex-wrap:wrap}
.huper-social[data-board="38d"] .soc-title {white-space:normal;overflow-wrap:anywhere}
.huper-social[data-board="38d"] .soc-coins {display:none}
.huper-social[data-board="38d"] .soc-head .soc-home {margin-inline-start:auto;min-height:44px;white-space:normal}
.notice-badge {--notice-color:#d7b675;display:grid;place-items:center;flex:none;width:36px;height:36px;
  border-radius:50%;color:var(--notice-color);background:radial-gradient(circle,color-mix(in srgb,currentColor 33%,transparent),color-mix(in srgb,currentColor 8%,transparent))}
.tone-amber {--notice-color:#f2b95c}.tone-blue {--notice-color:#8fb8e8}.tone-green {--notice-color:#5ccfb2}
.tone-grey {--notice-color:#bccabf}.tone-gold {--notice-color:#d7b675}.tone-red {--notice-color:#f0a08f}
.notice-badge svg,.soc-notice-detail .soc-button svg {display:block;width:18px;height:18px;flex:none;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.soc-notice-detail {display:flex;flex-direction:column;box-sizing:border-box;overflow-wrap:anywhere}
.soc-notice-detail .soc-notice-heading {min-width:0;flex:none}
.soc-notice-detail .soc-notice-heading>div {min-width:0}
.soc-notice-heading h2,.notice-credit>strong {background:linear-gradient(180deg,#ecd9ae 10%,#d7b675 55%,#c4a260);
  background-clip:text;-webkit-background-clip:text;color:transparent}
.soc-notice-detail .soc-rule {flex:none}
.notice-columns {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;min-height:0;flex:1;
  align-items:start;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px}
.notice-columns> :only-child {grid-column:1/-1}
.notice-copy,.notice-identity,.notice-credit {display:flex;min-width:0;flex-direction:column;gap:8px}
.notice-copy:empty {display:none}
.notice-copy p {margin:0;color:#dfe8e1;font-size:13px;line-height:20px;white-space:pre-line}
.notice-person {display:flex;align-items:flex-start;gap:14px;min-width:0}
.notice-person .soc-avatar,.notice-initial {width:56px;height:56px;border-radius:50%;flex:none;box-shadow:0 0 0 2px #d7b6758c}
.notice-initial {background:#3a5f72;display:grid;place-items:center;font-size:24px;color:#f4ebdd;font-weight:700}
.notice-identity,.notice-credit {gap:6px}
.notice-identity>strong {font-size:17px;line-height:22px}
.notice-identity small,.notice-credit small {font-size:12px;line-height:1.5;color:#bccabf}
.notice-credit {align-self:stretch;justify-content:center}
.notice-credit>strong {align-self:flex-start;font-variant-numeric:tabular-nums;font-size:40px;line-height:1.15}
.notice-facts {display:grid;gap:0;min-width:0;margin:0;padding:6px 14px;background:#05130f73;border-radius:14px;
  font-size:13px;line-height:1.45;font-variant-numeric:tabular-nums}
.notice-facts>div {display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:center;column-gap:12px;
  min-height:28px;padding-block:3px}
.notice-facts dt {color:#bccabf}
.notice-facts dd {margin:0;text-align:end;color:var(--notice-color,#f4ebdd);font-weight:600}
.soc-notice-detail .soc-notice-foot {flex:none;justify-content:flex-end;min-width:0;flex-wrap:wrap}
.soc-notice-detail .soc-notice-foot small {color:#9db3a8;min-width:9em;line-height:1.5}
.soc-notice-detail .soc-button {display:inline-flex;justify-content:center;align-items:center;gap:6px;max-width:100%;
  min-height:44px;min-width:44px;padding:6px 20px;border-radius:22px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.soc-notice-detail .soc-button.soc-gold {min-width:110px}
.soc-notice-detail .soc-button svg {width:16px;height:16px}
.soc-notice-detail .soc-button:focus-visible,.huper-social[data-board="38d"] .soc-head button:focus-visible {outline:2px solid #ecd9ae;outline-offset:2px}
.notice-state {align-self:center;font-size:13px;color:#bccabf}
@media (orientation:portrait) {
  .huper-social[data-board="38d"] {height:auto;min-height:100svh}
  .huper-social[data-board="38d"] .soc-content {overflow:visible}
  .soc-notice-detail {min-height:min-content;padding:16px}
  .notice-columns {display:flex;flex-direction:column;overflow:visible;gap:16px}
  .notice-columns>* {width:100%}
  .notice-credit {justify-content:flex-start}
  .soc-notice-detail .soc-notice-foot {margin-top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .soc-notice-detail .soc-notice-foot>small,.soc-notice-detail .notice-state {grid-column:1/-1}
  .soc-notice-detail .soc-notice-foot>button:only-of-type {grid-column:1/-1}
  .soc-notice-detail .soc-button,.soc-notice-detail .soc-button.soc-gold {min-width:44px;padding-inline:10px}
}
.huper-social[data-board="38d"] {
  background:radial-gradient(ellipse 45% 40% at 50% 8%,#fff7e11a,transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 40%,transparent 55%,#0008),
    radial-gradient(ellipse 70% 90% at 50% 30%,#17523f,#124434 38%,#0c3229 70%,#05130f);
}
@media (orientation:landscape) {
  .soc-notice-detail :is([data-action=notice-rejectFriend],[data-action=notice-declineInvite]) {min-width:96px}
  .soc-notice-detail [data-action=notice-acceptFriend] {min-width:120px}
  .soc-notice-detail :is([data-action=notice-acceptInvite],[data-action=notice-table],[data-action=notice-reinvite],[data-action=notice-event],[data-action=notice-play]) {min-width:130px}
  .soc-notice-detail [data-action=notice-inviteFriend] {min-width:140px}
}
