/* LWVlife App - "우리 목소리 / Our Voices" (GitHub #186, Karl 2026-11-01). Loaded after home3d.css.
   Home top row = three equal columns: 정기 뉴스 (yellow, unchanged look) | 우리 목소리 (light sky blue, RECESSED) | 긴급 911 (red, unchanged).
   Only #ov-homebtn and #h3-top.ov3 are styled here; the other home buttons keep their raised home3d.css look. */

/* ---------- top row: 3 equal columns ---------- */
#s-home.h3 #h3-top.ov3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#h3-top.ov3>*{min-width:0}
#h3-top.ov3 .a5-gmbox,#h3-top.ov3 .a5-gm,#h3-top.ov3>a.emg,#h3-top.ov3>#ov-homebtn{min-height:68px!important;height:100%;box-sizing:border-box}
#h3-top.ov3 .a5-gm.a5-gm-t{gap:6px;padding:6px 8px!important;justify-content:center}
#h3-top.ov3 .a5-gm.a5-gm-t .sun{font-size:min(1.5rem,6.4vw)!important}
#h3-top.ov3 .a5-gm.a5-gm-t b{font-size:min(1.08rem,4.3vw);line-height:1.15;white-space:normal;word-break:keep-all;overflow-wrap:normal}
#h3-top.ov3>a.emg{padding:6px 6px!important}

/* ---------- the Our Voices button: sky blue, sunk into the surface ---------- */
#s-home #h3-top #ov-homebtn{
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:min(6px,1.6vw);
  margin:0;padding:6px min(8px,2vw);border:0;border-radius:14px;cursor:pointer;font:inherit;text-align:left;
  background:linear-gradient(180deg,#9fd3f2 0%,#b8e1f8 55%,#c8e9fb 100%);color:#08324f;
  box-shadow:
    inset 0 0 0 1px rgba(8,50,80,.22),        /* thin rim */
    inset 0 4px 7px rgba(8,50,80,.34),        /* dark inner shadow at the top: the surface casts it */
    inset 3px 0 5px rgba(8,50,80,.14),        /* left inner shadow */
    inset 0 -3px 3px rgba(255,255,255,.75),   /* light catch at the inner bottom edge */
    inset -2px 0 3px rgba(255,255,255,.45),   /* light catch at the right */
    0 1px 0 rgba(255,255,255,.9) !important;  /* light lip under the hollow */
  text-shadow:none;transition:box-shadow .12s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent}
#s-home #h3-top #ov-homebtn:active{transform:translateY(1px);
  box-shadow:inset 0 0 0 1px rgba(8,50,80,.3),inset 0 6px 10px rgba(8,50,80,.42),inset 3px 0 6px rgba(8,50,80,.2),inset 0 -2px 2px rgba(255,255,255,.6),0 1px 0 rgba(255,255,255,.9)!important}
#s-home #h3-top #ov-homebtn:focus-visible{outline:4px solid #ffb300;outline-offset:2px}
#ov-homebtn .ov-ic{flex:none;width:min(44px,10.8vw);height:auto;overflow:visible}
#ov-homebtn .ov-b1,#ov-homebtn .ov-b2{fill:#fff;stroke:#0b4a73;stroke-width:2.6;stroke-linejoin:round}
#ov-homebtn .ov-b2{fill:#f2fbff}
#ov-homebtn .ov-d{fill:#0b4a73;transform-box:fill-box;transform-origin:center}
#ov-homebtn .ov-lbl{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;line-height:1.05}
#ov-homebtn .ov-l1{font-size:min(.95rem,3.7vw);font-weight:700;white-space:nowrap}
#ov-homebtn .ov-l2{font-size:min(1.3rem,4.8vw);font-weight:900;white-space:nowrap;letter-spacing:-.01em}
html[lang^="en"] #ov-homebtn .ov-l2{font-size:min(1.12rem,4.5vw)}

