/* KOERIUM v2.7.6 — nostalgic Japanese voice-community theme.
   All application behavior remains in the original PHP/JS. */
:root{--bg:#f0f0e8;--bg2:#fff;--card:#fff;--card2:#f6f7f2;--card3:#edf2e2;--ink:#242424;--muted:#666;--line:#cbd4b7;--line-strong:#86b638;--blue:#669a16;--blue2:#b5df4a;--violet:#789e26;--pink:#f4aa28;--cyan:#9ad8d2;--shadow:0 2px 0 rgba(50,65,23,.09);--shadow-soft:0 2px 4px rgba(30,40,10,.07);--glow:none;color-scheme:light}
*,*::before,*::after{scrollbar-color:#b6c6a2 #fafaf6}
html{background:#e8eadf}body{color:#242424;background:#e8eadf;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,Arial,sans-serif}button,input,textarea,select{color-scheme:light}a{color:#547d18}a:hover{color:#2d5600} .shell{display:flex!important;flex-direction:column!important;max-width:1230px;margin:0 auto;background:#fff;min-height:100vh;border-left:1px solid #c9cfc0;border-right:1px solid #c9cfc0;box-shadow:0 0 14px rgba(47,56,19,.14)}
/* Lime masthead and the compact black sitewide menu. */
.sidebar{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;max-height:none!important;padding:0!important;overflow:visible!important;background:#b7e448!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;z-index:20}
.sidebar:before{display:none}.brand{min-height:85px;display:flex;align-items:center;align-self:flex-start;margin:0;padding:13px 20px!important;gap:12px;color:#1c2710!important}.brand b{font-family:Arial,sans-serif;font-weight:900;font-size:35px;letter-spacing:-.055em;color:#24321c!important;line-height:1}.brand small{font-size:12px;color:#426618!important;letter-spacing:.06em}.brandWave{width:50px;height:50px;border-radius:50%;background:#faffef;border:3px solid #26341b;display:flex;align-items:center;justify-content:center;gap:2px;box-shadow:3px 3px 0 rgba(0,0,0,.13)}.brandWave i{background:linear-gradient(#4a8822,#264f1e)!important;box-shadow:none!important}
.sidebar nav{width:100%;display:flex!important;flex-direction:row!important;align-items:stretch;flex-wrap:wrap;gap:0!important;background:linear-gradient(#353535,#151515);border-top:1px solid #5b5b5b;border-bottom:3px solid #82af20;min-height:42px;padding:0 8px}.sidebar nav a{display:inline-flex!important;align-items:center;gap:5px!important;white-space:nowrap;border-radius:0!important;border:0!important;border-right:1px solid #4a4a4a!important;background:transparent!important;color:#fff!important;font-size:12px!important;font-weight:800;padding:11px 12px!important;box-shadow:none!important;min-height:38px}.sidebar nav a:hover{background:#5e8019!important;color:#fff!important}.sidebar nav a.active{background:linear-gradient(#739d27,#486b0d)!important;color:#fff!important}.sidebar nav a.voiceNav{background:linear-gradient(#f2cc42,#d88a0a)!important;color:#2d260c!important;border-right:1px solid #a97817!important;box-shadow:none!important}.sidebar nav a svg{width:14px;height:14px}.sidebar nav .navLabel,.sidebar .sideFoot{display:none!important}.contentShell{width:100%;min-width:0}.topbar{height:49px!important;background:#f4f7e8!important;border-bottom:1px solid #cad3ad!important;backdrop-filter:none!important;padding:5px 14px;box-shadow:inset 0 1px #fff}.topbar .mobileBrand{display:none!important}.globalSearch{height:34px;background:#fff!important;border:1px solid #bdc5b0!important;border-radius:3px!important;box-shadow:inset 0 1px 2px #eee!important}.globalSearch input{color:#333!important}.globalSearch input::placeholder,.globalSearch .ico{color:#858585!important}.roundBtn,.loginMini{background:#fff!important;border:1px solid #cbd3bb!important;border-radius:4px;color:#444!important}.topUser{color:#273119!important}.topAvatar{border:2px solid #a8c363!important}
.main{max-width:none!important;width:100%;padding:17px 18px 45px!important;background:#fff!important}.pageHead{padding:12px 0 18px;max-width:none}.pageHead>span{color:#749f2a!important;text-shadow:none}.pageHead h1{color:#242b16;font-size:27px;letter-spacing:0}.pageHead p{color:#6b6b6b}.sectionHead{margin-top:18px;margin-bottom:8px;border-bottom:3px solid #b2d951;padding-bottom:6px}.sectionHead h2{color:#2b2b2b!important;font-size:18px!important;font-weight:900}.sectionHead a{color:#4f7814!important}.footer,.footerLinks a{color:#656565!important}.footer{border-top:1px solid #ddd}
/* Classic dense KOEBU homepage layout */
.homeGrid{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:15px}.homeMain{min-width:0}.welcome{display:flex;min-height:218px!important;border-radius:0!important;border:3px solid #8db83a!important;background:linear-gradient(105deg,#faffee 0%,#f2f8d6 48%,#e6efc5 100%)!important;box-shadow:none!important}.welcome:before,.welcome:after{display:none!important}.welcomeCopy{width:57%;padding:19px 21px!important;z-index:2}.welcomeCopy>span{display:inline-block;color:#577d1c!important;font-size:10px!important;font-weight:900;letter-spacing:.07em!important}.welcomeCopy h1{font-size:clamp(27px,3vw,42px)!important;line-height:1.14!important;color:#2c3d10!important;margin:9px 0 10px!important;letter-spacing:-.035em!important;text-shadow:none!important}.welcomeCopy h1 em{background:none!important;-webkit-text-fill-color:#72a41c;color:#72a41c!important}.welcomeCopy p{color:#555!important;font-size:12px!important;line-height:1.7!important;max-width:410px}.welcomeActions{gap:7px;margin-top:13px!important}.welcomeActions .btn,.welcomeActions .btnGhost{font-size:12px}.welcomeWave{display:none}.welcomePortrait{position:relative;min-height:218px!important;width:43%;background:#d7eab2;overflow:hidden}.welcomePortrait img{position:absolute;inset:0!important;height:100%!important;width:100%!important;max-width:none!important;object-fit:cover;object-position:center 27%;filter:saturate(.9)!important;opacity:1!important;mask-image:none!important;-webkit-mask-image:none!important}.welcomePortrait:after{display:none!important}.quickActions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:12px 0!important}.quickActions a{display:flex;align-items:center;gap:9px;background:linear-gradient(#d6ef83,#a4cc3e)!important;border:1px solid #8eae37!important;border-radius:5px!important;padding:9px!important;box-shadow:inset 0 1px rgba(255,255,255,.75),0 2px 0 #7e9e26!important;color:#263913}.quickActions a:hover{transform:none!important;background:linear-gradient(#e0f5a1,#b8db58)!important}.quickActions span{display:flex;flex:none;width:33px!important;height:33px!important;border-radius:4px!important;background:linear-gradient(#f5ffe2,#d9ebae)!important;border:1px solid #a6c66d!important;color:#587e21!important;box-shadow:none!important}.quickActions span svg{width:19px;height:19px}.quickActions b{margin:0!important;color:#2c3b1b!important;font-size:12px!important}.quickActions small{color:#5a672f!important;font-size:10px!important}.feedTabs{display:flex;flex-wrap:wrap;gap:2px!important;padding:8px 0!important}.feedTabs a{border:1px solid #9cab7c!important;border-radius:3px!important;background:#eee!important;color:#333!important;padding:6px 10px;font-size:11px;font-weight:800}.feedTabs a.active,.feedTabs a:hover{background:#bce158!important;color:#28400b!important;border-color:#89af2e!important}
.btn,.btnGhost,.btnDanger{min-height:30px!important;padding:6px 13px!important;border-radius:4px!important;font-size:12px!important;letter-spacing:0!important;font-weight:800!important}.btn{background:linear-gradient(#d2eb7a,#92bd2f)!important;border:1px solid #7ca421!important;color:#263a0f!important;box-shadow:inset 0 1px rgba(255,255,255,.7),0 1px 1px rgba(0,0,0,.11)!important}.btn:hover{background:linear-gradient(#e0f4a1,#a2d63c)!important;transform:none!important}.btnGhost{background:linear-gradient(#fff,#e9e9e9)!important;border:1px solid #aaa!important;color:#353535!important}.btnGhost:hover{background:#fff!important;border-color:#659825!important;color:#304d0d!important}.btnDanger{background:#b34d38!important;color:#fff!important;border-color:#8e3523!important}
.voiceCard,.simpleCard,.topicCard,.railCard,.formCard,.portfolioHeader,.portfolioItem,.giftOwned,.giftCard,.giftReveal,.articleList .simpleCard,.authCard,.adminPanel,.insightStats>div,.stat{background:#fff!important;border:1px solid #cbd4b7!important;border-radius:3px!important;box-shadow:0 1px 2px rgba(41,51,22,.08)!important;color:#333!important}.voiceCard{padding:12px!important;margin:8px 0}.voiceCard:before{display:none}.voiceCard:hover,.simpleCard:hover,.topicCard:hover{transform:none!important;border-color:#88b439!important}.voiceMeta b,.voiceTitle,.simpleCard h3,.topicCard h3,.railCard h3,.miniItem b{color:#252525!important}.voiceMeta small,.voiceCard p,.simpleCard p,.topicCard p,.railCard p,.miniItem small{color:#666!important}.avatar,.avatarFallback{color:#416d19!important;background:#e6f0d0!important;border:1px solid #adcb77!important;box-shadow:none!important}.koePlayer{border:1px solid #b5b5b5!important;background:linear-gradient(#f6f6f6,#dedede)!important;border-radius:3px!important;padding:8px!important}.koePlay{border:1px solid #333!important;background:linear-gradient(#454545,#111)!important;border-radius:3px!important;box-shadow:none!important;color:#fff!important}.timeLine,.voiceActions a,.voiceActions span{color:#555!important}.voiceTags span,.chip,.privacyBadge{background:#edf6d6!important;border:1px solid #c3d6a2!important;color:#547b1c!important;border-radius:3px!important}.empty{border:1px dashed #c3c8b6!important;background:#fafcf5!important;border-radius:3px!important;color:#777!important;padding:22px}.notice,.noticeBar{border:1px solid #ceddb7!important;background:#f4f9e8!important;color:#52673b!important}.noticeBar a{color:#465e18!important}.listRow{background:#fff!important;border-color:#ddd!important}.listRow b{color:#333!important}.recordBox{background:#f9faf7!important;border-color:#c8d1be!important}.field label{color:#444!important}.field input,.field textarea,.field select,.adminSearch input,.stackItem input,.stackItem textarea,.chatComposer textarea{background:#fff!important;color:#222!important;border:1px solid #bfc8b6!important;border-radius:3px!important}.field input::placeholder,.field textarea::placeholder{color:#888!important}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8dbb31!important;box-shadow:0 0 0 2px rgba(142,187,49,.15)!important}
.rail{display:flex!important;flex-direction:column;gap:10px;position:static!important}.railCard{padding:10px!important;margin:0!important;overflow:hidden}.railCover{height:80px;background:linear-gradient(135deg,rgba(194,228,101,.5),rgba(255,255,255,.2)),url('koerium-portrait.png') center 30%/cover!important;border-radius:0!important;filter:none!important}.railAvatar{margin-top:-19px}.railCard h3{font-size:15px!important}.railCard .sectionHead{margin:0 0 8px}.miniList{gap:5px}.miniItem{padding:7px!important;border-radius:2px!important;border:1px solid #dce5cb!important;background:#f8faef!important}.miniItem strong{border:1px solid #aac780!important;color:#426a17!important;background:#e8f2cf!important}.promoCard{min-height:0!important;background:#dcec9b!important}.promoCard h3{font-size:18px!important;color:#34420b!important}.promoCard p{color:#47532c!important}.promoCard .promoInner{gap:7px!important}
/* Voice-room / radio-room panel references: bars, participants, light side and dark transcript */
.liveEventHero,.liveEventCard,.portalHero{background:#f8fbe8!important;border:1px solid #a9c66f!important;border-radius:3px!important;color:#263518!important}.liveEventCard h3,.liveEventHero h1,.portalHero h1{color:#24381c!important}.liveStage,.liveRoom{background:#f5f5ee!important;border:1px solid #c7c8bb!important;border-radius:3px!important;box-shadow:none!important;color:#252525!important}.liveStageHead{border-bottom:4px solid #eac323;padding-bottom:9px}.liveStageHead h1,.liveRoom h1{color:#222!important}.livePeople{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.livePerson{background:#fff!important;border:1px solid #cfd4c2!important;border-radius:3px!important;min-height:100px!important;color:#333!important}.livePersonMain small{color:#777!important}.livePersonTools button,.liveRequest button,.liveReactionButtons button{background:#eceee5!important;border:1px solid #aab6a1!important;border-radius:3px!important;color:#333!important}.liveChat{background:#181818!important;color:#eee!important;border:1px solid #4c4c4c!important;border-radius:3px!important}.liveChat h3{color:#fff!important}.liveChatItem b{color:#a3d954!important}.liveChatItem time{color:#aaa!important}.liveChat form input{background:#fff!important;color:#222!important;border:1px solid #888!important;border-radius:2px!important}.liveChat form button{background:#a7d145!important;color:#263b10!important;border-radius:2px!important}.liveReact{background:#fff!important;color:#333!important;border:1px solid #cdd2bd!important;border-radius:3px!important}.liveCommunity{grid-template-columns:minmax(0,1fr) 210px}
/* Other screens inherit clean, functional light-theme UI */
.profileHero,.profileDetail,.profileLinks a,.insightStats>div,.stat,.projectColumn,.taskCard,.audioEditor,.adminTabs a,.checkList a,.checkGrid label,.chatShell,.chatHeader,.chatComposer,.notification,.authVisual,.authForms,.authSwitch,.giftCode{background:#fff!important;border-color:#c7d2b5!important;color:#333!important;box-shadow:none!important}.profileCover{background:linear-gradient(100deg,rgba(163,216,71,.55),rgba(238,248,198,.2)),url('koerium-portrait.png') center 30%/cover!important}.profileBody h1,.profileStats b,.profileDetail b,.adminPanel h2,.authCopy h1,.authCard h2{color:#333!important}.profileHandle,.profileBio,.profileStats a,.profileStats span,.profileDetail p,.authCopy p{color:#666!important}.adminTabs a{border:1px solid #c6cdb9!important;border-radius:3px!important;color:#444!important}.adminTabs a.active{background:#b4dc57!important;color:#263c11!important}.table th{background:#eff4e3!important;color:#4d5b3c!important}.table td{color:#333!important}.chatBody{background:#f7f7f2!important}.bubble{background:#fff!important;color:#333!important;border:1px solid #d6d6d6!important}.bubbleRow.mine .bubble{background:#deefb5!important;color:#273c17!important}.authVisual{background:#daed9d!important}.authVisual img{filter:saturate(.95)!important}.authCopy span{color:#47691c!important}.authSwitch button.active{background:#bce264!important;color:#233a12!important}
.mobileNav{background:#f5f9e9!important;border-top:2px solid #a7c852!important}.mobileNav a{color:#4f6a2b!important}.mobileNav a.active{color:#263d0d!important}.mobileNav .post{background:linear-gradient(#d5ef86,#9ccc36)!important;color:#23400d!important;box-shadow:none!important}
@media(max-width:1020px){.sidebar nav a{padding:9px 10px!important;font-size:11px!important}.homeGrid{grid-template-columns:minmax(0,1fr) 225px}.quickActions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.shell{width:100%;display:block!important}.sidebar{display:flex!important}.sidebar .brand{min-height:66px;padding:10px 14px!important}.brand b{font-size:28px}.brandWave{width:43px;height:43px}.sidebar nav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin;padding:0 3px}.sidebar nav a{flex:0 0 auto;padding:9px 10px!important}.topbar{height:50px!important;padding:5px 8px!important}.topbar .mobileBrand{display:none!important}.main{padding:12px 10px 88px!important}.homeGrid{grid-template-columns:1fr}.rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{min-height:0!important}.welcomeCopy{padding:16px!important;width:60%}.welcomeCopy h1{font-size:30px!important}.welcomeCopy p{font-size:11px!important}.welcomePortrait{min-height:190px!important;width:40%}.quickActions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mobileNav{display:flex!important}}
@media(max-width:470px){.welcome{display:block}.welcomeCopy{width:100%}.welcomePortrait{width:100%;height:125px;min-height:125px!important}.welcomePortrait img{object-position:center 30%}.rail{grid-template-columns:1fr}.quickActions a{padding:7px!important}.quickActions b{font-size:11px!important}.quickActions small{font-size:9px!important}.livePeople{grid-template-columns:repeat(2,minmax(0,1fr))}.liveCommunity{grid-template-columns:1fr}}


/* v2.7.9.1 usability tweaks */
.voiceDetailActions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #d9dfc9}.voiceDeleteForm{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0}.voiceDeleteForm .btnDanger{background:linear-gradient(#d9654f,#a33c29)!important;border:1px solid #822a1c!important;box-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 1px 2px rgba(0,0,0,.15)!important;min-width:170px}.voiceDeleteForm .btnDanger:hover{background:linear-gradient(#e57863,#b84531)!important}.voiceDeleteForm small{font-size:11px;color:#8b4a3c;line-height:1.4}.voiceReportLink{display:flex;align-items:center;min-height:30px}.voiceReportLink a{font-size:12px;text-decoration:underline}.profileHeroMine{border-radius:22px!important}.profileHeroMine .profileCover,.profileCoverMuted{height:76px!important;background:linear-gradient(180deg,rgba(203,222,153,.85),rgba(240,246,223,.95))!important;border-bottom:1px solid #d6e1bd}.profileHeroMine .profileCover:after,.profileCoverMuted:after{display:none!important}.profileHeroMine .profileAvatarWrap{margin-top:-34px!important}.profileHeroMine .profileActions{align-items:flex-start;flex-wrap:wrap;row-gap:8px}.profileHeroMine .profileBody{padding-bottom:18px!important}.profileHeroMine .profileSubActions{margin-top:10px}.profileHeroMine .profileBio{margin-top:8px}.profileHeroMine .profileHandle,.profileHeroMine .profilePresence{position:relative;z-index:1}@media(max-width:640px){.voiceDetailActions{flex-direction:column;align-items:stretch}.voiceDeleteForm .btnDanger,.voiceDetailActions form,.voiceReportLink{width:100%}.profileHeroMine .profileCover,.profileCoverMuted{height:58px!important}.profileHeroMine .profileAvatarWrap{margin-top:-26px!important}}

/* KOERIUM v2.8.4.2 ブロック管理 */
.blockManagePage{font-size:13px}.blockManageHeading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.blockManageHeading h1{margin:0 0 5px;font-size:25px}.blockManageHeading p{color:#67725c;margin:0}.blockManageList{background:#fff;border:1px solid #cad7b3;border-radius:6px;overflow:hidden;margin-top:14px}.blockManageRow{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border-bottom:1px solid #e4ead8}.blockManageRow:last-child{border-bottom:0}.blockManagePerson{display:flex;align-items:center;gap:10px;min-width:0}.blockManagePerson .avatar,.blockManagePerson .avatarFallback{width:44px;height:44px;flex:0 0 44px}.blockManagePerson b{display:block;font-size:14px;overflow-wrap:anywhere}.blockManagePerson small{display:block;color:#69735c;margin-top:4px}.blockUnblockButton{white-space:nowrap!important;border:1px solid #a66d5a!important;color:#873d28!important}.blockUnblockButton:hover{background:#fff4f0!important}.blockManageRow form{margin:0}@media(max-width:480px){.blockManageRow{align-items:flex-start}.blockUnblockButton{font-size:11px!important;padding:7px!important}}
