/* Safe Signal Station — tower, phone and clue styles */
.ss-phone { background: #1d2733; border-radius: 26px; padding: 10px; box-shadow: var(--shadow); max-width: 460px; width: 100%; align-self: center; }
.ss-phone__bar { display: flex; justify-content: space-between; color: #dfe8f1; font-size: 13px; font-weight: 800; padding: 2px 10px 8px; letter-spacing: .04em; }
.ss-msg { display: flex; gap: 10px; align-items: flex-start; background: #f4f8fc; border-radius: 18px; padding: 12px; }
.ss-msg__av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #dfe8f1; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ss-msg__body { min-width: 0; }
.ss-msg__from { font-weight: 900; font-size: 15px; color: #33506b; }
.ss-msg__text { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.ss-lights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ss-light { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 96px; padding: 8px 4px; border-radius: 18px; border: 3px solid #d8cfbd; background: #fff; font-weight: 900; }
.ss-light__e { font-size: 30px; line-height: 1; }
.ss-light__t { font-size: 17px; }
.ss-light__d { font-size: 12px; font-weight: 700; color: var(--ink-2); line-height: 1.15; text-align: center; }
.ss-light--safe { border-color: #7fc28a; } .ss-light--unsure { border-color: #e7c04f; } .ss-light--unsafe { border-color: #e08a80; }
.ss-light.is-right { background: #e3f6e3; box-shadow: 0 0 0 4px #2e8b3e inset; }
.ss-light:disabled:not(.is-right) { opacity: .45; }

.ss-count { font-weight: 900; color: #7a4a12; }
.ss-card { background: #fff; border: 3px solid #d7e2ec; border-radius: 18px; padding: 12px; line-height: 2.1; }
.ss-card--post { border-color: #e6d7f5; }
.ss-card__top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 900; color: #5b6b7a; line-height: 1.3; margin-bottom: 6px; letter-spacing: .03em; }
.ss-part { display: inline; min-height: 48px; min-width: 48px; padding: 8px 8px; margin: 2px 0; border: 2px dashed transparent; border-radius: 10px; background: #f6f3ec; font-size: 18px; font-weight: 700; text-align: left; line-height: 1.8; }
.ss-part:hover { border-color: #c9bda5; }
.ss-part.is-found { background: #ffe1dd; border-color: #d0584a; border-style: solid; }
.ss-card--post .ss-part.is-found { background: #ffe1dd; }
.ss-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ss-tag { background: #ffe1dd; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 15px; }
.ss-tag.is-good { background: #dff3df; }
.ss-verdict { display: flex; flex-direction: column; gap: 10px; }

.ss-practice { background: #eef6ff; border: 2px dashed #7aa7d6; border-radius: 14px; padding: 8px 12px; font-weight: 800; font-size: 16px; }
.ss-dice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .ss-dice { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ss-die { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 88px; border-radius: 16px; border: 3px solid #cfd9e3; background: #fff; }
.ss-die__w { font-size: 20px; font-weight: 900; overflow-wrap: anywhere; }
.ss-die__r { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.ss-die.is-empty .ss-die__w { color: #b0b8c0; }
.ss-die.is-bad { border-color: #d0584a; background: #fff1ef; }
.ss-meter { position: relative; height: 34px; border-radius: 999px; background: #eee6d6; overflow: hidden; }
.ss-meter__bar { position: absolute; inset: 0 auto 0 0; background: #d0584a; transition: width .3s; }
.ss-meter.is-mid .ss-meter__bar { background: #e7b62f; }
.ss-meter.is-strong .ss-meter__bar { background: #2e8b3e; }
.ss-meter__t { position: relative; display: block; text-align: center; line-height: 34px; font-weight: 900; }
.ss-preview { font-size: 16px; margin-top: 6px; overflow-wrap: anywhere; }
.ss-input { width: 100%; min-height: 52px; }

.ss-branch { display: flex; flex-direction: column; gap: 12px; }
.ss-bad { background: #fff1ef !important; border-color: #e08a80 !important; }
.ss-good { background: #e9f7e9 !important; border-color: #7fc28a !important; }

.ss-extra { display: flex; flex-direction: column; gap: 14px; }
.ss-tower { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 0 0; }
.ss-tower__lights { display: flex; flex-direction: column-reverse; gap: 6px; background: #6b7a88; padding: 8px 10px; border-radius: 10px 10px 0 0; }
.ss-tower__light { width: 34px; height: 14px; border-radius: 7px; background: #3b4652; }
.ss-tower__light.is-on { background: #ffd21f; box-shadow: 0 0 10px #ffd21f; }
.ss-tower__mast { width: 90px; height: 40px; background: linear-gradient(90deg, transparent 0 18%, #6b7a88 18% 24%, transparent 24% 76%, #6b7a88 76% 82%, transparent 82%), repeating-linear-gradient(135deg, transparent 0 10px, #8795a3 10px 13px); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.ss-tower__cap { font-weight: 900; margin-top: 6px; }
.ss-cert { border: 4px solid #ffd21f; text-align: center; align-items: center; }
.ss-cert__dogs { display: flex; gap: 10px; justify-content: center; }
.ss-cert__dog { width: 72px; height: 72px; }
.ss-grownups { background: #fff8e6; }
