*{box-sizing:border-box}body{margin:0;background:#faf7ef;color:#292f32;font:16px/1.7 system-ui,sans-serif}header,main,footer{width:min(1040px,90%);margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #c7bfb0}header b{font: bold 23px serif}button{background:transparent;color:inherit;border:1px solid #c8beac;border-radius:6px;padding:8px 13px;cursor:pointer;font:inherit}button:hover{background:#eee6d6}nav button{border:0}.hero{position:relative;isolation:isolate;overflow:hidden;padding:55px 6%;margin:24px 0 42px;background:#f1e8d6;border-radius:5px}.hero h1{font: bold clamp(42px,6vw,72px)/1.18 serif;letter-spacing:.04em;margin:20px 0}.sun{position:absolute;z-index:-1;width:38%;aspect-ratio:1;right:4%;bottom:-8%;border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0 9px,#f1e8d6 10px 12px),linear-gradient(#c56d48,#dfa56e)}small{font:700 11px/1.6 monospace;letter-spacing:.18em;color:#6a5548}.primary{background:#82452f;color:white;border:0}.primary:hover{background:#663724}.hero p{max-width:62%}.feed{max-width:760px;margin:0 auto 50px}h2,h3{font-family:serif}h2{margin:6px 0 20px}article,.empty{padding:20px 0;border-top:1px solid #c7bfb0}article h3{font-size:25px;margin:8px 0}article p,.letter{white-space:pre-wrap;overflow-wrap:anywhere}.link{border:0;padding:2px 6px;color:#854832}footer{border-top:1px solid #c7bfb0;padding:20px 0;color:#776d60;font-size:13px}dialog{width:min(510px,93vw);max-height:85vh;border:1px solid #c7bfb0;border-radius:10px;padding:25px;background:#faf7ef;color:inherit}dialog::backdrop{background:#29292277}.close{float:right;border:none}label{display:block;margin:12px 0}input,textarea{font:inherit;width:100%;padding:8px;background:white;border:1px solid #aaa091;border-radius:4px}textarea{min-height:105px}.letter{padding:12px 0;border-bottom:1px solid #c7bfb0}#status:not(:empty){position:fixed;bottom:12px;left:50%;transform:translateX(-50%);background:#302e29;color:white;padding:10px 20px;border-radius:8px}dialog p{font-size:14px}.note{color:#746a5d}@media(max-width:550px){header b{font-size:18px}nav button{padding:6px}.hero{padding:30px 6%}.sun{bottom:6%;right:-8%}.hero p{max-width:78%}}

body{background:#10151d;color:#d8dce2}header,footer,article,.empty,.letter{border-color:#36404c}header{padding:23px 0}.hero{background:radial-gradient(ellipse at 83% 74%,#33404f 0,transparent 34%),linear-gradient(155deg,#202a37,#171e28 68%);padding:64px 6%;margin-bottom:55px}.hero h1{font-size:clamp(33px,4.5vw,57px);line-height:1.55;font-weight:500}.hero p,.note,footer{color:#afb8c3}.sun{width:13px;height:19px;right:16%;bottom:28%;border-radius:1px;background:linear-gradient(90deg,#cbb38c 43%,#38424e 43% 57%,#cbb38c 57%);box-shadow:0 0 28px 8px #ceaf763b,0 15px 65px 12px #d8c3a522}small,.link{color:#bcaa91}.primary{background:#c1ae90;color:#151a20}.primary:hover{background:#d2bfa1}button{border-color:#52606d}button:hover{background:#303a46}dialog,input,textarea{background:#202934;color:#e1e4e7;border-color:#566170}.feed{margin-bottom:70px}.empty{color:#afb8c3}@media(max-width:550px){.hero{padding:38px 6%}.hero h1{font-size:30px}.hero p{max-width:85%}}
.chatlog{height:min(40vh,350px);overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:12px 2px}.bubble{align-self:flex-start;max-width:83%;background:#303a46;padding:9px 14px;border-radius:12px 12px 12px 2px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:#424542;border-radius:12px 12px 2px 12px}.bubble small{font-size:10px;letter-spacing:.04em}.chatlog~form textarea{min-height:58px}
.bubble img{display:block;max-width:100%;max-height:220px;object-fit:contain}.bubble audio,dialog audio{max-width:100%}.chat-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.chat-tools button{font-size:14px}.feed #write{margin-bottom:15px}

.bubble blockquote,.quotehint:not(:empty){border-left:2px solid #b8a387;padding:5px 9px;margin:6px 0;background:#11172055;font-size:13px;overflow-wrap:anywhere}.msg-actions button{font-size:12px;color:#d0c4b4}

/* Warm journal */
body{background:#fbf6ed;color:#41362f}header,footer{border-color:#dfd3c5}header b{color:#754730}button{border-color:#d6c5b3;border-radius:12px}button:hover{background:#f0e1d0}.primary{background:#914e36;color:#fffaf3;border-radius:24px;padding:10px 22px}.primary:hover{background:#77412f}small,.link{color:#81583d}.hero{background:linear-gradient(115deg,#fff5df,#f5dfbc 72%,#ebcba6);border:1px solid #e7cfae;border-radius:24px;padding:42px 6%;margin-bottom:40px}.hero h1{font:600 clamp(32px,4vw,54px)/1.37 serif;color:#54392e;letter-spacing:.02em;margin:14px 0 20px}.hero p,footer,.note,.empty{color:#6e584b}.home-verse{border-left:2px solid #bf8a5d;padding-left:14px;font:16px/1.9 serif;color:#684936}.hero .sun{display:none}.window-art{position:absolute;right:4%;bottom:13%;width:29%;height:auto;z-index:-1}.feed{max-width:820px}.feed article,.empty{background:#fffdf8;border:1px solid #e6d8c8;border-radius:16px;padding:20px 25px;margin:12px 0;box-shadow:0 5px 20px #71502e08}.feed article h3{color:#57382d}.feed h2{color:#654335}.feed #write{background:#f4e8d8}.link:hover{background:#efdfca}dialog{background:#fff9ef;color:#44362f;border:1px solid #d9bf9e;border-radius:20px;box-shadow:0 14px 66px #4027163b}dialog::backdrop{background:#43352866}input,textarea{background:#fffdfa;color:#3f332d;border-color:#cbb9a6;border-radius:9px}input::placeholder,textarea::placeholder{color:#826d5b}.letter{border-color:#e5d7c6}.bubble{background:#f1e8da;color:#47392e}.bubble.mine{background:#f2d5bc;color:#503527}.msg-actions button,.bubble small{color:#704936}.bubble blockquote,.quotehint:not(:empty){background:#fff8ef88;border-color:#b68961}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a86543;outline-offset:2px}#status:not(:empty){background:#654435}
@media(max-width:720px){.window-art{width:20%;right:-2%;bottom:8%;opacity:.75}.hero{padding:32px 6%}.home-verse{max-width:94%}.hero p{max-width:80%}}@media(max-width:420px){.window-art{width:17%;right:0;bottom:4%}.hero h1{font-size:30px}.home-verse{font-size:15px}.feed article{padding:17px}}

body{background:#faf5f2;color:#483b42}header b,.feed h2,.feed article h3{color:#653f51}.hero{background:linear-gradient(117deg,#fff5ee 0%,#f8e8e4 52%,#e9dbe5 100%);border-color:#e6cfd4}.hero h1{color:#613e50}.home-verse{border-color:#c78d9e;color:#77535f}.hero .primary,dialog .primary{background:#814e65;color:#fff9f6}.hero .primary:hover,dialog .primary:hover{background:#703e54}.window-art{filter:saturate(.8)}.feed article,dialog{background:#fffaf8;border-color:#e5d3d8}.feed #write,.bubble{background:#f3e8ed}.bubble.mine{background:#e9d9e4}.link,.msg-actions button,.bubble small,small{color:#80546a}.chatlog{padding:12px;background:#fbf3f4;border-radius:14px}.chat-tools button{border-color:#d9c5cd}dialog h2{color:#694258}input,textarea{background:#fffcfa;border-color:#cfbdc5}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-color:#935e77}
.her-mark{display:inline-block;vertical-align:middle;color:#7c4960;font:30px/1 Georgia,serif;margin-right:9px}.hero{border-top:3px solid #80566a;background:linear-gradient(115deg,#fcf6ee,#f3e8e4 60%,#e9dde5)}.her-library{margin:32px 0 0;background:#fffaf5;border:1px solid #dfd0cb;border-radius:15px;padding:clamp(18px,4vw,34px)}.her-library .issue-head{width:100%;margin:0;padding:0 0 13px;border-bottom:1px solid #dbccc6}.her-library h2{font-family:serif;margin:6px 0 0;color:#593849}.her-sign{font:40px/1 Georgia,serif;color:#835a70}.issue-intro{color:#705d62}.her-library details{border-top:1px solid #e1d5cf;padding:15px 0}.her-library summary{display:flex;gap:14px;align-items:baseline;cursor:pointer;list-style:none}.her-library summary::after{content:'＋';margin-left:auto;color:#785669}.her-library details[open] summary::after{content:'−'}.issue-no{font:italic 19px Georgia;color:#9a755e}.her-library summary b{font:600 21px/1.5 serif;color:#503641}.her-library em{display:block;color:#765f68;font:12px/1.8 system-ui}.her-library details p{max-width:37em;line-height:1.95;color:#4d4041}.her-library summary:focus-visible{outline:2px solid #80566a}
.hero .duet{width:32%;right:3%;bottom:8%;filter:none}.hero h1{font-size:clamp(32px,3.7vw,51px)}@media(max-width:720px){.hero .duet{position:relative;display:block;width:min(200px,60%);margin:-5px 0 -28px auto;right:auto;bottom:auto;opacity:1}.hero p{max-width:100%}.hero h1{font-size:clamp(28px,6.2vw,38px)}}

.mail-welcome{position:relative;overflow:hidden;margin:12px 0 20px;padding:18px 70px 18px 18px;background:linear-gradient(115deg,#f8eaea,#f0e6ee);border:1px solid #e7d4db;border-radius:14px;color:#754958}.mail-welcome span{font:600 18px serif}.mail-welcome p{margin:6px 0 0;color:#705760}.mail-welcome:before,.mail-welcome:after{content:'♡';position:absolute;right:14px;top:26px;width:37px;height:26px;text-align:center;background:#fff7ed;border:1px solid #ceadb3;color:#ad7789;transform:rotate(12deg)}.mail-welcome:before{right:34px;top:19px;transform:rotate(-12deg);background:#efd5d8}.hero{background:repeating-linear-gradient(0deg,transparent 0 27px,#c0b3bd2a 27px 28px),linear-gradient(110deg,#fff8e9,#f3e8e4 70%,#e7dee9)}.class-photos{position:absolute;right:3%;top:15%;width:29%;display:grid;gap:6px}.class-photos a{display:block;position:relative;background:#fffbf1;color:#624653;padding:6px 6px 3px;text-decoration:none;box-shadow:0 3px 10px #4e37442b;transform:rotate(4deg);font:12px/1.4 serif}.class-photos a:before{position:absolute;content:'';width:32%;height:12px;background:#d6bbb1ba;left:34%;top:-6px;transform:rotate(-3deg)}.class-photos a+a{width:77%;justify-self:end;transform:rotate(-5deg)}.class-photos img{width:100%;aspect-ratio:2.45;object-fit:cover;object-position:50% 35%;display:block}.class-photos span{display:block;padding:2px 3px}.hero:has(.class-photos) .home-verse{max-width:62%}@media(max-width:720px){.class-photos{position:relative;right:auto;top:auto;width:100%;margin:25px 0 5px;grid-template-columns:1fr 1fr;gap:10px}.class-photos a+a{width:100%}.hero:has(.class-photos) .home-verse{max-width:100%}}

.hero{background:#fbf4ec linear-gradient(90deg,#fbf4ec 26%,#fbf4ecf7 41%,#fbf4ec55 60%,transparent 71%);min-height:350px}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fbf4ec 32%,#fbf4ecee 42%,#fbf4ec55 57%,transparent 68%),url('/her-letter-art/sunset-campus.webp') no-repeat right center;background-size:cover,60% auto}.hero .home-verse{max-width:55%}.school-album{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:820px;margin:0 auto 45px;padding:18px 24px;background:repeating-linear-gradient(#fff9ef 0 25px,#e6dbd7 26px);border-radius:8px;border-left:3px solid #d5a5ad}.school-album h2{color:#664151;margin:5px 0}.school-album .class-photos{position:static;width:min(58%,410px);display:grid;grid-template-columns:1fr 1fr;gap:12px}.school-album .class-photos a+a{width:100%}.school-album .class-photos img{aspect-ratio:1.95}@media(max-width:720px){.hero{padding-top:clamp(220px,58vw,345px)}.hero:before{background-image:linear-gradient(0deg,#fbf4ec 0%,#fbf4ec 43%,#fbf4eca0 52%,transparent 65%),url('/her-letter-art/sunset-campus.webp');background-position:center,center top;background-size:cover,100% auto}.hero .home-verse{max-width:100%}.school-album{display:block}.school-album .class-photos{width:100%;margin:12px 0 2px}}
.hero:before{background-image:linear-gradient(90deg,#fbf4ec 26%,#fbf4ecf5 40%,#fbf4ec55 55%,transparent 68%),url('/her-letter-art/sunset-campus.webp');background-position:center,right center;background-size:cover,60% auto}.hero{box-shadow:0 12px 36px #986e7010}@media(max-width:720px){.hero:before{background-image:linear-gradient(0deg,#fbf4ec 0%,#fbf4ec 43%,#fbf4ecb0 53%,transparent 68%),url('/her-letter-art/sunset-campus.webp');background-position:center,center top;background-size:cover,100% auto}}
.notice-card{position:fixed;right:16px;bottom:18px;z-index:10;background:#fff8ef;border:1px solid #b58f9f;color:#58394b;border-radius:16px;padding:15px;box-shadow:0 5px 26px #43303738;max-width:min(330px,85vw)}.notice-card p{margin:4px 0 8px}.notice-card button{margin-right:5px}.unread-badge{margin:0 8px;padding:2px 7px;border-radius:12px;background:#85465c;color:white;font-size:12px}
