:root{font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif;color:#143832;background:#f6f7f3;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{max-width:660px;margin:auto;min-height:100vh;background:#fff;box-shadow:0 0 35px #12382a0b}.top,.bottom{position:sticky;z-index:20;background:#fff;display:flex;align-items:center;justify-content:space-between;transition:transform .2s ease}.top{top:0;border-bottom:1px solid #e8ece7;padding:10px 16px;height:62px}.bottom{bottom:0;border-top:1px solid #e8ece7;height:64px}.top.hidden{transform:translateY(-100%)}.bottom.hidden{transform:translateY(100%)}.brand{font-weight:800;letter-spacing:.12em;font-size:18px}.icon-btn{border:0;background:none;color:#34534e;font-size:22px;width:44px;height:44px;display:grid;place-items:center;border-radius:14px}.icon-btn:hover{background:#edf3ef}.bottom a{display:grid;place-items:center;flex:1;height:100%;font-size:24px}.bottom a.active{color:#0e6d60}.main{padding:20px 16px 96px;min-height:75vh}.page-title{font-size:24px;margin:6px 0 20px}.muted{color:#738780;font-size:13px}.small{font-size:12px}.card{border:1px solid #e0e8e2;border-radius:20px;background:#fff;margin:0 0 16px;padding:18px;box-shadow:0 8px 30px #134f3010}.post-head,.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.avatar{width:44px;height:44px;border-radius:50%;background:#dbe9e1;display:grid;place-items:center;color:#0b574e;font-weight:700;object-fit:cover;flex:none}.avatar.big{width:84px;height:84px;font-size:30px}.author{font-weight:700}.post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;margin:16px 0}.post-body a{color:#0e8170}.meta{color:#789088;font-size:12px}.post-actions{display:flex;align-items:center;gap:16px;margin-top:16px;border-top:1px solid #edf1ec;padding-top:12px}.plain{border:0;background:none;color:#37665e;padding:7px}.plain.active{color:#007363;font-weight:700}.photos{display:grid;gap:3px;border-radius:14px;overflow:hidden;margin-top:12px;grid-template-columns:repeat(2,1fr)}.photos.one{grid-template-columns:1fr}.photos.three img:first-child{grid-row:span 2;height:100%}.photos img{width:100%;height:180px;object-fit:cover;background:#eef3ee}.photos.one img{height:auto;max-height:500px}.field{display:block;margin:16px 0;font-weight:700}.field input,.field textarea{display:block;width:100%;margin-top:8px;border:1px solid #d8e3db;border-radius:12px;padding:13px;color:#143832;background:#fff;outline-color:#147467}.field textarea{min-height:130px;resize:vertical}.btn{background:#0a5a4e;color:#fff;border:0;border-radius:12px;padding:12px 17px;font-weight:700}.btn.secondary{background:#eef4ef;color:#0b5147}.btn.danger{background:#fff0eb;color:#a43b23}.btn:disabled{opacity:.45;cursor:not-allowed}.actions{display:flex;flex-wrap:wrap;gap:8px}.pill{display:inline-flex;border:1px solid #deebe1;border-radius:50px;padding:6px 10px;font-size:12px;color:#275f53;background:#f5faf6}.banner{padding:14px;border-radius:13px;background:#e7f3ee;color:#12594f;margin:14px 0}.warning{background:#fff1e9;color:#924622}.error{color:#a6362b;background:#fff0ed;padding:10px;border-radius:10px}.status{position:fixed;z-index:100;bottom:75px;left:50%;transform:translateX(-50%);background:#153c34;color:#fff;padding:12px 18px;border-radius:14px;box-shadow:0 12px 30px #112b2755;max-width:92vw}.composer{min-height:190px;border:0!important;padding:0!important;font-size:18px;line-height:1.6}.composer:focus{outline:none}.compose-tool{border-top:1px solid #edf0ed;padding-top:14px;margin-top:12px}.preview{display:flex;gap:8px;overflow:auto}.preview img{height:100px;width:100px;object-fit:cover;border-radius:9px}.thread{border-bottom:1px solid #edf0ed;padding:15px 0;display:block}.bubble{max-width:80%;padding:12px 15px;border-radius:16px;background:#eef3ef;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{margin-left:auto;background:#dcefe6}.drawer{position:fixed;z-index:50;inset:0;background:#173c3480}.drawer-panel{background:#fff;width:min(330px,85vw);height:100%;padding:22px;box-shadow:10px 0 30px #102e2255}.drawer a{display:block;padding:15px 8px;border-bottom:1px solid #edf0ed}.drawer .close{float:right}.split{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hr{border:0;border-top:1px solid #e6ece7;margin:18px 0}.check{display:flex;align-items:start;gap:9px;line-height:1.45}.check input{margin-top:4px}.rules{max-height:210px;overflow:auto;background:#f5f7f4;border:1px solid #e2e8e2;border-radius:12px;padding:12px;font-size:13px;line-height:1.65}.tabs{display:flex;gap:8px;margin-bottom:16px}.tabs button{border:0;background:#edf3ee;border-radius:20px;padding:8px 12px;color:#285b50}.tabs button.active{background:#0b5a4d;color:#fff}.empty{text-align:center;color:#81948a;padding:50px 15px}.album{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.album img{width:100%;aspect-ratio:1;object-fit:cover}.input-row{display:flex;gap:8px}.input-row input{flex:1;min-width:0;border:1px solid #d6e2d9;border-radius:12px;padding:12px}.lock{padding:50px 10px;text-align:center}.cover{height:130px;border-radius:20px;background:linear-gradient(135deg,#16493e,#4b977c);margin-bottom:-44px}.profile-summary{position:relative;padding-top:0}.gallery-view{position:fixed;z-index:90;inset:0;background:#0c1211ed;display:grid;place-items:center}.gallery-view img{max-width:95vw;max-height:85vh;object-fit:contain}.gallery-view button{position:absolute;top:20px;right:20px;background:#fff;color:#123a32;border:0;border-radius:50%;width:42px;height:42px;font-size:24px}@media(min-width:700px){.main{padding:28px 25px 110px}.shell{border-left:1px solid #e6ece7;border-right:1px solid #e6ece7}}@media(max-width:350px){.post-actions{gap:8px}.top{padding:8px}}
.bottom{position:fixed;bottom:0;left:50%;width:min(100%,660px);transform:translateX(-50%)}
.bottom.hidden{transform:translate(-50%,100%)}
.gallery-controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;color:#fff}
.gallery-controls button{position:static;width:40px;height:40px}
.photo-tile{flex:none;width:120px;border:1px solid #dce8df;border-radius:10px;overflow:hidden}
.photo-tile img{width:100%;height:96px;object-fit:cover;display:block}
.photo-tools{display:flex;justify-content:space-around;padding:3px}
.photo-tools button{border:0;background:#f0f5f1;border-radius:7px;width:30px;height:30px;color:#1f6156}
.photo-tools button:disabled{opacity:.35}
.guide-steps{padding-left:22px;line-height:1.8}.guide-steps li+li{margin-top:6px}.guide-example{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f4;border:1px solid #e2e8e2;border-radius:12px;padding:14px;line-height:1.7;font:inherit}
