
    :root {
      color-scheme: dark;
      --paper: #090a0f;
      --surface: #13111c;
      --surface-hover: #1c182d;
      --ink: #f8fafc;
      --muted: #94a3b8;
      --accent-purple: #c084fc;
      --accent-pink: #f43f5e;
      --purple-gradient: linear-gradient(135deg, #c084fc 0%, #f43f5e 100%);
      --line: rgba(244, 63, 94, 0.15);
      --serif: Georgia, 'Times New Roman', serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
    button, a { font: inherit; }
    a { color: inherit; text-decoration: none; }
    
    html.dorm-profile-page body { 
      min-height: 100vh; 
      background: radial-gradient(circle at 10% 10%, rgba(192, 132, 252, .1), transparent 40%), 
                  radial-gradient(circle at 90% 20%, rgba(244, 63, 94, .08), transparent 40%), 
                  radial-gradient(circle at 50% 90%, rgba(147, 51, 234, .07), transparent 50%),
                  #090a0f !important; 
      color: var(--ink) !important; 
    }
    
    .header { 
      background: rgba(9, 10, 15, 0.8); 
      backdrop-filter: blur(16px); 
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(192, 132, 252, 0.15); 
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
    }
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: min(1440px, 100%);
      margin: 0 auto;
      padding: 16px clamp(20px, 6vw, 92px);
    }
    .navbar .logo { cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #fff; }
    .navbar .logo i { color: var(--accent-purple); }
    
    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links a {
      color: var(--muted);
      font-weight: 500;
      font-size: 15px;
      transition: color 0.2s ease;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--ink);
    }
    
    .nav-buttons {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .nav-settings-btn {
      color: var(--muted);
      font-size: 18px;
      transition: color 0.2s ease;
    }
    .nav-settings-btn:hover { color: var(--accent-purple); }
    
    .btn.primary {
      background: var(--purple-gradient);
      color: #fff;
      padding: 10px 22px;
      border-radius: 10px;
      font-weight: 600;
      font-size: 14px;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .btn.primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(192, 132, 252, 0.45);
    }

    .menu-btn {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 22px;
      cursor: pointer;
    }
    .mobile-menu {
      display: none;
      flex-direction: column;
      background: rgba(13, 11, 20, 0.98);
      border-bottom: 1px solid var(--line);
      padding: 20px clamp(20px, 6vw, 92px);
      gap: 16px;
    }
    .mobile-menu a {
      color: var(--muted);
      font-size: 16px;
      font-weight: 500;
    }
    .mobile-menu a.active, .mobile-menu a:hover {
      color: var(--accent-purple);
    }

    .main-container { padding-top: 82px; }
    main { position: relative; z-index: 1; }
    
    .hero { 
      position: relative; 
      width: 100vw;
      min-height: min(780px, calc(100svh - 72px)); 
      display: flex; 
      align-items: flex-end; 
      color: white; 
      background: #090a0f; 
      isolation: isolate; 
      margin-left: calc(-50vw + 50%);
      margin-right: calc(-50vw + 50%);
    }
    .hero::before { 
      content: ''; 
      position: absolute; 
      inset: 0; 
      z-index: -2; 
      background: var(--dorm-hero-image) center center / cover no-repeat; 
      transform: scale(1.02); 
      animation: hero-arrive 1.2s cubic-bezier(.2,.7,.2,1) both; 
      filter: brightness(0.85) contrast(1.15) saturate(1.1); 
    }
    .hero::after { 
      content: ''; 
      position: absolute; 
      inset: 0; 
      z-index: -1; 
      background: linear-gradient(0deg, rgba(9, 10, 15, 0.95) 0%, rgba(9, 10, 15, 0.55) 50%, rgba(9, 10, 15, 0.3) 100%),
                  linear-gradient(90deg, rgba(147, 51, 234, 0.25) 0%, transparent 60%); 
    }
    .hero-inner { width: min(1440px, 100%); padding: 86px clamp(24px, 8vw, 128px) 30px; margin: 0 auto; width: 100%; }
    
    .eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--accent-purple); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
    .eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--purple-gradient); }
    
    h1, h2, h3, p { margin-top: 0; }
    .hero h1 { max-width: 960px; margin-bottom: 12px; font: 600 clamp(40px, 7vw, 92px)/1 'Manrope', sans-serif; letter-spacing: -0.02em; color: #ffffff; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
    .hero h1 span { background: var(--purple-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--serif); font-weight: 400; font-style: italic; }
    .hero-deck { max-width: 640px; margin-bottom: 0; color: rgba(255,255,255,.9); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
    
    .explore { 
      width: min(1440px, 100%); 
      margin: 0 auto; 
      padding: 0 clamp(20px, 6vw, 92px) 16px; 
    }
    
    .tab-rail-wrapper { position: relative; }
    .tab-rail-wrapper::before, .tab-rail-wrapper::after {
      content: ''; position: absolute; top: 0; bottom: 8px; width: 40px; z-index: 2; pointer-events: none;
    }
    .tab-rail-wrapper::before { left: 0; background: linear-gradient(90deg, #090a0f, transparent); }
    .tab-rail-wrapper::after { right: 0; background: linear-gradient(270deg, #090a0f, transparent); }

    .tab-rail { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding: 4px 6px 10px; white-space: nowrap; }
    .tab-rail::-webkit-scrollbar { display: none; }
    
    .tab { 
      flex: 0 0 auto; 
      min-height: 52px; 
      padding: 0 24px; 
      border: 1px solid rgba(255, 255, 255, 0.1); 
      background: rgba(19, 17, 28, 0.75); 
      color: var(--muted); 
      cursor: pointer; 
      white-space: nowrap; 
      scroll-snap-align: start; 
      font-size: 15px; 
      font-weight: 700; 
      transition: all .25s ease; 
      border-radius: 12px; 
    }
    .tab:hover { 
      border-color: rgba(192, 132, 252, 0.5); 
      color: var(--ink); 
      background: rgba(28, 24, 45, 0.9); 
    }
    .tab[aria-selected="true"] { 
      border-color: rgba(192, 132, 252, 0.7); 
      background: var(--surface-hover); 
      color: #ffffff; 
      box-shadow: 0 4px 20px rgba(192, 132, 252, 0.2); 
    }

    .sub-sub-nav {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-snap-type: x mandatory;
      padding: 12px 0 24px;
      margin-bottom: 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      white-space: nowrap;
    }
    .sub-sub-nav::-webkit-scrollbar { display: none; }

    .sub-tab {
      flex: 0 0 auto;
      padding: 8px 16px;
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .sub-tab:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(192, 132, 252, 0.3);
    }
    .sub-tab.active {
      color: var(--accent-purple);
      background: rgba(192, 132, 252, 0.08);
      border-color: rgba(192, 132, 252, 0.4);
    }

    .sub-panel { display: none; animation: panel-in .35s ease both; }
    .sub-panel.active { display: block; }
    
    .section-stage { width: min(1440px, 100%); min-height: 460px; margin: 0 auto; padding: 10px clamp(20px, 6vw, 92px) 94px; }
    .panel { animation: panel-in .45s cubic-bezier(.2,.7,.2,1) both; }
    .panel[hidden] { display: none; }
    
    .panel-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); align-items: end; gap: 50px; padding: 30px 0 36px; border-bottom: 1px solid var(--line); }
    .panel-heading h2 { max-width: 760px; margin: 0; color: #ffffff !important; font: 700 clamp(32px, 5vw, 60px)/1.05 'Manrope', sans-serif; letter-spacing: -0.02em; }
    .panel-heading p { max-width: 440px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
    
    .overview-hero-card {
      background: linear-gradient(135deg, rgba(13, 11, 20, 0.9) 0%, rgba(28, 24, 45, 0.7) 100%);
      border: 1px solid rgba(192, 132, 252, 0.2);
      border-radius: 20px;
      padding: 48px;
      margin: 30px 0 40px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    .overview-hero-card::after {
      content: '';
      position: absolute;
      top: 0; right: 0; bottom: 0; width: 35%;
      background: var(--dorm-hero-image) center/cover no-repeat;
      opacity: 0.25;
      mask-image: linear-gradient(90deg, transparent, black 80%);
      -webkit-mask-image: linear-gradient(90deg, transparent, black 80%);
    }
    .overview-hero-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
    }
    .overview-hero-content h3 {
      font: 700 clamp(24px, 3vw, 38px)/1.2 'Manrope', sans-serif;
      color: #fff;
      margin-bottom: 16px;
    }
    .overview-hero-content h3 span {
      background: var(--purple-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .overview-hero-content p {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.75;
      margin-bottom: 24px;
    }

    .detail-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(32px, 7vw, 90px); padding-top: 42px; }
    .detail-aside { position: relative; align-self: start; padding: 24px 0 24px 24px; border-left: 3px solid var(--accent-purple); color: var(--muted); font: 400 18px/1.6 var(--serif); background: rgba(192, 132, 252, .03); border-radius: 0 12px 12px 0; }
    .detail-list { display: grid; gap: 18px; }
    
    .detail-item { 
      background: var(--surface); 
      padding: 26px; 
      border: 1px solid var(--line); 
      border-radius: 16px; 
      display: grid; 
      grid-template-columns: 46px 1fr; 
      gap: 18px; 
      align-items: start; 
      transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); 
    }
    .detail-item:hover { 
      transform: translateY(-4px);
      background: var(--surface-hover); 
      border-color: rgba(244, 63, 94, 0.5);
      box-shadow: 0 0 25px rgba(244, 63, 94, 0.15);
    }
    .detail-item:hover h3 { color: var(--accent-pink) !important; }
    .detail-item .number { color: var(--accent-purple); font: 700 15px 'Manrope', sans-serif; background: rgba(192, 132, 252, .1); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
    .detail-item h3 { margin-bottom: 6px; color: #ffffff !important; font: 700 18px 'Manrope', sans-serif; transition: color 0.25s ease; }
    .detail-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
    
    .content-media-banner {
      width: 100%;
      height: 360px;
      border-radius: 16px;
      overflow: hidden;
      margin: 30px 0;
      border: 1px solid var(--line);
      position: relative;
    }
    .content-media-banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.9) contrast(1.1);
      transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    }
    .content-media-banner:hover img { transform: scale(1.03); }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 30px;
    }
    .gallery-card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.35s ease;
      display: flex;
      flex-direction: column;
    }
    .gallery-card:hover {
      transform: translateY(-6px);
      border-color: rgba(192, 132, 252, 0.6);
      box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }
    .gallery-img-wrap {
      width: 100%;
      height: 220px;
      position: relative;
      overflow: hidden;
    }
    .gallery-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .gallery-card:hover .gallery-img-wrap img {
      transform: scale(1.08);
    }
    .gallery-card-body {
      padding: 20px;
    }
    .gallery-card-body h3 {
      font: 700 18px 'Manrope', sans-serif;
      color: #fff;
      margin-bottom: 8px;
    }
    .gallery-card-body p {
      color: var(--muted);
      font-size: 13px;
      margin: 0;
    }

    .video-card-wrap {
      position: relative;
      width: 100%;
      height: 400px;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: #000;
      margin-bottom: 30px;
    }
    .video-card-wrap iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .map-container {
      width: 100%;
      height: 500px;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: var(--surface);
      margin-top: 30px;
      position: relative;
    }
    .map-container iframe {
      width: 100%;
      height: 100%;
      border: 0;
      filter: invert(90%) hue-rotate(180deg) contrast(120%);
    }

    .quote-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 50px; padding: 36px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; position: relative; overflow: hidden; }
    .quote-band::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--purple-gradient); }
    .quote-band p { max-width: 780px; margin: 0; font: 400 clamp(18px, 2.4vw, 26px)/1.35 var(--serif); color: #ffffff; }
    .quote-band span { font-size: 11px; font-weight: 800; white-space: nowrap; text-transform: uppercase; color: var(--accent-purple); letter-spacing: 0.1em; background: rgba(192, 132, 252, .1); padding: 8px 14px; border-radius: 6px; }
    
    .site-footer { display: flex; justify-content: flex-end; padding: 30px clamp(20px, 6vw, 92px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; background: rgba(9, 10, 15, .85); backdrop-filter: blur(10px); }
    .site-footer a { text-decoration: none; font-weight: 600; color: var(--ink); }
    .site-footer a:hover { color: var(--accent-purple); }
    
    @keyframes hero-arrive { from { transform: scale(1.06); opacity: .7; } to { transform: scale(1.02); opacity: 1; } }
    @keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

    @media (max-width: 900px) {
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 760px) {
      .nav-links, .nav-buttons { display: none; }
      .menu-btn { display: block; }
      .main-container { padding-top: 72px; }
      .hero { min-height: 610px; }
      .hero-inner { padding: 70px 20px 30px; }
      .hero h1 { font-size: clamp(34px, 10vw, 56px); }
      .explore { padding: 0 20px 10px; }
      .section-stage { padding: 8px 20px 60px; }
      .panel-heading { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 28px; }
      .detail-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
      .gallery-grid { grid-template-columns: 1fr; }
      .quote-band { align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px; }
      .site-footer { justify-content: center; text-align: center; }
    }
  