:root{--paper:#f6f5ef;--card:#fff;--ink:#252820;--muted:#818377;--line:#e5e6dd;--lime:#d5f28e;--purple:#e5dcff;--orange:#ffe0b9;--green:#c8ed76;--radius:22px;--shadow:0 8px 25px #30352008}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.5 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #8863d4;outline-offset:4px}a{color:inherit}button{border:0;background:none}input,textarea,select{border:1px solid var(--line);border-radius:12px;background:#fafbf7;color:var(--ink);padding:12px 14px;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#9e83d7;box-shadow:0 0 0 3px #c3affb25}textarea{resize:vertical;min-height:90px}h1,h2,h3,h4,p{margin:0}h1{font-size:36px;line-height:1.13;letter-spacing:-1.4px;font-weight:750}h2{font-size:22px;letter-spacing:-.6px}h3{font-size:17px;letter-spacing:-.35px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:750;text-transform:uppercase}.brand{display:flex;align-items:center;gap:2px;font-size:35px;font-weight:850;letter-spacing:-2px;line-height:1}.brand span{color:#70983c;font-size:34px;margin-left:3px}.logo-mark{background:var(--lime);width:34px;height:34px;display:grid;place-items:center;border-radius:12px;font-weight:850;font-size:23px;letter-spacing:-2px}.icon{width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.layout{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#fffefb;border-right:1px solid var(--line);padding:31px 20px 18px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{margin:0 12px 38px}.world-switch{display:flex;align-items:center;gap:10px;padding:12px 10px;background:#f2f2eb;border:1px solid #e9e9e0;border-radius:14px;width:100%;text-align:left}.world-switch .world-emoji{background:#dff1bc}.world-emoji{height:38px;width:38px;border-radius:12px;display:grid;place-items:center;font-size:22px;flex-shrink:0}.world-switch strong{font-size:12px;display:block;line-height:1.5;max-width:120px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.world-switch small{font-size:10px;color:var(--muted)}.nav-label{font-size:10px;letter-spacing:1.4px;color:#9a9b90;margin:28px 14px 9px}.nav-btn{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:11px;width:100%;text-align:left;color:#73776b;font-weight:550;margin:3px 0}.nav-btn.active{background:#eaf3da;color:#3c5626}.nav-btn.active .icon{stroke-width:2}.nav-btn .badge{margin-left:auto;background:#d7e9bb;font-size:10px;padding:1px 6px;border-radius:5px;color:#47612e}.world-link{display:flex;align-items:center;gap:10px;padding:9px 14px;width:100%;color:#777a6f;font-size:12px;text-align:left}.world-dot{width:8px;height:8px;border-radius:50%;background:#c5adf6}.world-link:nth-of-type(2n) .world-dot{background:#99b894}.sidebar-bottom{margin-top:auto;padding-top:24px}.side-note{border:1px dashed #dddcd2;border-radius:15px;padding:16px 13px;margin:8px 4px 22px;font-size:11px;color:#7d806e}.side-note strong{display:block;font-size:12px;color:#4f5743;margin-bottom:5px}.user-switch{display:flex;align-items:center;gap:10px;padding:10px 9px;border-top:1px solid var(--line);width:100%;text-align:left}.user-switch strong{display:block;font-size:12px}.user-switch small{font-size:10px;color:var(--muted)}.avatar{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:750;font-size:12px;flex-shrink:0;background:#e5dcff;color:#4b3958;object-fit:cover;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.lg{width:76px;height:76px;font-size:25px;border:4px solid #fff}.avatar.sm{width:29px;height:29px;font-size:9px}.avatar-stack{display:flex;padding-left:0}.avatar-stack .avatar{border:2px solid #fff;margin-left:-7px}.avatar-stack .avatar:first-child{margin-left:0}.main{grid-column:2;min-width:0}.topbar{height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#f9f8f3;gap:16px}.breadcrumbs{display:flex;gap:9px;align-items:center;font-size:12px;color:#95968b}.breadcrumbs strong{color:#505448;font-weight:550}.top-actions{display:flex;align-items:center;gap:16px}.search-shortcut{display:flex;align-items:center;gap:10px;color:#92968a;font-size:12px;background:#efefe7;border-radius:10px;padding:9px 12px}.search-shortcut .icon{width:16px;height:16px}.key{border:1px solid #dadcd2;border-radius:4px;font-size:9px;padding:0 5px;margin-left:35px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px}.icon-btn:hover{background:#eaece2}.top-actions .divider{height:24px;width:1px;background:var(--line)}.beta{font-size:9px;font-weight:700;color:#7a7464;background:#eeeae0;border-radius:5px;padding:4px 6px;letter-spacing:.6px}.content{max-width:1470px;margin:auto;padding:29px 38px 45px}.welcome-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.welcome-row p{margin-top:8px;font-size:12px;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:11px 17px;font-weight:650;font-size:12px;border:1px solid transparent;white-space:nowrap;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn .icon{width:16px;height:16px}.btn.dark{background:var(--ink);color:#fff}.btn.lime{background:var(--lime)}.btn.outline{background:#fff;border-color:var(--line)}.btn.soft{background:#f2f2eb}.btn.purple{background:var(--purple)}.btn.danger{color:#a94343;background:#fff0ef}.btn.full{width:100%}.text-btn{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#777d6a;font-weight:600;padding:4px 0}.text-btn .icon{width:14px;height:14px}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px}.left-col,.right-col{min-width:0}.hero{background:#e8e0f5;border:1px solid #ddd4ea;border-radius:var(--radius);min-height:235px;position:relative;overflow:hidden;padding:29px 29px 25px;display:flex;align-items:center}.hero-copy{z-index:1;position:relative;width:62%}.hero .eyebrow{color:#786b85;letter-spacing:1.7px;margin-bottom:14px}.hero h2{font-size:33px;line-height:1.07;letter-spacing:-1.5px;max-width:330px}.hero p{font-size:11px;color:#7b7285;max-width:280px;margin-top:13px;line-height:1.65}.hero .btn{margin-top:21px;padding:10px 14px;font-size:11px}.hero-art{position:absolute;width:310px;height:260px;right:-28px;bottom:-20px}.hero-sticker{position:absolute;top:22px;right:25px;transform:rotate(9deg);font-size:9px;letter-spacing:1px;background:#f8f3ff;border:1px solid #c4b3d8;padding:6px 10px;border-radius:6px;z-index:2}.section-title{display:flex;align-items:center;justify-content:space-between;margin:27px 0 14px}.section-title h2{font-size:18px;letter-spacing:-.4px}.section-title h2 span{font-size:16px;margin-left:4px}.ritual-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ritual-card{border:1px solid #e2e4d8;border-radius:17px;padding:16px;text-align:left;position:relative;overflow:hidden;min-height:171px;display:flex;flex-direction:column;align-items:flex-start;background:#f0f5e7;transition:transform .2s}.ritual-card:hover{transform:translateY(-4px)}.ritual-card:nth-child(2){background:#f9efdf;border-color:#ede1cf}.ritual-card:nth-child(3){background:#eee9f5;border-color:#e2d9ef}.ritual-card .ritual-art{height:63px;font-size:44px;filter:drop-shadow(2px 5px 0 #0000000b);line-height:1;transform:rotate(-10deg);margin:0 0 15px 2px}.ritual-card strong{font-size:13px}.ritual-card small{font-size:10px;color:#929080;margin-top:3px}.ritual-card .corner-arrow{position:absolute;right:12px;bottom:16px;border-radius:50%;width:23px;height:23px;background:#ffffff90;display:grid;place-items:center}.corner-arrow .icon{width:13px;height:13px}.card{border:1px solid var(--line);border-radius:18px;background:var(--card);padding:19px;box-shadow:var(--shadow)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.card-top h3{font-size:14px}.label{display:inline-flex;align-items:center;gap:5px;font-size:9px;border-radius:5px;background:#f0f3e9;color:#7b836d;padding:3px 6px}.label.purple{background:#f0eaff;color:#8a72ae}.label.orange{background:#fff2df;color:#af8b54}.poll-question{font-size:16px;margin:8px 0 17px;font-weight:650}.poll-option{position:relative;border:1px solid #e6e8e0;border-radius:10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;width:100%;margin:8px 0;text-align:left;overflow:hidden;font-size:11px;background:#f9faf6}.poll-option.selected{border-color:#b4cb8e;background:#f3f8eb}.poll-option .fill{position:absolute;inset:0 auto 0 0;background:#e4efcf;z-index:0}.poll-option span{position:relative;z-index:1}.poll-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:10px;color:#8c9180}.chat-preview{margin-top:18px}.preview-msg{display:flex;gap:10px;padding:10px 0}.preview-msg p{font-size:11px;margin-top:3px;color:#7b7d72}.preview-msg strong{font-size:10px}.preview-msg time{font-size:9px;color:#a0a394;margin-left:7px}.right-col .card+.card{margin-top:18px}.world-overview{background:#fffefb}.world-overview .world-banner{height:75px;border-radius:12px;background:#eaf0da;display:flex;align-items:center;justify-content:center;margin-bottom:14px;position:relative;overflow:hidden}.world-banner:before,.world-banner:after{content:'';position:absolute;width:140px;height:100px;border:1px solid #c8d7ae;border-radius:50%;transform:rotate(-20deg)}.world-banner:after{transform:rotate(20deg);width:190px;height:60px}.world-banner span{z-index:1;font-size:39px;transform:rotate(-12deg)}.world-overview h3{font-size:15px}.world-overview p{font-size:10px;color:#949687;margin:5px 0 16px}.world-overview .world-details{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;font-size:9px;color:#8e9580}.world-overview .btn{font-size:10px;padding:10px;width:100%}.event-date{border:1px solid #e1e4d6;border-radius:10px;width:43px;height:48px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f4f6ed;flex-shrink:0}.event-date small{font-size:8px;color:#9b9f8c;line-height:1.1;text-transform:uppercase}.event-date strong{font-size:20px;line-height:1.3}.event-info{display:flex;gap:11px;margin-top:14px}.event-info h4{font-size:11px;margin-bottom:4px}.event-info p{font-size:10px;color:#8b9080}.event-info .icon{width:11px;height:11px}.rsvp-row{border-top:1px solid #eff0e8;margin-top:16px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px}.rsvp-row .btn{font-size:10px;padding:6px 10px}.ciro-card{background:#eef1e7;border-color:#dce3cd;position:relative;overflow:hidden}.ciro-face{display:flex;align-items:center;justify-content:center;width:39px;height:37px;border-radius:13px;background:#d0e4ae;position:relative;font-weight:900;font-size:20px;letter-spacing:3px;padding-left:3px}.ciro-face:before{content:'';width:4px;height:7px;background:#5e7643;position:absolute;top:-7px;border-radius:2px}.ciro-card .card-top{justify-content:flex-start}.ciro-card h3{font-size:12px}.ciro-card p{font-size:11px;color:#7e876e;line-height:1.7;margin:10px 0 16px}.ciro-card .btn{padding:8px 12px;font-size:10px}.mini-card{background:#fffefb}.mini-cover{height:80px;border-radius:12px;background:#fff0d8;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;font-size:45px;margin:13px 0}.mini-cover span:first-child{transform:rotate(-13deg);margin-right:10px}.mini-cover span:last-child{transform:rotate(12deg)}.mini-card .text-btn{font-size:10px}.bottom-caption{font-size:9px;text-align:center;letter-spacing:.5px;color:#a7aa9d;margin-top:26px}.page-head{display:flex;align-items:center;justify-content:space-between;margin:5px 0 26px;gap:16px}.page-head p{font-size:12px;color:var(--muted);margin-top:10px;max-width:620px}.page-head h1{font-size:30px}.three-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.two-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.list-card{margin-bottom:14px}.empty{padding:35px 20px;text-align:center;border:1px dashed #dfe1d4;border-radius:17px;color:#8b907f;font-size:12px}.empty .big-emoji{display:block;font-size:39px;margin-bottom:10px}.empty strong{color:#4f5844;display:block;font-size:15px;margin-bottom:7px}.world-card{padding:23px;display:flex;flex-direction:column;gap:12px}.world-card .world-emoji{width:55px;height:55px;font-size:30px;background:#ebe5f5}.world-card p{color:var(--muted);font-size:12px;min-height:40px}.world-card .world-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.world-card .world-card-actions .btn{font-size:11px;padding:8px 12px}.chat-layout{display:grid;grid-template-columns:210px minmax(0,1fr);border:1px solid var(--line);background:white;border-radius:20px;overflow:hidden;min-height:620px;height:calc(100vh - 260px)}.chat-list{background:#fbfbf7;border-right:1px solid var(--line);padding:17px 12px;overflow:auto}.chat-list .eyebrow{margin:10px 9px;color:#9a9e8e}.thread{display:flex;align-items:center;gap:9px;width:100%;border-radius:11px;padding:11px 9px;text-align:left}.thread.active{background:#eaf1dc}.thread strong{font-size:11px;display:block}.thread small{font-size:9px;color:#959a87}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-header{padding:17px 22px;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center}.chat-header h3{font-size:13px}.chat-header p{font-size:10px;color:var(--muted)}.messages{padding:22px;flex:1;overflow:auto;display:flex;flex-direction:column;gap:18px}.message{display:flex;gap:10px;max-width:85%;align-items:flex-end}.message.mine{align-self:flex-end;flex-direction:row-reverse}.bubble{background:#f1f2eb;padding:11px 14px;border-radius:13px 13px 13px 3px;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}.mine .bubble{background:#e7f0d7;border-radius:13px 13px 3px 13px}.message-meta{font-size:9px;margin-bottom:5px;color:#919780;display:flex;gap:8px}.mine .message-meta{justify-content:flex-end}.composer{margin:14px 18px;display:flex;gap:8px;border:1px solid var(--line);padding:6px;border-radius:13px}.composer input{border:0;background:transparent;font-size:12px;padding:9px;box-shadow:none}.composer .btn{padding:9px 12px}.profile-card{text-align:center;padding:32px;position:relative;overflow:hidden}.profile-cover{height:100px;margin:-32px -32px -38px;background:#e5def3;border-bottom:1px solid #d7cee5}.profile-card .avatar{position:relative}.profile-card h2{margin-top:10px}.profile-card p{margin-top:9px;color:var(--muted);font-size:12px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.chip{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;background:#f0f2e9;border:1px solid #e7eadd;border-radius:9px;font-size:11px}.person-row{display:flex;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid #eff0e7}.person-row:last-child{border-bottom:0}.person-row .person-text{flex:1;min-width:0}.person-row strong{font-size:12px;display:block}.person-row small{color:var(--muted);font-size:10px}.person-row .btn{padding:7px 10px;font-size:10px}.person-actions{display:flex;gap:6px;flex-wrap:wrap}.form-field{margin-bottom:17px}.form-field>label{font-size:11px;display:block;font-weight:650;margin:0 0 7px}.form-field small{color:var(--muted);font-size:10px;display:block;margin-top:5px}.form-actions{display:flex;gap:10px;margin-top:22px;justify-content:flex-end}.modal-backdrop{position:fixed;inset:0;background:#25282065;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:100}.modal{background:#fffefb;border-radius:24px;max-width:510px;width:100%;max-height:90vh;overflow:auto;padding:27px;box-shadow:0 30px 100px #0002}.modal.wide{max-width:680px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.modal-header h2{font-size:23px}.modal-subtitle{font-size:12px;color:var(--muted);margin-bottom:23px}.check-list{border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-top:8px}.check-row{display:flex;align-items:center;gap:10px;padding:10px 13px;border-bottom:1px solid #eceee4;font-size:12px}.check-row:last-child{border:0}.check-row input{width:16px;height:16px;accent-color:#74974d}.check-row .avatar{width:26px;height:26px;font-size:9px}.check-note{display:flex;gap:10px;align-items:flex-start;font-size:11px;background:#f2f5e9;padding:13px;border-radius:10px;margin-top:15px}.check-note input{width:17px;flex-shrink:0;margin-top:2px}.modal-note{font-size:11px;color:var(--muted);margin:14px 0}.result{text-align:center;padding:20px 0}.result-emoji{font-size:65px;display:block;margin-bottom:18px;animation:pop .4s ease-out}.result h2{font-size:37px}.result p{color:var(--muted);margin-top:10px;font-size:12px}.result .avatar{margin-bottom:14px}.result .btn{margin-top:24px}.draw-history{margin-top:28px}.draw-row{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.draw-row .draw-info{flex:1}.draw-row h4{font-size:13px}.draw-row p{font-size:10px;color:var(--muted);margin-top:4px}.draw-row .btn{font-size:10px;padding:8px 11px}.game-card{overflow:hidden;padding:0}.game-art{height:180px;background:#eee6fd;display:grid;place-items:center;font-size:75px;position:relative}.game-card:nth-child(2) .game-art{background:#e9f0d9}.game-art>span{transform:rotate(-10deg)}.game-info{padding:22px}.game-info p{font-size:12px;color:var(--muted);margin:9px 0 18px;min-height:40px}.game-info .label{margin-bottom:8px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;max-width:380px;margin:20px auto}.memory-tile{aspect-ratio:1;background:#daceef;border-radius:12px;display:grid;place-items:center;font-size:30px;border:1px solid #cfc0e5;transition:transform .2s}.memory-tile.open{background:#fbf8ff;transform:rotateY(180deg)}.memory-tile.open span{transform:rotateY(180deg)}.memory-tile.matched{background:#e6f2d4;border-color:#d3e4b9;opacity:.7}.game-status{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:10px}.ciro-panel{max-width:840px;margin:auto}.ciro-intro{display:flex;gap:20px;align-items:center;padding:28px;background:#e7eddc;border:1px solid #dbe3ce;border-radius:20px;margin-bottom:22px}.ciro-intro .ciro-face{width:60px;height:58px;font-size:28px;border-radius:20px}.ciro-intro p{font-size:12px;color:#7c876b;margin-top:7px}.prompt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.prompt-card{text-align:left;background:white;border:1px solid var(--line);border-radius:12px;padding:15px;font-size:11px}.prompt-card span{display:block;font-size:22px;margin-bottom:8px}.ai-response{margin:20px 0;background:white;border:1px solid var(--line);border-radius:17px;padding:20px;white-space:pre-wrap;font-size:13px;line-height:1.8}.ai-proposal{margin-top:16px;background:#f1f5e8;border:1px solid #e0e8d2;border-radius:12px;padding:16px;white-space:normal}.ai-proposal h4{font-size:12px}.ai-proposal p{font-size:11px;color:#7d886d;margin:8px 0 15px}.status-note{padding:12px 15px;border:1px solid #e5dec8;background:#fbf7e9;border-radius:11px;color:#958454;font-size:11px;margin:15px 0}.research{max-width:900px}.research section{margin:30px 0}.research h2{margin-bottom:14px}.research p,.research li{font-size:13px;line-height:1.9;color:#72796a}.research ul{padding-left:18px}.research table{border-collapse:collapse;width:100%;font-size:11px;background:white;border-radius:15px;overflow:hidden}.research td,.research th{text-align:left;padding:14px;border-bottom:1px solid var(--line);vertical-align:top}.research th{background:#eaf0de;color:#566246}.research a{color:#5e7844}.research .hero{min-height:180px;margin-bottom:30px}.research .hero-copy{width:100%}.research .hero h2{max-width:600px}.research .hero p{max-width:600px}.research-step{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.research-step .num{font-weight:700;font-size:22px;color:#9bad85}.research-step strong{display:block;font-size:13px}.research-step p{margin-top:5px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f9f8f2}.auth-brand{background:#e6ddf4;padding:60px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;overflow:hidden}.auth-brand .brand{margin-bottom:55px;font-size:45px}.auth-brand h1{font-size:64px;max-width:500px;letter-spacing:-3px;z-index:1}.auth-brand p{font-size:16px;color:#81758e;max-width:390px;margin-top:20px;z-index:1}.auth-brand .hero-art{position:relative;width:100%;height:300px;bottom:auto;right:auto;margin-top:15px;max-width:450px}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:100%;max-width:370px}.auth-box h2{font-size:30px}.auth-box>p{color:var(--muted);font-size:13px;margin:10px 0 30px}.auth-box .btn.full{margin-top:8px;padding:13px}.auth-switch{text-align:center;font-size:12px;margin-top:22px;color:#8b907e}.auth-switch button{color:#5e7a42;font-weight:700}.form-error{font-size:12px;color:#ac4b40;background:#fff0e9;border-radius:10px;padding:10px 14px;margin-bottom:15px}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.boot p{font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);padding:12px 21px;background:#2a3023;color:white;border-radius:12px;z-index:200;font-size:12px;box-shadow:0 5px 20px #0002;opacity:0;pointer-events:none;transition:.2s;max-width:90%;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}.mobile-nav{display:none}.demo-note{font-size:9px;color:#949b84;margin:15px 0 0}.error-state{padding:60px 30px;text-align:center}.error-state p{margin:15px 0;color:var(--muted)}.invite-code{font-family:monospace;background:#f1f3eb;padding:14px;word-break:break-all;border-radius:12px;font-size:13px}.inline-search{display:flex;gap:8px;margin:20px 0}.inline-search input{background:white}.loading{opacity:.6;pointer-events:none}@keyframes pop{0%{transform:scale(.6) rotate(-15deg)}80%{transform:scale(1.1) rotate(5deg)}100%{transform:scale(1)}}
@media(min-width:1500px){.content{padding:37px 48px}.hero{min-height:265px}.hero h2{font-size:41px}.hero-art{width:350px;height:290px}.home-grid{grid-template-columns:minmax(0,1fr) 320px;gap:28px}.ritual-card{min-height:184px}.hero-copy{width:60%}.ritual-card strong{font-size:15px}}
@media(max-width:1180px){.sidebar{width:204px;padding:25px 13px}.layout{grid-template-columns:204px 1fr}.content{padding:26px}.topbar{padding:0 26px}.home-grid{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.hero{padding:24px}.hero h2{font-size:29px}.hero-art{width:250px;right:-65px}.hero-copy{width:75%}.ritual-card{padding:13px;min-height:164px}.ritual-card strong{font-size:11px}.ritual-card small{font-size:9px;max-width:90px}.ritual-card .corner-arrow{right:8px;bottom:10px}.three-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:960px){.home-grid{grid-template-columns:1fr}.right-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.right-col .card+.card{margin-top:0}.right-col .ciro-card,.right-col .mini-card{display:none}.hero-art{right:0;width:310px}.hero-copy{width:60%}.search-shortcut .key{display:none}.hero h2{font-size:32px}.top-actions{gap:9px}.topbar{height:75px}.content{padding:25px}.two-grid{grid-template-columns:1fr}.auth-brand{padding:35px}.auth-brand h1{font-size:48px}.chat-layout{grid-template-columns:175px 1fr}.chat-list{padding:12px 7px}}
@media(max-width:720px){.layout{display:block}.sidebar{display:none}.main{width:100%}.topbar{height:69px;padding:0 19px;background:#fffefb;position:sticky;top:0;z-index:25}.breadcrumbs{font-size:11px;max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.breadcrumbs>.icon,.breadcrumbs>span{display:none}.breadcrumbs:before{content:'ciurmo✳';font-size:25px;font-weight:850;letter-spacing:-1.2px;color:#3a4230;display:block;line-height:1.1}.breadcrumbs strong{font-size:9px;font-weight:500;color:#929885}.search-shortcut{display:none}.top-actions{gap:6px}.top-actions .divider{display:none}.top-actions>.avatar{display:none}.beta{font-size:8px}.content{padding:23px 18px 95px}.welcome-row{align-items:flex-start;gap:8px;margin-bottom:22px}.welcome-row h1{font-size:29px;letter-spacing:-1px}.welcome-row p{font-size:10px;max-width:220px}.welcome-row .btn{font-size:10px;padding:10px}.hero{padding:24px 21px;min-height:237px;border-radius:19px}.hero h2{font-size:30px;max-width:240px}.hero .eyebrow{font-size:8px}.hero p{max-width:190px;font-size:10px}.hero-copy{width:75%}.hero-art{width:245px;right:-76px;bottom:-23px;opacity:.92}.hero-sticker{font-size:7px;top:18px;right:12px;padding:5px 7px}.hero .btn{font-size:10px;position:relative}.section-title{margin-top:25px}.section-title h2{font-size:17px}.section-title .text-btn{font-size:10px}.ritual-grid{gap:8px}.ritual-card{padding:13px 10px;min-height:158px;border-radius:14px}.ritual-card .ritual-art{font-size:35px;height:49px;margin-bottom:15px}.ritual-card strong{font-size:10px;letter-spacing:-.2px;white-space:nowrap}.ritual-card small{font-size:8px;max-width:75px;line-height:1.5}.ritual-card .corner-arrow{height:18px;width:18px;bottom:10px;right:7px}.right-col{gap:12px}.right-col .card{padding:14px}.right-col .world-overview{display:none}.right-col{grid-template-columns:1fr}.right-col .event-card{margin-top:0}.card{padding:17px;border-radius:16px}.poll-question{font-size:15px}.home-grid{gap:18px}.page-head h1{font-size:27px}.page-head p{font-size:11px}.page-head{align-items:flex-start}.page-head>.btn{font-size:10px;padding:9px 11px}.three-grid{grid-template-columns:1fr}.three-grid .ritual-card{min-height:170px;padding:20px}.three-grid .ritual-card strong{font-size:16px}.three-grid .ritual-card small{max-width:none;font-size:11px}.three-grid .ritual-card .ritual-art{position:absolute;right:30px;top:40px;font-size:64px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fffefbf5;backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:8px 8px max(9px,env(safe-area-inset-bottom));z-index:40;justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:8px;color:#939985;min-width:45px;padding:6px 3px;border-radius:10px}.mobile-nav button.active{color:#46642d;background:#edf3e1}.mobile-nav .icon{width:20px;height:20px}.mobile-nav .ciro-mobile{font-size:20px;line-height:20px}.chat-layout{display:flex;flex-direction:column;height:calc(100dvh - 250px);min-height:450px}.chat-list{display:flex;flex-shrink:0;gap:5px;border-right:0;border-bottom:1px solid var(--line);max-height:76px;padding:8px;overflow-x:auto}.chat-list .eyebrow{display:none}.thread{width:auto;flex-shrink:0;padding:8px;gap:6px}.thread small{display:none}.thread .avatar{width:26px;height:26px}.thread strong{font-size:9px;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation{flex:1;min-height:0}.chat-header{padding:12px 15px}.messages{padding:16px;gap:14px}.message{max-width:95%}.bubble{font-size:11px}.message .avatar{width:25px;height:25px;font-size:8px}.composer{margin:9px}.composer .btn{padding:7px 10px}.composer .btn span{display:none}.prompt-grid{grid-template-columns:1fr}.prompt-card{display:flex;gap:10px;align-items:center;padding:12px}.prompt-card span{margin:0}.ciro-intro{padding:22px;gap:14px}.ciro-intro h2{font-size:21px}.ciro-intro p{font-size:11px}.modal{padding:23px;max-height:88dvh}.modal-backdrop{padding:12px}.form-actions{flex-wrap:wrap}.person-row{flex-wrap:wrap}.person-actions{margin-left:auto}.auth-page{grid-template-columns:1fr}.auth-brand{padding:32px 25px 36px;min-height:auto}.auth-brand .brand{font-size:30px;margin-bottom:25px}.auth-brand h1{font-size:40px;max-width:300px;letter-spacing:-1.8px}.auth-brand p{font-size:12px;max-width:260px;margin-top:14px}.auth-brand .hero-art{position:absolute;width:230px;right:-70px;bottom:-30px;opacity:.4}.auth-form{padding:30px 25px}.auth-box h2{font-size:26px}.auth-box>p{margin-bottom:23px}.research table{display:block;overflow:auto}.research .hero h2{font-size:26px}.research .hero-copy{width:100%}.research .hero p{max-width:none}.draw-row{gap:10px}.draw-row h4{font-size:11px}.research td,.research th{padding:11px}.memory-grid{gap:8px}.ciro-intro .ciro-face{width:48px;height:46px;flex-shrink:0}#toast{bottom:95px}.card-top h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Ciurmo 0.3: la compagnia passa dal BOH al piano. */
input,select,textarea{font-size:16px;min-height:44px}.text-btn{min-height:32px}.btn{min-height:44px}.icon-btn{min-width:44px;min-height:44px}.nav-btn{min-height:44px}.person-actions,.world-card-actions,.form-actions{flex-wrap:wrap}.person-text{min-width:0;overflow-wrap:anywhere}.invite-code{overflow-wrap:anywhere;word-break:break-word;user-select:all}.auth-kicker{display:block;font-size:10px;letter-spacing:2px;margin:35px 0 14px;font-weight:750}.auth-brand .hero-art{opacity:.8}.auth-orbits{display:flex;flex-wrap:wrap;gap:10px;position:relative;margin-top:40px;z-index:2}.auth-orbits span{border:1px solid #aa96c24d;background:#fff9;padding:7px 10px;border-radius:20px;font-size:11px}.auth-page .auth-brand h1{position:relative;z-index:2}.boh-teaser{margin-top:20px;display:flex;align-items:center;gap:22px;width:100%;text-align:left;padding:20px 24px;border:1px solid #c9dda9;border-radius:20px;background:var(--lime);position:relative;overflow:hidden}.boh-stamp{display:block;font-size:40px;font-weight:900;letter-spacing:-3px;transform:rotate(-11deg);border:2px solid var(--ink);border-radius:50%;width:105px;height:80px;text-align:center;line-height:76px;flex-shrink:0}.boh-stamp span{font-size:26px;vertical-align:top}.boh-teaser strong{font-size:20px;line-height:1.1;letter-spacing:-.6px}.boh-teaser small{display:block;font-size:11px;margin-top:8px}.teaser-arrow{font-size:40px;margin-left:auto;align-self:flex-start}.planner-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;background:#24271f;color:#f8f6ee;border-radius:28px;padding:36px;margin-bottom:24px;overflow:hidden;position:relative}.planner-hero .eyebrow{color:var(--lime)}.planner-hero h2{font-size:clamp(32px,4.2vw,61px);line-height:1.04;letter-spacing:-2px;margin:22px 0}.planner-hero h2 em{color:var(--lime);font-style:normal}.planner-hero p{font-size:12px;color:#d4d6ca}.planner-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.planner-chips span{padding:7px 11px;border:1px solid #65704a;border-radius:30px;font-size:10px}.orbit-card{position:relative;display:grid;place-items:center;min-height:245px;border:1px dashed #73815e;border-radius:50%;transform:rotate(-8deg);margin:10px}.orbit-card:before,.orbit-card:after{content:'';position:absolute;inset:21px -20px;border:1px solid #d5f28e55;border-radius:50%;transform:rotate(35deg)}.orbit-card:after{inset:0 40px;transform:rotate(-28deg)}.orbit-word{font-weight:900;font-size:64px;line-height:.85;letter-spacing:-5px;text-align:center;color:#e8dcff;z-index:1}.orbit-pin{position:absolute;font-style:normal;font-size:29px;background:#e9defb;border-radius:21px;padding:14px;box-shadow:7px 8px 0 #1116;z-index:2}.orbit-pin.p1{top:-7px;left:10px;transform:rotate(-12deg)}.orbit-pin.p2{right:0;bottom:0;transform:rotate(17deg);background:var(--lime)}.orbit-pin.p3{right:-12px;top:24px;background:#f5c9ac}.orbit-caption{position:absolute;bottom:8px;left:3px;font-size:9px;letter-spacing:.5px;background:#24271f;padding:4px 7px}.planning-grid>section{padding:25px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.taste-fieldset{border:0;padding:0;margin:20px 0}.taste-fieldset legend{font-weight:650;font-size:13px;margin-bottom:10px}.taste-options{display:flex;gap:8px;flex-wrap:wrap}.taste-options label{display:block;cursor:pointer}.taste-options input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.taste-options span{display:block;border:1px solid var(--line);padding:9px 13px;border-radius:30px;font-size:12px;background:#fafbf6}.taste-options input:checked+span{background:var(--lime);border-color:#94b456}.taste-options input:focus-visible+span{outline:3px solid #8863d4;outline-offset:3px}.preference-person{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.preference-person:last-child{border:0}.preference-person p,.preference-person small{font-size:12px;color:var(--muted)}.places-section{margin-top:30px}.place-card{display:flex;align-items:flex-start;gap:12px;flex-direction:column;min-width:0}.place-card h3{font-size:19px}.place-card p{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.place-card .text-btn{margin-top:auto}.place-symbol{font-size:30px}.sponsor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px;margin-top:30px}.sponsor-card{display:flex;flex-direction:column;gap:8px;text-decoration:none;border:1px dashed #b2b4a4;border-radius:18px;padding:19px;background:#f2f1e9}.sponsor-card .eyebrow{font-size:8px;color:#6e725e}.sponsor-card strong{font-size:17px}.sponsor-card p{font-size:12px}.sponsor-card>span:last-child{font-size:11px;margin-top:auto}.admin-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.admin-metrics strong{display:block;font-size:44px;font-weight:800;letter-spacing:-2px;margin-top:10px}.admin-metrics .card:nth-child(2){background:var(--purple)}.admin-metrics .card:nth-child(3){background:var(--lime)}.admin-list{margin-top:18px}.manage-section{padding:20px 0;border-bottom:1px solid var(--line)}.manage-section:last-child{border:0}.manage-section h3{margin-bottom:8px}.plan-card{display:flex;flex-direction:column;align-items:flex-start;gap:20px;min-height:300px;padding:28px}.plan-card:nth-child(2){background:#e8e0f5}.plan-price{font-size:23px;line-height:1.1;letter-spacing:-.5px}.plan-card .chip{margin-top:auto}.ciro-thinking{display:flex;align-items:center;gap:16px}.ciro-thinking .ciro-face{flex-shrink:0;animation:ciro-pulse 1.5s ease-in-out infinite}.owner-activation{max-width:520px;padding:40px 25px;margin:5vh auto}.owner-activation .brand{margin-bottom:35px}.owner-activation h1{margin:18px 0}.owner-activation>p{margin:14px 0 25px}.install-steps p+p{margin-top:18px}.modal{max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain}.modal-backdrop{padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}.check-note input{min-height:20px;width:20px;flex-shrink:0}.check-row input{min-height:18px}.check-note{text-align:left}.check-note span{min-width:0}.chat-messages{overscroll-behavior:contain}.main{overflow-wrap:anywhere}.mobile-nav{padding-bottom:env(safe-area-inset-bottom)}@keyframes ciro-pulse{50%{transform:translateY(-4px) rotate(-5deg)}}
@media(min-width:1000px){.auth-brand{min-height:100vh}.auth-brand .hero-art{right:-50px;bottom:50px;width:440px;height:370px}.auth-orbits{margin-top:70px}}
@media(max-width:1000px){.planner-hero{gap:12px;padding:28px}.planner-hero h2{font-size:40px}.orbit-word{font-size:53px}.orbit-pin{font-size:23px;padding:10px}.two-fields{gap:12px}}
@media(max-width:700px){.content{padding:22px 16px calc(90px + env(safe-area-inset-bottom))}.topbar{padding-left:16px;padding-right:16px}.page-head{flex-wrap:wrap;align-items:flex-start}.page-head h1{font-size:31px}.planner-hero{grid-template-columns:1fr;min-height:440px;padding:25px}.planner-hero h2{font-size:43px;margin:18px 0}.orbit-card{width:220px;min-height:170px;justify-self:end;margin:0 20px -35px 0}.orbit-word{font-size:48px}.orbit-pin.p1{left:-22px}.orbit-pin.p3{right:-30px;top:5px}.orbit-caption{bottom:10px;left:-90px}.two-fields{grid-template-columns:1fr}.boh-teaser{padding:18px;gap:16px}.boh-stamp{font-size:31px;width:80px;height:65px;line-height:60px}.boh-teaser strong{font-size:19px}.boh-teaser small{font-size:10px}.teaser-arrow{font-size:28px}.admin-metrics{gap:8px}.admin-metrics .card{padding:14px 10px}.admin-metrics .eyebrow{font-size:8px;letter-spacing:.6px}.admin-metrics strong{font-size:32px}.auth-orbits{gap:6px;margin-top:20px}.auth-orbits span{font-size:9px;padding:5px 8px}.auth-kicker{margin-top:20px;font-size:9px}.auth-page .auth-brand{padding-bottom:22px}.auth-page .auth-brand h1{font-size:42px}.auth-brand .hero-art{opacity:.4}.ciro-intro{align-items:flex-start}.ciro-intro h2{font-size:24px}.person-row{flex-wrap:wrap}.person-row>.person-text{flex:1;min-width:120px}.person-row>.btn{margin-left:auto}.welcome-row{flex-wrap:wrap}.welcome-row h1{font-size:30px}.form-actions>.btn{white-space:normal;text-align:center}.modal .form-actions{gap:10px}.modal .btn{white-space:normal}.section-title{gap:15px;flex-wrap:wrap}.mobile-nav button{min-height:52px;min-width:44px}.prompt-card{min-height:85px}.planner-chips{gap:5px}.planner-chips span{font-size:9px}.plan-card{min-height:240px}}
@media(max-width:360px){.content{padding-left:12px;padding-right:12px}.auth-form{padding:28px 18px}.auth-page .auth-brand h1{font-size:37px}.planner-hero h2{font-size:36px}.boh-stamp{display:none}.admin-metrics{grid-template-columns:1fr}.admin-metrics strong{font-size:36px}.mobile-nav button{font-size:9px}.hero-copy{width:85%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}

.nickname-strip{display:flex;flex-wrap:wrap;gap:10px}.nickname-proposal{padding:18px 0;border-bottom:1px solid var(--line)}.nickname-proposal .form-actions{margin-top:10px}.notification-item{display:flex;width:100%;text-align:left;gap:13px;padding:16px 12px;border-bottom:1px solid var(--line);border-radius:10px}.notification-item.unread{background:#eef5e2}.notification-item>span:first-child{font-size:25px}.notification-item strong{display:block;font-size:12px}.notification-item small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.notification-list{margin-top:20px}.icon-btn{position:relative}.notification-count{position:absolute;top:0;right:0;background:var(--lime);border:1px solid #b1c38d;font-size:9px;min-width:16px;border-radius:12px;padding:0 3px}.notification-count[hidden]{display:none}

body[data-world-theme="riviera"]{--lime:#f9d392;--purple:#d3e9df;--paper:#faf5ec;--ink:#24413b}body[data-world-theme="arcade"]{--lime:#d8ef6a;--purple:#eed3f3;--paper:#f8f2fa;--ink:#34213c}.world-cover{position:relative;min-height:350px;border-radius:28px;overflow:hidden;background:#16112e;isolation:isolate;display:flex;align-items:center}.world-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#100c2bea 0%,#15102bc9 32%,#17102b12 75%);z-index:-1}.world-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.world-cover-copy{padding:40px;max-width:55%;color:#fff}.world-cover-copy .eyebrow{color:#d5f28e;font-size:9px}.world-cover-copy h2{font-size:clamp(31px,4vw,58px);line-height:1.02;letter-spacing:-1.8px;margin:19px 0;overflow-wrap:anywhere}.world-cover-copy p{font-size:13px;color:#eee5ff}.world-cover-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}.world-cover-meta span{font-size:10px;padding:6px 10px;background:#ffffff19;border:1px solid #ffffff35;border-radius:30px;backdrop-filter:blur(10px)}.world-theme-label{position:absolute;right:20px;bottom:19px;color:#fffd;font-size:8px;letter-spacing:2px}.world-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 10px}.portal{display:flex;flex-direction:column;align-items:flex-start;text-align:left;position:relative;padding:22px;border-radius:20px;border:1px solid #ddd7e7;min-height:215px;overflow:hidden;transition:transform .2s,box-shadow .2s}.portal:hover{transform:translateY(-4px);box-shadow:0 15px 35px #29243c12}.portal.social{background:#eee5ff}.portal.planning{background:#e5f2cc}.portal.playing{background:#ffe6d3}.portal .eyebrow{font-size:8px;letter-spacing:1.4px;margin:12px 0}.portal-symbol{font-size:29px}.portal strong{font-size:23px;letter-spacing:-.7px;line-height:1.12}.portal p{font-size:11px;line-height:1.5;margin-top:9px;max-width:85%;color:#655c70}.portal-arrow{position:absolute;right:19px;top:17px;font-size:28px}.theme-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 25px}.theme-picker label{position:relative;min-width:0;cursor:pointer}.theme-picker input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.theme-picker label>span{display:block;overflow:hidden;border:2px solid transparent;border-radius:12px;background:#f2f2eb;padding:3px}.theme-picker img{width:100%;height:78px;object-fit:cover;border-radius:7px}.theme-picker strong{display:block;font-size:12px;padding:5px}.theme-picker input:checked+span{border-color:#8b6bc5;background:#eee4ff}.theme-picker input:focus-visible+span{outline:3px solid #8863d4;outline-offset:3px}.ciro-card>.ciro-face{margin-bottom:15px}.ciro-card>.eyebrow{font-size:8px;display:block;margin-bottom:8px}@media(max-width:1000px){.world-cover-copy{max-width:63%;padding:30px}.world-cover{min-height:320px}.portal{padding:18px}.portal strong{font-size:21px}}@media(max-width:700px){.world-cover{min-height:400px;border-radius:23px;align-items:flex-end}.world-cover>img{object-position:65% 35%}.world-cover:after{background:linear-gradient(0deg,#100c2bf5 0%,#15102bba 39%,#17102b05 82%)}.world-cover-copy{max-width:100%;padding:25px 24px 45px}.world-cover-copy h2{font-size:37px;max-width:270px}.world-cover-copy p{font-size:12px;max-width:260px}.world-cover-copy .eyebrow{font-size:8px}.world-cover-meta{margin-top:16px}.world-theme-label{bottom:14px;font-size:7px}.world-portals{gap:8px}.portal{min-height:170px;padding:14px 10px}.portal .eyebrow{font-size:6px;letter-spacing:.5px}.portal-symbol{font-size:24px}.portal strong{font-size:16px;line-height:1.12;overflow-wrap:anywhere}.portal p{font-size:9px;max-width:100%}.portal-arrow{font-size:18px;top:8px;right:8px}.theme-picker{gap:6px}.theme-picker img{height:65px}.theme-picker strong{font-size:11px}.world-cover-copy h2{letter-spacing:-1px}}
.sidebar{overflow-x:hidden}.world-switch>span:nth-child(2){min-width:0;flex:1}
@media(max-width:700px){.world-cover{min-height:320px}.world-portals{grid-template-columns:1fr;gap:10px}.portal{min-height:100px;padding:17px 40px 17px 78px;justify-content:center}.portal-symbol{position:absolute;left:20px;top:28px;font-size:30px}.portal .eyebrow{font-size:7px;letter-spacing:1px;margin:0 0 6px}.portal strong{font-size:22px;line-height:1.1}.portal p{font-size:11px;max-width:100%;margin-top:6px}.portal-arrow{right:16px;top:15px;font-size:24px}}

/* Direzione editoriale adulta: gerarchia, contrasto e identità dei mondi. */
:root{--paper:#f3f3ef;--ink:#222823;--muted:#626b62;--lime:#c8e3a5;--purple:#dde2ef;--radius:14px;--shadow:0 5px 20px #17221c06}
body[data-world-theme="riviera"]{--paper:#f4f1ea;--ink:#293c36;--lime:#d8d4ac;--purple:#dbe6df}
body[data-world-theme="arcade"]{--paper:#f1f1f5;--ink:#2b2d3c;--lime:#d3d9a5;--purple:#dfe0f0}
.card,.modal,.btn,.world-switch,.nav-btn,.portal,.planner-hero,.world-cover{border-radius:12px}
h1{font-weight:650;letter-spacing:-1.3px}.eyebrow{letter-spacing:1.5px}.brand{font-weight:750}.brand span{font-size:27px}
.sidebar{background:#202b26;color:#e8eee7;border-right:0}.sidebar .brand span{color:#c8e3a5}.world-switch{background:#ffffff08;border-color:#ffffff1c}.world-switch .world-emoji{background:#ffffff0d}.world-switch small,.user-switch small,.nav-label{color:#a7b3a8}.sidebar .nav-btn,.world-link{color:#bdc8bf}.sidebar .nav-btn.active{background:#d4e5be;color:#243124}.sidebar .nav-btn:hover:not(.active){background:#ffffff0a}.sidebar .side-note{border:1px solid #ffffff20;color:#a8b6aa;border-radius:10px}.sidebar .side-note strong{color:#e0e8dd}.sidebar .user-switch{border-color:#ffffff20}.sidebar .brand{margin-bottom:28px}
.auth-brand{background:#202b26;color:#f1f4eb;isolation:isolate;overflow:hidden}.auth-brand .brand span{color:#c8e3a5}.auth-brand:before{content:'';position:absolute;width:600px;height:600px;border:1px solid #b7cf9c30;border-radius:50%;right:-360px;bottom:-170px;box-shadow:0 0 0 70px #b7cf9c09,0 0 0 140px #b7cf9c06;z-index:-1}.auth-brand .hero-art{display:none}.auth-brand h1{font-size:clamp(44px,4.3vw,72px);font-weight:550;letter-spacing:-2.5px;line-height:1.04}.auth-brand>p{color:#c0ccbe;font-size:17px;line-height:1.65}.auth-kicker{color:#b5c4b2}.auth-orbits{margin-top:70px;gap:12px}.auth-orbits span{background:transparent;border:1px solid #ffffff25;color:#d5dfce;border-radius:5px;font-size:11px}.auth-box h2{font-size:30px;font-weight:600}.auth-box>p{color:#626b62}.auth-form{background:#f3f3ef}
.world-cover{background:#253c33;min-height:290px}.world-cover>img{display:none}.world-cover:after{z-index:-1;inset:-120px -130px auto auto;width:490px;height:490px;border:1px solid #dfedce38;border-radius:50%;background:radial-gradient(circle at 33% 60%,#b6d38925,transparent 65%);box-shadow:0 0 0 65px #d9e7c908,0 0 0 130px #d9e7c905}.world-cover.theme-riviera{background:#514d38}.world-cover.theme-arcade{background:#30314b}.world-cover-copy{max-width:75%;padding:36px}.world-cover-copy h2{font-weight:550;font-size:clamp(34px,4vw,54px)}.world-cover-copy p{color:#dce5d7}.world-cover-copy .eyebrow{color:#c8e3a5}.world-cover-meta span{border-radius:4px;background:#ffffff08;backdrop-filter:none}.world-cover-meta{gap:8px}.world-theme-label{color:#d5dec9}
.portal{background:#fff!important;border:1px solid #dfe3da;min-height:170px;padding:22px}.portal .eyebrow{color:#65715f}.portal strong{font-size:23px;font-weight:600}.portal p{font-size:12px;color:#5c675d}.portal-symbol{font-size:0;width:30px;height:24px}.portal-symbol:after{content:'↗';font-size:25px;color:#587144}.portal-arrow{font-size:22px}.portal:hover{transform:translateY(-2px);box-shadow:0 8px 22px #17221c09;border-color:#9baa90}.portal.planning{border-top:3px solid #819a66}
.planner-hero{background:#e6ebdf}.orbit-card{background:transparent;border:1px solid #a5b397;border-radius:50%;box-shadow:none}.orbit-pin{display:none}.boh-stamp{border-radius:8px;transform:none}.ciro-face{border-radius:10px;box-shadow:none;background:#dce6d1}.ciro-intro{background:#e8ede2}.big-emoji{font-size:28px}.ritual-icon{font-size:23px}.mobile-nav{background:#fafbf7}.theme-picker img{display:none}.theme-picker label>span:before{content:'';display:block;height:55px;background:radial-gradient(ellipse at 80% 100%,#9caf7970,transparent 70%),#253c33}.theme-picker label:nth-child(2)>span:before{background:linear-gradient(135deg,#514d38,#8b8765)}.theme-picker label:nth-child(3)>span:before{background:linear-gradient(135deg,#30314b,#696b8b)}
@media(max-width:700px){.world-cover{min-height:270px;align-items:center}.world-cover-copy{padding:26px 24px 40px;max-width:100%}.world-cover-copy h2{font-size:36px}.world-cover-copy p{max-width:100%}.portal{min-height:100px;padding:18px 38px 18px 62px}.portal-symbol{left:20px;top:30px}.portal strong{font-size:21px}.auth-brand h1{font-size:42px}.auth-orbits{margin-top:25px}.auth-brand:before{width:400px;height:400px;right:-300px}.world-cover:after{right:-300px}.world-portals{gap:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.decision-hub{margin:28px 0 36px}.decision-intro{display:flex;justify-content:space-between;align-items:center;gap:20px}.decision-intro h2{font-size:42px;font-weight:550;letter-spacing:-1.5px;margin:8px 0}.decision-intro p{color:#596652;max-width:480px}.decision-rule{display:flex;gap:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:24px 0;font-size:11px;letter-spacing:.5px;color:#53634d}.decision-empty{padding:28px;border:1px dashed #aab69d;border-radius:12px;background:#e9eee2}.decision-empty strong{font-size:21px;font-weight:550}.decision-empty p{max-width:600px;margin:10px 0 18px;color:#53634d}.decision-card h3{font-size:23px;font-weight:550;margin:12px 0}.decision-card>p{color:#5f6a58;font-size:13px;min-height:40px}.decision-count{color:#62725a;font-size:11px}.decision-progress{height:3px;background:#e8ece3;margin:18px 0}.decision-progress>span{height:100%;display:block;background:#7d9a5c}.planning-tools{margin:30px 0;border-top:1px solid var(--line);padding:22px 0}.planning-tools>summary{cursor:pointer;font-weight:650;font-size:18px;margin-bottom:22px;min-height:44px}.decision-proposal{border:1px solid var(--line);padding:20px;border-radius:10px;margin:20px 0}.decision-proposal legend{font-weight:650;padding:0 8px}.decision-options{display:grid;gap:14px;margin:20px 0}.decision-option{padding:20px;border:1px solid var(--line);border-radius:10px;background:#fafbf7}.decision-option.chosen{border:2px solid #7d9a5c}.decision-option h3{font-size:21px;margin:10px 0}.decision-option>p{margin:8px 0;color:#58634f;font-size:13px;overflow-wrap:anywhere}.decision-option .icon{width:15px;height:15px}.decision-tally{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0;font-size:11px;color:#53634d}.decision-answer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:0;padding:0;margin:0}.decision-answer label{cursor:pointer;position:relative}.decision-answer input{position:absolute;opacity:0;width:1px;height:1px}.decision-answer span{display:block;text-align:center;padding:13px 8px;border:1px solid #cdd6c5;border-radius:7px;background:#fff}.decision-answer input:checked+span{background:#d4e5be;border:2px solid #587144;padding:12px 7px;font-weight:650}.decision-answer input:focus-visible+span{outline:3px solid #6a6d94;outline-offset:3px}.decision-task{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.decision-task>span{min-width:0;overflow-wrap:anywhere}.decision-task small{display:block;color:#62725a;margin-top:5px}.decision-tasks{margin:15px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.decision-intro{align-items:flex-start;flex-direction:column}.decision-intro h2{font-size:36px}.decision-rule{gap:12px;justify-content:space-between;font-size:9px}.decision-empty{padding:22px}.decision-option{padding:16px}.decision-task{align-items:flex-start;flex-direction:column}.decision-proposal{padding:16px}.decision-card h3{font-size:22px}}
.message-tools{font-size:20px;line-height:1;padding:8px;min-width:40px;min-height:40px;color:#64705c;border-radius:8px}.message-tools:hover{background:#e7ecdf}.message-person{font-weight:650;padding:0;text-align:left}.case-card{padding:22px 0;border-bottom:1px solid var(--line)}.case-card h3{margin:12px 0 8px}.case-card>p{margin:9px 0}.case-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f3e9;padding:16px;border-left:3px solid #9cad86;max-height:240px;overflow:auto;margin:18px 0}
.recovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px 0}.recovery-grid code{display:block;border:1px solid var(--line);background:#f3f5ec;padding:13px 10px;border-radius:7px;font-size:11px;overflow-wrap:anywhere}.profile-security-actions{margin:0 0 25px}.account-recover-link{margin:18px 0 0;font-size:12px;min-height:44px;text-align:left}@media(max-width:700px){.recovery-grid{grid-template-columns:1fr}.recovery-grid code{font-size:12px}.profile-security-actions>.btn{flex:1 1 auto}}

/* Sala giochi dal vivo */
.party-panel{margin:0 0 24px;padding:clamp(18px,3vw,32px);background:#e9eee2;border-color:#d5dfcc}
.party-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.party-heading h2{font-size:clamp(30px,5vw,47px);font-weight:570;letter-spacing:-1.6px;line-height:1.05;margin-top:7px}
.party-heading .eyebrow,.party-detail,.party-round-head{color:#4c5e46}
.party-mark{flex:0 0 auto;width:62px;height:62px;border:1px solid #779069;border-radius:50%;display:grid;place-items:center;background:#dbe6d0}
.party-mark::before,.party-mark::after{content:'';grid-area:1/1;border:1px solid #779069;border-radius:50%;width:77%;height:42%;transform:rotate(-28deg)}
.party-mark::after{transform:rotate(28deg)}
.party-panel h3{font-size:clamp(22px,4vw,32px);line-height:1.15;margin:8px 0 14px}
.party-detail{margin:10px 0 15px;max-width:62ch}
.party-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 0}
.party-panel .btn{min-height:44px}
.party-panel button:disabled{cursor:default;opacity:.65}
.party-panel button.lime:disabled{opacity:1}
.party-room-list,.party-player-list,.party-tally{list-style:none;margin:10px 0 18px;padding:0}
.party-room-list li,.party-player-list li{display:flex;gap:12px;align-items:center;padding:9px 0;border-top:1px solid #cdd8c6;min-height:52px}
.party-room-list li>div,.party-player-list li>span:not(.avatar){flex:1;min-width:0;overflow-wrap:anywhere}
.party-room-list small,.party-score span{display:block;margin-top:4px;color:#4c5e46}
.party-player-list li>strong{font-size:.8rem}
.party-round-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.86rem;font-weight:650;font-variant-numeric:tabular-nums}
.party-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.party-options .btn{justify-content:flex-start;text-align:left;white-space:normal;background:#f9fbf5}
.party-options .btn.lime{background:#c8e3a5}
.party-tally li{display:grid;grid-template-columns:minmax(0,1fr) minmax(50px,32%) 24px;gap:8px;align-items:center;margin:9px 0}
.party-tally meter{width:100%;accent-color:#4c6e36}
.party-score{font-size:clamp(26px,4vw,42px);font-weight:650;line-height:1.15;margin:12px 0 18px}
.party-score span{font-size:1rem;font-weight:500}
.party-round{border-top:1px solid #cdd8c6;padding:10px 0}
.party-round summary{cursor:pointer;padding:6px 0;min-height:36px}
.party-warning{margin-top:8px;color:#862b26}
.party-warning:empty{display:none}
@media(max-width:540px){.party-options{grid-template-columns:1fr}.party-mark{width:48px;height:48px}}

/* Bacheche di Viarlo */
.feed-entry{display:flex;margin:15px 0 0}
.feed-tabs,.feed-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.feed-tabs{margin:0 0 18px}
.feed-tabs .btn,.feed-actions .btn{min-height:44px}
.feed-summary{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:0 0 14px;background:#e9eee2}
.feed-summary h2{font-size:clamp(23px,4vw,32px);line-height:1.15;margin:0 0 7px}
.feed-note,.feed-meta{color:#536353;font-size:.86rem;line-height:1.5}
.feed-stack{display:grid;gap:12px;margin-bottom:16px}
.feed-post header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.feed-post header strong,.feed-post blockquote strong{font-size:1.03rem}
.feed-post header small,.feed-post blockquote small{display:block;color:#536353}
.feed-meta{text-align:right}
.feed-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:14px 0}
.feed-post blockquote{border:1px solid #d4decb;border-left:3px solid #879d73;background:#f3f6ee;border-radius:7px;margin:8px 0 14px;padding:13px 16px}
.feed-post blockquote .feed-text{margin-bottom:0}
.feed-post>.feed-note{margin-top:12px}
.feed-actions .btn{white-space:normal;text-align:left}
@media(max-width:650px){.feed-summary{align-items:flex-start;flex-direction:column;gap:10px}.feed-tabs{gap:6px}.feed-tabs .btn{padding-inline:10px}.feed-post header{font-size:.9rem}}
.feed-photo,.case-photo{display:block;max-width:100%;width:auto;height:auto;max-height:560px;object-fit:contain;border-radius:9px;margin:10px 0 14px;background:#edf0e9}
.feed-photo-preview{display:block;width:auto;max-width:100%;height:auto;max-height:220px;object-fit:contain;border-radius:8px;margin:0 0 8px}
#feed-photo-preview[hidden],#feed-alt-field[hidden]{display:none}
#feed-photo-status{margin:6px 0 12px}
#feed-photo-status:empty{display:none}
.invite-context{display:grid;gap:6px;margin-top:16px;padding:12px 14px;border-radius:8px;background:#e2ead8;color:#2c432b;overflow-wrap:anywhere}
.invite-context strong{font-size:1.12rem}
.auth-switch button[data-action="dismiss-world-invite"]{display:block;margin:6px auto 0;font-size:.82rem}
.album-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
.album-photo-card .feed-photo{margin-top:0;max-height:410px}
.album-photo-card .feed-note{display:block}
.album-tile h3{margin:8px 0;font-size:1.3rem;overflow-wrap:anywhere}
.album-tile .feed-note,.album-photo-card .feed-actions{margin-top:8px}
@media(max-width:650px){.album-photos{grid-template-columns:1fr}}
.decision-move{margin:8px 0 18px;padding:18px;border:1px solid #c7d4bb;border-radius:10px;background:#eaf0e3}
.decision-move h3{font-size:21px;margin:6px 0}
.decision-move p{margin:0 0 8px;color:#415440}
.decision-move strong{display:block;overflow-wrap:anywhere}
.event-diary-link{margin-top:12px}
.evening-grid{display:grid;gap:10px}
.evening-grid section{background:#f6f8f2}
.evening-grid h3{margin:6px 0;font-size:20px}
.evening-grid .feed-actions,.evening-grid .btn{margin-top:8px}
.feed-clip{margin:10px 0 14px}
.feed-clip video{display:block;max-width:100%;width:auto;height:auto;max-height:520px;background:#202b26;border-radius:9px}
.feed-clip figcaption{margin-top:7px;color:#536353;font-size:.86rem;overflow-wrap:anywhere}
#feed-clip-field[hidden],#feed-clip-status:empty{display:none}
#feed-clip-status{overflow-wrap:anywhere;margin-bottom:10px}
.evening-share{margin:0 0 14px}

.auth-error{margin:8px 0 12px;color:#862b26;font-weight:600;font-size:.9rem;line-height:1.45}
.auth-error:empty{display:none}

.chat-header>.btn{margin-left:auto;min-height:44px}
.chat-quote{display:block;text-align:left;width:100%;padding:6px 9px;margin:3px 0;border-radius:5px;border-left:3px solid #829871;background:#ecf1e5;font-size:.8rem;color:#334430}
.chat-quote strong,.chat-quote span,.chat-reply-bar strong,.chat-reply-bar span{display:block;overflow-wrap:anywhere}
.chat-reply-bar:not(:empty),.chat-archive-bar{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 12px;border-top:1px solid var(--line);font-size:.82rem}
.chat-reply-bar>div{min-width:0}.chat-reply-bar button{min-width:44px;min-height:44px;font-size:1.15rem}
.chat-found .bubble{outline:2px solid #7d936a}
.chat-search-result{display:block;width:100%;text-align:left;border-bottom:1px solid var(--line);padding:12px 6px;min-height:44px}
.chat-search-result span{display:block;margin-top:4px;color:#435545;overflow-wrap:anywhere;white-space:pre-wrap}
.chat-search-result:hover{background:#f0f4ea}
#chat-search-results{margin-top:12px}
