/* Personal record sleeve: bold identity, quiet details, one continuous profile. */
.record-profile {
  border: 0;
  border-radius: 24px;
  background: var(--mode-surface, #fffdf8);
  color: var(--mode-text, #201a35);
}
.record-profile .record-header {
  height: auto;
  min-height: 0;
  background: #201a35;
  padding: 27px 28px 29px;
  color: #f8f6f0;
  overflow: hidden;
}
.record-header:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--profile-gradient);
  opacity: 0.24;
  mask-image: linear-gradient(90deg, transparent 15%, #000);
}
.record-profile .banner-pattern {
  z-index: -1;
  opacity: 0.07;
}
.record-kicker {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding-right: 0;
}
.record-display-name {
  font-family: Manrope, sans-serif;
  font-size: clamp(48px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1.04;
  color: #d8ff62;
  margin: 24px 0 25px;
  overflow-wrap: anywhere;
}
.record-identity {
  display: flex;
  align-items: center;
  gap: 21px;
  flex-wrap: wrap;
}
.record-identity .profile-portrait {
  margin: 0;
  width: 105px;
  height: 105px;
  border-color: #e8e0ff;
  background: #e8e0ff;
}
.record-identity .profile-name-block {
  margin: 0;
  flex: 1;
  min-width: 160px;
  color: #f8f6f0;
}
.record-profile .profile-name-block h2 {
  font-size: 25px;
  color: #f8f6f0;
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.record-header .profile-campus,
.record-header .profile-name-block > p,
.record-header .profile-real-name {
  color: #d2c8df;
  font-size: 12px;
  line-height: 1.5;
}
.record-header .profile-mini-spark {
  display: none;
}
.record-header .profile-badges {
  margin: 8px 0;
}
.record-header .profile-badge {
  background: #ffffff12;
  color: #f8f6f0;
  border-color: #ffffff20;
}
.record-header .profile-presence {
  width: 100%;
  color: #d2c8df;
  font-size: 11px;
  margin: 0;
  position: static;
  text-transform: capitalize;
}
.record-header .profile-bio {
  margin: 20px 0 0;
  color: #e5dced;
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid #ffffff24;
  padding-top: 20px;
}
.record-profile .showcase-content {
  padding: 25px 28px 28px;
}
.record-profile .profile-edit-pill {
  position: relative;
  top: auto;
  right: auto;
  float: right;
  margin: -6px 0 12px 10px;
  z-index: 1;
  font-size: 11px;
  color: #201a35;
  background: #e8e0ff;
}
.record-profile .profile-sticker {
  right: 18px;
  top: 65px;
  bottom: auto;
  opacity: 0.45;
  padding: 7px;
  background: none;
  color: #e8e0ff;
  box-shadow: none;
  pointer-events: none;
}
.record-profile .showcase-section-title {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--mode-muted, #766e83);
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.record-profile .showcase-section-title h3 {
  font:
    700 11px Manrope,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: inherit;
  margin: 0;
}
.record-profile .profile-music {
  border: 0;
  padding: 0;
  margin: 0 0 27px;
  background: transparent;
}
.record-profile .profile-music > button {
  display: flex;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--mode-line, #e1dce6);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: left;
  padding: 12px 0;
  gap: 13px;
  color: inherit;
}
.record-profile .album-cover {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 2px;
}
.record-profile .profile-music > button strong {
  font-size: 15px;
}
.record-profile .profile-music > button small {
  font-size: 11px;
  color: var(--mode-muted, #766e83);
}
.record-profile .profile-status {
  background: transparent;
  padding: 0;
  margin: 15px 0 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  font-size: 11px;
}
.record-profile .profile-status strong {
  width: 100%;
  font-size: 14px;
}
.record-profile .profile-interest-chips > span {
  border-radius: 6px;
  background: var(--mode-soft, #ede8f4);
  font-size: 12px;
}
.record-profile .profile-friendship {
  font-size: 12px;
  color: var(--mode-muted, #766e83);
  margin: 15px 0 23px;
}
.record-profile .hangout-note {
  border: 0;
  border-radius: 8px;
  background: var(--mode-soft, #e8e0ff);
  box-shadow: none;
  margin: 24px 0;
  padding: 18px;
}
.record-profile .profile-prompts {
  margin: 28px 0;
}
.record-profile .friendship-prompt {
  border: 0;
  border-bottom: 1px solid var(--mode-line, #e1dce6);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 19px 0;
  margin: 0;
}
.record-profile .friendship-prompt > span {
  font-size: 11px;
  color: var(--mode-muted, #766e83);
}
.record-profile .friendship-prompt > p {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.4;
  margin: 9px 0 4px;
}
.record-profile .profile-socials {
  border-top: 1px solid var(--mode-line, #e1dce6);
  padding-top: 22px;
}
.record-profile .profile-pet {
  border-block: 1px solid var(--mode-line, #e1dce6);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin: 25px 0;
  padding: 15px 0;
}
/* Surrounds are full-profile treatments; small chat avatars retain their circular crop. */
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-canvas,
.surround-options .surround-canvas {
  border: 8px solid #eee9dc;
  border-radius: 3px;
  box-shadow: 2px 3px 0 #bcb09e;
  transform: rotate(-2deg);
}
:is(.record-profile,.little-moments-profile,.social-surface) .surround-canvas .portrait-inner,
.surround-options .surround-canvas .portrait-inner {
  border-radius: 0;
  background-image: repeating-linear-gradient(
    0deg,
    #ffffff14 0 1px,
    transparent 1px 3px
  );
}
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-book,
.surround-options .surround-book {
  border: 7px solid #8d686b;
  border-left: 14px solid #65464f;
  border-radius: 3px 10px 10px 3px;
  box-shadow: 3px 3px 0 #e4d7bc;
}
:is(.record-profile,.little-moments-profile,.social-surface) .surround-book .portrait-inner,
.surround-options .surround-book .portrait-inner {
  border-radius: 2px;
}
.surround-book:after {
  content: "";
  position: absolute;
  right: 5px;
  top: -8px;
  width: 10px;
  height: 19px;
  background: #d8ff62;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-polaroid,
.surround-options .surround-polaroid {
  border: 7px solid #fffdf8;
  border-bottom-width: 20px;
  border-radius: 3px;
  box-shadow: 1px 3px 5px #201a3528;
  transform: rotate(-5deg);
}
:is(.record-profile,.little-moments-profile,.social-surface) .surround-polaroid .portrait-inner,
.surround-options .surround-polaroid .portrait-inner {
  border-radius: 0;
}
.surround-polaroid:after {
  content: "";
  position: absolute;
  top: -14px;
  left: 25%;
  width: 50%;
  height: 15px;
  background: #e8ddaecb;
  transform: rotate(5deg);
}
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-paper,
.surround-options .surround-paper {
  border: 9px solid #f8f1dc;
  border-radius: 0;
  transform: rotate(3deg);
  clip-path: polygon(
    0 2%,
    6% 0,
    12% 3%,
    20% 0,
    26% 2%,
    34% 0,
    40% 2%,
    50% 0,
    60% 3%,
    70% 0,
    80% 2%,
    90% 0,
    100% 2%,
    98% 15%,
    100% 25%,
    98% 35%,
    100% 50%,
    98% 65%,
    100% 80%,
    98% 100%,
    85% 98%,
    70% 100%,
    55% 98%,
    40% 100%,
    25% 98%,
    10% 100%,
    0 98%,
    2% 80%,
    0 65%,
    2% 50%,
    0 35%,
    2% 20%
  );
}
:is(.record-profile,.little-moments-profile,.social-surface) .surround-paper .portrait-inner,
.surround-options .surround-paper .portrait-inner {
  border-radius: 0;
}
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-phone,
.surround-options .surround-phone {
  border: 5px solid #272236;
  border-top-width: 14px;
  border-bottom-width: 12px;
  border-radius: 17px;
  box-shadow: 0 0 0 1px #756982;
}
:is(.record-profile,.little-moments-profile,.social-surface) .surround-phone .portrait-inner,
.surround-options .surround-phone .portrait-inner {
  border-radius: 7px;
}
.surround-phone:after {
  content: "";
  position: absolute;
  top: -9px;
  left: 37%;
  width: 26%;
  height: 3px;
  border-radius: 5px;
  background: #b3a9bd;
}
.surround-picker {
  border: 0;
  padding: 0;
  margin: 25px 0;
}
.surround-picker legend {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 17px;
}
.surround-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.surround-options > button {
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 1px solid var(--mode-line, #e1dce6);
  border-radius: 12px;
  padding: 18px 8px 12px;
  background: var(--mode-surface, #fffdf8);
  color: inherit;
}
.surround-options > button[aria-pressed="true"] {
  border-color: #6236ff;
  background: var(--mode-soft, #e8e0ff);
  box-shadow: inset 0 0 0 1px #6236ff;
}
.surround-options .profile-portrait {
  width: 65px;
  height: 65px;
  margin: 0;
}
.surround-options > button > span {
  font-size: 11px;
}
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-phone {
  width: 79px;
  height: 113px;
}
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-polaroid {
  width: 103px;
  height: 116px;
}
:is(.record-profile,.little-moments-profile,.social-surface) .profile-portrait.surround-book {
  width: 98px;
  height: 112px;
}
.surround-options > button {
  grid-template-rows: 80px auto;
  align-items: center;
}
.surround-options .profile-portrait.surround-phone {
  width: 53px;
  height: 77px;
}
.surround-options .profile-portrait.surround-polaroid {
  height: 76px;
}
.surround-options .profile-portrait.surround-book {
  width: 62px;
  height: 74px;
}
.profile-gallery {
  margin: 28px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.gallery-photo {
  margin: 0;
  min-width: 0;
}
.gallery-photo > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 9px;
}
.gallery-photo figcaption {
  padding: 11px 0 6px;
}
.gallery-photo figcaption small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--mode-muted, #766e83);
}
.gallery-photo figcaption p {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0;
}
.gallery-pending {
  font-size: 11px;
  background: var(--mode-soft, #e8e0ff);
  padding: 5px 8px;
  display: inline-block;
  border-radius: 5px;
}
.gallery-report {
  font-size: 11px;
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--mode-muted, #766e83);
  padding: 5px 0;
  border: 0;
  background: none;
}
.gallery-edit label,
.gallery-upload label,
.gallery-report-form label {
  font-size: 12px;
  display: grid;
  gap: 7px;
  margin: 10px 0;
}
.gallery-edit select,
.gallery-upload select,
.gallery-edit textarea,
.gallery-upload textarea,
.gallery-report-form textarea {
  width: 100%;
  border: 1px solid var(--mode-line, #e1dce6);
  background: var(--mode-surface, #fffdf8);
  color: inherit;
  font: inherit;
  border-radius: 8px;
  padding: 10px;
}
.gallery-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-actions .button {
  display: flex;
  gap: 6px;
  align-items: center;
}
.gallery-upload {
  margin-top: 20px;
  border-top: 1px solid var(--mode-line, #e1dce6);
  padding-top: 12px;
}
.gallery-notice,
.gallery-empty {
  font-size: 12px;
  color: var(--mode-muted, #766e83);
}
.gallery-report-form {
  background: var(--mode-soft, #e8e0ff);
  padding: 16px;
  border-radius: 12px;
  margin-top: 15px;
}
.society-rules-intro {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 28px 0 14px;
}
.society-rules-intro h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -1px;
}
.society-rules-intro .eyebrow {
  font-size: 10px;
  margin: 0 0 7px;
}
.society-rules-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--mode-soft, #e8e0ff);
  color: #6236ff;
  display: grid;
  place-items: center;
  flex: none;
}
.society-page .local-rules {
  list-style: none;
  padding: 0;
  margin: 23px 0;
}
.society-page .local-rules li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 21px 0;
  border-bottom: 1px solid var(--mode-line, #e1dce6);
  background: transparent;
  border-radius: 0;
}
.society-rule-number {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--mode-soft, #e8e0ff);
  border-radius: 10px;
  color: var(--mode-text, #6236ff);
}
.society-page .local-rules li p {
  margin: 5px 0;
  font-size: 15px;
  line-height: 1.6;
}
.society-rules-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px;
  border-radius: 13px;
  background: var(--mode-soft, #e8e0ff);
  margin-bottom: 22px;
}
.society-rules-footer p {
  flex: 1;
  min-width: 150px;
  font-size: 12px;
  margin: 0;
}
.society-rules-footer a {
  text-decoration: none;
}
@media (max-width: 600px) {
  .record-profile .record-header {
    padding: 23px 22px;
  }
  .record-profile .showcase-content {
    padding: 24px 22px;
  }
  .record-display-name {
    font-size: 65px;
    letter-spacing: -3px;
  }
  .record-identity {
    gap: 17px;
  }
  .record-identity .profile-portrait {
    width: 90px;
    height: 90px;
  }
  .record-identity .profile-name-block {
    min-width: 140px;
  }
  .record-profile .friendship-prompt > p {
    font-size: 20px;
  }
  .gallery-grid {
    gap: 13px;
  }
  .gallery-edit .button {
    font-size: 11px;
    padding: 8px;
  }
  .society-rules-intro h2 {
    font-size: 24px;
  }
  .society-rules-mark {
    width: 45px;
    height: 45px;
  }
  .surround-options {
    gap: 9px;
  }
}

.society-page .society-rules-intro h2 {font-size:28px;letter-spacing:-1px;} .society-page .local-rules li p {color:var(--mode-text,#201a35);} @media(max-width:600px){.society-page .society-rules-intro h2{font-size:24px;}}

