:root{--bg:#171126;--panel:#241a38;--panel2:#2e2246;--line:#49365f;--text:#f5efff;--muted:#b7a9ca;--purple:#a987ef;--gold:#f5c96b;--pink:#ef9bc7}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -15%,#49336c 0,#211733 42%,#120e1d 100%);color:var(--text);font-family:system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif}.app{width:min(100%,560px);min-height:100dvh;margin:auto;padding:18px 16px calc(90px + env(safe-area-inset-bottom));position:relative}.hero{display:flex;align-items:center;gap:13px;padding:12px 4px 18px}.brandmark{width:55px;height:55px;border-radius:17px;background:linear-gradient(145deg,#a989ed,#5c3e8d);display:grid;place-items:center;font-weight:1000;font-size:20px;letter-spacing:-3px;box-shadow:0 8px 24px #09061180}.brandmark span{color:#ffe6a5}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#c5a9f5;margin:0 0 3px;font-weight:800}.hero h1{font-size:25px;margin:0;letter-spacing:-1px}.sub{font-size:11px;color:var(--muted);margin:2px 0 0}.iconbtn{margin-left:auto;border:1px solid var(--line);background:#ffffff0b;color:var(--text);border-radius:12px;width:40px;height:40px;font-size:18px}.tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:5px;background:#100c19a8;border:1px solid #45345b;border-radius:15px;gap:4px;position:sticky;top:0;z-index:4;backdrop-filter:blur(12px)}button{font:inherit;cursor:pointer}.tab{border:0;background:transparent;color:var(--muted);border-radius:11px;padding:11px 2px;font-weight:800;font-size:13px}.tab.active{background:linear-gradient(135deg,#9d7bdc,#694b9c);color:white;box-shadow:0 4px 13px #08051080}.view{padding-top:21px}.hidden{display:none!important}.sectionhead{display:flex;align-items:end;justify-content:space-between;margin:0 2px 14px}.sectionhead h2{font-size:22px;letter-spacing:-.8px;margin:0}.count{font-size:11px;color:#d4c4e8;background:#ffffff0c;border:1px solid var(--line);padding:6px 10px;border-radius:20px}.memberstrip{display:flex;gap:8px;overflow-x:auto;padding:3px 1px 12px;scrollbar-width:none}.memberstrip::-webkit-scrollbar{display:none}.memberchip{flex:0 0 auto;min-width:61px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 9px;border:1px solid #59466c;background:#ffffff08;color:var(--muted);border-radius:14px;font-size:10px}.memberchip.selected{border:2px solid #c4a5ff;background:#9a77d52b;color:#fff;padding:7px 8px;box-shadow:0 0 0 2px #9a77d51a}.duck{display:grid;place-items:center;background:var(--duck,#f3e9d0);color:#382a24;width:32px;height:32px;border-radius:50% 50% 45% 45%;font-size:20px;filter:drop-shadow(0 2px 2px #0005)}.sortrow{display:flex;align-items:center;gap:7px;border-bottom:1px solid #ffffff18;padding:0 1px 11px;margin-bottom:12px}.sort{border:1px solid var(--line);background:#ffffff08;color:var(--muted);border-radius:9px;padding:7px 13px;font-size:11px;font-weight:800}.sort.active{background:#9d7bdc;color:white;border-color:#9d7bdc}.sortnote{margin-left:auto;color:#9989ae;font-size:9px}.quotes{display:grid;gap:10px;padding-bottom:45px}.quote{background:linear-gradient(145deg,#2c2141,#21182f);border:1px solid #514064;border-radius:16px;padding:14px 14px 12px;box-shadow:0 7px 18px #09061130;position:relative;overflow:hidden}.quote:before{content:'“';position:absolute;right:10px;top:-18px;font-family:Georgia;font-size:85px;color:#ffffff0a}.qtop{display:flex;align-items:center;gap:8px}.qduck{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-size:18px;background:var(--duck)}.qname{font-size:12px;font-weight:850}.qdate{margin-left:auto;color:#9f91b1;font-size:9px}.qtext{font-size:15px;line-height:1.55;font-weight:750;margin:12px 0 7px;white-space:pre-wrap;word-break:break-word}.qcontext{font-size:10px;color:#b4a5c6;margin:0 0 10px}.qfoot{display:flex;align-items:center;gap:7px;border-top:1px solid #ffffff12;padding-top:9px}.vote{border:1px solid #66527d;background:#ffffff08;color:#d9c9f1;border-radius:20px;padding:5px 10px;font-size:10px}.vote.on{background:#604887;border-color:#b49ae4;color:white}.qby{font-size:9px;color:#9587a8;margin-left:auto}.crown{color:var(--gold);font-size:12px;margin-left:4px}.qactions{display:flex;gap:5px}.qactions button{background:transparent;border:0;color:#b8a8ca;font-size:10px}.empty{padding:35px 15px;text-align:center;color:var(--muted);border:1px dashed #604b78;border-radius:16px;font-size:12px}.fab{position:fixed;z-index:5;bottom:calc(18px + env(safe-area-inset-bottom));right:max(18px,calc((100vw - 528px)/2));border:0;border-radius:30px;padding:13px 18px;background:linear-gradient(135deg,#b596f5,#7756ad);color:white;font-weight:900;box-shadow:0 8px 25px #090611a8}.fab span{font-size:12px}.monthbar{display:flex;align-items:center;justify-content:space-between;background:#ffffff0b;border:1px solid var(--line);padding:8px 12px;border-radius:13px}.monthbar button{background:transparent;border:0;color:white;font-size:25px}.monthbar strong{font-size:15px}.hint,.legend{font-size:10px;color:var(--muted);margin:10px 2px}.week,.monthgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.week{margin:14px 0 6px;text-align:center;color:#b7a8c8;font-size:10px;font-weight:800}.week span:first-child{color:#f28e9b}.week span:last-child{color:#8bb8f7}.day{min-height:62px;border:1px solid #514064;background:#ffffff08;border-radius:10px;color:var(--text);padding:7px 3px;text-align:center;font-size:11px;position:relative}.day.dim{opacity:.25}.day.today{border-color:#c4a5ff;box-shadow:inset 0 0 0 1px #c4a5ff}.day.selected{background:#604887}.day .num{display:block;font-weight:850}.day .dots{display:flex;justify-content:center;gap:2px;margin-top:7px}.dot{width:5px;height:5px;border-radius:50%;background:#b99af2}.dot.anger{background:#ed8c9d}.dot.maks{background:#e6a45c}.dot.abs{background:#8dc5ee}.day:nth-child(7n+1) .num{color:#f28e9b}.day:nth-child(7n) .num{color:#8bb8f7}footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);padding:12px 18px calc(12px + env(safe-area-inset-bottom));display:flex;justify-content:space-between;background:#171126eF;border-top:1px solid #ffffff18;color:#8f819f;font-size:9px;z-index:3;backdrop-filter:blur(12px)}footer button{background:transparent;border:0;color:#cbb5ef;font-weight:800;font-size:10px}dialog{width:min(92vw,460px);max-height:82dvh;overflow:auto;border:1px solid #67517e;border-radius:19px;background:#211832;color:var(--text);padding:18px;box-shadow:0 25px 80px #000a}dialog::backdrop{background:#080510b8;backdrop-filter:blur(4px)}.modalhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modalhead h3{margin:0;font-size:17px}.modalhead button{border:0;background:#ffffff12;color:white;border-radius:9px;padding:7px 10px}.field{display:grid;gap:6px;margin:12px 0}.field label{font-size:11px;color:#c7b8d8}.field input,.field textarea,.field select{width:100%;border:1px solid #604b78;border-radius:10px;background:#130f1d;color:white;padding:11px;font:inherit;font-size:13px}.field textarea{min-height:95px;resize:vertical}.primary,.secondary,.danger{border:0;border-radius:10px;padding:11px 14px;font-weight:850}.primary{background:#9a79d6;color:white}.secondary{background:#ffffff12;color:#e6d9f3;border:1px solid var(--line)}.danger{background:#6d3446;color:#ffe2e8}.modalactions{display:flex;gap:8px;justify-content:flex-end;margin-top:15px;flex-wrap:wrap}.choicegrid{display:flex;flex-wrap:wrap;gap:7px}.choice{border:1px solid #ffffff22;background:#ffffff0b;color:white;border-radius:10px;padding:8px 11px;font-size:11px}.choice.on{border-color:#c4a5ff;background:#684c90}.memberrow{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #ffffff12;font-size:12px}.memberrow .duck{width:27px;height:27px}.memberrow button{margin-left:auto}.toast{position:fixed;bottom:80px;left:50%;transform:translate(-50%,15px);opacity:0;background:#382b4d;border:1px solid #8168a3;padding:10px 15px;border-radius:20px;font-size:11px;z-index:9;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}

.duck svg{width:100%;height:100%;display:block}.duck{padding:3px}.qduck{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:transparent;flex:0 0 auto}.qduck svg{width:100%;height:100%}.duck.mini{width:32px;height:32px;padding:2px}


:root{--bg:#171333;--panel:#211b4a;--panel2:#30265d;--line:#4d4385;--text:#f8f4ff;--muted:#b9b0dc;--purple:#aa82ff;--gold:#ffd84d}
body{background:#171333;min-height:100dvh}
body:before{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(28,19,67,.90),rgba(20,17,55,.96)),url("./assets/duck-world.jpg") center top/cover fixed}
.app{width:min(100%,520px);padding:0 0 calc(88px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#24194f66 0%,#171333e8 38%,#171333 100%);min-height:100dvh}
.hero{height:250px;position:relative;display:block;overflow:hidden;padding:22px;background:linear-gradient(110deg,rgba(30,18,65,.96),rgba(65,42,120,.58)),url("./assets/duck-world.jpg") center 40%/cover;border-bottom:2px solid #7961bb;border-radius:0 0 22px 22px}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,#211747b8 100%);pointer-events:none}
.hero-tools{position:relative;z-index:2;display:flex;justify-content:space-between}
.hero-icon{width:42px;height:42px;border:0;border-radius:50%;background:#130e2b88;color:white;font-size:27px}
.hero-copy{position:relative;z-index:2;margin:22px 0 0 10px}
.hero-copy h1{font-size:42px;line-height:1.05;letter-spacing:-2px;margin:0;font-weight:1000;text-shadow:0 4px 0 #17102d,2px 5px 8px #080515}
.hero-copy h1 em{font-style:normal;color:#ffd34c}.crown-mark{font-size:24px;color:#ffd34c;vertical-align:top;margin-left:7px}
.hero-copy p{font-size:13px;line-height:1.55;color:#f5edff;margin:13px 0 0 5px;text-shadow:0 2px 5px #100b24}
.hero-duck{position:absolute;z-index:1;right:24px;bottom:5px;font-size:110px;filter:drop-shadow(0 7px 3px #09051d);transform:rotate(-7deg)}
.menu-panel{display:none;position:absolute;top:70px;left:16px;right:16px;z-index:10;grid-template-columns:repeat(2,1fr);background:#21183def;box-shadow:0 15px 35px #09051c;border-radius:16px}.menu-panel.open{display:grid}
.view{padding:22px 18px 24px}.member-section{background:linear-gradient(145deg,#30255c,#211a46);border:1px solid #6653a2;border-radius:22px;padding:16px 14px 12px;margin-bottom:18px;box-shadow:0 8px 20px #09051f55}
.sectionhead{margin:0 2px 12px;align-items:center}.sectionhead h2{font-size:20px}.sectionhead .eyebrow{font-size:9px;color:#bca4ff}.all-members{color:#c8b3ff;font-size:12px;font-weight:800}
.memberstrip{gap:9px;padding:2px 0 4px}.memberchip{min-width:67px;padding:7px;background:#55418b;border:1px solid #8067bd;border-radius:13px;color:#fff;font-size:11px}.memberchip .duck{width:52px;height:57px;border-radius:14px;background:var(--duck);font-size:33px;box-shadow:inset 0 0 0 2px #ffffff22}.memberchip.selected{border:2px solid #d5baff;background:#7658b7;padding:6px}
.quote-heading{margin:18px 2px 12px}.quote-heading h2{font-size:21px}.sortrow{border:0;margin:0 0 12px;padding:0 2px 8px}.sort{border-radius:20px;padding:8px 15px;background:#2a2252;border-color:#4e4382;color:#d6c9f5;font-size:11px}.sort.active{background:#d9c5ff;color:#251944;border-color:#e5d6ff}
.quotes{gap:9px;padding-bottom:38px}.quote{display:grid;grid-template-columns:66px minmax(0,1fr);grid-template-rows:auto auto auto;background:linear-gradient(145deg,#30265f,#211a49);border:1px solid #594b91;border-radius:17px;padding:12px;box-shadow:0 5px 14px #09051d55}.qtop{grid-column:2;grid-row:1;flex-wrap:wrap}.qduck{grid-column:1;grid-row:1/4;width:58px;height:70px;border-radius:15px;font-size:36px;align-self:center}.qname{font-size:12px}.qdate{margin-left:4px}.qtext{grid-column:2;grid-row:2;margin:5px 0 4px;font-size:15px}.qcontext{grid-column:2;grid-row:3;margin:0 0 7px;font-size:10px}.qfoot{grid-column:2;grid-row:4;padding-top:6px}.vote{border:0;background:#493a7b;border-radius:20px;color:#e8ddff}
.fab{bottom:calc(82px + env(safe-area-inset-bottom));right:max(20px,calc((100vw - 480px)/2));width:58px;height:58px;padding:0;border-radius:50%;font-size:24px}.fab span{display:none}
.bottom-nav{width:min(100%,520px);height:72px;display:flex;justify-content:space-around;align-items:center;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#1b1740f5;border-top:1px solid #51448a;box-shadow:0 -8px 25px #09051e88}
.bottom-item{border:0;background:transparent;color:#9387c6;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:10px;font-weight:750;min-width:54px}.bottom-item b{font-size:23px;line-height:1.2}.bottom-item.active{color:#c69cff}
@media(min-width:600px){.app{border-left:1px solid #33275e;border-right:1px solid #33275e}.hero{height:270px}}


/* Anger calendar: keep the original BBAKCHIM date-row interaction inside the wiki theme. */
.anger-board{position:relative;padding:0 0 92px}
.anger-board.hidden{display:none!important}
#otherCalendar.hidden{display:none!important}
.anger-board .monthbar{margin-bottom:10px}
.anger-days{height:min(56dvh,470px);min-height:330px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;display:flex;flex-direction:column;gap:8px;padding:3px 2px 8px;touch-action:pan-y}
.anger-days::-webkit-scrollbar{display:none}
.anger-day{min-height:64px;display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:17px;background:linear-gradient(135deg,#f7eddc,#e9dfcf);border:1px solid #cbbd9e;box-shadow:0 3px 9px #09051e55;color:#28213a}
.anger-day.is-today{background:linear-gradient(135deg,#fff0bb,#f5d987);outline:2px solid #d6a83f;outline-offset:-2px}
.anger-date{flex:0 0 42px;text-align:center;font-size:24px;font-weight:950;line-height:1;color:#28213a}
.anger-date small{display:block;font-size:12px;margin-top:4px}
.anger-date.sat{color:#2878c9}.anger-date.sun{color:#d64d59}
.anger-stickers{flex:1;min-width:0;min-height:42px;border-left:2px solid #c7bca9;padding:3px 7px;display:flex;align-items:center;gap:5px;overflow:hidden}
.anger-sticker{display:inline-block;flex:0 0 auto;max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--duck,#33294c);color:white;border:1px solid #fff;border-radius:5px;padding:4px 7px;font-size:13px;font-weight:850;box-shadow:1px 2px 3px #0005;transform:rotate(var(--tilt,0deg))}
.anger-empty{font-size:11px;color:#898174;white-space:nowrap;font-weight:700}
.anger-count{flex:0 0 auto;font-size:11px;font-weight:900;white-space:nowrap;color:#43304d}
.anger-add{flex:0 0 32px;width:32px;height:32px;border-radius:50%;border:2px solid #a94758;background:#fff9f0;color:#a94758;font-size:24px;font-weight:900;line-height:1;padding:0}
.anger-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px auto 14px}
.anger-nav button{border:1px solid #8c73b8;border-radius:20px;background:#302454;color:#eee5ff;padding:7px 11px;font-size:12px;font-weight:850}
.anger-rank{display:block;width:min(100%,330px);margin:0 auto 12px;padding:12px 16px 9px;border:1px solid #7661a5;border-radius:18px;background:linear-gradient(145deg,#302354,#21183f);color:#fff;text-align:center;box-shadow:0 7px 20px #08051666}
.rank-title{font-size:14px;font-weight:950;color:#ffd56a;margin-bottom:7px}
.anger-rank-row{display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;text-align:left;margin:3px 0;font-size:13px;font-weight:850}
.anger-rank-row b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#d5b15d;color:#332348}
.anger-rank-row.rank-1{font-size:16px;color:#ffe08b}.anger-rank-row.rank-1 b{width:27px;height:27px;background:#ffd65b}
.anger-rank-row.rank-2{font-size:12px}.anger-rank-row.rank-3{font-size:11px}
.anger-rank-row em{font-style:normal;color:#c9b9ef;white-space:nowrap}
.anger-no-rank{font-size:12px;color:#c7b9df;padding:8px}
.anger-rank small{display:block;color:#a99acb;font-size:9px;margin-top:7px}
.actor-pill,.anger-manage{border:1px solid #7a67a5;border-radius:20px;background:#2c214a;color:#e9dfff;padding:7px 12px;font-size:11px;font-weight:800}
.actor-pill{display:block;margin:8px auto}
.anger-manage{display:block;margin:0 auto}
.anger-choice-list{display:flex;flex-wrap:wrap;gap:9px;padding:12px 2px;max-height:42dvh;overflow:auto}
.anger-choice{border:1px solid #9c86bd;background:#30234c;color:#f5edff;border-radius:7px;padding:9px 13px;font-size:14px;font-weight:850;transform:rotate(-1deg)}
.anger-choice:nth-child(3n){transform:rotate(2deg)}.anger-choice.on{background:#f0c65e;color:#30213d;border-color:#fff0ba}
.anger-full-rank{display:grid;gap:5px}.anger-full-row{display:grid;grid-template-columns:48px 1fr auto;gap:8px;align-items:center;padding:9px;border-bottom:1px solid #ffffff18;font-size:13px}.anger-full-row b{color:#e8cb79}.anger-full-row strong{color:#c7b5ed}
@media(max-width:380px){.anger-day{gap:5px;padding:6px}.anger-date{flex-basis:34px;font-size:21px}.anger-sticker{font-size:11px;padding:3px 5px}.anger-count{font-size:10px}.anger-add{flex-basis:29px;width:29px;height:29px}}


/* v1.2 — match the user's approved purple wiki home screenshot */
:root{--bg:#1b1640;--panel:#282052;--panel2:#342967;--line:#51438e;--text:#fbf8ff;--muted:#b9afd9;--purple:#a987f4;--gold:#ffd34c}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#171333;color:var(--text)}
body{font-family:system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(27,20,65,.90),rgba(21,17,53,.95)),url("./assets/duck-world.jpg") center top/cover fixed}
.app{width:min(100%,1024px);min-height:100dvh;margin:0 auto;padding:0 0 calc(94px + env(safe-area-inset-bottom));position:relative;background:linear-gradient(180deg,#251b5966 0%,#1a1640d9 45%,#171333 100%);border-left:1px solid #40356f;border-right:1px solid #40356f}
.hero{display:block;position:relative;width:100%;height:auto;aspect-ratio:1024/250;padding:0;margin:0;overflow:hidden;border:0;border-radius:0;background:url("./assets/wiki-header-reference.jpg") center/100% 100% no-repeat}
.hero:after{display:none}
.hero-tools{position:absolute;inset:0;display:block;z-index:3}
.hero-icon{position:absolute;top:6%;width:7%;height:30%;padding:0;border:0;border-radius:50%;background:transparent;color:transparent;font-size:0}
#menuToggle{left:10.5%}
#searchToggle{right:9.5%}
.hero-copy,.hero-duck{display:none}
.menu-panel{display:none;position:absolute;top:calc(min(100vw,1024px)*.245);left:7.3%;right:7.3%;z-index:20;grid-template-columns:repeat(2,1fr);gap:5px;padding:10px;background:#21183df2;border:1px solid #6754a2;border-radius:16px;box-shadow:0 15px 35px #09051c}
.menu-panel.open{display:grid}
.view{padding:0 7.3% 24px}
#quoteView{padding-top:0}
.member-section{margin:0 0 10px;padding:2.1% 2.7% 1.4%;border:2px solid #6551a2;border-radius:28px;background:linear-gradient(145deg,rgba(54,42,104,.96),rgba(36,29,79,.97));box-shadow:0 8px 22px #09051f55}
.sectionhead{display:flex;align-items:center;justify-content:space-between;margin:0 2px 12px}
.sectionhead h2{font-size:clamp(17px,2.2vw,26px);font-weight:900;letter-spacing:-.8px;margin:0;color:#fbf8ff}
.eyebrow{font-size:9px;letter-spacing:1.5px;color:#c3a9ff;margin:0 0 3px;font-weight:850}
.member-section .sectionhead h2:before{content:"♟";font-size:1em;color:#e6d8ff;margin-right:10px}
.all-members{color:#c5adff;font-size:clamp(11px,1.6vw,18px);font-weight:850}
.memberstrip{display:flex;gap:1.5%;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none;align-items:stretch}
.memberstrip::-webkit-scrollbar{display:none}
.memberchip{flex:0 0 11.2%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:6px 4px 4px;border:1px solid #56458e;background:#443675;color:#fff;border-radius:15px;font-size:clamp(10px,1.4vw,15px);font-weight:800}
.memberchip .duck{width:100%;height:auto;aspect-ratio:1/1.05;border-radius:13px;background:var(--duck);font-size:28px;box-shadow:inset 0 0 0 2px #ffffff22}
.memberchip.selected{border:2px solid #c4a5ff;background:#59458f;padding:5px 3px 3px;box-shadow:0 0 0 2px #9a77d51a}
.memberchip .all-duck{display:grid;place-items:center;background:linear-gradient(135deg,#e4d8ff,#9272db);color:#fff;font-size:25px}
.memberchip.more-chip{flex-basis:8.5%;background:transparent;border:0;padding:0 2px;color:#c5b2ef}
.more-symbol{width:100%;aspect-ratio:1/1.05;display:grid;place-items:center;border:2px solid #7764b0;border-radius:13px;background:#3a2c70;color:#bba5f6;font-size:30px}
.memberchip b{white-space:nowrap}
.feed-section{margin:0 0 20px;padding:2.1% 2.2% 2.4%;border:2px solid #5b4a98;border-radius:28px;background:linear-gradient(145deg,rgba(39,32,84,.98),rgba(29,25,69,.98));box-shadow:0 8px 22px #09051f55}
.quote-heading{margin:0 1% 12px;align-items:center}
.quote-heading h2:before{content:"▤";font-size:1em;color:#d2a7ff;margin-right:10px}
.quote-heading .eyebrow{display:none}
.count{font-size:11px;color:#c6b7e9;background:#ffffff0c;border:1px solid #4d4385;padding:6px 10px;border-radius:20px}
.sortrow{display:flex;align-items:center;gap:7px;border:0;padding:0 1% 10px;margin:0 0 7px}
.sort{border:1px solid #51438c;background:#30275d;color:#c9bde6;border-radius:18px;padding:7px 13px;font-size:11px;font-weight:850}
.sort.active{background:#9a78db;color:#fff;border-color:#b59aff}
.sortnote{margin-left:auto;color:#9989bd;font-size:9px}
.quotes{display:grid;gap:8px;padding:0 0 15px}
.quote{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto auto auto;column-gap:10px;position:relative;overflow:hidden;padding:12px 13px 10px;background:linear-gradient(145deg,#30295f,#282251);border:2px solid #443a79;border-radius:18px;box-shadow:0 4px 10px #09051f44}
.quote:before{display:none}
.qtop{grid-column:2;grid-row:1;display:flex;align-items:center;gap:9px;min-width:0}
.qduck{grid-column:1;grid-row:1/5;width:68px;height:68px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;align-self:center;background:var(--duck);border:3px solid #8b70d2;box-shadow:0 0 0 2px #241c51}
.qduck svg{width:100%;height:100%}
.qname{font-size:clamp(12px,1.5vw,17px);font-weight:900}
.qdate{margin-left:5px;color:#a99bc9;font-size:clamp(10px,1.3vw,14px);white-space:nowrap}
.qtext{grid-column:2;grid-row:2;font-size:clamp(14px,1.8vw,20px);line-height:1.45;font-weight:850;margin:3px 0 4px;white-space:pre-wrap;word-break:break-word}
.qcontext{grid-column:2;grid-row:3;font-size:clamp(10px,1.35vw,14px);color:#b7acd2;margin:0 0 4px}
.qfoot{grid-column:2;grid-row:4;display:flex;align-items:center;gap:7px;border:0;padding:0;margin:0}
.vote{border:0;background:transparent;color:#b9add9;border-radius:20px;padding:2px 5px;font-size:12px}
.qby{font-size:9px;color:#9587b8;margin-left:auto}
.qactions{display:flex;gap:4px}.qactions button{background:transparent;border:0;color:#b8a8ca;font-size:10px}
.crown{grid-column:2;color:var(--gold);font-size:12px}
.empty{padding:35px 15px;text-align:center;color:var(--muted);border:1px dashed #604b78;border-radius:16px;font-size:12px}
.fab{position:fixed;z-index:5;bottom:calc(105px + env(safe-area-inset-bottom));right:max(5.5%,calc((100vw - 1024px)/2 + 5.5%));width:84px;height:84px;padding:0;border:2px solid #c3a5ff;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#a978f0,#7445c5);color:white;font-size:30px;font-weight:900;box-shadow:0 5px 18px #09051f99}
.fab span{display:block;font-size:12px;margin-top:-20px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:10;width:min(100%,1024px);height:calc(100px + env(safe-area-inset-bottom));padding:12px 5% calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;align-items:center;background:#1c1743f5;border:2px solid #443878;border-bottom:0;border-radius:28px 28px 0 0;box-shadow:0 -7px 22px #09051f77;backdrop-filter:blur(14px)}
.bottom-item{border:0;background:transparent;color:#9184c5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:clamp(10px,1.3vw,15px);font-weight:800;min-width:65px}
.bottom-item b{font-size:clamp(24px,3vw,34px);line-height:1.1;font-weight:500}
.bottom-item.active{color:#b88aff}
#calendarView{padding-top:22px}
#calendarView>.sectionhead,#calendarView>.monthbar,#calendarView>.hint,#calendarView>#otherCalendar,#calendarView>#angerBoard{max-width:100%}
.monthbar{display:flex;align-items:center;justify-content:space-between;background:#ffffff0b;border:1px solid var(--line);padding:8px 12px;border-radius:13px}
.monthbar button{background:transparent;border:0;color:white;font-size:25px}
.monthbar strong{font-size:15px}
.hint,.legend{font-size:10px;color:var(--muted);margin:10px 2px}
.week,.monthgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.week{margin:14px 0 6px;text-align:center;color:#b7a8c8;font-size:10px;font-weight:800}
.week span:first-child{color:#f28e9b}.week span:last-child{color:#8bb8f7}
.day{min-height:62px;border:1px solid #514064;background:#ffffff08;border-radius:10px;color:var(--text);padding:7px 3px;text-align:center;font-size:11px;position:relative}
.day.dim{opacity:.25}.day.today{border-color:#c4a5ff;box-shadow:inset 0 0 0 1px #c4a5ff}.day.selected{background:#604887}
.day .num{display:block;font-weight:850}.day .dots{display:flex;justify-content:center;gap:2px;margin-top:7px}
.dot{width:5px;height:5px;border-radius:50%;background:#b99af2}.dot.anger{background:#ed8c9d}.dot.maks{background:#e6a45c}.dot.abs{background:#8dc5ee}
.day:nth-child(7n+1) .num{color:#f28e9b}.day:nth-child(7n) .num{color:#8bb8f7}
dialog{width:min(92vw,460px);max-height:82dvh;overflow:auto;border:1px solid #67517e;border-radius:19px;background:#211832;color:var(--text);padding:18px;box-shadow:0 20px 70px #000a}
@media(max-width:600px){
 .view{padding-left:5%;padding-right:5%}
 .member-section,.feed-section{border-radius:22px;padding:12px 10px}
 .memberchip{flex-basis:13%;border-radius:11px}
 .memberchip.more-chip{flex-basis:9%}
 .quote{grid-template-columns:58px minmax(0,1fr);column-gap:8px;padding:10px}
 .qduck{width:52px;height:52px}
 .fab{width:64px;height:64px;bottom:calc(85px + env(safe-area-inset-bottom));font-size:24px}
 .fab span{font-size:10px;margin-top:-15px}
 .bottom-nav{height:calc(76px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}
 .bottom-item{min-width:48px}
}

.member-section .all-members{cursor:pointer}
.quote-heading .count{display:none}
.quote-heading:after{content:"전체 ⌄";font-size:clamp(12px,1.5vw,17px);font-weight:850;color:#bca9eb;margin-right:1%}

.anger-day{background:linear-gradient(145deg,#30265f,#211a49);border:1px solid #594b91;color:#f8f4ff;box-shadow:0 5px 14px #09051d55}
.anger-day.is-today{background:linear-gradient(145deg,#493779,#30245f);outline:2px solid #a98af1;outline-offset:-2px}
.anger-date{color:#f5efff}
.anger-date.sat{color:#8bb8f7}.anger-date.sun{color:#f28e9b}
.anger-stickers{border-left:2px solid #62548f}
.anger-empty{color:#aaa0c8}
.anger-count{color:#cfc4ee}
.anger-add{border-color:#8d73c5;background:#453675;color:#e5d6ff}
