/* The player card (playercard.js; 計畫 r4 第 7 節): the nickname strip, the status line, the figure on its plinth, the public
   data, and the places of the buttons row and 清掉暱稱, as the 點人卡片 r2 樣本 draws them (Rovr 第 12 則). The board around
   the map's card is the map's; this sheet is the card itself. Every rule starts with .pc-card, so a page's own element rules
   cannot reach in; the one page links it once, before dressup.css. */
.pc-card{--pc-wood:#4a3420;--pc-brass:#a8814a;--pc-paper:#f3e6c8;--pc-ink:#3b2a1a;--pc-muted:#6e4c2c;
  --pc-grain:repeating-linear-gradient(0deg,transparent 0 5px,#e6c99609 5px 6px,transparent 6px 14px);
  position:relative;display:flex;flex-direction:column;align-items:center;width:100%;color:var(--pc-ink);
  font:14px/1.5 "Microsoft JhengHei","PingFang TC","Noto Sans TC",system-ui,sans-serif;text-align:center;letter-spacing:normal}
.pc-card,.pc-card *,.pc-card *::before,.pc-card *::after{box-sizing:border-box}
.pc-card [hidden]{display:none!important}
/* the name strip, and beside it the pen when the caller asks for one (Rovr 第 28 則); without the pen the strip sits as before */
.pc-card .pc-head{display:flex;align-items:center;justify-content:center;gap:6px;max-width:calc(100% - 16px)}
.pc-card .pc-pen{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;background:var(--pc-paper);border:1px solid var(--pc-brass);border-radius:3px;box-shadow:0 2px 3px #65482145}
.pc-card .pc-pen svg{display:block;width:24px;height:24px}
.pc-card .pc-name{flex:0 1 auto;max-width:100%;min-width:118px;margin:0;padding:0 14px;font:500 21px/34px "Noto Serif TC","Songti TC","PMingLiU",serif;letter-spacing:.12em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--pc-paper);background:var(--pc-wood);background-image:var(--pc-grain);
  border:1px solid var(--pc-brass);box-shadow:0 2px 3px #65482145}
.pc-card .pc-name.pc-long{padding:0 9px;font-size:17px;letter-spacing:.06em}
.pc-card .pc-name.pc-none{font-size:17px;letter-spacing:.06em;color:#b9a888}
.pc-card .pc-status{margin:6px 12px 0;font-size:14px;line-height:20px}
/* the figure cell: the figure stands with its feet (--pc-feet, set by the card) on the top face of the plinth */
.pc-card .pc-figure{position:relative;flex:none;width:160px;height:176px;margin:16px 0 0}
.pc-card .pc-plinth{position:absolute;left:50%;top:calc(var(--pc-feet,176px) - 13px);z-index:1;width:202px;height:53px;transform:translateX(-50%);
  border:2px solid #70824b;border-radius:47% 45% 34% 36%;box-shadow:0 3px 0 #4a342050;
  background:repeating-linear-gradient(95deg,transparent 0 8px,#9eb88855 8px 11px,transparent 11px 17px),linear-gradient(#9eb888,#728753 50%,#4a5d34 51%,#6e4c2c 85%)}
.pc-card .pc-art{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-start;justify-content:center;line-height:0}
.pc-card .pc-spin{position:absolute;left:68px;top:calc(var(--pc-feet,176px) - 60px);z-index:2;width:24px;height:24px;border:3px solid #a8814a55;border-top-color:var(--pc-wood);border-right-color:var(--pc-wood);border-radius:50%;transform:rotate(-30deg)}
/* the public data: one line each, a dot before it; its place is kept while it is empty (Rovr 第 3 則) */
.pc-card .pc-data{align-self:stretch;min-height:72px;margin:44px 18px 0;padding:0;list-style:none;font-size:14px;line-height:24px;text-align:left}
.pc-card .pc-row{display:flex;align-items:center;gap:10px;min-height:24px}
.pc-card .pc-dot{flex:none;width:5px;height:5px;border-radius:50%;background:var(--pc-muted)}
.pc-card .pc-actions{align-self:stretch;display:flex;gap:10px;height:49px;margin:12px 8px 0}
.pc-card .pc-clear{min-width:104px;height:44px;margin:8px 0 0;padding:0 12px;border:0;background:none;color:var(--pc-muted);font-size:13px;line-height:20px;text-decoration:underline;text-underline-offset:3px}