/* three dots light up one after another (typing rhythm), then rest; no sound, the button itself never moves */
@keyframes ovDot{0%,62%,100%{transform:scale(1);fill:#0b4a73}12%{transform:scale(1.38);fill:#0aa3e6}24%{transform:scale(1);fill:#0b4a73}}
#ov-homebtn .ov-d{animation:ovDot 2.6s ease-in-out infinite}
#ov-homebtn .ov-d2{animation-delay:.28s}
#ov-homebtn .ov-d3{animation-delay:.56s}
#ov-homebtn.ov-off .ov-d,html.ov-hidden #ov-homebtn .ov-d,html.ov-open #ov-homebtn .ov-d{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){#ov-homebtn .ov-d{animation:none}}

/* large text / very narrow phones: News and Our Voices side by side, 911 a full-width row below (always one tap) */
html.bigfs #s-home.h3 #h3-top.ov3{grid-template-columns:repeat(2,minmax(0,1fr))}
html.bigfs #h3-top.ov3>a.emg{grid-column:1/-1}
@media (max-width:339px){#s-home.h3 #h3-top.ov3{grid-template-columns:repeat(2,minmax(0,1fr))}#h3-top.ov3>a.emg{grid-column:1/-1}}

/* ---------- hub page ---------- */
.ov-page{position:fixed;inset:0;z-index:2350;background:#f4f8fc;overflow-y:auto;-webkit-overflow-scrolling:touch;color:#14223a;font-size:1.05rem}
.ov-page[hidden]{display:none}
html.ov-open,html.ov-open body{overflow:hidden}
.ov-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:10px 12px;background:#0b4a73;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.ov-top h2{margin:0;font-size:1.25rem;line-height:1.2;outline:none}
.ov-back{flex:none;min-height:48px;padding:0 14px;border:2px solid #fff;border-radius:12px;background:transparent;color:#fff;font-weight:800;font-size:1rem;cursor:pointer}
.ov-body{max-width:640px;margin:0 auto;padding:12px 14px 40px}
.ov-sub{margin:4px 0 12px;line-height:1.5;color:#2a3a52}
.ov-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ov-tile{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:96px;padding:12px;border:2px solid #b9d9ee;border-radius:16px;background:#fff;color:#0b2d4a;text-align:left;cursor:pointer;font:inherit;box-shadow:0 2px 6px rgba(15,30,60,.08)}
.ov-tile .ic{font-size:1.6rem}.ov-tile b{font-size:1.1rem;line-height:1.2}.ov-tile small{font-size:.9rem;color:#3b4d66;line-height:1.3}
.ov-tile:last-child:nth-child(odd){grid-column:1/-1}
.ov-smile{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;margin:10px 0 0;padding:8px 12px;border:2px dashed #f0b429;border-radius:14px;background:#fff9e8;color:#5a3d00;font:inherit;cursor:pointer;text-align:left}
.ov-smile b{font-size:1.02rem;white-space:nowrap}.ov-smile small{font-size:.85rem;color:#7a5a12;line-height:1.3}
.ov-h3{margin:20px 0 8px;font-size:1.15rem}
.ov-card{background:#fff;border:1px solid #d5e3f0;border-radius:16px;padding:12px 14px;margin:0 0 12px;box-shadow:0 2px 6px rgba(15,30,60,.06)}
.ov-card h4{margin:4px 0 6px;font-size:1.1rem;line-height:1.3}.ov-card p{margin:0 0 8px;line-height:1.5}
.ov-tag{display:inline-block;margin:0!important;padding:2px 10px;border-radius:999px;background:#fff1c2;color:#6b4a00;font-weight:800;font-size:.85rem}
.ov-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.88rem;color:#44546b}
.ov-acts,.ov-nav2{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.ov-btn{min-height:52px;padding:6px 12px;border:2px solid #0b4a73;border-radius:14px;background:#fff;color:#0b4a73;font:inherit;font-weight:800;font-size:1rem;cursor:pointer;line-height:1.2}
.ov-btn.ov-pri{background:#0b4a73;color:#fff;width:100%;margin-top:10px}
.ov-nav2 .ov-btn.ov-pri{margin-top:0}
.ov-btn.ov-wide{display:block}
.ov-btn[aria-pressed="true"]{background:#e3f4fd;border-color:#0aa3e6}
.ov-btn:disabled{opacity:.7}
.ov-form label{display:block;font-weight:800;margin:12px 0 4px}
.ov-form input:not([type=checkbox]),.ov-form textarea{width:100%;box-sizing:border-box;min-height:52px;padding:10px 12px;border:2px solid #9fb6cc;border-radius:12px;font:inherit;font-size:1.05rem;background:#fff}
.ov-form textarea{min-height:100px}
.ov-form fieldset{border:0;margin:12px 0 0;padding:0}.ov-form legend{font-weight:800;margin-bottom:6px}
.ov-chips{display:flex;flex-wrap:wrap;gap:8px}
.ov-chip{min-height:48px;padding:6px 14px;border:2px solid #9fb6cc;border-radius:999px;background:#fff;color:#14223a;font:inherit;font-size:1rem;cursor:pointer;text-align:left;line-height:1.25}
.ov-chip[aria-checked="true"]{background:#0b4a73;border-color:#0b4a73;color:#fff;font-weight:800}
label.ov-chk{display:flex;align-items:flex-start;gap:10px;font-weight:600;line-height:1.4}
.ov-chk input{width:26px;height:26px;flex:none;margin-top:1px}
.ov-note{margin:8px 0;line-height:1.45}.ov-small{font-size:.9rem;color:#44546b}
.ov-pend{background:#f1f5f9;border-radius:10px;padding:8px 10px}
.ov-infm{margin-top:16px;font-weight:700}
.ov-urgent{margin:0 0 10px;padding:8px 12px;border-radius:12px;background:#fdecea;border:1px solid #f5b5ae}
.ov-urgent a{color:#8c1d18;font-weight:800;text-decoration:none}
.ov-err{color:#b3261e;font-weight:800;margin:8px 0}
.ov-ok{margin:10px 0;padding:10px 12px;border-radius:12px;background:#e8f6ec;border:1px solid #a6d8b3;outline:none}
.ov-okt{margin:0 0 6px;font-weight:800;color:#14532d}
.ov-ref{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 6px}.ov-ref b{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:1.1rem;letter-spacing:.04em}
.ov-sbtn{min-height:44px;padding:0 12px;border:2px solid #14532d;border-radius:10px;background:#fff;color:#14532d;font-weight:800;cursor:pointer}
.ov-off-box{margin-top:18px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #d5e3f0}
.ov-off-box h3{margin:0 0 4px;font-size:1.05rem}.ov-off-box p{margin:0 0 6px}.ov-off-box ul{margin:0;padding-left:1.1em}.ov-off-box li{margin:6px 0}
.ov-off-box a{color:#0b4a73;font-weight:700;display:inline-block;min-height:32px}
.ov-steps{display:flex;gap:8px;list-style:none;margin:0 0 6px;padding:0}
.ov-steps li{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;background:#e2e8f0;color:#334155}
.ov-steps li.on{background:#0b4a73;color:#fff}.ov-steps li.done{background:#a6d8b3;color:#14532d}
.ov-prev{background:#fff;border:1px dashed #9fb6cc;border-radius:12px;padding:8px 12px}.ov-prev p{margin:4px 0}
.ov-q{font-size:1.15rem;font-weight:800;line-height:1.4}
.ov-empty{padding:14px;border-radius:12px;background:#fff;border:1px dashed #b9d9ee;text-align:center;color:#44546b}
.ov-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ov-page button:focus-visible,.ov-page a:focus-visible,.ov-page input:focus-visible,.ov-page textarea:focus-visible{outline:4px solid #ffb300;outline-offset:2px}
@media (min-width:600px){.ov-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.ov-tile:last-child:nth-child(odd){grid-column:auto}}

/* Today's Smile card (#112, 2026-11-01) */
.ov-smile.ov-smile2{display:block;cursor:default;border-style:solid;padding:12px 14px}
.ov-sm-top{margin:0 0 6px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.ov-sm-top b{font-size:1.05rem}
.ov-sm-date{font-size:.88rem;color:#7a5a12}
.ov-sm-q{margin:4px 0 10px;font-size:1.05rem;line-height:1.45;color:#3b2a00}
.ov-sm-a{margin:10px 0 4px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #f0d58a}.ov-sm-a p{margin:4px 0 0;line-height:1.45}
.ov-smile2 .ov-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
