/* Student-only member space. Other roles keep the existing member layout. */
#member-student-view[hidden],#member-standard-view[hidden]{display:none!important}
body.student-member-page{background:#f8f9f8;color:#20372e;font-family:'Malgun Gothic',sans-serif}
body.student-member-page .site-header{background:#fff;border-bottom:1px solid #e5ebe7;box-shadow:none}
body.student-member-page .site-header .secondary-nav a,body.student-member-page .site-header .secondary-nav button{color:#405a4d}
body.student-member-page .site-header .secondary-nav a:hover,body.student-member-page .site-header .secondary-nav button:hover{color:#174b38}
.student-member-shell{width:min(1160px,calc(100% - 48px));margin:0 auto;padding:44px 0 94px}
.student-member-kicker{color:#608371;font-size:12px;font-weight:800;letter-spacing:.12em;margin:0 0 16px}
.student-member-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;min-height:292px;padding:43px 52px;border-radius:28px;background:linear-gradient(115deg,#1e4b3b 0%,#33634d 60%,#6c8d69 100%);color:#fff;box-shadow:0 15px 36px rgba(31,73,54,.12)}
.student-member-hero-copy{position:relative;z-index:1;max-width:620px}
.student-member-label{display:inline-block;padding:7px 13px;border:1px solid rgba(255,255,255,.42);border-radius:99px;font-size:12px;letter-spacing:.03em}
.student-member-hero h1{margin:22px 0 12px;color:#fff;font-size:clamp(28px,3vw,40px);line-height:1.25;letter-spacing:-.045em}
.student-member-hero p{margin:0;color:#e6f0e9;font-size:15px;line-height:1.8}
.student-member-study-link{display:inline-flex;gap:24px;align-items:center;margin-top:29px;padding:12px 18px;border-radius:11px;background:#fff;color:#224b38;text-decoration:none;font-size:13px;font-weight:800}
.student-member-study-link:hover{background:#f1f7ee}
.student-member-hero-art{position:absolute;inset:0 0 0 auto;width:36%;pointer-events:none}
.student-member-hero-art::before,.student-member-hero-art::after{content:'';position:absolute;border:1px solid rgba(255,255,255,.28);border-radius:50%;width:250px;height:250px;right:11%;top:17px}
.student-member-hero-art::after{width:178px;height:178px;right:19%;top:53px;background:rgba(255,255,255,.1)}
.student-member-hero-art span{position:absolute;color:#e9e4ae;font-size:26px}.student-member-hero-art span:nth-child(1){top:75px;right:26%}.student-member-hero-art span:nth-child(2){top:161px;right:44%;font-size:38px}.student-member-hero-art span:nth-child(3){top:194px;right:12%;font-size:18px}
.student-member-feature-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;margin-top:28px}
.student-feature-card{min-width:0;min-height:298px;padding:24px;border:1px solid #e1e9e2;border-radius:22px;background:#fff;box-shadow:0 8px 28px rgba(36,65,46,.04)}
.student-feature-heading span{color:#6b8975;font-size:11px;font-weight:800;letter-spacing:.06em}.student-feature-heading h2{margin:8px 0 17px;color:#20372e;font-size:21px;letter-spacing:-.03em}
.student-feature-card p{color:#627467;font-size:13px;line-height:1.65}.student-feature-card small{color:#718276;font-size:11px;line-height:1.5}
.character-card{grid-row:span 2;background:#f4f8f1}.student-character-preview{display:grid;place-items:center;width:100%;height:126px;border-radius:17px;background:#d8f0e8}.student-character-preview[data-color=sky]{background:#dceeff}.student-character-preview[data-color=peach]{background:#ffe4d5}.student-character-preview[data-color=lilac]{background:#e9e0f7}.student-character-preview[data-color=sunshine]{background:#fff1c9}.student-character-preview[data-color=night]{background:#dce3f2}
.student-character-face{position:relative;width:86px;height:91px;border-radius:44% 44% 46% 46%;background:var(--character-skin,#edbd98);box-shadow:0 -17px 0 -5px var(--character-hair,#4b3028),0 9px 0 -5px var(--character-outfit,#287867)}.student-character-preview[data-hair-style=curl] .student-character-face{box-shadow:0 -21px 0 -4px var(--character-hair,#4b3028),0 9px 0 -5px var(--character-outfit,#287867)}.student-character-preview[data-hair-style=bun] .student-character-face{box-shadow:0 -21px 0 -6px var(--character-hair,#4b3028),0 -33px 0 -20px var(--character-hair,#4b3028),0 9px 0 -5px var(--character-outfit,#287867)}.student-character-eyes::before,.student-character-eyes::after{content:'';position:absolute;top:40px;width:5px;height:7px;border-radius:50%;background:#33453b}.student-character-eyes::before{left:25px}.student-character-eyes::after{right:25px}.student-character-preview[data-eye-style=smile] .student-character-eyes::before,.student-character-preview[data-eye-style=smile] .student-character-eyes::after{height:4px;border-radius:0 0 8px 8px}.student-character-smile{position:absolute;left:35px;top:59px;width:18px;height:8px;border:2px solid #9e584a;border-top:0;border-radius:0 0 20px 20px}
.student-character-preview[data-accessory=glasses] .student-character-face::after{content:'◯—◯';position:absolute;left:18px;top:34px;color:#394b45;font-size:19px;line-height:1}.student-character-preview[data-accessory=headband] .student-character-face::after{content:'';position:absolute;left:9px;top:10px;width:68px;height:12px;border-top:5px solid #df6b7c;border-radius:50%}.student-character-preview[data-accessory=cap] .student-character-face::after{content:'';position:absolute;left:3px;top:-8px;width:80px;height:24px;background:#477e9c;border-radius:30px 30px 7px 7px}.student-character-preview[data-accessory=star] .student-character-face::after{content:'★';position:absolute;left:12px;top:4px;color:#e6ad3c;font-size:18px}
.student-character-palette{display:flex;gap:10px;align-items:center;margin:8px 0 10px;padding:0;border:0}.student-character-palette legend{font-size:12px;font-weight:800;margin-bottom:8px}.student-character-palette button{width:24px;height:24px;border:2px solid transparent;border-radius:50%;cursor:pointer}.student-character-palette button[data-character-color=mint]{background:#d8f0e8}.student-character-palette button[data-character-color=sky]{background:#dceeff}.student-character-palette button[data-character-color=peach]{background:#ffe4d5}.student-character-palette button[data-character-color=lilac]{background:#e9e0f7}.student-character-palette button[data-character-color=sunshine]{background:#fff1c9}.student-character-palette button[data-character-color=night]{background:#dce3f2}.student-character-palette button[aria-pressed=true]{outline:2px solid #286349;outline-offset:2px}
.student-character-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0}.student-character-options label{display:grid;gap:5px;color:#42614d;font-size:11px;font-weight:700}.student-character-options select{width:100%;padding:8px;border:1px solid #ccdcd0;border-radius:9px;background:#fff;color:#254333;font:inherit}.student-character-save{width:100%;padding:11px;border:0;border-radius:10px;background:#285943;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.student-character-save:disabled{opacity:.55;cursor:wait}.student-character-save+small{display:block;margin-top:9px}
.student-talent-balance{display:flex;align-items:center;gap:14px;padding:20px;background:#fff8e9;border-radius:16px}.student-talent-balance>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffe8b5;color:#9b7327;font-size:30px}.student-talent-balance small,.student-talent-balance strong{display:block}.student-talent-balance strong{margin-top:3px;color:#624d23;font-size:22px}.student-talent-list{padding-left:20px;color:#425a48;font-size:12px}
.progress-card{background:#f2f7f7}.student-progress-list{min-height:54px}.progress-card>a{display:flex;justify-content:space-between;padding:12px 15px;border-radius:11px;background:#fff;color:#285c50;text-decoration:none;font-size:13px;font-weight:800}
.student-progress-row{padding:9px 0;border-top:1px solid #dce9e7;color:#3b5f53;font-size:12px}.student-progress-row:first-child{border-top:0}.student-talent-list li{padding:5px 0}
.student-member-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(275px,.8fr);gap:24px;margin-top:29px;align-items:start}
.student-member-main-column,#member-student-view .student-member-side{min-width:0}
#member-student-view #member-notifications{margin:0;padding:28px 30px 30px;background:#fff;border:1px solid #e1e9e2;border-radius:22px;box-shadow:0 8px 28px rgba(36,65,46,.04)}
#member-student-view #member-notifications h2{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px;color:#20372e;font-family:'Malgun Gothic',sans-serif;font-size:22px;font-weight:800;letter-spacing:-.035em}
#member-student-view #notification-count{white-space:nowrap;padding:7px 12px;border-radius:99px;background:#ecf3ed;color:#2d6249;font-size:12px;font-weight:700;letter-spacing:0}
#member-student-view #notification-status{color:#718276;font-size:14px;line-height:1.7}
#member-student-view #notification-list{display:grid;gap:12px}
#member-student-view #notification-list article{margin:0;padding:20px 22px;background:#f9fbf8;border:1px solid #e2eae1;border-radius:16px;box-shadow:none}
#member-student-view #notification-list article strong,#member-student-view #notification-list article a{display:block;margin-bottom:8px;color:#234835;text-decoration:none;font-size:15px;font-weight:800}
#member-student-view #notification-list article p{margin:0 0 11px;color:#3f5347;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
#member-student-view #notification-list article small{display:block;color:#728477;font-size:11px}
#member-student-view #notification-list article button{margin-top:13px;padding:8px 12px;border:1px solid #cadccc;border-radius:9px;background:#fff;color:#315d44;font-size:12px;font-weight:700;cursor:pointer}
#member-student-view #notification-list article button:hover{background:#edf5ee}
.member-page-controls{display:flex;gap:10px;justify-content:center;margin-top:18px}.member-page-controls button:not([hidden]){border:1px solid #cadccc;background:#fff;border-radius:9px;padding:8px 15px;cursor:pointer}
#member-student-view .student-member-side{padding:26px;border:1px solid #e4e9df;border-radius:22px;background:#f2f5ec}
.student-member-side-icon{display:grid;place-items:center;width:42px;height:42px;background:#fff;border-radius:13px;color:#609268;font-size:23px}
.student-member-side-label{margin:23px 0 8px;color:#5e8268;font-size:12px;font-weight:800}
#member-student-view .student-member-side h2{margin:0 0 21px;color:#264434;font-size:20px;line-height:1.45;letter-spacing:-.035em}
.student-member-side dl{margin:0;border-top:1px solid #dbe4d7}.student-member-side dl div{display:flex;justify-content:space-between;gap:8px;padding:14px 0;border-bottom:1px solid #dbe4d7;font-size:13px}.student-member-side dt{color:#718276}.student-member-side dd{margin:0;font-weight:800;color:#314b3b}
#member-student-view .student-member-side>a{display:flex;justify-content:space-between;margin-top:22px;color:#245a3d;font-size:13px;font-weight:800;text-decoration:none}
body.student-member-page .site-footer{background:#fff;border-top:1px solid #e5ebe7}
@media(max-width:1000px){.student-member-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.student-member-grid{grid-template-columns:1fr}.student-member-hero{padding:36px}.student-member-hero-art{opacity:.45}}
@media(max-width:600px){.student-member-shell{width:calc(100% - 32px);padding:28px 0 65px}.student-member-hero{min-height:0;padding:30px 24px;border-radius:20px}.student-member-hero h1{margin-top:20px}.student-member-hero-art{width:42%;opacity:.22}.student-member-study-link{margin-top:24px}.student-member-feature-grid{grid-template-columns:1fr;gap:14px;margin-top:18px}.character-card{grid-row:auto}.student-feature-card{min-height:0;padding:20px}.student-member-grid{gap:16px;margin-top:18px}#member-student-view #member-notifications{padding:23px 18px;border-radius:18px}#member-student-view #member-notifications h2{font-size:19px}#member-student-view #notification-list article{padding:16px}}
