.wlink-shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
}

.wlink-card,
.wlink-card * {
  box-sizing: border-box;
}

.wlink-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: #0a0a0a;
  color: #ffd84d;
  border: 1px solid rgba(255, 216, 77, 0.28);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wlink-brandbar {
  padding: 14px 16px 0;
}

.wlink-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffd84d;
  color: #111;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.wlink-panel {
  padding: 16px;
  border-top: 1px solid rgba(255, 216, 77, 0.12);
}

.wlink-hero {
  padding-top: 12px;
}

.wlink-title,
.wlink-section-title {
  margin: 0;
  color: #ffd84d;
  line-height: 1.15;
}

.wlink-title {
  font-size: 28px;
  font-weight: 900;
}

.wlink-section-title {
  font-size: 18px;
  font-weight: 800;
}

.wlink-subtitle,
.wlink-help,
.wlink-inline-message,
.wlink-result-message {
  margin: 8px 0 0;
  color: rgba(255, 232, 157, 0.9);
  line-height: 1.55;
  font-size: 14px;
}

.wlink-label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ffe890;
}

.wlink-input {
  width: 100%;
  min-width: 0;
  display: block;
  background: #111;
  border: 1px solid rgba(255, 216, 77, 0.22);
  color: #fff4bf;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
  box-shadow: none;
}

.wlink-input:focus {
  border-color: #ffd84d;
  box-shadow: 0 0 0 3px rgba(255, 216, 77, 0.16);
}

.wlink-input::placeholder {
  color: rgba(255, 240, 182, 0.45);
}

.wlink-button {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffe57a 0%, #ffd84d 100%);
  color: #111;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 10px 24px rgba(255, 216, 77, 0.18);
}

.wlink-button:hover,
.wlink-button:focus {
  transform: translateY(-1px);
}

.wlink-button:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}

.wlink-inline-message {
  min-height: 20px;
}

.wlink-inline-message.is-error {
  color: #ff9c9c;
}

.wlink-result-message {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 216, 77, 0.08);
  border: 1px solid rgba(255, 216, 77, 0.16);
  color: #fff0b0;
}

.wlink-log-window {
  margin-top: 12px;
  min-height: 300px;
  max-height: 380px;
  overflow: auto;
  border-radius: 16px;
  background: #050505;
  border: 1px solid rgba(255, 216, 77, 0.12);
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #f6d74d;
}

.wlink-log-line {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.wlink-log-line + .wlink-log-line {
  margin-top: 4px;
}

.wlink-feed-head {
  margin-bottom: 12px;
}

.wlink-feed-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wlink-feed-item,
.wlink-feed-empty {
  border-radius: 16px;
  background: rgba(255, 216, 77, 0.05);
  border: 1px solid rgba(255, 216, 77, 0.14);
  padding: 12px 14px;
}

.wlink-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wlink-feed-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wlink-flag {
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
}

.wlink-phone {
  font-size: 15px;
  font-weight: 800;
  color: #fff0b0;
}

.wlink-country {
  font-size: 12px;
  color: rgba(255, 232, 157, 0.72);
  margin-top: 2px;
}

.wlink-time {
  flex: 0 0 auto;
  font-size: 12px;
  color: rgba(255, 232, 157, 0.72);
  text-align: right;
}

.is-hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .wlink-shell {
    padding: 18px;
  }

  .wlink-panel {
    padding: 20px;
  }

  .wlink-title {
    font-size: 34px;
  }

  .wlink-subtitle,
  .wlink-help,
  .wlink-inline-message,
  .wlink-result-message {
    font-size: 15px;
  }

  .wlink-log-window {
    min-height: 340px;
  }
}
